From a93ad828f72b02cf32369f1620448c36917f6fa3 Mon Sep 17 00:00:00 2001 From: Philos Kim Date: Mon, 9 Aug 2021 17:33:05 +0900 Subject: [PATCH] v0.8.0 --- README.adoc | 2 +- examples/README.adoc | 26 + examples/pom.xml | 100 + examples/project.clj | 24 + examples/resources/public/index.html | 13 + examples/resources/public/js/app.js | 12 + .../public/js/out/.figwheel-compile-stamp | 1 + .../resources/public/js/out/cljs/core.cljs | 11533 +++++ examples/resources/public/js/out/cljs/core.js | 37594 ++++++++++++++++ .../resources/public/js/out/cljs/core.js.map | 1 + .../public/js/out/cljs/core/async.cljs | 929 + .../js/out/cljs/core/async.cljs.cache.json | 1 + .../public/js/out/cljs/core/async.js | 9050 ++++ .../public/js/out/cljs/core/async.js.map | 1 + .../js/out/cljs/core/async/impl/buffers.cljs | 159 + .../core/async/impl/buffers.cljs.cache.json | 1 + .../js/out/cljs/core/async/impl/buffers.js | 466 + .../out/cljs/core/async/impl/buffers.js.map | 1 + .../js/out/cljs/core/async/impl/channels.cljs | 192 + .../core/async/impl/channels.cljs.cache.json | 1 + .../js/out/cljs/core/async/impl/channels.js | 685 + .../out/cljs/core/async/impl/channels.js.map | 1 + .../js/out/cljs/core/async/impl/dispatch.cljs | 37 + .../core/async/impl/dispatch.cljs.cache.json | 1 + .../js/out/cljs/core/async/impl/dispatch.js | 58 + .../out/cljs/core/async/impl/dispatch.js.map | 1 + .../out/cljs/core/async/impl/ioc_helpers.cljs | 146 + .../async/impl/ioc_helpers.cljs.cache.json | 1 + .../out/cljs/core/async/impl/ioc_helpers.js | 498 + .../cljs/core/async/impl/ioc_helpers.js.map | 1 + .../out/cljs/core/async/impl/protocols.cljs | 43 + .../core/async/impl/protocols.cljs.cache.json | 1 + .../js/out/cljs/core/async/impl/protocols.js | 311 + .../out/cljs/core/async/impl/protocols.js.map | 1 + .../js/out/cljs/core/async/impl/timers.cljs | 172 + .../core/async/impl/timers.cljs.cache.json | 1 + .../js/out/cljs/core/async/impl/timers.js | 479 + .../js/out/cljs/core/async/impl/timers.js.map | 1 + .../resources/public/js/out/cljs/pprint.cljs | 3325 ++ .../public/js/out/cljs/pprint.cljs.cache.json | 1 + .../resources/public/js/out/cljs/pprint.js | 8191 ++++ .../public/js/out/cljs/pprint.js.map | 1 + .../resources/public/js/out/cljs/reader.cljs | 214 + .../public/js/out/cljs/reader.cljs.cache.json | 1 + .../resources/public/js/out/cljs/reader.js | 455 + .../public/js/out/cljs/reader.js.map | 1 + .../resources/public/js/out/cljs/repl.cljs | 56 + .../public/js/out/cljs/repl.cljs.cache.json | 1 + examples/resources/public/js/out/cljs/repl.js | 293 + .../resources/public/js/out/cljs/repl.js.map | 1 + .../public/js/out/cljs/spec/alpha.cljs | 1453 + .../js/out/cljs/spec/alpha.cljs.cache.json | 1 + .../public/js/out/cljs/spec/alpha.js | 5545 +++ .../public/js/out/cljs/spec/alpha.js.map | 1 + .../public/js/out/cljs/spec/gen/alpha.cljs | 180 + .../out/cljs/spec/gen/alpha.cljs.cache.json | 1 + .../public/js/out/cljs/spec/gen/alpha.js | 2200 + .../public/js/out/cljs/spec/gen/alpha.js.map | 1 + .../public/js/out/cljs/tools/reader.cljs | 956 + .../js/out/cljs/tools/reader.cljs.cache.json | 1 + .../public/js/out/cljs/tools/reader.js | 1782 + .../public/js/out/cljs/tools/reader.js.map | 1 + .../public/js/out/cljs/tools/reader/edn.cljs | 448 + .../out/cljs/tools/reader/edn.cljs.cache.json | 1 + .../public/js/out/cljs/tools/reader/edn.js | 933 + .../js/out/cljs/tools/reader/edn.js.map | 1 + .../out/cljs/tools/reader/impl/commons.cljs | 131 + .../tools/reader/impl/commons.cljs.cache.json | 1 + .../js/out/cljs/tools/reader/impl/commons.js | 193 + .../out/cljs/tools/reader/impl/commons.js.map | 1 + .../js/out/cljs/tools/reader/impl/errors.cljs | 253 + .../tools/reader/impl/errors.cljs.cache.json | 1 + .../js/out/cljs/tools/reader/impl/errors.js | 423 + .../out/cljs/tools/reader/impl/errors.js.map | 1 + .../out/cljs/tools/reader/impl/inspect.cljs | 90 + .../tools/reader/impl/inspect.cljs.cache.json | 1 + .../js/out/cljs/tools/reader/impl/inspect.js | 156 + .../out/cljs/tools/reader/impl/inspect.js.map | 1 + .../js/out/cljs/tools/reader/impl/utils.cljs | 97 + .../tools/reader/impl/utils.cljs.cache.json | 1 + .../js/out/cljs/tools/reader/impl/utils.js | 362 + .../out/cljs/tools/reader/impl/utils.js.map | 1 + .../out/cljs/tools/reader/reader_types.cljs | 283 + .../tools/reader/reader_types.cljs.cache.json | 1 + .../js/out/cljs/tools/reader/reader_types.js | 798 + .../out/cljs/tools/reader/reader_types.js.map | 1 + examples/resources/public/js/out/cljs_deps.js | 43 + .../resources/public/js/out/cljsc_opts.edn | 1 + .../resources/public/js/out/clojure/set.cljs | 161 + .../public/js/out/clojure/set.cljs.cache.json | 1 + .../resources/public/js/out/clojure/set.js | 391 + .../public/js/out/clojure/set.js.map | 1 + .../public/js/out/clojure/string.cljs | 289 + .../js/out/clojure/string.cljs.cache.json | 1 + .../resources/public/js/out/clojure/string.js | 477 + .../public/js/out/clojure/string.js.map | 1 + .../resources/public/js/out/clojure/walk.cljs | 97 + .../js/out/clojure/walk.cljs.cache.json | 1 + .../resources/public/js/out/clojure/walk.js | 127 + .../public/js/out/clojure/walk.js.map | 1 + .../public/js/out/debux/cs/core.cljc | 61 + .../js/out/debux/cs/core.cljc.cache.json | 1 + .../resources/public/js/out/debux/cs/core.js | 904 + .../public/js/out/debux/cs/core.js.map | 1 + .../public/js/out/examples/clog.cljs | 110 + .../js/out/examples/clog.cljs.cache.json | 1 + .../resources/public/js/out/examples/clog.js | 88 + .../public/js/out/examples/clog.js.map | 1 + .../public/js/out/examples/clogn.cljs | 241 + .../js/out/examples/clogn.cljs.cache.json | 1 + .../resources/public/js/out/examples/clogn.js | 483 + .../public/js/out/examples/clogn.js.map | 1 + .../public/js/out/examples/common.cljc | 31 + .../js/out/examples/common.cljc.cache.json | 1 + .../public/js/out/examples/common.js | 6 + .../public/js/out/examples/common.js.map | 1 + .../public/js/out/examples/core.cljs | 12 + .../js/out/examples/core.cljs.cache.json | 1 + .../resources/public/js/out/examples/core.js | 12 + .../public/js/out/examples/core.js.map | 1 + .../resources/public/js/out/examples/dbg.cljs | 110 + .../js/out/examples/dbg.cljs.cache.json | 1 + .../resources/public/js/out/examples/dbg.js | 137 + .../public/js/out/examples/dbg.js.map | 1 + .../public/js/out/examples/dbgn.cljs | 174 + .../js/out/examples/dbgn.cljs.cache.json | 1 + .../resources/public/js/out/examples/dbgn.js | 348 + .../public/js/out/examples/dbgn.js.map | 1 + .../public/js/out/examples/demo.cljs | 82 + .../js/out/examples/demo.cljs.cache.json | 1 + .../resources/public/js/out/examples/demo.js | 67 + .../public/js/out/examples/demo.js.map | 1 + .../resources/public/js/out/examples/etc.cljs | 156 + .../js/out/examples/etc.cljs.cache.json | 1 + .../resources/public/js/out/examples/etc.js | 84 + .../public/js/out/examples/etc.js.map | 1 + .../resources/public/js/out/examples/lab.cljs | 16 + .../js/out/examples/lab.cljs.cache.json | 1 + .../resources/public/js/out/examples/lab.js | 10 + .../public/js/out/examples/lab.js.map | 1 + .../public/js/out/examples/options.cljs | 115 + .../js/out/examples/options.cljs.cache.json | 1 + .../public/js/out/examples/options.js | 76 + .../public/js/out/examples/options.js.map | 1 + .../public/js/out/examples/preload.cljs | 6 + .../js/out/examples/preload.cljs.cache.json | 1 + .../public/js/out/examples/preload.js | 6 + .../public/js/out/examples/preload.js.map | 1 + .../public/js/out/figwheel/client.cljs | 523 + .../js/out/figwheel/client.cljs.cache.json | 1 + .../public/js/out/figwheel/client.js | 2081 + .../public/js/out/figwheel/client.js.map | 1 + .../out/figwheel/client/file_reloading.cljs | 563 + .../client/file_reloading.cljs.cache.json | 1 + .../js/out/figwheel/client/file_reloading.js | 2625 ++ .../out/figwheel/client/file_reloading.js.map | 1 + .../js/out/figwheel/client/heads_up.cljs | 422 + .../figwheel/client/heads_up.cljs.cache.json | 1 + .../public/js/out/figwheel/client/heads_up.js | 897 + .../js/out/figwheel/client/heads_up.js.map | 1 + .../public/js/out/figwheel/client/socket.cljs | 96 + .../figwheel/client/socket.cljs.cache.json | 1 + .../public/js/out/figwheel/client/socket.js | 161 + .../js/out/figwheel/client/socket.js.map | 1 + .../public/js/out/figwheel/client/utils.cljs | 146 + .../out/figwheel/client/utils.cljs.cache.json | 1 + .../public/js/out/figwheel/client/utils.js | 295 + .../js/out/figwheel/client/utils.js.map | 1 + .../public/js/out/figwheel/connect.cljs | 12 + .../js/out/figwheel/connect.cljs.cache.json | 1 + .../public/js/out/figwheel/connect.js | 17 + .../public/js/out/figwheel/connect.js.map | 1 + .../public/js/out/goog/array/array.js | 1665 + .../public/js/out/goog/asserts/asserts.js | 369 + .../public/js/out/goog/async/freelist.js | 83 + .../public/js/out/goog/async/nexttick.js | 265 + .../resources/public/js/out/goog/async/run.js | 136 + .../public/js/out/goog/async/workqueue.js | 138 + examples/resources/public/js/out/goog/base.js | 2921 ++ .../js/out/goog/debug/entrypointregistry.js | 159 + .../public/js/out/goog/debug/error.js | 63 + examples/resources/public/js/out/goog/deps.js | 1564 + .../public/js/out/goog/dom/asserts.js | 311 + .../public/js/out/goog/dom/browserfeature.js | 73 + .../public/js/out/goog/dom/dataset.js | 164 + .../resources/public/js/out/goog/dom/dom.js | 3233 ++ .../public/js/out/goog/dom/htmlelement.js | 29 + .../public/js/out/goog/dom/nodetype.js | 48 + .../resources/public/js/out/goog/dom/safe.js | 458 + .../public/js/out/goog/dom/tagname.js | 562 + .../resources/public/js/out/goog/dom/tags.js | 41 + .../resources/public/js/out/goog/fs/url.js | 106 + .../public/js/out/goog/functions/functions.js | 483 + .../js/out/goog/html/legacyconversions.js | 195 + .../public/js/out/goog/html/safehtml.js | 994 + .../public/js/out/goog/html/safescript.js | 234 + .../public/js/out/goog/html/safestyle.js | 560 + .../public/js/out/goog/html/safestylesheet.js | 344 + .../public/js/out/goog/html/safeurl.js | 454 + .../js/out/goog/html/trustedresourceurl.js | 408 + .../js/out/goog/html/uncheckedconversions.js | 228 + .../resources/public/js/out/goog/i18n/bidi.js | 876 + .../resources/public/js/out/goog/iter/iter.js | 1284 + .../js/out/goog/labs/useragent/browser.js | 338 + .../js/out/goog/labs/useragent/engine.js | 156 + .../js/out/goog/labs/useragent/platform.js | 160 + .../public/js/out/goog/labs/useragent/util.js | 147 + .../public/js/out/goog/math/coordinate.js | 279 + .../public/js/out/goog/math/integer.js | 808 + .../resources/public/js/out/goog/math/long.js | 965 + .../resources/public/js/out/goog/math/math.js | 448 + .../resources/public/js/out/goog/math/size.js | 227 + .../js/out/goog/mochikit/async/deferred.js | 945 + .../public/js/out/goog/net/jsloader.js | 393 + .../public/js/out/goog/object/object.js | 751 + .../public/js/out/goog/promise/promise.js | 1344 + .../public/js/out/goog/promise/resolver.js | 48 + .../public/js/out/goog/promise/thenable.js | 132 + .../public/js/out/goog/reflect/reflect.js | 138 + .../public/js/out/goog/string/const.js | 186 + .../public/js/out/goog/string/string.js | 1641 + .../public/js/out/goog/string/stringbuffer.js | 103 + .../public/js/out/goog/string/typedstring.js | 48 + .../public/js/out/goog/structs/map.js | 458 + .../public/js/out/goog/structs/structs.js | 354 + .../resources/public/js/out/goog/uri/uri.js | 1547 + .../resources/public/js/out/goog/uri/utils.js | 1103 + .../public/js/out/goog/useragent/product.js | 181 + .../public/js/out/goog/useragent/useragent.js | 580 + .../resources/public/js/out/process/env.cljs | 12 + .../public/js/out/process/env.cljs.cache.json | 1 + .../resources/public/js/out/process/env.js | 8 + .../public/js/out/process/env.js.map | 1 + examples/src/clj/examples/core.clj | 22 + examples/src/clj/examples/dbg.clj | 152 + examples/src/clj/examples/dbgn.clj | 263 + examples/src/clj/examples/demo.clj | 382 + examples/src/clj/examples/etc.clj | 95 + examples/src/clj/examples/lab.clj | 3 + examples/src/clj/examples/options.clj | 71 + examples/src/cljc/examples/common.cljc | 31 + examples/src/cljc/examples/macro2.clj | 7 + examples/src/cljs/examples/clog.cljs | 110 + examples/src/cljs/examples/clogn.cljs | 241 + examples/src/cljs/examples/core.cljs | 12 + examples/src/cljs/examples/dbg.cljs | 110 + examples/src/cljs/examples/dbgn.cljs | 174 + examples/src/cljs/examples/demo.cljs | 82 + examples/src/cljs/examples/etc.cljs | 156 + examples/src/cljs/examples/lab.cljs | 16 + examples/src/cljs/examples/macro.clj | 5 + examples/src/cljs/examples/options.cljs | 115 + examples/src/cljs/examples/preload.cljs | 6 + ...ningen.figwheel.clean-on-dependency-change | 1 + project.clj | 2 +- src/data_readers.clj | 4 +- src/debux/core.clj | 7 +- src/debux/cs/core.cljc | 9 +- 258 files changed, 138208 insertions(+), 5 deletions(-) create mode 100644 examples/README.adoc create mode 100644 examples/pom.xml create mode 100644 examples/project.clj create mode 100644 examples/resources/public/index.html create mode 100644 examples/resources/public/js/app.js create mode 100644 examples/resources/public/js/out/.figwheel-compile-stamp create mode 100644 examples/resources/public/js/out/cljs/core.cljs create mode 100644 examples/resources/public/js/out/cljs/core.js create mode 100644 examples/resources/public/js/out/cljs/core.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async.js create mode 100644 examples/resources/public/js/out/cljs/core/async.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/buffers.js create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/buffers.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/channels.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/channels.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/channels.js create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/channels.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/dispatch.js create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/dispatch.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/protocols.js create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/protocols.js.map create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/timers.cljs create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/timers.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/timers.js create mode 100644 examples/resources/public/js/out/cljs/core/async/impl/timers.js.map create mode 100644 examples/resources/public/js/out/cljs/pprint.cljs create mode 100644 examples/resources/public/js/out/cljs/pprint.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/pprint.js create mode 100644 examples/resources/public/js/out/cljs/pprint.js.map create mode 100644 examples/resources/public/js/out/cljs/reader.cljs create mode 100644 examples/resources/public/js/out/cljs/reader.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/reader.js create mode 100644 examples/resources/public/js/out/cljs/reader.js.map create mode 100644 examples/resources/public/js/out/cljs/repl.cljs create mode 100644 examples/resources/public/js/out/cljs/repl.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/repl.js create mode 100644 examples/resources/public/js/out/cljs/repl.js.map create mode 100644 examples/resources/public/js/out/cljs/spec/alpha.cljs create mode 100644 examples/resources/public/js/out/cljs/spec/alpha.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/spec/alpha.js create mode 100644 examples/resources/public/js/out/cljs/spec/alpha.js.map create mode 100644 examples/resources/public/js/out/cljs/spec/gen/alpha.cljs create mode 100644 examples/resources/public/js/out/cljs/spec/gen/alpha.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/spec/gen/alpha.js create mode 100644 examples/resources/public/js/out/cljs/spec/gen/alpha.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader/edn.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader/edn.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader/edn.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader/edn.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/commons.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/commons.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/errors.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/errors.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/utils.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader/impl/utils.js.map create mode 100644 examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs create mode 100644 examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs.cache.json create mode 100644 examples/resources/public/js/out/cljs/tools/reader/reader_types.js create mode 100644 examples/resources/public/js/out/cljs/tools/reader/reader_types.js.map create mode 100644 examples/resources/public/js/out/cljs_deps.js create mode 100644 examples/resources/public/js/out/cljsc_opts.edn create mode 100644 examples/resources/public/js/out/clojure/set.cljs create mode 100644 examples/resources/public/js/out/clojure/set.cljs.cache.json create mode 100644 examples/resources/public/js/out/clojure/set.js create mode 100644 examples/resources/public/js/out/clojure/set.js.map create mode 100644 examples/resources/public/js/out/clojure/string.cljs create mode 100644 examples/resources/public/js/out/clojure/string.cljs.cache.json create mode 100644 examples/resources/public/js/out/clojure/string.js create mode 100644 examples/resources/public/js/out/clojure/string.js.map create mode 100644 examples/resources/public/js/out/clojure/walk.cljs create mode 100644 examples/resources/public/js/out/clojure/walk.cljs.cache.json create mode 100644 examples/resources/public/js/out/clojure/walk.js create mode 100644 examples/resources/public/js/out/clojure/walk.js.map create mode 100644 examples/resources/public/js/out/debux/cs/core.cljc create mode 100644 examples/resources/public/js/out/debux/cs/core.cljc.cache.json create mode 100644 examples/resources/public/js/out/debux/cs/core.js create mode 100644 examples/resources/public/js/out/debux/cs/core.js.map create mode 100644 examples/resources/public/js/out/examples/clog.cljs create mode 100644 examples/resources/public/js/out/examples/clog.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/clog.js create mode 100644 examples/resources/public/js/out/examples/clog.js.map create mode 100644 examples/resources/public/js/out/examples/clogn.cljs create mode 100644 examples/resources/public/js/out/examples/clogn.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/clogn.js create mode 100644 examples/resources/public/js/out/examples/clogn.js.map create mode 100644 examples/resources/public/js/out/examples/common.cljc create mode 100644 examples/resources/public/js/out/examples/common.cljc.cache.json create mode 100644 examples/resources/public/js/out/examples/common.js create mode 100644 examples/resources/public/js/out/examples/common.js.map create mode 100644 examples/resources/public/js/out/examples/core.cljs create mode 100644 examples/resources/public/js/out/examples/core.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/core.js create mode 100644 examples/resources/public/js/out/examples/core.js.map create mode 100644 examples/resources/public/js/out/examples/dbg.cljs create mode 100644 examples/resources/public/js/out/examples/dbg.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/dbg.js create mode 100644 examples/resources/public/js/out/examples/dbg.js.map create mode 100644 examples/resources/public/js/out/examples/dbgn.cljs create mode 100644 examples/resources/public/js/out/examples/dbgn.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/dbgn.js create mode 100644 examples/resources/public/js/out/examples/dbgn.js.map create mode 100644 examples/resources/public/js/out/examples/demo.cljs create mode 100644 examples/resources/public/js/out/examples/demo.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/demo.js create mode 100644 examples/resources/public/js/out/examples/demo.js.map create mode 100644 examples/resources/public/js/out/examples/etc.cljs create mode 100644 examples/resources/public/js/out/examples/etc.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/etc.js create mode 100644 examples/resources/public/js/out/examples/etc.js.map create mode 100644 examples/resources/public/js/out/examples/lab.cljs create mode 100644 examples/resources/public/js/out/examples/lab.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/lab.js create mode 100644 examples/resources/public/js/out/examples/lab.js.map create mode 100644 examples/resources/public/js/out/examples/options.cljs create mode 100644 examples/resources/public/js/out/examples/options.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/options.js create mode 100644 examples/resources/public/js/out/examples/options.js.map create mode 100644 examples/resources/public/js/out/examples/preload.cljs create mode 100644 examples/resources/public/js/out/examples/preload.cljs.cache.json create mode 100644 examples/resources/public/js/out/examples/preload.js create mode 100644 examples/resources/public/js/out/examples/preload.js.map create mode 100644 examples/resources/public/js/out/figwheel/client.cljs create mode 100644 examples/resources/public/js/out/figwheel/client.cljs.cache.json create mode 100644 examples/resources/public/js/out/figwheel/client.js create mode 100644 examples/resources/public/js/out/figwheel/client.js.map create mode 100644 examples/resources/public/js/out/figwheel/client/file_reloading.cljs create mode 100644 examples/resources/public/js/out/figwheel/client/file_reloading.cljs.cache.json create mode 100644 examples/resources/public/js/out/figwheel/client/file_reloading.js create mode 100644 examples/resources/public/js/out/figwheel/client/file_reloading.js.map create mode 100644 examples/resources/public/js/out/figwheel/client/heads_up.cljs create mode 100644 examples/resources/public/js/out/figwheel/client/heads_up.cljs.cache.json create mode 100644 examples/resources/public/js/out/figwheel/client/heads_up.js create mode 100644 examples/resources/public/js/out/figwheel/client/heads_up.js.map create mode 100644 examples/resources/public/js/out/figwheel/client/socket.cljs create mode 100644 examples/resources/public/js/out/figwheel/client/socket.cljs.cache.json create mode 100644 examples/resources/public/js/out/figwheel/client/socket.js create mode 100644 examples/resources/public/js/out/figwheel/client/socket.js.map create mode 100644 examples/resources/public/js/out/figwheel/client/utils.cljs create mode 100644 examples/resources/public/js/out/figwheel/client/utils.cljs.cache.json create mode 100644 examples/resources/public/js/out/figwheel/client/utils.js create mode 100644 examples/resources/public/js/out/figwheel/client/utils.js.map create mode 100644 examples/resources/public/js/out/figwheel/connect.cljs create mode 100644 examples/resources/public/js/out/figwheel/connect.cljs.cache.json create mode 100644 examples/resources/public/js/out/figwheel/connect.js create mode 100644 examples/resources/public/js/out/figwheel/connect.js.map create mode 100644 examples/resources/public/js/out/goog/array/array.js create mode 100644 examples/resources/public/js/out/goog/asserts/asserts.js create mode 100644 examples/resources/public/js/out/goog/async/freelist.js create mode 100644 examples/resources/public/js/out/goog/async/nexttick.js create mode 100644 examples/resources/public/js/out/goog/async/run.js create mode 100644 examples/resources/public/js/out/goog/async/workqueue.js create mode 100644 examples/resources/public/js/out/goog/base.js create mode 100644 examples/resources/public/js/out/goog/debug/entrypointregistry.js create mode 100644 examples/resources/public/js/out/goog/debug/error.js create mode 100644 examples/resources/public/js/out/goog/deps.js create mode 100644 examples/resources/public/js/out/goog/dom/asserts.js create mode 100644 examples/resources/public/js/out/goog/dom/browserfeature.js create mode 100644 examples/resources/public/js/out/goog/dom/dataset.js create mode 100644 examples/resources/public/js/out/goog/dom/dom.js create mode 100644 examples/resources/public/js/out/goog/dom/htmlelement.js create mode 100644 examples/resources/public/js/out/goog/dom/nodetype.js create mode 100644 examples/resources/public/js/out/goog/dom/safe.js create mode 100644 examples/resources/public/js/out/goog/dom/tagname.js create mode 100644 examples/resources/public/js/out/goog/dom/tags.js create mode 100644 examples/resources/public/js/out/goog/fs/url.js create mode 100644 examples/resources/public/js/out/goog/functions/functions.js create mode 100644 examples/resources/public/js/out/goog/html/legacyconversions.js create mode 100644 examples/resources/public/js/out/goog/html/safehtml.js create mode 100644 examples/resources/public/js/out/goog/html/safescript.js create mode 100644 examples/resources/public/js/out/goog/html/safestyle.js create mode 100644 examples/resources/public/js/out/goog/html/safestylesheet.js create mode 100644 examples/resources/public/js/out/goog/html/safeurl.js create mode 100644 examples/resources/public/js/out/goog/html/trustedresourceurl.js create mode 100644 examples/resources/public/js/out/goog/html/uncheckedconversions.js create mode 100644 examples/resources/public/js/out/goog/i18n/bidi.js create mode 100644 examples/resources/public/js/out/goog/iter/iter.js create mode 100644 examples/resources/public/js/out/goog/labs/useragent/browser.js create mode 100644 examples/resources/public/js/out/goog/labs/useragent/engine.js create mode 100644 examples/resources/public/js/out/goog/labs/useragent/platform.js create mode 100644 examples/resources/public/js/out/goog/labs/useragent/util.js create mode 100644 examples/resources/public/js/out/goog/math/coordinate.js create mode 100644 examples/resources/public/js/out/goog/math/integer.js create mode 100644 examples/resources/public/js/out/goog/math/long.js create mode 100644 examples/resources/public/js/out/goog/math/math.js create mode 100644 examples/resources/public/js/out/goog/math/size.js create mode 100644 examples/resources/public/js/out/goog/mochikit/async/deferred.js create mode 100644 examples/resources/public/js/out/goog/net/jsloader.js create mode 100644 examples/resources/public/js/out/goog/object/object.js create mode 100644 examples/resources/public/js/out/goog/promise/promise.js create mode 100644 examples/resources/public/js/out/goog/promise/resolver.js create mode 100644 examples/resources/public/js/out/goog/promise/thenable.js create mode 100644 examples/resources/public/js/out/goog/reflect/reflect.js create mode 100644 examples/resources/public/js/out/goog/string/const.js create mode 100644 examples/resources/public/js/out/goog/string/string.js create mode 100644 examples/resources/public/js/out/goog/string/stringbuffer.js create mode 100644 examples/resources/public/js/out/goog/string/typedstring.js create mode 100644 examples/resources/public/js/out/goog/structs/map.js create mode 100644 examples/resources/public/js/out/goog/structs/structs.js create mode 100644 examples/resources/public/js/out/goog/uri/uri.js create mode 100644 examples/resources/public/js/out/goog/uri/utils.js create mode 100644 examples/resources/public/js/out/goog/useragent/product.js create mode 100644 examples/resources/public/js/out/goog/useragent/useragent.js create mode 100644 examples/resources/public/js/out/process/env.cljs create mode 100644 examples/resources/public/js/out/process/env.cljs.cache.json create mode 100644 examples/resources/public/js/out/process/env.js create mode 100644 examples/resources/public/js/out/process/env.js.map create mode 100644 examples/src/clj/examples/core.clj create mode 100644 examples/src/clj/examples/dbg.clj create mode 100644 examples/src/clj/examples/dbgn.clj create mode 100644 examples/src/clj/examples/demo.clj create mode 100644 examples/src/clj/examples/etc.clj create mode 100644 examples/src/clj/examples/lab.clj create mode 100644 examples/src/clj/examples/options.clj create mode 100644 examples/src/cljc/examples/common.cljc create mode 100644 examples/src/cljc/examples/macro2.clj create mode 100644 examples/src/cljs/examples/clog.cljs create mode 100644 examples/src/cljs/examples/clogn.cljs create mode 100644 examples/src/cljs/examples/core.cljs create mode 100644 examples/src/cljs/examples/dbg.cljs create mode 100644 examples/src/cljs/examples/dbgn.cljs create mode 100644 examples/src/cljs/examples/demo.cljs create mode 100644 examples/src/cljs/examples/etc.cljs create mode 100644 examples/src/cljs/examples/lab.cljs create mode 100644 examples/src/cljs/examples/macro.clj create mode 100644 examples/src/cljs/examples/options.cljs create mode 100644 examples/src/cljs/examples/preload.cljs create mode 100644 examples/target/stale/leiningen.figwheel.clean-on-dependency-change diff --git a/README.adoc b/README.adoc index 197c821..e1013f3 100644 --- a/README.adoc +++ b/README.adoc @@ -17,7 +17,7 @@ [listing] ---- -[philoskim/debux-stubs "0.7.9"] +[philoskim/debux-stubs "0.8.0"] ---- diff --git a/examples/README.adoc b/examples/README.adoc new file mode 100644 index 0000000..d01564a --- /dev/null +++ b/examples/README.adoc @@ -0,0 +1,26 @@ +# Debux examples project +:source-language: clojure +:source-highlighter: coderay +:sectnums: + +## Running examples in Clojure + +[listing] +---- +$ lein clean +$ lein run +---- + + +## Running examples in ClojureScript + +[listing] +---- +$ lein clean +$ lein figwheel +---- + +. Open the URL http://localhost:3449/ in your browser. + +. Open the DevTool's console widnow by pressing in case of Google Chrome + and you will see the evaluated results of the examples. diff --git a/examples/pom.xml b/examples/pom.xml new file mode 100644 index 0000000..b6c1bb3 --- /dev/null +++ b/examples/pom.xml @@ -0,0 +1,100 @@ + + + 4.0.0 + examples + examples + jar + 0.1.0-SNAPSHOT + examples + + + + src/clj + test + + + resources + + + + + resources + + + target + target/classes + + + org.codehaus.mojo + build-helper-maven-plugin + 1.7 + + + add-source + generate-sources + + add-source + + + + src/cljc + + + + + + + + + + central + https://repo1.maven.org/maven2/ + + false + + + true + + + + clojars + https://repo.clojars.org/ + + true + + + true + + + + + + + + + org.clojure + clojure + 1.8.0 + + + org.clojure + clojurescript + 1.10.238 + + + org.clojure + core.async + 0.3.465 + + + philoskim + debux + 0.6.8 + + + + + diff --git a/examples/project.clj b/examples/project.clj new file mode 100644 index 0000000..780fcf4 --- /dev/null +++ b/examples/project.clj @@ -0,0 +1,24 @@ +(defproject examples "0.1.0-SNAPSHOT" + :dependencies [[org.clojure/clojure "1.8.0"] + [org.clojure/clojurescript "1.10.238"] + [org.clojure/core.async "0.3.465"] + [philoskim/debux-stubs "0.8.0"]] + :plugins [[lein-cljsbuild "1.1.7"] + [lein-figwheel "0.5.18"]] + :source-paths ["src/clj" "src/cljc"] + :main examples.core + :clean-targets ^{:protect false} + ["target" + "resources/public/js/out" + "resources/public/js/app.js" + "resources/public/js/app.js.map"] + :cljsbuild {:builds [{:id "dev" + :source-paths ["src/cljs" "src/cljc"] + :figwheel true + :compiler {:main examples.core + :preloads [examples.preload #_devtools.preload] + :asset-path "js/out" + :output-to "resources/public/js/app.js" + :output-dir "resources/public/js/out" + :source-map true + :optimizations :none} }]}) diff --git a/examples/resources/public/index.html b/examples/resources/public/index.html new file mode 100644 index 0000000..4c0acd1 --- /dev/null +++ b/examples/resources/public/index.html @@ -0,0 +1,13 @@ + + + + + + + +

cljs.debux example

+

Look at the developer console of the browser!

+ + + + diff --git a/examples/resources/public/js/app.js b/examples/resources/public/js/app.js new file mode 100644 index 0000000..92c50a6 --- /dev/null +++ b/examples/resources/public/js/app.js @@ -0,0 +1,12 @@ +var CLOSURE_UNCOMPILED_DEFINES = {}; +var CLOSURE_NO_DEPS = true; +if(typeof goog == "undefined") document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); +document.write(''); + +document.write(""); \ No newline at end of file diff --git a/examples/resources/public/js/out/.figwheel-compile-stamp b/examples/resources/public/js/out/.figwheel-compile-stamp new file mode 100644 index 0000000..19f4f47 --- /dev/null +++ b/examples/resources/public/js/out/.figwheel-compile-stamp @@ -0,0 +1 @@ +-1110980917 \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core.cljs b/examples/resources/public/js/out/cljs/core.cljs new file mode 100644 index 0000000..1781601 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core.cljs @@ -0,0 +1,11533 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns cljs.core + (:require goog.math.Long + goog.math.Integer + [goog.string :as gstring] + [goog.object :as gobject] + [goog.array :as garray] + [goog.Uri]) + (:import [goog.string StringBuffer])) + +;; next line is auto-generated by the build-script - Do not edit! +(def *clojurescript-version* "1.10.238") + +;; Setting of these Vars is in ClojureScript code is associated with intrinsics +;; that affect compilation state, but otherwise turn into no-ops in the emitted +;; JavaScript. + +;; The scope of *unchecked-if* is controlled by balanced pairs of set! calls. +(def *unchecked-if* false) +;; The scope of *unchecked-arrays* is file-scope: In JVM ClojureScript its side- +;; effect is to set same-named analyzer dynamic Var, which is unset via binding +;; scopes. In self-hosted it is cleared via cljs.js/post-file-side-effects. +(def *unchecked-arrays* false) +;; The scope of *warn-on-infer* is file-scope: Its side effect is to set the +;; cljs.analyzer/*cljs-warnings* dynamic Var, which is unset via binding scopes. +(def *warn-on-infer* false) + +(set! *unchecked-arrays* true) + +(defonce PROTOCOL_SENTINEL #js {}) + +(def MODULE_URIS nil) ;; set by compiler +(def MODULE_INFOS nil) ;; set by compiler + +(goog-define + ^{:dynamic true + :doc "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."} + *target* "default") + +(def + ^{:dynamic true + :doc "Var bound to the current namespace. Only used for bootstrapping." + :jsdoc ["@type {*}"]} + *ns* nil) + +(def + ^{:dynamic true + :jsdoc ["@type {*}"]} + *out* nil) + +(def + ^{:dynamic true} + *assert* true) + +(defonce + ^{:doc "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." :dynamic true} + *print-fn* nil) + +(defn ^{:doc "Arranges to have tap functions executed via the supplied f, a + function of no arguments. Returns true if successful, false otherwise." :dynamic true} + *exec-tap-fn* + [f] + (and + (exists? js/setTimeout) + (js/setTimeout f 0) + true)) + +(defonce + ^{:doc "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." :dynamic true} + *print-err-fn* nil) + +(defn set-print-fn! + "Set *print-fn* to f." + [f] (set! *print-fn* f)) + +(defn set-print-err-fn! + "Set *print-err-fn* to f." + [f] (set! *print-err-fn* f)) + +(def + ^{:dynamic true + :doc "When set to true, output will be flushed whenever a newline is printed. + + Defaults to true."} + *flush-on-newline* true) + +(def + ^{:dynamic true + :doc "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."} + *print-newline* true) + +(def + ^{:dynamic true + :doc "When set to logical false, strings and characters will be printed with + non-alphanumeric characters converted to the appropriate escape sequences. + + Defaults to true"} + *print-readably* true) + +(def + ^{:dynamic true + :doc "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."} + *print-meta* false) + +(def + ^{:dynamic true + :doc "When set to logical true, objects will be printed in a way that preserves + their type when read in later. + + Defaults to false."} + *print-dup* false) + +(def + ^{:dynamic true + :doc "*print-namespace-maps* controls whether the printer will print + namespace map literal syntax. + + Defaults to false, but the REPL binds it to true."} + *print-namespace-maps* false) + +(def + ^{:dynamic true + :doc "*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." + :jsdoc ["@type {null|number}"]} + *print-length* nil) + +(def + ^{:dynamic true + :doc "*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." + :jsdoc ["@type {null|number}"]} + *print-level* nil) + +(def + ^{:dynamic true + :doc "*print-fns-bodies* controls whether functions print their source or + only their names."} + *print-fn-bodies* false) + +(defonce + ^{:dynamic true + :jsdoc ["@type {*}"]} + *loaded-libs* nil) + +(defn- pr-opts [] + {:flush-on-newline *flush-on-newline* + :readably *print-readably* + :meta *print-meta* + :dup *print-dup* + :print-length *print-length*}) + +(declare into-array) + +(defn enable-console-print! + "Set *print-fn* to console.log" + [] + (set! *print-newline* false) + (set-print-fn! + (fn [] + (let [xs (js-arguments)] + (.apply (.-log js/console) js/console (garray/clone xs))))) + (set-print-err-fn! + (fn [] + (let [xs (js-arguments)] + (.apply (.-error js/console) js/console (garray/clone xs))))) + nil) + +(def + ^{:doc "bound in a repl thread to the most recent value printed"} + *1) + +(def + ^{:doc "bound in a repl thread to the second most recent value printed"} + *2) + +(def + ^{:doc "bound in a repl thread to the third most recent value printed"} + *3) + +(def + ^{:doc "bound in a repl thread to the most recent exception caught by the repl"} + *e) + +(defn truth_ + "Internal - do not use!" + [x] + (cljs.core/truth_ x)) + +(def not-native nil) + +(declare instance? Keyword) + +(defn ^boolean identical? + "Tests if 2 arguments are the same object" + [x y] + (cljs.core/identical? x y)) + +(defn ^boolean nil? + "Returns true if x is nil, false otherwise." + [x] + (coercive-= x nil)) + +(defn ^boolean array? + "Returns true if x is a JavaScript array." + [x] + (if (identical? *target* "nodejs") + (.isArray js/Array x) + (instance? js/Array x))) + +(defn ^boolean number? + "Returns true if x is a JavaScript number." + [x] + (cljs.core/number? x)) + +(defn ^boolean not + "Returns true if x is logical false, false otherwise." + [x] + (cond + (nil? x) true + (false? x) true + :else false)) + +(defn ^boolean some? + "Returns true if x is not nil, false otherwise." + [x] (not (nil? x))) + +(defn ^boolean object? + "Returns true if x's constructor is Object" + [x] + (if-not (nil? x) + (identical? (.-constructor x) js/Object) + false)) + +(defn ^boolean string? + "Returns true if x is a JavaScript string." + [x] + (goog/isString x)) + +(defn ^boolean char? + "Returns true if x is a JavaScript string of length one." + [x] + (and (string? x) (== 1 (.-length x)))) + +(defn ^boolean any? + "Returns true if given any argument." + [x] true) + +(set! *unchecked-if* true) +(defn ^boolean native-satisfies? + "Internal - do not use!" + [p x] + (let [x (if (nil? x) nil x)] + (cond + (unchecked-get p (goog/typeOf x)) true + (unchecked-get p "_") true + :else false))) +(set! *unchecked-if* false) + +(defn is_proto_ + [x] + (identical? (.-prototype (.-constructor x)) x)) + +(def + ^{:doc "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"} + *main-cli-fn* nil) + +(def + ^{:doc "A sequence of the supplied command line arguments, or nil if + none were supplied"} + *command-line-args* nil) + +(defn type + "Return x's constructor." + [x] + (when-not (nil? x) + (.-constructor x))) + +(defn missing-protocol [proto obj] + (let [ty (type obj) + ty (if (and ty (.-cljs$lang$type ty)) + (.-cljs$lang$ctorStr ty) + (goog/typeOf obj))] + (js/Error. + (.join (array "No protocol method " proto + " defined for type " ty ": " obj) "")))) + +(defn type->str [ty] + (if-let [s (.-cljs$lang$ctorStr ty)] + s + (str ty))) + +;; INTERNAL - do not use, only for Node.js +(defn load-file [file] + (when-not js/COMPILED + (cljs.core/load-file* file))) + +(if (and (exists? js/Symbol) + (identical? (goog/typeOf js/Symbol) "function")) + (def ITER_SYMBOL (.-iterator js/Symbol)) + (def ITER_SYMBOL "@@iterator")) + +(def ^{:jsdoc ["@enum {string}"]} + CHAR_MAP + #js {"-" "_" + ":" "_COLON_" + "+" "_PLUS_" + ">" "_GT_" + "<" "_LT_" + "=" "_EQ_" + "~" "_TILDE_" + "!" "_BANG_" + "@" "_CIRCA_" + "#" "_SHARP_" + "'" "_SINGLEQUOTE_" + "\\\"" "_DOUBLEQUOTE_" + "%" "_PERCENT_" + "^" "_CARET_" + "&" "_AMPERSAND_" + "*" "_STAR_" + "|" "_BAR_" + "{" "_LBRACE_" + "}" "_RBRACE_" + "[" "_LBRACK_" + "]" "_RBRACK_" + "/" "_SLASH_" + "\\\\" "_BSLASH_" + "?" "_QMARK_"}) + +(def ^{:jsdoc ["@enum {string}"]} + DEMUNGE_MAP + #js {"_" "-" + "_COLON_" ":" + "_PLUS_" "+" + "_GT_" ">" + "_LT_" "<" + "_EQ_" "=" + "_TILDE_" "~" + "_BANG_" "!" + "_CIRCA_" "@" + "_SHARP_" "#" + "_SINGLEQUOTE_" "'" + "_DOUBLEQUOTE_" "\\\"" + "_PERCENT_" "%" + "_CARET_" "^" + "_AMPERSAND_" "&" + "_STAR_" "*" + "_BAR_" "|" + "_LBRACE_" "{" + "_RBRACE_" "}" + "_LBRACK_" "[" + "_RBRACK_" "]" + "_SLASH_" "/" + "_BSLASH_" "\\\\" + "_QMARK_" "?"}) + +(def DEMUNGE_PATTERN nil) + +(defn system-time + "Returns highest resolution time offered by host in milliseconds." + [] + (cond + (and (exists? js/performance) + (not (nil? (. js/performance -now)))) + (.now js/performance) + + (and (exists? js/process) + (not (nil? (. js/process -hrtime)))) + (let [t (.hrtime js/process)] + (/ (+ (* (aget t 0) 1e9) (aget t 1)) 1e6)) + + :else (.getTime (js/Date.)))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; arrays ;;;;;;;;;;;;;;;; + +(declare apply) + +(defn ^array make-array + "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." + ([size] + (js/Array. size)) + ([type size] + (make-array size)) + ([type size & more-sizes] + (let [dims more-sizes + dimarray (make-array size)] + (dotimes [i (alength dimarray)] + (aset dimarray i (apply make-array nil dims))) + dimarray))) + +(defn aclone + "Returns a javascript array, cloned from the passed in array" + [arr] + (let [len (alength arr) + new-arr (make-array len)] + (dotimes [i len] + (aset new-arr i (aget arr i))) + new-arr)) + +(defn ^array array + "Creates a new javascript array. +@param {...*} var_args" ;;array is a special case, don't emulate this doc string + [var-args] ;; [& items] + (let [a (js/Array. (alength (cljs.core/js-arguments)))] + (loop [i 0] + (if (< i (alength a)) + (do + (aset a i (aget (cljs.core/js-arguments) i)) + (recur (inc i))) + a)))) + +(defn- maybe-warn + [e] + (when *print-err-fn* + (*print-err-fn* e))) + +(defn- checked-aget + ([array idx] + (when-assert + (try + (assert (or (array? array) (js/goog.isArrayLike array))) + (assert (number? idx)) + (assert (not (neg? idx))) + (assert (< idx (alength array))) + (catch :default e + (maybe-warn e)))) + (unchecked-get array idx)) + ([array idx & idxs] + (apply checked-aget (checked-aget array idx) idxs))) + +(defn- checked-aset + ([array idx val] + (when-assert + (try + (assert (or (array? array) (js/goog.isArrayLike array))) + (assert (number? idx)) + (assert (not (neg? idx))) + (assert (< idx (alength array))) + (catch :default e + (maybe-warn e)))) + (unchecked-set array idx val)) + ([array idx idx2 & idxv] + (apply checked-aset (checked-aget array idx) idx2 idxv))) + +(defn- checked-aget' + ([array idx] + {:pre [(or (array? array) (js/goog.isArrayLike array)) + (number? idx) (not (neg? idx)) (< idx (alength array))]} + (unchecked-get array idx)) + ([array idx & idxs] + (apply checked-aget' (checked-aget' array idx) idxs))) + +(defn- checked-aset' + ([array idx val] + {:pre [(or (array? array) (js/goog.isArrayLike array)) + (number? idx) (not (neg? idx)) (< idx (alength array))]} + (unchecked-set array idx val)) + ([array idx idx2 & idxv] + (apply checked-aset' (checked-aget' array idx) idx2 idxv))) + +(defn aget + "Returns the value at the index/indices. Works on JavaScript arrays." + ([array idx] + (cljs.core/aget array idx)) + ([array idx & idxs] + (apply aget (aget array idx) idxs))) + +(defn aset + "Sets the value at the index/indices. Works on JavaScript arrays. + Returns val." + ([array idx val] + (cljs.core/aset array idx val)) + ([array idx idx2 & idxv] + (apply aset (aget array idx) idx2 idxv))) + +(defn ^number alength + "Returns the length of the array. Works on arrays of all types." + [array] + (cljs.core/alength array)) + +(declare reduce) + +(defn ^array into-array + "Returns an array with components set to the values in aseq. Optional type + argument accepted for compatibility with Clojure." + ([aseq] + (into-array nil aseq)) + ([type aseq] + (reduce (fn [a x] (.push a x) a) (array) aseq))) + +(defn js-invoke + "Invoke JavaScript object method via string. Needed when the + string is not a valid unquoted property name." + [obj s & args] + (.apply (unchecked-get obj s) obj (into-array args))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;; core protocols ;;;;;;;;;;;;; + +(defprotocol Fn + "Marker protocol") + +(defprotocol IFn + "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" + (-invoke + [this] + [this a] + [this a b] + [this a b c] + [this a b c d] + [this a b c d e] + [this a b c d e f] + [this a b c d e f g] + [this a b c d e f g h] + [this a b c d e f g h i] + [this a b c d e f g h i j] + [this a b c d e f g h i j k] + [this a b c d e f g h i j k l] + [this a b c d e f g h i j k l m] + [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 o] + [this a b c d e f g h i j k l m n o p] + [this a b c d e f g h i j k l m n o p q] + [this a b c d e f g h i j k l m n o p q r] + [this a b c d e f g h i j k l m n o p q r s] + [this a b c d e f g h i j k l m n o p q r s t] + [this a b c d e f g h i j k l m n o p q r s t rest])) + +(defprotocol ICloneable + "Protocol for cloning a value." + (^clj -clone [value] + "Creates a clone of value.")) + +(defprotocol ICounted + "Protocol for adding the ability to count a collection in constant time." + (^number -count [coll] + "Calculates the count of coll in constant time. Used by cljs.core/count.")) + +(defprotocol IEmptyableCollection + "Protocol for creating an empty collection." + (-empty [coll] + "Returns an empty collection of the same category as coll. Used + by cljs.core/empty.")) + +(defprotocol ICollection + "Protocol for adding to a collection." + (^clj -conj [coll o] + "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)")) + +#_(defprotocol IOrdinal + (-index [coll])) + +(defprotocol IIndexed + "Protocol for collections to provide indexed-based access to their items." + (-nth [coll n] [coll n not-found] + "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.")) + +(defprotocol ASeq + "Marker protocol indicating an array sequence.") + +(defprotocol ISeq + "Protocol for collections to provide access to their items as sequences." + (-first [coll] + "Returns the first item in the collection coll. Used by cljs.core/first.") + (^clj -rest [coll] + "Returns a new collection of coll without the first item. It should + always return a seq, e.g. + (rest []) => () + (rest nil) => ()")) + +(defprotocol INext + "Protocol for accessing the next items of a collection." + (^clj-or-nil -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")) + +(defprotocol ILookup + "Protocol for looking up a value in a data structure." + (-lookup [o k] [o k not-found] + "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.")) + +(defprotocol IAssociative + "Protocol for adding associativity to collections." + (^boolean -contains-key? [coll k] + "Returns true if k is a key in coll.") + #_(-entry-at [coll k]) + (^clj -assoc [coll k v] + "Returns a new collection of coll with a mapping from key k to + value v added to it.")) + +(defprotocol IFind + "Protocol for implementing entry finding in collections." + (-find [coll k] "Returns the map entry for key, or nil if key not present.")) + +(defprotocol IMap + "Protocol for adding mapping functionality to collections." + #_(-assoc-ex [coll k v]) + (^clj -dissoc [coll k] + "Returns a new collection of coll without the mapping for key k.")) + +(defprotocol IMapEntry + "Protocol for examining a map entry." + (-key [coll] + "Returns the key of the map entry.") + (-val [coll] + "Returns the value of the map entry.")) + +(defprotocol ISet + "Protocol for adding set functionality to a collection." + (^clj -disjoin [coll v] + "Returns a new collection of coll that does not contain v.")) + +(defprotocol IStack + "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." + (-peek [coll] + "Returns the item from the top of the stack. Is used by cljs.core/peek.") + (^clj -pop [coll] + "Returns a new stack without the item on top of the stack. Is used + by cljs.core/pop.")) + +(defprotocol IVector + "Protocol for adding vector functionality to collections." + (^clj -assoc-n [coll n val] + "Returns a new vector with value val added at position n.")) + +(defprotocol IDeref + "Protocol for adding dereference functionality to a reference." + (-deref [o] + "Returns the value of the reference o.")) + +(defprotocol IDerefWithTimeout + (-deref-with-timeout [o msec timeout-val])) + +(defprotocol IMeta + "Protocol for accessing the metadata of an object." + (^clj-or-nil -meta [o] + "Returns the metadata of object o.")) + +(defprotocol IWithMeta + "Protocol for adding metadata to an object." + (^clj -with-meta [o meta] + "Returns a new object with value of o and metadata meta added to it.")) + +(defprotocol IReduce + "Protocol for seq types that can reduce themselves. + Called by cljs.core/reduce." + (-reduce [coll f] [coll f start] + "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.")) + +(defprotocol IKVReduce + "Protocol for associative types that can reduce themselves + via a function of key and val. Called by cljs.core/reduce-kv." + (-kv-reduce [coll f init] + "Reduces an associative collection and returns the result. f should be + a function that takes three arguments.")) + +(defprotocol IEquiv + "Protocol for adding value comparison functionality to a type." + (^boolean -equiv [o other] + "Returns true if o and other are equal, false otherwise.")) + +(defprotocol IHash + "Protocol for adding hashing functionality to a type." + (-hash [o] + "Returns the hash code of o.")) + +(defprotocol ISeqable + "Protocol for adding the ability to a type to be transformed into a sequence." + (^clj-or-nil -seq [o] + "Returns a seq of o, or nil if o is empty.")) + +(defprotocol ISequential + "Marker interface indicating a persistent collection of sequential items") + +(defprotocol IList + "Marker interface indicating a persistent list") + +(defprotocol IRecord + "Marker interface indicating a record object") + +(defprotocol IReversible + "Protocol for reversing a seq." + (^clj -rseq [coll] + "Returns a seq of the items in coll in reversed order.")) + +(defprotocol ISorted + "Protocol for a collection which can represent their items + in a sorted manner. " + (^clj -sorted-seq [coll ascending?] + "Returns a sorted seq from coll in either ascending or descending order.") + (^clj -sorted-seq-from [coll k ascending?] + "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)") + (-entry-key [coll entry] + "Returns the key for entry.") + (-comparator [coll] + "Returns the comparator for coll.")) + +(defprotocol IWriter + "Protocol for writing. Currently only implemented by StringBufferWriter." + (-write [writer s] + "Writes s with writer and returns the result.") + (-flush [writer] + "Flush writer.")) + +(defprotocol IPrintWithWriter + "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." + (-pr-writer [o writer opts])) + +(defprotocol IPending + "Protocol for types which can have a deferred realization. Currently only + implemented by Delay and LazySeq." + (^boolean -realized? [x] + "Returns true if a value for x has been produced, false otherwise.")) + +(defprotocol IWatchable + "Protocol for types that can be watched. Currently only implemented by Atom." + (-notify-watches [this oldval newval] + "Calls all watchers with this, oldval and newval.") + (-add-watch [this key f] + "Adds a watcher function f to this. Keys must be unique per reference, + and can be used to remove the watch with -remove-watch.") + (-remove-watch [this key] + "Removes watcher that corresponds to key from this.")) + +(defprotocol IEditableCollection + "Protocol for collections which can transformed to transients." + (^clj -as-transient [coll] + "Returns a new, transient version of the collection, in constant time.")) + +(defprotocol ITransientCollection + "Protocol for adding basic functionality to transient collections." + (^clj -conj! [tcoll val] + "Adds value val to tcoll and returns tcoll.") + (^clj -persistent! [tcoll] + "Creates a persistent data structure from tcoll and returns it.")) + +(defprotocol ITransientAssociative + "Protocol for adding associativity to transient collections." + (^clj -assoc! [tcoll key val] + "Returns a new transient collection of tcoll with a mapping from key to + val added to it.")) + +(defprotocol ITransientMap + "Protocol for adding mapping functionality to transient collections." + (^clj -dissoc! [tcoll key] + "Returns a new transient collection of tcoll without the mapping for key.")) + +(defprotocol ITransientVector + "Protocol for adding vector functionality to transient collections." + (^clj -assoc-n! [tcoll n val] + "Returns tcoll with value val added at position n.") + (^clj -pop! [tcoll] + "Returns tcoll with the last item removed from it.")) + +(defprotocol ITransientSet + "Protocol for adding set functionality to a transient collection." + (^clj -disjoin! [tcoll v] + "Returns tcoll without v.")) + +(defprotocol IComparable + "Protocol for values that can be compared." + (^number -compare [x y] + "Returns a negative number, zero, or a positive number when x is logically + 'less than', 'equal to', or 'greater than' y.")) + +(defprotocol IChunk + "Protocol for accessing the items of a chunk." + (-drop-first [coll] + "Return a new chunk of coll with the first item removed.")) + +(defprotocol IChunkedSeq + "Protocol for accessing a collection as sequential chunks." + (-chunked-first [coll] + "Returns the first chunk in coll.") + (-chunked-rest [coll] + "Return a new collection of coll with the first chunk removed.")) + +(defprotocol IChunkedNext + "Protocol for accessing the chunks of a collection." + (-chunked-next [coll] + "Returns a new collection of coll without the first chunk.")) + +(defprotocol INamed + "Protocol for adding a name." + (^string -name [x] + "Returns the name String of x.") + (^string -namespace [x] + "Returns the namespace String of x.")) + +(defprotocol IAtom + "Marker protocol indicating an atom.") + +(defprotocol IReset + "Protocol for adding resetting functionality." + (-reset! [o new-value] + "Sets the value of o to new-value.")) + +(defprotocol ISwap + "Protocol for adding swapping functionality." + (-swap! [o f] [o f a] [o f a b] [o f a b xs] + "Swaps the value of o to be (apply f current-value-of-atom args).")) + +(defprotocol IVolatile + "Protocol for adding volatile functionality." + (-vreset! [o new-value] + "Sets the value of volatile o to new-value without regard for the + current value. Returns new-value.")) + +(defprotocol IIterable + "Protocol for iterating over a collection." + (-iterator [coll] + "Returns an iterator for coll.")) + +;; Printing support + +(deftype StringBufferWriter [sb] + IWriter + (-write [_ s] (.append sb s)) + (-flush [_] nil)) + +(defn pr-str* + "Support so that collections can implement toString without + loading all the printing machinery." + [^not-native obj] + (let [sb (StringBuffer.) + writer (StringBufferWriter. sb)] + (-pr-writer obj writer (pr-opts)) + (-flush writer) + (str sb))) + +;;;;;;;;;;;;;;;;;;; Murmur3 ;;;;;;;;;;;;;;; + +;;http://hg.openjdk.java.net/jdk7u/jdk7u6/jdk/file/8c2c5d63a17e/src/share/classes/java/lang/Integer.java +(defn ^number int-rotate-left [x n] + (bit-or + (bit-shift-left x n) + (unsigned-bit-shift-right x (- n)))) + +;; http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul +(if (and (exists? Math/imul) + (not (zero? (Math/imul 0xffffffff 5)))) + (defn ^number imul [a b] (Math/imul a b)) + (defn ^number imul [a b] + (let [ah (bit-and (unsigned-bit-shift-right a 16) 0xffff) + al (bit-and a 0xffff) + bh (bit-and (unsigned-bit-shift-right b 16) 0xffff) + bl (bit-and b 0xffff)] + (bit-or + (+ (* al bl) + (unsigned-bit-shift-right + (bit-shift-left (+ (* ah bl) (* al bh)) 16) 0)) 0)))) + +;; http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp +(def m3-seed 0) +(def m3-C1 (int 0xcc9e2d51)) +(def m3-C2 (int 0x1b873593)) + +(defn ^number m3-mix-K1 [k1] + (-> (int k1) (imul m3-C1) (int-rotate-left 15) (imul m3-C2))) + +(defn ^number m3-mix-H1 [h1 k1] + (int (-> (int h1) (bit-xor (int k1)) (int-rotate-left 13) (imul 5) (+ (int 0xe6546b64))))) + +(defn ^number m3-fmix [h1 len] + (as-> (int h1) h1 + (bit-xor h1 len) + (bit-xor h1 (unsigned-bit-shift-right h1 16)) + (imul h1 (int 0x85ebca6b)) + (bit-xor h1 (unsigned-bit-shift-right h1 13)) + (imul h1 (int 0xc2b2ae35)) + (bit-xor h1 (unsigned-bit-shift-right h1 16)))) + +(defn ^number m3-hash-int [in] + (if (zero? in) + in + (let [k1 (m3-mix-K1 in) + h1 (m3-mix-H1 m3-seed k1)] + (m3-fmix h1 4)))) + +(defn ^number m3-hash-unencoded-chars [in] + (let [h1 (loop [i 1 h1 m3-seed] + (if (< i (.-length in)) + (recur (+ i 2) + (m3-mix-H1 h1 + (m3-mix-K1 + (bit-or (.charCodeAt in (dec i)) + (bit-shift-left (.charCodeAt in i) 16))))) + h1)) + h1 (if (== (bit-and (.-length in) 1) 1) + (bit-xor h1 (m3-mix-K1 (.charCodeAt in (dec (.-length in))))) + h1)] + (m3-fmix h1 (imul 2 (.-length in))))) + +;;;;;;;;;;;;;;;;;;; symbols ;;;;;;;;;;;;;;; + +(declare list Symbol = compare) + +;; Simple caching of string hashcode +(def string-hash-cache (js-obj)) +(def string-hash-cache-count 0) + +;;http://hg.openjdk.java.net/jdk7u/jdk7u6/jdk/file/8c2c5d63a17e/src/share/classes/java/lang/String.java +(defn hash-string* [s] + (if-not (nil? s) + (let [len (.-length s)] + (if (pos? len) + (loop [i 0 hash 0] + (if (< i len) + (recur (inc i) (+ (imul 31 hash) (.charCodeAt s i))) + hash)) + 0)) + 0)) + +(defn add-to-string-hash-cache [k] + (let [h (hash-string* k)] + (gobject/set string-hash-cache k h) + (set! string-hash-cache-count (inc string-hash-cache-count)) + h)) + +(defn hash-string [k] + (when (> string-hash-cache-count 255) + (set! string-hash-cache (js-obj)) + (set! string-hash-cache-count 0)) + (if (nil? k) + 0 + (let [h (unchecked-get string-hash-cache k)] + (if (number? h) + h + (add-to-string-hash-cache k))))) + +(defn hash + "Returns the hash code of its argument. Note this is the hash code + consistent with =." + [o] + (cond + (implements? IHash o) + (bit-xor (-hash ^not-native o) 0) + + (number? o) + (if (js/isFinite o) + (js-mod (Math/floor o) 2147483647) + (case o + ##Inf + 2146435072 + ##-Inf + -1048576 + 2146959360)) + + ;; note: mirrors Clojure's behavior on the JVM, where the hashCode is + ;; 1231 for true and 1237 for false + ;; http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html#hashCode%28%29 + (true? o) 1231 + + (false? o) 1237 + + (string? o) + (m3-hash-int (hash-string o)) + + (instance? js/Date o) + (bit-xor (.valueOf o) 0) + + (nil? o) 0 + + :else + (bit-xor (-hash o) 0))) + +(defn hash-combine [seed hash] + ; a la boost + (bit-xor seed + (+ hash 0x9e3779b9 + (bit-shift-left seed 6) + (bit-shift-right seed 2)))) + +(defn ^boolean instance? + "Evaluates x and tests if it is an instance of the type + c. Returns true or false" + [c x] + (cljs.core/instance? c x)) + +(defn ^boolean symbol? + "Return true if x is a Symbol" + [x] + (instance? Symbol x)) + +(defn- hash-symbol [sym] + (hash-combine + (m3-hash-unencoded-chars (.-name sym)) + (hash-string (.-ns sym)))) + +(defn- compare-symbols [a b] + (cond + (identical? (.-str a) (.-str b)) 0 + (and (not (.-ns a)) (.-ns b)) -1 + (.-ns a) (if-not (.-ns b) + 1 + (let [nsc (garray/defaultCompare (.-ns a) (.-ns b))] + (if (== 0 nsc) + (garray/defaultCompare (.-name a) (.-name b)) + nsc))) + :default (garray/defaultCompare (.-name a) (.-name b)))) + +(declare get) + +(deftype Symbol [ns name str ^:mutable _hash _meta] + Object + (toString [_] str) + (equiv [this other] (-equiv this other)) + + IEquiv + (-equiv [_ other] + (if (instance? Symbol other) + (identical? str (.-str other)) + false)) + + IFn + (-invoke [sym coll] + (get coll sym)) + (-invoke [sym coll not-found] + (get coll sym not-found)) + + IMeta + (-meta [_] _meta) + + IWithMeta + (-with-meta [_ new-meta] (Symbol. ns name str _hash new-meta)) + + IHash + (-hash [sym] + (caching-hash sym hash-symbol _hash)) + + INamed + (-name [_] name) + (-namespace [_] ns) + + IPrintWithWriter + (-pr-writer [o writer _] (-write writer str))) + +(defn symbol + "Returns a Symbol with the given namespace and name." + ([name] + (if (symbol? name) + name + (let [idx (.indexOf name "/")] + (if (< idx 1) + (symbol nil name) + (symbol (.substring name 0 idx) + (.substring name (inc idx) (. name -length))))))) + ([ns name] + (let [sym-str (if-not (nil? ns) + (str ns "/" name) + name)] + (Symbol. ns name sym-str nil nil)))) + +(deftype Var [val sym _meta] + Object + (isMacro [_] + (. (val) -cljs$lang$macro)) + (toString [_] + (str "#'" sym)) + IDeref + (-deref [_] (val)) + IMeta + (-meta [_] _meta) + IWithMeta + (-with-meta [_ new-meta] + (Var. val sym new-meta)) + IEquiv + (-equiv [this other] + (if (instance? Var other) + (= (.-sym this) (.-sym other)) + false)) + IHash + (-hash [_] + (hash-symbol sym)) + Fn + IFn + (-invoke [_] + ((val))) + (-invoke [_ a] + ((val) a)) + (-invoke [_ a b] + ((val) a b)) + (-invoke [_ a b c] + ((val) a b c)) + (-invoke [_ a b c d] + ((val) a b c d)) + (-invoke [_ a b c d e] + ((val) a b c d e)) + (-invoke [_ a b c d e f] + ((val) a b c d e f)) + (-invoke [_ a b c d e f g] + ((val) a b c d e f g)) + (-invoke [_ a b c d e f g h] + ((val) a b c d e f g h)) + (-invoke [_ a b c d e f g h i] + ((val) a b c d e f g h i)) + (-invoke [_ a b c d e f g h i j] + ((val) a b c d e f g h i j)) + (-invoke [_ a b c d e f g h i j k] + ((val) a b c d e f g h i j k)) + (-invoke [_ a b c d e f g h i j k l] + ((val) a b c d e f g h i j k l)) + (-invoke [_ a b c d e f g h i j k l m] + ((val) a b c d e f g h i j k l m)) + (-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 o] + ((val) a b c d e f g h i j k l m n o)) + (-invoke [_ a b c d e f g h i j k l m n o p] + ((val) a b c d e f g h i j k l m n o p)) + (-invoke [_ a b c d e f g h i j k l m n o p q] + ((val) a b c d e f g h i j k l m n o p q)) + (-invoke [_ a b c d e f g h i j k l m n o p q r] + ((val) a b c d e f g h i j k l m n o p q r)) + (-invoke [_ a b c d e f g h i j k l m n o p q r s] + ((val) a b c d e f g h i j k l m n o p q r s)) + (-invoke [_ a b c d e f g h i j k l m n o p q r s t] + ((val) a b c d e f g h i j k l m n o p q r s t)) + (-invoke [_ a b c d e f g h i j k l m n o p q r s t rest] + (apply (val) a b c d e f g h i j k l m n o p q r s t rest))) + +(defn ^boolean var? + "Returns true if v is of type cljs.core.Var" + [v] + (instance? cljs.core.Var v)) + +;;;;;;;;;;;;;;;;;;; fundamentals ;;;;;;;;;;;;;;; + +(declare array-seq prim-seq IndexedSeq) + +(defn ^boolean iterable? + "Return true if x implements IIterable protocol." + [x] + (satisfies? IIterable x)) + +(defn clone + "Clone the supplied value which must implement ICloneable." + [value] + (-clone value)) + +(defn ^boolean cloneable? + "Return true if x implements ICloneable protocol." + [value] + (satisfies? ICloneable value)) + +(defn ^seq seq + "Returns a seq on the collection. If the collection is + empty, returns nil. (seq nil) returns nil. seq also works on + Strings." + [coll] + (when-not (nil? coll) + (cond + (implements? ISeqable coll) + (-seq ^not-native coll) + + (array? coll) + (when-not (zero? (alength coll)) + (IndexedSeq. coll 0 nil)) + + (string? coll) + (when-not (zero? (alength coll)) + (IndexedSeq. coll 0 nil)) + + (native-satisfies? ISeqable coll) + (-seq coll) + + :else (throw (js/Error. (str coll " is not ISeqable")))))) + +(defn first + "Returns the first item in the collection. Calls seq on its + argument. If coll is nil, returns nil." + [coll] + (when-not (nil? coll) + (if (implements? ISeq coll) + (-first ^not-native coll) + (let [s (seq coll)] + (when-not (nil? s) + (-first s)))))) + +(defn ^seq rest + "Returns a possibly empty seq of the items after the first. Calls seq on its + argument." + [coll] + (if-not (nil? coll) + (if (implements? ISeq coll) + (-rest ^not-native coll) + (let [s (seq coll)] + (if s + (-rest ^not-native s) + ()))) + ())) + +(defn ^seq next + "Returns a seq of the items after the first. Calls seq on its + argument. If there are no more items, returns nil" + [coll] + (when-not (nil? coll) + (if (implements? INext coll) + (-next ^not-native coll) + (seq (rest coll))))) + +(defn ^boolean = + "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." + ([x] true) + ([x y] + (if (nil? x) + (nil? y) + (or (identical? x y) + ^boolean (-equiv x y)))) + ([x y & more] + (if (= x y) + (if (next more) + (recur y (first more) (next more)) + (= y (first more))) + false))) + +;; EXPERIMENTAL: subject to change +(deftype ES6Iterator [^:mutable s] + Object + (next [_] + (if-not (nil? s) + (let [x (first s)] + (set! s (next s)) + #js {:value x :done false}) + #js {:value nil :done true}))) + +(defn es6-iterator + "EXPERIMENTAL: Return a ES2015 compatible iterator for coll." + [coll] + (ES6Iterator. (seq coll))) + +(declare es6-iterator-seq) + +(deftype ES6IteratorSeq [value iter ^:mutable _rest] + ISeqable + (-seq [this] this) + ISeq + (-first [_] value) + (-rest [_] + (when (nil? _rest) + (set! _rest (es6-iterator-seq iter))) + _rest)) + +(defn es6-iterator-seq + "EXPERIMENTAL: Given an ES2015 compatible iterator return a seq." + [iter] + (let [v (.next iter)] + (if (.-done v) + () + (ES6IteratorSeq. (.-value v) iter nil)))) + +;;;;;;;;;;;;;;;;;;; Murmur3 Helpers ;;;;;;;;;;;;;;;; + +(defn ^number mix-collection-hash + "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." + [hash-basis count] + (let [h1 m3-seed + k1 (m3-mix-K1 hash-basis) + h1 (m3-mix-H1 h1 k1)] + (m3-fmix h1 count))) + +(defn ^number hash-ordered-coll + "Returns the hash code, consistent with =, for an external ordered + collection implementing Iterable. + See http://clojure.org/data_structures#hash for full algorithms." + [coll] + (loop [n 0 hash-code 1 coll (seq coll)] + (if-not (nil? coll) + (recur (inc n) (bit-or (+ (imul 31 hash-code) (hash (first coll))) 0) + (next coll)) + (mix-collection-hash hash-code n)))) + +(def ^:private empty-ordered-hash + (mix-collection-hash 1 0)) + +(defn ^number hash-unordered-coll + "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." + [coll] + (loop [n 0 hash-code 0 coll (seq coll)] + (if-not (nil? coll) + (recur (inc n) (bit-or (+ hash-code (hash (first coll))) 0) (next coll)) + (mix-collection-hash hash-code n)))) + +(def ^:private empty-unordered-hash + (mix-collection-hash 0 0)) + +;;;;;;;;;;;;;;;;;;; protocols on primitives ;;;;;;;; +(declare hash-map list equiv-sequential) + +(extend-type nil + ICounted + (-count [_] 0)) + +;; TODO: we should remove this and handle date equality checking +;; by some other means, probably by adding a new primitive type +;; case to the hash table lookup - David + +(extend-type js/Date + IEquiv + (-equiv [o other] + (and (instance? js/Date other) + (== (.valueOf o) (.valueOf other)))) + + IComparable + (-compare [this other] + (if (instance? js/Date other) + (garray/defaultCompare (.valueOf this) (.valueOf other)) + (throw (js/Error. (str "Cannot compare " this " to " other)))))) + +(defprotocol Inst + (inst-ms* [inst])) + +(extend-protocol Inst + js/Date + (inst-ms* [inst] (.getTime inst))) + +(defn inst-ms + "Return the number of milliseconds since January 1, 1970, 00:00:00 GMT" + [inst] + (inst-ms* inst)) + +(defn ^boolean inst? + "Return true if x satisfies Inst" + [x] + (satisfies? Inst x)) + +(extend-type number + IEquiv + (-equiv [x o] (identical? x o))) + +(declare with-meta) + +(extend-type function + Fn + IMeta + (-meta [_] nil)) + +(extend-type default + IHash + (-hash [o] + (goog/getUid o))) + +;;this is primitive because & emits call to array-seq +(defn inc + "Returns a number one greater than num." + [x] (cljs.core/+ x 1)) + +(declare deref) + +(deftype Reduced [val] + IDeref + (-deref [o] val)) + +(defn reduced + "Wraps x in a way such that a reduce will terminate with the value x" + [x] + (Reduced. x)) + +(defn ^boolean reduced? + "Returns true if x is the result of a call to reduced" + [r] + (instance? Reduced r)) + +(defn ensure-reduced + "If x is already reduced?, returns it, else returns (reduced x)" + [x] + (if (reduced? x) x (reduced x))) + +(defn unreduced + "If x is reduced?, returns (deref x), else returns x" + [x] + (if (reduced? x) (deref x) x)) + +;; generic to all refs +;; (but currently hard-coded to atom!) +(defn deref + "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?." + [o] + (-deref o)) + +(defn- ci-reduce + "Accepts any collection which satisfies the ICount and IIndexed protocols and +reduces them without incurring seq initialization" + ([cicoll f] + (let [cnt (-count cicoll)] + (if (zero? cnt) + (f) + (loop [val (-nth cicoll 0), n 1] + (if (< n cnt) + (let [nval (f val (-nth cicoll n))] + (if (reduced? nval) + @nval + (recur nval (inc n)))) + val))))) + ([cicoll f val] + (let [cnt (-count cicoll)] + (loop [val val, n 0] + (if (< n cnt) + (let [nval (f val (-nth cicoll n))] + (if (reduced? nval) + @nval + (recur nval (inc n)))) + val)))) + ([cicoll f val idx] + (let [cnt (-count cicoll)] + (loop [val val, n idx] + (if (< n cnt) + (let [nval (f val (-nth cicoll n))] + (if (reduced? nval) + @nval + (recur nval (inc n)))) + val))))) + +(defn- array-reduce + ([arr f] + (let [cnt (alength arr)] + (if (zero? (alength arr)) + (f) + (loop [val (aget arr 0), n 1] + (if (< n cnt) + (let [nval (f val (aget arr n))] + (if (reduced? nval) + @nval + (recur nval (inc n)))) + val))))) + ([arr f val] + (let [cnt (alength arr)] + (loop [val val, n 0] + (if (< n cnt) + (let [nval (f val (aget arr n))] + (if (reduced? nval) + @nval + (recur nval (inc n)))) + val)))) + ([arr f val idx] + (let [cnt (alength arr)] + (loop [val val, n idx] + (if (< n cnt) + (let [nval (f val (aget arr n))] + (if (reduced? nval) + @nval + (recur nval (inc n)))) + val))))) + +(declare hash-coll cons drop count nth RSeq List) + +(defn ^boolean counted? + "Returns true if coll implements count in constant time" + [x] (satisfies? ICounted x)) + +(defn ^boolean indexed? + "Returns true if coll implements nth in constant time" + [x] (satisfies? IIndexed x)) + +(defn- -indexOf + ([coll x] + (-indexOf coll x 0)) + ([coll x start] + (let [len (count coll)] + (if (>= start len) + -1 + (loop [idx (cond + (pos? start) start + (neg? start) (max 0 (+ start len)) + :else start)] + (if (< idx len) + (if (= (nth coll idx) x) + idx + (recur (inc idx))) + -1)))))) + +(defn- -lastIndexOf + ([coll x] + (-lastIndexOf coll x (count coll))) + ([coll x start] + (let [len (count coll)] + (if (zero? len) + -1 + (loop [idx (cond + (pos? start) (min (dec len) start) + (neg? start) (+ len start) + :else start)] + (if (>= idx 0) + (if (= (nth coll idx) x) + idx + (recur (dec idx))) + -1)))))) + +(deftype IndexedSeqIterator [arr ^:mutable i] + Object + (hasNext [_] + (< i (alength arr))) + (next [_] + (let [ret (aget arr i)] + (set! i (inc i)) + ret))) + +(deftype IndexedSeq [arr i meta] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ICloneable + (-clone [_] (IndexedSeq. arr i meta)) + + ISeqable + (-seq [this] + (when (< i (alength arr)) + this)) + + IMeta + (-meta [coll] meta) + IWithMeta + (-with-meta [coll new-meta] + (IndexedSeq. arr i new-meta)) + + ASeq + ISeq + (-first [_] (aget arr i)) + (-rest [_] (if (< (inc i) (alength arr)) + (IndexedSeq. arr (inc i) nil) + (list))) + + INext + (-next [_] (if (< (inc i) (alength arr)) + (IndexedSeq. arr (inc i) nil) + nil)) + + ICounted + (-count [_] + (max 0 (- (alength arr) i))) + + IIndexed + (-nth [coll n] + (let [i (+ n i)] + (if (and (<= 0 i) (< i (alength arr))) + (aget arr i) + (throw (js/Error. "Index out of bounds"))))) + (-nth [coll n not-found] + (let [i (+ n i)] + (if (and (<= 0 i) (< i (alength arr))) + (aget arr i) + not-found))) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IIterable + (-iterator [coll] + (IndexedSeqIterator. arr i)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (.-EMPTY List)) + + IReduce + (-reduce [coll f] + (array-reduce arr f (aget arr i) (inc i))) + (-reduce [coll f start] + (array-reduce arr f start i)) + + IHash + (-hash [coll] (hash-ordered-coll coll)) + + IReversible + (-rseq [coll] + (let [c (-count coll)] + (if (pos? c) + (RSeq. coll (dec c) nil))))) + +(es6-iterable IndexedSeq) + +(defn prim-seq + "Create seq from a primitive JavaScript Array-like." + ([prim] + (prim-seq prim 0)) + ([prim i] + (when (< i (alength prim)) + (IndexedSeq. prim i nil)))) + +(defn array-seq + "Create a seq from a JavaScript array." + ([array] + (prim-seq array 0)) + ([array i] + (prim-seq array i))) + +(declare with-meta seq-reduce) + +(deftype RSeq [ci i meta] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ICloneable + (-clone [_] (RSeq. ci i meta)) + + IMeta + (-meta [coll] meta) + IWithMeta + (-with-meta [coll new-meta] + (RSeq. ci i new-meta)) + + ISeqable + (-seq [coll] coll) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ISeq + (-first [coll] + (-nth ci i)) + (-rest [coll] + (if (pos? i) + (RSeq. ci (dec i) nil) + ())) + + INext + (-next [coll] + (when (pos? i) + (RSeq. ci (dec i) nil))) + + ICounted + (-count [coll] (inc i)) + + ICollection + (-conj [coll o] + (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + IHash + (-hash [coll] (hash-ordered-coll coll)) + + IReduce + (-reduce [col f] (seq-reduce f col)) + (-reduce [col f start] (seq-reduce f start col))) + +(es6-iterable RSeq) + +(defn second + "Same as (first (next x))" + [coll] + (first (next coll))) + +(defn ffirst + "Same as (first (first x))" + [coll] + (first (first coll))) + +(defn nfirst + "Same as (next (first x))" + [coll] + (next (first coll))) + +(defn fnext + "Same as (first (next x))" + [coll] + (first (next coll))) + +(defn nnext + "Same as (next (next x))" + [coll] + (next (next coll))) + +(defn last + "Return the last item in coll, in linear time" + [s] + (let [sn (next s)] + (if-not (nil? sn) + (recur sn) + (first s)))) + +(extend-type default + IEquiv + (-equiv [x o] (identical? x o))) + +(defn conj + "conj[oin]. Returns a new collection with the xs + 'added'. (conj nil item) returns (item). The 'addition' may + happen at different 'places' depending on the concrete type." + ([] []) + ([coll] coll) + ([coll x] + (if-not (nil? coll) + (-conj coll x) + (list x))) + ([coll x & xs] + (if xs + (recur (conj coll x) (first xs) (next xs)) + (conj coll x)))) + +(defn empty + "Returns an empty collection of the same category as coll, or nil" + [coll] + (when-not (nil? coll) + (-empty coll))) + +(defn- accumulating-seq-count [coll] + (loop [s (seq coll) acc 0] + (if (counted? s) ; assumes nil is counted, which it currently is + (+ acc (-count s)) + (recur (next s) (inc acc))))) + +(defn count + "Returns the number of items in the collection. (count nil) returns + 0. Also works on strings, arrays, and Maps" + [coll] + (if-not (nil? coll) + (cond + (implements? ICounted coll) + (-count ^not-native coll) + + (array? coll) + (alength coll) + + (string? coll) + (.-length coll) + + (implements? ISeqable coll) + (accumulating-seq-count coll) + + :else (-count coll)) + 0)) + +(defn- linear-traversal-nth + ([coll n] + (cond + (nil? coll) (throw (js/Error. "Index out of bounds")) + (zero? n) (if (seq coll) + (first coll) + (throw (js/Error. "Index out of bounds"))) + (indexed? coll) (-nth coll n) + (seq coll) (recur (next coll) (dec n)) + :else (throw (js/Error. "Index out of bounds")))) + ([coll n not-found] + (cond + (nil? coll) not-found + (zero? n) (if (seq coll) + (first coll) + not-found) + (indexed? coll) (-nth coll n not-found) + (seq coll) (recur (next coll) (dec n) not-found) + :else not-found))) + +(defn nth + "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." + ([coll n] + (cond + (not (number? n)) + (throw (js/Error. "Index argument to nth must be a number")) + + (nil? coll) + coll + + (implements? IIndexed coll) + (-nth ^not-native coll n) + + (array? coll) + (if (and (>= n 0) (< n (.-length coll))) + (aget coll n) + (throw (js/Error. "Index out of bounds"))) + + (string? coll) + (if (and (>= n 0) (< n (.-length coll))) + (.charAt coll n) + (throw (js/Error. "Index out of bounds"))) + + (or (implements? ISeq coll) + (implements? ISequential coll)) + (linear-traversal-nth coll n) + + (native-satisfies? IIndexed coll) + (-nth coll n) + + :else + (throw (js/Error. (str "nth not supported on this type " + (type->str (type coll))))))) + ([coll n not-found] + (cond + (not (number? n)) + (throw (js/Error. "Index argument to nth must be a number.")) + + (nil? coll) + not-found + + (implements? IIndexed coll) + (-nth ^not-native coll n not-found) + + (array? coll) + (if (and (>= n 0) (< n (.-length coll))) + (aget coll n) + not-found) + + (string? coll) + (if (and (>= n 0) (< n (.-length coll))) + (.charAt coll n) + not-found) + + (or (implements? ISeq coll) + (implements? ISequential coll)) + (linear-traversal-nth coll n not-found) + + (native-satisfies? IIndexed coll) + (-nth coll n not-found) + + :else + (throw (js/Error. (str "nth not supported on this type " + (type->str (type coll)))))))) + +(defn nthrest + "Returns the nth rest of coll, coll when n is 0." + [coll n] + (loop [n n xs coll] + (if-let [xs (and (pos? n) (seq xs))] + (recur (dec n) (rest xs)) + xs))) + +(defn get + "Returns the value mapped to key, not-found or nil if key not present." + ([o k] + (when-not (nil? o) + (cond + (implements? ILookup o) + (-lookup ^not-native o k) + + (array? o) + (when (and (some? k) (< k (.-length o))) + (aget o (int k))) + + (string? o) + (when (and (some? k) (< k (.-length o))) + (.charAt o (int k))) + + (native-satisfies? ILookup o) + (-lookup o k) + + :else nil))) + ([o k not-found] + (if-not (nil? o) + (cond + (implements? ILookup o) + (-lookup ^not-native o k not-found) + + (array? o) + (if (and (some? k) (>= k 0) (< k (.-length o))) + (aget o (int k)) + not-found) + + (string? o) + (if (and (some? k) (>= k 0) (< k (.-length o))) + (.charAt o (int k)) + not-found) + + (native-satisfies? ILookup o) + (-lookup o k not-found) + + :else not-found) + not-found))) + +(declare PersistentHashMap PersistentArrayMap MapEntry) + +(defn assoc + "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." + ([coll k v] + (if-not (nil? coll) + (-assoc coll k v) + (array-map k v))) + ([coll k v & kvs] + (let [ret (assoc coll k v)] + (if kvs + (recur ret (first kvs) (second kvs) (nnext kvs)) + ret)))) + +(defn dissoc + "dissoc[iate]. Returns a new map of the same (hashed/sorted) type, + that does not contain a mapping for key(s)." + ([coll] coll) + ([coll k] + (when-not (nil? coll) + (-dissoc coll k))) + ([coll k & ks] + (when-not (nil? coll) + (let [ret (dissoc coll k)] + (if ks + (recur ret (first ks) (next ks)) + ret))))) + +(defn ^boolean fn? + "Return true if f is a JavaScript function or satisfies the Fn protocol." + [f] + (or ^boolean (goog/isFunction f) (satisfies? Fn f))) + +(deftype MetaFn [afn meta] + IMeta + (-meta [_] meta) + IWithMeta + (-with-meta [_ new-meta] + (MetaFn. afn new-meta)) + Fn + IFn + (-invoke [_] + (afn)) + (-invoke [_ a] + (afn a)) + (-invoke [_ a b] + (afn a b)) + (-invoke [_ a b c] + (afn a b c)) + (-invoke [_ a b c d] + (afn a b c d)) + (-invoke [_ a b c d e] + (afn a b c d e)) + (-invoke [_ a b c d e f] + (afn a b c d e f)) + (-invoke [_ a b c d e f g] + (afn a b c d e f g)) + (-invoke [_ a b c d e f g h] + (afn a b c d e f g h)) + (-invoke [_ a b c d e f g h i] + (afn a b c d e f g h i)) + (-invoke [_ a b c d e f g h i j] + (afn a b c d e f g h i j)) + (-invoke [_ a b c d e f g h i j k] + (afn a b c d e f g h i j k)) + (-invoke [_ a b c d e f g h i j k l] + (afn a b c d e f g h i j k l)) + (-invoke [_ a b c d e f g h i j k l m] + (afn a b c d e f g h i j k l m)) + (-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 o] + (afn a b c d e f g h i j k l m n o)) + (-invoke [_ a b c d e f g h i j k l m n o p] + (afn a b c d e f g h i j k l m n o p)) + (-invoke [_ a b c d e f g h i j k l m n o p q] + (afn a b c d e f g h i j k l m n o p q)) + (-invoke [_ a b c d e f g h i j k l m n o p q r] + (afn a b c d e f g h i j k l m n o p q r)) + (-invoke [_ a b c d e f g h i j k l m n o p q r s] + (afn a b c d e f g h i j k l m n o p q r s)) + (-invoke [_ a b c d e f g h i j k l m n o p q r s t] + (afn a b c d e f g h i j k l m n o p q r s t)) + (-invoke [_ a b c d e f g h i j k l m n o p q r s t rest] + (apply afn a b c d e f g h i j k l m n o p q r s t rest))) + +(defn with-meta + "Returns an object of the same type and value as obj, with + map m as its metadata." + [o meta] + (if ^boolean (goog/isFunction o) + (MetaFn. o meta) + (when-not (nil? o) + (-with-meta o meta)))) + +(defn meta + "Returns the metadata of obj, returns nil if there is no metadata." + [o] + (when (and (not (nil? o)) + (satisfies? IMeta o)) + (-meta o))) + +(defn peek + "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." + [coll] + (when-not (nil? coll) + (-peek coll))) + +(defn pop + "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." + [coll] + (when-not (nil? coll) + (-pop coll))) + +(defn disj + "disj[oin]. Returns a new set of the same (hashed/sorted) type, that + does not contain key(s)." + ([coll] coll) + ([coll k] + (when-not (nil? coll) + (-disjoin coll k))) + ([coll k & ks] + (when-not (nil? coll) + (let [ret (disj coll k)] + (if ks + (recur ret (first ks) (next ks)) + ret))))) + +(defn ^boolean empty? + "Returns true if coll has no items - same as (not (seq coll)). + Please use the idiom (seq x) rather than (not (empty? x))" + [coll] (or (nil? coll) + (not (seq coll)))) + +(defn ^boolean coll? + "Returns true if x satisfies ICollection" + [x] + (if (nil? x) + false + (satisfies? ICollection x))) + +(defn ^boolean set? + "Returns true if x satisfies ISet" + [x] + (if (nil? x) + false + (satisfies? ISet x))) + +(defn ^boolean associative? + "Returns true if coll implements IAssociative" + [x] (satisfies? IAssociative x)) + +(defn ^boolean ifind? + "Returns true if coll implements IFind" + [x] (satisfies? IFind x)) + +(defn ^boolean sequential? + "Returns true if coll satisfies ISequential" + [x] (satisfies? ISequential x)) + +(defn ^boolean sorted? + "Returns true if coll satisfies ISorted" + [x] (satisfies? ISorted x)) + +(defn ^boolean reduceable? + "Returns true if coll satisfies IReduce" + [x] (satisfies? IReduce x)) + +(defn ^boolean map? + "Return true if x satisfies IMap" + [x] + (if (nil? x) + false + (satisfies? IMap x))) + +(defn ^boolean record? + "Return true if x satisfies IRecord" + [x] + (satisfies? IRecord x)) + +(defn ^boolean vector? + "Return true if x satisfies IVector" + [x] (satisfies? IVector x)) + +(declare ChunkedCons ChunkedSeq) + +(defn ^boolean chunked-seq? + "Return true if x is satisfies IChunkedSeq." + [x] (implements? IChunkedSeq x)) + +;;;;;;;;;;;;;;;;;;;; js primitives ;;;;;;;;;;;; +(defn js-obj + "Create JavaSript object from an even number arguments representing + interleaved keys and values." + ([] + (cljs.core/js-obj)) + ([& keyvals] + (apply gobject/create keyvals))) + +(defn js-keys + "Return the JavaScript keys for an object." + [obj] + (gobject/getKeys obj)) + +(defn js-delete + "Delete a property from a JavaScript object. + Returns true upon success, false otherwise." + [obj key] + (cljs.core/js-delete obj key)) + +(defn- array-copy + ([from i to j len] + (loop [i i j j len len] + (if (zero? len) + to + (do (aset to j (aget from i)) + (recur (inc i) (inc j) (dec len))))))) + +(defn- array-copy-downward + ([from i to j len] + (loop [i (+ i (dec len)) j (+ j (dec len)) len len] + (if (zero? len) + to + (do (aset to j (aget from i)) + (recur (dec i) (dec j) (dec len))))))) + +;;;;;;;;;;;;;;;; preds ;;;;;;;;;;;;;;;;;; + +(def ^:private lookup-sentinel (js-obj)) + +(defn ^boolean false? + "Returns true if x is the value false, false otherwise." + [x] (cljs.core/false? x)) + +(defn ^boolean true? + "Returns true if x is the value true, false otherwise." + [x] (cljs.core/true? x)) + +(defn ^boolean boolean? + "Return true if x is a Boolean" + [x] (or (cljs.core/true? x) (cljs.core/false? x))) + +(defn ^boolean undefined? + "Returns true if x identical to the JavaScript undefined value." + [x] + (cljs.core/undefined? x)) + +(defn ^boolean seq? + "Return true if s satisfies ISeq" + [s] + (if (nil? s) + false + (satisfies? ISeq s))) + +(defn ^boolean seqable? + "Return true if the seq function is supported for s" + [s] + (or + (satisfies? ISeqable s) + (array? s) + (string? s))) + +(defn ^boolean boolean + "Coerce to boolean" + [x] + (cond + (nil? x) false + (false? x) false + :else true)) + +(defn ^boolean ifn? + "Returns true if f returns true for fn? or satisfies IFn." + [f] + (or (fn? f) (satisfies? IFn f))) + +(defn ^boolean integer? + "Returns true if n is a JavaScript number with no decimal part." + [n] + (and (number? n) + (not ^boolean (js/isNaN n)) + (not (identical? n js/Infinity)) + (== (js/parseFloat n) (js/parseInt n 10)))) + +(defn ^boolean int? + "Return true if x satisfies integer? or is an instance of goog.math.Integer + or goog.math.Long." + [x] + (or (integer? x) + (instance? goog.math.Integer x) + (instance? goog.math.Long x))) + +(defn ^boolean pos-int? + "Return true if x satisfies int? and is positive." + [x] + (cond + (integer? x) (pos? x) + + (instance? goog.math.Integer x) + (and (not (.isNegative x)) + (not (.isZero x))) + + (instance? goog.math.Long x) + (and (not (.isNegative x)) + (not (.isZero x))) + + :else false)) + +(defn ^boolean neg-int? + "Return true if x satisfies int? and is negative." + [x] + (cond + (integer? x) (neg? x) + + (instance? goog.math.Integer x) + (.isNegative x) + + (instance? goog.math.Long x) + (.isNegative x) + + :else false)) + +(defn ^boolean nat-int? + "Return true if x satisfies int? and is a natural integer value." + [x] + (cond + (integer? x) + (not (neg? x)) + + (instance? goog.math.Integer x) + (not (.isNegative x)) + + (instance? goog.math.Long x) + (not (.isNegative x)) + + :else false)) + +(defn ^boolean float? + "Returns true for JavaScript numbers, false otherwise." + [x] + (number? x)) + +(defn ^boolean double? + "Returns true for JavaScript numbers, false otherwise." + [x] + (number? x)) + +(defn ^boolean infinite? + "Returns true for Infinity and -Infinity values." + [x] + (or (identical? x js/Number.POSITIVE_INFINITY) + (identical? x js/Number.NEGATIVE_INFINITY))) + +(defn ^boolean contains? + "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'." + [coll v] + (if (identical? (get coll v lookup-sentinel) lookup-sentinel) + false + true)) + +(defn find + "Returns the map entry for key, or nil if key not present." + [coll k] + (if (ifind? coll) + (-find coll k) + (when (and (not (nil? coll)) + (associative? coll) + (contains? coll k)) + (MapEntry. k (get coll k) nil)))) + +(defn ^boolean distinct? + "Returns true if no two of the arguments are =" + ([x] true) + ([x y] (not (= x y))) + ([x y & more] + (if (not (= x y)) + (loop [s #{x y} xs more] + (let [x (first xs) + etc (next xs)] + (if xs + (if (contains? s x) + false + (recur (conj s x) etc)) + true))) + false))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Seq fns ;;;;;;;;;;;;;;;; + +(defn ^number compare + "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." + [x y] + (cond + (identical? x y) 0 + + (nil? x) -1 + + (nil? y) 1 + + (number? x) (if (number? y) + (garray/defaultCompare x y) + (throw (js/Error. (str "Cannot compare " x " to " y)))) + + (satisfies? IComparable x) + (-compare x y) + + :else + (if (and (or (string? x) (array? x) (true? x) (false? x)) + (identical? (type x) (type y))) + (garray/defaultCompare x y) + (throw (js/Error. (str "Cannot compare " x " to " y)))))) + +(defn ^:private compare-indexed + "Compare indexed collection." + ([xs ys] + (let [xl (count xs) + yl (count ys)] + (cond + (< xl yl) -1 + (> xl yl) 1 + (== xl 0) 0 + :else (compare-indexed xs ys xl 0)))) + ([xs ys len n] + (let [d (compare (nth xs n) (nth ys n))] + (if (and (zero? d) (< (+ n 1) len)) + (recur xs ys len (inc n)) + d)))) + +(defn ^:private fn->comparator + "Given a fn that might be boolean valued or a comparator, + return a fn that is a comparator." + [f] + (if (= f compare) + compare + (fn [x y] + (let [r (f x y)] + (if (number? r) + r + (if r + -1 + (if (f y x) 1 0))))))) + +(declare to-array) + +(defn sort + "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." + ([coll] + (sort compare coll)) + ([comp coll] + (if (seq coll) + (let [a (to-array coll)] + ;; matching Clojure's stable sort, though docs don't promise it + (garray/stableSort a (fn->comparator comp)) + (seq a)) + ()))) + +(defn sort-by + "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 funcion, or a -/0/+ valued comparator. + Comp defaults to compare." + ([keyfn coll] + (sort-by keyfn compare coll)) + ([keyfn comp coll] + (sort (fn [x y] ((fn->comparator comp) (keyfn x) (keyfn y))) coll))) + +; simple reduce based on seqs, used as default +(defn- seq-reduce + ([f coll] + (if-let [s (seq coll)] + (reduce f (first s) (next s)) + (f))) + ([f val coll] + (loop [val val, coll (seq coll)] + (if coll + (let [nval (f val (first coll))] + (if (reduced? nval) + @nval + (recur nval (next coll)))) + val)))) + +(declare vec) + +(defn shuffle + "Return a random permutation of coll" + [coll] + (let [a (to-array coll)] + (garray/shuffle a) + (vec a))) + +(defn- iter-reduce + ([coll f] + (let [iter (-iterator coll)] + (if (.hasNext iter) + (let [init (.next iter)] + (loop [acc init] + (if ^boolean (.hasNext iter) + (let [nacc (f acc (.next iter))] + (if (reduced? nacc) + @nacc + (recur nacc))) + acc))) + (f)))) + ([coll f init] + (let [iter (-iterator coll)] + (loop [acc init] + (if ^boolean (.hasNext iter) + (let [nacc (f acc (.next iter))] + (if (reduced? nacc) + @nacc + (recur nacc))) + acc))))) + +(defn reduce + "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." + ([f coll] + (cond + (implements? IReduce coll) + (-reduce ^not-native coll f) + + (array? coll) + (array-reduce coll f) + + (string? coll) + (array-reduce coll f) + + (native-satisfies? IReduce coll) + (-reduce coll f) + + (iterable? coll) + (iter-reduce coll f) + + :else + (seq-reduce f coll))) + ([f val coll] + (cond + (implements? IReduce coll) + (-reduce ^not-native coll f val) + + (array? coll) + (array-reduce coll f val) + + (string? coll) + (array-reduce coll f val) + + (native-satisfies? IReduce coll) + (-reduce coll f val) + + (iterable? coll) + (iter-reduce coll f val) + + :else + (seq-reduce f val coll)))) + +(defn reduce-kv + "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." + ([f init coll] + (if-not (nil? coll) + (-kv-reduce coll f init) + init))) + +(defn identity + "Returns its argument." + [x] x) + +(defn completing + "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." + ([f] (completing f identity)) + ([f cf] + (fn + ([] (f)) + ([x] (cf x)) + ([x y] (f x y))))) + +(defn transduce + "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." + ([xform f coll] (transduce xform f (f) coll)) + ([xform f init coll] + (let [f (xform f) + ret (reduce f init coll)] + (f ret)))) + +;;; Math - variadic forms will not work until the following implemented: +;;; first, next, reduce + +(defn ^number + + "Returns the sum of nums. (+) returns 0." + ([] 0) + ([x] x) + ([x y] (cljs.core/+ x y)) + ([x y & more] + (reduce + (cljs.core/+ x y) more))) + +(defn ^number - + "If no ys are supplied, returns the negation of x, else subtracts + the ys from x and returns the result." + ([x] (cljs.core/- x)) + ([x y] (cljs.core/- x y)) + ([x y & more] (reduce - (cljs.core/- x y) more))) + +(defn ^number * + "Returns the product of nums. (*) returns 1." + ([] 1) + ([x] x) + ([x y] (cljs.core/* x y)) + ([x y & more] (reduce * (cljs.core/* x y) more))) + +(declare divide) + +(defn ^number / + "If no denominators are supplied, returns 1/numerator, + else returns numerator divided by all of the denominators." + ([x] (/ 1 x)) + ([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core// + ([x y & more] (reduce / (/ x y) more))) + +(defn ^boolean < + "Returns non-nil if nums are in monotonically increasing order, + otherwise false." + ([x] true) + ([x y] (cljs.core/< x y)) + ([x y & more] + (if (cljs.core/< x y) + (if (next more) + (recur y (first more) (next more)) + (cljs.core/< y (first more))) + false))) + +(defn ^boolean <= + "Returns non-nil if nums are in monotonically non-decreasing order, + otherwise false." + ([x] true) + ([x y] (cljs.core/<= x y)) + ([x y & more] + (if (cljs.core/<= x y) + (if (next more) + (recur y (first more) (next more)) + (cljs.core/<= y (first more))) + false))) + +(defn ^boolean > + "Returns non-nil if nums are in monotonically decreasing order, + otherwise false." + ([x] true) + ([x y] (cljs.core/> x y)) + ([x y & more] + (if (cljs.core/> x y) + (if (next more) + (recur y (first more) (next more)) + (cljs.core/> y (first more))) + false))) + +(defn ^boolean >= + "Returns non-nil if nums are in monotonically non-increasing order, + otherwise false." + ([x] true) + ([x y] (cljs.core/>= x y)) + ([x y & more] + (if (cljs.core/>= x y) + (if (next more) + (recur y (first more) (next more)) + (cljs.core/>= y (first more))) + false))) + +(defn dec + "Returns a number one less than num." + [x] (- x 1)) + +(defn ^number max + "Returns the greatest of the nums." + ([x] x) + ([x y] (cljs.core/max x y)) + ([x y & more] + (reduce max (cljs.core/max x y) more))) + +(defn ^number min + "Returns the least of the nums." + ([x] x) + ([x y] (cljs.core/min x y)) + ([x y & more] + (reduce min (cljs.core/min x y) more))) + +(defn ^number byte [x] x) + +(defn char + "Coerce to char" + [x] + (cond + (number? x) (.fromCharCode js/String x) + (and (string? x) (== (.-length x) 1)) x + :else (throw (js/Error. "Argument to char must be a character or number")))) + +(defn ^number short [x] x) +(defn ^number float [x] x) +(defn ^number double [x] x) + +(defn ^number unchecked-byte [x] x) +(defn ^number unchecked-char [x] x) +(defn ^number unchecked-short [x] x) +(defn ^number unchecked-float [x] x) +(defn ^number unchecked-double [x] x) + +(defn ^number unchecked-add + "Returns the sum of nums. (+) returns 0." + ([] 0) + ([x] x) + ([x y] (cljs.core/unchecked-add x y)) + ([x y & more] (reduce unchecked-add (cljs.core/unchecked-add x y) more))) + +(defn ^number unchecked-add-int + "Returns the sum of nums. (+) returns 0." + ([] 0) + ([x] x) + ([x y] (cljs.core/unchecked-add-int x y)) + ([x y & more] (reduce unchecked-add-int (cljs.core/unchecked-add-int x y) more))) + +(defn unchecked-dec + "Returns a number one less than x, an int." + [x] + (cljs.core/unchecked-dec x)) + +(defn unchecked-dec-int + "Returns a number one less than x, an int." + [x] + (cljs.core/unchecked-dec-int x)) + +(defn ^number unchecked-divide-int + "If no denominators are supplied, returns 1/numerator, + else returns numerator divided by all of the denominators." + ([x] (unchecked-divide-int 1 x)) + ([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core// + ([x y & more] (reduce unchecked-divide-int (unchecked-divide-int x y) more))) + +(defn unchecked-inc [x] + (cljs.core/unchecked-inc x)) + +(defn unchecked-inc-int [x] + (cljs.core/unchecked-inc-int x)) + +(defn ^number unchecked-multiply + "Returns the product of nums. (*) returns 1." + ([] 1) + ([x] x) + ([x y] (cljs.core/unchecked-multiply x y)) + ([x y & more] (reduce unchecked-multiply (cljs.core/unchecked-multiply x y) more))) + +(defn ^number unchecked-multiply-int + "Returns the product of nums. (*) returns 1." + ([] 1) + ([x] x) + ([x y] (cljs.core/unchecked-multiply-int x y)) + ([x y & more] (reduce unchecked-multiply-int (cljs.core/unchecked-multiply-int x y) more))) + +(defn unchecked-negate [x] + (cljs.core/unchecked-negate x)) + +(defn unchecked-negate-int [x] + (cljs.core/unchecked-negate-int x)) + +(declare mod) + +(defn unchecked-remainder-int [x n] + (cljs.core/unchecked-remainder-int x n)) + +(defn ^number unchecked-subtract + "If no ys are supplied, returns the negation of x, else subtracts + the ys from x and returns the result." + ([x] (cljs.core/unchecked-subtract x)) + ([x y] (cljs.core/unchecked-subtract x y)) + ([x y & more] (reduce unchecked-subtract (cljs.core/unchecked-subtract x y) more))) + +(defn ^number unchecked-subtract-int + "If no ys are supplied, returns the negation of x, else subtracts + the ys from x and returns the result." + ([x] (cljs.core/unchecked-subtract-int x)) + ([x y] (cljs.core/unchecked-subtract-int x y)) + ([x y & more] (reduce unchecked-subtract-int (cljs.core/unchecked-subtract-int x y) more))) + +(defn- ^number fix [q] + (if (>= q 0) + (Math/floor q) + (Math/ceil q))) + +(defn int + "Coerce to int by stripping decimal places." + [x] + (bit-or x 0)) + +(defn unchecked-int + "Coerce to int by stripping decimal places." + [x] + (fix x)) + +(defn long + "Coerce to long by stripping decimal places. Identical to `int'." + [x] + (fix x)) + +(defn unchecked-long + "Coerce to long by stripping decimal places. Identical to `int'." + [x] + (fix x)) + +(defn booleans [x] x) +(defn bytes [x] x) +(defn chars [x] x) +(defn shorts [x] x) +(defn ints [x] x) +(defn floats [x] x) +(defn doubles [x] x) +(defn longs [x] x) + +(defn js-mod + "Modulus of num and div with original javascript behavior. i.e. bug for negative numbers" + [n d] + (cljs.core/js-mod n d)) + +(defn mod + "Modulus of num and div. Truncates toward negative infinity." + [n d] + (js-mod (+ (js-mod n d) d) d)) + +(defn quot + "quot[ient] of dividing numerator by denominator." + [n d] + (let [rem (js-mod n d)] + (fix (/ (- n rem) d)))) + +(defn rem + "remainder of dividing numerator by denominator." + [n d] + (let [q (quot n d)] + (- n (* d q)))) + +(defn bit-xor + "Bitwise exclusive or" + ([x y] (cljs.core/bit-xor x y)) + ([x y & more] + (reduce bit-xor (cljs.core/bit-xor x y) more))) + +(defn bit-and + "Bitwise and" + ([x y] (cljs.core/bit-and x y)) + ([x y & more] + (reduce bit-and (cljs.core/bit-and x y) more))) + +(defn bit-or + "Bitwise or" + ([x y] (cljs.core/bit-or x y)) + ([x y & more] + (reduce bit-or (cljs.core/bit-or x y) more))) + +(defn bit-and-not + "Bitwise and with complement" + ([x y] (cljs.core/bit-and-not x y)) + ([x y & more] + (reduce bit-and-not (cljs.core/bit-and-not x y) more))) + +(defn bit-clear + "Clear bit at index n" + [x n] + (cljs.core/bit-clear x n)) + +(defn bit-flip + "Flip bit at index n" + [x n] + (cljs.core/bit-flip x n)) + +(defn bit-not + "Bitwise complement" + [x] (cljs.core/bit-not x)) + +(defn bit-set + "Set bit at index n" + [x n] + (cljs.core/bit-set x n)) + +(defn ^boolean bit-test + "Test bit at index n" + [x n] + (cljs.core/bit-test x n)) + +(defn bit-shift-left + "Bitwise shift left" + [x n] (cljs.core/bit-shift-left x n)) + +(defn bit-shift-right + "Bitwise shift right" + [x n] (cljs.core/bit-shift-right x n)) + +(defn bit-shift-right-zero-fill + "DEPRECATED: Bitwise shift right with zero fill" + [x n] (cljs.core/bit-shift-right-zero-fill x n)) + +(defn unsigned-bit-shift-right + "Bitwise shift right with zero fill" + [x n] (cljs.core/unsigned-bit-shift-right x n)) + +(defn bit-count + "Counts the number of bits set in n" + [v] + (let [v (- v (bit-and (bit-shift-right v 1) 0x55555555)) + v (+ (bit-and v 0x33333333) (bit-and (bit-shift-right v 2) 0x33333333))] + (bit-shift-right (* (bit-and (+ v (bit-shift-right v 4)) 0xF0F0F0F) 0x1010101) 24))) + +(defn ^boolean == + "Returns non-nil if nums all have the equivalent + value, otherwise false. Behavior on non nums is + undefined." + ([x] true) + ([x y] (-equiv x y)) + ([x y & more] + (if (== x y) + (if (next more) + (recur y (first more) (next more)) + (== y (first more))) + false))) + +(defn ^boolean pos? + "Returns true if num is greater than zero, else false" + [x] (cljs.core/pos? x)) + +(defn ^boolean zero? + "Returns true if num is zero, else false" + [x] + (cljs.core/zero? x)) + +(defn ^boolean neg? + "Returns true if num is less than zero, else false" + [x] (cljs.core/neg? x)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; protocols for host types ;;;;;; + +(defn nthnext + "Returns the nth next of coll, (seq coll) when n is 0." + [coll n] + (loop [n n xs (seq coll)] + (if (and xs (pos? n)) + (recur (dec n) (next xs)) + xs))) + +;;;;;;;;;;;;;;;;;;;;;;;;;; basics ;;;;;;;;;;;;;;;;;; + +(defn str + "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." + ([] "") + ([x] (if (nil? x) + "" + (.join #js [x] ""))) + ([x & ys] + (loop [sb (StringBuffer. (str x)) more ys] + (if more + (recur (. sb (append (str (first more)))) (next more)) + (.toString sb))))) + +(defn subs + "Returns the substring of s beginning at start inclusive, and ending + at end (defaults to length of string), exclusive." + ([s start] (.substring s start)) + ([s start end] (.substring s start end))) + +(declare map name) + +(defn- equiv-sequential + "Assumes x is sequential. Returns true if x equals y, otherwise + returns false." + [x y] + (boolean + (when (sequential? y) + (if (and (counted? x) (counted? y) + (not (== (count x) (count y)))) + false + (loop [xs (seq x) ys (seq y)] + (cond (nil? xs) (nil? ys) + (nil? ys) false + (= (first xs) (first ys)) (recur (next xs) (next ys)) + :else false)))))) + +(defn- hash-coll [coll] + (if (seq coll) + (loop [res (hash (first coll)) s (next coll)] + (if (nil? s) + res + (recur (hash-combine res (hash (first s))) (next s)))) + 0)) + +(declare key val) + +(defn- hash-imap [m] + ;; a la clojure.lang.APersistentMap + (loop [h 0 s (seq m)] + (if s + (let [e (first s)] + (recur (js-mod (+ h (bit-xor (hash (key e)) (hash (val e)))) + 4503599627370496) + (next s))) + h))) + +(defn- hash-iset [s] + ;; a la clojure.lang.APersistentSet + (loop [h 0 s (seq s)] + (if s + (let [e (first s)] + (recur (js-mod (+ h (hash e)) 4503599627370496) + (next s))) + h))) + +(declare name chunk-first chunk-rest) + +(defn- extend-object! + "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." + [obj fn-map] + (doseq [[key-name f] fn-map] + (let [str-name (name key-name)] + (gobject/set obj str-name f))) + obj) + +;;;;;;;;;;;;;;;; cons ;;;;;;;;;;;;;;;; +(deftype List [meta first rest count ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x count)) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IList + + ICloneable + (-clone [_] (List. meta first rest count __hash)) + + IWithMeta + (-with-meta [coll meta] (List. meta first rest count __hash)) + + IMeta + (-meta [coll] meta) + + ASeq + ISeq + (-first [coll] first) + (-rest [coll] + (if (== count 1) + () + rest)) + + INext + (-next [coll] + (if (== count 1) + nil + rest)) + + IStack + (-peek [coll] first) + (-pop [coll] (-rest coll)) + + ICollection + (-conj [coll o] (List. meta o coll (inc count) nil)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] coll) + + ICounted + (-count [coll] count) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(defn ^boolean list? + "Returns true if x implements IList" + [x] + (satisfies? IList x)) + +(es6-iterable List) + +(deftype EmptyList [meta] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IList + + ICloneable + (-clone [_] (EmptyList. meta)) + + IWithMeta + (-with-meta [coll meta] (EmptyList. meta)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] nil) + (-rest [coll] ()) + + INext + (-next [coll] nil) + + IStack + (-peek [coll] nil) + (-pop [coll] (throw (js/Error. "Can't pop empty list"))) + + ICollection + (-conj [coll o] (List. meta o nil 1 nil)) + + IEmptyableCollection + (-empty [coll] coll) + + ISequential + IEquiv + (-equiv [coll other] + (if (or (list? other) + (sequential? other)) + (nil? (seq other)) + false)) + + IHash + (-hash [coll] empty-ordered-hash) + + ISeqable + (-seq [coll] nil) + + ICounted + (-count [coll] 0) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(set! (.-EMPTY List) (EmptyList. nil)) + +(es6-iterable EmptyList) + +(defn ^boolean reversible? + "Returns true if coll satisfies? IReversible." + [coll] + (satisfies? IReversible coll)) + +(defn ^seq rseq + "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" + [rev] + (-rseq rev)) + +(defn reverse + "Returns a seq of the items in coll in reverse order. Not lazy." + [coll] + (if (reversible? coll) + (or (rseq coll) ()) + (reduce conj () coll))) + +(defn list + "Creates a new list containing the items." + [& xs] + (let [arr (if (and (instance? IndexedSeq xs) (zero? (.-i xs))) + (.-arr xs) + (let [arr (array)] + (loop [^not-native xs xs] + (if-not (nil? xs) + (do + (.push arr (-first xs)) + (recur (-next xs))) + arr))))] + (loop [i (alength arr) ^not-native r ()] + (if (> i 0) + (recur (dec i) (-conj r (aget arr (dec i)))) + r)))) + +(deftype Cons [meta first rest ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IList + + ICloneable + (-clone [_] (Cons. meta first rest __hash)) + + IWithMeta + (-with-meta [coll meta] (Cons. meta first rest __hash)) + + IMeta + (-meta [coll] meta) + + ASeq + ISeq + (-first [coll] first) + (-rest [coll] (if (nil? rest) () rest)) + + INext + (-next [coll] + (if (nil? rest) nil (seq rest))) + + ICollection + (-conj [coll o] (Cons. nil o coll nil)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] coll) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable Cons) + +(defn cons + "Returns a new seq where x is the first element and coll is the rest." + [x coll] + (if (or (nil? coll) + (implements? ISeq coll)) + (Cons. nil x coll nil) + (Cons. nil x (seq coll) nil))) + +(defn hash-keyword [k] + (int (+ (hash-symbol k) 0x9e3779b9))) + +(defn- compare-keywords [a b] + (cond + (identical? (.-fqn a) (.-fqn b)) 0 + (and (not (.-ns a)) (.-ns b)) -1 + (.-ns a) (if-not (.-ns b) + 1 + (let [nsc (garray/defaultCompare (.-ns a) (.-ns b))] + (if (== 0 nsc) + (garray/defaultCompare (.-name a) (.-name b)) + nsc))) + :default (garray/defaultCompare (.-name a) (.-name b)))) + +(deftype Keyword [ns name fqn ^:mutable _hash] + Object + (toString [_] (str ":" fqn)) + (equiv [this other] + (-equiv this other)) + + IEquiv + (-equiv [_ other] + (if (instance? Keyword other) + (identical? fqn (.-fqn other)) + false)) + IFn + (-invoke [kw coll] + (get coll kw)) + (-invoke [kw coll not-found] + (get coll kw not-found)) + + IHash + (-hash [this] + (caching-hash this hash-keyword _hash)) + + INamed + (-name [_] name) + (-namespace [_] ns) + + IPrintWithWriter + (-pr-writer [o writer _] (-write writer (str ":" fqn)))) + +(defn ^boolean keyword? + "Return true if x is a Keyword" + [x] + (instance? Keyword x)) + +(defn ^boolean keyword-identical? + "Efficient test to determine that two keywords are identical." + [x y] + (if (identical? x y) + true + (if (and (keyword? x) (keyword? y)) + (identical? (.-fqn x) (.-fqn y)) + false))) + +(defn ^boolean symbol-identical? + "Efficient test to determine that two symbols are identical." + [x y] + (if (identical? x y) + true + (if (and (symbol? x) (symbol? y)) + (identical? (.-str x) (.-str y)) + false))) + +(defn namespace + "Returns the namespace String of a symbol or keyword, or nil if not present." + [x] + (if (implements? INamed x) + (-namespace ^not-native x) + (throw (js/Error. (str "Doesn't support namespace: " x))))) + +(defn ^boolean ident? + "Return true if x is a symbol or keyword" + [x] (or (keyword? x) (symbol? x))) + +(defn ^boolean simple-ident? + "Return true if x is a symbol or keyword without a namespace" + [x] (and (ident? x) (nil? (namespace x)))) + +(defn ^boolean qualified-ident? + "Return true if x is a symbol or keyword with a namespace" + [x] (boolean (and (ident? x) (namespace x) true))) + +(defn ^boolean simple-symbol? + "Return true if x is a symbol without a namespace" + [x] (and (symbol? x) (nil? (namespace x)))) + +(defn ^boolean qualified-symbol? + "Return true if x is a symbol with a namespace" + [x] (boolean (and (symbol? x) (namespace x) true))) + +(defn ^boolean simple-keyword? + "Return true if x is a keyword without a namespace" + [x] (and (keyword? x) (nil? (namespace x)))) + +(defn ^boolean qualified-keyword? + "Return true if x is a keyword with a namespace" + [x] (boolean (and (keyword? x) (namespace x) true))) + +(defn keyword + "Returns a Keyword with the given namespace and name. Do not use : + in the keyword strings, it will be added automatically." + ([name] (cond + (keyword? name) name + (symbol? name) (Keyword. + (cljs.core/namespace name) + (cljs.core/name name) (.-str name) nil) + (string? name) (let [parts (.split name "/")] + (if (== (alength parts) 2) + (Keyword. (aget parts 0) (aget parts 1) name nil) + (Keyword. nil (aget parts 0) name nil))))) + ([ns name] + (let [ns (cond + (keyword? ns) (cljs.core/name ns) + (symbol? ns) (cljs.core/name ns) + :else ns) + name (cond + (keyword? name) (cljs.core/name name) + (symbol? name) (cljs.core/name name) + :else name)] + (Keyword. ns name (str (when ns (str ns "/")) name) nil)))) + + +(deftype LazySeq [meta ^:mutable fn ^:mutable s ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (sval [coll] + (if (nil? fn) + s + (do + (set! s (fn)) + (set! fn nil) + s))) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IPending + (-realized? [coll] + (not fn)) + + IWithMeta + (-with-meta [coll meta] (LazySeq. meta #(-seq coll) nil __hash)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] + (-seq coll) + (when-not (nil? s) + (first s))) + (-rest [coll] + (-seq coll) + (if-not (nil? s) + (rest s) + ())) + + INext + (-next [coll] + (-seq coll) + (when-not (nil? s) + (next s))) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] + (.sval coll) + (when-not (nil? s) + (loop [ls s] + (if (instance? LazySeq ls) + (recur (.sval ls)) + (do (set! s ls) + (seq s)))))) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable LazySeq) + +(declare ArrayChunk) + +(deftype ChunkBuffer [^:mutable buf ^:mutable end] + Object + (add [_ o] + (aset buf end o) + (set! end (inc end))) + + (chunk [_] + (let [ret (ArrayChunk. buf 0 end)] + (set! buf nil) + ret)) + + ICounted + (-count [_] end)) + +(defn chunk-buffer [capacity] + (ChunkBuffer. (make-array capacity) 0)) + +(deftype ArrayChunk [arr off end] + ICounted + (-count [_] (- end off)) + + IIndexed + (-nth [coll i] + (aget arr (+ off i))) + (-nth [coll i not-found] + (if (and (>= i 0) (< i (- end off))) + (aget arr (+ off i)) + not-found)) + + IChunk + (-drop-first [coll] + (if (== off end) + (throw (js/Error. "-drop-first of empty chunk")) + (ArrayChunk. arr (inc off) end))) + + IReduce + (-reduce [coll f] + (array-reduce arr f (aget arr off) (inc off))) + (-reduce [coll f start] + (array-reduce arr f start off))) + +(defn array-chunk + ([arr] + (ArrayChunk. arr 0 (alength arr))) + ([arr off] + (ArrayChunk. arr off (alength arr))) + ([arr off end] + (ArrayChunk. arr off end))) + +(deftype ChunkedCons [chunk more meta ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IWithMeta + (-with-meta [coll m] + (ChunkedCons. chunk more m __hash)) + + IMeta + (-meta [coll] meta) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ISeqable + (-seq [coll] coll) + + ASeq + ISeq + (-first [coll] (-nth chunk 0)) + (-rest [coll] + (if (> (-count chunk) 1) + (ChunkedCons. (-drop-first chunk) more meta nil) + (if (nil? more) + () + more))) + + INext + (-next [coll] + (if (> (-count chunk) 1) + (ChunkedCons. (-drop-first chunk) more meta nil) + (let [more (-seq more)] + (when-not (nil? more) + more)))) + + IChunkedSeq + (-chunked-first [coll] chunk) + (-chunked-rest [coll] + (if (nil? more) + () + more)) + + IChunkedNext + (-chunked-next [coll] + (if (nil? more) + nil + more)) + + ICollection + (-conj [this o] + (cons o this)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash))) + +(es6-iterable ChunkedCons) + +(defn chunk-cons [chunk rest] + (if (zero? (-count chunk)) + rest + (ChunkedCons. chunk rest nil nil))) + +(defn chunk-append [b x] + (.add b x)) + +(defn chunk [b] + (.chunk b)) + +(defn chunk-first [s] + (-chunked-first s)) + +(defn chunk-rest [s] + (-chunked-rest s)) + +(defn chunk-next [s] + (if (implements? IChunkedNext s) + (-chunked-next s) + (seq (-chunked-rest s)))) + +;;;;;;;;;;;;;;;; + +(defn to-array + "Naive impl of to-array as a start." + [s] + (let [ary (array)] + (loop [s (seq s)] + (if-not (nil? s) + (do (. ary push (first s)) + (recur (next s))) + ary)))) + +(defn to-array-2d + "Returns a (potentially-ragged) 2-dimensional array + containing the contents of coll." + [coll] + (let [ret (make-array (count coll))] + (loop [i 0 xs (seq coll)] + (when-not (nil? xs) + (aset ret i (to-array (first xs))) + (recur (inc i) (next xs)))) + ret)) + +(defn int-array + "Creates an array of ints. Does not coerce array, provided for compatibility + with Clojure." + ([size-or-seq] + (if (number? size-or-seq) + (int-array size-or-seq nil) + (into-array size-or-seq))) + ([size init-val-or-seq] + (let [a (make-array size)] + (if (seq? init-val-or-seq) + (let [s (seq init-val-or-seq)] + (loop [i 0 s s] + (if (and s (< i size)) + (do + (aset a i (first s)) + (recur (inc i) (next s))) + a))) + (do + (dotimes [i size] + (aset a i init-val-or-seq)) + a))))) + +(defn long-array + "Creates an array of longs. Does not coerce array, provided for compatibility + with Clojure." + ([size-or-seq] + (if (number? size-or-seq) + (long-array size-or-seq nil) + (into-array size-or-seq))) + ([size init-val-or-seq] + (let [a (make-array size)] + (if (seq? init-val-or-seq) + (let [s (seq init-val-or-seq)] + (loop [i 0 s s] + (if (and s (< i size)) + (do + (aset a i (first s)) + (recur (inc i) (next s))) + a))) + (do + (dotimes [i size] + (aset a i init-val-or-seq)) + a))))) + +(defn double-array + "Creates an array of doubles. Does not coerce array, provided for compatibility + with Clojure." + ([size-or-seq] + (if (number? size-or-seq) + (double-array size-or-seq nil) + (into-array size-or-seq))) + ([size init-val-or-seq] + (let [a (make-array size)] + (if (seq? init-val-or-seq) + (let [s (seq init-val-or-seq)] + (loop [i 0 s s] + (if (and s (< i size)) + (do + (aset a i (first s)) + (recur (inc i) (next s))) + a))) + (do + (dotimes [i size] + (aset a i init-val-or-seq)) + a))))) + +(defn object-array + "Creates an array of objects. Does not coerce array, provided for compatibility + with Clojure." + ([size-or-seq] + (if (number? size-or-seq) + (object-array size-or-seq nil) + (into-array size-or-seq))) + ([size init-val-or-seq] + (let [a (make-array size)] + (if (seq? init-val-or-seq) + (let [s (seq init-val-or-seq)] + (loop [i 0 s s] + (if (and s (< i size)) + (do + (aset a i (first s)) + (recur (inc i) (next s))) + a))) + (do + (dotimes [i size] + (aset a i init-val-or-seq)) + a))))) + +(defn bounded-count + "If coll is counted? returns its count, else will count at most the first n + elements of coll using its seq" + {:added "1.9"} + [n coll] + (if (counted? coll) + (count coll) + (loop [i 0 s (seq coll)] + (if (and (not (nil? s)) (< i n)) + (recur (inc i) (next s)) + i)))) + +(defn spread + [arglist] + (when-not (nil? arglist) + (let [n (next arglist)] + (if (nil? n) + (seq (first arglist)) + (cons (first arglist) + (spread n)))))) + +(defn concat + "Returns a lazy seq representing the concatenation of the elements in the supplied colls." + ([] (lazy-seq nil)) + ([x] (lazy-seq x)) + ([x y] + (lazy-seq + (let [s (seq x)] + (if s + (if (chunked-seq? s) + (chunk-cons (chunk-first s) (concat (chunk-rest s) y)) + (cons (first s) (concat (rest s) y))) + y)))) + ([x y & zs] + (let [cat (fn cat [xys zs] + (lazy-seq + (let [xys (seq xys)] + (if xys + (if (chunked-seq? xys) + (chunk-cons (chunk-first xys) + (cat (chunk-rest xys) zs)) + (cons (first xys) (cat (rest xys) zs))) + (when zs + (cat (first zs) (next zs)))))))] + (cat (concat x y) zs)))) + +(defn list* + "Creates a new list containing the items prepended to the rest, the + last of which will be treated as a sequence." + ([args] (seq args)) + ([a args] (cons a args)) + ([a b args] (cons a (cons b args))) + ([a b c args] (cons a (cons b (cons c args)))) + ([a b c d & more] + (cons a (cons b (cons c (cons d (spread more))))))) + + +;;; Transients + +(defn transient + "Returns a new, transient version of the collection, in constant time." + [coll] + (-as-transient coll)) + +(defn persistent! + "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." + [tcoll] + (-persistent! tcoll)) + +(defn conj! + "Adds val to the transient collection, and return tcoll. The 'addition' + may happen at different 'places' depending on the concrete type." + ([] (transient [])) + ([tcoll] tcoll) + ([tcoll val] + (-conj! tcoll val)) + ([tcoll val & vals] + (let [ntcoll (-conj! tcoll val)] + (if vals + (recur ntcoll (first vals) (next vals)) + ntcoll)))) + +(defn assoc! + "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." + ([tcoll key val] + (-assoc! tcoll key val)) + ([tcoll key val & kvs] + (let [ntcoll (-assoc! tcoll key val)] + (if kvs + (recur ntcoll (first kvs) (second kvs) (nnext kvs)) + ntcoll)))) + +(defn dissoc! + "Returns a transient map that doesn't contain a mapping for key(s)." + ([tcoll key] + (-dissoc! tcoll key)) + ([tcoll key & ks] + (let [ntcoll (-dissoc! tcoll key)] + (if ks + (recur ntcoll (first ks) (next ks)) + ntcoll)))) + +(defn pop! + "Removes the last item from a transient vector. If + the collection is empty, throws an exception. Returns tcoll" + [tcoll] + (-pop! tcoll)) + +(defn disj! + "disj[oin]. Returns a transient set of the same (hashed/sorted) type, that + does not contain key(s)." + ([tcoll val] + (-disjoin! tcoll val)) + ([tcoll val & vals] + (let [ntcoll (-disjoin! tcoll val)] + (if vals + (recur ntcoll (first vals) (next vals)) + ntcoll)))) + + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; apply ;;;;;;;;;;;;;;;; + +;; see core.clj +(gen-apply-to) + +(set! *unchecked-if* true) + +(defn- apply-to-simple + "Internal. DO NOT USE! + Assumes args was already called with seq beforehand!" + ([f ^seq args] + (if (nil? args) + (if (.-cljs$core$IFn$_invoke$arity$0 f) + (.cljs$core$IFn$_invoke$arity$0 f) + (.call f f)) + (apply-to-simple f (-first args) (next args)))) + ([f a0 ^seq args] + (if (nil? args) + (if (.-cljs$core$IFn$_invoke$arity$1 f) + (.cljs$core$IFn$_invoke$arity$1 f a0) + (.call f f a0)) + (apply-to-simple f a0 (-first args) (next args)))) + ([f a0 a1 ^seq args] + (if (nil? args) + (if (.-cljs$core$IFn$_invoke$arity$2 f) + (.cljs$core$IFn$_invoke$arity$2 f a0 a1) + (.call f f a0 a1)) + (apply-to-simple f a0 a1 (-first args) (next args)))) + ([f a0 a1 a2 ^seq args] + (if (nil? args) + (if (.-cljs$core$IFn$_invoke$arity$3 f) + (.cljs$core$IFn$_invoke$arity$3 f a0 a1 a2) + (.call f f a0 a1 a2)) + (apply-to-simple f a0 a1 a2 (-first args) (next args)))) + ([f a0 a1 a2 a3 ^seq args] + (if (nil? args) + (if (.-cljs$core$IFn$_invoke$arity$4 f) + (.cljs$core$IFn$_invoke$arity$4 f a0 a1 a2 a3) + (.call f f a0 a1 a2 a3)) + (gen-apply-to-simple f 4 args)))) + +(defn apply + "Applies fn f to the argument list formed by prepending intervening arguments to args." + ([f args] + (if (.-cljs$lang$applyTo f) + (let [fixed-arity (.-cljs$lang$maxFixedArity f) + bc (bounded-count (inc fixed-arity) args)] + (if (<= bc fixed-arity) + (apply-to f bc args) + (.cljs$lang$applyTo f args))) + (apply-to-simple f (seq args)))) + ([f x args] + (if (.-cljs$lang$applyTo f) + (let [arglist (list* x args) + fixed-arity (.-cljs$lang$maxFixedArity f) + bc (inc (bounded-count fixed-arity args))] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (apply-to-simple f x (seq args)))) + ([f x y args] + (if (.-cljs$lang$applyTo f) + (let [arglist (list* x y args) + fixed-arity (.-cljs$lang$maxFixedArity f) + bc (+ 2 (bounded-count (dec fixed-arity) args))] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (apply-to-simple f x y (seq args)))) + ([f x y z args] + (if (.-cljs$lang$applyTo f) + (let [arglist (list* x y z args) + fixed-arity (.-cljs$lang$maxFixedArity f) + bc (+ 3 (bounded-count (- fixed-arity 2) args))] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (apply-to-simple f x y z (seq args)))) + ([f a b c d & args] + (if (.-cljs$lang$applyTo f) + (let [spread-args (spread args) + arglist (cons a (cons b (cons c (cons d spread-args)))) + fixed-arity (.-cljs$lang$maxFixedArity f) + bc (+ 4 (bounded-count (- fixed-arity 3) spread-args))] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (apply-to-simple f a b c d (spread args))))) + +(set! *unchecked-if* false) + +(defn vary-meta + "Returns an object of the same type and value as obj, with + (apply f (meta obj) args) as its metadata." + ([obj f] + (with-meta obj (f (meta obj)))) + ([obj f a] + (with-meta obj (f (meta obj) a))) + ([obj f a b] + (with-meta obj (f (meta obj) a b))) + ([obj f a b c] + (with-meta obj (f (meta obj) a b c))) + ([obj f a b c d] + (with-meta obj (f (meta obj) a b c d))) + ([obj f a b c d & args] + (with-meta obj (apply f (meta obj) a b c d args)))) + +(defn ^boolean not= + "Same as (not (= obj1 obj2))" + ([x] false) + ([x y] (not (= x y))) + ([x y & more] + (not (apply = x y more)))) + +(defn not-empty + "If coll is empty, returns nil, else coll" + [coll] (when (seq coll) coll)) + +(defn nil-iter [] + (reify + Object + (hasNext [_] false) + (next [_] (js/Error. "No such element")) + (remove [_] (js/Error. "Unsupported operation")))) + +(deftype StringIter [s ^:mutable i] + Object + (hasNext [_] (< i (.-length s))) + (next [_] + (let [ret (.charAt s i)] + (set! i (inc i)) + ret)) + (remove [_] (js/Error. "Unsupported operation"))) + +(defn string-iter [x] + (StringIter. x 0)) + +(deftype ArrayIter [arr ^:mutable i] + Object + (hasNext [_] (< i (alength arr))) + (next [_] + (let [ret (aget arr i)] + (set! i (inc i)) + ret)) + (remove [_] (js/Error. "Unsupported operation"))) + +(defn array-iter [x] + (ArrayIter. x 0)) + +(def INIT #js {}) +(def START #js {}) + +(deftype SeqIter [^:mutable _seq ^:mutable _next] + Object + (hasNext [_] + (if (identical? _seq INIT) + (do + (set! _seq START) + (set! _next (seq _next))) + (if (identical? _seq _next) + (set! _next (next _seq)))) + (not (nil? _next))) + (next [this] + (if-not ^boolean (.hasNext this) + (throw (js/Error. "No such element")) + (do + (set! _seq _next) + (first _next)))) + (remove [_] (js/Error. "Unsupported operation"))) + +(defn seq-iter [coll] + (SeqIter. INIT coll)) + +(defn iter [coll] + (cond + (iterable? coll) (-iterator coll) + (nil? coll) (nil-iter) + (string? coll) (string-iter coll) + (array? coll) (array-iter coll) + (seqable? coll) (seq-iter coll) + :else (throw (js/Error. (str "Cannot create iterator from " coll))))) + +(deftype Many [vals] + Object + (add [this o] + (.push vals o) + this) + (remove [this] + (.shift vals)) + (isEmpty [this] + (zero? (.-length vals))) + (toString [this] + (str "Many: " vals))) + +(def ^:private NONE #js {}) + +(deftype Single [^:mutable val] + Object + (add [this o] + (if (identical? val NONE) + (do + (set! val o) + this) + (Many. #js [val o]))) + (remove [this] + (if (identical? val NONE) + (throw (js/Error. (str "Removing object from empty buffer"))) + (let [ret val] + (set! val NONE) + ret))) + (isEmpty [this] + (identical? val NONE)) + (toString [this] + (str "Single: " val))) + +(deftype Empty [] + Object + (add [this o] + (Single. o)) + (remove [this] + (throw (js/Error. (str "Removing object from empty buffer")))) + (isEmpty [this] + true) + (toString [this] + "Empty")) + +(def ^:private EMPTY (Empty.)) + +(deftype MultiIterator [iters] + Object + (hasNext [_] + (loop [iters (seq iters)] + (if-not (nil? iters) + (let [iter (first iters)] + (if-not ^boolean (.hasNext iter) + false + (recur (next iters)))) + true))) + (next [_] + (let [nexts (array)] + (dotimes [i (alength iters)] + (aset nexts i (.next (aget iters i)))) + (prim-seq nexts 0)))) + +(defn- chunkIteratorSeq [iter] + (lazy-seq + (when ^boolean (.hasNext iter) + (let [arr (array)] + (loop [n 0] + (if (and (.hasNext iter) (< n 32)) + (do + (aset arr n (.next iter)) + (recur (inc n))) + (chunk-cons (array-chunk arr 0 n) (chunkIteratorSeq iter)))))))) + +(deftype TransformerIterator [^:mutable buffer ^:mutable _next ^:mutable completed ^:mutable xf sourceIter multi] + Object + (step [this] + (if-not (identical? _next NONE) + true + (loop [] + (if (identical? _next NONE) + (if ^boolean (.isEmpty buffer) + (if ^boolean completed + false + (if ^boolean (.hasNext sourceIter) + (let [iter (if ^boolean multi + (apply xf (cons nil (.next sourceIter))) + (xf nil (.next sourceIter)))] + (when (reduced? iter) + (xf nil) + (set! completed true)) + (recur)) + (do + (xf nil) + (set! completed true) + (recur)))) + (do + (set! _next (.remove buffer)) + (recur))) + true)))) + (hasNext [this] + (.step this)) + (next [this] + (if ^boolean (.hasNext this) + (let [ret _next] + (set! _next NONE) + ret) + (throw (js/Error. "No such element")))) + (remove [_] + (js/Error. "Unsupported operation"))) + +(es6-iterable TransformerIterator) + +(defn transformer-iterator + [xform sourceIter multi] + (let [iterator (TransformerIterator. EMPTY NONE false nil sourceIter multi)] + (set! (.-xf iterator) + (xform (fn + ([] nil) + ([acc] acc) + ([acc o] + (set! (.-buffer iterator) (.add (.-buffer iterator) o)) + acc)))) + iterator)) + +(set! (.-create TransformerIterator) + (fn [xform source] + (transformer-iterator xform source false))) + +(set! (.-createMulti TransformerIterator) + (fn [xform sources] + (transformer-iterator xform (MultiIterator. (to-array sources)) true))) + +(defn sequence + "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" + ([coll] + (if (seq? coll) + coll + (or (seq coll) ()))) + ([xform coll] + (or (chunkIteratorSeq + (.create TransformerIterator xform (iter coll))) + ())) + ([xform coll & colls] + (or (chunkIteratorSeq + (.createMulti TransformerIterator xform (map iter (cons coll colls)))) + ()))) + +(defn ^boolean every? + "Returns true if (pred x) is logical true for every x in coll, else + false." + [pred coll] + (cond + (nil? (seq coll)) true + (pred (first coll)) (recur pred (next coll)) + :else false)) + +(defn ^boolean not-every? + "Returns false if (pred x) is logical true for every x in + coll, else true." + [pred coll] (not (every? pred coll))) + +(defn some + "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)" + [pred coll] + (when (seq coll) + (or (pred (first coll)) (recur pred (next coll))))) + +(defn ^boolean not-any? + "Returns false if (pred x) is logical true for any x in coll, + else true." + [pred coll] (not (some pred coll))) + +(defn ^boolean even? + "Returns true if n is even, throws an exception if n is not an integer" + [n] (if (integer? n) + (zero? (bit-and n 1)) + (throw (js/Error. (str "Argument must be an integer: " n))))) + +(defn ^boolean odd? + "Returns true if n is odd, throws an exception if n is not an integer" + [n] (not (even? n))) + +(defn complement + "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." + [f] + (fn + ([] (not (f))) + ([x] (not (f x))) + ([x y] (not (f x y))) + ([x y & zs] (not (apply f x y zs))))) + +(defn constantly + "Returns a function that takes any number of arguments and returns x." + [x] (fn [& args] x)) + +(defn comp + "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." + ([] identity) + ([f] f) + ([f g] + (fn + ([] (f (g))) + ([x] (f (g x))) + ([x y] (f (g x y))) + ([x y z] (f (g x y z))) + ([x y z & args] (f (apply g x y z args))))) + ([f g h] + (fn + ([] (f (g (h)))) + ([x] (f (g (h x)))) + ([x y] (f (g (h x y)))) + ([x y z] (f (g (h x y z)))) + ([x y z & args] (f (g (apply h x y z args)))))) + ([f1 f2 f3 & fs] + (let [fs (reverse (list* f1 f2 f3 fs))] + (fn [& args] + (loop [ret (apply (first fs) args) fs (next fs)] + (if fs + (recur ((first fs) ret) (next fs)) + ret)))))) + +(defn partial + "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." + ([f] f) + ([f arg1] + (fn + ([] (f arg1)) + ([x] (f arg1 x)) + ([x y] (f arg1 x y)) + ([x y z] (f arg1 x y z)) + ([x y z & args] (apply f arg1 x y z args)))) + ([f arg1 arg2] + (fn + ([] (f arg1 arg2)) + ([x] (f arg1 arg2 x)) + ([x y] (f arg1 arg2 x y)) + ([x y z] (f arg1 arg2 x y z)) + ([x y z & args] (apply f arg1 arg2 x y z args)))) + ([f arg1 arg2 arg3] + (fn + ([] (f arg1 arg2 arg3)) + ([x] (f arg1 arg2 arg3 x)) + ([x y] (f arg1 arg2 arg3 x y)) + ([x y z] (f arg1 arg2 arg3 x y z)) + ([x y z & args] (apply f arg1 arg2 arg3 x y z args)))) + ([f arg1 arg2 arg3 & more] + (fn [& args] (apply f arg1 arg2 arg3 (concat more args))))) + +(defn fnil + "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." + ([f x] + (fn + ([a] (f (if (nil? a) x a))) + ([a b] (f (if (nil? a) x a) b)) + ([a b c] (f (if (nil? a) x a) b c)) + ([a b c & ds] (apply f (if (nil? a) x a) b c ds)))) + ([f x y] + (fn + ([a b] (f (if (nil? a) x a) (if (nil? b) y b))) + ([a b c] (f (if (nil? a) x a) (if (nil? b) y b) c)) + ([a b c & ds] (apply f (if (nil? a) x a) (if (nil? b) y b) c ds)))) + ([f x y z] + (fn + ([a b] (f (if (nil? a) x a) (if (nil? b) y b))) + ([a b c] (f (if (nil? a) x a) (if (nil? b) y b) (if (nil? c) z c))) + ([a b c & ds] (apply f (if (nil? a) x a) (if (nil? b) y b) (if (nil? c) z c) ds))))) + +(declare volatile!) + +(defn map-indexed + "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." + ([f] + (fn [rf] + (let [i (volatile! -1)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (rf result (f (vswap! i inc) input))))))) + ([f coll] + (letfn [(mapi [idx coll] + (lazy-seq + (when-let [s (seq coll)] + (if (chunked-seq? s) + (let [c (chunk-first s) + size (count c) + b (chunk-buffer size)] + (dotimes [i size] + (chunk-append b (f (+ idx i) (-nth c i)))) + (chunk-cons (chunk b) (mapi (+ idx size) (chunk-rest s)))) + (cons (f idx (first s)) (mapi (inc idx) (rest s)))))))] + (mapi 0 coll)))) + +(defn keep + "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." + ([f] + (fn [rf] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [v (f input)] + (if (nil? v) + result + (rf result v))))))) + ([f coll] + (lazy-seq + (when-let [s (seq coll)] + (if (chunked-seq? s) + (let [c (chunk-first s) + size (count c) + b (chunk-buffer size)] + (dotimes [i size] + (let [x (f (-nth c i))] + (when-not (nil? x) + (chunk-append b x)))) + (chunk-cons (chunk b) (keep f (chunk-rest s)))) + (let [x (f (first s))] + (if (nil? x) + (keep f (rest s)) + (cons x (keep f (rest s)))))))))) + +;; ============================================================================= +;; Atom + +(deftype Atom [state meta validator watches] + Object + (equiv [this other] + (-equiv this other)) + + IAtom + + IEquiv + (-equiv [o other] (identical? o other)) + + IDeref + (-deref [_] state) + + IMeta + (-meta [_] meta) + + IWatchable + (-notify-watches [this oldval newval] + (doseq [[key f] watches] + (f key this oldval newval))) + (-add-watch [this key f] + (set! (.-watches this) (assoc watches key f)) + this) + (-remove-watch [this key] + (set! (.-watches this) (dissoc watches key))) + + IHash + (-hash [this] (goog/getUid this))) + +(defn atom + "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 be come 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." + ([x] (Atom. x nil nil nil)) + ([x & {:keys [meta validator]}] (Atom. x meta validator nil))) + +(declare pr-str) + +(defn reset! + "Sets the value of atom to newval without regard for the + current value. Returns new-value." + [a new-value] + (if (instance? Atom a) + (let [validate (.-validator a)] + (when-not (nil? validate) + (when-not (validate new-value) + (throw (js/Error. "Validator rejected reference state")))) + (let [old-value (.-state a)] + (set! (.-state a) new-value) + (when-not (nil? (.-watches a)) + (-notify-watches a old-value new-value)) + new-value)) + (-reset! a new-value))) + +(defn reset-vals! + "Sets the value of atom to newval. Returns [old new], the value of the + atom before and after the reset." + {:added "1.9"} + [a new-value] + (let [validate (.-validator a)] + (when-not (nil? validate) + (when-not (validate new-value) + (throw (js/Error. "Validator rejected reference state")))) + (let [old-value (.-state a)] + (set! (.-state a) new-value) + (when-not (nil? (.-watches a)) + (-notify-watches a old-value new-value)) + [old-value new-value]))) + +(defn swap! + "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." + ([a f] + (if (instance? Atom a) + (reset! a (f (.-state a))) + (-swap! a f))) + ([a f x] + (if (instance? Atom a) + (reset! a (f (.-state a) x)) + (-swap! a f x))) + ([a f x y] + (if (instance? Atom a) + (reset! a (f (.-state a) x y)) + (-swap! a f x y))) + ([a f x y & more] + (if (instance? Atom a) + (reset! a (apply f (.-state a) x y more)) + (-swap! a f x y more)))) + +(defn swap-vals! + "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." + {:added "1.9"} + ([a f] + (reset-vals! a (f (.-state a)))) + ([a f x] + (reset-vals! a (f (.-state a) x))) + ([a f x y] + (reset-vals! a (f (.-state a) x y))) + ([a f x y & more] + (reset-vals! a (apply f (.-state a) x y more)))) + +(defn compare-and-set! + "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." + [^not-native a oldval newval] + (if (= (-deref a) oldval) + (do (reset! a newval) true) + false)) + +(defn set-validator! + "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." + [iref val] + (when (and (some? val) + (not (val (-deref iref)))) + (throw (js/Error. "Validator rejected reference state"))) + (set! (.-validator iref) val)) + +(defn get-validator + "Gets the validator-fn for a var/ref/agent/atom." + [iref] + (.-validator iref)) + +(deftype Volatile [^:mutable state] + IVolatile + (-vreset! [_ new-state] + (set! state new-state)) + + IDeref + (-deref [_] state)) + +(defn volatile! + "Creates and returns a Volatile with an initial value of val." + [val] + (Volatile. val)) + +(defn ^boolean volatile? + "Returns true if x is a volatile." + [x] (instance? Volatile x)) + +(defn vreset! + "Sets the value of volatile to newval without regard for the + current value. Returns newval." + [vol newval] (-vreset! vol newval)) + +(defn keep-indexed + "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." + ([f] + (fn [rf] + (let [ia (volatile! -1)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [i (vswap! ia inc) + v (f i input)] + (if (nil? v) + result + (rf result v)))))))) + ([f coll] + (letfn [(keepi [idx coll] + (lazy-seq + (when-let [s (seq coll)] + (if (chunked-seq? s) + (let [c (chunk-first s) + size (count c) + b (chunk-buffer size)] + (dotimes [i size] + (let [x (f (+ idx i) (-nth c i))] + (when-not (nil? x) + (chunk-append b x)))) + (chunk-cons (chunk b) (keepi (+ idx size) (chunk-rest s)))) + (let [x (f idx (first s))] + (if (nil? x) + (keepi (inc idx) (rest s)) + (cons x (keepi (inc idx) (rest s)))))))))] + (keepi 0 coll)))) + +(defn every-pred + "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." + ([p] + (fn ep1 + ([] true) + ([x] (boolean (p x))) + ([x y] (boolean (and (p x) (p y)))) + ([x y z] (boolean (and (p x) (p y) (p z)))) + ([x y z & args] (boolean (and (ep1 x y z) + (every? p args)))))) + ([p1 p2] + (fn ep2 + ([] true) + ([x] (boolean (and (p1 x) (p2 x)))) + ([x y] (boolean (and (p1 x) (p1 y) (p2 x) (p2 y)))) + ([x y z] (boolean (and (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z)))) + ([x y z & args] (boolean (and (ep2 x y z) + (every? #(and (p1 %) (p2 %)) args)))))) + ([p1 p2 p3] + (fn ep3 + ([] true) + ([x] (boolean (and (p1 x) (p2 x) (p3 x)))) + ([x y] (boolean (and (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y)))) + ([x y z] (boolean (and (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y) (p1 z) (p2 z) (p3 z)))) + ([x y z & args] (boolean (and (ep3 x y z) + (every? #(and (p1 %) (p2 %) (p3 %)) args)))))) + ([p1 p2 p3 & ps] + (let [ps (list* p1 p2 p3 ps)] + (fn epn + ([] true) + ([x] (every? #(% x) ps)) + ([x y] (every? #(and (% x) (% y)) ps)) + ([x y z] (every? #(and (% x) (% y) (% z)) ps)) + ([x y z & args] (boolean (and (epn x y z) + (every? #(every? % args) ps)))))))) + +(defn some-fn + "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." + ([p] + (fn sp1 + ([] nil) + ([x] (p x)) + ([x y] (or (p x) (p y))) + ([x y z] (or (p x) (p y) (p z))) + ([x y z & args] (or (sp1 x y z) + (some p args))))) + ([p1 p2] + (fn sp2 + ([] nil) + ([x] (or (p1 x) (p2 x))) + ([x y] (or (p1 x) (p1 y) (p2 x) (p2 y))) + ([x y z] (or (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z))) + ([x y z & args] (or (sp2 x y z) + (some #(or (p1 %) (p2 %)) args))))) + ([p1 p2 p3] + (fn sp3 + ([] nil) + ([x] (or (p1 x) (p2 x) (p3 x))) + ([x y] (or (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y))) + ([x y z] (or (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y) (p1 z) (p2 z) (p3 z))) + ([x y z & args] (or (sp3 x y z) + (some #(or (p1 %) (p2 %) (p3 %)) args))))) + ([p1 p2 p3 & ps] + (let [ps (list* p1 p2 p3 ps)] + (fn spn + ([] nil) + ([x] (some #(% x) ps)) + ([x y] (some #(or (% x) (% y)) ps)) + ([x y z] (some #(or (% x) (% y) (% z)) ps)) + ([x y z & args] (or (spn x y z) + (some #(some % args) ps))))))) + +(defn map + "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." + ([f] + (fn [rf] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (rf result (f input))) + ([result input & inputs] + (rf result (apply f input inputs)))))) + ([f coll] + (lazy-seq + (when-let [s (seq coll)] + (if (chunked-seq? s) + (let [c (chunk-first s) + size (count c) + b (chunk-buffer size)] + (dotimes [i size] + (chunk-append b (f (-nth c i)))) + (chunk-cons (chunk b) (map f (chunk-rest s)))) + (cons (f (first s)) (map f (rest s))))))) + ([f c1 c2] + (lazy-seq + (let [s1 (seq c1) s2 (seq c2)] + (when (and s1 s2) + (cons (f (first s1) (first s2)) + (map f (rest s1) (rest s2))))))) + ([f c1 c2 c3] + (lazy-seq + (let [s1 (seq c1) s2 (seq c2) s3 (seq c3)] + (when (and s1 s2 s3) + (cons (f (first s1) (first s2) (first s3)) + (map f (rest s1) (rest s2) (rest s3))))))) + ([f c1 c2 c3 & colls] + (let [step (fn step [cs] + (lazy-seq + (let [ss (map seq cs)] + (when (every? identity ss) + (cons (map first ss) (step (map rest ss)))))))] + (map #(apply f %) (step (conj colls c3 c2 c1)))))) + +(defn take + "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." + ([n] + {:pre [(number? n)]} + (fn [rf] + (let [na (volatile! n)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [n @na + nn (vswap! na dec) + result (if (pos? n) + (rf result input) + result)] + (if (not (pos? nn)) + (ensure-reduced result) + result))))))) + ([n coll] + {:pre [(number? n)]} + (lazy-seq + (when (pos? n) + (when-let [s (seq coll)] + (cons (first s) (take (dec n) (rest s)))))))) + +(defn drop + "Returns a lazy sequence of all but the first n items in coll. + Returns a stateful transducer when no collection is provided." + ([n] + {:pre [(number? n)]} + (fn [rf] + (let [na (volatile! n)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [n @na] + (vswap! na dec) + (if (pos? n) + result + (rf result input)))))))) + ([n coll] + {:pre [(number? n)]} + (let [step (fn [n coll] + (let [s (seq coll)] + (if (and (pos? n) s) + (recur (dec n) (rest s)) + s)))] + (lazy-seq (step n coll))))) + +(defn drop-last + "Return a lazy sequence of all but the last n (default 1) items in coll" + ([s] (drop-last 1 s)) + ([n s] (map (fn [x _] x) s (drop n s)))) + +(defn take-last + "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." + [n coll] + (loop [s (seq coll), lead (seq (drop n coll))] + (if lead + (recur (next s) (next lead)) + s))) + +(defn drop-while + "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." + ([pred] + (fn [rf] + (let [da (volatile! true)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [drop? @da] + (if (and drop? (pred input)) + result + (do + (vreset! da nil) + (rf result input))))))))) + ([pred coll] + (let [step (fn [pred coll] + (let [s (seq coll)] + (if (and s (pred (first s))) + (recur pred (rest s)) + s)))] + (lazy-seq (step pred coll))))) + +(deftype Cycle [meta all prev ^:mutable current ^:mutable _next] + Object + (toString [coll] + (pr-str* coll)) + (currentval [coll] + (when-not ^seq current + (if-let [c (next prev)] + (set! current c) + (set! current all))) + current) + + IPending + (-realized? [coll] + (some? current)) + + IWithMeta + (-with-meta [coll meta] (Cycle. meta all prev current _next)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] + (first (.currentval coll))) + (-rest [coll] + (when (nil? _next) + (set! _next (Cycle. nil all (.currentval coll) nil nil))) + _next) + + INext + (-next [coll] + (-rest coll)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + ISeqable + (-seq [coll] coll) + + IReduce + (-reduce [coll f] + (loop [s (.currentval coll) ret (first s)] + (let [s (or (next s) all) + ret (f ret (first s))] + (if (reduced? ret) + @ret + (recur s ret))))) + (-reduce [coll f start] + (loop [s (.currentval coll) ret start] + (let [ret (f ret (first s))] + (if (reduced? ret) + @ret + (recur (or (next s) all) ret)))))) + +(defn cycle + "Returns a lazy (infinite!) sequence of repetitions of the items in coll." + [coll] (if-let [vals (seq coll)] + (Cycle. nil vals nil vals nil) + (.-EMPTY List))) + +(defn split-at + "Returns a vector of [(take n coll) (drop n coll)]" + [n coll] + [(take n coll) (drop n coll)]) + +(deftype Repeat [meta count val ^:mutable next ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x count)) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IPending + (-realized? [coll] false) + + IWithMeta + (-with-meta [coll meta] (Repeat. meta count val next nil)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] + val) + (-rest [coll] + (if (nil? next) + (if (> count 1) + (do + (set! next (Repeat. nil (dec count) val nil nil)) + next) + (if (== -1 count) + coll + ())) + next)) + + INext + (-next [coll] + (if (nil? next) + (if (> count 1) + (do + (set! next (Repeat. nil (dec count) val nil nil)) + next) + (if (== -1 count) + coll + nil)) + next)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISequential + ISeqable + (-seq [coll] coll) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IReduce + (-reduce [coll f] + (if (== count -1) + (loop [ret (f val val)] + (if (reduced? ret) + @ret + (recur (f ret val)))) + (loop [i 1 ret val] + (if (< i count) + (let [ret (f ret val)] + (if (reduced? ret) + @ret + (recur (inc i) ret))) + ret)))) + (-reduce [coll f start] + (if (== count -1) + (loop [ret (f start val)] + (if (reduced? ret) + @ret + (recur (f ret val)))) + (loop [i 0 ret start] + (if (< i count) + (let [ret (f ret val)] + (if (reduced? ret) + @ret + (recur (inc i) ret))) + ret))))) + +(defn repeat + "Returns a lazy (infinite!, or length n if supplied) sequence of xs." + ([x] (Repeat. nil -1 x nil nil)) + ([n x] (if (pos? n) + (Repeat. nil n x nil nil) + (.-EMPTY List)))) + +(defn replicate + "DEPRECATED: Use 'repeat' instead. + Returns a lazy seq of n xs." + [n x] (take n (repeat x))) + +(defn repeatedly + "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" + ([f] (lazy-seq (cons (f) (repeatedly f)))) + ([n f] (take n (repeatedly f)))) + +(def ^:private UNREALIZED-SEED #js {}) + +(deftype Iterate [meta f prev-seed ^:mutable seed ^:mutable next] + Object + (toString [coll] + (pr-str* coll)) + + IPending + (-realized? [coll] + (not (identical? seed UNREALIZED-SEED))) + + IWithMeta + (-with-meta [coll meta] (Iterate. meta f prev-seed seed next)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] + (when (identical? UNREALIZED-SEED seed) + (set! seed (f prev-seed))) + seed) + (-rest [coll] + (when (nil? next) + (set! next (Iterate. nil f (-first coll) UNREALIZED-SEED nil))) + next) + + INext + (-next [coll] + (-rest coll)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + ISeqable + (-seq [coll] coll) + + IReduce + (-reduce [coll rf] + (let [first (-first coll) + v (f first)] + (loop [ret (rf first v) v v] + (if (reduced? ret) + @ret + (let [v (f v)] + (recur (rf ret v) v)))))) + (-reduce [coll rf start] + (let [v (-first coll)] + (loop [ret (rf start v) v v] + (if (reduced? ret) + @ret + (let [v (f v)] + (recur (rf ret v) v))))))) + +(defn iterate + "Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects" + {:added "1.0"} + [f x] (Iterate. nil f nil x nil)) + +(defn interleave + "Returns a lazy seq of the first item in each coll, then the second etc." + ([] ()) + ([c1] (lazy-seq c1)) + ([c1 c2] + (lazy-seq + (let [s1 (seq c1) s2 (seq c2)] + (when (and s1 s2) + (cons (first s1) (cons (first s2) + (interleave (rest s1) (rest s2)))))))) + ([c1 c2 & colls] + (lazy-seq + (let [ss (map seq (conj colls c2 c1))] + (when (every? identity ss) + (concat (map first ss) (apply interleave (map rest ss)))))))) + +(defn interpose + "Returns a lazy seq of the elements of coll separated by sep. + Returns a stateful transducer when no collection is provided." + ([sep] + (fn [rf] + (let [started (volatile! false)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (if @started + (let [sepr (rf result sep)] + (if (reduced? sepr) + sepr + (rf sepr input))) + (do + (vreset! started true) + (rf result input)))))))) + ([sep coll] (drop 1 (interleave (repeat sep) coll)))) + + + +(defn- flatten1 + "Take a collection of collections, and return a lazy seq + of items from the inner collection" + [colls] + (let [cat (fn cat [coll colls] + (lazy-seq + (if-let [coll (seq coll)] + (cons (first coll) (cat (rest coll) colls)) + (when (seq colls) + (cat (first colls) (rest colls))))))] + (cat nil colls))) + +(declare cat) + +(defn mapcat + "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" + {:added "1.0" + :static true} + ([f] (comp (map f) cat)) + ([f & colls] + (apply concat (apply map f colls)))) + +(defn filter + "Returns a lazy sequence of the items in coll for which + (pred item) returns true. pred must be free of side-effects. + Returns a transducer when no collection is provided." + ([pred] + (fn [rf] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (if (pred input) + (rf result input) + result))))) + ([pred coll] + (lazy-seq + (when-let [s (seq coll)] + (if (chunked-seq? s) + (let [c (chunk-first s) + size (count c) + b (chunk-buffer size)] + (dotimes [i size] + (when (pred (-nth c i)) + (chunk-append b (-nth c i)))) + (chunk-cons (chunk b) (filter pred (chunk-rest s)))) + (let [f (first s) r (rest s)] + (if (pred f) + (cons f (filter pred r)) + (filter pred r)))))))) + +(defn remove + "Returns a lazy sequence of the items in coll for which + (pred item) returns false. pred must be free of side-effects. + Returns a transducer when no collection is provided." + ([pred] (filter (complement pred))) + ([pred coll] + (filter (complement pred) coll))) + +(defn tree-seq + "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." + [branch? children root] + (let [walk (fn walk [node] + (lazy-seq + (cons node + (when (branch? node) + (mapcat walk (children node))))))] + (walk root))) + +(defn flatten + "Takes any nested combination of sequential things (lists, vectors, + etc.) and returns their contents as a single, flat sequence. + (flatten nil) returns nil." + [x] + (filter #(not (sequential? %)) + (rest (tree-seq sequential? seq x)))) + +(defn into + "Returns a new coll consisting of to-coll with all of the items of + from-coll conjoined. A transducer may be supplied." + ([] []) + ([to] to) + ([to from] + (if-not (nil? to) + (if (implements? IEditableCollection to) + (-with-meta (persistent! (reduce -conj! (transient to) from)) (meta to)) + (reduce -conj to from)) + (reduce conj () from))) + ([to xform from] + (if (implements? IEditableCollection to) + (-with-meta (persistent! (transduce xform conj! (transient to) from)) (meta to)) + (transduce xform conj to from)))) + +(defn mapv + "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." + ([f coll] + (-> (reduce (fn [v o] (conj! v (f o))) (transient []) coll) + persistent!)) + ([f c1 c2] + (into [] (map f c1 c2))) + ([f c1 c2 c3] + (into [] (map f c1 c2 c3))) + ([f c1 c2 c3 & colls] + (into [] (apply map f c1 c2 c3 colls)))) + +(defn filterv + "Returns a vector of the items in coll for which + (pred item) returns true. pred must be free of side-effects." + [pred coll] + (-> (reduce (fn [v o] (if (pred o) (conj! v o) v)) + (transient []) + coll) + persistent!)) + +(defn partition + "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." + ([n coll] + (partition n n coll)) + ([n step coll] + (lazy-seq + (when-let [s (seq coll)] + (let [p (take n s)] + (when (== n (count p)) + (cons p (partition n step (drop step s)))))))) + ([n step pad coll] + (lazy-seq + (when-let [s (seq coll)] + (let [p (take n s)] + (if (== n (count p)) + (cons p (partition n step pad (drop step s))) + (list (take n (concat p pad))))))))) + +(defn get-in + "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." + {:added "1.2" + :static true} + ([m ks] + (reduce get m ks)) + ([m ks not-found] + (loop [sentinel lookup-sentinel + m m + ks (seq ks)] + (if-not (nil? ks) + (let [m (get m (first ks) sentinel)] + (if (identical? sentinel m) + not-found + (recur sentinel m (next ks)))) + m)))) + +(defn assoc-in + "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." + [m [k & ks] v] + (if ks + (assoc m k (assoc-in (get m k) ks v)) + (assoc m k v))) + +(defn update-in + "'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." + ([m [k & ks] f] + (if ks + (assoc m k (update-in (get m k) ks f)) + (assoc m k (f (get m k))))) + ([m [k & ks] f a] + (if ks + (assoc m k (update-in (get m k) ks f a)) + (assoc m k (f (get m k) a)))) + ([m [k & ks] f a b] + (if ks + (assoc m k (update-in (get m k) ks f a b)) + (assoc m k (f (get m k) a b)))) + ([m [k & ks] f a b c] + (if ks + (assoc m k (update-in (get m k) ks f a b c)) + (assoc m k (f (get m k) a b c)))) + ([m [k & ks] f a b c & args] + (if ks + (assoc m k (apply update-in (get m k) ks f a b c args)) + (assoc m k (apply f (get m k) a b c args))))) + +(defn update + "'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." + ([m k f] + (assoc m k (f (get m k)))) + ([m k f x] + (assoc m k (f (get m k) x))) + ([m k f x y] + (assoc m k (f (get m k) x y))) + ([m k f x y z] + (assoc m k (f (get m k) x y z))) + ([m k f x y z & more] + (assoc m k (apply f (get m k) x y z more)))) + +;;; PersistentVector + +(deftype VectorNode [edit arr]) + +(defn- pv-fresh-node [edit] + (VectorNode. edit (make-array 32))) + +(defn- pv-aget [node idx] + (aget (.-arr node) idx)) + +(defn- pv-aset [node idx val] + (aset (.-arr node) idx val)) + +(defn- pv-clone-node [node] + (VectorNode. (.-edit node) (aclone (.-arr node)))) + +(defn- tail-off [pv] + (let [cnt (.-cnt pv)] + (if (< cnt 32) + 0 + (bit-shift-left (bit-shift-right-zero-fill (dec cnt) 5) 5)))) + +(defn- new-path [edit level node] + (loop [ll level + ret node] + (if (zero? ll) + ret + (let [embed ret + r (pv-fresh-node edit) + _ (pv-aset r 0 embed)] + (recur (- ll 5) r))))) + +(defn- push-tail [pv level parent tailnode] + (let [ret (pv-clone-node parent) + subidx (bit-and (bit-shift-right-zero-fill (dec (.-cnt pv)) level) 0x01f)] + (if (== 5 level) + (do + (pv-aset ret subidx tailnode) + ret) + (let [child (pv-aget parent subidx)] + (if-not (nil? child) + (let [node-to-insert (push-tail pv (- level 5) child tailnode)] + (pv-aset ret subidx node-to-insert) + ret) + (let [node-to-insert (new-path nil (- level 5) tailnode)] + (pv-aset ret subidx node-to-insert) + ret)))))) + +(defn- vector-index-out-of-bounds [i cnt] + (throw (js/Error. (str "No item " i " in vector of length " cnt)))) + +(defn- first-array-for-longvec [pv] + ;; invariants: (count pv) > 32. + (loop [node (.-root pv) + level (.-shift pv)] + (if (pos? level) + (recur (pv-aget node 0) (- level 5)) + (.-arr node)))) + +(defn- unchecked-array-for [pv i] + ;; invariant: i is a valid index of pv (use array-for if unknown). + (if (>= i (tail-off pv)) + (.-tail pv) + (loop [node (.-root pv) + level (.-shift pv)] + (if (pos? level) + (recur (pv-aget node (bit-and (bit-shift-right-zero-fill i level) 0x01f)) + (- level 5)) + (.-arr node))))) + +(defn- array-for [pv i] + (if (and (<= 0 i) (< i (.-cnt pv))) + (unchecked-array-for pv i) + (vector-index-out-of-bounds i (.-cnt pv)))) + +(defn- do-assoc [pv level node i val] + (let [ret (pv-clone-node node)] + (if (zero? level) + (do + (pv-aset ret (bit-and i 0x01f) val) + ret) + (let [subidx (bit-and (bit-shift-right-zero-fill i level) 0x01f)] + (pv-aset ret subidx (do-assoc pv (- level 5) (pv-aget node subidx) i val)) + ret)))) + +(defn- pop-tail [pv level node] + (let [subidx (bit-and (bit-shift-right-zero-fill (- (.-cnt pv) 2) level) 0x01f)] + (cond + (> level 5) (let [new-child (pop-tail pv (- level 5) (pv-aget node subidx))] + (if (and (nil? new-child) (zero? subidx)) + nil + (let [ret (pv-clone-node node)] + (pv-aset ret subidx new-child) + ret))) + (zero? subidx) nil + :else (let [ret (pv-clone-node node)] + (pv-aset ret subidx nil) + ret)))) + +(deftype RangedIterator [^:mutable i ^:mutable base ^:mutable arr v start end] + Object + (hasNext [this] + (< i end)) + (next [this] + (when (== (- i base) 32) + (set! arr (unchecked-array-for v i)) + (set! base (+ base 32))) + (let [ret (aget arr (bit-and i 0x01f))] + (set! i (inc i)) + ret))) + +(defn ranged-iterator [v start end] + (let [i start] + (RangedIterator. i (- i (js-mod i 32)) + (when (< start (count v)) + (unchecked-array-for v i)) + v start end))) + +(defn- pv-reduce + ([pv f start end] + (if (< start end) + (pv-reduce pv f (nth pv start) (inc start) end) + (f))) + ([pv f init start end] + (loop [acc init i start arr (unchecked-array-for pv start)] + (if (< i end) + (let [j (bit-and i 0x01f) + arr (if (zero? j) (unchecked-array-for pv i) arr) + nacc (f acc (aget arr j))] + (if (reduced? nacc) + @nacc + (recur nacc (inc i) arr))) + acc)))) + +(declare tv-editable-root tv-editable-tail TransientVector deref + pr-sequential-writer pr-writer chunked-seq) + +(defprotocol APersistentVector + "Marker protocol") + +(deftype PersistentVector [meta cnt shift root tail ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ICloneable + (-clone [_] (PersistentVector. meta cnt shift root tail __hash)) + + IWithMeta + (-with-meta [coll meta] (PersistentVector. meta cnt shift root tail __hash)) + + IMeta + (-meta [coll] meta) + + IStack + (-peek [coll] + (when (> cnt 0) + (-nth coll (dec cnt)))) + (-pop [coll] + (cond + (zero? cnt) (throw (js/Error. "Can't pop empty vector")) + (== 1 cnt) (-with-meta (.-EMPTY PersistentVector) meta) + (< 1 (- cnt (tail-off coll))) + (PersistentVector. meta (dec cnt) shift root (.slice tail 0 -1) nil) + :else (let [new-tail (unchecked-array-for coll (- cnt 2)) + nr (pop-tail coll shift root) + new-root (if (nil? nr) (.-EMPTY-NODE PersistentVector) nr) + cnt-1 (dec cnt)] + (if (and (< 5 shift) (nil? (pv-aget new-root 1))) + (PersistentVector. meta cnt-1 (- shift 5) (pv-aget new-root 0) new-tail nil) + (PersistentVector. meta cnt-1 shift new-root new-tail nil))))) + + ICollection + (-conj [coll o] + (if (< (- cnt (tail-off coll)) 32) + (let [len (alength tail) + new-tail (make-array (inc len))] + (dotimes [i len] + (aset new-tail i (aget tail i))) + (aset new-tail len o) + (PersistentVector. meta (inc cnt) shift root new-tail nil)) + (let [root-overflow? (> (bit-shift-right-zero-fill cnt 5) (bit-shift-left 1 shift)) + new-shift (if root-overflow? (+ shift 5) shift) + new-root (if root-overflow? + (let [n-r (pv-fresh-node nil)] + (pv-aset n-r 0 root) + (pv-aset n-r 1 (new-path nil shift (VectorNode. nil tail))) + n-r) + (push-tail coll shift root (VectorNode. nil tail)))] + (PersistentVector. meta (inc cnt) new-shift new-root (array o) nil)))) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY PersistentVector) meta)) + + ISequential + IEquiv + (-equiv [coll other] + (if (instance? PersistentVector other) + (if (== cnt (count other)) + (let [me-iter (-iterator coll) + you-iter (-iterator other)] + (loop [] + (if ^boolean (.hasNext me-iter) + (let [x (.next me-iter) + y (.next you-iter)] + (if (= x y) + (recur) + false)) + true))) + false) + (equiv-sequential coll other))) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] + (cond + (zero? cnt) nil + (<= cnt 32) (IndexedSeq. tail 0 nil) + :else (chunked-seq coll (first-array-for-longvec coll) 0 0))) + + ICounted + (-count [coll] cnt) + + IIndexed + (-nth [coll n] + (aget (array-for coll n) (bit-and n 0x01f))) + (-nth [coll n not-found] + (if (and (<= 0 n) (< n cnt)) + (aget (unchecked-array-for coll n) (bit-and n 0x01f)) + not-found)) + + ILookup + (-lookup [coll k] (-lookup coll k nil)) + (-lookup [coll k not-found] (if (number? k) + (-nth coll k not-found) + not-found)) + + IAssociative + (-assoc [coll k v] + (if (number? k) + (-assoc-n coll k v) + (throw (js/Error. "Vector's key for assoc must be a number.")))) + (-contains-key? [coll k] + (if (integer? k) + (and (<= 0 k) (< k cnt)) + false)) + + IFind + (-find [coll n] + (when (and (<= 0 n) (< n cnt)) + (MapEntry. n (aget (unchecked-array-for coll n) (bit-and n 0x01f)) nil))) + + APersistentVector + IVector + (-assoc-n [coll n val] + (cond + (and (<= 0 n) (< n cnt)) + (if (<= (tail-off coll) n) + (let [new-tail (aclone tail)] + (aset new-tail (bit-and n 0x01f) val) + (PersistentVector. meta cnt shift root new-tail nil)) + (PersistentVector. meta cnt shift (do-assoc coll shift root n val) tail nil)) + (== n cnt) (-conj coll val) + :else (throw (js/Error. (str "Index " n " out of bounds [0," cnt "]"))))) + + IReduce + (-reduce [v f] + (pv-reduce v f 0 cnt)) + (-reduce [v f init] + (loop [i 0 init init] + (if (< i cnt) + (let [arr (unchecked-array-for v i) + len (alength arr) + init (loop [j 0 init init] + (if (< j len) + (let [init (f init (aget arr j))] + (if (reduced? init) + init + (recur (inc j) init))) + init))] + (if (reduced? init) + @init + (recur (+ i len) init))) + init))) + + IKVReduce + (-kv-reduce [v f init] + (loop [i 0 init init] + (if (< i cnt) + (let [arr (unchecked-array-for v i) + len (alength arr) + init (loop [j 0 init init] + (if (< j len) + (let [init (f init (+ j i) (aget arr j))] + (if (reduced? init) + init + (recur (inc j) init))) + init))] + (if (reduced? init) + @init + (recur (+ i len) init))) + init))) + + IFn + (-invoke [coll k] + (-nth coll k)) + (-invoke [coll k not-found] + (-nth coll k not-found)) + + IEditableCollection + (-as-transient [coll] + (TransientVector. cnt shift (tv-editable-root root) (tv-editable-tail tail))) + + IReversible + (-rseq [coll] + (when (pos? cnt) + (RSeq. coll (dec cnt) nil))) + + IIterable + (-iterator [this] + (ranged-iterator this 0 cnt))) + +(set! (.-EMPTY-NODE PersistentVector) (VectorNode. nil (make-array 32))) + +(set! (.-EMPTY PersistentVector) + (PersistentVector. nil 0 5 (.-EMPTY-NODE PersistentVector) (array) empty-ordered-hash)) + +(set! (.-fromArray PersistentVector) + (fn [xs ^boolean no-clone] + (let [l (alength xs) + xs (if no-clone xs (aclone xs))] + (if (< l 32) + (PersistentVector. nil l 5 (.-EMPTY-NODE PersistentVector) xs nil) + (let [node (.slice xs 0 32) + v (PersistentVector. nil 32 5 (.-EMPTY-NODE PersistentVector) node nil)] + (loop [i 32 out (-as-transient v)] + (if (< i l) + (recur (inc i) (conj! out (aget xs i))) + (persistent! out)))))))) + +(es6-iterable PersistentVector) + +(defn vec + "Creates a new vector containing the contents of coll. JavaScript arrays + will be aliased and should not be modified." + [coll] + (if (array? coll) + (.fromArray PersistentVector coll true) + (-persistent! + (reduce -conj! + (-as-transient (.-EMPTY PersistentVector)) + coll)))) + +(defn vector + "Creates a new vector containing the args." + [& args] + (if (and (instance? IndexedSeq args) (zero? (.-i args))) + (.fromArray PersistentVector (.-arr args) true) + (vec args))) + +(declare subvec) + +(deftype ChunkedSeq [vec node i off meta ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IWithMeta + (-with-meta [coll m] + (chunked-seq vec node i off m)) + IMeta + (-meta [coll] meta) + + ISeqable + (-seq [coll] coll) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ASeq + ISeq + (-first [coll] + (aget node off)) + (-rest [coll] + (if (< (inc off) (alength node)) + (let [s (chunked-seq vec node i (inc off))] + (if (nil? s) + () + s)) + (-chunked-rest coll))) + + INext + (-next [coll] + (if (< (inc off) (alength node)) + (let [s (chunked-seq vec node i (inc off))] + (if (nil? s) + nil + s)) + (-chunked-next coll))) + + ICollection + (-conj [coll o] + (cons o coll)) + + IEmptyableCollection + (-empty [coll] + ()) + + IChunkedSeq + (-chunked-first [coll] + (array-chunk node off)) + (-chunked-rest [coll] + (let [end (+ i (alength node))] + (if (< end (-count vec)) + (chunked-seq vec (unchecked-array-for vec end) end 0) + ()))) + + IChunkedNext + (-chunked-next [coll] + (let [end (+ i (alength node))] + (when (< end (-count vec)) + (chunked-seq vec (unchecked-array-for vec end) end 0)))) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IReduce + (-reduce [coll f] + (pv-reduce vec f (+ i off) (count vec))) + + (-reduce [coll f start] + (pv-reduce vec f start (+ i off) (count vec)))) + +(es6-iterable ChunkedSeq) + +(defn chunked-seq + ([vec i off] (ChunkedSeq. vec (array-for vec i) i off nil nil)) + ([vec node i off] (ChunkedSeq. vec node i off nil nil)) + ([vec node i off meta] + (ChunkedSeq. vec node i off meta nil))) + +(declare build-subvec) + +(deftype Subvec [meta v start end ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ICloneable + (-clone [_] (Subvec. meta v start end __hash)) + + IWithMeta + (-with-meta [coll meta] (build-subvec meta v start end __hash)) + + IMeta + (-meta [coll] meta) + + IStack + (-peek [coll] + (-nth v (dec end))) + (-pop [coll] + (if (== start end) + (throw (js/Error. "Can't pop empty vector")) + (build-subvec meta v start (dec end) nil))) + + ICollection + (-conj [coll o] + (build-subvec meta (-assoc-n v end o) start (inc end) nil)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY PersistentVector) meta)) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] + (let [subvec-seq (fn subvec-seq [i] + (when-not (== i end) + (cons (-nth v i) + (lazy-seq + (subvec-seq (inc i))))))] + (subvec-seq start))) + + IReversible + (-rseq [coll] + (if-not (== start end) + (RSeq. coll (dec (- end start)) nil))) + + ICounted + (-count [coll] (- end start)) + + IIndexed + (-nth [coll n] + (if (or (neg? n) (<= end (+ start n))) + (vector-index-out-of-bounds n (- end start)) + (-nth v (+ start n)))) + (-nth [coll n not-found] + (if (or (neg? n) (<= end (+ start n))) + not-found + (-nth v (+ start n) not-found))) + + ILookup + (-lookup [coll k] (-lookup coll k nil)) + (-lookup [coll k not-found] (if (number? k) + (-nth coll k not-found) + not-found)) + + IAssociative + (-assoc [coll key val] + (if (number? key) + (-assoc-n coll key val) + (throw (js/Error. "Subvec's key for assoc must be a number.")))) + + IFind + (-find [coll n] + (when-not (neg? n) + (let [idx (+ start n)] + (when (< idx end) + (MapEntry. n (-lookup v idx) nil))))) + + IVector + (-assoc-n [coll n val] + (let [v-pos (+ start n)] + (if (or (neg? n) (<= (inc end) v-pos)) + (throw (js/Error. (str "Index " n " out of bounds [0," (-count coll) "]"))) + (build-subvec meta (assoc v v-pos val) start (max end (inc v-pos)) nil)))) + + IReduce + (-reduce [coll f] + (if (implements? APersistentVector v) + (pv-reduce v f start end) + (ci-reduce coll f))) + (-reduce [coll f init] + (if (implements? APersistentVector v) + (pv-reduce v f init start end) + (ci-reduce coll f init))) + + IKVReduce + (-kv-reduce [coll f init] + (loop [i start j 0 init init] + (if (< i end) + (let [init (f init j (-nth v i))] + (if (reduced? init) + @init + (recur (inc i) (inc j) init))) + init))) + + IFn + (-invoke [coll k] + (-nth coll k)) + (-invoke [coll k not-found] + (-nth coll k not-found)) + + IIterable + (-iterator [coll] + (if (implements? APersistentVector v) + (ranged-iterator v start end) + (seq-iter coll)))) + +(es6-iterable Subvec) + +(defn- build-subvec [meta v start end __hash] + (if (instance? Subvec v) + (recur meta (.-v v) (+ (.-start v) start) (+ (.-start v) end) __hash) + (do + (when-not (vector? v) + (throw (js/Error. "v must satisfy IVector"))) + (let [c (count v)] + (when (or (neg? start) + (neg? end) + (> start c) + (> end c)) + (throw (js/Error. "Index out of bounds")))) + (Subvec. meta v start end __hash)))) + +(defn subvec + "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." + ([v start] + (subvec v start (count v))) + ([v start end] + (assert (and (not (nil? start)) (not (nil? end)))) + (build-subvec nil v (int start) (int end) nil))) + +(defn- tv-ensure-editable [edit node] + (if (identical? edit (.-edit node)) + node + (VectorNode. edit (aclone (.-arr node))))) + +(defn- tv-editable-root [node] + (VectorNode. (js-obj) (aclone (.-arr node)))) + +(defn- tv-editable-tail [tl] + (let [ret (make-array 32)] + (array-copy tl 0 ret 0 (alength tl)) + ret)) + +(defn- tv-push-tail [tv level parent tail-node] + (let [ret (tv-ensure-editable (.. tv -root -edit) parent) + subidx (bit-and (bit-shift-right-zero-fill (dec (.-cnt tv)) level) 0x01f)] + (pv-aset ret subidx + (if (== level 5) + tail-node + (let [child (pv-aget ret subidx)] + (if-not (nil? child) + (tv-push-tail tv (- level 5) child tail-node) + (new-path (.. tv -root -edit) (- level 5) tail-node))))) + ret)) + +(defn- tv-pop-tail [tv level node] + (let [node (tv-ensure-editable (.. tv -root -edit) node) + subidx (bit-and (bit-shift-right-zero-fill (- (.-cnt tv) 2) level) 0x01f)] + (cond + (> level 5) (let [new-child (tv-pop-tail + tv (- level 5) (pv-aget node subidx))] + (if (and (nil? new-child) (zero? subidx)) + nil + (do (pv-aset node subidx new-child) + node))) + (zero? subidx) nil + :else (do (pv-aset node subidx nil) + node)))) + +(defn- unchecked-editable-array-for [tv i] + ;; invariant: i is a valid index of tv. + (if (>= i (tail-off tv)) + (.-tail tv) + (let [root (.-root tv)] + (loop [node root + level (.-shift tv)] + (if (pos? level) + (recur (tv-ensure-editable + (.-edit root) + (pv-aget node + (bit-and (bit-shift-right-zero-fill i level) + 0x01f))) + (- level 5)) + (.-arr node)))))) + +(deftype TransientVector [^:mutable cnt + ^:mutable shift + ^:mutable root + ^:mutable tail] + ITransientCollection + (-conj! [tcoll o] + (if ^boolean (.-edit root) + (if (< (- cnt (tail-off tcoll)) 32) + (do (aset tail (bit-and cnt 0x01f) o) + (set! cnt (inc cnt)) + tcoll) + (let [tail-node (VectorNode. (.-edit root) tail) + new-tail (make-array 32)] + (aset new-tail 0 o) + (set! tail new-tail) + (if (> (bit-shift-right-zero-fill cnt 5) + (bit-shift-left 1 shift)) + (let [new-root-array (make-array 32) + new-shift (+ shift 5)] + (aset new-root-array 0 root) + (aset new-root-array 1 (new-path (.-edit root) shift tail-node)) + (set! root (VectorNode. (.-edit root) new-root-array)) + (set! shift new-shift) + (set! cnt (inc cnt)) + tcoll) + (let [new-root (tv-push-tail tcoll shift root tail-node)] + (set! root new-root) + (set! cnt (inc cnt)) + tcoll)))) + (throw (js/Error. "conj! after persistent!")))) + + (-persistent! [tcoll] + (if ^boolean (.-edit root) + (do (set! (.-edit root) nil) + (let [len (- cnt (tail-off tcoll)) + trimmed-tail (make-array len)] + (array-copy tail 0 trimmed-tail 0 len) + (PersistentVector. nil cnt shift root trimmed-tail nil))) + (throw (js/Error. "persistent! called twice")))) + + ITransientAssociative + (-assoc! [tcoll key val] + (if (number? key) + (-assoc-n! tcoll key val) + (throw (js/Error. "TransientVector's key for assoc! must be a number.")))) + + ITransientVector + (-assoc-n! [tcoll n val] + (if ^boolean (.-edit root) + (cond + (and (<= 0 n) (< n cnt)) + (if (<= (tail-off tcoll) n) + (do (aset tail (bit-and n 0x01f) val) + tcoll) + (let [new-root + ((fn go [level node] + (let [node (tv-ensure-editable (.-edit root) node)] + (if (zero? level) + (do (pv-aset node (bit-and n 0x01f) val) + node) + (let [subidx (bit-and (bit-shift-right-zero-fill n level) + 0x01f)] + (pv-aset node subidx + (go (- level 5) (pv-aget node subidx))) + node)))) + shift root)] + (set! root new-root) + tcoll)) + (== n cnt) (-conj! tcoll val) + :else + (throw + (js/Error. + (str "Index " n " out of bounds for TransientVector of length" cnt)))) + (throw (js/Error. "assoc! after persistent!")))) + + (-pop! [tcoll] + (if ^boolean (.-edit root) + (cond + (zero? cnt) (throw (js/Error. "Can't pop empty vector")) + (== 1 cnt) (do (set! cnt 0) tcoll) + (pos? (bit-and (dec cnt) 0x01f)) (do (set! cnt (dec cnt)) tcoll) + :else + (let [new-tail (unchecked-editable-array-for tcoll (- cnt 2)) + new-root (let [nr (tv-pop-tail tcoll shift root)] + (if-not (nil? nr) + nr + (VectorNode. (.-edit root) (make-array 32))))] + (if (and (< 5 shift) (nil? (pv-aget new-root 1))) + (let [new-root (tv-ensure-editable (.-edit root) (pv-aget new-root 0))] + (set! root new-root) + (set! shift (- shift 5)) + (set! cnt (dec cnt)) + (set! tail new-tail) + tcoll) + (do (set! root new-root) + (set! cnt (dec cnt)) + (set! tail new-tail) + tcoll)))) + (throw (js/Error. "pop! after persistent!")))) + + ICounted + (-count [coll] + (if ^boolean (.-edit root) + cnt + (throw (js/Error. "count after persistent!")))) + + IIndexed + (-nth [coll n] + (if ^boolean (.-edit root) + (aget (array-for coll n) (bit-and n 0x01f)) + (throw (js/Error. "nth after persistent!")))) + + (-nth [coll n not-found] + (if (and (<= 0 n) (< n cnt)) + (-nth coll n) + not-found)) + + ILookup + (-lookup [coll k] (-lookup coll k nil)) + + (-lookup [coll k not-found] (if (number? k) + (-nth coll k not-found) + not-found)) + + IFn + (-invoke [coll k] + (-lookup coll k)) + + (-invoke [coll k not-found] + (-lookup coll k not-found))) + +;;; PersistentQueue ;;; + +(deftype PersistentQueueIter [^:mutable fseq riter] + Object + (hasNext [_] + (or (and (some? fseq) (seq fseq)) (and (some? riter) (.hasNext riter)))) + (next [_] + (cond + (some? fseq) + (let [ret (first fseq)] + (set! fseq (next fseq)) + ret) + (and (some? riter) ^boolean (.hasNext riter)) + (.next riter) + :else (throw (js/Error. "No such element")))) + (remove [_] (js/Error. "Unsupported operation"))) + +(deftype PersistentQueueSeq [meta front rear ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IWithMeta + (-with-meta [coll meta] (PersistentQueueSeq. meta front rear __hash)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] (first front)) + (-rest [coll] + (if-let [f1 (next front)] + (PersistentQueueSeq. meta f1 rear nil) + (if (nil? rear) + (-empty coll) + (PersistentQueueSeq. meta rear nil nil)))) + + INext + (-next [coll] + (if-let [f1 (next front)] + (PersistentQueueSeq. meta f1 rear nil) + (when (some? rear) + (PersistentQueueSeq. meta rear nil nil)))) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] coll)) + +(es6-iterable PersistentQueueSeq) + +(deftype PersistentQueue [meta count front rear ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ICloneable + (-clone [coll] (PersistentQueue. meta count front rear __hash)) + + IIterable + (-iterator [coll] + (PersistentQueueIter. front (-iterator rear))) + + IWithMeta + (-with-meta [coll meta] (PersistentQueue. meta count front rear __hash)) + + IMeta + (-meta [coll] meta) + + ISeq + (-first [coll] (first front)) + (-rest [coll] (rest (seq coll))) + + IStack + (-peek [coll] (first front)) + (-pop [coll] + (if front + (if-let [f1 (next front)] + (PersistentQueue. meta (dec count) f1 rear nil) + (PersistentQueue. meta (dec count) (seq rear) [] nil)) + coll)) + + ICollection + (-conj [coll o] + (if front + (PersistentQueue. meta (inc count) front (conj (or rear []) o) nil) + (PersistentQueue. meta (inc count) (conj front o) [] nil))) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY PersistentQueue) meta)) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + ISeqable + (-seq [coll] + (let [rear (seq rear)] + (if (or front rear) + (PersistentQueueSeq. nil front (seq rear) nil)))) + + ICounted + (-count [coll] count)) + +(set! (.-EMPTY PersistentQueue) (PersistentQueue. nil 0 nil [] empty-ordered-hash)) + +(es6-iterable PersistentQueue) + +(deftype NeverEquiv [] + Object + (equiv [this other] + (-equiv this other)) + IEquiv + (-equiv [o other] false)) + +(def ^:private never-equiv (NeverEquiv.)) + +(defn ^boolean equiv-map + "Test map equivalence. Returns true if x equals y, otherwise returns false." + [x y] + (boolean + (when (and (map? y) (not (record? y))) + ; assume all maps are counted + (when (== (count x) (count y)) + (if (satisfies? IKVReduce x) + (reduce-kv + (fn [_ k v] + (if (= (get y k never-equiv) v) + true + (reduced false))) + true x) + (every? + (fn [xkv] + (= (get y (first xkv) never-equiv) (second xkv))) + x)))))) + + +(defn- scan-array [incr k array] + (let [len (alength array)] + (loop [i 0] + (when (< i len) + (if (identical? k (aget array i)) + i + (recur (+ i incr))))))) + +; The keys field is an array of all keys of this map, in no particular +; order. Any string, keyword, or symbol key is used as a property name +; to store the value in strobj. If a key is assoc'ed when that same +; key already exists in strobj, the old value is overwritten. If a +; non-string key is assoc'ed, return a HashMap object instead. + +(defn- obj-map-compare-keys [a b] + (let [a (hash a) + b (hash b)] + (cond + (< a b) -1 + (> a b) 1 + :else 0))) + +(defn- obj-map->hash-map [m k v] + (let [ks (.-keys m) + len (alength ks) + so (.-strobj m) + mm (meta m)] + (loop [i 0 + out (transient (.-EMPTY PersistentHashMap))] + (if (< i len) + (let [k (aget ks i)] + (recur (inc i) (assoc! out k (gobject/get so k)))) + (-with-meta (persistent! (assoc! out k v)) mm))))) + +;;; ObjMap - DEPRECATED + +(defn- obj-clone [obj ks] + (let [new-obj (js-obj) + l (alength ks)] + (loop [i 0] + (when (< i l) + (let [k (aget ks i)] + (gobject/set new-obj k (gobject/get obj k)) + (recur (inc i))))) + new-obj)) + +(deftype ObjMap [meta keys strobj update-count ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + + IWithMeta + (-with-meta [coll meta] (ObjMap. meta keys strobj update-count __hash)) + + IMeta + (-meta [coll] meta) + + ICollection + (-conj [coll entry] + (if (vector? entry) + (-assoc coll (-nth entry 0) (-nth entry 1)) + (reduce -conj + coll + entry))) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY ObjMap) meta)) + + IEquiv + (-equiv [coll other] (equiv-map coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) + + ISeqable + (-seq [coll] + (when (pos? (alength keys)) + (map #(vector % (unchecked-get strobj %)) + (.sort keys obj-map-compare-keys)))) + + ICounted + (-count [coll] (alength keys)) + + ILookup + (-lookup [coll k] (-lookup coll k nil)) + (-lookup [coll k not-found] + (if (and ^boolean (goog/isString k) + (not (nil? (scan-array 1 k keys)))) + (unchecked-get strobj k) + not-found)) + + IAssociative + (-assoc [coll k v] + (if ^boolean (goog/isString k) + (if (or (> update-count (.-HASHMAP_THRESHOLD ObjMap)) + (>= (alength keys) (.-HASHMAP_THRESHOLD ObjMap))) + (obj-map->hash-map coll k v) + (if-not (nil? (scan-array 1 k keys)) + (let [new-strobj (obj-clone strobj keys)] + (gobject/set new-strobj k v) + (ObjMap. meta keys new-strobj (inc update-count) nil)) ; overwrite + (let [new-strobj (obj-clone strobj keys) ; append + new-keys (aclone keys)] + (gobject/set new-strobj k v) + (.push new-keys k) + (ObjMap. meta new-keys new-strobj (inc update-count) nil)))) + ;; non-string key. game over. + (obj-map->hash-map coll k v))) + (-contains-key? [coll k] + (if (and ^boolean (goog/isString k) + (not (nil? (scan-array 1 k keys)))) + true + false)) + + IFind + (-find [coll k] + (when (and ^boolean (goog/isString k) + (not (nil? (scan-array 1 k keys)))) + (MapEntry. k (unchecked-get strobj k) nil))) + + IKVReduce + (-kv-reduce [coll f init] + (let [len (alength keys)] + (loop [keys (.sort keys obj-map-compare-keys) + init init] + (if (seq keys) + (let [k (first keys) + init (f init k (unchecked-get strobj k))] + (if (reduced? init) + @init + (recur (rest keys) init))) + init)))) + + IMap + (-dissoc [coll k] + (if (and ^boolean (goog/isString k) + (not (nil? (scan-array 1 k keys)))) + (let [new-keys (aclone keys) + new-strobj (obj-clone strobj keys)] + (.splice new-keys (scan-array 1 k new-keys) 1) + (js-delete new-strobj k) + (ObjMap. meta new-keys new-strobj (inc update-count) nil)) + coll)) ; key not found, return coll unchanged + + IFn + (-invoke [coll k] + (-lookup coll k)) + (-invoke [coll k not-found] + (-lookup coll k not-found)) + + IEditableCollection + (-as-transient [coll] + (transient (into (hash-map) coll)))) + +(set! (.-EMPTY ObjMap) (ObjMap. nil (array) (js-obj) 0 empty-unordered-hash)) + +(set! (.-HASHMAP_THRESHOLD ObjMap) 8) + +(set! (.-fromObject ObjMap) (fn [ks obj] (ObjMap. nil ks obj 0 nil))) + +;; Record Iterator +(deftype RecordIter [^:mutable i record base-count fields ext-map-iter] + Object + (hasNext [_] + (or (< i base-count) (.hasNext ext-map-iter))) + (next [_] + (if (< i base-count) + (let [k (nth fields i)] + (set! i (inc i)) + (MapEntry. k (-lookup record k) nil)) + (.next ext-map-iter))) + (remove [_] (js/Error. "Unsupported operation"))) + +;; EXPERIMENTAL: subject to change +(deftype ES6EntriesIterator [^:mutable s] + Object + (next [_] + (if-not (nil? s) + (let [[k v] (first s)] + (set! s (next s)) + #js {:value #js [k v] :done false}) + #js {:value nil :done true}))) + +(defn es6-entries-iterator [coll] + (ES6EntriesIterator. (seq coll))) + +;; EXPERIMENTAL: subject to change +(deftype ES6SetEntriesIterator [^:mutable s] + Object + (next [_] + (if-not (nil? s) + (let [x (first s)] + (set! s (next s)) + #js {:value #js [x x] :done false}) + #js {:value nil :done true}))) + +(defn es6-set-entries-iterator [coll] + (ES6SetEntriesIterator. (seq coll))) + +;;; PersistentArrayMap + +(defn- array-index-of-nil? [arr] + (let [len (alength arr)] + (loop [i 0] + (cond + (<= len i) -1 + (nil? (aget arr i)) i + :else (recur (+ i 2)))))) + +(defn- array-index-of-keyword? [arr k] + (let [len (alength arr) + kstr (.-fqn k)] + (loop [i 0] + (cond + (<= len i) -1 + (and (keyword? (aget arr i)) + (identical? kstr (.-fqn (aget arr i)))) i + :else (recur (+ i 2)))))) + +(defn- array-index-of-symbol? [arr k] + (let [len (alength arr) + kstr (.-str k)] + (loop [i 0] + (cond + (<= len i) -1 + (and (symbol? (aget arr i)) + (identical? kstr (.-str (aget arr i)))) i + :else (recur (+ i 2)))))) + +(defn- array-index-of-identical? [arr k] + (let [len (alength arr)] + (loop [i 0] + (cond + (<= len i) -1 + (identical? k (aget arr i)) i + :else (recur (+ i 2)))))) + +(defn- array-index-of-equiv? [arr k] + (let [len (alength arr)] + (loop [i 0] + (cond + (<= len i) -1 + (= k (aget arr i)) i + :else (recur (+ i 2)))))) + +(defn array-index-of [arr k] + (cond + (keyword? k) (array-index-of-keyword? arr k) + + (or ^boolean (goog/isString k) (number? k)) + (array-index-of-identical? arr k) + + (symbol? k) (array-index-of-symbol? arr k) + + (nil? k) + (array-index-of-nil? arr) + + :else (array-index-of-equiv? arr k))) + +(defn- array-map-index-of [m k] + (array-index-of (.-arr m) k)) + +(defn- array-extend-kv [arr k v] + (let [l (alength arr) + narr (make-array (+ l 2))] + (loop [i 0] + (when (< i l) + (aset narr i (aget arr i)) + (recur (inc i)))) + (aset narr l k) + (aset narr (inc l) v) + narr)) + +(defn- array-map-extend-kv [m k v] + (array-extend-kv (.-arr m) k v)) + +(declare TransientArrayMap) + +(deftype MapEntry [key val ^:mutable __hash] + Object + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMapEntry + (-key [node] key) + (-val [node] val) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IMeta + (-meta [node] nil) + + IWithMeta + (-with-meta [node meta] + (with-meta [key val] meta)) + + IStack + (-peek [node] val) + + (-pop [node] [key]) + + ICollection + (-conj [node o] [key val o]) + + IEmptyableCollection + (-empty [node] nil) + + ISequential + ISeqable + (-seq [node] (IndexedSeq. #js [key val] 0 nil)) + + IReversible + (-rseq [node] (IndexedSeq. #js [val key] 0 nil)) + + ICounted + (-count [node] 2) + + IIndexed + (-nth [node n] + (cond (== n 0) key + (== n 1) val + :else (throw (js/Error. "Index out of bounds")))) + + (-nth [node n not-found] + (cond (== n 0) key + (== n 1) val + :else not-found)) + + ILookup + (-lookup [node k] (-nth node k nil)) + (-lookup [node k not-found] (-nth node k not-found)) + + IAssociative + (-assoc [node k v] + (assoc [key val] k v)) + (-contains-key? [node k] + (or (== k 0) (== k 1))) + + IFind + (-find [node k] + (case k + 0 (MapEntry. 0 key nil) + 1 (MapEntry. 1 val nil) + nil)) + + IVector + (-assoc-n [node n v] + (-assoc-n [key val] n v)) + + IReduce + (-reduce [node f] + (ci-reduce node f)) + + (-reduce [node f start] + (ci-reduce node f start)) + + IFn + (-invoke [node k] + (-nth node k)) + + (-invoke [node k not-found] + (-nth node k not-found))) + +(defn ^boolean map-entry? + "Returns true if x satisfies IMapEntry" + [x] + (implements? IMapEntry x)) + +(deftype PersistentArrayMapSeq [arr i _meta] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMeta + (-meta [coll] _meta) + + IWithMeta + (-with-meta [coll new-meta] + (PersistentArrayMapSeq. arr i new-meta)) + + ICounted + (-count [coll] + (/ (- (alength arr) i) 2)) + + ISeqable + (-seq [coll] coll) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ICollection + (-conj [coll o] + (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) _meta)) + + IHash + (-hash [coll] (hash-ordered-coll coll)) + + ISeq + (-first [coll] + (MapEntry. (aget arr i) (aget arr (inc i)) nil)) + + (-rest [coll] + (if (< i (- (alength arr) 2)) + (PersistentArrayMapSeq. arr (+ i 2) _meta) + ())) + + INext + (-next [coll] + (when (< i (- (alength arr) 2)) + (PersistentArrayMapSeq. arr (+ i 2) _meta))) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable PersistentArrayMapSeq) + +(defn persistent-array-map-seq [arr i _meta] + (when (<= i (- (alength arr) 2)) + (PersistentArrayMapSeq. arr i _meta))) + +(declare keys vals) + +(deftype PersistentArrayMapIterator [arr ^:mutable i cnt] + Object + (hasNext [_] + (< i cnt)) + (next [_] + (let [ret (MapEntry. (aget arr i) (aget arr (inc i)) nil)] + (set! i (+ i 2)) + ret))) + +(deftype PersistentArrayMap [meta cnt arr ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + + ;; EXPERIMENTAL: subject to change + (keys [coll] + (es6-iterator (keys coll))) + (entries [coll] + (es6-entries-iterator (seq coll))) + (values [coll] + (es6-iterator (vals coll))) + (has [coll k] + (contains? coll k)) + (get [coll k not-found] + (-lookup coll k not-found)) + (forEach [coll f] + (doseq [[k v] coll] + (f v k))) + + ICloneable + (-clone [_] (PersistentArrayMap. meta cnt arr __hash)) + + IWithMeta + (-with-meta [coll meta] (PersistentArrayMap. meta cnt arr __hash)) + + IMeta + (-meta [coll] meta) + + ICollection + (-conj [coll entry] + (if (vector? entry) + (-assoc coll (-nth entry 0) (-nth entry 1)) + (loop [ret coll es (seq entry)] + (if (nil? es) + ret + (let [e (first es)] + (if (vector? e) + (recur (-assoc ret (-nth e 0) (-nth e 1)) + (next es)) + (throw (js/Error. "conj on a map takes map entries or seqables of map entries")))))))) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY PersistentArrayMap) meta)) + + IEquiv + (-equiv [coll other] + (if (and (map? other) (not (record? other))) + (let [alen (alength arr) + ^not-native other other] + (if (== cnt (-count other)) + (loop [i 0] + (if (< i alen) + (let [v (-lookup other (aget arr i) lookup-sentinel)] + (if-not (identical? v lookup-sentinel) + (if (= (aget arr (inc i)) v) + (recur (+ i 2)) + false) + false)) + true)) + false)) + false)) + + IHash + (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) + + IIterable + (-iterator [this] + (PersistentArrayMapIterator. arr 0 (* cnt 2))) + + ISeqable + (-seq [coll] + (persistent-array-map-seq arr 0 nil)) + + ICounted + (-count [coll] cnt) + + ILookup + (-lookup [coll k] + (-lookup coll k nil)) + + (-lookup [coll k not-found] + (let [idx (array-map-index-of coll k)] + (if (== idx -1) + not-found + (aget arr (inc idx))))) + + IAssociative + (-assoc [coll k v] + (let [idx (array-map-index-of coll k)] + (cond + (== idx -1) + (if (< cnt (.-HASHMAP-THRESHOLD PersistentArrayMap)) + (let [arr (array-map-extend-kv coll k v)] + (PersistentArrayMap. meta (inc cnt) arr nil)) + (-> (into (.-EMPTY PersistentHashMap) coll) + (-assoc k v) + (-with-meta meta))) + + (identical? v (aget arr (inc idx))) + coll + + :else + (let [arr (doto (aclone arr) + (aset (inc idx) v))] + (PersistentArrayMap. meta cnt arr nil))))) + + (-contains-key? [coll k] + (not (== (array-map-index-of coll k) -1))) + + IFind + (-find [coll k] + (let [idx (array-map-index-of coll k)] + (when-not (== idx -1) + (MapEntry. (aget arr idx) (aget arr (inc idx)) nil)))) + + IMap + (-dissoc [coll k] + (let [idx (array-map-index-of coll k)] + (if (>= idx 0) + (let [len (alength arr) + new-len (- len 2)] + (if (zero? new-len) + (-empty coll) + (let [new-arr (make-array new-len)] + (loop [s 0 d 0] + (cond + (>= s len) (PersistentArrayMap. meta (dec cnt) new-arr nil) + (= k (aget arr s)) (recur (+ s 2) d) + :else (do (aset new-arr d (aget arr s)) + (aset new-arr (inc d) (aget arr (inc s))) + (recur (+ s 2) (+ d 2)))))))) + coll))) + + IKVReduce + (-kv-reduce [coll f init] + (let [len (alength arr)] + (loop [i 0 init init] + (if (< i len) + (let [init (f init (aget arr i) (aget arr (inc i)))] + (if (reduced? init) + @init + (recur (+ i 2) init))) + init)))) + + IReduce + (-reduce [coll f] + (iter-reduce coll f)) + (-reduce [coll f start] + (iter-reduce coll f start)) + + IFn + (-invoke [coll k] + (-lookup coll k)) + + (-invoke [coll k not-found] + (-lookup coll k not-found)) + + IEditableCollection + (-as-transient [coll] + (TransientArrayMap. (js-obj) (alength arr) (aclone arr)))) + +(set! (.-EMPTY PersistentArrayMap) (PersistentArrayMap. nil 0 (array) empty-unordered-hash)) + +(set! (.-HASHMAP-THRESHOLD PersistentArrayMap) 8) + +(set! (.-fromArray PersistentArrayMap) + (fn [arr ^boolean no-clone ^boolean no-check] + (as-> (if no-clone arr (aclone arr)) arr + (if no-check + arr + (let [ret (array)] + (loop [i 0] + (when (< i (alength arr)) + (let [k (aget arr i) + v (aget arr (inc i)) + idx (array-index-of ret k)] + (when (== idx -1) + (.push ret k) + (.push ret v))) + (recur (+ i 2)))) + ret)) + (let [cnt (/ (alength arr) 2)] + (PersistentArrayMap. nil cnt arr nil))))) + +(set! (.-createWithCheck PersistentArrayMap) + (fn [arr] + (let [ret (array)] + (loop [i 0] + (when (< i (alength arr)) + (let [k (aget arr i) + v (aget arr (inc i)) + idx (array-index-of ret k)] + (if (== idx -1) + (doto ret (.push k) (.push v)) + (throw (js/Error. (str "Duplicate key: " k))))) + (recur (+ i 2)))) + (let [cnt (/ (alength arr) 2)] + (PersistentArrayMap. nil cnt arr nil))))) + +(set! (.-createAsIfByAssoc PersistentArrayMap) + (fn [arr] + (let [ret (array)] + (loop [i 0] + (when (< i (alength arr)) + (let [k (aget arr i) + v (aget arr (inc i)) + idx (array-index-of ret k)] + (if (== idx -1) + (doto ret (.push k) (.push v)) + (aset ret (inc idx) v))) + (recur (+ i 2)))) + (PersistentArrayMap. nil (/ (alength ret) 2) ret nil)))) + +(es6-iterable PersistentArrayMap) + +(declare array->transient-hash-map) + +(deftype TransientArrayMap [^:mutable editable? + ^:mutable len + arr] + ICounted + (-count [tcoll] + (if editable? + (quot len 2) + (throw (js/Error. "count after persistent!")))) + + ILookup + (-lookup [tcoll k] + (-lookup tcoll k nil)) + + (-lookup [tcoll k not-found] + (if editable? + (let [idx (array-map-index-of tcoll k)] + (if (== idx -1) + not-found + (aget arr (inc idx)))) + (throw (js/Error. "lookup after persistent!")))) + + ITransientCollection + (-conj! [tcoll o] + (if editable? + (cond + (map-entry? o) + (-assoc! tcoll (key o) (val o)) + + (vector? o) + (-assoc! tcoll (o 0) (o 1)) + + :else + (loop [es (seq o) tcoll tcoll] + (if-let [e (first es)] + (recur (next es) + (-assoc! tcoll (key e) (val e))) + tcoll))) + (throw (js/Error. "conj! after persistent!")))) + + (-persistent! [tcoll] + (if editable? + (do (set! editable? false) + (PersistentArrayMap. nil (quot len 2) arr nil)) + (throw (js/Error. "persistent! called twice")))) + + ITransientAssociative + (-assoc! [tcoll key val] + (if editable? + (let [idx (array-map-index-of tcoll key)] + (if (== idx -1) + (if (<= (+ len 2) (* 2 (.-HASHMAP-THRESHOLD PersistentArrayMap))) + (do (set! len (+ len 2)) + (.push arr key) + (.push arr val) + tcoll) + (assoc! (array->transient-hash-map len arr) key val)) + (if (identical? val (aget arr (inc idx))) + tcoll + (do (aset arr (inc idx) val) + tcoll)))) + (throw (js/Error. "assoc! after persistent!")))) + + ITransientMap + (-dissoc! [tcoll key] + (if editable? + (let [idx (array-map-index-of tcoll key)] + (when (>= idx 0) + (aset arr idx (aget arr (- len 2))) + (aset arr (inc idx) (aget arr (dec len))) + (doto arr .pop .pop) + (set! len (- len 2))) + tcoll) + (throw (js/Error. "dissoc! after persistent!")))) + + IFn + (-invoke [tcoll key] + (-lookup tcoll key nil)) + (-invoke [tcoll key not-found] + (-lookup tcoll key not-found))) + +(declare TransientHashMap) + +(defn- array->transient-hash-map [len arr] + (loop [out (transient (.-EMPTY PersistentHashMap)) + i 0] + (if (< i len) + (recur (assoc! out (aget arr i) (aget arr (inc i))) (+ i 2)) + out))) + +;;; PersistentHashMap + +(deftype Box [^:mutable val]) + +(declare create-inode-seq create-array-node-seq reset! create-node atom deref) + +(defn ^boolean key-test [key other] + (cond + (identical? key other) true + (keyword-identical? key other) true + :else (= key other))) + +(defn- mask [hash shift] + (bit-and (bit-shift-right-zero-fill hash shift) 0x01f)) + +(defn- clone-and-set + ([arr i a] + (doto (aclone arr) + (aset i a))) + ([arr i a j b] + (doto (aclone arr) + (aset i a) + (aset j b)))) + +(defn- remove-pair [arr i] + (let [new-arr (make-array (- (alength arr) 2))] + (array-copy arr 0 new-arr 0 (* 2 i)) + (array-copy arr (* 2 (inc i)) new-arr (* 2 i) (- (alength new-arr) (* 2 i))) + new-arr)) + +(defn- bitmap-indexed-node-index [bitmap bit] + (bit-count (bit-and bitmap (dec bit)))) + +(defn- bitpos [hash shift] + (bit-shift-left 1 (mask hash shift))) + +(defn- edit-and-set + ([inode edit i a] + (let [editable (.ensure-editable inode edit)] + (aset (.-arr editable) i a) + editable)) + ([inode edit i a j b] + (let [editable (.ensure-editable inode edit)] + (aset (.-arr editable) i a) + (aset (.-arr editable) j b) + editable))) + +(defn- inode-kv-reduce [arr f init] + (let [len (alength arr)] + (loop [i 0 init init] + (if (< i len) + (let [init (let [k (aget arr i)] + (if-not (nil? k) + (f init k (aget arr (inc i))) + (let [node (aget arr (inc i))] + (if-not (nil? node) + (.kv-reduce node f init) + init))))] + (if (reduced? init) + init + (recur (+ i 2) init))) + init)))) + +(declare ArrayNode) + + (deftype NodeIterator [arr ^:mutable i ^:mutable next-entry ^:mutable next-iter] + Object + (advance [this] + (let [len (alength arr)] + (loop [] + (if (< i len) + (let [key (aget arr i) + node-or-val (aget arr (inc i)) + ^boolean found + (cond (some? key) + (set! next-entry (MapEntry. key node-or-val nil)) + (some? node-or-val) + (let [new-iter (-iterator node-or-val)] + (if ^boolean (.hasNext new-iter) + (set! next-iter new-iter) + false)) + :else false)] + (set! i (+ i 2)) + (if found true (recur))) + false)))) + (hasNext [this] + (or (some? next-entry) (some? next-iter) (.advance this))) + (next [this] + (cond + (some? next-entry) + (let [ret next-entry] + (set! next-entry nil) + ret) + (some? next-iter) + (let [ret (.next next-iter)] + (when-not ^boolean (.hasNext next-iter) + (set! next-iter nil)) + ret) + ^boolean (.advance this) + (.next this) + :else (throw (js/Error. "No such element")))) + (remove [_] (js/Error. "Unsupported operation"))) + +(deftype BitmapIndexedNode [edit ^:mutable bitmap ^:mutable arr] + Object + (inode-assoc [inode shift hash key val added-leaf?] + (let [bit (bitpos hash shift) + idx (bitmap-indexed-node-index bitmap bit)] + (if (zero? (bit-and bitmap bit)) + (let [n (bit-count bitmap)] + (if (>= n 16) + (let [nodes (make-array 32) + jdx (mask hash shift)] + (aset nodes jdx (.inode-assoc (.-EMPTY BitmapIndexedNode) (+ shift 5) hash key val added-leaf?)) + (loop [i 0 j 0] + (if (< i 32) + (if (zero? (bit-and (bit-shift-right-zero-fill bitmap i) 1)) + (recur (inc i) j) + (do (aset nodes i + (if-not (nil? (aget arr j)) + (.inode-assoc (.-EMPTY BitmapIndexedNode) + (+ shift 5) (cljs.core/hash (aget arr j)) (aget arr j) (aget arr (inc j)) added-leaf?) + (aget arr (inc j)))) + (recur (inc i) (+ j 2)))))) + (ArrayNode. nil (inc n) nodes)) + (let [new-arr (make-array (* 2 (inc n)))] + (array-copy arr 0 new-arr 0 (* 2 idx)) + (aset new-arr (* 2 idx) key) + (aset new-arr (inc (* 2 idx)) val) + (array-copy arr (* 2 idx) new-arr (* 2 (inc idx)) (* 2 (- n idx))) + (set! (.-val added-leaf?) true) + (BitmapIndexedNode. nil (bit-or bitmap bit) new-arr)))) + (let [key-or-nil (aget arr (* 2 idx)) + val-or-node (aget arr (inc (* 2 idx)))] + (cond (nil? key-or-nil) + (let [n (.inode-assoc val-or-node (+ shift 5) hash key val added-leaf?)] + (if (identical? n val-or-node) + inode + (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) n)))) + + (key-test key key-or-nil) + (if (identical? val val-or-node) + inode + (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) val))) + + :else + (do (set! (.-val added-leaf?) true) + (BitmapIndexedNode. nil bitmap + (clone-and-set arr (* 2 idx) nil (inc (* 2 idx)) + (create-node (+ shift 5) key-or-nil val-or-node hash key val))))))))) + + (inode-without [inode shift hash key] + (let [bit (bitpos hash shift)] + (if (zero? (bit-and bitmap bit)) + inode + (let [idx (bitmap-indexed-node-index bitmap bit) + key-or-nil (aget arr (* 2 idx)) + val-or-node (aget arr (inc (* 2 idx)))] + (cond (nil? key-or-nil) + (let [n (.inode-without val-or-node (+ shift 5) hash key)] + (cond (identical? n val-or-node) inode + (not (nil? n)) (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) n)) + (== bitmap bit) nil + :else (BitmapIndexedNode. nil (bit-xor bitmap bit) (remove-pair arr idx)))) + (key-test key key-or-nil) + (BitmapIndexedNode. nil (bit-xor bitmap bit) (remove-pair arr idx)) + :else inode))))) + + (inode-lookup [inode shift hash key not-found] + (let [bit (bitpos hash shift)] + (if (zero? (bit-and bitmap bit)) + not-found + (let [idx (bitmap-indexed-node-index bitmap bit) + key-or-nil (aget arr (* 2 idx)) + val-or-node (aget arr (inc (* 2 idx)))] + (cond (nil? key-or-nil) (.inode-lookup val-or-node (+ shift 5) hash key not-found) + (key-test key key-or-nil) val-or-node + :else not-found))))) + + (inode-find [inode shift hash key not-found] + (let [bit (bitpos hash shift)] + (if (zero? (bit-and bitmap bit)) + not-found + (let [idx (bitmap-indexed-node-index bitmap bit) + key-or-nil (aget arr (* 2 idx)) + val-or-node (aget arr (inc (* 2 idx)))] + (cond (nil? key-or-nil) (.inode-find val-or-node (+ shift 5) hash key not-found) + (key-test key key-or-nil) (MapEntry. key-or-nil val-or-node nil) + :else not-found))))) + + (inode-seq [inode] + (create-inode-seq arr)) + + (ensure-editable [inode e] + (if (identical? e edit) + inode + (let [n (bit-count bitmap) + new-arr (make-array (if (neg? n) 4 (* 2 (inc n))))] + (array-copy arr 0 new-arr 0 (* 2 n)) + (BitmapIndexedNode. e bitmap new-arr)))) + + (edit-and-remove-pair [inode e bit i] + (if (== bitmap bit) + nil + (let [editable (.ensure-editable inode e) + earr (.-arr editable) + len (alength earr)] + (set! (.-bitmap editable) (bit-xor bit (.-bitmap editable))) + (array-copy earr (* 2 (inc i)) + earr (* 2 i) + (- len (* 2 (inc i)))) + (aset earr (- len 2) nil) + (aset earr (dec len) nil) + editable))) + + (inode-assoc! [inode edit shift hash key val added-leaf?] + (let [bit (bitpos hash shift) + idx (bitmap-indexed-node-index bitmap bit)] + (if (zero? (bit-and bitmap bit)) + (let [n (bit-count bitmap)] + (cond + (< (* 2 n) (alength arr)) + (let [editable (.ensure-editable inode edit) + earr (.-arr editable)] + (set! (.-val added-leaf?) true) + (array-copy-downward earr (* 2 idx) + earr (* 2 (inc idx)) + (* 2 (- n idx))) + (aset earr (* 2 idx) key) + (aset earr (inc (* 2 idx)) val) + (set! (.-bitmap editable) (bit-or (.-bitmap editable) bit)) + editable) + + (>= n 16) + (let [nodes (make-array 32) + jdx (mask hash shift)] + (aset nodes jdx (.inode-assoc! (.-EMPTY BitmapIndexedNode) edit (+ shift 5) hash key val added-leaf?)) + (loop [i 0 j 0] + (if (< i 32) + (if (zero? (bit-and (bit-shift-right-zero-fill bitmap i) 1)) + (recur (inc i) j) + (do (aset nodes i + (if-not (nil? (aget arr j)) + (.inode-assoc! (.-EMPTY BitmapIndexedNode) + edit (+ shift 5) (cljs.core/hash (aget arr j)) (aget arr j) (aget arr (inc j)) added-leaf?) + (aget arr (inc j)))) + (recur (inc i) (+ j 2)))))) + (ArrayNode. edit (inc n) nodes)) + + :else + (let [new-arr (make-array (* 2 (+ n 4)))] + (array-copy arr 0 new-arr 0 (* 2 idx)) + (aset new-arr (* 2 idx) key) + (aset new-arr (inc (* 2 idx)) val) + (array-copy arr (* 2 idx) new-arr (* 2 (inc idx)) (* 2 (- n idx))) + (set! (.-val added-leaf?) true) + (let [editable (.ensure-editable inode edit)] + (set! (.-arr editable) new-arr) + (set! (.-bitmap editable) (bit-or (.-bitmap editable) bit)) + editable)))) + (let [key-or-nil (aget arr (* 2 idx)) + val-or-node (aget arr (inc (* 2 idx)))] + (cond (nil? key-or-nil) + (let [n (.inode-assoc! val-or-node edit (+ shift 5) hash key val added-leaf?)] + (if (identical? n val-or-node) + inode + (edit-and-set inode edit (inc (* 2 idx)) n))) + + (key-test key key-or-nil) + (if (identical? val val-or-node) + inode + (edit-and-set inode edit (inc (* 2 idx)) val)) + + :else + (do (set! (.-val added-leaf?) true) + (edit-and-set inode edit (* 2 idx) nil (inc (* 2 idx)) + (create-node edit (+ shift 5) key-or-nil val-or-node hash key val)))))))) + + (inode-without! [inode edit shift hash key removed-leaf?] + (let [bit (bitpos hash shift)] + (if (zero? (bit-and bitmap bit)) + inode + (let [idx (bitmap-indexed-node-index bitmap bit) + key-or-nil (aget arr (* 2 idx)) + val-or-node (aget arr (inc (* 2 idx)))] + (cond (nil? key-or-nil) + (let [n (.inode-without! val-or-node edit (+ shift 5) hash key removed-leaf?)] + (cond (identical? n val-or-node) inode + (not (nil? n)) (edit-and-set inode edit (inc (* 2 idx)) n) + (== bitmap bit) nil + :else (.edit-and-remove-pair inode edit bit idx))) + (key-test key key-or-nil) + (do (set! (.-val removed-leaf?) true) + (.edit-and-remove-pair inode edit bit idx)) + :else inode))))) + + (kv-reduce [inode f init] + (inode-kv-reduce arr f init)) + + IIterable + (-iterator [coll] + (NodeIterator. arr 0 nil nil))) + +(set! (.-EMPTY BitmapIndexedNode) (BitmapIndexedNode. nil 0 (make-array 0))) + +(defn- pack-array-node [array-node edit idx] + (let [arr (.-arr array-node) + len (alength arr) + new-arr (make-array (* 2 (dec (.-cnt array-node))))] + (loop [i 0 j 1 bitmap 0] + (if (< i len) + (if (and (not (== i idx)) + (not (nil? (aget arr i)))) + (do (aset new-arr j (aget arr i)) + (recur (inc i) (+ j 2) (bit-or bitmap (bit-shift-left 1 i)))) + (recur (inc i) j bitmap)) + (BitmapIndexedNode. edit bitmap new-arr))))) + +(deftype ArrayNodeIterator [arr ^:mutable i ^:mutable next-iter] + Object + (hasNext [this] + (let [len (alength arr)] + (loop [] + (if-not (and (some? next-iter) ^boolean (.hasNext next-iter)) + (if (< i len) + (let [node (aget arr i)] + (set! i (inc i)) + (when (some? node) + (set! next-iter (-iterator node))) + (recur)) + false) + true)))) + (next [this] + (if ^boolean (.hasNext this) + (.next next-iter) + (throw (js/Error. "No such element")))) + (remove [_] (js/Error. "Unsupported operation"))) + +(deftype ArrayNode [edit ^:mutable cnt ^:mutable arr] + Object + (inode-assoc [inode shift hash key val added-leaf?] + (let [idx (mask hash shift) + node (aget arr idx)] + (if (nil? node) + (ArrayNode. nil (inc cnt) (clone-and-set arr idx (.inode-assoc (.-EMPTY BitmapIndexedNode) (+ shift 5) hash key val added-leaf?))) + (let [n (.inode-assoc node (+ shift 5) hash key val added-leaf?)] + (if (identical? n node) + inode + (ArrayNode. nil cnt (clone-and-set arr idx n))))))) + + (inode-without [inode shift hash key] + (let [idx (mask hash shift) + node (aget arr idx)] + (if-not (nil? node) + (let [n (.inode-without node (+ shift 5) hash key)] + (cond + (identical? n node) + inode + + (nil? n) + (if (<= cnt 8) + (pack-array-node inode nil idx) + (ArrayNode. nil (dec cnt) (clone-and-set arr idx n))) + + :else + (ArrayNode. nil cnt (clone-and-set arr idx n)))) + inode))) + + (inode-lookup [inode shift hash key not-found] + (let [idx (mask hash shift) + node (aget arr idx)] + (if-not (nil? node) + (.inode-lookup node (+ shift 5) hash key not-found) + not-found))) + + (inode-find [inode shift hash key not-found] + (let [idx (mask hash shift) + node (aget arr idx)] + (if-not (nil? node) + (.inode-find node (+ shift 5) hash key not-found) + not-found))) + + (inode-seq [inode] + (create-array-node-seq arr)) + + (ensure-editable [inode e] + (if (identical? e edit) + inode + (ArrayNode. e cnt (aclone arr)))) + + (inode-assoc! [inode edit shift hash key val added-leaf?] + (let [idx (mask hash shift) + node (aget arr idx)] + (if (nil? node) + (let [editable (edit-and-set inode edit idx (.inode-assoc! (.-EMPTY BitmapIndexedNode) edit (+ shift 5) hash key val added-leaf?))] + (set! (.-cnt editable) (inc (.-cnt editable))) + editable) + (let [n (.inode-assoc! node edit (+ shift 5) hash key val added-leaf?)] + (if (identical? n node) + inode + (edit-and-set inode edit idx n)))))) + + (inode-without! [inode edit shift hash key removed-leaf?] + (let [idx (mask hash shift) + node (aget arr idx)] + (if (nil? node) + inode + (let [n (.inode-without! node edit (+ shift 5) hash key removed-leaf?)] + (cond + (identical? n node) + inode + + (nil? n) + (if (<= cnt 8) + (pack-array-node inode edit idx) + (let [editable (edit-and-set inode edit idx n)] + (set! (.-cnt editable) (dec (.-cnt editable))) + editable)) + + :else + (edit-and-set inode edit idx n)))))) + + (kv-reduce [inode f init] + (let [len (alength arr)] ; actually 32 + (loop [i 0 init init] + (if (< i len) + (let [node (aget arr i)] + (if-not (nil? node) + (let [init (.kv-reduce node f init)] + (if (reduced? init) + init + (recur (inc i) init))) + (recur (inc i) init))) + init)))) + + IIterable + (-iterator [coll] + (ArrayNodeIterator. arr 0 nil))) + +(defn- hash-collision-node-find-index [arr cnt key] + (let [lim (* 2 cnt)] + (loop [i 0] + (if (< i lim) + (if (key-test key (aget arr i)) + i + (recur (+ i 2))) + -1)))) + +(deftype HashCollisionNode [edit + ^:mutable collision-hash + ^:mutable cnt + ^:mutable arr] + Object + (inode-assoc [inode shift hash key val added-leaf?] + (if (== hash collision-hash) + (let [idx (hash-collision-node-find-index arr cnt key)] + (if (== idx -1) + (let [len (* 2 cnt) + new-arr (make-array (+ len 2))] + (array-copy arr 0 new-arr 0 len) + (aset new-arr len key) + (aset new-arr (inc len) val) + (set! (.-val added-leaf?) true) + (HashCollisionNode. nil collision-hash (inc cnt) new-arr)) + (if (= (aget arr (inc idx)) val) + inode + (HashCollisionNode. nil collision-hash cnt (clone-and-set arr (inc idx) val))))) + (.inode-assoc (BitmapIndexedNode. nil (bitpos collision-hash shift) (array nil inode)) + shift hash key val added-leaf?))) + + (inode-without [inode shift hash key] + (let [idx (hash-collision-node-find-index arr cnt key)] + (cond (== idx -1) inode + (== cnt 1) nil + :else (HashCollisionNode. nil collision-hash (dec cnt) (remove-pair arr (quot idx 2)))))) + + (inode-lookup [inode shift hash key not-found] + (let [idx (hash-collision-node-find-index arr cnt key)] + (cond (< idx 0) not-found + (key-test key (aget arr idx)) (aget arr (inc idx)) + :else not-found))) + + (inode-find [inode shift hash key not-found] + (let [idx (hash-collision-node-find-index arr cnt key)] + (cond (< idx 0) not-found + (key-test key (aget arr idx)) (MapEntry. (aget arr idx) (aget arr (inc idx)) nil) + :else not-found))) + + (inode-seq [inode] + (create-inode-seq arr)) + + (ensure-editable [inode e] + (if (identical? e edit) + inode + (let [new-arr (make-array (* 2 (inc cnt)))] + (array-copy arr 0 new-arr 0 (* 2 cnt)) + (HashCollisionNode. e collision-hash cnt new-arr)))) + + (ensure-editable-array [inode e count array] + (if (identical? e edit) + (do (set! arr array) + (set! cnt count) + inode) + (HashCollisionNode. edit collision-hash count array))) + + (inode-assoc! [inode edit shift hash key val added-leaf?] + (if (== hash collision-hash) + (let [idx (hash-collision-node-find-index arr cnt key)] + (if (== idx -1) + (if (> (alength arr) (* 2 cnt)) + (let [editable (edit-and-set inode edit (* 2 cnt) key (inc (* 2 cnt)) val)] + (set! (.-val added-leaf?) true) + (set! (.-cnt editable) (inc (.-cnt editable))) + editable) + (let [len (alength arr) + new-arr (make-array (+ len 2))] + (array-copy arr 0 new-arr 0 len) + (aset new-arr len key) + (aset new-arr (inc len) val) + (set! (.-val added-leaf?) true) + (.ensure-editable-array inode edit (inc cnt) new-arr))) + (if (identical? (aget arr (inc idx)) val) + inode + (edit-and-set inode edit (inc idx) val)))) + (.inode-assoc! (BitmapIndexedNode. edit (bitpos collision-hash shift) (array nil inode nil nil)) + edit shift hash key val added-leaf?))) + + (inode-without! [inode edit shift hash key removed-leaf?] + (let [idx (hash-collision-node-find-index arr cnt key)] + (if (== idx -1) + inode + (do (set! (.-val removed-leaf?) true) + (if (== cnt 1) + nil + (let [editable (.ensure-editable inode edit) + earr (.-arr editable)] + (aset earr idx (aget earr (- (* 2 cnt) 2))) + (aset earr (inc idx) (aget earr (dec (* 2 cnt)))) + (aset earr (dec (* 2 cnt)) nil) + (aset earr (- (* 2 cnt) 2) nil) + (set! (.-cnt editable) (dec (.-cnt editable))) + editable)))))) + + (kv-reduce [inode f init] + (inode-kv-reduce arr f init)) + + IIterable + (-iterator [coll] + (NodeIterator. arr 0 nil nil))) + +(defn- create-node + ([shift key1 val1 key2hash key2 val2] + (let [key1hash (hash key1)] + (if (== key1hash key2hash) + (HashCollisionNode. nil key1hash 2 (array key1 val1 key2 val2)) + (let [added-leaf? (Box. false)] + (-> (.-EMPTY BitmapIndexedNode) + (.inode-assoc shift key1hash key1 val1 added-leaf?) + (.inode-assoc shift key2hash key2 val2 added-leaf?)))))) + ([edit shift key1 val1 key2hash key2 val2] + (let [key1hash (hash key1)] + (if (== key1hash key2hash) + (HashCollisionNode. nil key1hash 2 (array key1 val1 key2 val2)) + (let [added-leaf? (Box. false)] + (-> (.-EMPTY BitmapIndexedNode) + (.inode-assoc! edit shift key1hash key1 val1 added-leaf?) + (.inode-assoc! edit shift key2hash key2 val2 added-leaf?))))))) + +(deftype NodeSeq [meta nodes i s ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMeta + (-meta [coll] meta) + + IWithMeta + (-with-meta [coll meta] (NodeSeq. meta nodes i s __hash)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + ISeq + (-first [coll] + (if (nil? s) + (MapEntry. (aget nodes i) (aget nodes (inc i)) nil) + (first s))) + + (-rest [coll] + (let [ret (if (nil? s) + (create-inode-seq nodes (+ i 2) nil) + (create-inode-seq nodes i (next s)))] + (if-not (nil? ret) ret ()))) + + INext + (-next [coll] + (if (nil? s) + (create-inode-seq nodes (+ i 2) nil) + (create-inode-seq nodes i (next s)))) + + ISeqable + (-seq [this] this) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable NodeSeq) + +(defn- create-inode-seq + ([nodes] + (create-inode-seq nodes 0 nil)) + ([nodes i s] + (if (nil? s) + (let [len (alength nodes)] + (loop [j i] + (if (< j len) + (if-not (nil? (aget nodes j)) + (NodeSeq. nil nodes j nil nil) + (if-let [node (aget nodes (inc j))] + (if-let [node-seq (.inode-seq node)] + (NodeSeq. nil nodes (+ j 2) node-seq nil) + (recur (+ j 2))) + (recur (+ j 2))))))) + (NodeSeq. nil nodes i s nil)))) + +(deftype ArrayNodeSeq [meta nodes i s ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMeta + (-meta [coll] meta) + + IWithMeta + (-with-meta [coll meta] (ArrayNodeSeq. meta nodes i s __hash)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + ISequential + ISeq + (-first [coll] (first s)) + (-rest [coll] + (let [ret (create-array-node-seq nil nodes i (next s))] + (if-not (nil? ret) ret ()))) + + INext + (-next [coll] + (create-array-node-seq nil nodes i (next s))) + + ISeqable + (-seq [this] this) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable ArrayNodeSeq) + +(defn- create-array-node-seq + ([nodes] (create-array-node-seq nil nodes 0 nil)) + ([meta nodes i s] + (if (nil? s) + (let [len (alength nodes)] + (loop [j i] + (if (< j len) + (if-let [nj (aget nodes j)] + (if-let [ns (.inode-seq nj)] + (ArrayNodeSeq. meta nodes (inc j) ns nil) + (recur (inc j))) + (recur (inc j)))))) + (ArrayNodeSeq. meta nodes i s nil)))) + +(deftype HashMapIter [nil-val root-iter ^:mutable seen] + Object + (hasNext [_] + (or (not ^boolean seen) ^boolean (.hasNext root-iter))) + (next [_] + (if-not ^boolean seen + (do + (set! seen true) + (MapEntry. nil nil-val nil)) + (.next root-iter))) + (remove [_] (js/Error. "Unsupported operation"))) + +(deftype PersistentHashMap [meta cnt root ^boolean has-nil? nil-val ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + + ;; EXPERIMENTAL: subject to change + (keys [coll] + (es6-iterator (keys coll))) + (entries [coll] + (es6-entries-iterator (seq coll))) + (values [coll] + (es6-iterator (vals coll))) + (has [coll k] + (contains? coll k)) + (get [coll k not-found] + (-lookup coll k not-found)) + (forEach [coll f] + (doseq [[k v] coll] + (f v k))) + + ICloneable + (-clone [_] (PersistentHashMap. meta cnt root has-nil? nil-val __hash)) + + IIterable + (-iterator [coll] + (let [root-iter (if ^boolean root (-iterator root) (nil-iter))] + (if has-nil? + (HashMapIter. nil-val root-iter false) + root-iter))) + + IWithMeta + (-with-meta [coll meta] (PersistentHashMap. meta cnt root has-nil? nil-val __hash)) + + IMeta + (-meta [coll] meta) + + ICollection + (-conj [coll entry] + (if (vector? entry) + (-assoc coll (-nth entry 0) (-nth entry 1)) + (loop [ret coll es (seq entry)] + (if (nil? es) + ret + (let [e (first es)] + (if (vector? e) + (recur (-assoc ret (-nth e 0) (-nth e 1)) + (next es)) + (throw (js/Error. "conj on a map takes map entries or seqables of map entries")))))))) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY PersistentHashMap) meta)) + + IEquiv + (-equiv [coll other] (equiv-map coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) + + ISeqable + (-seq [coll] + (when (pos? cnt) + (let [s (if-not (nil? root) (.inode-seq root))] + (if has-nil? + (cons (MapEntry. nil nil-val nil) s) + s)))) + + ICounted + (-count [coll] cnt) + + ILookup + (-lookup [coll k] + (-lookup coll k nil)) + + (-lookup [coll k not-found] + (cond (nil? k) (if has-nil? + nil-val + not-found) + (nil? root) not-found + :else (.inode-lookup root 0 (hash k) k not-found))) + + IAssociative + (-assoc [coll k v] + (if (nil? k) + (if (and has-nil? (identical? v nil-val)) + coll + (PersistentHashMap. meta (if has-nil? cnt (inc cnt)) root true v nil)) + (let [added-leaf? (Box. false) + new-root (-> (if (nil? root) + (.-EMPTY BitmapIndexedNode) + root) + (.inode-assoc 0 (hash k) k v added-leaf?))] + (if (identical? new-root root) + coll + (PersistentHashMap. meta (if ^boolean (.-val added-leaf?) (inc cnt) cnt) new-root has-nil? nil-val nil))))) + + (-contains-key? [coll k] + (cond (nil? k) has-nil? + (nil? root) false + :else (not (identical? (.inode-lookup root 0 (hash k) k lookup-sentinel) + lookup-sentinel)))) + + IFind + (-find [coll k] + (cond + (nil? k) (when has-nil? (MapEntry. nil nil-val nil)) + (nil? root) nil + :else (.inode-find root 0 (hash k) k nil))) + + IMap + (-dissoc [coll k] + (cond (nil? k) (if has-nil? + (PersistentHashMap. meta (dec cnt) root false nil nil) + coll) + (nil? root) coll + :else + (let [new-root (.inode-without root 0 (hash k) k)] + (if (identical? new-root root) + coll + (PersistentHashMap. meta (dec cnt) new-root has-nil? nil-val nil))))) + + IKVReduce + (-kv-reduce [coll f init] + (let [init (if has-nil? (f init nil nil-val) init)] + (cond + (reduced? init) @init + (not (nil? root)) (unreduced (.kv-reduce root f init)) + :else init))) + + IFn + (-invoke [coll k] + (-lookup coll k)) + + (-invoke [coll k not-found] + (-lookup coll k not-found)) + + IEditableCollection + (-as-transient [coll] + (TransientHashMap. (js-obj) root cnt has-nil? nil-val))) + +(set! (.-EMPTY PersistentHashMap) (PersistentHashMap. nil 0 nil false nil empty-unordered-hash)) + +(set! (.-fromArray PersistentHashMap) + (fn [arr ^boolean no-clone] + (let [arr (if no-clone arr (aclone arr)) + len (alength arr)] + (loop [i 0 ret (transient (.-EMPTY PersistentHashMap))] + (if (< i len) + (recur (+ i 2) + (-assoc! ret (aget arr i) (aget arr (inc i)))) + (-persistent! ret)))))) + +(set! (.-fromArrays PersistentHashMap) + (fn [ks vs] + (let [len (alength ks)] + (loop [i 0 ^not-native out (transient (.-EMPTY PersistentHashMap))] + (if (< i len) + (recur (inc i) (-assoc! out (aget ks i) (aget vs i))) + (persistent! out)))))) + +(set! (.-createWithCheck PersistentHashMap) + (fn [arr] + (let [len (alength arr) + ret (transient (.-EMPTY PersistentHashMap))] + (loop [i 0] + (when (< i len) + (-assoc! ret (aget arr i) (aget arr (inc i))) + (if (not= (-count ret) (inc (/ i 2))) + (throw (js/Error. (str "Duplicate key: " (aget arr i)))) + (recur (+ i 2))))) + (-persistent! ret)))) + +(es6-iterable PersistentHashMap) + +(deftype TransientHashMap [^:mutable ^boolean edit + ^:mutable root + ^:mutable count + ^:mutable ^boolean has-nil? + ^:mutable nil-val] + Object + (conj! [tcoll o] + (if edit + (cond + (map-entry? o) + (.assoc! tcoll (key o) (val o)) + + (vector? o) + (.assoc! tcoll (o 0) (o 1)) + + :else + (loop [es (seq o) tcoll tcoll] + (if-let [e (first es)] + (recur (next es) + (.assoc! tcoll (key e) (val e))) + tcoll))) + (throw (js/Error. "conj! after persistent")))) + + (assoc! [tcoll k v] + (if edit + (if (nil? k) + (do (if (identical? nil-val v) + nil + (set! nil-val v)) + (if has-nil? + nil + (do (set! count (inc count)) + (set! has-nil? true))) + tcoll) + (let [added-leaf? (Box. false) + node (-> (if (nil? root) + (.-EMPTY BitmapIndexedNode) + root) + (.inode-assoc! edit 0 (hash k) k v added-leaf?))] + (if (identical? node root) + nil + (set! root node)) + (if ^boolean (.-val added-leaf?) + (set! count (inc count))) + tcoll)) + (throw (js/Error. "assoc! after persistent!")))) + + (without! [tcoll k] + (if edit + (if (nil? k) + (if has-nil? + (do (set! has-nil? false) + (set! nil-val nil) + (set! count (dec count)) + tcoll) + tcoll) + (if (nil? root) + tcoll + (let [removed-leaf? (Box. false) + node (.inode-without! root edit 0 (hash k) k removed-leaf?)] + (if (identical? node root) + nil + (set! root node)) + (if ^boolean (.-val removed-leaf?) + (set! count (dec count))) + tcoll))) + (throw (js/Error. "dissoc! after persistent!")))) + + (persistent! [tcoll] + (if edit + (do (set! edit nil) + (PersistentHashMap. nil count root has-nil? nil-val nil)) + (throw (js/Error. "persistent! called twice")))) + + ICounted + (-count [coll] + (if edit + count + (throw (js/Error. "count after persistent!")))) + + ILookup + (-lookup [tcoll k] + (if (nil? k) + (if has-nil? + nil-val) + (if (nil? root) + nil + (.inode-lookup root 0 (hash k) k)))) + + (-lookup [tcoll k not-found] + (if (nil? k) + (if has-nil? + nil-val + not-found) + (if (nil? root) + not-found + (.inode-lookup root 0 (hash k) k not-found)))) + + ITransientCollection + (-conj! [tcoll val] (.conj! tcoll val)) + + (-persistent! [tcoll] (.persistent! tcoll)) + + ITransientAssociative + (-assoc! [tcoll key val] (.assoc! tcoll key val)) + + ITransientMap + (-dissoc! [tcoll key] (.without! tcoll key)) + + IFn + (-invoke [tcoll key] + (-lookup tcoll key)) + (-invoke [tcoll key not-found] + (-lookup tcoll key not-found))) + +;;; PersistentTreeMap + +(defn- tree-map-seq-push [node stack ^boolean ascending?] + (loop [t node stack stack] + (if-not (nil? t) + (recur (if ascending? (.-left t) (.-right t)) + (conj stack t)) + stack))) + +(deftype PersistentTreeMapSeq [meta stack ^boolean ascending? cnt ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ISeqable + (-seq [this] this) + + ISequential + ISeq + (-first [this] (peek stack)) + (-rest [this] + (let [t (first stack) + next-stack (tree-map-seq-push (if ascending? (.-right t) (.-left t)) + (next stack) + ascending?)] + (if-not (nil? next-stack) + (PersistentTreeMapSeq. nil next-stack ascending? (dec cnt) nil) + ()))) + INext + (-next [this] + (let [t (first stack) + next-stack (tree-map-seq-push (if ascending? (.-right t) (.-left t)) + (next stack) + ascending?)] + (when-not (nil? next-stack) + (PersistentTreeMapSeq. nil next-stack ascending? (dec cnt) nil)))) + + ICounted + (-count [coll] + (if (neg? cnt) + (inc (count (next coll))) + cnt)) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ICollection + (-conj [coll o] (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) meta)) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IMeta + (-meta [coll] meta) + + IWithMeta + (-with-meta [coll meta] + (PersistentTreeMapSeq. meta stack ascending? cnt __hash)) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable PersistentTreeMapSeq) + +(defn- create-tree-map-seq [tree ascending? cnt] + (PersistentTreeMapSeq. nil (tree-map-seq-push tree nil ascending?) ascending? cnt nil)) + +(declare RedNode BlackNode) + +(defn- balance-left [key val ins right] + (if (instance? RedNode ins) + (cond + (instance? RedNode (.-left ins)) + (RedNode. (.-key ins) (.-val ins) + (.blacken (.-left ins)) + (BlackNode. key val (.-right ins) right nil) + nil) + + (instance? RedNode (.-right ins)) + (RedNode. (.. ins -right -key) (.. ins -right -val) + (BlackNode. (.-key ins) (.-val ins) + (.-left ins) + (.. ins -right -left) + nil) + (BlackNode. key val + (.. ins -right -right) + right + nil) + nil) + + :else + (BlackNode. key val ins right nil)) + (BlackNode. key val ins right nil))) + +(defn- balance-right [key val left ins] + (if (instance? RedNode ins) + (cond + (instance? RedNode (.-right ins)) + (RedNode. (.-key ins) (.-val ins) + (BlackNode. key val left (.-left ins) nil) + (.blacken (.-right ins)) + nil) + + (instance? RedNode (.-left ins)) + (RedNode. (.. ins -left -key) (.. ins -left -val) + (BlackNode. key val left (.. ins -left -left) nil) + (BlackNode. (.-key ins) (.-val ins) + (.. ins -left -right) + (.-right ins) + nil) + nil) + + :else + (BlackNode. key val left ins nil)) + (BlackNode. key val left ins nil))) + +(defn- balance-left-del [key val del right] + (cond + (instance? RedNode del) + (RedNode. key val (.blacken del) right nil) + + (instance? BlackNode right) + (balance-right key val del (.redden right)) + + (and (instance? RedNode right) (instance? BlackNode (.-left right))) + (RedNode. (.. right -left -key) (.. right -left -val) + (BlackNode. key val del (.. right -left -left) nil) + (balance-right (.-key right) (.-val right) + (.. right -left -right) + (.redden (.-right right))) + nil) + + :else + (throw (js/Error. "red-black tree invariant violation")))) + +(defn- balance-right-del [key val left del] + (cond + (instance? RedNode del) + (RedNode. key val left (.blacken del) nil) + + (instance? BlackNode left) + (balance-left key val (.redden left) del) + + (and (instance? RedNode left) (instance? BlackNode (.-right left))) + (RedNode. (.. left -right -key) (.. left -right -val) + (balance-left (.-key left) (.-val left) + (.redden (.-left left)) + (.. left -right -left)) + (BlackNode. key val (.. left -right -right) del nil) + nil) + + :else + (throw (js/Error. "red-black tree invariant violation")))) + +(defn- tree-map-kv-reduce [node f init] + (let [init (if-not (nil? (.-left node)) + (tree-map-kv-reduce (.-left node) f init) + init)] + (if (reduced? init) + init + (let [init (f init (.-key node) (.-val node))] + (if (reduced? init) + init + (if-not (nil? (.-right node)) + (tree-map-kv-reduce (.-right node) f init) + init)))))) + +(deftype BlackNode [key val left right ^:mutable __hash] + Object + (add-left [node ins] + (.balance-left ins node)) + + (add-right [node ins] + (.balance-right ins node)) + + (remove-left [node del] + (balance-left-del key val del right)) + + (remove-right [node del] + (balance-right-del key val left del)) + + (blacken [node] node) + + (redden [node] (RedNode. key val left right nil)) + + (balance-left [node parent] + (BlackNode. (.-key parent) (.-val parent) node (.-right parent) nil)) + + (balance-right [node parent] + (BlackNode. (.-key parent) (.-val parent) (.-left parent) node nil)) + + (replace [node key val left right] + (BlackNode. key val left right nil)) + + (kv-reduce [node f init] + (tree-map-kv-reduce node f init)) + + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMapEntry + (-key [node] key) + (-val [node] val) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IMeta + (-meta [node] nil) + + IWithMeta + (-with-meta [node meta] + (-with-meta [key val] meta)) + + IStack + (-peek [node] val) + + (-pop [node] [key]) + + ICollection + (-conj [node o] [key val o]) + + IEmptyableCollection + (-empty [node] nil) + + ISequential + ISeqable + (-seq [node] (IndexedSeq. #js [key val] 0 nil)) + + IReversible + (-rseq [node] (IndexedSeq. #js [val key] 0 nil)) + + ICounted + (-count [node] 2) + + IIndexed + (-nth [node n] + (cond (== n 0) key + (== n 1) val + :else (throw (js/Error. "Index out of bounds")))) + + (-nth [node n not-found] + (cond (== n 0) key + (== n 1) val + :else not-found)) + + ILookup + (-lookup [node k] (-nth node k nil)) + (-lookup [node k not-found] (-nth node k not-found)) + + IAssociative + (-assoc [node k v] + (assoc [key val] k v)) + (-contains-key? [node k] + (or (== k 0) (== k 1))) + + IFind + (-find [node k] + (case k + 0 (MapEntry. 0 key nil) + 1 (MapEntry. 1 val nil) + nil)) + + IVector + (-assoc-n [node n v] + (-assoc-n [key val] n v)) + + IReduce + (-reduce [node f] + (ci-reduce node f)) + + (-reduce [node f start] + (ci-reduce node f start)) + + IFn + (-invoke [node k] + (-nth node k)) + + (-invoke [node k not-found] + (-nth node k not-found))) + +(es6-iterable BlackNode) + +(deftype RedNode [key val left right ^:mutable __hash] + Object + (add-left [node ins] + (RedNode. key val ins right nil)) + + (add-right [node ins] + (RedNode. key val left ins nil)) + + (remove-left [node del] + (RedNode. key val del right nil)) + + (remove-right [node del] + (RedNode. key val left del nil)) + + (blacken [node] + (BlackNode. key val left right nil)) + + (redden [node] + (throw (js/Error. "red-black tree invariant violation"))) + + (balance-left [node parent] + (cond + (instance? RedNode left) + (RedNode. key val + (.blacken left) + (BlackNode. (.-key parent) (.-val parent) right (.-right parent) nil) + nil) + + (instance? RedNode right) + (RedNode. (.-key right) (.-val right) + (BlackNode. key val left (.-left right) nil) + (BlackNode. (.-key parent) (.-val parent) + (.-right right) + (.-right parent) + nil) + nil) + + :else + (BlackNode. (.-key parent) (.-val parent) node (.-right parent) nil))) + + (balance-right [node parent] + (cond + (instance? RedNode right) + (RedNode. key val + (BlackNode. (.-key parent) (.-val parent) + (.-left parent) + left + nil) + (.blacken right) + nil) + + (instance? RedNode left) + (RedNode. (.-key left) (.-val left) + (BlackNode. (.-key parent) (.-val parent) + (.-left parent) + (.-left left) + nil) + (BlackNode. key val (.-right left) right nil) + nil) + + :else + (BlackNode. (.-key parent) (.-val parent) (.-left parent) node nil))) + + (replace [node key val left right] + (RedNode. key val left right nil)) + + (kv-reduce [node f init] + (tree-map-kv-reduce node f init)) + + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMapEntry + (-key [node] key) + (-val [node] val) + + IHash + (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) + + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + IMeta + (-meta [node] nil) + + IWithMeta + (-with-meta [node meta] + (-with-meta [key val] meta)) + + IStack + (-peek [node] val) + + (-pop [node] [key]) + + ICollection + (-conj [node o] [key val o]) + + IEmptyableCollection + (-empty [node] nil) + + ISequential + ISeqable + (-seq [node] (IndexedSeq. #js [key val] 0 nil)) + + IReversible + (-rseq [node] (IndexedSeq. #js [val key] 0 nil)) + + ICounted + (-count [node] 2) + + IIndexed + (-nth [node n] + (cond (== n 0) key + (== n 1) val + :else (throw (js/Error. "Index out of bounds")))) + + (-nth [node n not-found] + (cond (== n 0) key + (== n 1) val + :else not-found)) + + ILookup + (-lookup [node k] (-nth node k nil)) + (-lookup [node k not-found] (-nth node k not-found)) + + IAssociative + (-assoc [node k v] + (assoc [key val] k v)) + (-contains-key? [node k] + (or (== k 0) (== k 1))) + + IFind + (-find [node k] + (case k + 0 (MapEntry. 0 key nil) + 1 (MapEntry. 1 val nil) + nil)) + + IVector + (-assoc-n [node n v] + (-assoc-n [key val] n v)) + + IReduce + (-reduce [node f] + (ci-reduce node f)) + + (-reduce [node f start] + (ci-reduce node f start)) + + IFn + (-invoke [node k] + (-nth node k)) + + (-invoke [node k not-found] + (-nth node k not-found))) + +(es6-iterable RedNode) + +(defn- tree-map-add [comp tree k v found] + (if (nil? tree) + (RedNode. k v nil nil nil) + (let [c (comp k (.-key tree))] + (cond + (zero? c) + (do (aset found 0 tree) + nil) + + (neg? c) + (let [ins (tree-map-add comp (.-left tree) k v found)] + (if-not (nil? ins) + (.add-left tree ins))) + + :else + (let [ins (tree-map-add comp (.-right tree) k v found)] + (if-not (nil? ins) + (.add-right tree ins))))))) + +(defn- tree-map-append [left right] + (cond + (nil? left) + right + + (nil? right) + left + + (instance? RedNode left) + (if (instance? RedNode right) + (let [app (tree-map-append (.-right left) (.-left right))] + (if (instance? RedNode app) + (RedNode. (.-key app) (.-val app) + (RedNode. (.-key left) (.-val left) + (.-left left) + (.-left app) + nil) + (RedNode. (.-key right) (.-val right) + (.-right app) + (.-right right) + nil) + nil) + (RedNode. (.-key left) (.-val left) + (.-left left) + (RedNode. (.-key right) (.-val right) app (.-right right) nil) + nil))) + (RedNode. (.-key left) (.-val left) + (.-left left) + (tree-map-append (.-right left) right) + nil)) + + (instance? RedNode right) + (RedNode. (.-key right) (.-val right) + (tree-map-append left (.-left right)) + (.-right right) + nil) + + :else + (let [app (tree-map-append (.-right left) (.-left right))] + (if (instance? RedNode app) + (RedNode. (.-key app) (.-val app) + (BlackNode. (.-key left) (.-val left) + (.-left left) + (.-left app) + nil) + (BlackNode. (.-key right) (.-val right) + (.-right app) + (.-right right) + nil) + nil) + (balance-left-del (.-key left) (.-val left) + (.-left left) + (BlackNode. (.-key right) (.-val right) + app + (.-right right) + nil)))))) + +(defn- tree-map-remove [comp tree k found] + (if-not (nil? tree) + (let [c (comp k (.-key tree))] + (cond + (zero? c) + (do (aset found 0 tree) + (tree-map-append (.-left tree) (.-right tree))) + + (neg? c) + (let [del (tree-map-remove comp (.-left tree) k found)] + (if (or (not (nil? del)) (not (nil? (aget found 0)))) + (if (instance? BlackNode (.-left tree)) + (balance-left-del (.-key tree) (.-val tree) del (.-right tree)) + (RedNode. (.-key tree) (.-val tree) del (.-right tree) nil)))) + + :else + (let [del (tree-map-remove comp (.-right tree) k found)] + (if (or (not (nil? del)) (not (nil? (aget found 0)))) + (if (instance? BlackNode (.-right tree)) + (balance-right-del (.-key tree) (.-val tree) (.-left tree) del) + (RedNode. (.-key tree) (.-val tree) (.-left tree) del nil)))))))) + +(defn- tree-map-replace [comp tree k v] + (let [tk (.-key tree) + c (comp k tk)] + (cond (zero? c) (.replace tree tk v (.-left tree) (.-right tree)) + (neg? c) (.replace tree tk (.-val tree) (tree-map-replace comp (.-left tree) k v) (.-right tree)) + :else (.replace tree tk (.-val tree) (.-left tree) (tree-map-replace comp (.-right tree) k v))))) + +(declare key) + +(deftype PersistentTreeMap [comp tree cnt meta ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + + ;; EXPERIMENTAL: subject to change + (keys [coll] + (es6-iterator (keys coll))) + (entries [coll] + (es6-entries-iterator (seq coll))) + (values [coll] + (es6-iterator (vals coll))) + (has [coll k] + (contains? coll k)) + (get [coll k not-found] + (-lookup coll k not-found)) + (forEach [coll f] + (doseq [[k v] coll] + (f v k))) + + (entry-at [coll k] + (loop [t tree] + (if-not (nil? t) + (let [c (comp k (.-key t))] + (cond (zero? c) t + (neg? c) (recur (.-left t)) + :else (recur (.-right t))))))) + + ICloneable + (-clone [_] (PersistentTreeMap. comp tree cnt meta __hash)) + + IWithMeta + (-with-meta [coll meta] (PersistentTreeMap. comp tree cnt meta __hash)) + + IMeta + (-meta [coll] meta) + + ICollection + (-conj [coll entry] + (if (vector? entry) + (-assoc coll (-nth entry 0) (-nth entry 1)) + (loop [ret coll es (seq entry)] + (if (nil? es) + ret + (let [e (first es)] + (if (vector? e) + (recur (-assoc ret (-nth e 0) (-nth e 1)) + (next es)) + (throw (js/Error. "conj on a map takes map entries or seqables of map entries")))))))) + + IEmptyableCollection + (-empty [coll] (PersistentTreeMap. comp nil 0 meta 0)) + + IEquiv + (-equiv [coll other] (equiv-map coll other)) + + IHash + (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) + + ICounted + (-count [coll] cnt) + + IKVReduce + (-kv-reduce [coll f init] + (if-not (nil? tree) + (unreduced (tree-map-kv-reduce tree f init)) + init)) + + IFn + (-invoke [coll k] + (-lookup coll k)) + + (-invoke [coll k not-found] + (-lookup coll k not-found)) + + ISeqable + (-seq [coll] + (if (pos? cnt) + (create-tree-map-seq tree true cnt))) + + IReversible + (-rseq [coll] + (if (pos? cnt) + (create-tree-map-seq tree false cnt))) + + ILookup + (-lookup [coll k] + (-lookup coll k nil)) + + (-lookup [coll k not-found] + (let [n (.entry-at coll k)] + (if-not (nil? n) + (.-val n) + not-found))) + + IAssociative + (-assoc [coll k v] + (let [found (array nil) + t (tree-map-add comp tree k v found)] + (if (nil? t) + (let [found-node (nth found 0)] + (if (= v (.-val found-node)) + coll + (PersistentTreeMap. comp (tree-map-replace comp tree k v) cnt meta nil))) + (PersistentTreeMap. comp (.blacken t) (inc cnt) meta nil)))) + + (-contains-key? [coll k] + (not (nil? (.entry-at coll k)))) + + IFind + (-find [coll k] + (.entry-at coll k)) + + IMap + (-dissoc [coll k] + (let [found (array nil) + t (tree-map-remove comp tree k found)] + (if (nil? t) + (if (nil? (nth found 0)) + coll + (PersistentTreeMap. comp nil 0 meta nil)) + (PersistentTreeMap. comp (.blacken t) (dec cnt) meta nil)))) + + ISorted + (-sorted-seq [coll ascending?] + (if (pos? cnt) + (create-tree-map-seq tree ascending? cnt))) + + (-sorted-seq-from [coll k ascending?] + (if (pos? cnt) + (loop [stack nil t tree] + (if-not (nil? t) + (let [c (comp k (.-key t))] + (cond + (zero? c) (PersistentTreeMapSeq. nil (conj stack t) ascending? -1 nil) + ascending? (if (neg? c) + (recur (conj stack t) (.-left t)) + (recur stack (.-right t))) + :else (if (pos? c) + (recur (conj stack t) (.-right t)) + (recur stack (.-left t))))) + (when-not (nil? stack) + (PersistentTreeMapSeq. nil stack ascending? -1 nil)))))) + + (-entry-key [coll entry] (key entry)) + + (-comparator [coll] comp)) + +(set! (.-EMPTY PersistentTreeMap) (PersistentTreeMap. compare nil 0 nil empty-unordered-hash)) + +(es6-iterable PersistentTreeMap) + +(defn hash-map + "keyval => key val + Returns a new hash map with supplied mappings." + [& keyvals] + (loop [in (seq keyvals), out (transient (.-EMPTY PersistentHashMap))] + (if in + (recur (nnext in) (assoc! out (first in) (second in))) + (persistent! out)))) + +(defn array-map + "keyval => key val + Returns a new array map with supplied mappings." + [& keyvals] + (let [arr (if (and (instance? IndexedSeq keyvals) (zero? (.-i keyvals))) + (.-arr keyvals) + (into-array keyvals))] + (.createAsIfByAssoc PersistentArrayMap arr))) + +(defn obj-map + "keyval => key val + Returns a new object map with supplied mappings." + [& keyvals] + (let [ks (array) + obj (js-obj)] + (loop [kvs (seq keyvals)] + (if kvs + (do (.push ks (first kvs)) + (gobject/set obj (first kvs) (second kvs)) + (recur (nnext kvs))) + (.fromObject ObjMap ks obj))))) + +(defn sorted-map + "keyval => key val + Returns a new sorted map with supplied mappings." + ([& keyvals] + (loop [in (seq keyvals) out (.-EMPTY PersistentTreeMap)] + (if in + (recur (nnext in) (assoc out (first in) (second in))) + out)))) + +(defn sorted-map-by + "keyval => key val + Returns a new sorted map with supplied mappings, using the supplied comparator." + ([comparator & keyvals] + (loop [in (seq keyvals) + out (PersistentTreeMap. (fn->comparator comparator) nil 0 nil 0)] + (if in + (recur (nnext in) (assoc out (first in) (second in))) + out)))) + +(deftype KeySeq [^not-native mseq _meta] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMeta + (-meta [coll] _meta) + + IWithMeta + (-with-meta [coll new-meta] (KeySeq. mseq new-meta)) + + ISeqable + (-seq [coll] coll) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ICollection + (-conj [coll o] + (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) _meta)) + + IHash + (-hash [coll] (hash-ordered-coll coll)) + + ISeq + (-first [coll] + (let [^not-native me (-first mseq)] + (-key me))) + + (-rest [coll] + (let [nseq (if (satisfies? INext mseq) + (-next mseq) + (next mseq))] + (if-not (nil? nseq) + (KeySeq. nseq _meta) + ()))) + + INext + (-next [coll] + (let [nseq (if (satisfies? INext mseq) + (-next mseq) + (next mseq))] + (when-not (nil? nseq) + (KeySeq. nseq _meta)))) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable KeySeq) + +(defn keys + "Returns a sequence of the map's keys." + [hash-map] + (when-let [mseq (seq hash-map)] + (KeySeq. mseq nil))) + +(defn key + "Returns the key of the map entry." + [map-entry] + (-key map-entry)) + +(deftype ValSeq [^not-native mseq _meta] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + IMeta + (-meta [coll] _meta) + + IWithMeta + (-with-meta [coll new-meta] (ValSeq. mseq new-meta)) + + ISeqable + (-seq [coll] coll) + + ISequential + IEquiv + (-equiv [coll other] (equiv-sequential coll other)) + + ICollection + (-conj [coll o] + (cons o coll)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY List) _meta)) + + IHash + (-hash [coll] (hash-ordered-coll coll)) + + ISeq + (-first [coll] + (let [^not-native me (-first mseq)] + (-val me))) + + (-rest [coll] + (let [nseq (if (satisfies? INext mseq) + (-next mseq) + (next mseq))] + (if-not (nil? nseq) + (ValSeq. nseq _meta) + ()))) + + INext + (-next [coll] + (let [nseq (if (satisfies? INext mseq) + (-next mseq) + (next mseq))] + (when-not (nil? nseq) + (ValSeq. nseq _meta)))) + + IReduce + (-reduce [coll f] (seq-reduce f coll)) + (-reduce [coll f start] (seq-reduce f start coll))) + +(es6-iterable ValSeq) + +(defn vals + "Returns a sequence of the map's values." + [hash-map] + (when-let [mseq (seq hash-map)] + (ValSeq. mseq nil))) + +(defn val + "Returns the value in the map entry." + [map-entry] + (-val map-entry)) + +(defn merge + "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." + [& maps] + (when (some identity maps) + (reduce #(conj (or %1 {}) %2) maps))) + +(defn merge-with + "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)." + [f & maps] + (when (some identity maps) + (let [merge-entry (fn [m e] + (let [k (first e) v (second e)] + (if (contains? m k) + (assoc m k (f (get m k) v)) + (assoc m k v)))) + merge2 (fn [m1 m2] + (reduce merge-entry (or m1 {}) (seq m2)))] + (reduce merge2 maps)))) + +(defn select-keys + "Returns a map containing only those entries in map whose key is in keys" + [map keyseq] + (loop [ret {} keys (seq keyseq)] + (if keys + (let [key (first keys) + entry (get map key ::not-found)] + (recur + (if (not= entry ::not-found) + (assoc ret key entry) + ret) + (next keys))) + (-with-meta ret (meta map))))) + +;;; PersistentHashSet + +(declare TransientHashSet) + +(deftype HashSetIter [iter] + Object + (hasNext [_] + (.hasNext iter)) + (next [_] + (if ^boolean (.hasNext iter) + (.-key (.next iter)) + (throw (js/Error. "No such element")))) + (remove [_] (js/Error. "Unsupported operation"))) + +(deftype PersistentHashSet [meta hash-map ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + + ;; EXPERIMENTAL: subject to change + (keys [coll] + (es6-iterator (seq coll))) + (entries [coll] + (es6-set-entries-iterator (seq coll))) + (values [coll] + (es6-iterator (seq coll))) + (has [coll k] + (contains? coll k)) + (forEach [coll f] + (doseq [[k v] coll] + (f v k))) + + ICloneable + (-clone [_] (PersistentHashSet. meta hash-map __hash)) + + IIterable + (-iterator [coll] + (HashSetIter. (-iterator hash-map))) + + IWithMeta + (-with-meta [coll meta] (PersistentHashSet. meta hash-map __hash)) + + IMeta + (-meta [coll] meta) + + ICollection + (-conj [coll o] + (PersistentHashSet. meta (assoc hash-map o nil) nil)) + + IEmptyableCollection + (-empty [coll] (-with-meta (.-EMPTY PersistentHashSet) meta)) + + IEquiv + (-equiv [coll other] + (and + (set? other) + (== (count coll) (count other)) + ^boolean + (reduce-kv + #(or (contains? other %2) (reduced false)) + true hash-map))) + + IHash + (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) + + ISeqable + (-seq [coll] (keys hash-map)) + + ICounted + (-count [coll] (-count hash-map)) + + ILookup + (-lookup [coll v] + (-lookup coll v nil)) + (-lookup [coll v not-found] + (if (-contains-key? hash-map v) + v + not-found)) + + ISet + (-disjoin [coll v] + (PersistentHashSet. meta (-dissoc hash-map v) nil)) + + IFn + (-invoke [coll k] + (-lookup coll k)) + (-invoke [coll k not-found] + (-lookup coll k not-found)) + + IEditableCollection + (-as-transient [coll] (TransientHashSet. (-as-transient hash-map)))) + +(set! (.-EMPTY PersistentHashSet) + (PersistentHashSet. nil (.-EMPTY PersistentArrayMap) empty-unordered-hash)) + +(set! (.-fromArray PersistentHashSet) + (fn [items ^boolean no-clone] + (let [len (alength items)] + (if (<= len (.-HASHMAP-THRESHOLD PersistentArrayMap)) + (let [arr (if no-clone items (aclone items))] + (loop [i 0 + out (transient (.-EMPTY PersistentArrayMap))] + (if (< i len) + (recur (inc i) (-assoc! out (aget items i) nil)) + (PersistentHashSet. nil (-persistent! out) nil)))) + (loop [i 0 + out (transient (.-EMPTY PersistentHashSet))] + (if (< i len) + (recur (inc i) (-conj! out (aget items i))) + (-persistent! out))))))) + +(set! (.-createWithCheck PersistentHashSet) + (fn [items] + (let [len (alength items) + t (-as-transient (.-EMPTY PersistentHashSet))] + (dotimes [i len] + (-conj! t (aget items i)) + (when-not (= (count t) (inc i)) + (throw (js/Error. (str "Duplicate key: " (aget items i)))))) + (-persistent! t)))) + +(set! (.-createAsIfByAssoc PersistentHashSet) + (fn [items] + (let [len (alength items) + t (-as-transient (.-EMPTY PersistentHashSet))] + (dotimes [i len] (-conj! t (aget items i))) + (-persistent! t)))) + +(es6-iterable PersistentHashSet) + +(deftype TransientHashSet [^:mutable transient-map] + ITransientCollection + (-conj! [tcoll o] + (set! transient-map (assoc! transient-map o nil)) + tcoll) + + (-persistent! [tcoll] + (PersistentHashSet. nil (persistent! transient-map) nil)) + + ITransientSet + (-disjoin! [tcoll v] + (set! transient-map (dissoc! transient-map v)) + tcoll) + + ICounted + (-count [tcoll] (count transient-map)) + + ILookup + (-lookup [tcoll v] + (-lookup tcoll v nil)) + + (-lookup [tcoll v not-found] + (if (identical? (-lookup transient-map v lookup-sentinel) lookup-sentinel) + not-found + v)) + + IFn + (-invoke [tcoll k] + (if (identical? (-lookup transient-map k lookup-sentinel) lookup-sentinel) + nil + k)) + + (-invoke [tcoll k not-found] + (if (identical? (-lookup transient-map k lookup-sentinel) lookup-sentinel) + not-found + k))) + +(deftype PersistentTreeSet [meta tree-map ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + + ;; EXPERIMENTAL: subject to change + (keys [coll] + (es6-iterator (seq coll))) + (entries [coll] + (es6-set-entries-iterator (seq coll))) + (values [coll] + (es6-iterator (seq coll))) + (has [coll k] + (contains? coll k)) + (forEach [coll f] + (doseq [[k v] coll] + (f v k))) + + ICloneable + (-clone [_] (PersistentTreeSet. meta tree-map __hash)) + + IWithMeta + (-with-meta [coll meta] (PersistentTreeSet. meta tree-map __hash)) + + IMeta + (-meta [coll] meta) + + ICollection + (-conj [coll o] + (PersistentTreeSet. meta (assoc tree-map o nil) nil)) + + IEmptyableCollection + (-empty [coll] (PersistentTreeSet. meta (-empty tree-map) 0)) + + IEquiv + (-equiv [coll other] + (and + (set? other) + (== (count coll) (count other)) + ^boolean + (reduce-kv + #(or (contains? other %2) (reduced false)) + true tree-map))) + + IHash + (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) + + ISeqable + (-seq [coll] (keys tree-map)) + + ISorted + (-sorted-seq [coll ascending?] + (map key (-sorted-seq tree-map ascending?))) + + (-sorted-seq-from [coll k ascending?] + (map key (-sorted-seq-from tree-map k ascending?))) + + (-entry-key [coll entry] entry) + + (-comparator [coll] (-comparator tree-map)) + + IReversible + (-rseq [coll] + (if (pos? (count tree-map)) + (map key (rseq tree-map)))) + + ICounted + (-count [coll] (count tree-map)) + + ILookup + (-lookup [coll v] + (-lookup coll v nil)) + (-lookup [coll v not-found] + (let [n (.entry-at tree-map v)] + (if-not (nil? n) + (.-key n) + not-found))) + + ISet + (-disjoin [coll v] + (PersistentTreeSet. meta (dissoc tree-map v) nil)) + + IFn + (-invoke [coll k] + (-lookup coll k)) + (-invoke [coll k not-found] + (-lookup coll k not-found))) + +(set! (.-EMPTY PersistentTreeSet) + (PersistentTreeSet. nil (.-EMPTY PersistentTreeMap) empty-unordered-hash)) + +(es6-iterable PersistentTreeSet) + +(defn set-from-indexed-seq [iseq] + (let [arr (.-arr iseq) + ret (areduce arr i ^not-native res (-as-transient #{}) + (-conj! res (aget arr i)))] + (-persistent! ^not-native ret))) + +(defn set + "Returns a set of the distinct elements of coll." + [coll] + (let [in (seq coll)] + (cond + (nil? in) #{} + + (and (instance? IndexedSeq in) (zero? (.-i in))) + (.createAsIfByAssoc PersistentHashSet (.-arr in)) + + :else + (loop [^not-native in in + ^not-native out (-as-transient #{})] + (if-not (nil? in) + (recur (next in) (-conj! out (-first in))) + (persistent! out)))))) + +(defn hash-set + "Returns a new hash set with supplied keys. Any equal keys are + handled as if by repeated uses of conj." + ([] #{}) + ([& keys] (set keys))) + +(defn sorted-set + "Returns a new sorted set with supplied keys." + ([& keys] + (reduce -conj (.-EMPTY PersistentTreeSet) keys))) + +(defn sorted-set-by + "Returns a new sorted set with supplied keys, using the supplied comparator." + ([comparator & keys] + (reduce -conj + (PersistentTreeSet. nil (sorted-map-by comparator) 0) + keys))) + +(defn replace + "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." + ([smap] + (map #(if-let [e (find smap %)] (val e) %))) + ([smap coll] + (if (vector? coll) + (let [n (count coll)] + (reduce (fn [v i] + (if-let [e (find smap (nth v i))] + (assoc v i (second e)) + v)) + coll (take n (iterate inc 0)))) + (map #(if-let [e (find smap %)] (second e) %) coll)))) + +(defn distinct + "Returns a lazy sequence of the elements of coll with duplicates removed. + Returns a stateful transducer when no collection is provided." + ([] + (fn [rf] + (let [seen (volatile! #{})] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (if (contains? @seen input) + result + (do (vswap! seen conj input) + (rf result input)))))))) + ([coll] + (let [step (fn step [xs seen] + (lazy-seq + ((fn [[f :as xs] seen] + (when-let [s (seq xs)] + (if (contains? seen f) + (recur (rest s) seen) + (cons f (step (rest s) (conj seen f)))))) + xs seen)))] + (step coll #{})))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(defn butlast + "Return a seq of all but the last item in coll, in linear time" + [s] + (loop [ret [] s s] + (if (next s) + (recur (conj ret (first s)) (next s)) + (seq ret)))) + +(defn name + "Returns the name String of a string, symbol or keyword." + [x] + (if (implements? INamed x) + (-name ^not-native x) + (if (string? x) + x + (throw (js/Error. (str "Doesn't support name: " x)))))) + +(defn zipmap + "Returns a map with the keys mapped to the corresponding vals." + [keys vals] + (loop [map (transient {}) + ks (seq keys) + vs (seq vals)] + (if (and ks vs) + (recur (assoc! map (first ks) (first vs)) + (next ks) + (next vs)) + (persistent! map)))) + +(defn max-key + "Returns the x for which (k x), a number, is greatest. + + If there are multiple such xs, the last one is returned." + ([k x] x) + ([k x y] (if (> (k x) (k y)) x y)) + ([k x y & more] + (reduce #(max-key k %1 %2) (max-key k x y) more))) + +(defn min-key + "Returns the x for which (k x), a number, is least. + + If there are multiple such xs, the last one is returned." + ([k x] x) + ([k x y] (if (< (k x) (k y)) x y)) + ([k x y & more] + (reduce #(min-key k %1 %2) (min-key k x y) more))) + +(deftype ArrayList [^:mutable arr] + Object + (add [_ x] (.push arr x)) + (size [_] (alength arr)) + (clear [_] (set! arr (array))) + (isEmpty [_] (zero? (alength arr))) + (toArray [_] arr)) + +(defn array-list [] + (ArrayList. (array))) + +(defn partition-all + "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." + ([n] + (fn [rf] + (let [a (array-list)] + (fn + ([] (rf)) + ([result] + (let [result (if (.isEmpty a) + result + (let [v (vec (.toArray a))] + ;;clear first! + (.clear a) + (unreduced (rf result v))))] + (rf result))) + ([result input] + (.add a input) + (if (== n (.size a)) + (let [v (vec (.toArray a))] + (.clear a) + (rf result v)) + result)))))) + ([n coll] + (partition-all n n coll)) + ([n step coll] + (lazy-seq + (when-let [s (seq coll)] + (cons (take n s) (partition-all n step (drop step s))))))) + +(defn take-while + "Returns a lazy sequence of successive items from coll while + (pred item) returns true. pred must be free of side-effects. + Returns a transducer when no collection is provided." + ([pred] + (fn [rf] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (if (pred input) + (rf result input) + (reduced result)))))) + ([pred coll] + (lazy-seq + (when-let [s (seq coll)] + (when (pred (first s)) + (cons (first s) (take-while pred (rest s)))))))) + +(defn mk-bound-fn + [sc test key] + (fn [e] + (let [comp (-comparator sc)] + (test (comp (-entry-key sc e) key) 0)))) + +(defn subseq + "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" + ([sc test key] + (let [include (mk-bound-fn sc test key)] + (if (#{> >=} test) + (when-let [[e :as s] (-sorted-seq-from sc key true)] + (if (include e) s (next s))) + (take-while include (-sorted-seq sc true))))) + ([sc start-test start-key end-test end-key] + (when-let [[e :as s] (-sorted-seq-from sc start-key true)] + (take-while (mk-bound-fn sc end-test end-key) + (if ((mk-bound-fn sc start-test start-key) e) s (next s)))))) + +(defn rsubseq + "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" + ([sc test key] + (let [include (mk-bound-fn sc test key)] + (if (#{< <=} test) + (when-let [[e :as s] (-sorted-seq-from sc key false)] + (if (include e) s (next s))) + (take-while include (-sorted-seq sc false))))) + ([sc start-test start-key end-test end-key] + (when-let [[e :as s] (-sorted-seq-from sc end-key false)] + (take-while (mk-bound-fn sc start-test start-key) + (if ((mk-bound-fn sc end-test end-key) e) s (next s)))))) + +(deftype RangeIterator [^:mutable i end step] + Object + (hasNext [_] + (if (pos? step) + (< i end) + (> i end))) + (next [_] + (let [ret i] + (set! i (+ i step)) + ret))) + +(deftype Range [meta start end step ^:mutable __hash] + Object + (toString [coll] + (pr-str* coll)) + (equiv [this other] + (-equiv this other)) + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ICloneable + (-clone [_] (Range. meta start end step __hash)) + + IWithMeta + (-with-meta [rng meta] (Range. meta start end step __hash)) + + IMeta + (-meta [rng] meta) + + ISeqable + (-seq [rng] + (cond + (pos? step) (when (< start end) rng) + (neg? step) (when (> start end) rng) + :else (when-not (== start end) rng))) + + ISeq + (-first [rng] + (when-not (nil? (-seq rng)) start)) + (-rest [rng] + (if-not (nil? (-seq rng)) + (Range. meta (+ start step) end step nil) + ())) + + IIterable + (-iterator [_] + (RangeIterator. start end step)) + + INext + (-next [rng] + (if (pos? step) + (when (< (+ start step) end) + (Range. meta (+ start step) end step nil)) + (when (> (+ start step) end) + (Range. meta (+ start step) end step nil)))) + + ICollection + (-conj [rng o] (cons o rng)) + + IEmptyableCollection + (-empty [rng] (-with-meta (.-EMPTY List) meta)) + + ISequential + IEquiv + (-equiv [rng other] (equiv-sequential rng other)) + + IHash + (-hash [rng] (caching-hash rng hash-ordered-coll __hash)) + + ICounted + (-count [rng] + (if-not (-seq rng) + 0 + (Math/ceil (/ (- end start) step)))) + + IIndexed + (-nth [rng n] + (if (and (<= 0 n) (< n (-count rng))) + (+ start (* n step)) + (if (and (<= 0 n) (> start end) (zero? step)) + start + (throw (js/Error. "Index out of bounds"))))) + (-nth [rng n not-found] + (if (and (<= 0 n) (< n (-count rng))) + (+ start (* n step)) + (if (and (<= 0 n) (> start end) (zero? step)) + start + not-found))) + + IReduce + (-reduce [rng f] (ci-reduce rng f)) + (-reduce [rng f init] + (loop [i start ret init] + (if (if (pos? step) (< i end) (> i end)) + (let [ret (f ret i)] + (if (reduced? ret) + @ret + (recur (+ i step) ret))) + ret)))) + +(es6-iterable Range) + +(defn range + "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." + ([] (range 0 (.-MAX_VALUE js/Number) 1)) + ([end] (range 0 end 1)) + ([start end] (range start end 1)) + ([start end step] (Range. nil start end step nil))) + +(defn take-nth + "Returns a lazy seq of every nth item in coll. Returns a stateful + transducer when no collection is provided." + ([n] + {:pre [(number? n)]} + (fn [rf] + (let [ia (volatile! -1)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [i (vswap! ia inc)] + (if (zero? (rem i n)) + (rf result input) + result))))))) + ([n coll] + {:pre [(number? n)]} + (lazy-seq + (when-let [s (seq coll)] + (cons (first s) (take-nth n (drop n s))))))) + +(defn split-with + "Returns a vector of [(take-while pred coll) (drop-while pred coll)]" + [pred coll] + [(take-while pred coll) (drop-while pred coll)]) + +(defn partition-by + "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." + ([f] + (fn [rf] + (let [a (array-list) + pa (volatile! ::none)] + (fn + ([] (rf)) + ([result] + (let [result (if (.isEmpty a) + result + (let [v (vec (.toArray a))] + ;;clear first! + (.clear a) + (unreduced (rf result v))))] + (rf result))) + ([result input] + (let [pval @pa + val (f input)] + (vreset! pa val) + (if (or (keyword-identical? pval ::none) + (= val pval)) + (do + (.add a input) + result) + (let [v (vec (.toArray a))] + (.clear a) + (let [ret (rf result v)] + (when-not (reduced? ret) + (.add a input)) + ret))))))))) + ([f coll] + (lazy-seq + (when-let [s (seq coll)] + (let [fst (first s) + fv (f fst) + run (cons fst (take-while #(= fv (f %)) (next s)))] + (cons run (partition-by f (seq (drop (count run) s))))))))) + +(defn frequencies + "Returns a map from distinct items in coll to the number of times + they appear." + [coll] + (persistent! + (reduce (fn [counts x] + (assoc! counts x (inc (get counts x 0)))) + (transient {}) coll))) + +(defn reductions + "Returns a lazy seq of the intermediate values of the reduction (as + per reduce) of coll by f, starting with init." + ([f coll] + (lazy-seq + (if-let [s (seq coll)] + (reductions f (first s) (rest s)) + (list (f))))) + ([f init coll] + (if (reduced? init) + (list @init) + (cons init + (lazy-seq + (when-let [s (seq coll)] + (reductions f (f init (first s)) (rest s)))))))) + +(defn juxt + "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)]" + ([f] + (fn + ([] (vector (f))) + ([x] (vector (f x))) + ([x y] (vector (f x y))) + ([x y z] (vector (f x y z))) + ([x y z & args] (vector (apply f x y z args))))) + ([f g] + (fn + ([] (vector (f) (g))) + ([x] (vector (f x) (g x))) + ([x y] (vector (f x y) (g x y))) + ([x y z] (vector (f x y z) (g x y z))) + ([x y z & args] (vector (apply f x y z args) (apply g x y z args))))) + ([f g h] + (fn + ([] (vector (f) (g) (h))) + ([x] (vector (f x) (g x) (h x))) + ([x y] (vector (f x y) (g x y) (h x y))) + ([x y z] (vector (f x y z) (g x y z) (h x y z))) + ([x y z & args] (vector (apply f x y z args) (apply g x y z args) (apply h x y z args))))) + ([f g h & fs] + (let [fs (list* f g h fs)] + (fn + ([] (reduce #(conj %1 (%2)) [] fs)) + ([x] (reduce #(conj %1 (%2 x)) [] fs)) + ([x y] (reduce #(conj %1 (%2 x y)) [] fs)) + ([x y z] (reduce #(conj %1 (%2 x y z)) [] fs)) + ([x y z & args] (reduce #(conj %1 (apply %2 x y z args)) [] fs)))))) + +(defn dorun + "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." + ([coll] + (when-let [s (seq coll)] + (recur (next s)))) + ([n coll] + (when (and (seq coll) (pos? n)) + (recur (dec n) (next coll))))) + +(defn doall + "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." + ([coll] + (dorun coll) + coll) + ([n coll] + (dorun n coll) + coll)) + +;;;;;;;;;;;;;;;;;;;;;;;;; Regular Expressions ;;;;;;;;;; + +(defn ^boolean regexp? + "Returns true if x is a JavaScript RegExp instance." + [x] + (instance? js/RegExp x)) + +(defn re-matches + "Returns the result of (re-find re s) if re fully matches s." + [re s] + (if (string? s) + (let [matches (.exec re s)] + (when (= (first matches) s) + (if (== (count matches) 1) + (first matches) + (vec matches)))) + (throw (js/TypeError. "re-matches must match against a string.")))) + + +(defn re-find + "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." + [re s] + (if (string? s) + (let [matches (.exec re s)] + (when-not (nil? matches) + (if (== (count matches) 1) + (first matches) + (vec matches)))) + (throw (js/TypeError. "re-find must match against a string.")))) + +(defn re-seq + "Returns a lazy sequence of successive matches of re in s." + [re s] + (let [match-data (re-find re s) + match-idx (.search s re) + match-str (if (coll? match-data) (first match-data) match-data) + post-idx (+ match-idx (max 1 (count match-str))) + post-match (subs s post-idx)] + (when match-data (lazy-seq (cons match-data (when (<= post-idx (count s)) (re-seq re post-match))))))) + +(defn re-pattern + "Returns an instance of RegExp which has compiled the provided string." + [s] + (if (instance? js/RegExp s) + s + (let [[prefix flags] (re-find #"^\(\?([idmsux]*)\)" s) + pattern (subs s (count prefix))] + (js/RegExp. pattern (or flags ""))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Printing ;;;;;;;;;;;;;;;; + +(defn pr-sequential-writer [writer print-one begin sep end opts coll] + (binding [*print-level* (when-not (nil? *print-level*) (dec *print-level*))] + (if (and (not (nil? *print-level*)) (neg? *print-level*)) + (-write writer "#") + (do + (-write writer begin) + (if (zero? (:print-length opts)) + (when (seq coll) + (-write writer (or (:more-marker opts) "..."))) + (do + (when (seq coll) + (print-one (first coll) writer opts)) + (loop [coll (next coll) n (dec (:print-length opts))] + (if (and coll (or (nil? n) (not (zero? n)))) + (do + (-write writer sep) + (print-one (first coll) writer opts) + (recur (next coll) (dec n))) + (when (and (seq coll) (zero? n)) + (-write writer sep) + (-write writer (or (:more-marker opts) "..."))))))) + (-write writer end))))) + +(defn write-all [writer & ss] + (doseq [s ss] + (-write writer s))) + +(defn string-print [x] + (when (nil? *print-fn*) + (throw (js/Error. "No *print-fn* fn set for evaluation environment"))) + (*print-fn* x) + nil) + +(defn flush [] ;stub + nil) + +(def ^:private char-escapes + (js-obj + "\"" "\\\"" + "\\" "\\\\" + "\b" "\\b" + "\f" "\\f" + "\n" "\\n" + "\r" "\\r" + "\t" "\\t")) + +(defn ^:private quote-string + [s] + (str \" + (.replace s (js/RegExp "[\\\\\"\b\f\n\r\t]" "g") + (fn [match] (unchecked-get char-escapes match))) + \")) + +(declare print-map) + +(defn ^boolean print-meta? [opts obj] + (and (boolean (get opts :meta)) + (implements? IMeta obj) + (not (nil? (meta obj))))) + +(defn- pr-writer-impl + [obj writer opts] + (cond + (nil? obj) (-write writer "nil") + :else + (do + (when (print-meta? opts obj) + (-write writer "^") + (pr-writer (meta obj) writer opts) + (-write writer " ")) + (cond + ;; handle CLJS ctors + ^boolean (.-cljs$lang$type obj) + (.cljs$lang$ctorPrWriter obj obj writer opts) + + ; Use the new, more efficient, IPrintWithWriter interface when possible. + (implements? IPrintWithWriter obj) + (-pr-writer ^not-native obj writer opts) + + (or (true? obj) (false? obj)) + (-write writer (str obj)) + + (number? obj) + (-write writer + (cond + ^boolean (js/isNaN obj) "##NaN" + (identical? obj js/Number.POSITIVE_INFINITY) "##Inf" + (identical? obj js/Number.NEGATIVE_INFINITY) "##-Inf" + :else (str obj))) + + (object? obj) + (do + (-write writer "#js ") + (print-map + (map (fn [k] + (MapEntry. (cond-> k (some? (re-matches #"[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*" k)) keyword) (unchecked-get obj k) nil)) + (js-keys obj)) + pr-writer writer opts)) + + (array? obj) + (pr-sequential-writer writer pr-writer "#js [" " " "]" opts obj) + + ^boolean (goog/isString obj) + (if (:readably opts) + (-write writer (quote-string obj)) + (-write writer obj)) + + ^boolean (goog/isFunction obj) + (let [name (.-name obj) + name (if (or (nil? name) (gstring/isEmpty name)) + "Function" + name)] + (write-all writer "#object[" name + (if *print-fn-bodies* + (str " \"" (str obj) "\"") + "") + "]")) + + (instance? js/Date obj) + (let [normalize (fn [n len] + (loop [ns (str n)] + (if (< (count ns) len) + (recur (str "0" ns)) + ns)))] + (write-all writer + "#inst \"" + (str (.getUTCFullYear obj)) "-" + (normalize (inc (.getUTCMonth obj)) 2) "-" + (normalize (.getUTCDate obj) 2) "T" + (normalize (.getUTCHours obj) 2) ":" + (normalize (.getUTCMinutes obj) 2) ":" + (normalize (.getUTCSeconds obj) 2) "." + (normalize (.getUTCMilliseconds obj) 3) "-" + "00:00\"")) + + (regexp? obj) (write-all writer "#\"" (.-source obj) "\"") + + :else + (if (some-> obj .-constructor .-cljs$lang$ctorStr) + (write-all writer + "#object[" (.replace (.. obj -constructor -cljs$lang$ctorStr) + (js/RegExp. "/" "g") ".") "]") + (let [name (some-> obj .-constructor .-name) + name (if (or (nil? name) (gstring/isEmpty name)) + "Object" + name)] + (if (nil? (. obj -constructor)) + (write-all writer "#object[" name "]") + (write-all writer "#object[" name " " (str obj) "]")))))))) + +(defn- pr-writer + "Prefer this to pr-seq, because it makes the printing function + configurable, allowing efficient implementations such as appending + to a StringBuffer." + [obj writer opts] + (if-let [alt-impl (:alt-impl opts)] + (alt-impl obj writer (assoc opts :fallback-impl pr-writer-impl)) + (pr-writer-impl obj writer opts))) + +(defn pr-seq-writer [objs writer opts] + (pr-writer (first objs) writer opts) + (doseq [obj (next objs)] + (-write writer " ") + (pr-writer obj writer opts))) + +(defn- pr-sb-with-opts [objs opts] + (let [sb (StringBuffer.) + writer (StringBufferWriter. sb)] + (pr-seq-writer objs writer opts) + (-flush writer) + sb)) + +(defn pr-str-with-opts + "Prints a sequence of objects to a string, observing all the + options given in opts" + [objs opts] + (if (empty? objs) + "" + (str (pr-sb-with-opts objs opts)))) + +(defn prn-str-with-opts + "Same as pr-str-with-opts followed by (newline)" + [objs opts] + (if (empty? objs) + "\n" + (let [sb (pr-sb-with-opts objs opts)] + (.append sb \newline) + (str sb)))) + +(defn- pr-with-opts + "Prints a sequence of objects using string-print, observing all + the options given in opts" + [objs opts] + (string-print (pr-str-with-opts objs opts))) + +(defn newline + "Prints a newline using *print-fn*" + ([] (newline nil)) + ([opts] + (string-print "\n") + (when (get opts :flush-on-newline) + (flush)))) + +(defn pr-str + "pr to a string, returning it. Fundamental entrypoint to IPrintWithWriter." + [& objs] + (pr-str-with-opts objs (pr-opts))) + +(defn prn-str + "Same as pr-str followed by (newline)" + [& objs] + (prn-str-with-opts objs (pr-opts))) + +(defn pr + "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" + [& objs] + (pr-with-opts objs (pr-opts))) + +(def ^{:doc + "Prints the object(s) using string-print. + print and println produce output for human consumption."} + print + (fn cljs-core-print [& objs] + (pr-with-opts objs (assoc (pr-opts) :readably false)))) + +(defn print-str + "print to a string, returning it" + [& objs] + (pr-str-with-opts objs (assoc (pr-opts) :readably false))) + +(defn println + "Same as print followed by (newline)" + [& objs] + (pr-with-opts objs (assoc (pr-opts) :readably false)) + (when *print-newline* + (newline (pr-opts)))) + +(defn println-str + "println to a string, returning it" + [& objs] + (prn-str-with-opts objs (assoc (pr-opts) :readably false))) + +(defn prn + "Same as pr followed by (newline)." + [& objs] + (pr-with-opts objs (pr-opts)) + (when *print-newline* + (newline (pr-opts)))) + +(defn- strip-ns + [named] + (if (symbol? named) + (symbol nil (name named)) + (keyword nil (name named)))) + +(defn- lift-ns + "Returns [lifted-ns lifted-map] or nil if m can't be lifted." + [m] + (when *print-namespace-maps* + (loop [ns nil + [[k v :as entry] & entries] (seq m) + lm (empty m)] + (if entry + (when (or (keyword? k) (symbol? k)) + (if ns + (when (= ns (namespace k)) + (recur ns entries (assoc lm (strip-ns k) v))) + (when-let [new-ns (namespace k)] + (recur new-ns entries (assoc lm (strip-ns k) v))))) + [ns lm])))) + +(defn print-prefix-map [prefix m print-one writer opts] + (pr-sequential-writer + writer + (fn [e w opts] + (do (print-one (key e) w opts) + (-write w \space) + (print-one (val e) w opts))) + (str prefix "{") ", " "}" + opts (seq m))) + +(defn print-map [m print-one writer opts] + (let [[ns lift-map] (when (map? m) + (lift-ns m))] + (if ns + (print-prefix-map (str "#:" ns) lift-map print-one writer opts) + (print-prefix-map nil m print-one writer opts)))) + +(extend-protocol IPrintWithWriter + LazySeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + TransformerIterator + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + IndexedSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + RSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + PersistentQueue + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "#queue [" " " "]" opts (seq coll))) + + PersistentQueueSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + PersistentTreeMapSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + NodeSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + ArrayNodeSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + List + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + Cons + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + EmptyList + (-pr-writer [coll writer opts] (-write writer "()")) + + PersistentVector + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) + + ChunkedCons + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + ChunkedSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + Subvec + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) + + BlackNode + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) + + RedNode + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) + + MapEntry + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) + + ObjMap + (-pr-writer [coll writer opts] + (print-map coll pr-writer writer opts)) + + KeySeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + ValSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + PersistentArrayMapSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + PersistentArrayMap + (-pr-writer [coll writer opts] + (print-map coll pr-writer writer opts)) + + PersistentHashMap + (-pr-writer [coll writer opts] + (print-map coll pr-writer writer opts)) + + PersistentTreeMap + (-pr-writer [coll writer opts] + (print-map coll pr-writer writer opts)) + + PersistentHashSet + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "#{" " " "}" opts coll)) + + PersistentTreeSet + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "#{" " " "}" opts coll)) + + Range + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + Cycle + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + Repeat + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + Iterate + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + ES6IteratorSeq + (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) + + Atom + (-pr-writer [a writer opts] + (-write writer "#object [cljs.core.Atom ") + (pr-writer {:val (.-state a)} writer opts) + (-write writer "]")) + + Volatile + (-pr-writer [a writer opts] + (-write writer "#object [cljs.core.Volatile ") + (pr-writer {:val (.-state a)} writer opts) + (-write writer "]")) + + Var + (-pr-writer [a writer opts] + (-write writer "#'") + (pr-writer (.-sym a) writer opts))) + +;; IComparable +(extend-protocol IComparable + Symbol + (-compare [x y] + (if (symbol? y) + (compare-symbols x y) + (throw (js/Error. (str "Cannot compare " x " to " y))))) + + Keyword + (-compare [x y] + (if (keyword? y) + (compare-keywords x y) + (throw (js/Error. (str "Cannot compare " x " to " y))))) + + Subvec + (-compare [x y] + (if (vector? y) + (compare-indexed x y) + (throw (js/Error. (str "Cannot compare " x " to " y))))) + + PersistentVector + (-compare [x y] + (if (vector? y) + (compare-indexed x y) + (throw (js/Error. (str "Cannot compare " x " to " y))))) + + MapEntry + (-compare [x y] + (if (vector? y) + (compare-indexed x y) + (throw (js/Error. (str "Cannot compare " x " to " y))))) + + BlackNode + (-compare [x y] + (if (vector? y) + (compare-indexed x y) + (throw (js/Error. (str "Cannot compare " x " to " y))))) + + RedNode + (-compare [x y] + (if (vector? y) + (compare-indexed x y) + (throw (js/Error. (str "Cannot compare " x " to " y)))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Reference Types ;;;;;;;;;;;;;;;; + +(defn alter-meta! + "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" + [iref f & args] + (set! (.-meta iref) (apply f (.-meta iref) args))) + +(defn reset-meta! + "Atomically resets the metadata for an atom" + [iref m] + (set! (.-meta iref) m)) + +(defn add-watch + "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" + [iref key f] + (-add-watch iref key f) + iref) + +(defn remove-watch + "Removes a watch (set by add-watch) from a reference" + [iref key] + (-remove-watch iref key) + iref) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gensym ;;;;;;;;;;;;;;;; +;; Internal - do not use! +(def + ^{:jsdoc ["@type {*}"]} + gensym_counter nil) + +(defn gensym + "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__'." + ([] (gensym "G__")) + ([prefix-string] + (when (nil? gensym_counter) + (set! gensym_counter (atom 0))) + (symbol (str prefix-string (swap! gensym_counter inc))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Delay ;;;;;;;;;;;;;;;;;;;; + +(deftype Delay [^:mutable f ^:mutable value] + IDeref + (-deref [_] + (when f + (set! value (f)) + (set! f nil)) + value) + + IPending + (-realized? [x] + (not f))) + +(defn ^boolean delay? + "returns true if x is a Delay created with delay" + [x] (instance? Delay x)) + +(defn force + "If x is a Delay, returns the (possibly cached) value of its expression, else returns x" + [x] + (if (delay? x) + (deref x) + x)) + +(defn ^boolean realized? + "Returns true if a value has been produced for a delay or lazy sequence." + [x] + (-realized? x)) + +(defn- preserving-reduced + [rf] + #(let [ret (rf %1 %2)] + (if (reduced? ret) + (reduced ret) + ret))) + +(defn cat + "A transducer which concatenates the contents of each input, which must be a + collection, into the reduction." + {:added "1.7"} + [rf] + (let [rf1 (preserving-reduced rf)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (reduce rf1 result input))))) + +(defn halt-when + "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." + {:added "1.9"} + ([pred] (halt-when pred nil)) + ([pred retf] + (fn [rf] + (fn + ([] (rf)) + ([result] + (if (and (map? result) (contains? result ::halt)) + (::halt result) + (rf result))) + ([result input] + (if (pred input) + (reduced {::halt (if retf (retf (rf result) input) input)}) + (rf result input))))))) + +(defn dedupe + "Returns a lazy sequence removing consecutive duplicates in coll. + Returns a transducer when no collection is provided." + ([] + (fn [rf] + (let [pa (volatile! ::none)] + (fn + ([] (rf)) + ([result] (rf result)) + ([result input] + (let [prior @pa] + (vreset! pa input) + (if (= prior input) + result + (rf result input)))))))) + ([coll] (sequence (dedupe) coll))) + +(declare rand) + +(defn random-sample + "Returns items from coll with random probability of prob (0.0 - + 1.0). Returns a transducer when no collection is provided." + ([prob] + (filter (fn [_] (< (rand) prob)))) + ([prob coll] + (filter (fn [_] (< (rand) prob)) coll))) + +(deftype Eduction [xform coll] + Object + (indexOf [coll x] + (-indexOf coll x 0)) + (indexOf [coll x start] + (-indexOf coll x start)) + (lastIndexOf [coll x] + (-lastIndexOf coll x (count coll))) + (lastIndexOf [coll x start] + (-lastIndexOf coll x start)) + + ISequential + + IIterable + (-iterator [_] + (.create TransformerIterator xform (iter coll))) + + ISeqable + (-seq [_] (seq (sequence xform coll))) + + IReduce + (-reduce [_ f] (transduce xform (completing f) coll)) + (-reduce [_ f init] (transduce xform (completing f) init coll)) + + IPrintWithWriter + (-pr-writer [coll writer opts] + (pr-sequential-writer writer pr-writer "(" " " ")" opts coll))) + +(es6-iterable Eduction) + +(defn eduction + "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." + {:arglists '([xform* coll])} + [& xforms] + (Eduction. (apply comp (butlast xforms)) (last xforms))) + +(defn run! + "Runs the supplied procedure (via reduce), for purposes of side + effects, on successive items in the collection. Returns nil" + [proc coll] + (reduce #(proc %2) nil coll) + nil) + +(defprotocol IEncodeJS + (-clj->js [x] "Recursively transforms clj values to JavaScript") + (-key->js [x] "Transforms map keys to valid JavaScript keys. Arbitrary keys are + encoded to their string representation via (pr-str x)")) + +(declare clj->js) + +(defn key->js + ([k] (key->js k clj->js)) + ([k primitive-fn] + (cond + (satisfies? IEncodeJS k) (-clj->js k) + (or (string? k) + (number? k) + (keyword? k) + (symbol? k)) (primitive-fn k) + :default (pr-str k)))) + +(defn clj->js + "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`." + [x & {:keys [keyword-fn] + :or {keyword-fn name} + :as options}] + (letfn [(keyfn [k] (key->js k thisfn)) + (thisfn [x] (cond + (nil? x) nil + (satisfies? IEncodeJS x) (-clj->js x) + (keyword? x) (keyword-fn x) + (symbol? x) (str x) + (map? x) (let [m (js-obj)] + (doseq [[k v] x] + (gobject/set m (keyfn k) (thisfn v))) + m) + (coll? x) (let [arr (array)] + (doseq [x (map thisfn x)] + (.push arr x)) + arr) + :else x))] + (thisfn x))) + + +(defprotocol IEncodeClojure + (-js->clj [x options] "Transforms JavaScript values to Clojure")) + +(defn js->clj + "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." + ([x] (js->clj x :keywordize-keys false)) + ([x & opts] + (let [{:keys [keywordize-keys]} opts + keyfn (if keywordize-keys keyword str) + f (fn thisfn [x] + (cond + (satisfies? IEncodeClojure x) + (-js->clj x (apply array-map opts)) + + (seq? x) + (doall (map thisfn x)) + + (map-entry? x) + (MapEntry. (thisfn (key x)) (thisfn (val x)) nil) + + (coll? x) + (into (empty x) (map thisfn x)) + + (array? x) + (vec (map thisfn x)) + + (identical? (type x) js/Object) + (into {} (for [k (js-keys x)] + [(keyfn k) (thisfn (unchecked-get x k))])) + + :else x))] + (f x)))) + +(defn memoize + "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." + [f] + (let [mem (atom {})] + (fn [& args] + (let [v (get @mem args lookup-sentinel)] + (if (identical? v lookup-sentinel) + (let [ret (apply f args)] + (swap! mem assoc args ret) + ret) + v))))) + +(defn trampoline + "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." + ([f] + (let [ret (f)] + (if (fn? ret) + (recur ret) + ret))) + ([f & args] + (trampoline #(apply f args)))) + +(defn rand + "Returns a random floating point number between 0 (inclusive) and + n (default 1) (exclusive)." + ([] (rand 1)) + ([n] (* (Math/random) n))) + +(defn rand-int + "Returns a random integer between 0 (inclusive) and n (exclusive)." + [n] (Math/floor (* (Math/random) n))) + +(defn rand-nth + "Return a random element of the (sequential) collection. Will have + the same performance characteristics as nth for the given + collection." + [coll] + (nth coll (rand-int (count coll)))) + +(defn group-by + "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." + [f coll] + (persistent! + (reduce + (fn [ret x] + (let [k (f x)] + (assoc! ret k (conj (get ret k []) x)))) + (transient {}) coll))) + +(defn make-hierarchy + "Creates a hierarchy object for use with derive, isa? etc." + [] {:parents {} :descendants {} :ancestors {}}) + +(def + ^{:private true + :jsdoc ["@type {*}"]} + -global-hierarchy nil) + +(defn- get-global-hierarchy [] + (when (nil? -global-hierarchy) + (set! -global-hierarchy (atom (make-hierarchy)))) + -global-hierarchy) + +(defn- swap-global-hierarchy! [f & args] + (apply swap! (get-global-hierarchy) f args)) + +(defn ^boolean isa? + "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" + ([child parent] (isa? @(get-global-hierarchy) child parent)) + ([h child parent] + (or (= child parent) + ;; (and (class? parent) (class? child) + ;; (. ^Class parent isAssignableFrom child)) + (contains? ((:ancestors h) child) parent) + ;;(and (class? child) (some #(contains? ((:ancestors h) %) parent) (supers child))) + (and (vector? parent) (vector? child) + (== (count parent) (count child)) + (loop [ret true i 0] + (if (or (not ret) (== i (count parent))) + ret + (recur (isa? h (child i) (parent i)) (inc i)))))))) + +(defn parents + "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" + ([tag] (parents @(get-global-hierarchy) tag)) + ([h tag] (not-empty (get (:parents h) tag)))) + +(defn ancestors + "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" + ([tag] (ancestors @(get-global-hierarchy) tag)) + ([h tag] (not-empty (get (:ancestors h) tag)))) + +(defn descendants + "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." + ([tag] (descendants @(get-global-hierarchy) tag)) + ([h tag] (not-empty (get (:descendants h) tag)))) + +(defn derive + "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." + ([tag parent] + (assert (namespace parent)) + ;; (assert (or (class? tag) (and (instance? cljs.core.Named tag) (namespace tag)))) + (swap-global-hierarchy! derive tag parent) nil) + ([h tag parent] + (assert (not= tag parent)) + ;; (assert (or (class? tag) (instance? clojure.lang.Named tag))) + ;; (assert (instance? clojure.lang.INamed tag)) + ;; (assert (instance? clojure.lang.INamed parent)) + (let [tp (:parents h) + td (:descendants h) + ta (:ancestors h) + tf (fn [m source sources target targets] + (reduce (fn [ret k] + (assoc ret k + (reduce conj (get targets k #{}) (cons target (targets target))))) + m (cons source (sources source))))] + (or + (when-not (contains? (tp tag) parent) + (when (contains? (ta tag) parent) + (throw (js/Error. (str tag "already has" parent "as ancestor")))) + (when (contains? (ta parent) tag) + (throw (js/Error. (str "Cyclic derivation:" parent "has" tag "as ancestor")))) + {:parents (assoc (:parents h) tag (conj (get tp tag #{}) parent)) + :ancestors (tf (:ancestors h) tag td parent ta) + :descendants (tf (:descendants h) parent ta tag td)}) + h)))) + +(defn underive + "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." + ([tag parent] + (swap-global-hierarchy! underive tag parent) + nil) + ([h tag parent] + (let [parentMap (:parents h) + childsParents (if (parentMap tag) + (disj (parentMap tag) parent) #{}) + newParents (if (not-empty childsParents) + (assoc parentMap tag childsParents) + (dissoc parentMap tag)) + deriv-seq (flatten (map #(cons (first %) (interpose (first %) (second %))) + (seq newParents)))] + (if (contains? (parentMap tag) parent) + (reduce #(apply derive %1 %2) (make-hierarchy) + (partition 2 deriv-seq)) + h)))) + +(defn- reset-cache + [method-cache method-table cached-hierarchy hierarchy] + (swap! method-cache (fn [_] (deref method-table))) + (swap! cached-hierarchy (fn [_] (deref hierarchy)))) + +(defn- prefers* + [x y prefer-table] + (let [xprefs (@prefer-table x)] + (or + (when (and xprefs (xprefs y)) + true) + (loop [ps (parents y)] + (when (pos? (count ps)) + (when (prefers* x (first ps) prefer-table) + true) + (recur (rest ps)))) + (loop [ps (parents x)] + (when (pos? (count ps)) + (when (prefers* (first ps) y prefer-table) + true) + (recur (rest ps)))) + false))) + +(defn- dominates + [x y prefer-table hierarchy] + (or (prefers* x y prefer-table) (isa? hierarchy x y))) + +(defn- find-and-cache-best-method + [name dispatch-val hierarchy method-table prefer-table method-cache cached-hierarchy default-dispatch-val] + (let [best-entry (reduce (fn [be [k _ :as e]] + (if (isa? @hierarchy dispatch-val k) + (let [be2 (if (or (nil? be) (dominates k (first be) prefer-table @hierarchy)) + e + be)] + (when-not (dominates (first be2) k prefer-table @hierarchy) + (throw (js/Error. + (str "Multiple methods in multimethod '" name + "' match dispatch value: " dispatch-val " -> " k + " and " (first be2) ", and neither is preferred")))) + be2) + be)) + nil @method-table) + best-entry (if-let [entry (and (nil? best-entry) (@method-table default-dispatch-val))] + [default-dispatch-val entry] + best-entry)] + (when best-entry + (if (= @cached-hierarchy @hierarchy) + (do + (swap! method-cache assoc dispatch-val (second best-entry)) + (second best-entry)) + (do + (reset-cache method-cache method-table cached-hierarchy hierarchy) + (find-and-cache-best-method name dispatch-val hierarchy method-table prefer-table + method-cache cached-hierarchy default-dispatch-val)))))) + +(defprotocol IMultiFn + (-reset [mf]) + (-add-method [mf dispatch-val method]) + (-remove-method [mf dispatch-val]) + (-prefer-method [mf dispatch-val dispatch-val-y]) + (-get-method [mf dispatch-val]) + (-methods [mf]) + (-prefers [mf]) + (-default-dispatch-val [mf]) + (-dispatch-fn [mf])) + +(defn- throw-no-method-error [name dispatch-val] + (throw (js/Error. (str "No method in multimethod '" name "' for dispatch value: " dispatch-val)))) + +(deftype MultiFn [name dispatch-fn default-dispatch-val hierarchy + method-table prefer-table method-cache cached-hierarchy] + IFn + (-invoke [mf] + (let [dispatch-val (dispatch-fn) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn))) + (-invoke [mf a] + (let [dispatch-val (dispatch-fn a) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a))) + (-invoke [mf a b] + (let [dispatch-val (dispatch-fn a b) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b))) + (-invoke [mf a b c] + (let [dispatch-val (dispatch-fn a b c) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c))) + (-invoke [mf a b c d] + (let [dispatch-val (dispatch-fn a b c d) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d))) + (-invoke [mf a b c d e] + (let [dispatch-val (dispatch-fn a b c d e) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e))) + (-invoke [mf a b c d e f] + (let [dispatch-val (dispatch-fn a b c d e f) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f))) + (-invoke [mf a b c d e f g] + (let [dispatch-val (dispatch-fn a b c d e f g) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g))) + (-invoke [mf a b c d e f g h] + (let [dispatch-val (dispatch-fn a b c d e f g h) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h))) + (-invoke [mf a b c d e f g h i] + (let [dispatch-val (dispatch-fn a b c d e f g h i) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i))) + (-invoke [mf a b c d e f g h i j] + (let [dispatch-val (dispatch-fn a b c d e f g h i j) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j))) + (-invoke [mf a b c d e f g h i j k] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k))) + (-invoke [mf a b c d e f g h i j k l] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l))) + (-invoke [mf a b c d e f g h i j k l m] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m))) + (-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)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (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 o] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m n o))) + (-invoke [mf a b c d e f g h i j k l m n o p] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m n o p))) + (-invoke [mf a b c d e f g h i j k l m n o p q] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m n o p q))) + (-invoke [mf a b c d e f g h i j k l m n o p q r] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m n o p q r))) + (-invoke [mf a b c d e f g h i j k l m n o p q r s] + (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r s) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m n o p q r s))) + (-invoke [mf a b c d e f g h i j k l m n o p q r s t] + (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) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (target-fn a b c d e f g h i j k l m n o p q r s t))) + (-invoke [mf a b c d e f g h i j k l m n o p q r s t rest] + (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) + target-fn (-get-method mf dispatch-val)] + (when-not target-fn + (throw-no-method-error name dispatch-val)) + (apply target-fn a b c d e f g h i j k l m n o p q r s t rest))) + + IMultiFn + (-reset [mf] + (swap! method-table (fn [mf] {})) + (swap! method-cache (fn [mf] {})) + (swap! prefer-table (fn [mf] {})) + (swap! cached-hierarchy (fn [mf] nil)) + mf) + + (-add-method [mf dispatch-val method] + (swap! method-table assoc dispatch-val method) + (reset-cache method-cache method-table cached-hierarchy hierarchy) + mf) + + (-remove-method [mf dispatch-val] + (swap! method-table dissoc dispatch-val) + (reset-cache method-cache method-table cached-hierarchy hierarchy) + mf) + + (-get-method [mf dispatch-val] + (when-not (= @cached-hierarchy @hierarchy) + (reset-cache method-cache method-table cached-hierarchy hierarchy)) + (if-let [target-fn (@method-cache dispatch-val)] + target-fn + (find-and-cache-best-method name dispatch-val hierarchy method-table + prefer-table method-cache cached-hierarchy default-dispatch-val))) + + (-prefer-method [mf dispatch-val-x dispatch-val-y] + (when (prefers* dispatch-val-x dispatch-val-y prefer-table) + (throw (js/Error. (str "Preference conflict in multimethod '" name "': " dispatch-val-y + " is already preferred to " dispatch-val-x)))) + (swap! prefer-table + (fn [old] + (assoc old dispatch-val-x + (conj (get old dispatch-val-x #{}) + dispatch-val-y)))) + (reset-cache method-cache method-table cached-hierarchy hierarchy)) + + (-methods [mf] @method-table) + (-prefers [mf] @prefer-table) + (-default-dispatch-val [mf] default-dispatch-val) + (-dispatch-fn [mf] dispatch-fn) + + INamed + (-name [this] (-name name)) + (-namespace [this] (-namespace name)) + + IHash + (-hash [this] (goog/getUid this))) + +(defn remove-all-methods + "Removes all of the methods of multimethod." + [multifn] + (-reset multifn)) + +(defn remove-method + "Removes the method of multimethod associated with dispatch-value." + [multifn dispatch-val] + (-remove-method multifn dispatch-val)) + +(defn prefer-method + "Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y + when there is a conflict" + [multifn dispatch-val-x dispatch-val-y] + (-prefer-method multifn dispatch-val-x dispatch-val-y)) + +(defn methods + "Given a multimethod, returns a map of dispatch values -> dispatch fns" + [multifn] (-methods multifn)) + +(defn get-method + "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" + [multifn dispatch-val] (-get-method multifn dispatch-val)) + +(defn prefers + "Given a multimethod, returns a map of preferred value -> set of other values" + [multifn] (-prefers multifn)) + +(defn default-dispatch-val + "Given a multimethod, return it's default-dispatch-val." + [multifn] (-default-dispatch-val multifn)) + +(defn dispatch-fn + "Given a multimethod, return it's dispatch-fn." + [multifn] (-dispatch-fn multifn)) + +;; UUID +(defprotocol IUUID "A marker protocol for UUIDs") + +(deftype UUID [uuid ^:mutable __hash] + IUUID + + Object + (toString [_] uuid) + (equiv [this other] + (-equiv this other)) + + IEquiv + (-equiv [_ other] + (and (instance? UUID other) (identical? uuid (.-uuid other)))) + + IPrintWithWriter + (-pr-writer [_ writer _] + (-write writer (str "#uuid \"" uuid "\""))) + + IHash + (-hash [this] + (when (nil? __hash) + (set! __hash (hash uuid))) + __hash) + + IComparable + (-compare [_ other] + (garray/defaultCompare uuid (.-uuid other)))) + +(defn uuid [s] + (assert (string? s)) + (UUID. (.toLowerCase s) nil)) + +(defn random-uuid [] + (letfn [(hex [] (.toString (rand-int 16) 16))] + (let [rhex (.toString (bit-or 0x8 (bit-and 0x3 (rand-int 16))) 16)] + (uuid + (str (hex) (hex) (hex) (hex) + (hex) (hex) (hex) (hex) "-" + (hex) (hex) (hex) (hex) "-" + "4" (hex) (hex) (hex) "-" + rhex (hex) (hex) (hex) "-" + (hex) (hex) (hex) (hex) + (hex) (hex) (hex) (hex) + (hex) (hex) (hex) (hex)))))) + +(defn ^boolean uuid? + [x] (implements? IUUID x)) + +;;; ExceptionInfo + +(defn- pr-writer-ex-info [obj writer opts] + (-write writer "#error {:message ") + (pr-writer (.-message obj) writer opts) + (when (.-data obj) + (-write writer ", :data ") + (pr-writer (.-data obj) writer opts)) + (when (.-cause obj) + (-write writer ", :cause ") + (pr-writer (.-cause obj) writer opts)) + (-write writer "}")) + +(defn ^{:jsdoc ["@constructor"]} + ExceptionInfo [message data cause] + (let [e (js/Error. message)] + (this-as this + (set! (.-message this) message) + (set! (.-data this) data) + (set! (.-cause this) cause) + (do + (set! (.-name this) (.-name e)) + ;; non-standard + (set! (.-description this) (.-description e)) + (set! (.-number this) (.-number e)) + (set! (.-fileName this) (.-fileName e)) + (set! (.-lineNumber this) (.-lineNumber e)) + (set! (.-columnNumber this) (.-columnNumber e)) + (set! (.-stack this) (.-stack e))) + this))) + +(set! (.. ExceptionInfo -prototype -__proto__) js/Error.prototype) + +(extend-type ExceptionInfo + IPrintWithWriter + (-pr-writer [obj writer opts] + (pr-writer-ex-info obj writer opts))) + +(set! (.. ExceptionInfo -prototype -toString) + (fn [] + (this-as this (pr-str* this)))) + +(defn ex-info + "Create an instance of ExceptionInfo, an Error type that carries a + map of additional data." + ([msg data] (ex-info msg data nil)) + ([msg data cause] + (ExceptionInfo. msg data cause))) + +(defn ex-data + "Returns exception data (a map) if ex is an ExceptionInfo. + Otherwise returns nil." + [ex] + (when (instance? ExceptionInfo ex) + (.-data ex))) + +(defn ex-message + "Returns the message attached to the given Error / ExceptionInfo object. + For non-Errors returns nil." + [ex] + (when (instance? js/Error ex) + (.-message ex))) + +(defn ex-cause + "Returns exception cause (an Error / ExceptionInfo) if ex is an + ExceptionInfo. + Otherwise returns nil." + [ex] + (when (instance? ExceptionInfo ex) + (.-cause ex))) + +(defn comparator + "Returns an JavaScript compatible comparator based upon pred." + [pred] + (fn [x y] + (cond (pred x y) -1 (pred y x) 1 :else 0))) + +(defn ^boolean special-symbol? + "Returns true if x names a special form" + [x] + (contains? + '#{if def fn* do let* loop* letfn* throw try catch finally + recur new set! ns deftype* defrecord* . js* & quote case* var ns*} + x)) + +(defn test + "test [v] finds fn at key :test in var metadata and calls it, + presuming failure will throw exception" + [v] + (let [f (.-cljs$lang$test v)] + (if f + (do (f) :ok) + :no-test))) + + +(deftype TaggedLiteral [tag form] + Object + (toString [coll] + (pr-str* coll)) + + IEquiv + (-equiv [this other] + (and (instance? TaggedLiteral other) + (= tag (.-tag other)) + (= form (.-form other)))) + + IHash + (-hash [this] + (+ (* 31 (hash tag)) + (hash form))) + + ILookup + (-lookup [this v] + (-lookup this v nil)) + (-lookup [this v not-found] + (case v + :tag tag + :form form + not-found)) + + IPrintWithWriter + (-pr-writer [o writer opts] + (-write writer (str "#" tag " ")) + (pr-writer form writer opts))) + +(defn ^boolean tagged-literal? + "Return true if the value is the data representation of a tagged literal" + [value] + (instance? TaggedLiteral value)) + +(defn tagged-literal + "Construct a data representation of a tagged literal from a + tag symbol and a form." + [tag form] + {:pre [(symbol? tag)]} + (TaggedLiteral. tag form)) + +(def + ^{:private true + :jsdoc ["@type {*}"]} + js-reserved-arr + #js ["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"]) + +(def + ^{:jsdoc ["@type {null|Object}"]} + js-reserved nil) + +(defn- js-reserved? [x] + (when (nil? js-reserved) + (set! js-reserved + (reduce #(do (gobject/set %1 %2 true) %1) + #js {} js-reserved-arr))) + (.hasOwnProperty js-reserved x)) + +(defn- demunge-pattern [] + (when-not DEMUNGE_PATTERN + (set! DEMUNGE_PATTERN + (let [ks (sort (fn [a b] (- (. b -length) (. a -length))) + (js-keys DEMUNGE_MAP))] + (loop [ks ks ret ""] + (if (seq ks) + (recur + (next ks) + (str + (cond-> ret + (not (identical? ret "")) (str "|")) + (first ks))) + (str ret "|\\$")))))) + DEMUNGE_PATTERN) + +(defn- munge-str [name] + (let [sb (StringBuffer.)] + (loop [i 0] + (if (< i (. name -length)) + (let [c (.charAt name i) + sub (gobject/get CHAR_MAP c)] + (if-not (nil? sub) + (.append sb sub) + (.append sb c)) + (recur (inc i))))) + (.toString sb))) + +(defn munge [name] + (let [name' (munge-str (str name)) + name' (cond + (identical? name' "..") "_DOT__DOT_" + (js-reserved? name') (str name' "$") + :else name')] + (if (symbol? name) + (symbol name') + name'))) + +(defn- demunge-str [munged-name] + (let [r (js/RegExp. (demunge-pattern) "g") + munged-name (if (gstring/endsWith munged-name "$") + (.substring munged-name 0 (dec (. munged-name -length))) + munged-name)] + (loop [ret "" last-match-end 0] + (if-let [match (.exec r munged-name)] + (let [[x] match] + (recur + (str ret + (.substring munged-name last-match-end + (- (. r -lastIndex) (. x -length))) + (if (identical? x "$") "/" (gobject/get DEMUNGE_MAP x))) + (. r -lastIndex))) + (str ret + (.substring munged-name last-match-end (.-length munged-name))))))) + +(defn demunge [name] + ((if (symbol? name) symbol str) + (let [name' (str name)] + (if (identical? name' "_DOT__DOT_") + ".." + (demunge-str name'))))) + +(defonce ^{:jsdoc ["@type {*}"] :private true} + tapset nil) + +(defn- maybe-init-tapset [] + (when (nil? tapset) + (set! tapset (atom #{})))) + +(defn add-tap + "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" + [f] + (maybe-init-tapset) + (swap! tapset conj f) + nil) + +(defn remove-tap + "Remove f from the tap set the tap set." + [f] + (maybe-init-tapset) + (swap! tapset disj f) + nil) + +(defn ^boolean tap> + "Sends x to any taps. Returns the result of *exec-tap-fn*, a Boolean value." + [x] + (maybe-init-tapset) + (*exec-tap-fn* + (fn [] + (doseq [tap @tapset] + (try + (tap x) + (catch js/Error ex)))))) + +;; ----------------------------------------------------------------------------- +;; Bootstrap helpers - incompatible with advanced compilation + +(defn- ns-lookup + "Bootstrap only." + [ns-obj k] + (fn [] (gobject/get ns-obj k))) + +;; Bootstrap only +(deftype Namespace [obj name] + Object + (findInternedVar [this sym] + (let [k (munge (str sym))] + (when ^boolean (gobject/containsKey obj k) + (let [var-sym (symbol (str name) (str sym)) + var-meta {:ns this}] + (Var. (ns-lookup obj k) var-sym var-meta))))) + (getName [_] name) + (toString [_] + (str name)) + IEquiv + (-equiv [_ other] + (if (instance? Namespace other) + (= name (.-name other)) + false)) + IHash + (-hash [_] + (hash name))) + +(def + ^{:doc "Bootstrap only." :jsdoc ["@type {*}"]} + NS_CACHE nil) + +(defn- find-ns-obj* + "Bootstrap only." + [ctxt xs] + (cond + (nil? ctxt) nil + (nil? xs) ctxt + :else (recur (gobject/get ctxt (first xs)) (next xs)))) + +(defn find-ns-obj + "Bootstrap only." + [ns] + (let [munged-ns (munge (str ns)) + segs (.split munged-ns ".")] + (case *target* + "nodejs" (if ^boolean js/COMPILED + ; Under simple optimizations on nodejs, namespaces will be in module + ; rather than global scope and must be accessed by a direct call to eval. + ; The first segment may refer to an undefined variable, so its evaluation + ; may throw ReferenceError. + (find-ns-obj* + (try + (let [ctxt (js/eval (first segs))] + (when (and ctxt (object? ctxt)) + ctxt)) + (catch js/ReferenceError e + nil)) + (next segs)) + (find-ns-obj* goog/global segs)) + ("default" "webworker") (find-ns-obj* goog/global segs) + (throw (js/Error. (str "find-ns-obj not supported for target " *target*)))))) + +(defn ns-interns* + "Returns a map of the intern mappings for the namespace. + Bootstrap only." + [sym] + (let [ns-obj (find-ns-obj sym) + ns (Namespace. ns-obj sym)] + (letfn [(step [ret k] + (let [var-sym (symbol (demunge k))] + (assoc ret + var-sym (Var. #(gobject/get ns-obj k) + (symbol (str sym) (str var-sym)) {:ns ns}))))] + (reduce step {} (js-keys ns-obj))))) + +(defn create-ns + "Create a new namespace named by the symbol. Bootstrap only." + ([sym] + (create-ns sym (find-ns-obj sym))) + ([sym ns-obj] + (Namespace. ns-obj sym))) + +(defn find-ns + "Returns the namespace named by the symbol or nil if it doesn't exist. + Bootstrap only." + [ns] + (when (nil? NS_CACHE) + (set! NS_CACHE (atom {}))) + (let [the-ns (get @NS_CACHE ns)] + (if-not (nil? the-ns) + the-ns + (let [ns-obj (find-ns-obj ns)] + (when-not (nil? ns-obj) + (let [new-ns (create-ns ns ns-obj)] + (swap! NS_CACHE assoc ns new-ns) + new-ns)))))) + +(defn find-macros-ns + "Returns the macros namespace named by the symbol or nil if it doesn't exist. + Bootstrap only." + [ns] + (when (nil? NS_CACHE) + (set! NS_CACHE (atom {}))) + (let [ns-str (str ns) + ns (if (not ^boolean (gstring/contains ns-str "$macros")) + (symbol (str ns-str "$macros")) + ns) + the-ns (get @NS_CACHE ns)] + (if-not (nil? the-ns) + the-ns + (let [ns-obj (find-ns-obj ns)] + (when-not (nil? ns-obj) + (let [new-ns (create-ns ns ns-obj)] + (swap! NS_CACHE assoc ns new-ns) + new-ns)))))) + +(defn ns-name + "Returns the name of the namespace, a Namespace object. + Bootstrap only." + [ns-obj] + (.-name ns-obj)) + +(defn uri? + "Returns true x is a goog.Uri instance." + {:added "1.9"} + [x] + (instance? goog.Uri x)) + +(defn- maybe-enable-print! [] + (cond + (exists? js/console) + (enable-console-print!) + + (identical? *target* "nashorn") + (let [system (.type js/Java "java.lang.System")] + (set! *print-newline* false) + (set-print-fn! + (fn [] + (let [xs (js-arguments) + s (.join (garray/clone xs) "")] + (.println (.-out system) s)))) + (set-print-err-fn! + (fn [] + (let [xs (js-arguments) + s (.join (garray/clone xs) "")] + (.println (.-error system) s))))))) + +(maybe-enable-print!) + +(defonce + ^{:doc "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." :dynamic true} + *eval* + (fn [_] + (throw (js/Error. "cljs.core/*eval* not bound")))) + +(defn eval + "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." + [form] + (*eval* form)) diff --git a/examples/resources/public/js/out/cljs/core.js b/examples/resources/public/js/out/cljs/core.js new file mode 100644 index 0000000..b2465c9 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core.js @@ -0,0 +1,37594 @@ +// Compiled by ClojureScript 1.10.238 {:static-fns true} +goog.provide('cljs.core'); +goog.require('goog.math.Long'); +goog.require('goog.math.Integer'); +goog.require('goog.string'); +goog.require('goog.object'); +goog.require('goog.array'); +goog.require('goog.Uri'); +goog.require('goog.string.StringBuffer'); +cljs.core._STAR_clojurescript_version_STAR_ = "1.10.238"; +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.core.PROTOCOL_SENTINEL !== 'undefined'){ +} else { +cljs.core.PROTOCOL_SENTINEL = ({}); +} +cljs.core.MODULE_URIS = null; +cljs.core.MODULE_INFOS = null; + +/** @define {string} */ +goog.define("cljs.core._STAR_target_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.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__7551__auto__ = typeof setTimeout !== 'undefined'; +if(and__7551__auto__){ +var and__7551__auto____$1 = setTimeout(f,(0)); +if(cljs.core.truth_(and__7551__auto____$1)){ +return true; +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +}); +if(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.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,goog.array.clone(xs)); +})); + +cljs.core.set_print_err_fn_BANG_((function (){ +var xs = arguments; +return console.error.apply(console,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 goog.isString(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__7551__auto__ = ty; +if(cljs.core.truth_(and__7551__auto__)){ +return ty.cljs$lang$type; +} else { +return and__7551__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__4655__auto__ = ty.cljs$lang$ctorStr; +if(cljs.core.truth_(temp__4655__auto__)){ +var s = temp__4655__auto__; +return s; +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(ty)].join(''); +} +}); +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__9758 = arguments.length; +switch (G__9758) { +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__8762__auto__ = []; +var len__8743__auto___9760 = arguments.length; +var i__8744__auto___9761 = (0); +while(true){ +if((i__8744__auto___9761 < len__8743__auto___9760)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9761])); + +var G__9762 = (i__8744__auto___9761 + (1)); +i__8744__auto___9761 = G__9762; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__8512__auto___9763 = dimarray.length; +var i_9764 = (0); +while(true){ +if((i_9764 < n__8512__auto___9763)){ +(dimarray[i_9764] = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.make_array,null,dims)); + +var G__9765 = (i_9764 + (1)); +i_9764 = G__9765; +continue; +} else { +} +break; +} + +return dimarray; +}); + +/** @this {Function} */ +cljs.core.make_array.cljs$lang$applyTo = (function (seq9755){ +var G__9756 = cljs.core.first(seq9755); +var seq9755__$1 = cljs.core.next(seq9755); +var G__9757 = cljs.core.first(seq9755__$1); +var seq9755__$2 = cljs.core.next(seq9755__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9756,G__9757,seq9755__$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__8512__auto___9766 = len; +var i_9767 = (0); +while(true){ +if((i_9767 < n__8512__auto___9766)){ +(new_arr[i_9767] = (arr[i_9767])); + +var G__9768 = (i_9767 + (1)); +i_9767 = G__9768; +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__9769 = (i + (1)); +i = G__9769; +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_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_print_err_fn_STAR_.cljs$core$IFn$_invoke$arity$1(e) : 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__9774 = arguments.length; +switch (G__9774) { +case 2: +return cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___9777 = arguments.length; +var i__8744__auto___9778 = (0); +while(true){ +if((i__8744__auto___9778 < len__8743__auto___9777)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9778])); + +var G__9779 = (i__8744__auto___9778 + (1)); +i__8744__auto___9778 = G__9779; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__auto__); + +} +}); + +cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ +try{if(cljs.core.truth_((function (){var or__7566__auto__ = cljs.core.array_QMARK_(array); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (js/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 (e9775){var e_9780 = e9775; +cljs.core.maybe_warn(e_9780); +} +return (array[idx]); +}); + +cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.checked_aget,cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2(array,idx),idxs); +}); + +/** @this {Function} */ +cljs.core.checked_aget.cljs$lang$applyTo = (function (seq9771){ +var G__9772 = cljs.core.first(seq9771); +var seq9771__$1 = cljs.core.next(seq9771); +var G__9773 = cljs.core.first(seq9771__$1); +var seq9771__$2 = cljs.core.next(seq9771__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9772,G__9773,seq9771__$2); +}); + +cljs.core.checked_aget.cljs$lang$maxFixedArity = (2); + +cljs.core.checked_aset = (function cljs$core$checked_aset(var_args){ +var G__9786 = arguments.length; +switch (G__9786) { +case 3: +return cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___9789 = arguments.length; +var i__8744__auto___9790 = (0); +while(true){ +if((i__8744__auto___9790 < len__8743__auto___9789)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9790])); + +var G__9791 = (i__8744__auto___9790 + (1)); +i__8744__auto___9790 = G__9791; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__auto__); + +} +}); + +cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ +try{if(cljs.core.truth_((function (){var or__7566__auto__ = cljs.core.array_QMARK_(array); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (js/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 (e9787){var e_9792 = e9787; +cljs.core.maybe_warn(e_9792); +} +return (array[idx] = val); +}); + +cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.checked_aset,cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2(array,idx),idx2,idxv); +}); + +/** @this {Function} */ +cljs.core.checked_aset.cljs$lang$applyTo = (function (seq9782){ +var G__9783 = cljs.core.first(seq9782); +var seq9782__$1 = cljs.core.next(seq9782); +var G__9784 = cljs.core.first(seq9782__$1); +var seq9782__$2 = cljs.core.next(seq9782__$1); +var G__9785 = cljs.core.first(seq9782__$2); +var seq9782__$3 = cljs.core.next(seq9782__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9783,G__9784,G__9785,seq9782__$3); +}); + +cljs.core.checked_aset.cljs$lang$maxFixedArity = (3); + +cljs.core.checked_aget_SINGLEQUOTE_ = (function cljs$core$checked_aget_SINGLEQUOTE_(var_args){ +var G__9797 = arguments.length; +switch (G__9797) { +case 2: +return cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___9799 = arguments.length; +var i__8744__auto___9800 = (0); +while(true){ +if((i__8744__auto___9800 < len__8743__auto___9799)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9800])); + +var G__9801 = (i__8744__auto___9800 + (1)); +i__8744__auto___9800 = G__9801; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__auto__); + +} +}); + +cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ +if(cljs.core.truth_((function (){var or__7566__auto__ = cljs.core.array_QMARK_(array); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (js/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){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.checked_aget_SINGLEQUOTE_,cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2(array,idx),idxs); +}); + +/** @this {Function} */ +cljs.core.checked_aget_SINGLEQUOTE_.cljs$lang$applyTo = (function (seq9794){ +var G__9795 = cljs.core.first(seq9794); +var seq9794__$1 = cljs.core.next(seq9794); +var G__9796 = cljs.core.first(seq9794__$1); +var seq9794__$2 = cljs.core.next(seq9794__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9795,G__9796,seq9794__$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__9807 = arguments.length; +switch (G__9807) { +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__8762__auto__ = []; +var len__8743__auto___9809 = arguments.length; +var i__8744__auto___9810 = (0); +while(true){ +if((i__8744__auto___9810 < len__8743__auto___9809)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9810])); + +var G__9811 = (i__8744__auto___9810 + (1)); +i__8744__auto___9810 = G__9811; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__auto__); + +} +}); + +cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ +if(cljs.core.truth_((function (){var or__7566__auto__ = cljs.core.array_QMARK_(array); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (js/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){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.checked_aset_SINGLEQUOTE_,cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2(array,idx),idx2,idxv); +}); + +/** @this {Function} */ +cljs.core.checked_aset_SINGLEQUOTE_.cljs$lang$applyTo = (function (seq9803){ +var G__9804 = cljs.core.first(seq9803); +var seq9803__$1 = cljs.core.next(seq9803); +var G__9805 = cljs.core.first(seq9803__$1); +var seq9803__$2 = cljs.core.next(seq9803__$1); +var G__9806 = cljs.core.first(seq9803__$2); +var seq9803__$3 = cljs.core.next(seq9803__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9804,G__9805,G__9806,seq9803__$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__9816 = arguments.length; +switch (G__9816) { +case 2: +return cljs.core.aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___9818 = arguments.length; +var i__8744__auto___9819 = (0); +while(true){ +if((i__8744__auto___9819 < len__8743__auto___9818)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9819])); + +var G__9820 = (i__8744__auto___9819 + (1)); +i__8744__auto___9819 = G__9820; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.aget,(array[idx]),idxs); +}); + +/** @this {Function} */ +cljs.core.aget.cljs$lang$applyTo = (function (seq9813){ +var G__9814 = cljs.core.first(seq9813); +var seq9813__$1 = cljs.core.next(seq9813); +var G__9815 = cljs.core.first(seq9813__$1); +var seq9813__$2 = cljs.core.next(seq9813__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9814,G__9815,seq9813__$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__9826 = arguments.length; +switch (G__9826) { +case 3: +return cljs.core.aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___9828 = arguments.length; +var i__8744__auto___9829 = (0); +while(true){ +if((i__8744__auto___9829 < len__8743__auto___9828)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9829])); + +var G__9830 = (i__8744__auto___9829 + (1)); +i__8744__auto___9829 = G__9830; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.aset,(array[idx]),idx2,idxv); +}); + +/** @this {Function} */ +cljs.core.aset.cljs$lang$applyTo = (function (seq9822){ +var G__9823 = cljs.core.first(seq9822); +var seq9822__$1 = cljs.core.next(seq9822); +var G__9824 = cljs.core.first(seq9822__$1); +var seq9822__$2 = cljs.core.next(seq9822__$1); +var G__9825 = cljs.core.first(seq9822__$2); +var seq9822__$3 = cljs.core.next(seq9822__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9823,G__9824,G__9825,seq9822__$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__9832 = arguments.length; +switch (G__9832) { +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){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (a,x){ +a.push(x); + +return a; +}),[],aseq); +}); + +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__8750__auto__ = []; +var len__8743__auto___9837 = arguments.length; +var i__8744__auto___9838 = (0); +while(true){ +if((i__8744__auto___9838 < len__8743__auto___9837)){ +args__8750__auto__.push((arguments[i__8744__auto___9838])); + +var G__9839 = (i__8744__auto___9838 + (1)); +i__8744__auto___9838 = G__9839; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((2) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((2)),(0),null)):null); +return cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8751__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 (seq9834){ +var G__9835 = cljs.core.first(seq9834); +var seq9834__$1 = cljs.core.next(seq9834); +var G__9836 = cljs.core.first(seq9834__$1); +var seq9834__$2 = cljs.core.next(seq9834__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9835,G__9836,seq9834__$2); +}); + + +/** + * 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(){}; + +cljs.core._invoke = (function cljs$core$_invoke(var_args){ +var G__9841 = arguments.length; +switch (G__9841) { +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__8252__auto__.call(null,this$)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(this$) : m__8252__auto____$1.call(null,this$)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(this$,a) : m__8252__auto__.call(null,this$,a)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(this$,a) : m__8252__auto____$1.call(null,this$,a)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__8252__auto__.call(null,this$,a,b)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__8252__auto____$1.call(null,this$,a,b)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$4 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__8252__auto__.call(null,this$,a,b,c)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$4 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__8252__auto____$1.call(null,this$,a,b,c)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$5 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__8252__auto__.call(null,this$,a,b,c,d)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$5 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__8252__auto____$1.call(null,this$,a,b,c,d)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$6 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__8252__auto__.call(null,this$,a,b,c,d,e)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$6 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__8252__auto____$1.call(null,this$,a,b,c,d,e)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$7 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__8252__auto__.call(null,this$,a,b,c,d,e,f)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$7 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$8 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$8 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f,g)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$9 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$9 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f,g,h)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$10 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$10 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$11 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$11 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$12 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$12 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$13 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$13 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__8252__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$14 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$14 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$15 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$15 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$16 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$16 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$17 ? m__8252__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__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$17 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : m__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$18 ? m__8252__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__8252__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +} else { +var m__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$18 ? m__8252__auto____$1.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__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$19 ? m__8252__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__8252__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__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$19 ? m__8252__auto____$1.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__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$20 ? m__8252__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__8252__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__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$20 ? m__8252__auto____$1.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__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$21 ? m__8252__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,t) : m__8252__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__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$21 ? m__8252__auto____$1.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) : m__8252__auto____$1.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$); +} +} +} +}); + +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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._invoke[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$22 ? m__8252__auto__.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) : m__8252__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__8252__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$22 ? m__8252__auto____$1.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) : m__8252__auto____$1.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$); +} +} +} +}); + +cljs.core._invoke.cljs$lang$maxFixedArity = 22; + + + +/** + * Protocol for cloning a value. + * @interface + */ +cljs.core.ICloneable = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((value == null))?null:value); +var m__8252__auto__ = (cljs.core._clone[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(value) : m__8252__auto__.call(null,value)); +} else { +var m__8252__auto____$1 = (cljs.core._clone["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(value) : m__8252__auto____$1.call(null,value)); +} else { +throw cljs.core.missing_protocol("ICloneable.-clone",value); +} +} +} +}); + + +/** + * Protocol for adding the ability to count a collection in constant time. + * @interface + */ +cljs.core.ICounted = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._count[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._count["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("ICounted.-count",coll); +} +} +} +}); + + +/** + * Protocol for creating an empty collection. + * @interface + */ +cljs.core.IEmptyableCollection = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._empty[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._empty["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IEmptyableCollection.-empty",coll); +} +} +} +}); + + +/** + * Protocol for adding to a collection. + * @interface + */ +cljs.core.ICollection = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._conj[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,o) : m__8252__auto__.call(null,coll,o)); +} else { +var m__8252__auto____$1 = (cljs.core._conj["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,o) : m__8252__auto____$1.call(null,coll,o)); +} else { +throw cljs.core.missing_protocol("ICollection.-conj",coll); +} +} +} +}); + + +/** + * Protocol for collections to provide indexed-based access to their items. + * @interface + */ +cljs.core.IIndexed = function(){}; + +/** + * 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__9844 = arguments.length; +switch (G__9844) { +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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._nth[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,n) : m__8252__auto__.call(null,coll,n)); +} else { +var m__8252__auto____$1 = (cljs.core._nth["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,n) : m__8252__auto____$1.call(null,coll,n)); +} else { +throw cljs.core.missing_protocol("IIndexed.-nth",coll); +} +} +} +}); + +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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._nth[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__8252__auto__.call(null,coll,n,not_found)); +} else { +var m__8252__auto____$1 = (cljs.core._nth["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__8252__auto____$1.call(null,coll,n,not_found)); +} else { +throw cljs.core.missing_protocol("IIndexed.-nth",coll); +} +} +} +}); + +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(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._first[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._first["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("ISeq.-first",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._rest[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._rest["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("ISeq.-rest",coll); +} +} +} +}); + + +/** + * Protocol for accessing the next items of a collection. + * @interface + */ +cljs.core.INext = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._next[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._next["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("INext.-next",coll); +} +} +} +}); + + +/** + * Protocol for looking up a value in a data structure. + * @interface + */ +cljs.core.ILookup = function(){}; + +/** + * 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__9847 = arguments.length; +switch (G__9847) { +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._lookup[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(o,k) : m__8252__auto__.call(null,o,k)); +} else { +var m__8252__auto____$1 = (cljs.core._lookup["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(o,k) : m__8252__auto____$1.call(null,o,k)); +} else { +throw cljs.core.missing_protocol("ILookup.-lookup",o); +} +} +} +}); + +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._lookup[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__8252__auto__.call(null,o,k,not_found)); +} else { +var m__8252__auto____$1 = (cljs.core._lookup["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__8252__auto____$1.call(null,o,k,not_found)); +} else { +throw cljs.core.missing_protocol("ILookup.-lookup",o); +} +} +} +}); + +cljs.core._lookup.cljs$lang$maxFixedArity = 3; + + + +/** + * Protocol for adding associativity to collections. + * @interface + */ +cljs.core.IAssociative = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._contains_key_QMARK_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8252__auto__.call(null,coll,k)); +} else { +var m__8252__auto____$1 = (cljs.core._contains_key_QMARK_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8252__auto____$1.call(null,coll,k)); +} else { +throw cljs.core.missing_protocol("IAssociative.-contains-key?",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._assoc[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__8252__auto__.call(null,coll,k,v)); +} else { +var m__8252__auto____$1 = (cljs.core._assoc["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__8252__auto____$1.call(null,coll,k,v)); +} else { +throw cljs.core.missing_protocol("IAssociative.-assoc",coll); +} +} +} +}); + + +/** + * Protocol for implementing entry finding in collections. + * @interface + */ +cljs.core.IFind = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._find[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8252__auto__.call(null,coll,k)); +} else { +var m__8252__auto____$1 = (cljs.core._find["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8252__auto____$1.call(null,coll,k)); +} else { +throw cljs.core.missing_protocol("IFind.-find",coll); +} +} +} +}); + + +/** + * Protocol for adding mapping functionality to collections. + * @interface + */ +cljs.core.IMap = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._dissoc[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8252__auto__.call(null,coll,k)); +} else { +var m__8252__auto____$1 = (cljs.core._dissoc["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8252__auto____$1.call(null,coll,k)); +} else { +throw cljs.core.missing_protocol("IMap.-dissoc",coll); +} +} +} +}); + + +/** + * Protocol for examining a map entry. + * @interface + */ +cljs.core.IMapEntry = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._key[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._key["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IMapEntry.-key",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._val[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._val["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IMapEntry.-val",coll); +} +} +} +}); + + +/** + * Protocol for adding set functionality to a collection. + * @interface + */ +cljs.core.ISet = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._disjoin[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,v) : m__8252__auto__.call(null,coll,v)); +} else { +var m__8252__auto____$1 = (cljs.core._disjoin["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,v) : m__8252__auto____$1.call(null,coll,v)); +} else { +throw cljs.core.missing_protocol("ISet.-disjoin",coll); +} +} +} +}); + + +/** + * 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(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._peek[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._peek["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IStack.-peek",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._pop[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._pop["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IStack.-pop",coll); +} +} +} +}); + + +/** + * Protocol for adding vector functionality to collections. + * @interface + */ +cljs.core.IVector = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._assoc_n[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__8252__auto__.call(null,coll,n,val)); +} else { +var m__8252__auto____$1 = (cljs.core._assoc_n["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__8252__auto____$1.call(null,coll,n,val)); +} else { +throw cljs.core.missing_protocol("IVector.-assoc-n",coll); +} +} +} +}); + + +/** + * Protocol for adding dereference functionality to a reference. + * @interface + */ +cljs.core.IDeref = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._deref[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto__.call(null,o)); +} else { +var m__8252__auto____$1 = (cljs.core._deref["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto____$1.call(null,o)); +} else { +throw cljs.core.missing_protocol("IDeref.-deref",o); +} +} +} +}); + + +/** + * @interface + */ +cljs.core.IDerefWithTimeout = function(){}; + +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._deref_with_timeout[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__8252__auto__.call(null,o,msec,timeout_val)); +} else { +var m__8252__auto____$1 = (cljs.core._deref_with_timeout["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__8252__auto____$1.call(null,o,msec,timeout_val)); +} else { +throw cljs.core.missing_protocol("IDerefWithTimeout.-deref-with-timeout",o); +} +} +} +}); + + +/** + * Protocol for accessing the metadata of an object. + * @interface + */ +cljs.core.IMeta = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._meta[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto__.call(null,o)); +} else { +var m__8252__auto____$1 = (cljs.core._meta["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto____$1.call(null,o)); +} else { +throw cljs.core.missing_protocol("IMeta.-meta",o); +} +} +} +}); + + +/** + * Protocol for adding metadata to an object. + * @interface + */ +cljs.core.IWithMeta = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._with_meta[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(o,meta) : m__8252__auto__.call(null,o,meta)); +} else { +var m__8252__auto____$1 = (cljs.core._with_meta["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(o,meta) : m__8252__auto____$1.call(null,o,meta)); +} else { +throw cljs.core.missing_protocol("IWithMeta.-with-meta",o); +} +} +} +}); + + +/** + * Protocol for seq types that can reduce themselves. + * Called by cljs.core/reduce. + * @interface + */ +cljs.core.IReduce = function(){}; + +/** + * 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__9850 = arguments.length; +switch (G__9850) { +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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._reduce[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,f) : m__8252__auto__.call(null,coll,f)); +} else { +var m__8252__auto____$1 = (cljs.core._reduce["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,f) : m__8252__auto____$1.call(null,coll,f)); +} else { +throw cljs.core.missing_protocol("IReduce.-reduce",coll); +} +} +} +}); + +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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._reduce[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__8252__auto__.call(null,coll,f,start)); +} else { +var m__8252__auto____$1 = (cljs.core._reduce["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__8252__auto____$1.call(null,coll,f,start)); +} else { +throw cljs.core.missing_protocol("IReduce.-reduce",coll); +} +} +} +}); + +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(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._kv_reduce[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__8252__auto__.call(null,coll,f,init)); +} else { +var m__8252__auto____$1 = (cljs.core._kv_reduce["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__8252__auto____$1.call(null,coll,f,init)); +} else { +throw cljs.core.missing_protocol("IKVReduce.-kv-reduce",coll); +} +} +} +}); + + +/** + * Protocol for adding value comparison functionality to a type. + * @interface + */ +cljs.core.IEquiv = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._equiv[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(o,other) : m__8252__auto__.call(null,o,other)); +} else { +var m__8252__auto____$1 = (cljs.core._equiv["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(o,other) : m__8252__auto____$1.call(null,o,other)); +} else { +throw cljs.core.missing_protocol("IEquiv.-equiv",o); +} +} +} +}); + + +/** + * Protocol for adding hashing functionality to a type. + * @interface + */ +cljs.core.IHash = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._hash[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto__.call(null,o)); +} else { +var m__8252__auto____$1 = (cljs.core._hash["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto____$1.call(null,o)); +} else { +throw cljs.core.missing_protocol("IHash.-hash",o); +} +} +} +}); + + +/** + * Protocol for adding the ability to a type to be transformed into a sequence. + * @interface + */ +cljs.core.ISeqable = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._seq[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto__.call(null,o)); +} else { +var m__8252__auto____$1 = (cljs.core._seq["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8252__auto____$1.call(null,o)); +} else { +throw cljs.core.missing_protocol("ISeqable.-seq",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(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._rseq[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._rseq["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IReversible.-rseq",coll); +} +} +} +}); + + +/** + * Protocol for a collection which can represent their items + * in a sorted manner. + * @interface + */ +cljs.core.ISorted = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._sorted_seq[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__8252__auto__.call(null,coll,ascending_QMARK_)); +} else { +var m__8252__auto____$1 = (cljs.core._sorted_seq["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__8252__auto____$1.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. + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._sorted_seq_from[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__8252__auto__.call(null,coll,k,ascending_QMARK_)); +} else { +var m__8252__auto____$1 = (cljs.core._sorted_seq_from["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__8252__auto____$1.call(null,coll,k,ascending_QMARK_)); +} else { +throw cljs.core.missing_protocol("ISorted.-sorted-seq-from",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._entry_key[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__8252__auto__.call(null,coll,entry)); +} else { +var m__8252__auto____$1 = (cljs.core._entry_key["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__8252__auto____$1.call(null,coll,entry)); +} else { +throw cljs.core.missing_protocol("ISorted.-entry-key",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._comparator[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._comparator["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("ISorted.-comparator",coll); +} +} +} +}); + + +/** + * Protocol for writing. Currently only implemented by StringBufferWriter. + * @interface + */ +cljs.core.IWriter = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((writer == null))?null:writer); +var m__8252__auto__ = (cljs.core._write[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(writer,s) : m__8252__auto__.call(null,writer,s)); +} else { +var m__8252__auto____$1 = (cljs.core._write["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(writer,s) : m__8252__auto____$1.call(null,writer,s)); +} else { +throw cljs.core.missing_protocol("IWriter.-write",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 { +var x__8251__auto__ = (((writer == null))?null:writer); +var m__8252__auto__ = (cljs.core._flush[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(writer) : m__8252__auto__.call(null,writer)); +} else { +var m__8252__auto____$1 = (cljs.core._flush["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(writer) : m__8252__auto____$1.call(null,writer)); +} else { +throw cljs.core.missing_protocol("IWriter.-flush",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(){}; + +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._pr_writer[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__8252__auto__.call(null,o,writer,opts)); +} else { +var m__8252__auto____$1 = (cljs.core._pr_writer["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__8252__auto____$1.call(null,o,writer,opts)); +} else { +throw cljs.core.missing_protocol("IPrintWithWriter.-pr-writer",o); +} +} +} +}); + + +/** + * Protocol for types which can have a deferred realization. Currently only + * implemented by Delay and LazySeq. + * @interface + */ +cljs.core.IPending = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._realized_QMARK_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto__.call(null,x)); +} else { +var m__8252__auto____$1 = (cljs.core._realized_QMARK_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto____$1.call(null,x)); +} else { +throw cljs.core.missing_protocol("IPending.-realized?",x); +} +} +} +}); + + +/** + * Protocol for types that can be watched. Currently only implemented by Atom. + * @interface + */ +cljs.core.IWatchable = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._notify_watches[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__8252__auto__.call(null,this$,oldval,newval)); +} else { +var m__8252__auto____$1 = (cljs.core._notify_watches["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__8252__auto____$1.call(null,this$,oldval,newval)); +} else { +throw cljs.core.missing_protocol("IWatchable.-notify-watches",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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._add_watch[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__8252__auto__.call(null,this$,key,f)); +} else { +var m__8252__auto____$1 = (cljs.core._add_watch["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__8252__auto____$1.call(null,this$,key,f)); +} else { +throw cljs.core.missing_protocol("IWatchable.-add-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 { +var x__8251__auto__ = (((this$ == null))?null:this$); +var m__8252__auto__ = (cljs.core._remove_watch[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(this$,key) : m__8252__auto__.call(null,this$,key)); +} else { +var m__8252__auto____$1 = (cljs.core._remove_watch["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(this$,key) : m__8252__auto____$1.call(null,this$,key)); +} else { +throw cljs.core.missing_protocol("IWatchable.-remove-watch",this$); +} +} +} +}); + + +/** + * Protocol for collections which can transformed to transients. + * @interface + */ +cljs.core.IEditableCollection = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._as_transient[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._as_transient["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IEditableCollection.-as-transient",coll); +} +} +} +}); + + +/** + * Protocol for adding basic functionality to transient collections. + * @interface + */ +cljs.core.ITransientCollection = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._conj_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__8252__auto__.call(null,tcoll,val)); +} else { +var m__8252__auto____$1 = (cljs.core._conj_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__8252__auto____$1.call(null,tcoll,val)); +} else { +throw cljs.core.missing_protocol("ITransientCollection.-conj!",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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._persistent_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8252__auto__.call(null,tcoll)); +} else { +var m__8252__auto____$1 = (cljs.core._persistent_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8252__auto____$1.call(null,tcoll)); +} else { +throw cljs.core.missing_protocol("ITransientCollection.-persistent!",tcoll); +} +} +} +}); + + +/** + * Protocol for adding associativity to transient collections. + * @interface + */ +cljs.core.ITransientAssociative = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._assoc_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__8252__auto__.call(null,tcoll,key,val)); +} else { +var m__8252__auto____$1 = (cljs.core._assoc_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__8252__auto____$1.call(null,tcoll,key,val)); +} else { +throw cljs.core.missing_protocol("ITransientAssociative.-assoc!",tcoll); +} +} +} +}); + + +/** + * Protocol for adding mapping functionality to transient collections. + * @interface + */ +cljs.core.ITransientMap = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._dissoc_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__8252__auto__.call(null,tcoll,key)); +} else { +var m__8252__auto____$1 = (cljs.core._dissoc_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__8252__auto____$1.call(null,tcoll,key)); +} else { +throw cljs.core.missing_protocol("ITransientMap.-dissoc!",tcoll); +} +} +} +}); + + +/** + * Protocol for adding vector functionality to transient collections. + * @interface + */ +cljs.core.ITransientVector = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._assoc_n_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__8252__auto__.call(null,tcoll,n,val)); +} else { +var m__8252__auto____$1 = (cljs.core._assoc_n_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__8252__auto____$1.call(null,tcoll,n,val)); +} else { +throw cljs.core.missing_protocol("ITransientVector.-assoc-n!",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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._pop_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8252__auto__.call(null,tcoll)); +} else { +var m__8252__auto____$1 = (cljs.core._pop_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8252__auto____$1.call(null,tcoll)); +} else { +throw cljs.core.missing_protocol("ITransientVector.-pop!",tcoll); +} +} +} +}); + + +/** + * Protocol for adding set functionality to a transient collection. + * @interface + */ +cljs.core.ITransientSet = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((tcoll == null))?null:tcoll); +var m__8252__auto__ = (cljs.core._disjoin_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__8252__auto__.call(null,tcoll,v)); +} else { +var m__8252__auto____$1 = (cljs.core._disjoin_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__8252__auto____$1.call(null,tcoll,v)); +} else { +throw cljs.core.missing_protocol("ITransientSet.-disjoin!",tcoll); +} +} +} +}); + + +/** + * Protocol for values that can be compared. + * @interface + */ +cljs.core.IComparable = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._compare[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(x,y) : m__8252__auto__.call(null,x,y)); +} else { +var m__8252__auto____$1 = (cljs.core._compare["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(x,y) : m__8252__auto____$1.call(null,x,y)); +} else { +throw cljs.core.missing_protocol("IComparable.-compare",x); +} +} +} +}); + + +/** + * Protocol for accessing the items of a chunk. + * @interface + */ +cljs.core.IChunk = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._drop_first[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._drop_first["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IChunk.-drop-first",coll); +} +} +} +}); + + +/** + * Protocol for accessing a collection as sequential chunks. + * @interface + */ +cljs.core.IChunkedSeq = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._chunked_first[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._chunked_first["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IChunkedSeq.-chunked-first",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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._chunked_rest[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._chunked_rest["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IChunkedSeq.-chunked-rest",coll); +} +} +} +}); + + +/** + * Protocol for accessing the chunks of a collection. + * @interface + */ +cljs.core.IChunkedNext = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._chunked_next[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._chunked_next["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IChunkedNext.-chunked-next",coll); +} +} +} +}); + + +/** + * Protocol for adding a name. + * @interface + */ +cljs.core.INamed = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._name[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto__.call(null,x)); +} else { +var m__8252__auto____$1 = (cljs.core._name["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto____$1.call(null,x)); +} else { +throw cljs.core.missing_protocol("INamed.-name",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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._namespace[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto__.call(null,x)); +} else { +var m__8252__auto____$1 = (cljs.core._namespace["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto____$1.call(null,x)); +} else { +throw cljs.core.missing_protocol("INamed.-namespace",x); +} +} +} +}); + + +/** + * Marker protocol indicating an atom. + * @interface + */ +cljs.core.IAtom = function(){}; + + +/** + * Protocol for adding resetting functionality. + * @interface + */ +cljs.core.IReset = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._reset_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8252__auto__.call(null,o,new_value)); +} else { +var m__8252__auto____$1 = (cljs.core._reset_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8252__auto____$1.call(null,o,new_value)); +} else { +throw cljs.core.missing_protocol("IReset.-reset!",o); +} +} +} +}); + + +/** + * Protocol for adding swapping functionality. + * @interface + */ +cljs.core.ISwap = function(){}; + +/** + * 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__9853 = arguments.length; +switch (G__9853) { +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(o,f) : m__8252__auto__.call(null,o,f)); +} else { +var m__8252__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(o,f) : m__8252__auto____$1.call(null,o,f)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +} +}); + +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__8252__auto__.call(null,o,f,a)); +} else { +var m__8252__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__8252__auto____$1.call(null,o,f,a)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +} +}); + +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$4 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__8252__auto__.call(null,o,f,a,b)); +} else { +var m__8252__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$4 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__8252__auto____$1.call(null,o,f,a,b)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +} +}); + +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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$5 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__8252__auto__.call(null,o,f,a,b,xs)); +} else { +var m__8252__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$5 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__8252__auto____$1.call(null,o,f,a,b,xs)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +} +}); + +cljs.core._swap_BANG_.cljs$lang$maxFixedArity = 5; + + + +/** + * Protocol for adding volatile functionality. + * @interface + */ +cljs.core.IVolatile = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((o == null))?null:o); +var m__8252__auto__ = (cljs.core._vreset_BANG_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8252__auto__.call(null,o,new_value)); +} else { +var m__8252__auto____$1 = (cljs.core._vreset_BANG_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8252__auto____$1.call(null,o,new_value)); +} else { +throw cljs.core.missing_protocol("IVolatile.-vreset!",o); +} +} +} +}); + + +/** + * Protocol for iterating over a collection. + * @interface + */ +cljs.core.IIterable = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((coll == null))?null:coll); +var m__8252__auto__ = (cljs.core._iterator[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto__.call(null,coll)); +} else { +var m__8252__auto____$1 = (cljs.core._iterator["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8252__auto____$1.call(null,coll)); +} else { +throw cljs.core.missing_protocol("IIterable.-iterator",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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)].join(''); +}); +cljs.core.int_rotate_left = (function cljs$core$int_rotate_left(x,n){ +return ((x << n) | (x >>> (- n))); +}); +if(((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__9855 = (i + (2)); +var G__9856 = cljs.core.m3_mix_H1(h1,cljs.core.m3_mix_K1((in$.charCodeAt((i - (1))) | (in$.charCodeAt(i) << (16))))); +i = G__9855; +h1 = G__9856; +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__9859 = (i + (1)); +var G__9860 = (cljs.core.imul((31),hash) + s.charCodeAt(i)); +i = G__9859; +hash = G__9860; +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); +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(cljs.core.truth_(isFinite(o))){ +return (Math.floor(o) % (2147483647)); +} else { +var G__9864 = o; +switch (G__9864) { +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__7551__auto__ = cljs.core.not(a.ns); +if(and__7551__auto__){ +return b.ns; +} else { +return and__7551__auto__; +} +})())){ +return (-1); +} else { +if(cljs.core.truth_(a.ns)){ +if(cljs.core.not(b.ns)){ +return (1); +} else { +var nsc = (function (){var G__9866 = a.ns; +var G__9867 = b.ns; +return goog.array.defaultCompare(G__9866,G__9867); +})(); +if(((0) === nsc)){ +var G__9868 = a.name; +var G__9869 = b.name; +return goog.array.defaultCompare(G__9868,G__9869); +} else { +return nsc; +} +} +} else { +var G__9870 = a.name; +var G__9871 = b.name; +return goog.array.defaultCompare(G__9870,G__9871); + +} +} +} +}); + +/** +* @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() { +var G__9873 = null; +var G__9873__2 = (function (self__,coll){ +var self__ = this; +var self____$1 = this; +var sym = self____$1; +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,sym); +}); +var G__9873__3 = (function (self__,coll,not_found){ +var self__ = this; +var self____$1 = this; +var sym = self____$1; +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,sym,not_found); +}); +G__9873 = function(self__,coll,not_found){ +switch(arguments.length){ +case 2: +return G__9873__2.call(this,self__,coll); +case 3: +return G__9873__3.call(this,self__,coll,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__9873.cljs$core$IFn$_invoke$arity$2 = G__9873__2; +G__9873.cljs$core$IFn$_invoke$arity$3 = G__9873__3; +return G__9873; +})() +; + +cljs.core.Symbol.prototype.apply = (function (self__,args9872){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args9872))); +}); + +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(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(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__8022__auto__ = self__._hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_symbol(sym__$1); +self__._hash = h__8022__auto____$1; + +return h__8022__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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 a Symbol with the given namespace and name. + */ +cljs.core.symbol = (function cljs$core$symbol(var_args){ +var G__9875 = arguments.length; +switch (G__9875) { +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){ +if((name instanceof cljs.core.Symbol)){ +return name; +} else { +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)); +} +} +}); + +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)){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this$__$1.sym,other.sym); +} 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() { +var G__9920 = null; +var G__9920__1 = (function (self__){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9878 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9878.cljs$core$IFn$_invoke$arity$0 ? fexpr__9878.cljs$core$IFn$_invoke$arity$0() : fexpr__9878.call(null)); +}); +var G__9920__2 = (function (self__,a){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9879 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9879.cljs$core$IFn$_invoke$arity$1 ? fexpr__9879.cljs$core$IFn$_invoke$arity$1(a) : fexpr__9879.call(null,a)); +}); +var G__9920__3 = (function (self__,a,b){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9880 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9880.cljs$core$IFn$_invoke$arity$2 ? fexpr__9880.cljs$core$IFn$_invoke$arity$2(a,b) : fexpr__9880.call(null,a,b)); +}); +var G__9920__4 = (function (self__,a,b,c){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9881 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9881.cljs$core$IFn$_invoke$arity$3 ? fexpr__9881.cljs$core$IFn$_invoke$arity$3(a,b,c) : fexpr__9881.call(null,a,b,c)); +}); +var G__9920__5 = (function (self__,a,b,c,d){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9882 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9882.cljs$core$IFn$_invoke$arity$4 ? fexpr__9882.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : fexpr__9882.call(null,a,b,c,d)); +}); +var G__9920__6 = (function (self__,a,b,c,d,e){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9883 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9883.cljs$core$IFn$_invoke$arity$5 ? fexpr__9883.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : fexpr__9883.call(null,a,b,c,d,e)); +}); +var G__9920__7 = (function (self__,a,b,c,d,e,f){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9884 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9884.cljs$core$IFn$_invoke$arity$6 ? fexpr__9884.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : fexpr__9884.call(null,a,b,c,d,e,f)); +}); +var G__9920__8 = (function (self__,a,b,c,d,e,f,g){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9885 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9885.cljs$core$IFn$_invoke$arity$7 ? fexpr__9885.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : fexpr__9885.call(null,a,b,c,d,e,f,g)); +}); +var G__9920__9 = (function (self__,a,b,c,d,e,f,g,h){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9886 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9886.cljs$core$IFn$_invoke$arity$8 ? fexpr__9886.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : fexpr__9886.call(null,a,b,c,d,e,f,g,h)); +}); +var G__9920__10 = (function (self__,a,b,c,d,e,f,g,h,i){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9887 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9887.cljs$core$IFn$_invoke$arity$9 ? fexpr__9887.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : fexpr__9887.call(null,a,b,c,d,e,f,g,h,i)); +}); +var G__9920__11 = (function (self__,a,b,c,d,e,f,g,h,i,j){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9888 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9888.cljs$core$IFn$_invoke$arity$10 ? fexpr__9888.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : fexpr__9888.call(null,a,b,c,d,e,f,g,h,i,j)); +}); +var G__9920__12 = (function (self__,a,b,c,d,e,f,g,h,i,j,k){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9889 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9889.cljs$core$IFn$_invoke$arity$11 ? fexpr__9889.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : fexpr__9889.call(null,a,b,c,d,e,f,g,h,i,j,k)); +}); +var G__9920__13 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9890 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9890.cljs$core$IFn$_invoke$arity$12 ? fexpr__9890.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : fexpr__9890.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); +}); +var G__9920__14 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9891 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9891.cljs$core$IFn$_invoke$arity$13 ? fexpr__9891.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : fexpr__9891.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); +}); +var G__9920__15 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9892 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9892.cljs$core$IFn$_invoke$arity$14 ? fexpr__9892.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : fexpr__9892.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +}); +var G__9920__16 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9893 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9893.cljs$core$IFn$_invoke$arity$15 ? fexpr__9893.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : fexpr__9893.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +}); +var G__9920__17 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9894 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9894.cljs$core$IFn$_invoke$arity$16 ? fexpr__9894.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : fexpr__9894.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +}); +var G__9920__18 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9895 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9895.cljs$core$IFn$_invoke$arity$17 ? fexpr__9895.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : fexpr__9895.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +}); +var G__9920__19 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9896 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9896.cljs$core$IFn$_invoke$arity$18 ? fexpr__9896.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__9896.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +}); +var G__9920__20 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9897 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9897.cljs$core$IFn$_invoke$arity$19 ? fexpr__9897.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__9897.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +}); +var G__9920__21 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +var fexpr__9898 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9898.cljs$core$IFn$_invoke$arity$20 ? fexpr__9898.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__9898.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +}); +var G__9920__22 = (function (self__,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 self____$1 = this; +var _ = self____$1; +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic((self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)),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)); +}); +G__9920 = function(self__,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__9920__1.call(this,self__); +case 2: +return G__9920__2.call(this,self__,a); +case 3: +return G__9920__3.call(this,self__,a,b); +case 4: +return G__9920__4.call(this,self__,a,b,c); +case 5: +return G__9920__5.call(this,self__,a,b,c,d); +case 6: +return G__9920__6.call(this,self__,a,b,c,d,e); +case 7: +return G__9920__7.call(this,self__,a,b,c,d,e,f); +case 8: +return G__9920__8.call(this,self__,a,b,c,d,e,f,g); +case 9: +return G__9920__9.call(this,self__,a,b,c,d,e,f,g,h); +case 10: +return G__9920__10.call(this,self__,a,b,c,d,e,f,g,h,i); +case 11: +return G__9920__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__9920__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__9920__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__9920__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__9920__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__9920__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__9920__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__9920__18.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +case 19: +return G__9920__19.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +case 20: +return G__9920__20.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +case 21: +return G__9920__21.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +case 22: +return G__9920__22.call(this,self__,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 - 1))); +}; +G__9920.cljs$core$IFn$_invoke$arity$1 = G__9920__1; +G__9920.cljs$core$IFn$_invoke$arity$2 = G__9920__2; +G__9920.cljs$core$IFn$_invoke$arity$3 = G__9920__3; +G__9920.cljs$core$IFn$_invoke$arity$4 = G__9920__4; +G__9920.cljs$core$IFn$_invoke$arity$5 = G__9920__5; +G__9920.cljs$core$IFn$_invoke$arity$6 = G__9920__6; +G__9920.cljs$core$IFn$_invoke$arity$7 = G__9920__7; +G__9920.cljs$core$IFn$_invoke$arity$8 = G__9920__8; +G__9920.cljs$core$IFn$_invoke$arity$9 = G__9920__9; +G__9920.cljs$core$IFn$_invoke$arity$10 = G__9920__10; +G__9920.cljs$core$IFn$_invoke$arity$11 = G__9920__11; +G__9920.cljs$core$IFn$_invoke$arity$12 = G__9920__12; +G__9920.cljs$core$IFn$_invoke$arity$13 = G__9920__13; +G__9920.cljs$core$IFn$_invoke$arity$14 = G__9920__14; +G__9920.cljs$core$IFn$_invoke$arity$15 = G__9920__15; +G__9920.cljs$core$IFn$_invoke$arity$16 = G__9920__16; +G__9920.cljs$core$IFn$_invoke$arity$17 = G__9920__17; +G__9920.cljs$core$IFn$_invoke$arity$18 = G__9920__18; +G__9920.cljs$core$IFn$_invoke$arity$19 = G__9920__19; +G__9920.cljs$core$IFn$_invoke$arity$20 = G__9920__20; +G__9920.cljs$core$IFn$_invoke$arity$21 = G__9920__21; +G__9920.cljs$core$IFn$_invoke$arity$22 = G__9920__22; +return G__9920; +})() +; + +cljs.core.Var.prototype.apply = (function (self__,args9877){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args9877))); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ +var self__ = this; +var _ = this; +var fexpr__9899 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9899.cljs$core$IFn$_invoke$arity$0 ? fexpr__9899.cljs$core$IFn$_invoke$arity$0() : fexpr__9899.call(null)); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ +var self__ = this; +var _ = this; +var fexpr__9900 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9900.cljs$core$IFn$_invoke$arity$1 ? fexpr__9900.cljs$core$IFn$_invoke$arity$1(a) : fexpr__9900.call(null,a)); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +var self__ = this; +var _ = this; +var fexpr__9901 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9901.cljs$core$IFn$_invoke$arity$2 ? fexpr__9901.cljs$core$IFn$_invoke$arity$2(a,b) : fexpr__9901.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__9902 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9902.cljs$core$IFn$_invoke$arity$3 ? fexpr__9902.cljs$core$IFn$_invoke$arity$3(a,b,c) : fexpr__9902.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__9903 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9903.cljs$core$IFn$_invoke$arity$4 ? fexpr__9903.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : fexpr__9903.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__9904 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9904.cljs$core$IFn$_invoke$arity$5 ? fexpr__9904.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : fexpr__9904.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__9905 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9905.cljs$core$IFn$_invoke$arity$6 ? fexpr__9905.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : fexpr__9905.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__9906 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9906.cljs$core$IFn$_invoke$arity$7 ? fexpr__9906.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : fexpr__9906.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__9907 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9907.cljs$core$IFn$_invoke$arity$8 ? fexpr__9907.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : fexpr__9907.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__9908 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9908.cljs$core$IFn$_invoke$arity$9 ? fexpr__9908.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : fexpr__9908.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__9909 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9909.cljs$core$IFn$_invoke$arity$10 ? fexpr__9909.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : fexpr__9909.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__9910 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9910.cljs$core$IFn$_invoke$arity$11 ? fexpr__9910.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : fexpr__9910.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__9911 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9911.cljs$core$IFn$_invoke$arity$12 ? fexpr__9911.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : fexpr__9911.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__9912 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9912.cljs$core$IFn$_invoke$arity$13 ? fexpr__9912.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : fexpr__9912.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__9913 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9913.cljs$core$IFn$_invoke$arity$14 ? fexpr__9913.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : fexpr__9913.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__9914 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9914.cljs$core$IFn$_invoke$arity$15 ? fexpr__9914.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : fexpr__9914.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__9915 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9915.cljs$core$IFn$_invoke$arity$16 ? fexpr__9915.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : fexpr__9915.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__9916 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9916.cljs$core$IFn$_invoke$arity$17 ? fexpr__9916.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : fexpr__9916.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__9917 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9917.cljs$core$IFn$_invoke$arity$18 ? fexpr__9917.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__9917.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__9918 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9918.cljs$core$IFn$_invoke$arity$19 ? fexpr__9918.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__9918.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__9919 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +return (fexpr__9919.cljs$core$IFn$_invoke$arity$20 ? fexpr__9919.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__9919.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; +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic((self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)),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.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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +/** + * 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); +}); + + +/** + * 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); +} +}); +/** + * 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.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 cljs.core._rest(s); +} 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__9931 = arguments.length; +switch (G__9931) { +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__8762__auto__ = []; +var len__8743__auto___9933 = arguments.length; +var i__8744__auto___9934 = (0); +while(true){ +if((i__8744__auto___9934 < len__8743__auto___9933)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___9934])); + +var G__9935 = (i__8744__auto___9934 + (1)); +i__8744__auto___9934 = G__9935; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__9936 = y; +var G__9937 = cljs.core.first(more); +var G__9938 = cljs.core.next(more); +x = G__9936; +y = G__9937; +more = G__9938; +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 (seq9928){ +var G__9929 = cljs.core.first(seq9928); +var seq9928__$1 = cljs.core.next(seq9928); +var G__9930 = cljs.core.first(seq9928__$1); +var seq9928__$2 = cljs.core.next(seq9928__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9929,G__9930,seq9928__$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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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 cljs.core.List.EMPTY; +} 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__9939 = (n + (1)); +var G__9940 = ((cljs.core.imul((31),hash_code) + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); +var G__9941 = cljs.core.next(coll__$1); +n = G__9939; +hash_code = G__9940; +coll__$1 = G__9941; +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__9942 = (n + (1)); +var G__9943 = ((hash_code + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); +var G__9944 = cljs.core.next(coll__$1); +n = G__9942; +hash_code = G__9943; +coll__$1 = G__9944; +continue; +} else { +return cljs.core.mix_collection_hash(hash_code,n); +} +break; +} +}); +cljs.core.empty_unordered_hash = cljs.core.mix_collection_hash((0),(0)); + + +goog.object.set(cljs.core.ICounted,"null",true); + +var G__9945_9948 = cljs.core._count; +var G__9946_9949 = "null"; +var G__9947_9950 = ((function (G__9945_9948,G__9946_9949){ +return (function (_){ +return (0); +});})(G__9945_9948,G__9946_9949)) +; +goog.object.set(G__9945_9948,G__9946_9949,G__9947_9950); +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)){ +var G__9951 = this$__$1.valueOf(); +var G__9952 = other.valueOf(); +return goog.array.defaultCompare(G__9951,G__9952); +} 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(){}; + +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 { +var x__8251__auto__ = (((inst == null))?null:inst); +var m__8252__auto__ = (cljs.core.inst_ms_STAR_[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(inst) : m__8252__auto__.call(null,inst)); +} else { +var m__8252__auto____$1 = (cljs.core.inst_ms_STAR_["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(inst) : m__8252__auto____$1.call(null,inst)); +} else { +throw cljs.core.missing_protocol("Inst.inst-ms*",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); +} +}); +goog.object.set(cljs.core.IEquiv,"number",true); + +var G__9954_9957 = cljs.core._equiv; +var G__9955_9958 = "number"; +var G__9956_9959 = ((function (G__9954_9957,G__9955_9958){ +return (function (x,o){ +return (x === o); +});})(G__9954_9957,G__9955_9958)) +; +goog.object.set(G__9954_9957,G__9955_9958,G__9956_9959); +goog.object.set(cljs.core.Fn,"function",true); + +goog.object.set(cljs.core.IMeta,"function",true); + +var G__9960_9963 = cljs.core._meta; +var G__9961_9964 = "function"; +var G__9962_9965 = ((function (G__9960_9963,G__9961_9964){ +return (function (_){ +return null; +});})(G__9960_9963,G__9961_9964)) +; +goog.object.set(G__9960_9963,G__9961_9964,G__9962_9965); +goog.object.set(cljs.core.IHash,"_",true); + +var G__9966_9969 = cljs.core._hash; +var G__9967_9970 = "_"; +var G__9968_9971 = ((function (G__9966_9969,G__9967_9970){ +return (function (o){ +return goog.getUid(o); +});})(G__9966_9969,G__9967_9970)) +; +goog.object.set(G__9966_9969,G__9967_9970,G__9968_9971); +/** + * 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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(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__9973 = arguments.length; +switch (G__9973) { +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; +case 4: +return 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.core.ci_reduce.cljs$core$IFn$_invoke$arity$2 = (function (cicoll,f){ +var cnt = cljs.core._count(cicoll); +if((cnt === (0))){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); +} else { +var val = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,(0)); +var n = (1); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__9974 = val; +var G__9975 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9974,G__9975) : f.call(null,G__9974,G__9975)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9981 = nval; +var G__9982 = (n + (1)); +val = G__9981; +n = G__9982; +continue; +} +} else { +return val; +} +break; +} +} +}); + +cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3 = (function (cicoll,f,val){ +var cnt = cljs.core._count(cicoll); +var val__$1 = val; +var n = (0); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__9976 = val__$1; +var G__9977 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9976,G__9977) : f.call(null,G__9976,G__9977)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9983 = nval; +var G__9984 = (n + (1)); +val__$1 = G__9983; +n = G__9984; +continue; +} +} else { +return val__$1; +} +break; +} +}); + +cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4 = (function (cicoll,f,val,idx){ +var cnt = cljs.core._count(cicoll); +var val__$1 = val; +var n = idx; +while(true){ +if((n < cnt)){ +var nval = (function (){var G__9978 = val__$1; +var G__9979 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9978,G__9979) : f.call(null,G__9978,G__9979)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9985 = nval; +var G__9986 = (n + (1)); +val__$1 = G__9985; +n = G__9986; +continue; +} +} else { +return val__$1; +} +break; +} +}); + +cljs.core.ci_reduce.cljs$lang$maxFixedArity = 4; + +cljs.core.array_reduce = (function cljs$core$array_reduce(var_args){ +var G__9988 = arguments.length; +switch (G__9988) { +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__9989 = val; +var G__9990 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9989,G__9990) : f.call(null,G__9989,G__9990)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9996 = nval; +var G__9997 = (n + (1)); +val = G__9996; +n = G__9997; +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__9991 = val__$1; +var G__9992 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9991,G__9992) : f.call(null,G__9991,G__9992)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9998 = nval; +var G__9999 = (n + (1)); +val__$1 = G__9998; +n = G__9999; +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__9993 = val__$1; +var G__9994 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9993,G__9994) : f.call(null,G__9993,G__9994)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__10000 = nval; +var G__10001 = (n + (1)); +val__$1 = G__10000; +n = G__10001; +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__10005 = arguments.length; +switch (G__10005) { +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(coll); +if((start >= len)){ +return (-1); +} else { +var idx = (((start > (0)))?start:(((start < (0)))?(function (){var x__7918__auto__ = (0); +var y__7919__auto__ = (start + len); +return ((x__7918__auto__ > y__7919__auto__) ? x__7918__auto__ : y__7919__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__10007 = (idx + (1)); +idx = G__10007; +continue; +} +} else { +return (-1); +} +break; +} +} +}); + +cljs.core._indexOf.cljs$lang$maxFixedArity = 3; + +cljs.core._lastIndexOf = (function cljs$core$_lastIndexOf(var_args){ +var G__10009 = arguments.length; +switch (G__10009) { +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(coll)); +}); + +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__7925__auto__ = (len - (1)); +var y__7926__auto__ = start; +return ((x__7925__auto__ < y__7926__auto__) ? x__7925__auto__ : y__7926__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__10011 = (idx - (1)); +idx = G__10011; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__10012 = null; +var G__10012__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10012__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10012 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10012__1.call(this,x); +case 2: +return G__10012__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10012.cljs$core$IFn$_invoke$arity$1 = G__10012__1; +G__10012.cljs$core$IFn$_invoke$arity$2 = G__10012__2; +return G__10012; +})() +; + +cljs.core.IndexedSeq.prototype.lastIndexOf = (function() { +var G__10013 = null; +var G__10013__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__10013__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10013 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10013__1.call(this,x); +case 2: +return G__10013__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10013.cljs$core$IFn$_invoke$arity$1 = G__10013__1; +G__10013.cljs$core$IFn$_invoke$arity$2 = G__10013__2; +return G__10013; +})() +; + +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__7918__auto__ = (0); +var y__7919__auto__ = (self__.arr.length - self__.i); +return ((x__7918__auto__ > y__7919__auto__) ? x__7918__auto__ : y__7919__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(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; +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(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__10014_10017 = cljs.core.IndexedSeq.prototype; +var G__10015_10018 = cljs.core.ITER_SYMBOL; +var G__10016_10019 = ((function (G__10014_10017,G__10015_10018){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10014_10017,G__10015_10018)) +; +goog.object.set(G__10014_10017,G__10015_10018,G__10016_10019); +/** + * Create seq from a primitive JavaScript Array-like. + */ +cljs.core.prim_seq = (function cljs$core$prim_seq(var_args){ +var G__10021 = arguments.length; +switch (G__10021) { +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__10024 = arguments.length; +switch (G__10024) { +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__10026 = null; +var G__10026__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10026__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10026 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10026__1.call(this,x); +case 2: +return G__10026__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10026.cljs$core$IFn$_invoke$arity$1 = G__10026__1; +G__10026.cljs$core$IFn$_invoke$arity$2 = G__10026__2; +return G__10026; +})() +; + +cljs.core.RSeq.prototype.lastIndexOf = (function() { +var G__10027 = null; +var G__10027__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__10027__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10027 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10027__1.call(this,x); +case 2: +return G__10027__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10027.cljs$core$IFn$_invoke$arity$1 = G__10027__1; +G__10027.cljs$core$IFn$_invoke$arity$2 = G__10027__2; +return G__10027; +})() +; + +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(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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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(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(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.cljs$core$IFn$_invoke$arity$2(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; +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(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__10028_10031 = cljs.core.RSeq.prototype; +var G__10029_10032 = cljs.core.ITER_SYMBOL; +var G__10030_10033 = ((function (G__10028_10031,G__10029_10032){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10028_10031,G__10029_10032)) +; +goog.object.set(G__10028_10031,G__10029_10032,G__10030_10033); +/** + * 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__10034 = sn; +s = G__10034; +continue; +} else { +return cljs.core.first(s); +} +break; +} +}); +goog.object.set(cljs.core.IEquiv,"_",true); + +var G__10035_10038 = cljs.core._equiv; +var G__10036_10039 = "_"; +var G__10037_10040 = ((function (G__10035_10038,G__10036_10039){ +return (function (x,o){ +return (x === o); +});})(G__10035_10038,G__10036_10039)) +; +goog.object.set(G__10035_10038,G__10036_10039,G__10037_10040); +/** + * conj[oin]. Returns a new collection with the xs + * 'added'. (conj nil item) returns (item). The 'addition' may + * happen at different 'places' depending on the concrete type. + */ +cljs.core.conj = (function cljs$core$conj(var_args){ +var G__10045 = arguments.length; +switch (G__10045) { +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__8762__auto__ = []; +var len__8743__auto___10047 = arguments.length; +var i__8744__auto___10048 = (0); +while(true){ +if((i__8744__auto___10048 < len__8743__auto___10047)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10048])); + +var G__10049 = (i__8744__auto___10048 + (1)); +i__8744__auto___10048 = G__10049; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10050 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); +var G__10051 = cljs.core.first(xs); +var G__10052 = cljs.core.next(xs); +coll = G__10050; +x = G__10051; +xs = G__10052; +continue; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); +} +break; +} +}); + +/** @this {Function} */ +cljs.core.conj.cljs$lang$applyTo = (function (seq10042){ +var G__10043 = cljs.core.first(seq10042); +var seq10042__$1 = cljs.core.next(seq10042); +var G__10044 = cljs.core.first(seq10042__$1); +var seq10042__$2 = cljs.core.next(seq10042__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10043,G__10044,seq10042__$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 { +return cljs.core._empty(coll); +} +}); +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__10053 = cljs.core.next(s); +var G__10054 = (acc + (1)); +s = G__10053; +acc = G__10054; +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__10058 = arguments.length; +switch (G__10058) { +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.cljs$core$IFn$_invoke$arity$2(coll,n); +} else { +if(cljs.core.seq(coll)){ +var G__10060 = cljs.core.next(coll); +var G__10061 = (n - (1)); +coll = G__10060; +n = G__10061; +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.cljs$core$IFn$_invoke$arity$3(coll,n,not_found); +} else { +if(cljs.core.seq(coll)){ +var G__10062 = cljs.core.next(coll); +var G__10063 = (n - (1)); +var G__10064 = not_found; +coll = G__10062; +n = G__10063; +not_found = G__10064; +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__10066 = arguments.length; +switch (G__10066) { +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((((n >= (0))) && ((n < coll.length)))){ +return (coll[n]); +} else { +throw (new Error("Index out of bounds")); +} +} else { +if(typeof coll === 'string'){ +if((((n >= (0))) && ((n < coll.length)))){ +return coll.charAt(n); +} else { +throw (new Error("Index out of bounds")); +} +} else { +if((function (){var or__7566__auto__ = ((!((coll == null)))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false); +if(or__7566__auto__){ +return or__7566__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; +} +} +})()){ +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.cljs$core$IFn$_invoke$arity$2(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((((n >= (0))) && ((n < coll.length)))){ +return (coll[n]); +} else { +return not_found; +} +} else { +if(typeof coll === 'string'){ +if((((n >= (0))) && ((n < coll.length)))){ +return coll.charAt(n); +} else { +return not_found; +} +} else { +if((function (){var or__7566__auto__ = ((!((coll == null)))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false); +if(or__7566__auto__){ +return or__7566__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; +} +} +})()){ +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.cljs$core$IFn$_invoke$arity$3(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__4655__auto__ = (((n__$1 > (0))) && (cljs.core.seq(xs))); +if(temp__4655__auto__){ +var xs__$1 = temp__4655__auto__; +var G__10076 = (n__$1 - (1)); +var G__10077 = cljs.core.rest(xs__$1); +n__$1 = G__10076; +xs = G__10077; +continue; +} else { +return xs; +} +break; +} +}); +/** + * Returns the value mapped to key, not-found or nil if key not present. + */ +cljs.core.get = (function cljs$core$get(var_args){ +var G__10079 = arguments.length; +switch (G__10079) { +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))) && ((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.cljs$core$IFn$_invoke$arity$2(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))) && ((k >= (0))) && ((k < o.length)))){ +return (o[(k | (0))]); +} else { +return not_found; +} +} else { +if(typeof o === 'string'){ +if(((!((k == null))) && ((k >= (0))) && ((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.cljs$core$IFn$_invoke$arity$3(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. + */ +cljs.core.assoc = (function cljs$core$assoc(var_args){ +var G__10088 = arguments.length; +switch (G__10088) { +case 3: +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10090 = arguments.length; +var i__8744__auto___10091 = (0); +while(true){ +if((i__8744__auto___10091 < len__8743__auto___10090)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10091])); + +var G__10092 = (i__8744__auto___10091 + (1)); +i__8744__auto___10091 = G__10092; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__auto__); + +} +}); + +cljs.core.assoc.cljs$core$IFn$_invoke$arity$3 = (function (coll,k,v){ +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__10093 = ret; +var G__10094 = cljs.core.first(kvs); +var G__10095 = cljs.core.second(kvs); +var G__10096 = cljs.core.nnext(kvs); +coll = G__10093; +k = G__10094; +v = G__10095; +kvs = G__10096; +continue; +} else { +return ret; +} +break; +} +}); + +/** @this {Function} */ +cljs.core.assoc.cljs$lang$applyTo = (function (seq10084){ +var G__10085 = cljs.core.first(seq10084); +var seq10084__$1 = cljs.core.next(seq10084); +var G__10086 = cljs.core.first(seq10084__$1); +var seq10084__$2 = cljs.core.next(seq10084__$1); +var G__10087 = cljs.core.first(seq10084__$2); +var seq10084__$3 = cljs.core.next(seq10084__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10085,G__10086,G__10087,seq10084__$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__10101 = arguments.length; +switch (G__10101) { +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__8762__auto__ = []; +var len__8743__auto___10103 = arguments.length; +var i__8744__auto___10104 = (0); +while(true){ +if((i__8744__auto___10104 < len__8743__auto___10103)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10104])); + +var G__10105 = (i__8744__auto___10104 + (1)); +i__8744__auto___10104 = G__10105; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10106 = ret; +var G__10107 = cljs.core.first(ks); +var G__10108 = cljs.core.next(ks); +coll = G__10106; +k = G__10107; +ks = G__10108; +continue; +} else { +return ret; +} +} +break; +} +}); + +/** @this {Function} */ +cljs.core.dissoc.cljs$lang$applyTo = (function (seq10098){ +var G__10099 = cljs.core.first(seq10098); +var seq10098__$1 = cljs.core.next(seq10098); +var G__10100 = cljs.core.first(seq10098__$1); +var seq10098__$2 = cljs.core.next(seq10098__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10099,G__10100,seq10098__$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__7566__auto__ = goog.isFunction(f); +if(or__7566__auto__){ +return or__7566__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() { +var G__10112 = null; +var G__10112__1 = (function (self__){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.afn.cljs$core$IFn$_invoke$arity$0 ? self__.afn.cljs$core$IFn$_invoke$arity$0() : self__.afn.call(null)); +}); +var G__10112__2 = (function (self__,a){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.afn.cljs$core$IFn$_invoke$arity$1 ? self__.afn.cljs$core$IFn$_invoke$arity$1(a) : self__.afn.call(null,a)); +}); +var G__10112__3 = (function (self__,a,b){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__4 = (function (self__,a,b,c){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__5 = (function (self__,a,b,c,d){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__6 = (function (self__,a,b,c,d,e){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__7 = (function (self__,a,b,c,d,e,f){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__8 = (function (self__,a,b,c,d,e,f,g){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__9 = (function (self__,a,b,c,d,e,f,g,h){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__10 = (function (self__,a,b,c,d,e,f,g,h,i){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__11 = (function (self__,a,b,c,d,e,f,g,h,i,j){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__12 = (function (self__,a,b,c,d,e,f,g,h,i,j,k){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__13 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__14 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__15 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__16 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__17 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__18 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__19 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__20 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__21 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +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)); +}); +var G__10112__22 = (function (self__,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 self____$1 = this; +var _ = self____$1; +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(self__.afn,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)); +}); +G__10112 = function(self__,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__10112__1.call(this,self__); +case 2: +return G__10112__2.call(this,self__,a); +case 3: +return G__10112__3.call(this,self__,a,b); +case 4: +return G__10112__4.call(this,self__,a,b,c); +case 5: +return G__10112__5.call(this,self__,a,b,c,d); +case 6: +return G__10112__6.call(this,self__,a,b,c,d,e); +case 7: +return G__10112__7.call(this,self__,a,b,c,d,e,f); +case 8: +return G__10112__8.call(this,self__,a,b,c,d,e,f,g); +case 9: +return G__10112__9.call(this,self__,a,b,c,d,e,f,g,h); +case 10: +return G__10112__10.call(this,self__,a,b,c,d,e,f,g,h,i); +case 11: +return G__10112__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__10112__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__10112__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__10112__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__10112__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__10112__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__10112__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__10112__18.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +case 19: +return G__10112__19.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +case 20: +return G__10112__20.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +case 21: +return G__10112__21.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +case 22: +return G__10112__22.call(this,self__,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 - 1))); +}; +G__10112.cljs$core$IFn$_invoke$arity$1 = G__10112__1; +G__10112.cljs$core$IFn$_invoke$arity$2 = G__10112__2; +G__10112.cljs$core$IFn$_invoke$arity$3 = G__10112__3; +G__10112.cljs$core$IFn$_invoke$arity$4 = G__10112__4; +G__10112.cljs$core$IFn$_invoke$arity$5 = G__10112__5; +G__10112.cljs$core$IFn$_invoke$arity$6 = G__10112__6; +G__10112.cljs$core$IFn$_invoke$arity$7 = G__10112__7; +G__10112.cljs$core$IFn$_invoke$arity$8 = G__10112__8; +G__10112.cljs$core$IFn$_invoke$arity$9 = G__10112__9; +G__10112.cljs$core$IFn$_invoke$arity$10 = G__10112__10; +G__10112.cljs$core$IFn$_invoke$arity$11 = G__10112__11; +G__10112.cljs$core$IFn$_invoke$arity$12 = G__10112__12; +G__10112.cljs$core$IFn$_invoke$arity$13 = G__10112__13; +G__10112.cljs$core$IFn$_invoke$arity$14 = G__10112__14; +G__10112.cljs$core$IFn$_invoke$arity$15 = G__10112__15; +G__10112.cljs$core$IFn$_invoke$arity$16 = G__10112__16; +G__10112.cljs$core$IFn$_invoke$arity$17 = G__10112__17; +G__10112.cljs$core$IFn$_invoke$arity$18 = G__10112__18; +G__10112.cljs$core$IFn$_invoke$arity$19 = G__10112__19; +G__10112.cljs$core$IFn$_invoke$arity$20 = G__10112__20; +G__10112.cljs$core$IFn$_invoke$arity$21 = G__10112__21; +G__10112.cljs$core$IFn$_invoke$arity$22 = G__10112__22; +return G__10112; +})() +; + +cljs.core.MetaFn.prototype.apply = (function (self__,args10111){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10111))); +}); + +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$variadic(self__.afn,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.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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(goog.isFunction(o)){ +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__7551__auto__ = !((o == null)); +if(and__7551__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__7551__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__10119 = arguments.length; +switch (G__10119) { +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__8762__auto__ = []; +var len__8743__auto___10121 = arguments.length; +var i__8744__auto___10122 = (0); +while(true){ +if((i__8744__auto___10122 < len__8743__auto___10121)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10122])); + +var G__10123 = (i__8744__auto___10122 + (1)); +i__8744__auto___10122 = G__10123; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10124 = ret; +var G__10125 = cljs.core.first(ks); +var G__10126 = cljs.core.next(ks); +coll = G__10124; +k = G__10125; +ks = G__10126; +continue; +} else { +return ret; +} +} +break; +} +}); + +/** @this {Function} */ +cljs.core.disj.cljs$lang$applyTo = (function (seq10116){ +var G__10117 = cljs.core.first(seq10116); +var seq10116__$1 = cljs.core.next(seq10116); +var G__10118 = cljs.core.first(seq10116__$1); +var seq10116__$2 = cljs.core.next(seq10116__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10117,G__10118,seq10116__$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 is 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__10140 = arguments.length; +switch (G__10140) { +case 0: +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10144 = arguments.length; +var i__8744__auto___10145 = (0); +while(true){ +if((i__8744__auto___10145 < len__8743__auto___10144)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10145])); + +var G__10146 = (i__8744__auto___10145 + (1)); +i__8744__auto___10145 = G__10146; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((0)),(0),null)); +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic(argseq__8763__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(goog.object.create,keyvals); +}); + +/** @this {Function} */ +cljs.core.js_obj.cljs$lang$applyTo = (function (seq10139){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq10139)); +}); + +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 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__10147 = (i__$1 + (1)); +var G__10148 = (j__$1 + (1)); +var G__10149 = (len__$1 - (1)); +i__$1 = G__10147; +j__$1 = G__10148; +len__$1 = G__10149; +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__10150 = (i__$1 - (1)); +var G__10151 = (j__$1 - (1)); +var G__10152 = (len__$1 - (1)); +i__$1 = G__10150; +j__$1 = G__10151; +len__$1 = G__10152; +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__7566__auto__ = ((!((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__7566__auto__){ +return or__7566__auto__; +} 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__7566__auto__ = cljs.core.fn_QMARK_(f); +if(or__7566__auto__){ +return or__7566__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))))); +}); +/** + * 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 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 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 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 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((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__10164 = arguments.length; +switch (G__10164) { +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__8762__auto__ = []; +var len__8743__auto___10166 = arguments.length; +var i__8744__auto___10167 = (0); +while(true){ +if((i__8744__auto___10167 < len__8743__auto___10166)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10167])); + +var G__10168 = (i__8744__auto___10167 + (1)); +i__8744__auto___10167 = G__10168; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10169 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(s,x__$1); +var G__10170 = etc; +s = G__10169; +xs = G__10170; +continue; +} +} else { +return true; +} +break; +} +} else { +return false; +} +}); + +/** @this {Function} */ +cljs.core.distinct_QMARK_.cljs$lang$applyTo = (function (seq10161){ +var G__10162 = cljs.core.first(seq10161); +var seq10161__$1 = cljs.core.next(seq10161); +var G__10163 = cljs.core.first(seq10161__$1); +var seq10161__$2 = cljs.core.next(seq10161__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10162,G__10163,seq10161__$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 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 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__10173 = arguments.length; +switch (G__10173) { +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__10175 = xs; +var G__10176 = ys; +var G__10177 = len; +var G__10178 = (n + (1)); +xs = G__10175; +ys = G__10176; +len = G__10177; +n = G__10178; +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__10180 = arguments.length; +switch (G__10180) { +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(coll); +var G__10181_10184 = a; +var G__10182_10185 = cljs.core.fn__GT_comparator(comp); +goog.array.stableSort(G__10181_10184,G__10182_10185); + +return cljs.core.seq(a); +} 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 funcion, or a -/0/+ valued comparator. + * Comp defaults to compare. + */ +cljs.core.sort_by = (function cljs$core$sort_by(var_args){ +var G__10187 = arguments.length; +switch (G__10187) { +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__10189 = (keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(x) : keyfn.call(null,x)); +var G__10190 = (keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(y) : keyfn.call(null,y)); +var fexpr__10188 = cljs.core.fn__GT_comparator(comp); +return (fexpr__10188.cljs$core$IFn$_invoke$arity$2 ? fexpr__10188.cljs$core$IFn$_invoke$arity$2(G__10189,G__10190) : fexpr__10188.call(null,G__10189,G__10190)); +}),coll); +}); + +cljs.core.sort_by.cljs$lang$maxFixedArity = 3; + +cljs.core.seq_reduce = (function cljs$core$seq_reduce(var_args){ +var G__10193 = arguments.length; +switch (G__10193) { +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__4655__auto__ = cljs.core.seq(coll); +if(temp__4655__auto__){ +var s = temp__4655__auto__; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(f,cljs.core.first(s),cljs.core.next(s)); +} 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__10194 = val__$1; +var G__10195 = cljs.core.first(coll__$1); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10194,G__10195) : f.call(null,G__10194,G__10195)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__10197 = nval; +var G__10198 = cljs.core.next(coll__$1); +val__$1 = G__10197; +coll__$1 = G__10198; +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(coll); +goog.array.shuffle(a); + +return cljs.core.vec(a); +}); +cljs.core.iter_reduce = (function cljs$core$iter_reduce(var_args){ +var G__10200 = arguments.length; +switch (G__10200) { +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__10201 = acc; +var G__10202 = iter.next(); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10201,G__10202) : f.call(null,G__10201,G__10202)); +})(); +if(cljs.core.reduced_QMARK_(nacc)){ +return cljs.core.deref(nacc); +} else { +var G__10206 = nacc; +acc = G__10206; +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__10203 = acc; +var G__10204 = iter.next(); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10203,G__10204) : f.call(null,G__10203,G__10204)); +})(); +if(cljs.core.reduced_QMARK_(nacc)){ +return cljs.core.deref(nacc); +} else { +var G__10207 = nacc; +acc = G__10207; +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__10209 = arguments.length; +switch (G__10209) { +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.cljs$core$IFn$_invoke$arity$2(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.cljs$core$IFn$_invoke$arity$3(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__10214 = arguments.length; +switch (G__10214) { +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__10216 = null; +var G__10216__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); +}); +var G__10216__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__10216__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__10216 = function(x,y){ +switch(arguments.length){ +case 0: +return G__10216__0.call(this); +case 1: +return G__10216__1.call(this,x); +case 2: +return G__10216__2.call(this,x,y); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10216.cljs$core$IFn$_invoke$arity$0 = G__10216__0; +G__10216.cljs$core$IFn$_invoke$arity$1 = G__10216__1; +G__10216.cljs$core$IFn$_invoke$arity$2 = G__10216__2; +return G__10216; +})() +}); + +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__10218 = arguments.length; +switch (G__10218) { +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__10224 = arguments.length; +switch (G__10224) { +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__8762__auto__ = []; +var len__8743__auto___10226 = arguments.length; +var i__8744__auto___10227 = (0); +while(true){ +if((i__8744__auto___10227 < len__8743__auto___10226)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10227])); + +var G__10228 = (i__8744__auto___10227 + (1)); +i__8744__auto___10227 = G__10228; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10221){ +var G__10222 = cljs.core.first(seq10221); +var seq10221__$1 = cljs.core.next(seq10221); +var G__10223 = cljs.core.first(seq10221__$1); +var seq10221__$2 = cljs.core.next(seq10221__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10222,G__10223,seq10221__$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__10233 = arguments.length; +switch (G__10233) { +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__8762__auto__ = []; +var len__8743__auto___10235 = arguments.length; +var i__8744__auto___10236 = (0); +while(true){ +if((i__8744__auto___10236 < len__8743__auto___10235)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10236])); + +var G__10237 = (i__8744__auto___10236 + (1)); +i__8744__auto___10236 = G__10237; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10230){ +var G__10231 = cljs.core.first(seq10230); +var seq10230__$1 = cljs.core.next(seq10230); +var G__10232 = cljs.core.first(seq10230__$1); +var seq10230__$2 = cljs.core.next(seq10230__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10231,G__10232,seq10230__$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__10242 = arguments.length; +switch (G__10242) { +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__8762__auto__ = []; +var len__8743__auto___10244 = arguments.length; +var i__8744__auto___10245 = (0); +while(true){ +if((i__8744__auto___10245 < len__8743__auto___10244)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10245])); + +var G__10246 = (i__8744__auto___10245 + (1)); +i__8744__auto___10245 = G__10246; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10239){ +var G__10240 = cljs.core.first(seq10239); +var seq10239__$1 = cljs.core.next(seq10239); +var G__10241 = cljs.core.first(seq10239__$1); +var seq10239__$2 = cljs.core.next(seq10239__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10240,G__10241,seq10239__$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__10251 = arguments.length; +switch (G__10251) { +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__8762__auto__ = []; +var len__8743__auto___10253 = arguments.length; +var i__8744__auto___10254 = (0); +while(true){ +if((i__8744__auto___10254 < len__8743__auto___10253)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10254])); + +var G__10255 = (i__8744__auto___10254 + (1)); +i__8744__auto___10254 = G__10255; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10248){ +var G__10249 = cljs.core.first(seq10248); +var seq10248__$1 = cljs.core.next(seq10248); +var G__10250 = cljs.core.first(seq10248__$1); +var seq10248__$2 = cljs.core.next(seq10248__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10249,G__10250,seq10248__$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__10260 = arguments.length; +switch (G__10260) { +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__8762__auto__ = []; +var len__8743__auto___10262 = arguments.length; +var i__8744__auto___10263 = (0); +while(true){ +if((i__8744__auto___10263 < len__8743__auto___10262)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10263])); + +var G__10264 = (i__8744__auto___10263 + (1)); +i__8744__auto___10263 = G__10264; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10265 = y; +var G__10266 = cljs.core.first(more); +var G__10267 = cljs.core.next(more); +x = G__10265; +y = G__10266; +more = G__10267; +continue; +} else { +return (y < cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +/** @this {Function} */ +cljs.core._LT_.cljs$lang$applyTo = (function (seq10257){ +var G__10258 = cljs.core.first(seq10257); +var seq10257__$1 = cljs.core.next(seq10257); +var G__10259 = cljs.core.first(seq10257__$1); +var seq10257__$2 = cljs.core.next(seq10257__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10258,G__10259,seq10257__$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__10272 = arguments.length; +switch (G__10272) { +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__8762__auto__ = []; +var len__8743__auto___10274 = arguments.length; +var i__8744__auto___10275 = (0); +while(true){ +if((i__8744__auto___10275 < len__8743__auto___10274)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10275])); + +var G__10276 = (i__8744__auto___10275 + (1)); +i__8744__auto___10275 = G__10276; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10277 = y; +var G__10278 = cljs.core.first(more); +var G__10279 = cljs.core.next(more); +x = G__10277; +y = G__10278; +more = G__10279; +continue; +} else { +return (y <= cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +/** @this {Function} */ +cljs.core._LT__EQ_.cljs$lang$applyTo = (function (seq10269){ +var G__10270 = cljs.core.first(seq10269); +var seq10269__$1 = cljs.core.next(seq10269); +var G__10271 = cljs.core.first(seq10269__$1); +var seq10269__$2 = cljs.core.next(seq10269__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10270,G__10271,seq10269__$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__10284 = arguments.length; +switch (G__10284) { +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__8762__auto__ = []; +var len__8743__auto___10286 = arguments.length; +var i__8744__auto___10287 = (0); +while(true){ +if((i__8744__auto___10287 < len__8743__auto___10286)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10287])); + +var G__10288 = (i__8744__auto___10287 + (1)); +i__8744__auto___10287 = G__10288; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10289 = y; +var G__10290 = cljs.core.first(more); +var G__10291 = cljs.core.next(more); +x = G__10289; +y = G__10290; +more = G__10291; +continue; +} else { +return (y > cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +/** @this {Function} */ +cljs.core._GT_.cljs$lang$applyTo = (function (seq10281){ +var G__10282 = cljs.core.first(seq10281); +var seq10281__$1 = cljs.core.next(seq10281); +var G__10283 = cljs.core.first(seq10281__$1); +var seq10281__$2 = cljs.core.next(seq10281__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10282,G__10283,seq10281__$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__10296 = arguments.length; +switch (G__10296) { +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__8762__auto__ = []; +var len__8743__auto___10298 = arguments.length; +var i__8744__auto___10299 = (0); +while(true){ +if((i__8744__auto___10299 < len__8743__auto___10298)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10299])); + +var G__10300 = (i__8744__auto___10299 + (1)); +i__8744__auto___10299 = G__10300; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10301 = y; +var G__10302 = cljs.core.first(more); +var G__10303 = cljs.core.next(more); +x = G__10301; +y = G__10302; +more = G__10303; +continue; +} else { +return (y >= cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +/** @this {Function} */ +cljs.core._GT__EQ_.cljs$lang$applyTo = (function (seq10293){ +var G__10294 = cljs.core.first(seq10293); +var seq10293__$1 = cljs.core.next(seq10293); +var G__10295 = cljs.core.first(seq10293__$1); +var seq10293__$2 = cljs.core.next(seq10293__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10294,G__10295,seq10293__$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 greatest of the nums. + */ +cljs.core.max = (function cljs$core$max(var_args){ +var G__10308 = arguments.length; +switch (G__10308) { +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__8762__auto__ = []; +var len__8743__auto___10310 = arguments.length; +var i__8744__auto___10311 = (0); +while(true){ +if((i__8744__auto___10311 < len__8743__auto___10310)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10311])); + +var G__10312 = (i__8744__auto___10311 + (1)); +i__8744__auto___10311 = G__10312; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.max.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__7918__auto__ = x; +var y__7919__auto__ = y; +return ((x__7918__auto__ > y__7919__auto__) ? x__7918__auto__ : y__7919__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__7918__auto__ = x; +var y__7919__auto__ = y; +return ((x__7918__auto__ > y__7919__auto__) ? x__7918__auto__ : y__7919__auto__); +})(),more); +}); + +/** @this {Function} */ +cljs.core.max.cljs$lang$applyTo = (function (seq10305){ +var G__10306 = cljs.core.first(seq10305); +var seq10305__$1 = cljs.core.next(seq10305); +var G__10307 = cljs.core.first(seq10305__$1); +var seq10305__$2 = cljs.core.next(seq10305__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10306,G__10307,seq10305__$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__10317 = arguments.length; +switch (G__10317) { +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__8762__auto__ = []; +var len__8743__auto___10319 = arguments.length; +var i__8744__auto___10320 = (0); +while(true){ +if((i__8744__auto___10320 < len__8743__auto___10319)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10320])); + +var G__10321 = (i__8744__auto___10320 + (1)); +i__8744__auto___10320 = G__10321; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.min.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__7925__auto__ = x; +var y__7926__auto__ = y; +return ((x__7925__auto__ < y__7926__auto__) ? x__7925__auto__ : y__7926__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__7925__auto__ = x; +var y__7926__auto__ = y; +return ((x__7925__auto__ < y__7926__auto__) ? x__7925__auto__ : y__7926__auto__); +})(),more); +}); + +/** @this {Function} */ +cljs.core.min.cljs$lang$applyTo = (function (seq10314){ +var G__10315 = cljs.core.first(seq10314); +var seq10314__$1 = cljs.core.next(seq10314); +var G__10316 = cljs.core.first(seq10314__$1); +var seq10314__$2 = cljs.core.next(seq10314__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10315,G__10316,seq10314__$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__10326 = arguments.length; +switch (G__10326) { +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__8762__auto__ = []; +var len__8743__auto___10328 = arguments.length; +var i__8744__auto___10329 = (0); +while(true){ +if((i__8744__auto___10329 < len__8743__auto___10328)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10329])); + +var G__10330 = (i__8744__auto___10329 + (1)); +i__8744__auto___10329 = G__10330; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10323){ +var G__10324 = cljs.core.first(seq10323); +var seq10323__$1 = cljs.core.next(seq10323); +var G__10325 = cljs.core.first(seq10323__$1); +var seq10323__$2 = cljs.core.next(seq10323__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10324,G__10325,seq10323__$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__10335 = arguments.length; +switch (G__10335) { +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__8762__auto__ = []; +var len__8743__auto___10337 = arguments.length; +var i__8744__auto___10338 = (0); +while(true){ +if((i__8744__auto___10338 < len__8743__auto___10337)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10338])); + +var G__10339 = (i__8744__auto___10338 + (1)); +i__8744__auto___10338 = G__10339; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10332){ +var G__10333 = cljs.core.first(seq10332); +var seq10332__$1 = cljs.core.next(seq10332); +var G__10334 = cljs.core.first(seq10332__$1); +var seq10332__$2 = cljs.core.next(seq10332__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10333,G__10334,seq10332__$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__10344 = arguments.length; +switch (G__10344) { +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__8762__auto__ = []; +var len__8743__auto___10346 = arguments.length; +var i__8744__auto___10347 = (0); +while(true){ +if((i__8744__auto___10347 < len__8743__auto___10346)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10347])); + +var G__10348 = (i__8744__auto___10347 + (1)); +i__8744__auto___10347 = G__10348; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10341){ +var G__10342 = cljs.core.first(seq10341); +var seq10341__$1 = cljs.core.next(seq10341); +var G__10343 = cljs.core.first(seq10341__$1); +var seq10341__$2 = cljs.core.next(seq10341__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10342,G__10343,seq10341__$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__10353 = arguments.length; +switch (G__10353) { +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__8762__auto__ = []; +var len__8743__auto___10355 = arguments.length; +var i__8744__auto___10356 = (0); +while(true){ +if((i__8744__auto___10356 < len__8743__auto___10355)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10356])); + +var G__10357 = (i__8744__auto___10356 + (1)); +i__8744__auto___10356 = G__10357; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10350){ +var G__10351 = cljs.core.first(seq10350); +var seq10350__$1 = cljs.core.next(seq10350); +var G__10352 = cljs.core.first(seq10350__$1); +var seq10350__$2 = cljs.core.next(seq10350__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10351,G__10352,seq10350__$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__10362 = arguments.length; +switch (G__10362) { +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__8762__auto__ = []; +var len__8743__auto___10364 = arguments.length; +var i__8744__auto___10365 = (0); +while(true){ +if((i__8744__auto___10365 < len__8743__auto___10364)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10365])); + +var G__10366 = (i__8744__auto___10365 + (1)); +i__8744__auto___10365 = G__10366; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10359){ +var G__10360 = cljs.core.first(seq10359); +var seq10359__$1 = cljs.core.next(seq10359); +var G__10361 = cljs.core.first(seq10359__$1); +var seq10359__$2 = cljs.core.next(seq10359__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10360,G__10361,seq10359__$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(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__10371 = arguments.length; +switch (G__10371) { +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__8762__auto__ = []; +var len__8743__auto___10373 = arguments.length; +var i__8744__auto___10374 = (0); +while(true){ +if((i__8744__auto___10374 < len__8743__auto___10373)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10374])); + +var G__10375 = (i__8744__auto___10374 + (1)); +i__8744__auto___10374 = G__10375; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10368){ +var G__10369 = cljs.core.first(seq10368); +var seq10368__$1 = cljs.core.next(seq10368); +var G__10370 = cljs.core.first(seq10368__$1); +var seq10368__$2 = cljs.core.next(seq10368__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10369,G__10370,seq10368__$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__10380 = arguments.length; +switch (G__10380) { +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__8762__auto__ = []; +var len__8743__auto___10382 = arguments.length; +var i__8744__auto___10383 = (0); +while(true){ +if((i__8744__auto___10383 < len__8743__auto___10382)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10383])); + +var G__10384 = (i__8744__auto___10383 + (1)); +i__8744__auto___10383 = G__10384; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10377){ +var G__10378 = cljs.core.first(seq10377); +var seq10377__$1 = cljs.core.next(seq10377); +var G__10379 = cljs.core.first(seq10377__$1); +var seq10377__$2 = cljs.core.next(seq10377__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10378,G__10379,seq10377__$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__10389 = arguments.length; +switch (G__10389) { +case 2: +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10391 = arguments.length; +var i__8744__auto___10392 = (0); +while(true){ +if((i__8744__auto___10392 < len__8743__auto___10391)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10392])); + +var G__10393 = (i__8744__auto___10392 + (1)); +i__8744__auto___10392 = G__10393; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10386){ +var G__10387 = cljs.core.first(seq10386); +var seq10386__$1 = cljs.core.next(seq10386); +var G__10388 = cljs.core.first(seq10386__$1); +var seq10386__$2 = cljs.core.next(seq10386__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10387,G__10388,seq10386__$2); +}); + +cljs.core.bit_xor.cljs$lang$maxFixedArity = (2); + +/** + * Bitwise and + */ +cljs.core.bit_and = (function cljs$core$bit_and(var_args){ +var G__10398 = arguments.length; +switch (G__10398) { +case 2: +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10400 = arguments.length; +var i__8744__auto___10401 = (0); +while(true){ +if((i__8744__auto___10401 < len__8743__auto___10400)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10401])); + +var G__10402 = (i__8744__auto___10401 + (1)); +i__8744__auto___10401 = G__10402; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10395){ +var G__10396 = cljs.core.first(seq10395); +var seq10395__$1 = cljs.core.next(seq10395); +var G__10397 = cljs.core.first(seq10395__$1); +var seq10395__$2 = cljs.core.next(seq10395__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10396,G__10397,seq10395__$2); +}); + +cljs.core.bit_and.cljs$lang$maxFixedArity = (2); + +/** + * Bitwise or + */ +cljs.core.bit_or = (function cljs$core$bit_or(var_args){ +var G__10407 = arguments.length; +switch (G__10407) { +case 2: +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10409 = arguments.length; +var i__8744__auto___10410 = (0); +while(true){ +if((i__8744__auto___10410 < len__8743__auto___10409)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10410])); + +var G__10411 = (i__8744__auto___10410 + (1)); +i__8744__auto___10410 = G__10411; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10404){ +var G__10405 = cljs.core.first(seq10404); +var seq10404__$1 = cljs.core.next(seq10404); +var G__10406 = cljs.core.first(seq10404__$1); +var seq10404__$2 = cljs.core.next(seq10404__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10405,G__10406,seq10404__$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__10416 = arguments.length; +switch (G__10416) { +case 2: +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10418 = arguments.length; +var i__8744__auto___10419 = (0); +while(true){ +if((i__8744__auto___10419 < len__8743__auto___10418)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10419])); + +var G__10420 = (i__8744__auto___10419 + (1)); +i__8744__auto___10419 = G__10420; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10413){ +var G__10414 = cljs.core.first(seq10413); +var seq10413__$1 = cljs.core.next(seq10413); +var G__10415 = cljs.core.first(seq10413__$1); +var seq10413__$2 = cljs.core.next(seq10413__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10414,G__10415,seq10413__$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__10425 = arguments.length; +switch (G__10425) { +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__8762__auto__ = []; +var len__8743__auto___10427 = arguments.length; +var i__8744__auto___10428 = (0); +while(true){ +if((i__8744__auto___10428 < len__8743__auto___10427)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10428])); + +var G__10429 = (i__8744__auto___10428 + (1)); +i__8744__auto___10428 = G__10429; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10430 = y; +var G__10431 = cljs.core.first(more); +var G__10432 = cljs.core.next(more); +x = G__10430; +y = G__10431; +more = G__10432; +continue; +} else { +return (y === cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +/** @this {Function} */ +cljs.core._EQ__EQ_.cljs$lang$applyTo = (function (seq10422){ +var G__10423 = cljs.core.first(seq10422); +var seq10422__$1 = cljs.core.next(seq10422); +var G__10424 = cljs.core.first(seq10422__$1); +var seq10422__$2 = cljs.core.next(seq10422__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10423,G__10424,seq10422__$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__10433 = (n__$1 - (1)); +var G__10434 = cljs.core.next(xs); +n__$1 = G__10433; +xs = G__10434; +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__10438 = arguments.length; +switch (G__10438) { +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__8762__auto__ = []; +var len__8743__auto___10440 = arguments.length; +var i__8744__auto___10441 = (0); +while(true){ +if((i__8744__auto___10441 < len__8743__auto___10440)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10441])); + +var G__10442 = (i__8744__auto___10441 + (1)); +i__8744__auto___10441 = G__10442; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((1)),(0),null)); +return cljs.core.str.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8763__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)].join(''))); +var more = ys; +while(true){ +if(cljs.core.truth_(more)){ +var G__10443 = sb.append([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(more))].join('')); +var G__10444 = cljs.core.next(more); +sb = G__10443; +more = G__10444; +continue; +} else { +return sb.toString(); +} +break; +} +}); + +/** @this {Function} */ +cljs.core.str.cljs$lang$applyTo = (function (seq10436){ +var G__10437 = cljs.core.first(seq10436); +var seq10436__$1 = cljs.core.next(seq10436); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10437,seq10436__$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__10446 = arguments.length; +switch (G__10446) { +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__10448 = cljs.core.next(xs); +var G__10449 = cljs.core.next(ys); +xs = G__10448; +ys = G__10449; +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__10450 = cljs.core.hash_combine(res,cljs.core.hash(cljs.core.first(s))); +var G__10451 = cljs.core.next(s); +res = G__10450; +s = G__10451; +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__10452 = ((h + (cljs.core.hash(cljs.core.key(e)) ^ cljs.core.hash(cljs.core.val(e)))) % (4503599627370496)); +var G__10453 = cljs.core.next(s); +h = G__10452; +s = G__10453; +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__10454 = ((h + cljs.core.hash(e)) % (4503599627370496)); +var G__10455 = cljs.core.next(s__$1); +h = G__10454; +s__$1 = G__10455; +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__10456_10466 = cljs.core.seq(fn_map); +var chunk__10457_10467 = null; +var count__10458_10468 = (0); +var i__10459_10469 = (0); +while(true){ +if((i__10459_10469 < count__10458_10468)){ +var vec__10460_10470 = chunk__10457_10467.cljs$core$IIndexed$_nth$arity$2(null,i__10459_10469); +var key_name_10471 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10460_10470,(0),null); +var f_10472 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10460_10470,(1),null); +var str_name_10473 = cljs.core.name(key_name_10471); +goog.object.set(obj,str_name_10473,f_10472); + + +var G__10474 = seq__10456_10466; +var G__10475 = chunk__10457_10467; +var G__10476 = count__10458_10468; +var G__10477 = (i__10459_10469 + (1)); +seq__10456_10466 = G__10474; +chunk__10457_10467 = G__10475; +count__10458_10468 = G__10476; +i__10459_10469 = G__10477; +continue; +} else { +var temp__4657__auto___10478 = cljs.core.seq(seq__10456_10466); +if(temp__4657__auto___10478){ +var seq__10456_10479__$1 = temp__4657__auto___10478; +if(cljs.core.chunked_seq_QMARK_(seq__10456_10479__$1)){ +var c__8407__auto___10480 = cljs.core.chunk_first(seq__10456_10479__$1); +var G__10481 = cljs.core.chunk_rest(seq__10456_10479__$1); +var G__10482 = c__8407__auto___10480; +var G__10483 = cljs.core.count(c__8407__auto___10480); +var G__10484 = (0); +seq__10456_10466 = G__10481; +chunk__10457_10467 = G__10482; +count__10458_10468 = G__10483; +i__10459_10469 = G__10484; +continue; +} else { +var vec__10463_10485 = cljs.core.first(seq__10456_10479__$1); +var key_name_10486 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10463_10485,(0),null); +var f_10487 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10463_10485,(1),null); +var str_name_10488 = cljs.core.name(key_name_10486); +goog.object.set(obj,str_name_10488,f_10487); + + +var G__10489 = cljs.core.next(seq__10456_10479__$1); +var G__10490 = null; +var G__10491 = (0); +var G__10492 = (0); +seq__10456_10466 = G__10489; +chunk__10457_10467 = G__10490; +count__10458_10468 = G__10491; +i__10459_10469 = G__10492; +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__10493 = null; +var G__10493__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10493__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10493 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10493__1.call(this,x); +case 2: +return G__10493__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10493.cljs$core$IFn$_invoke$arity$1 = G__10493__1; +G__10493.cljs$core$IFn$_invoke$arity$2 = G__10493__2; +return G__10493; +})() +; + +cljs.core.List.prototype.lastIndexOf = (function() { +var G__10494 = null; +var G__10494__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__10494__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10494 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10494__1.call(this,x); +case 2: +return G__10494__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10494.cljs$core$IFn$_invoke$arity$1 = G__10494__1; +G__10494.cljs$core$IFn$_invoke$arity$2 = G__10494__2; +return G__10494; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.List(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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); +} +}); +var G__10496_10499 = cljs.core.List.prototype; +var G__10497_10500 = cljs.core.ITER_SYMBOL; +var G__10498_10501 = ((function (G__10496_10499,G__10497_10500){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10496_10499,G__10497_10500)) +; +goog.object.set(G__10496_10499,G__10497_10500,G__10498_10501); + +/** +* @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__10502 = null; +var G__10502__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10502__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10502 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10502__1.call(this,x); +case 2: +return G__10502__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10502.cljs$core$IFn$_invoke$arity$1 = G__10502__1; +G__10502.cljs$core$IFn$_invoke$arity$2 = G__10502__2; +return G__10502; +})() +; + +cljs.core.EmptyList.prototype.lastIndexOf = (function() { +var G__10503 = null; +var G__10503__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__10503__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10503 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10503__1.call(this,x); +case 2: +return G__10503__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10503.cljs$core$IFn$_invoke$arity$1 = G__10503__1; +G__10503.cljs$core$IFn$_invoke$arity$2 = G__10503__2; +return G__10503; +})() +; + +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.EmptyList(meta__$1)); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +var G__10504_10507 = cljs.core.EmptyList.prototype; +var G__10505_10508 = cljs.core.ITER_SYMBOL; +var G__10506_10509 = ((function (G__10504_10507,G__10505_10508){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10504_10507,G__10505_10508)) +; +goog.object.set(G__10504_10507,G__10505_10508,G__10506_10509); +/** + * 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__7566__auto__ = cljs.core.rseq(coll); +if(or__7566__auto__){ +return or__7566__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__8750__auto__ = []; +var len__8743__auto___10512 = arguments.length; +var i__8744__auto___10513 = (0); +while(true){ +if((i__8744__auto___10513 < len__8743__auto___10512)){ +args__8750__auto__.push((arguments[i__8744__auto___10513])); + +var G__10514 = (i__8744__auto___10513 + (1)); +i__8744__auto___10513 = G__10514; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.list.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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(xs__$1.cljs$core$ISeq$_first$arity$1(null)); + +var G__10515 = xs__$1.cljs$core$INext$_next$arity$1(null); +xs__$1 = G__10515; +continue; +} else { +return arr; +} +break; +} +})()); +var i = arr.length; +var r = cljs.core.List.EMPTY; +while(true){ +if((i > (0))){ +var G__10516 = (i - (1)); +var G__10517 = r.cljs$core$ICollection$_conj$arity$2(null,(arr[(i - (1))])); +i = G__10516; +r = G__10517; +continue; +} else { +return r; +} +break; +} +}); + +cljs.core.list.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.core.list.cljs$lang$applyTo = (function (seq10511){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq10511)); +}); + + +/** +* @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__10518 = null; +var G__10518__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10518__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10518 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10518__1.call(this,x); +case 2: +return G__10518__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10518.cljs$core$IFn$_invoke$arity$1 = G__10518__1; +G__10518.cljs$core$IFn$_invoke$arity$2 = G__10518__2; +return G__10518; +})() +; + +cljs.core.Cons.prototype.lastIndexOf = (function() { +var G__10519 = null; +var G__10519__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__10519__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10519 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10519__1.call(this,x); +case 2: +return G__10519__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10519.cljs$core$IFn$_invoke$arity$1 = G__10519__1; +G__10519.cljs$core$IFn$_invoke$arity$2 = G__10519__2; +return G__10519; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.Cons(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__10520_10523 = cljs.core.Cons.prototype; +var G__10521_10524 = cljs.core.ITER_SYMBOL; +var G__10522_10525 = ((function (G__10520_10523,G__10521_10524){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10520_10523,G__10521_10524)) +; +goog.object.set(G__10520_10523,G__10521_10524,G__10522_10525); +/** + * 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((function (){var or__7566__auto__ = (coll == null); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +if(!((coll == null))){ +if((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$)))){ +return true; +} else { +return false; +} +} else { +return 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__7551__auto__ = cljs.core.not(a.ns); +if(and__7551__auto__){ +return b.ns; +} else { +return and__7551__auto__; +} +})())){ +return (-1); +} else { +if(cljs.core.truth_(a.ns)){ +if(cljs.core.not(b.ns)){ +return (1); +} else { +var nsc = (function (){var G__10528 = a.ns; +var G__10529 = b.ns; +return goog.array.defaultCompare(G__10528,G__10529); +})(); +if(((0) === nsc)){ +var G__10530 = a.name; +var G__10531 = b.name; +return goog.array.defaultCompare(G__10530,G__10531); +} else { +return nsc; +} +} +} else { +var G__10532 = a.name; +var G__10533 = b.name; +return goog.array.defaultCompare(G__10532,G__10533); + +} +} +} +}); + +/** +* @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() { +var G__10535 = null; +var G__10535__2 = (function (self__,coll){ +var self__ = this; +var self____$1 = this; +var kw = self____$1; +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,kw); +}); +var G__10535__3 = (function (self__,coll,not_found){ +var self__ = this; +var self____$1 = this; +var kw = self____$1; +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,kw,not_found); +}); +G__10535 = function(self__,coll,not_found){ +switch(arguments.length){ +case 2: +return G__10535__2.call(this,self__,coll); +case 3: +return G__10535__3.call(this,self__,coll,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10535.cljs$core$IFn$_invoke$arity$2 = G__10535__2; +G__10535.cljs$core$IFn$_invoke$arity$3 = G__10535__3; +return G__10535; +})() +; + +cljs.core.Keyword.prototype.apply = (function (self__,args10534){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10534))); +}); + +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__8022__auto__ = self__._hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_keyword(this$__$1); +self__._hash = h__8022__auto____$1; + +return h__8022__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__7551__auto__ = cljs.core.ident_QMARK_(x); +if(and__7551__auto__){ +var and__7551__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__7551__auto____$1)){ +return true; +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__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__7551__auto__ = (x instanceof cljs.core.Symbol); +if(and__7551__auto__){ +var and__7551__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__7551__auto____$1)){ +return true; +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__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__7551__auto__ = (x instanceof cljs.core.Keyword); +if(and__7551__auto__){ +var and__7551__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__7551__auto____$1)){ +return true; +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__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__10538 = arguments.length; +switch (G__10538) { +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(name),name.str,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(ns):(((ns instanceof cljs.core.Symbol))?cljs.core.name(ns):ns +)); +var name__$1 = (((name instanceof cljs.core.Keyword))?cljs.core.name(name):(((name instanceof cljs.core.Symbol))?cljs.core.name(name):name +)); +return (new cljs.core.Keyword(ns__$1,name__$1,[cljs.core.str.cljs$core$IFn$_invoke$arity$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__10540 = null; +var G__10540__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10540__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10540 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10540__1.call(this,x); +case 2: +return G__10540__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10540.cljs$core$IFn$_invoke$arity$1 = G__10540__1; +G__10540.cljs$core$IFn$_invoke$arity$2 = G__10540__2; +return G__10540; +})() +; + +cljs.core.LazySeq.prototype.lastIndexOf = (function() { +var G__10541 = null; +var G__10541__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__10541__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10541 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10541__1.call(this,x); +case 2: +return G__10541__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10541.cljs$core$IFn$_invoke$arity$1 = G__10541__1; +G__10541.cljs$core$IFn$_invoke$arity$2 = G__10541__2; +return G__10541; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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__10542 = ls.sval(); +ls = G__10542; +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.LazySeq(meta__$1,((function (coll__$1){ +return (function (){ +return coll__$1.cljs$core$ISeqable$_seq$arity$1(null); +});})(coll__$1)) +,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__10543_10546 = cljs.core.LazySeq.prototype; +var G__10544_10547 = cljs.core.ITER_SYMBOL; +var G__10545_10548 = ((function (G__10543_10546,G__10544_10547){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10543_10546,G__10544_10547)) +; +goog.object.set(G__10543_10546,G__10544_10547,G__10545_10548); + +/** +* @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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__10550 = arguments.length; +switch (G__10550) { +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__10552 = null; +var G__10552__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10552__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10552 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10552__1.call(this,x); +case 2: +return G__10552__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10552.cljs$core$IFn$_invoke$arity$1 = G__10552__1; +G__10552.cljs$core$IFn$_invoke$arity$2 = G__10552__2; +return G__10552; +})() +; + +cljs.core.ChunkedCons.prototype.lastIndexOf = (function() { +var G__10553 = null; +var G__10553__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__10553__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10553 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10553__1.call(this,x); +case 2: +return G__10553__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10553.cljs$core$IFn$_invoke$arity$1 = G__10553__1; +G__10553.cljs$core$IFn$_invoke$arity$2 = G__10553__2; +return G__10553; +})() +; + +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,self__.meta,null)); +} else { +var more__$1 = cljs.core._seq(self__.more); +if((more__$1 == null)){ +return null; +} else { +return more__$1; +} +} +}); + +cljs.core.ChunkedCons.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +cljs.core.ChunkedCons.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(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,self__.meta,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,m){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.ChunkedCons(self__.chunk,self__.more,m,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__10554_10557 = cljs.core.ChunkedCons.prototype; +var G__10555_10558 = cljs.core.ITER_SYMBOL; +var G__10556_10559 = ((function (G__10554_10557,G__10555_10558){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10554_10557,G__10555_10558)) +; +goog.object.set(G__10554_10557,G__10555_10558,G__10556_10559); +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 cljs.core._chunked_next(s); +} else { +return cljs.core.seq(cljs.core._chunked_rest(s)); +} +}); +/** + * Naive impl of to-array as a start. + */ +cljs.core.to_array = (function cljs$core$to_array(s){ +var ary = []; +var s__$1 = cljs.core.seq(s); +while(true){ +if(!((s__$1 == null))){ +ary.push(cljs.core.first(s__$1)); + +var G__10561 = cljs.core.next(s__$1); +s__$1 = G__10561; +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_10562 = (0); +var xs_10563 = cljs.core.seq(coll); +while(true){ +if((xs_10563 == null)){ +} else { +(ret[i_10562] = cljs.core.to_array(cljs.core.first(xs_10563))); + +var G__10564 = (i_10562 + (1)); +var G__10565 = cljs.core.next(xs_10563); +i_10562 = G__10564; +xs_10563 = G__10565; +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__10567 = arguments.length; +switch (G__10567) { +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__10569 = (i + (1)); +var G__10570 = cljs.core.next(s__$1); +i = G__10569; +s__$1 = G__10570; +continue; +} else { +return a; +} +break; +} +} else { +var n__8512__auto___10571 = size; +var i_10572 = (0); +while(true){ +if((i_10572 < n__8512__auto___10571)){ +(a[i_10572] = init_val_or_seq); + +var G__10573 = (i_10572 + (1)); +i_10572 = G__10573; +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__10575 = arguments.length; +switch (G__10575) { +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__10577 = (i + (1)); +var G__10578 = cljs.core.next(s__$1); +i = G__10577; +s__$1 = G__10578; +continue; +} else { +return a; +} +break; +} +} else { +var n__8512__auto___10579 = size; +var i_10580 = (0); +while(true){ +if((i_10580 < n__8512__auto___10579)){ +(a[i_10580] = init_val_or_seq); + +var G__10581 = (i_10580 + (1)); +i_10580 = G__10581; +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__10583 = arguments.length; +switch (G__10583) { +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__10585 = (i + (1)); +var G__10586 = cljs.core.next(s__$1); +i = G__10585; +s__$1 = G__10586; +continue; +} else { +return a; +} +break; +} +} else { +var n__8512__auto___10587 = size; +var i_10588 = (0); +while(true){ +if((i_10588 < n__8512__auto___10587)){ +(a[i_10588] = init_val_or_seq); + +var G__10589 = (i_10588 + (1)); +i_10588 = G__10589; +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__10591 = arguments.length; +switch (G__10591) { +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__10593 = (i + (1)); +var G__10594 = cljs.core.next(s__$1); +i = G__10593; +s__$1 = G__10594; +continue; +} else { +return a; +} +break; +} +} else { +var n__8512__auto___10595 = size; +var i_10596 = (0); +while(true){ +if((i_10596 < n__8512__auto___10595)){ +(a[i_10596] = init_val_or_seq); + +var G__10597 = (i_10596 + (1)); +i_10596 = G__10597; +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__10598 = (i + (1)); +var G__10599 = cljs.core.next(s); +i = G__10598; +s = G__10599; +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__10604 = arguments.length; +switch (G__10604) { +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__8762__auto__ = []; +var len__8743__auto___10606 = arguments.length; +var i__8744__auto___10607 = (0); +while(true){ +if((i__8744__auto___10607 < len__8743__auto___10606)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10607])); + +var G__10608 = (i__8744__auto___10607 + (1)); +i__8744__auto___10607 = G__10608; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10601){ +var G__10602 = cljs.core.first(seq10601); +var seq10601__$1 = cljs.core.next(seq10601); +var G__10603 = cljs.core.first(seq10601__$1); +var seq10601__$2 = cljs.core.next(seq10601__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10602,G__10603,seq10601__$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__10615 = arguments.length; +switch (G__10615) { +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__8762__auto__ = []; +var len__8743__auto___10617 = arguments.length; +var i__8744__auto___10618 = (0); +while(true){ +if((i__8744__auto___10618 < len__8743__auto___10617)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10618])); + +var G__10619 = (i__8744__auto___10618 + (1)); +i__8744__auto___10618 = G__10619; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__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 (seq10610){ +var G__10611 = cljs.core.first(seq10610); +var seq10610__$1 = cljs.core.next(seq10610); +var G__10612 = cljs.core.first(seq10610__$1); +var seq10610__$2 = cljs.core.next(seq10610__$1); +var G__10613 = cljs.core.first(seq10610__$2); +var seq10610__$3 = cljs.core.next(seq10610__$2); +var G__10614 = cljs.core.first(seq10610__$3); +var seq10610__$4 = cljs.core.next(seq10610__$3); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10611,G__10612,G__10613,G__10614,seq10610__$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__10624 = arguments.length; +switch (G__10624) { +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__8762__auto__ = []; +var len__8743__auto___10626 = arguments.length; +var i__8744__auto___10627 = (0); +while(true){ +if((i__8744__auto___10627 < len__8743__auto___10626)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10627])); + +var G__10628 = (i__8744__auto___10627 + (1)); +i__8744__auto___10627 = G__10628; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10629 = ntcoll; +var G__10630 = cljs.core.first(vals); +var G__10631 = cljs.core.next(vals); +tcoll = G__10629; +val = G__10630; +vals = G__10631; +continue; +} else { +return ntcoll; +} +break; +} +}); + +/** @this {Function} */ +cljs.core.conj_BANG_.cljs$lang$applyTo = (function (seq10621){ +var G__10622 = cljs.core.first(seq10621); +var seq10621__$1 = cljs.core.next(seq10621); +var G__10623 = cljs.core.first(seq10621__$1); +var seq10621__$2 = cljs.core.next(seq10621__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10622,G__10623,seq10621__$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__10637 = arguments.length; +switch (G__10637) { +case 3: +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10639 = arguments.length; +var i__8744__auto___10640 = (0); +while(true){ +if((i__8744__auto___10640 < len__8743__auto___10639)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10640])); + +var G__10641 = (i__8744__auto___10640 + (1)); +i__8744__auto___10640 = G__10641; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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__10642 = ntcoll; +var G__10643 = cljs.core.first(kvs); +var G__10644 = cljs.core.second(kvs); +var G__10645 = cljs.core.nnext(kvs); +tcoll = G__10642; +key = G__10643; +val = G__10644; +kvs = G__10645; +continue; +} else { +return ntcoll; +} +break; +} +}); + +/** @this {Function} */ +cljs.core.assoc_BANG_.cljs$lang$applyTo = (function (seq10633){ +var G__10634 = cljs.core.first(seq10633); +var seq10633__$1 = cljs.core.next(seq10633); +var G__10635 = cljs.core.first(seq10633__$1); +var seq10633__$2 = cljs.core.next(seq10633__$1); +var G__10636 = cljs.core.first(seq10633__$2); +var seq10633__$3 = cljs.core.next(seq10633__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10634,G__10635,G__10636,seq10633__$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__10650 = arguments.length; +switch (G__10650) { +case 2: +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10652 = arguments.length; +var i__8744__auto___10653 = (0); +while(true){ +if((i__8744__auto___10653 < len__8743__auto___10652)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10653])); + +var G__10654 = (i__8744__auto___10653 + (1)); +i__8744__auto___10653 = G__10654; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10655 = ntcoll; +var G__10656 = cljs.core.first(ks); +var G__10657 = cljs.core.next(ks); +tcoll = G__10655; +key = G__10656; +ks = G__10657; +continue; +} else { +return ntcoll; +} +break; +} +}); + +/** @this {Function} */ +cljs.core.dissoc_BANG_.cljs$lang$applyTo = (function (seq10647){ +var G__10648 = cljs.core.first(seq10647); +var seq10647__$1 = cljs.core.next(seq10647); +var G__10649 = cljs.core.first(seq10647__$1); +var seq10647__$2 = cljs.core.next(seq10647__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10648,G__10649,seq10647__$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__10662 = arguments.length; +switch (G__10662) { +case 2: +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10664 = arguments.length; +var i__8744__auto___10665 = (0); +while(true){ +if((i__8744__auto___10665 < len__8743__auto___10664)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10665])); + +var G__10666 = (i__8744__auto___10665 + (1)); +i__8744__auto___10665 = G__10666; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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__10667 = ntcoll; +var G__10668 = cljs.core.first(vals); +var G__10669 = cljs.core.next(vals); +tcoll = G__10667; +val = G__10668; +vals = G__10669; +continue; +} else { +return ntcoll; +} +break; +} +}); + +/** @this {Function} */ +cljs.core.disj_BANG_.cljs$lang$applyTo = (function (seq10659){ +var G__10660 = cljs.core.first(seq10659); +var seq10659__$1 = cljs.core.next(seq10659); +var G__10661 = cljs.core.first(seq10659__$1); +var seq10659__$2 = cljs.core.next(seq10659__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10660,G__10661,seq10659__$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 a8556 = 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(a8556) : f.call(null,a8556)); +} else { +var b8557 = 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(a8556,b8557) : f.call(null,a8556,b8557)); +} else { +var c8558 = 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(a8556,b8557,c8558) : f.call(null,a8556,b8557,c8558)); +} else { +var d8559 = 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(a8556,b8557,c8558,d8559) : f.call(null,a8556,b8557,c8558,d8559)); +} else { +var e8560 = 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(a8556,b8557,c8558,d8559,e8560) : f.call(null,a8556,b8557,c8558,d8559,e8560)); +} else { +var f8561 = 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(a8556,b8557,c8558,d8559,e8560,f8561) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561)); +} else { +var g8562 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562)); +} else { +var h8563 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563)); +} else { +var i8564 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564)); +} else { +var j8565 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565)); +} else { +var k8566 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566)); +} else { +var l8567 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567)); +} else { +var m8568 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568)); +} else { +var n8569 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569)); +} else { +var o8570 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570)); +} else { +var p8571 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571)); +} else { +var q8572 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572)); +} else { +var r8573 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572,r8573) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572,r8573)); +} else { +var s8574 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572,r8573,s8574) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572,r8573,s8574)); +} else { +var t8575 = 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(a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572,r8573,s8574,t8575) : f.call(null,a8556,b8557,c8558,d8559,e8560,f8561,g8562,h8563,i8564,j8565,k8566,l8567,m8568,n8569,o8570,p8571,q8572,r8573,s8574,t8575)); +} else { +throw (new Error("Only up to 20 arguments supported on functions")); +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); + +/** + * 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__10671 = arguments.length; +switch (G__10671) { +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(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(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(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(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__8584__auto__ = [a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19]; +var s__8585__auto___10673 = next_19; +while(true){ +if(s__8585__auto___10673){ +arr__8584__auto__.push(cljs.core._first(s__8585__auto___10673)); + +var G__10674 = cljs.core.next(s__8585__auto___10673); +s__8585__auto___10673 = G__10674; +continue; +} else { +} +break; +} + +return f.apply(f,arr__8584__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__10682 = arguments.length; +switch (G__10682) { +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__8762__auto__ = []; +var len__8743__auto___10684 = arguments.length; +var i__8744__auto___10685 = (0); +while(true){ +if((i__8744__auto___10685 < len__8743__auto___10684)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10685])); + +var G__10686 = (i__8744__auto___10685 + (1)); +i__8744__auto___10685 = G__10686; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__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 (seq10676){ +var G__10677 = cljs.core.first(seq10676); +var seq10676__$1 = cljs.core.next(seq10676); +var G__10678 = cljs.core.first(seq10676__$1); +var seq10676__$2 = cljs.core.next(seq10676__$1); +var G__10679 = cljs.core.first(seq10676__$2); +var seq10676__$3 = cljs.core.next(seq10676__$2); +var G__10680 = cljs.core.first(seq10676__$3); +var seq10676__$4 = cljs.core.next(seq10676__$3); +var G__10681 = cljs.core.first(seq10676__$4); +var seq10676__$5 = cljs.core.next(seq10676__$4); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10677,G__10678,G__10679,G__10680,G__10681,seq10676__$5); +}); + +cljs.core.apply.cljs$lang$maxFixedArity = (5); + +/** + * 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__10695 = arguments.length; +switch (G__10695) { +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__8762__auto__ = []; +var len__8743__auto___10712 = arguments.length; +var i__8744__auto___10713 = (0); +while(true){ +if((i__8744__auto___10713 < len__8743__auto___10712)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10713])); + +var G__10714 = (i__8744__auto___10713 + (1)); +i__8744__auto___10713 = G__10714; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__auto__); + +} +}); + +cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$2 = (function (obj,f){ +return cljs.core.with_meta(obj,(function (){var G__10696 = cljs.core.meta(obj); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10696) : f.call(null,G__10696)); +})()); +}); + +cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$3 = (function (obj,f,a){ +return cljs.core.with_meta(obj,(function (){var G__10697 = cljs.core.meta(obj); +var G__10698 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10697,G__10698) : f.call(null,G__10697,G__10698)); +})()); +}); + +cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4 = (function (obj,f,a,b){ +return cljs.core.with_meta(obj,(function (){var G__10699 = cljs.core.meta(obj); +var G__10700 = a; +var G__10701 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10699,G__10700,G__10701) : f.call(null,G__10699,G__10700,G__10701)); +})()); +}); + +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__10702 = cljs.core.meta(obj); +var G__10703 = a; +var G__10704 = b; +var G__10705 = c; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__10702,G__10703,G__10704,G__10705) : f.call(null,G__10702,G__10703,G__10704,G__10705)); +})()); +}); + +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__10706 = cljs.core.meta(obj); +var G__10707 = a; +var G__10708 = b; +var G__10709 = c; +var G__10710 = d; +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(G__10706,G__10707,G__10708,G__10709,G__10710) : f.call(null,G__10706,G__10707,G__10708,G__10709,G__10710)); +})()); +}); + +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 (seq10688){ +var G__10689 = cljs.core.first(seq10688); +var seq10688__$1 = cljs.core.next(seq10688); +var G__10690 = cljs.core.first(seq10688__$1); +var seq10688__$2 = cljs.core.next(seq10688__$1); +var G__10691 = cljs.core.first(seq10688__$2); +var seq10688__$3 = cljs.core.next(seq10688__$2); +var G__10692 = cljs.core.first(seq10688__$3); +var seq10688__$4 = cljs.core.next(seq10688__$3); +var G__10693 = cljs.core.first(seq10688__$4); +var seq10688__$5 = cljs.core.next(seq10688__$4); +var G__10694 = cljs.core.first(seq10688__$5); +var seq10688__$6 = cljs.core.next(seq10688__$5); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10689,G__10690,G__10691,G__10692,G__10693,G__10694,seq10688__$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__10719 = arguments.length; +switch (G__10719) { +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__8762__auto__ = []; +var len__8743__auto___10721 = arguments.length; +var i__8744__auto___10722 = (0); +while(true){ +if((i__8744__auto___10722 < len__8743__auto___10721)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10722])); + +var G__10723 = (i__8744__auto___10722 + (1)); +i__8744__auto___10722 = G__10723; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq10716){ +var G__10717 = cljs.core.first(seq10716); +var seq10716__$1 = cljs.core.next(seq10716); +var G__10718 = cljs.core.first(seq10716__$1); +var seq10716__$2 = cljs.core.next(seq10716__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10717,G__10718,seq10716__$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; +} +}); +cljs.core.nil_iter = (function cljs$core$nil_iter(){ +if(typeof cljs.core.t_cljs$core10724 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.t_cljs$core10724 = (function (meta10725){ +this.meta10725 = meta10725; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.t_cljs$core10724.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_10726,meta10725__$1){ +var self__ = this; +var _10726__$1 = this; +return (new cljs.core.t_cljs$core10724(meta10725__$1)); +}); + +cljs.core.t_cljs$core10724.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_10726){ +var self__ = this; +var _10726__$1 = this; +return self__.meta10725; +}); + +cljs.core.t_cljs$core10724.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return false; +}); + +cljs.core.t_cljs$core10724.prototype.next = (function (){ +var self__ = this; +var _ = this; +return (new Error("No such element")); +}); + +cljs.core.t_cljs$core10724.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +}); + +cljs.core.t_cljs$core10724.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta10725","meta10725",-1929649627,null)], null); +}); + +cljs.core.t_cljs$core10724.cljs$lang$type = true; + +cljs.core.t_cljs$core10724.cljs$lang$ctorStr = "cljs.core/t_cljs$core10724"; + +cljs.core.t_cljs$core10724.cljs$lang$ctorPrWriter = (function (this__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__auto__,"cljs.core/t_cljs$core10724"); +}); + +/** + * Positional factory function for cljs.core/t_cljs$core10724. + */ +cljs.core.__GT_t_cljs$core10724 = (function cljs$core$nil_iter_$___GT_t_cljs$core10724(meta10725){ +return (new cljs.core.t_cljs$core10724(meta10725)); +}); + +} + +return (new cljs.core.t_cljs$core10724(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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"].join(''))); +} 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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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"].join(''))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__10727 = cljs.core.next(iters__$1); +iters__$1 = G__10727; +continue; +} +} else { +return true; +} +break; +} +}); + +cljs.core.MultiIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var nexts = []; +var n__8512__auto___10728 = self__.iters.length; +var i_10729 = (0); +while(true){ +if((i_10729 < n__8512__auto___10728)){ +(nexts[i_10729] = (self__.iters[i_10729]).next()); + +var G__10730 = (i_10729 + (1)); +i_10729 = G__10730; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__7551__auto__ = iter.hasNext(); +if(cljs.core.truth_(and__7551__auto__)){ +return (n < (32)); +} else { +return and__7551__auto__; +} +})())){ +(arr[n] = iter.next()); + +var G__10731 = (n + (1)); +n = G__10731; +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__10732 = null; +var G__10733 = self__.sourceIter.next(); +return (self__.xf.cljs$core$IFn$_invoke$arity$2 ? self__.xf.cljs$core$IFn$_invoke$arity$2(G__10732,G__10733) : self__.xf.call(null,G__10732,G__10733)); +})()); +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__10734_10737 = cljs.core.TransformerIterator.prototype; +var G__10735_10738 = cljs.core.ITER_SYMBOL; +var G__10736_10739 = ((function (G__10734_10737,G__10735_10738){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__10734_10737,G__10735_10738)) +; +goog.object.set(G__10734_10737,G__10735_10738,G__10736_10739); +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__10740 = ((function (iterator){ +return (function() { +var G__10741 = null; +var G__10741__0 = (function (){ +return null; +}); +var G__10741__1 = (function (acc){ +return acc; +}); +var G__10741__2 = (function (acc,o){ +iterator.buffer = iterator.buffer.add(o); + +return acc; +}); +G__10741 = function(acc,o){ +switch(arguments.length){ +case 0: +return G__10741__0.call(this); +case 1: +return G__10741__1.call(this,acc); +case 2: +return G__10741__2.call(this,acc,o); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10741.cljs$core$IFn$_invoke$arity$0 = G__10741__0; +G__10741.cljs$core$IFn$_invoke$arity$1 = G__10741__1; +G__10741.cljs$core$IFn$_invoke$arity$2 = G__10741__2; +return G__10741; +})() +;})(iterator)) +; +return (xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(G__10740) : xform.call(null,G__10740)); +})(); + +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__10746 = arguments.length; +switch (G__10746) { +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__8762__auto__ = []; +var len__8743__auto___10748 = arguments.length; +var i__8744__auto___10749 = (0); +while(true){ +if((i__8744__auto___10749 < len__8743__auto___10748)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10749])); + +var G__10750 = (i__8744__auto___10749 + (1)); +i__8744__auto___10749 = G__10750; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__auto__); + +} +}); + +cljs.core.sequence.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +if(cljs.core.seq_QMARK_(coll)){ +return coll; +} else { +var or__7566__auto__ = cljs.core.seq(coll); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return cljs.core.List.EMPTY; +} +} +}); + +cljs.core.sequence.cljs$core$IFn$_invoke$arity$2 = (function (xform,coll){ +var or__7566__auto__ = cljs.core.chunkIteratorSeq(cljs.core.TransformerIterator.create(xform,cljs.core.iter(coll))); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.List.EMPTY; +} +}); + +cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic = (function (xform,coll,colls){ +var or__7566__auto__ = cljs.core.chunkIteratorSeq(cljs.core.TransformerIterator.createMulti(xform,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.iter,cljs.core.cons(coll,colls)))); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.List.EMPTY; +} +}); + +/** @this {Function} */ +cljs.core.sequence.cljs$lang$applyTo = (function (seq10743){ +var G__10744 = cljs.core.first(seq10743); +var seq10743__$1 = cljs.core.next(seq10743); +var G__10745 = cljs.core.first(seq10743__$1); +var seq10743__$2 = cljs.core.next(seq10743__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10744,G__10745,seq10743__$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__10751 = cljs.core.first(coll); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__10751) : pred.call(null,G__10751)); +})())){ +var G__10752 = pred; +var G__10753 = cljs.core.next(coll); +pred = G__10752; +coll = G__10753; +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){ +if(cljs.core.seq(coll)){ +var or__7566__auto__ = (function (){var G__10755 = cljs.core.first(coll); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__10755) : pred.call(null,G__10755)); +})(); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +var G__10756 = pred; +var G__10757 = cljs.core.next(coll); +pred = G__10756; +coll = G__10757; +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__10758 = null; +var G__10758__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__10758__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__10758__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__10758__3 = (function() { +var G__10759__delegate = function (x,y,zs){ +return cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$4(f,x,y,zs)); +}; +var G__10759 = function (x,y,var_args){ +var zs = null; +if (arguments.length > 2) { +var G__10760__i = 0, G__10760__a = new Array(arguments.length - 2); +while (G__10760__i < G__10760__a.length) {G__10760__a[G__10760__i] = arguments[G__10760__i + 2]; ++G__10760__i;} + zs = new cljs.core.IndexedSeq(G__10760__a,0,null); +} +return G__10759__delegate.call(this,x,y,zs);}; +G__10759.cljs$lang$maxFixedArity = 2; +G__10759.cljs$lang$applyTo = (function (arglist__10761){ +var x = cljs.core.first(arglist__10761); +arglist__10761 = cljs.core.next(arglist__10761); +var y = cljs.core.first(arglist__10761); +var zs = cljs.core.rest(arglist__10761); +return G__10759__delegate(x,y,zs); +}); +G__10759.cljs$core$IFn$_invoke$arity$variadic = G__10759__delegate; +return G__10759; +})() +; +G__10758 = function(x,y,var_args){ +var zs = var_args; +switch(arguments.length){ +case 0: +return G__10758__0.call(this); +case 1: +return G__10758__1.call(this,x); +case 2: +return G__10758__2.call(this,x,y); +default: +var G__10762 = null; +if (arguments.length > 2) { +var G__10763__i = 0, G__10763__a = new Array(arguments.length - 2); +while (G__10763__i < G__10763__a.length) {G__10763__a[G__10763__i] = arguments[G__10763__i + 2]; ++G__10763__i;} +G__10762 = new cljs.core.IndexedSeq(G__10763__a,0,null); +} +return G__10758__3.cljs$core$IFn$_invoke$arity$variadic(x,y, G__10762); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10758.cljs$lang$maxFixedArity = 2; +G__10758.cljs$lang$applyTo = G__10758__3.cljs$lang$applyTo; +G__10758.cljs$core$IFn$_invoke$arity$0 = G__10758__0; +G__10758.cljs$core$IFn$_invoke$arity$1 = G__10758__1; +G__10758.cljs$core$IFn$_invoke$arity$2 = G__10758__2; +G__10758.cljs$core$IFn$_invoke$arity$variadic = G__10758__3.cljs$core$IFn$_invoke$arity$variadic; +return G__10758; +})() +}); +/** + * Returns a function that takes any number of arguments and returns x. + */ +cljs.core.constantly = (function cljs$core$constantly(x){ +return (function() { +var G__10764__delegate = function (args){ +return x; +}; +var G__10764 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__10765__i = 0, G__10765__a = new Array(arguments.length - 0); +while (G__10765__i < G__10765__a.length) {G__10765__a[G__10765__i] = arguments[G__10765__i + 0]; ++G__10765__i;} + args = new cljs.core.IndexedSeq(G__10765__a,0,null); +} +return G__10764__delegate.call(this,args);}; +G__10764.cljs$lang$maxFixedArity = 0; +G__10764.cljs$lang$applyTo = (function (arglist__10766){ +var args = cljs.core.seq(arglist__10766); +return G__10764__delegate(args); +}); +G__10764.cljs$core$IFn$_invoke$arity$variadic = G__10764__delegate; +return G__10764; +})() +; +}); +/** + * 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__10772 = arguments.length; +switch (G__10772) { +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__8762__auto__ = []; +var len__8743__auto___10790 = arguments.length; +var i__8744__auto___10791 = (0); +while(true){ +if((i__8744__auto___10791 < len__8743__auto___10790)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10791])); + +var G__10792 = (i__8744__auto___10791 + (1)); +i__8744__auto___10791 = G__10792; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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__10793 = null; +var G__10793__0 = (function (){ +var G__10773 = (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__10773) : f.call(null,G__10773)); +}); +var G__10793__1 = (function (x){ +var G__10774 = (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__10774) : f.call(null,G__10774)); +}); +var G__10793__2 = (function (x,y){ +var G__10775 = (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__10775) : f.call(null,G__10775)); +}); +var G__10793__3 = (function (x,y,z){ +var G__10776 = (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__10776) : f.call(null,G__10776)); +}); +var G__10793__4 = (function() { +var G__10794__delegate = function (x,y,z,args){ +var G__10777 = 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__10777) : f.call(null,G__10777)); +}; +var G__10794 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10795__i = 0, G__10795__a = new Array(arguments.length - 3); +while (G__10795__i < G__10795__a.length) {G__10795__a[G__10795__i] = arguments[G__10795__i + 3]; ++G__10795__i;} + args = new cljs.core.IndexedSeq(G__10795__a,0,null); +} +return G__10794__delegate.call(this,x,y,z,args);}; +G__10794.cljs$lang$maxFixedArity = 3; +G__10794.cljs$lang$applyTo = (function (arglist__10796){ +var x = cljs.core.first(arglist__10796); +arglist__10796 = cljs.core.next(arglist__10796); +var y = cljs.core.first(arglist__10796); +arglist__10796 = cljs.core.next(arglist__10796); +var z = cljs.core.first(arglist__10796); +var args = cljs.core.rest(arglist__10796); +return G__10794__delegate(x,y,z,args); +}); +G__10794.cljs$core$IFn$_invoke$arity$variadic = G__10794__delegate; +return G__10794; +})() +; +G__10793 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10793__0.call(this); +case 1: +return G__10793__1.call(this,x); +case 2: +return G__10793__2.call(this,x,y); +case 3: +return G__10793__3.call(this,x,y,z); +default: +var G__10797 = null; +if (arguments.length > 3) { +var G__10798__i = 0, G__10798__a = new Array(arguments.length - 3); +while (G__10798__i < G__10798__a.length) {G__10798__a[G__10798__i] = arguments[G__10798__i + 3]; ++G__10798__i;} +G__10797 = new cljs.core.IndexedSeq(G__10798__a,0,null); +} +return G__10793__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10797); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10793.cljs$lang$maxFixedArity = 3; +G__10793.cljs$lang$applyTo = G__10793__4.cljs$lang$applyTo; +G__10793.cljs$core$IFn$_invoke$arity$0 = G__10793__0; +G__10793.cljs$core$IFn$_invoke$arity$1 = G__10793__1; +G__10793.cljs$core$IFn$_invoke$arity$2 = G__10793__2; +G__10793.cljs$core$IFn$_invoke$arity$3 = G__10793__3; +G__10793.cljs$core$IFn$_invoke$arity$variadic = G__10793__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10793; +})() +}); + +cljs.core.comp.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ +return (function() { +var G__10799 = null; +var G__10799__0 = (function (){ +var G__10778 = (function (){var G__10779 = (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__10779) : g.call(null,G__10779)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10778) : f.call(null,G__10778)); +}); +var G__10799__1 = (function (x){ +var G__10780 = (function (){var G__10781 = (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__10781) : g.call(null,G__10781)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10780) : f.call(null,G__10780)); +}); +var G__10799__2 = (function (x,y){ +var G__10782 = (function (){var G__10783 = (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__10783) : g.call(null,G__10783)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10782) : f.call(null,G__10782)); +}); +var G__10799__3 = (function (x,y,z){ +var G__10784 = (function (){var G__10785 = (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__10785) : g.call(null,G__10785)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10784) : f.call(null,G__10784)); +}); +var G__10799__4 = (function() { +var G__10800__delegate = function (x,y,z,args){ +var G__10786 = (function (){var G__10787 = 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__10787) : g.call(null,G__10787)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10786) : f.call(null,G__10786)); +}; +var G__10800 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10801__i = 0, G__10801__a = new Array(arguments.length - 3); +while (G__10801__i < G__10801__a.length) {G__10801__a[G__10801__i] = arguments[G__10801__i + 3]; ++G__10801__i;} + args = new cljs.core.IndexedSeq(G__10801__a,0,null); +} +return G__10800__delegate.call(this,x,y,z,args);}; +G__10800.cljs$lang$maxFixedArity = 3; +G__10800.cljs$lang$applyTo = (function (arglist__10802){ +var x = cljs.core.first(arglist__10802); +arglist__10802 = cljs.core.next(arglist__10802); +var y = cljs.core.first(arglist__10802); +arglist__10802 = cljs.core.next(arglist__10802); +var z = cljs.core.first(arglist__10802); +var args = cljs.core.rest(arglist__10802); +return G__10800__delegate(x,y,z,args); +}); +G__10800.cljs$core$IFn$_invoke$arity$variadic = G__10800__delegate; +return G__10800; +})() +; +G__10799 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10799__0.call(this); +case 1: +return G__10799__1.call(this,x); +case 2: +return G__10799__2.call(this,x,y); +case 3: +return G__10799__3.call(this,x,y,z); +default: +var G__10803 = null; +if (arguments.length > 3) { +var G__10804__i = 0, G__10804__a = new Array(arguments.length - 3); +while (G__10804__i < G__10804__a.length) {G__10804__a[G__10804__i] = arguments[G__10804__i + 3]; ++G__10804__i;} +G__10803 = new cljs.core.IndexedSeq(G__10804__a,0,null); +} +return G__10799__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10803); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10799.cljs$lang$maxFixedArity = 3; +G__10799.cljs$lang$applyTo = G__10799__4.cljs$lang$applyTo; +G__10799.cljs$core$IFn$_invoke$arity$0 = G__10799__0; +G__10799.cljs$core$IFn$_invoke$arity$1 = G__10799__1; +G__10799.cljs$core$IFn$_invoke$arity$2 = G__10799__2; +G__10799.cljs$core$IFn$_invoke$arity$3 = G__10799__3; +G__10799.cljs$core$IFn$_invoke$arity$variadic = G__10799__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10799; +})() +}); + +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 (fs__$1){ +return (function() { +var G__10805__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__10806 = (function (){var fexpr__10788 = cljs.core.first(fs__$2); +return (fexpr__10788.cljs$core$IFn$_invoke$arity$1 ? fexpr__10788.cljs$core$IFn$_invoke$arity$1(ret) : fexpr__10788.call(null,ret)); +})(); +var G__10807 = cljs.core.next(fs__$2); +ret = G__10806; +fs__$2 = G__10807; +continue; +} else { +return ret; +} +break; +} +}; +var G__10805 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__10808__i = 0, G__10808__a = new Array(arguments.length - 0); +while (G__10808__i < G__10808__a.length) {G__10808__a[G__10808__i] = arguments[G__10808__i + 0]; ++G__10808__i;} + args = new cljs.core.IndexedSeq(G__10808__a,0,null); +} +return G__10805__delegate.call(this,args);}; +G__10805.cljs$lang$maxFixedArity = 0; +G__10805.cljs$lang$applyTo = (function (arglist__10809){ +var args = cljs.core.seq(arglist__10809); +return G__10805__delegate(args); +}); +G__10805.cljs$core$IFn$_invoke$arity$variadic = G__10805__delegate; +return G__10805; +})() +; +;})(fs__$1)) +}); + +/** @this {Function} */ +cljs.core.comp.cljs$lang$applyTo = (function (seq10768){ +var G__10769 = cljs.core.first(seq10768); +var seq10768__$1 = cljs.core.next(seq10768); +var G__10770 = cljs.core.first(seq10768__$1); +var seq10768__$2 = cljs.core.next(seq10768__$1); +var G__10771 = cljs.core.first(seq10768__$2); +var seq10768__$3 = cljs.core.next(seq10768__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10769,G__10770,G__10771,seq10768__$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__10816 = arguments.length; +switch (G__10816) { +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__8762__auto__ = []; +var len__8743__auto___10818 = arguments.length; +var i__8744__auto___10819 = (0); +while(true){ +if((i__8744__auto___10819 < len__8743__auto___10818)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10819])); + +var G__10820 = (i__8744__auto___10819 + (1)); +i__8744__auto___10819 = G__10820; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((4)),(0),null)); +return cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__8763__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__10821 = null; +var G__10821__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(arg1) : f.call(null,arg1)); +}); +var G__10821__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__10821__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__10821__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__10821__4 = (function() { +var G__10822__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__10822 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10823__i = 0, G__10823__a = new Array(arguments.length - 3); +while (G__10823__i < G__10823__a.length) {G__10823__a[G__10823__i] = arguments[G__10823__i + 3]; ++G__10823__i;} + args = new cljs.core.IndexedSeq(G__10823__a,0,null); +} +return G__10822__delegate.call(this,x,y,z,args);}; +G__10822.cljs$lang$maxFixedArity = 3; +G__10822.cljs$lang$applyTo = (function (arglist__10824){ +var x = cljs.core.first(arglist__10824); +arglist__10824 = cljs.core.next(arglist__10824); +var y = cljs.core.first(arglist__10824); +arglist__10824 = cljs.core.next(arglist__10824); +var z = cljs.core.first(arglist__10824); +var args = cljs.core.rest(arglist__10824); +return G__10822__delegate(x,y,z,args); +}); +G__10822.cljs$core$IFn$_invoke$arity$variadic = G__10822__delegate; +return G__10822; +})() +; +G__10821 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10821__0.call(this); +case 1: +return G__10821__1.call(this,x); +case 2: +return G__10821__2.call(this,x,y); +case 3: +return G__10821__3.call(this,x,y,z); +default: +var G__10825 = null; +if (arguments.length > 3) { +var G__10826__i = 0, G__10826__a = new Array(arguments.length - 3); +while (G__10826__i < G__10826__a.length) {G__10826__a[G__10826__i] = arguments[G__10826__i + 3]; ++G__10826__i;} +G__10825 = new cljs.core.IndexedSeq(G__10826__a,0,null); +} +return G__10821__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10825); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10821.cljs$lang$maxFixedArity = 3; +G__10821.cljs$lang$applyTo = G__10821__4.cljs$lang$applyTo; +G__10821.cljs$core$IFn$_invoke$arity$0 = G__10821__0; +G__10821.cljs$core$IFn$_invoke$arity$1 = G__10821__1; +G__10821.cljs$core$IFn$_invoke$arity$2 = G__10821__2; +G__10821.cljs$core$IFn$_invoke$arity$3 = G__10821__3; +G__10821.cljs$core$IFn$_invoke$arity$variadic = G__10821__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10821; +})() +}); + +cljs.core.partial.cljs$core$IFn$_invoke$arity$3 = (function (f,arg1,arg2){ +return (function() { +var G__10827 = null; +var G__10827__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__10827__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__10827__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__10827__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__10827__4 = (function() { +var G__10828__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__10828 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10829__i = 0, G__10829__a = new Array(arguments.length - 3); +while (G__10829__i < G__10829__a.length) {G__10829__a[G__10829__i] = arguments[G__10829__i + 3]; ++G__10829__i;} + args = new cljs.core.IndexedSeq(G__10829__a,0,null); +} +return G__10828__delegate.call(this,x,y,z,args);}; +G__10828.cljs$lang$maxFixedArity = 3; +G__10828.cljs$lang$applyTo = (function (arglist__10830){ +var x = cljs.core.first(arglist__10830); +arglist__10830 = cljs.core.next(arglist__10830); +var y = cljs.core.first(arglist__10830); +arglist__10830 = cljs.core.next(arglist__10830); +var z = cljs.core.first(arglist__10830); +var args = cljs.core.rest(arglist__10830); +return G__10828__delegate(x,y,z,args); +}); +G__10828.cljs$core$IFn$_invoke$arity$variadic = G__10828__delegate; +return G__10828; +})() +; +G__10827 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10827__0.call(this); +case 1: +return G__10827__1.call(this,x); +case 2: +return G__10827__2.call(this,x,y); +case 3: +return G__10827__3.call(this,x,y,z); +default: +var G__10831 = null; +if (arguments.length > 3) { +var G__10832__i = 0, G__10832__a = new Array(arguments.length - 3); +while (G__10832__i < G__10832__a.length) {G__10832__a[G__10832__i] = arguments[G__10832__i + 3]; ++G__10832__i;} +G__10831 = new cljs.core.IndexedSeq(G__10832__a,0,null); +} +return G__10827__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10831); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10827.cljs$lang$maxFixedArity = 3; +G__10827.cljs$lang$applyTo = G__10827__4.cljs$lang$applyTo; +G__10827.cljs$core$IFn$_invoke$arity$0 = G__10827__0; +G__10827.cljs$core$IFn$_invoke$arity$1 = G__10827__1; +G__10827.cljs$core$IFn$_invoke$arity$2 = G__10827__2; +G__10827.cljs$core$IFn$_invoke$arity$3 = G__10827__3; +G__10827.cljs$core$IFn$_invoke$arity$variadic = G__10827__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10827; +})() +}); + +cljs.core.partial.cljs$core$IFn$_invoke$arity$4 = (function (f,arg1,arg2,arg3){ +return (function() { +var G__10833 = null; +var G__10833__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__10833__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__10833__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__10833__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__10833__4 = (function() { +var G__10834__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__10834 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10835__i = 0, G__10835__a = new Array(arguments.length - 3); +while (G__10835__i < G__10835__a.length) {G__10835__a[G__10835__i] = arguments[G__10835__i + 3]; ++G__10835__i;} + args = new cljs.core.IndexedSeq(G__10835__a,0,null); +} +return G__10834__delegate.call(this,x,y,z,args);}; +G__10834.cljs$lang$maxFixedArity = 3; +G__10834.cljs$lang$applyTo = (function (arglist__10836){ +var x = cljs.core.first(arglist__10836); +arglist__10836 = cljs.core.next(arglist__10836); +var y = cljs.core.first(arglist__10836); +arglist__10836 = cljs.core.next(arglist__10836); +var z = cljs.core.first(arglist__10836); +var args = cljs.core.rest(arglist__10836); +return G__10834__delegate(x,y,z,args); +}); +G__10834.cljs$core$IFn$_invoke$arity$variadic = G__10834__delegate; +return G__10834; +})() +; +G__10833 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10833__0.call(this); +case 1: +return G__10833__1.call(this,x); +case 2: +return G__10833__2.call(this,x,y); +case 3: +return G__10833__3.call(this,x,y,z); +default: +var G__10837 = null; +if (arguments.length > 3) { +var G__10838__i = 0, G__10838__a = new Array(arguments.length - 3); +while (G__10838__i < G__10838__a.length) {G__10838__a[G__10838__i] = arguments[G__10838__i + 3]; ++G__10838__i;} +G__10837 = new cljs.core.IndexedSeq(G__10838__a,0,null); +} +return G__10833__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10837); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10833.cljs$lang$maxFixedArity = 3; +G__10833.cljs$lang$applyTo = G__10833__4.cljs$lang$applyTo; +G__10833.cljs$core$IFn$_invoke$arity$0 = G__10833__0; +G__10833.cljs$core$IFn$_invoke$arity$1 = G__10833__1; +G__10833.cljs$core$IFn$_invoke$arity$2 = G__10833__2; +G__10833.cljs$core$IFn$_invoke$arity$3 = G__10833__3; +G__10833.cljs$core$IFn$_invoke$arity$variadic = G__10833__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10833; +})() +}); + +cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic = (function (f,arg1,arg2,arg3,more){ +return (function() { +var G__10839__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__10839 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__10840__i = 0, G__10840__a = new Array(arguments.length - 0); +while (G__10840__i < G__10840__a.length) {G__10840__a[G__10840__i] = arguments[G__10840__i + 0]; ++G__10840__i;} + args = new cljs.core.IndexedSeq(G__10840__a,0,null); +} +return G__10839__delegate.call(this,args);}; +G__10839.cljs$lang$maxFixedArity = 0; +G__10839.cljs$lang$applyTo = (function (arglist__10841){ +var args = cljs.core.seq(arglist__10841); +return G__10839__delegate(args); +}); +G__10839.cljs$core$IFn$_invoke$arity$variadic = G__10839__delegate; +return G__10839; +})() +; +}); + +/** @this {Function} */ +cljs.core.partial.cljs$lang$applyTo = (function (seq10811){ +var G__10812 = cljs.core.first(seq10811); +var seq10811__$1 = cljs.core.next(seq10811); +var G__10813 = cljs.core.first(seq10811__$1); +var seq10811__$2 = cljs.core.next(seq10811__$1); +var G__10814 = cljs.core.first(seq10811__$2); +var seq10811__$3 = cljs.core.next(seq10811__$2); +var G__10815 = cljs.core.first(seq10811__$3); +var seq10811__$4 = cljs.core.next(seq10811__$3); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10812,G__10813,G__10814,G__10815,seq10811__$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__10843 = arguments.length; +switch (G__10843) { +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__10861 = null; +var G__10861__1 = (function (a){ +var G__10844 = (((a == null))?x:a); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10844) : f.call(null,G__10844)); +}); +var G__10861__2 = (function (a,b){ +var G__10845 = (((a == null))?x:a); +var G__10846 = b; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10845,G__10846) : f.call(null,G__10845,G__10846)); +}); +var G__10861__3 = (function (a,b,c){ +var G__10847 = (((a == null))?x:a); +var G__10848 = b; +var G__10849 = c; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10847,G__10848,G__10849) : f.call(null,G__10847,G__10848,G__10849)); +}); +var G__10861__4 = (function() { +var G__10862__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__10862 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__10863__i = 0, G__10863__a = new Array(arguments.length - 3); +while (G__10863__i < G__10863__a.length) {G__10863__a[G__10863__i] = arguments[G__10863__i + 3]; ++G__10863__i;} + ds = new cljs.core.IndexedSeq(G__10863__a,0,null); +} +return G__10862__delegate.call(this,a,b,c,ds);}; +G__10862.cljs$lang$maxFixedArity = 3; +G__10862.cljs$lang$applyTo = (function (arglist__10864){ +var a = cljs.core.first(arglist__10864); +arglist__10864 = cljs.core.next(arglist__10864); +var b = cljs.core.first(arglist__10864); +arglist__10864 = cljs.core.next(arglist__10864); +var c = cljs.core.first(arglist__10864); +var ds = cljs.core.rest(arglist__10864); +return G__10862__delegate(a,b,c,ds); +}); +G__10862.cljs$core$IFn$_invoke$arity$variadic = G__10862__delegate; +return G__10862; +})() +; +G__10861 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 1: +return G__10861__1.call(this,a); +case 2: +return G__10861__2.call(this,a,b); +case 3: +return G__10861__3.call(this,a,b,c); +default: +var G__10865 = null; +if (arguments.length > 3) { +var G__10866__i = 0, G__10866__a = new Array(arguments.length - 3); +while (G__10866__i < G__10866__a.length) {G__10866__a[G__10866__i] = arguments[G__10866__i + 3]; ++G__10866__i;} +G__10865 = new cljs.core.IndexedSeq(G__10866__a,0,null); +} +return G__10861__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__10865); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10861.cljs$lang$maxFixedArity = 3; +G__10861.cljs$lang$applyTo = G__10861__4.cljs$lang$applyTo; +G__10861.cljs$core$IFn$_invoke$arity$1 = G__10861__1; +G__10861.cljs$core$IFn$_invoke$arity$2 = G__10861__2; +G__10861.cljs$core$IFn$_invoke$arity$3 = G__10861__3; +G__10861.cljs$core$IFn$_invoke$arity$variadic = G__10861__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10861; +})() +}); + +cljs.core.fnil.cljs$core$IFn$_invoke$arity$3 = (function (f,x,y){ +return (function() { +var G__10867 = null; +var G__10867__2 = (function (a,b){ +var G__10850 = (((a == null))?x:a); +var G__10851 = (((b == null))?y:b); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10850,G__10851) : f.call(null,G__10850,G__10851)); +}); +var G__10867__3 = (function (a,b,c){ +var G__10852 = (((a == null))?x:a); +var G__10853 = (((b == null))?y:b); +var G__10854 = c; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10852,G__10853,G__10854) : f.call(null,G__10852,G__10853,G__10854)); +}); +var G__10867__4 = (function() { +var G__10868__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__10868 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__10869__i = 0, G__10869__a = new Array(arguments.length - 3); +while (G__10869__i < G__10869__a.length) {G__10869__a[G__10869__i] = arguments[G__10869__i + 3]; ++G__10869__i;} + ds = new cljs.core.IndexedSeq(G__10869__a,0,null); +} +return G__10868__delegate.call(this,a,b,c,ds);}; +G__10868.cljs$lang$maxFixedArity = 3; +G__10868.cljs$lang$applyTo = (function (arglist__10870){ +var a = cljs.core.first(arglist__10870); +arglist__10870 = cljs.core.next(arglist__10870); +var b = cljs.core.first(arglist__10870); +arglist__10870 = cljs.core.next(arglist__10870); +var c = cljs.core.first(arglist__10870); +var ds = cljs.core.rest(arglist__10870); +return G__10868__delegate(a,b,c,ds); +}); +G__10868.cljs$core$IFn$_invoke$arity$variadic = G__10868__delegate; +return G__10868; +})() +; +G__10867 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 2: +return G__10867__2.call(this,a,b); +case 3: +return G__10867__3.call(this,a,b,c); +default: +var G__10871 = null; +if (arguments.length > 3) { +var G__10872__i = 0, G__10872__a = new Array(arguments.length - 3); +while (G__10872__i < G__10872__a.length) {G__10872__a[G__10872__i] = arguments[G__10872__i + 3]; ++G__10872__i;} +G__10871 = new cljs.core.IndexedSeq(G__10872__a,0,null); +} +return G__10867__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__10871); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10867.cljs$lang$maxFixedArity = 3; +G__10867.cljs$lang$applyTo = G__10867__4.cljs$lang$applyTo; +G__10867.cljs$core$IFn$_invoke$arity$2 = G__10867__2; +G__10867.cljs$core$IFn$_invoke$arity$3 = G__10867__3; +G__10867.cljs$core$IFn$_invoke$arity$variadic = G__10867__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10867; +})() +}); + +cljs.core.fnil.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,z){ +return (function() { +var G__10873 = null; +var G__10873__2 = (function (a,b){ +var G__10855 = (((a == null))?x:a); +var G__10856 = (((b == null))?y:b); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10855,G__10856) : f.call(null,G__10855,G__10856)); +}); +var G__10873__3 = (function (a,b,c){ +var G__10857 = (((a == null))?x:a); +var G__10858 = (((b == null))?y:b); +var G__10859 = (((c == null))?z:c); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10857,G__10858,G__10859) : f.call(null,G__10857,G__10858,G__10859)); +}); +var G__10873__4 = (function() { +var G__10874__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__10874 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__10875__i = 0, G__10875__a = new Array(arguments.length - 3); +while (G__10875__i < G__10875__a.length) {G__10875__a[G__10875__i] = arguments[G__10875__i + 3]; ++G__10875__i;} + ds = new cljs.core.IndexedSeq(G__10875__a,0,null); +} +return G__10874__delegate.call(this,a,b,c,ds);}; +G__10874.cljs$lang$maxFixedArity = 3; +G__10874.cljs$lang$applyTo = (function (arglist__10876){ +var a = cljs.core.first(arglist__10876); +arglist__10876 = cljs.core.next(arglist__10876); +var b = cljs.core.first(arglist__10876); +arglist__10876 = cljs.core.next(arglist__10876); +var c = cljs.core.first(arglist__10876); +var ds = cljs.core.rest(arglist__10876); +return G__10874__delegate(a,b,c,ds); +}); +G__10874.cljs$core$IFn$_invoke$arity$variadic = G__10874__delegate; +return G__10874; +})() +; +G__10873 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 2: +return G__10873__2.call(this,a,b); +case 3: +return G__10873__3.call(this,a,b,c); +default: +var G__10877 = null; +if (arguments.length > 3) { +var G__10878__i = 0, G__10878__a = new Array(arguments.length - 3); +while (G__10878__i < G__10878__a.length) {G__10878__a[G__10878__i] = arguments[G__10878__i + 3]; ++G__10878__i;} +G__10877 = new cljs.core.IndexedSeq(G__10878__a,0,null); +} +return G__10873__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__10877); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10873.cljs$lang$maxFixedArity = 3; +G__10873.cljs$lang$applyTo = G__10873__4.cljs$lang$applyTo; +G__10873.cljs$core$IFn$_invoke$arity$2 = G__10873__2; +G__10873.cljs$core$IFn$_invoke$arity$3 = G__10873__3; +G__10873.cljs$core$IFn$_invoke$arity$variadic = G__10873__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10873; +})() +}); + +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__10880 = arguments.length; +switch (G__10880) { +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_((-1)); +return ((function (i){ +return (function() { +var G__10894 = null; +var G__10894__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10894__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__10894__2 = (function (result,input){ +var G__10881 = result; +var G__10882 = (function (){var G__10883 = cljs.core._vreset_BANG_(i,(cljs.core._deref(i) + (1))); +var G__10884 = input; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10883,G__10884) : f.call(null,G__10883,G__10884)); +})(); +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__10881,G__10882) : rf.call(null,G__10881,G__10882)); +}); +G__10894 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10894__0.call(this); +case 1: +return G__10894__1.call(this,result); +case 2: +return G__10894__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10894.cljs$core$IFn$_invoke$arity$0 = G__10894__0; +G__10894.cljs$core$IFn$_invoke$arity$1 = G__10894__1; +G__10894.cljs$core$IFn$_invoke$arity$2 = G__10894__2; +return G__10894; +})() +;})(i)) +}); +}); + +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__4657__auto__ = cljs.core.seq(coll__$1); +if(temp__4657__auto__){ +var s = temp__4657__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__8512__auto___10895 = size; +var i_10896 = (0); +while(true){ +if((i_10896 < n__8512__auto___10895)){ +cljs.core.chunk_append(b,(function (){var G__10889 = (idx + i_10896); +var G__10890 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10896); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10889,G__10890) : f.call(null,G__10889,G__10890)); +})()); + +var G__10897 = (i_10896 + (1)); +i_10896 = G__10897; +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__10891 = idx; +var G__10892 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10891,G__10892) : f.call(null,G__10891,G__10892)); +})(),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__10899 = arguments.length; +switch (G__10899) { +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__10903 = null; +var G__10903__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10903__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__10903__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__10903 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10903__0.call(this); +case 1: +return G__10903__1.call(this,result); +case 2: +return G__10903__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10903.cljs$core$IFn$_invoke$arity$0 = G__10903__0; +G__10903.cljs$core$IFn$_invoke$arity$1 = G__10903__1; +G__10903.cljs$core$IFn$_invoke$arity$2 = G__10903__2; +return G__10903; +})() +}); +}); + +cljs.core.keep.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__8512__auto___10904 = size; +var i_10905 = (0); +while(true){ +if((i_10905 < n__8512__auto___10904)){ +var x_10906 = (function (){var G__10900 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10905); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10900) : f.call(null,G__10900)); +})(); +if((x_10906 == null)){ +} else { +cljs.core.chunk_append(b,x_10906); +} + +var G__10907 = (i_10905 + (1)); +i_10905 = G__10907; +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__10901 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10901) : f.call(null,G__10901)); +})(); +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__10908 = cljs.core.seq(self__.watches); +var chunk__10909 = null; +var count__10910 = (0); +var i__10911 = (0); +while(true){ +if((i__10911 < count__10910)){ +var vec__10912 = chunk__10909.cljs$core$IIndexed$_nth$arity$2(null,i__10911); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10912,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10912,(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__10918 = seq__10908; +var G__10919 = chunk__10909; +var G__10920 = count__10910; +var G__10921 = (i__10911 + (1)); +seq__10908 = G__10918; +chunk__10909 = G__10919; +count__10910 = G__10920; +i__10911 = G__10921; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__10908); +if(temp__4657__auto__){ +var seq__10908__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__10908__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__10908__$1); +var G__10922 = cljs.core.chunk_rest(seq__10908__$1); +var G__10923 = c__8407__auto__; +var G__10924 = cljs.core.count(c__8407__auto__); +var G__10925 = (0); +seq__10908 = G__10922; +chunk__10909 = G__10923; +count__10910 = G__10924; +i__10911 = G__10925; +continue; +} else { +var vec__10915 = cljs.core.first(seq__10908__$1); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10915,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10915,(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__10926 = cljs.core.next(seq__10908__$1); +var G__10927 = null; +var G__10928 = (0); +var G__10929 = (0); +seq__10908 = G__10926; +chunk__10909 = G__10927; +count__10910 = G__10928; +i__10911 = G__10929; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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 be come 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__10933 = arguments.length; +switch (G__10933) { +case 1: +return cljs.core.atom.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___10938 = arguments.length; +var i__8744__auto___10939 = (0); +while(true){ +if((i__8744__auto___10939 < len__8743__auto___10938)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10939])); + +var G__10940 = (i__8744__auto___10939 + (1)); +i__8744__auto___10939 = G__10940; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((1)),(0),null)); +return cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8763__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__10934){ +var map__10935 = p__10934; +var map__10935__$1 = ((((!((map__10935 == null)))?(((((map__10935.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__10935.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__10935):map__10935); +var meta = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__10935__$1,new cljs.core.Keyword(null,"meta","meta",1499536964)); +var validator = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__10935__$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 (seq10931){ +var G__10932 = cljs.core.first(seq10931); +var seq10931__$1 = cljs.core.next(seq10931); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10932,seq10931__$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 { +cljs.core._notify_watches(a,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__10947 = arguments.length; +switch (G__10947) { +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__8762__auto__ = []; +var len__8743__auto___10955 = arguments.length; +var i__8744__auto___10956 = (0); +while(true){ +if((i__8744__auto___10956 < len__8743__auto___10955)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10956])); + +var G__10957 = (i__8744__auto___10956 + (1)); +i__8744__auto___10956 = G__10957; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__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__10948 = a.state; +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10948) : f.call(null,G__10948)); +})()); +} else { +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2(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__10949 = a.state; +var G__10950 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10949,G__10950) : f.call(null,G__10949,G__10950)); +})()); +} else { +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3(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__10951 = a.state; +var G__10952 = x; +var G__10953 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10951,G__10952,G__10953) : f.call(null,G__10951,G__10952,G__10953)); +})()); +} else { +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4(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_.cljs$core$IFn$_invoke$arity$5(a,f,x,y,more); +} +}); + +/** @this {Function} */ +cljs.core.swap_BANG_.cljs$lang$applyTo = (function (seq10942){ +var G__10943 = cljs.core.first(seq10942); +var seq10942__$1 = cljs.core.next(seq10942); +var G__10944 = cljs.core.first(seq10942__$1); +var seq10942__$2 = cljs.core.next(seq10942__$1); +var G__10945 = cljs.core.first(seq10942__$2); +var seq10942__$3 = cljs.core.next(seq10942__$2); +var G__10946 = cljs.core.first(seq10942__$3); +var seq10942__$4 = cljs.core.next(seq10942__$3); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10943,G__10944,G__10945,G__10946,seq10942__$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__10964 = arguments.length; +switch (G__10964) { +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__8762__auto__ = []; +var len__8743__auto___10972 = arguments.length; +var i__8744__auto___10973 = (0); +while(true){ +if((i__8744__auto___10973 < len__8743__auto___10972)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___10973])); + +var G__10974 = (i__8744__auto___10973 + (1)); +i__8744__auto___10973 = G__10974; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__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__10965 = a.state; +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10965) : f.call(null,G__10965)); +})()); +}); + +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__10966 = a.state; +var G__10967 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10966,G__10967) : f.call(null,G__10966,G__10967)); +})()); +}); + +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__10968 = a.state; +var G__10969 = x; +var G__10970 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10968,G__10969,G__10970) : f.call(null,G__10968,G__10969,G__10970)); +})()); +}); + +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 (seq10959){ +var G__10960 = cljs.core.first(seq10959); +var seq10959__$1 = cljs.core.next(seq10959); +var G__10961 = cljs.core.first(seq10959__$1); +var seq10959__$2 = cljs.core.next(seq10959__$1); +var G__10962 = cljs.core.first(seq10959__$2); +var seq10959__$3 = cljs.core.next(seq10959__$2); +var G__10963 = cljs.core.first(seq10959__$3); +var seq10959__$4 = cljs.core.next(seq10959__$3); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10960,G__10961,G__10962,G__10963,seq10959__$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__10976 = cljs.core._deref(iref); +return (val.cljs$core$IFn$_invoke$arity$1 ? val.cljs$core$IFn$_invoke$arity$1(G__10976) : val.call(null,G__10976)); +})())))){ +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__10978 = arguments.length; +switch (G__10978) { +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 (ia){ +return (function() { +var G__10988 = null; +var G__10988__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10988__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__10988__2 = (function (result,input){ +var i = cljs.core._vreset_BANG_(ia,(cljs.core._deref(ia) + (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__10988 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10988__0.call(this); +case 1: +return G__10988__1.call(this,result); +case 2: +return G__10988__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__10988.cljs$core$IFn$_invoke$arity$0 = G__10988__0; +G__10988.cljs$core$IFn$_invoke$arity$1 = G__10988__1; +G__10988.cljs$core$IFn$_invoke$arity$2 = G__10988__2; +return G__10988; +})() +;})(ia)) +}); +}); + +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__4657__auto__ = cljs.core.seq(coll__$1); +if(temp__4657__auto__){ +var s = temp__4657__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__8512__auto___10989 = size; +var i_10990 = (0); +while(true){ +if((i_10990 < n__8512__auto___10989)){ +var x_10991 = (function (){var G__10983 = (idx + i_10990); +var G__10984 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10990); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10983,G__10984) : f.call(null,G__10983,G__10984)); +})(); +if((x_10991 == null)){ +} else { +cljs.core.chunk_append(b,x_10991); +} + +var G__10992 = (i_10990 + (1)); +i_10990 = G__10992; +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__10985 = idx; +var G__10986 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10985,G__10986) : f.call(null,G__10985,G__10986)); +})(); +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__11004 = arguments.length; +switch (G__11004) { +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__8762__auto__ = []; +var len__8743__auto___11006 = arguments.length; +var i__8744__auto___11007 = (0); +while(true){ +if((i__8744__auto___11007 < len__8743__auto___11006)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11007])); + +var G__11008 = (i__8744__auto___11007 + (1)); +i__8744__auto___11007 = G__11008; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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__7551__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__7551__auto__)){ +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null,y)); +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep1__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__7551__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__7551__auto__)){ +var and__7551__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__7551__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__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep1__4 = (function() { +var G__11009__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__7551__auto__ = cljs$core$ep1.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__7551__auto__)){ +return cljs.core.every_QMARK_(p,args); +} else { +return and__7551__auto__; +} +})()); +}; +var G__11009 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11010__i = 0, G__11010__a = new Array(arguments.length - 3); +while (G__11010__i < G__11010__a.length) {G__11010__a[G__11010__i] = arguments[G__11010__i + 3]; ++G__11010__i;} + args = new cljs.core.IndexedSeq(G__11010__a,0,null); +} +return G__11009__delegate.call(this,x,y,z,args);}; +G__11009.cljs$lang$maxFixedArity = 3; +G__11009.cljs$lang$applyTo = (function (arglist__11011){ +var x = cljs.core.first(arglist__11011); +arglist__11011 = cljs.core.next(arglist__11011); +var y = cljs.core.first(arglist__11011); +arglist__11011 = cljs.core.next(arglist__11011); +var z = cljs.core.first(arglist__11011); +var args = cljs.core.rest(arglist__11011); +return G__11009__delegate(x,y,z,args); +}); +G__11009.cljs$core$IFn$_invoke$arity$variadic = G__11009__delegate; +return G__11009; +})() +; +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__11012 = null; +if (arguments.length > 3) { +var G__11013__i = 0, G__11013__a = new Array(arguments.length - 3); +while (G__11013__i < G__11013__a.length) {G__11013__a[G__11013__i] = arguments[G__11013__i + 3]; ++G__11013__i;} +G__11012 = new cljs.core.IndexedSeq(G__11013__a,0,null); +} +return cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11012); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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__7551__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__7551__auto__)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep2__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__7551__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__7551__auto__)){ +var and__7551__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__7551__auto____$1)){ +var and__7551__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__7551__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__7551__auto____$2; +} +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep2__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__7551__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__7551__auto__)){ +var and__7551__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__7551__auto____$1)){ +var and__7551__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__7551__auto____$2)){ +var and__7551__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__7551__auto____$3)){ +var and__7551__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__7551__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__7551__auto____$4; +} +} else { +return and__7551__auto____$3; +} +} else { +return and__7551__auto____$2; +} +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep2__4 = (function() { +var G__11014__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__7551__auto__ = cljs$core$ep2.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__7551__auto__)){ +return cljs.core.every_QMARK_(((function (and__7551__auto__){ +return (function (p1__10993_SHARP_){ +var and__7551__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__10993_SHARP_) : p1.call(null,p1__10993_SHARP_)); +if(cljs.core.truth_(and__7551__auto____$1)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__10993_SHARP_) : p2.call(null,p1__10993_SHARP_)); +} else { +return and__7551__auto____$1; +} +});})(and__7551__auto__)) +,args); +} else { +return and__7551__auto__; +} +})()); +}; +var G__11014 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11015__i = 0, G__11015__a = new Array(arguments.length - 3); +while (G__11015__i < G__11015__a.length) {G__11015__a[G__11015__i] = arguments[G__11015__i + 3]; ++G__11015__i;} + args = new cljs.core.IndexedSeq(G__11015__a,0,null); +} +return G__11014__delegate.call(this,x,y,z,args);}; +G__11014.cljs$lang$maxFixedArity = 3; +G__11014.cljs$lang$applyTo = (function (arglist__11016){ +var x = cljs.core.first(arglist__11016); +arglist__11016 = cljs.core.next(arglist__11016); +var y = cljs.core.first(arglist__11016); +arglist__11016 = cljs.core.next(arglist__11016); +var z = cljs.core.first(arglist__11016); +var args = cljs.core.rest(arglist__11016); +return G__11014__delegate(x,y,z,args); +}); +G__11014.cljs$core$IFn$_invoke$arity$variadic = G__11014__delegate; +return G__11014; +})() +; +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__11017 = null; +if (arguments.length > 3) { +var G__11018__i = 0, G__11018__a = new Array(arguments.length - 3); +while (G__11018__i < G__11018__a.length) {G__11018__a[G__11018__i] = arguments[G__11018__i + 3]; ++G__11018__i;} +G__11017 = new cljs.core.IndexedSeq(G__11018__a,0,null); +} +return cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11017); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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__7551__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__7551__auto__)){ +var and__7551__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__7551__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__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep3__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__7551__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__7551__auto__)){ +var and__7551__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__7551__auto____$1)){ +var and__7551__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); +if(cljs.core.truth_(and__7551__auto____$2)){ +var and__7551__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); +if(cljs.core.truth_(and__7551__auto____$3)){ +var and__7551__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__7551__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__7551__auto____$4; +} +} else { +return and__7551__auto____$3; +} +} else { +return and__7551__auto____$2; +} +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep3__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__7551__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__7551__auto__)){ +var and__7551__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__7551__auto____$1)){ +var and__7551__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); +if(cljs.core.truth_(and__7551__auto____$2)){ +var and__7551__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); +if(cljs.core.truth_(and__7551__auto____$3)){ +var and__7551__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__7551__auto____$4)){ +var and__7551__auto____$5 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null,y)); +if(cljs.core.truth_(and__7551__auto____$5)){ +var and__7551__auto____$6 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null,z)); +if(cljs.core.truth_(and__7551__auto____$6)){ +var and__7551__auto____$7 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null,z)); +if(cljs.core.truth_(and__7551__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__7551__auto____$7; +} +} else { +return and__7551__auto____$6; +} +} else { +return and__7551__auto____$5; +} +} else { +return and__7551__auto____$4; +} +} else { +return and__7551__auto____$3; +} +} else { +return and__7551__auto____$2; +} +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +})()); +}); +var cljs$core$ep3__4 = (function() { +var G__11019__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__7551__auto__ = cljs$core$ep3.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__7551__auto__)){ +return cljs.core.every_QMARK_(((function (and__7551__auto__){ +return (function (p1__10994_SHARP_){ +var and__7551__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__10994_SHARP_) : p1.call(null,p1__10994_SHARP_)); +if(cljs.core.truth_(and__7551__auto____$1)){ +var and__7551__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__10994_SHARP_) : p2.call(null,p1__10994_SHARP_)); +if(cljs.core.truth_(and__7551__auto____$2)){ +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__10994_SHARP_) : p3.call(null,p1__10994_SHARP_)); +} else { +return and__7551__auto____$2; +} +} else { +return and__7551__auto____$1; +} +});})(and__7551__auto__)) +,args); +} else { +return and__7551__auto__; +} +})()); +}; +var G__11019 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11020__i = 0, G__11020__a = new Array(arguments.length - 3); +while (G__11020__i < G__11020__a.length) {G__11020__a[G__11020__i] = arguments[G__11020__i + 3]; ++G__11020__i;} + args = new cljs.core.IndexedSeq(G__11020__a,0,null); +} +return G__11019__delegate.call(this,x,y,z,args);}; +G__11019.cljs$lang$maxFixedArity = 3; +G__11019.cljs$lang$applyTo = (function (arglist__11021){ +var x = cljs.core.first(arglist__11021); +arglist__11021 = cljs.core.next(arglist__11021); +var y = cljs.core.first(arglist__11021); +arglist__11021 = cljs.core.next(arglist__11021); +var z = cljs.core.first(arglist__11021); +var args = cljs.core.rest(arglist__11021); +return G__11019__delegate(x,y,z,args); +}); +G__11019.cljs$core$IFn$_invoke$arity$variadic = G__11019__delegate; +return G__11019; +})() +; +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__11022 = null; +if (arguments.length > 3) { +var G__11023__i = 0, G__11023__a = new Array(arguments.length - 3); +while (G__11023__i < G__11023__a.length) {G__11023__a[G__11023__i] = arguments[G__11023__i + 3]; ++G__11023__i;} +G__11022 = new cljs.core.IndexedSeq(G__11023__a,0,null); +} +return cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11022); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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 (ps__$1){ +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 (ps__$1){ +return (function (p1__10995_SHARP_){ +return (p1__10995_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10995_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10995_SHARP_.call(null,x)); +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$epn__2 = (function (x,y){ +return cljs.core.every_QMARK_(((function (ps__$1){ +return (function (p1__10996_SHARP_){ +var and__7551__auto__ = (p1__10996_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10996_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10996_SHARP_.call(null,x)); +if(cljs.core.truth_(and__7551__auto__)){ +return (p1__10996_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10996_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__10996_SHARP_.call(null,y)); +} else { +return and__7551__auto__; +} +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$epn__3 = (function (x,y,z){ +return cljs.core.every_QMARK_(((function (ps__$1){ +return (function (p1__10997_SHARP_){ +var and__7551__auto__ = (p1__10997_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10997_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10997_SHARP_.call(null,x)); +if(cljs.core.truth_(and__7551__auto__)){ +var and__7551__auto____$1 = (p1__10997_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10997_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__10997_SHARP_.call(null,y)); +if(cljs.core.truth_(and__7551__auto____$1)){ +return (p1__10997_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10997_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__10997_SHARP_.call(null,z)); +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__auto__; +} +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$epn__4 = (function() { +var G__11024__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__7551__auto__ = cljs$core$epn.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__7551__auto__)){ +return cljs.core.every_QMARK_(((function (and__7551__auto__,ps__$1){ +return (function (p1__10998_SHARP_){ +return cljs.core.every_QMARK_(p1__10998_SHARP_,args); +});})(and__7551__auto__,ps__$1)) +,ps__$1); +} else { +return and__7551__auto__; +} +})()); +}; +var G__11024 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11025__i = 0, G__11025__a = new Array(arguments.length - 3); +while (G__11025__i < G__11025__a.length) {G__11025__a[G__11025__i] = arguments[G__11025__i + 3]; ++G__11025__i;} + args = new cljs.core.IndexedSeq(G__11025__a,0,null); +} +return G__11024__delegate.call(this,x,y,z,args);}; +G__11024.cljs$lang$maxFixedArity = 3; +G__11024.cljs$lang$applyTo = (function (arglist__11026){ +var x = cljs.core.first(arglist__11026); +arglist__11026 = cljs.core.next(arglist__11026); +var y = cljs.core.first(arglist__11026); +arglist__11026 = cljs.core.next(arglist__11026); +var z = cljs.core.first(arglist__11026); +var args = cljs.core.rest(arglist__11026); +return G__11024__delegate(x,y,z,args); +}); +G__11024.cljs$core$IFn$_invoke$arity$variadic = G__11024__delegate; +return G__11024; +})() +; +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__11027 = null; +if (arguments.length > 3) { +var G__11028__i = 0, G__11028__a = new Array(arguments.length - 3); +while (G__11028__i < G__11028__a.length) {G__11028__a[G__11028__i] = arguments[G__11028__i + 3]; ++G__11028__i;} +G__11027 = new cljs.core.IndexedSeq(G__11028__a,0,null); +} +return cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11027); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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; +})() +;})(ps__$1)) +}); + +/** @this {Function} */ +cljs.core.every_pred.cljs$lang$applyTo = (function (seq11000){ +var G__11001 = cljs.core.first(seq11000); +var seq11000__$1 = cljs.core.next(seq11000); +var G__11002 = cljs.core.first(seq11000__$1); +var seq11000__$2 = cljs.core.next(seq11000__$1); +var G__11003 = cljs.core.first(seq11000__$2); +var seq11000__$3 = cljs.core.next(seq11000__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11001,G__11002,G__11003,seq11000__$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__11040 = arguments.length; +switch (G__11040) { +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__8762__auto__ = []; +var len__8743__auto___11042 = arguments.length; +var i__8744__auto___11043 = (0); +while(true){ +if((i__8744__auto___11043 < len__8743__auto___11042)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11043])); + +var G__11044 = (i__8744__auto___11043 + (1)); +i__8744__auto___11043 = G__11044; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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__7566__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__7566__auto__)){ +return or__7566__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__7566__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__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__7566__auto____$1)){ +return or__7566__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__11045__delegate = function (x,y,z,args){ +var or__7566__auto__ = cljs$core$sp1.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.some(p,args); +} +}; +var G__11045 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11046__i = 0, G__11046__a = new Array(arguments.length - 3); +while (G__11046__i < G__11046__a.length) {G__11046__a[G__11046__i] = arguments[G__11046__i + 3]; ++G__11046__i;} + args = new cljs.core.IndexedSeq(G__11046__a,0,null); +} +return G__11045__delegate.call(this,x,y,z,args);}; +G__11045.cljs$lang$maxFixedArity = 3; +G__11045.cljs$lang$applyTo = (function (arglist__11047){ +var x = cljs.core.first(arglist__11047); +arglist__11047 = cljs.core.next(arglist__11047); +var y = cljs.core.first(arglist__11047); +arglist__11047 = cljs.core.next(arglist__11047); +var z = cljs.core.first(arglist__11047); +var args = cljs.core.rest(arglist__11047); +return G__11045__delegate(x,y,z,args); +}); +G__11045.cljs$core$IFn$_invoke$arity$variadic = G__11045__delegate; +return G__11045; +})() +; +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__11048 = null; +if (arguments.length > 3) { +var G__11049__i = 0, G__11049__a = new Array(arguments.length - 3); +while (G__11049__i < G__11049__a.length) {G__11049__a[G__11049__i] = arguments[G__11049__i + 3]; ++G__11049__i;} +G__11048 = new cljs.core.IndexedSeq(G__11049__a,0,null); +} +return cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11048); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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__7566__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__7566__auto__)){ +return or__7566__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__7566__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__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +var or__7566__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__7566__auto____$2)){ +return or__7566__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__7566__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__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +var or__7566__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__7566__auto____$2)){ +return or__7566__auto____$2; +} else { +var or__7566__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__7566__auto____$3)){ +return or__7566__auto____$3; +} else { +var or__7566__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__7566__auto____$4)){ +return or__7566__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__11050__delegate = function (x,y,z,args){ +var or__7566__auto__ = cljs$core$sp2.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.some(((function (or__7566__auto__){ +return (function (p1__11029_SHARP_){ +var or__7566__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__11029_SHARP_) : p1.call(null,p1__11029_SHARP_)); +if(cljs.core.truth_(or__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__11029_SHARP_) : p2.call(null,p1__11029_SHARP_)); +} +});})(or__7566__auto__)) +,args); +} +}; +var G__11050 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11051__i = 0, G__11051__a = new Array(arguments.length - 3); +while (G__11051__i < G__11051__a.length) {G__11051__a[G__11051__i] = arguments[G__11051__i + 3]; ++G__11051__i;} + args = new cljs.core.IndexedSeq(G__11051__a,0,null); +} +return G__11050__delegate.call(this,x,y,z,args);}; +G__11050.cljs$lang$maxFixedArity = 3; +G__11050.cljs$lang$applyTo = (function (arglist__11052){ +var x = cljs.core.first(arglist__11052); +arglist__11052 = cljs.core.next(arglist__11052); +var y = cljs.core.first(arglist__11052); +arglist__11052 = cljs.core.next(arglist__11052); +var z = cljs.core.first(arglist__11052); +var args = cljs.core.rest(arglist__11052); +return G__11050__delegate(x,y,z,args); +}); +G__11050.cljs$core$IFn$_invoke$arity$variadic = G__11050__delegate; +return G__11050; +})() +; +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__11053 = null; +if (arguments.length > 3) { +var G__11054__i = 0, G__11054__a = new Array(arguments.length - 3); +while (G__11054__i < G__11054__a.length) {G__11054__a[G__11054__i] = arguments[G__11054__i + 3]; ++G__11054__i;} +G__11053 = new cljs.core.IndexedSeq(G__11054__a,0,null); +} +return cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11053); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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__7566__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__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__7566__auto____$1)){ +return or__7566__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__7566__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__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +var or__7566__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); +if(cljs.core.truth_(or__7566__auto____$2)){ +return or__7566__auto____$2; +} else { +var or__7566__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); +if(cljs.core.truth_(or__7566__auto____$3)){ +return or__7566__auto____$3; +} else { +var or__7566__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__7566__auto____$4)){ +return or__7566__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__7566__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__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +var or__7566__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); +if(cljs.core.truth_(or__7566__auto____$2)){ +return or__7566__auto____$2; +} else { +var or__7566__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); +if(cljs.core.truth_(or__7566__auto____$3)){ +return or__7566__auto____$3; +} else { +var or__7566__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__7566__auto____$4)){ +return or__7566__auto____$4; +} else { +var or__7566__auto____$5 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null,y)); +if(cljs.core.truth_(or__7566__auto____$5)){ +return or__7566__auto____$5; +} else { +var or__7566__auto____$6 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null,z)); +if(cljs.core.truth_(or__7566__auto____$6)){ +return or__7566__auto____$6; +} else { +var or__7566__auto____$7 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null,z)); +if(cljs.core.truth_(or__7566__auto____$7)){ +return or__7566__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__11055__delegate = function (x,y,z,args){ +var or__7566__auto__ = cljs$core$sp3.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.some(((function (or__7566__auto__){ +return (function (p1__11030_SHARP_){ +var or__7566__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__11030_SHARP_) : p1.call(null,p1__11030_SHARP_)); +if(cljs.core.truth_(or__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +var or__7566__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__11030_SHARP_) : p2.call(null,p1__11030_SHARP_)); +if(cljs.core.truth_(or__7566__auto____$2)){ +return or__7566__auto____$2; +} else { +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__11030_SHARP_) : p3.call(null,p1__11030_SHARP_)); +} +} +});})(or__7566__auto__)) +,args); +} +}; +var G__11055 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11056__i = 0, G__11056__a = new Array(arguments.length - 3); +while (G__11056__i < G__11056__a.length) {G__11056__a[G__11056__i] = arguments[G__11056__i + 3]; ++G__11056__i;} + args = new cljs.core.IndexedSeq(G__11056__a,0,null); +} +return G__11055__delegate.call(this,x,y,z,args);}; +G__11055.cljs$lang$maxFixedArity = 3; +G__11055.cljs$lang$applyTo = (function (arglist__11057){ +var x = cljs.core.first(arglist__11057); +arglist__11057 = cljs.core.next(arglist__11057); +var y = cljs.core.first(arglist__11057); +arglist__11057 = cljs.core.next(arglist__11057); +var z = cljs.core.first(arglist__11057); +var args = cljs.core.rest(arglist__11057); +return G__11055__delegate(x,y,z,args); +}); +G__11055.cljs$core$IFn$_invoke$arity$variadic = G__11055__delegate; +return G__11055; +})() +; +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__11058 = null; +if (arguments.length > 3) { +var G__11059__i = 0, G__11059__a = new Array(arguments.length - 3); +while (G__11059__i < G__11059__a.length) {G__11059__a[G__11059__i] = arguments[G__11059__i + 3]; ++G__11059__i;} +G__11058 = new cljs.core.IndexedSeq(G__11059__a,0,null); +} +return cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11058); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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 (ps__$1){ +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 (ps__$1){ +return (function (p1__11031_SHARP_){ +return (p1__11031_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11031_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11031_SHARP_.call(null,x)); +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$spn__2 = (function (x,y){ +return cljs.core.some(((function (ps__$1){ +return (function (p1__11032_SHARP_){ +var or__7566__auto__ = (p1__11032_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11032_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11032_SHARP_.call(null,x)); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return (p1__11032_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11032_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__11032_SHARP_.call(null,y)); +} +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$spn__3 = (function (x,y,z){ +return cljs.core.some(((function (ps__$1){ +return (function (p1__11033_SHARP_){ +var or__7566__auto__ = (p1__11033_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11033_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11033_SHARP_.call(null,x)); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__auto____$1 = (p1__11033_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11033_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__11033_SHARP_.call(null,y)); +if(cljs.core.truth_(or__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +return (p1__11033_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11033_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__11033_SHARP_.call(null,z)); +} +} +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$spn__4 = (function() { +var G__11060__delegate = function (x,y,z,args){ +var or__7566__auto__ = cljs$core$spn.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.some(((function (or__7566__auto__,ps__$1){ +return (function (p1__11034_SHARP_){ +return cljs.core.some(p1__11034_SHARP_,args); +});})(or__7566__auto__,ps__$1)) +,ps__$1); +} +}; +var G__11060 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11061__i = 0, G__11061__a = new Array(arguments.length - 3); +while (G__11061__i < G__11061__a.length) {G__11061__a[G__11061__i] = arguments[G__11061__i + 3]; ++G__11061__i;} + args = new cljs.core.IndexedSeq(G__11061__a,0,null); +} +return G__11060__delegate.call(this,x,y,z,args);}; +G__11060.cljs$lang$maxFixedArity = 3; +G__11060.cljs$lang$applyTo = (function (arglist__11062){ +var x = cljs.core.first(arglist__11062); +arglist__11062 = cljs.core.next(arglist__11062); +var y = cljs.core.first(arglist__11062); +arglist__11062 = cljs.core.next(arglist__11062); +var z = cljs.core.first(arglist__11062); +var args = cljs.core.rest(arglist__11062); +return G__11060__delegate(x,y,z,args); +}); +G__11060.cljs$core$IFn$_invoke$arity$variadic = G__11060__delegate; +return G__11060; +})() +; +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__11063 = null; +if (arguments.length > 3) { +var G__11064__i = 0, G__11064__a = new Array(arguments.length - 3); +while (G__11064__i < G__11064__a.length) {G__11064__a[G__11064__i] = arguments[G__11064__i + 3]; ++G__11064__i;} +G__11063 = new cljs.core.IndexedSeq(G__11064__a,0,null); +} +return cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11063); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +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; +})() +;})(ps__$1)) +}); + +/** @this {Function} */ +cljs.core.some_fn.cljs$lang$applyTo = (function (seq11036){ +var G__11037 = cljs.core.first(seq11036); +var seq11036__$1 = cljs.core.next(seq11036); +var G__11038 = cljs.core.first(seq11036__$1); +var seq11036__$2 = cljs.core.next(seq11036__$1); +var G__11039 = cljs.core.first(seq11036__$2); +var seq11036__$3 = cljs.core.next(seq11036__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11037,G__11038,G__11039,seq11036__$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__11072 = arguments.length; +switch (G__11072) { +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__8762__auto__ = []; +var len__8743__auto___11085 = arguments.length; +var i__8744__auto___11086 = (0); +while(true){ +if((i__8744__auto___11086 < len__8743__auto___11085)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11086])); + +var G__11087 = (i__8744__auto___11086 + (1)); +i__8744__auto___11086 = G__11087; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((4)),(0),null)); +return cljs.core.map.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__8763__auto__); + +} +}); + +cljs.core.map.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +return (function() { +var G__11088 = null; +var G__11088__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11088__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__11088__2 = (function (result,input){ +var G__11073 = result; +var G__11074 = (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__11073,G__11074) : rf.call(null,G__11073,G__11074)); +}); +var G__11088__3 = (function() { +var G__11089__delegate = function (result,input,inputs){ +var G__11075 = result; +var G__11076 = 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__11075,G__11076) : rf.call(null,G__11075,G__11076)); +}; +var G__11089 = function (result,input,var_args){ +var inputs = null; +if (arguments.length > 2) { +var G__11090__i = 0, G__11090__a = new Array(arguments.length - 2); +while (G__11090__i < G__11090__a.length) {G__11090__a[G__11090__i] = arguments[G__11090__i + 2]; ++G__11090__i;} + inputs = new cljs.core.IndexedSeq(G__11090__a,0,null); +} +return G__11089__delegate.call(this,result,input,inputs);}; +G__11089.cljs$lang$maxFixedArity = 2; +G__11089.cljs$lang$applyTo = (function (arglist__11091){ +var result = cljs.core.first(arglist__11091); +arglist__11091 = cljs.core.next(arglist__11091); +var input = cljs.core.first(arglist__11091); +var inputs = cljs.core.rest(arglist__11091); +return G__11089__delegate(result,input,inputs); +}); +G__11089.cljs$core$IFn$_invoke$arity$variadic = G__11089__delegate; +return G__11089; +})() +; +G__11088 = function(result,input,var_args){ +var inputs = var_args; +switch(arguments.length){ +case 0: +return G__11088__0.call(this); +case 1: +return G__11088__1.call(this,result); +case 2: +return G__11088__2.call(this,result,input); +default: +var G__11092 = null; +if (arguments.length > 2) { +var G__11093__i = 0, G__11093__a = new Array(arguments.length - 2); +while (G__11093__i < G__11093__a.length) {G__11093__a[G__11093__i] = arguments[G__11093__i + 2]; ++G__11093__i;} +G__11092 = new cljs.core.IndexedSeq(G__11093__a,0,null); +} +return G__11088__3.cljs$core$IFn$_invoke$arity$variadic(result,input, G__11092); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11088.cljs$lang$maxFixedArity = 2; +G__11088.cljs$lang$applyTo = G__11088__3.cljs$lang$applyTo; +G__11088.cljs$core$IFn$_invoke$arity$0 = G__11088__0; +G__11088.cljs$core$IFn$_invoke$arity$1 = G__11088__1; +G__11088.cljs$core$IFn$_invoke$arity$2 = G__11088__2; +G__11088.cljs$core$IFn$_invoke$arity$variadic = G__11088__3.cljs$core$IFn$_invoke$arity$variadic; +return G__11088; +})() +}); +}); + +cljs.core.map.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__8512__auto___11094 = size; +var i_11095 = (0); +while(true){ +if((i_11095 < n__8512__auto___11094)){ +cljs.core.chunk_append(b,(function (){var G__11077 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11095); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11077) : f.call(null,G__11077)); +})()); + +var G__11096 = (i_11095 + (1)); +i_11095 = G__11096; +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__11078 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11078) : f.call(null,G__11078)); +})(),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__11079 = cljs.core.first(s1); +var G__11080 = cljs.core.first(s2); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11079,G__11080) : f.call(null,G__11079,G__11080)); +})(),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__11081 = cljs.core.first(s1); +var G__11082 = cljs.core.first(s2); +var G__11083 = cljs.core.first(s3); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11081,G__11082,G__11083) : f.call(null,G__11081,G__11082,G__11083)); +})(),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 (step){ +return (function (p1__11065_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,p1__11065_SHARP_); +});})(step)) +,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 (seq11067){ +var G__11068 = cljs.core.first(seq11067); +var seq11067__$1 = cljs.core.next(seq11067); +var G__11069 = cljs.core.first(seq11067__$1); +var seq11067__$2 = cljs.core.next(seq11067__$1); +var G__11070 = cljs.core.first(seq11067__$2); +var seq11067__$3 = cljs.core.next(seq11067__$2); +var G__11071 = cljs.core.first(seq11067__$3); +var seq11067__$4 = cljs.core.next(seq11067__$3); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11068,G__11069,G__11070,G__11071,seq11067__$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__11098 = arguments.length; +switch (G__11098) { +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 (na){ +return (function() { +var G__11100 = null; +var G__11100__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11100__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__11100__2 = (function (result,input){ +var n__$1 = cljs.core.deref(na); +var nn = cljs.core._vreset_BANG_(na,(cljs.core._deref(na) - (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__11100 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11100__0.call(this); +case 1: +return G__11100__1.call(this,result); +case 2: +return G__11100__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11100.cljs$core$IFn$_invoke$arity$0 = G__11100__0; +G__11100.cljs$core$IFn$_invoke$arity$1 = G__11100__1; +G__11100.cljs$core$IFn$_invoke$arity$2 = G__11100__2; +return G__11100; +})() +;})(na)) +}); +}); + +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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__11102 = arguments.length; +switch (G__11102) { +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 (na){ +return (function() { +var G__11104 = null; +var G__11104__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11104__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__11104__2 = (function (result,input){ +var n__$1 = cljs.core.deref(na); +cljs.core._vreset_BANG_(na,(cljs.core._deref(na) - (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__11104 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11104__0.call(this); +case 1: +return G__11104__1.call(this,result); +case 2: +return G__11104__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11104.cljs$core$IFn$_invoke$arity$0 = G__11104__0; +G__11104.cljs$core$IFn$_invoke$arity$1 = G__11104__1; +G__11104.cljs$core$IFn$_invoke$arity$2 = G__11104__2; +return G__11104; +})() +;})(na)) +}); +}); + +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__11105 = (n__$1 - (1)); +var G__11106 = cljs.core.rest(s); +n__$1 = G__11105; +coll__$1 = G__11106; +continue; +} else { +return s; +} +break; +} +}); +return (new cljs.core.LazySeq(null,((function (step){ +return (function (){ +return step(n,coll); +});})(step)) +,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__11108 = arguments.length; +switch (G__11108) { +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__11110 = cljs.core.next(s); +var G__11111 = cljs.core.next(lead); +s = G__11110; +lead = G__11111; +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__11113 = arguments.length; +switch (G__11113) { +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 (da){ +return (function() { +var G__11117 = null; +var G__11117__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11117__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__11117__2 = (function (result,input){ +var drop_QMARK_ = cljs.core.deref(da); +if(cljs.core.truth_((function (){var and__7551__auto__ = drop_QMARK_; +if(cljs.core.truth_(and__7551__auto__)){ +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null,input)); +} else { +return and__7551__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__11117 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11117__0.call(this); +case 1: +return G__11117__1.call(this,result); +case 2: +return G__11117__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11117.cljs$core$IFn$_invoke$arity$0 = G__11117__0; +G__11117.cljs$core$IFn$_invoke$arity$1 = G__11117__1; +G__11117.cljs$core$IFn$_invoke$arity$2 = G__11117__2; +return G__11117; +})() +;})(da)) +}); +}); + +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__7551__auto__ = s; +if(and__7551__auto__){ +var G__11115 = cljs.core.first(s); +return (pred__$1.cljs$core$IFn$_invoke$arity$1 ? pred__$1.cljs$core$IFn$_invoke$arity$1(G__11115) : pred__$1.call(null,G__11115)); +} else { +return and__7551__auto__; +} +})())){ +var G__11118 = pred__$1; +var G__11119 = cljs.core.rest(s); +pred__$1 = G__11118; +coll__$1 = G__11119; +continue; +} else { +return s; +} +break; +} +}); +return (new cljs.core.LazySeq(null,((function (step){ +return (function (){ +return step(pred,coll); +});})(step)) +,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__4655__auto___11124 = cljs.core.next(self__.prev); +if(temp__4655__auto___11124){ +var c_11125 = temp__4655__auto___11124; +self__.current = c_11125; +} 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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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__7566__auto__ = cljs.core.next(s); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return self__.all; +} +})(); +var ret__$1 = (function (){var G__11120 = ret; +var G__11121 = cljs.core.first(s__$1); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11120,G__11121) : f.call(null,G__11120,G__11121)); +})(); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__11126 = s__$1; +var G__11127 = ret__$1; +s = G__11126; +ret = G__11127; +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__11122 = ret; +var G__11123 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11122,G__11123) : f.call(null,G__11122,G__11123)); +})(); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__11128 = (function (){var or__7566__auto__ = cljs.core.next(s); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return self__.all; +} +})(); +var G__11129 = ret__$1; +s = G__11128; +ret = G__11129; +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.Cycle(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__4655__auto__ = cljs.core.seq(coll); +if(temp__4655__auto__){ +var vals = temp__4655__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__11130 = null; +var G__11130__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11130__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11130 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11130__1.call(this,x); +case 2: +return G__11130__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11130.cljs$core$IFn$_invoke$arity$1 = G__11130__1; +G__11130.cljs$core$IFn$_invoke$arity$2 = G__11130__2; +return G__11130; +})() +; + +cljs.core.Repeat.prototype.lastIndexOf = (function() { +var G__11131 = null; +var G__11131__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__11131__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11131 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11131__1.call(this,x); +case 2: +return G__11131__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11131.cljs$core$IFn$_invoke$arity$1 = G__11131__1; +G__11131.cljs$core$IFn$_invoke$arity$2 = G__11131__2; +return G__11131; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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__11132 = (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__11132; +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__11133 = (i + (1)); +var G__11134 = ret__$1; +i = G__11133; +ret = G__11134; +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__11135 = (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__11135; +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__11136 = (i + (1)); +var G__11137 = ret__$1; +i = G__11136; +ret = G__11137; +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.Repeat(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11139 = arguments.length; +switch (G__11139) { +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__11142 = arguments.length; +switch (G__11142) { +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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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__11144 = (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__11145 = v__$2; +ret = G__11144; +v__$1 = G__11145; +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__11146 = (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__11147 = v__$2; +ret = G__11146; +v__$1 = G__11147; +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.Iterate(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11152 = arguments.length; +switch (G__11152) { +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__8762__auto__ = []; +var len__8743__auto___11154 = arguments.length; +var i__8744__auto___11155 = (0); +while(true){ +if((i__8744__auto___11155 < len__8743__auto___11154)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11155])); + +var G__11156 = (i__8744__auto___11155 + (1)); +i__8744__auto___11155 = G__11156; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((2)),(0),null)); +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8763__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 (seq11149){ +var G__11150 = cljs.core.first(seq11149); +var seq11149__$1 = cljs.core.next(seq11149); +var G__11151 = cljs.core.first(seq11149__$1); +var seq11149__$2 = cljs.core.next(seq11149__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11150,G__11151,seq11149__$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__11158 = arguments.length; +switch (G__11158) { +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 (started){ +return (function() { +var G__11160 = null; +var G__11160__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11160__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__11160__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__11160 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11160__0.call(this); +case 1: +return G__11160__1.call(this,result); +case 2: +return G__11160__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11160.cljs$core$IFn$_invoke$arity$0 = G__11160__0; +G__11160.cljs$core$IFn$_invoke$arity$1 = G__11160__1; +G__11160.cljs$core$IFn$_invoke$arity$2 = G__11160__2; +return G__11160; +})() +;})(started)) +}); +}); + +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__4655__auto__ = cljs.core.seq(coll); +if(temp__4655__auto__){ +var coll__$1 = temp__4655__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__11164 = arguments.length; +switch (G__11164) { +case 1: +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___11166 = arguments.length; +var i__8744__auto___11167 = (0); +while(true){ +if((i__8744__auto___11167 < len__8743__auto___11166)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11167])); + +var G__11168 = (i__8744__auto___11167 + (1)); +i__8744__auto___11167 = G__11168; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((1)),(0),null)); +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8763__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 (seq11162){ +var G__11163 = cljs.core.first(seq11162); +var seq11162__$1 = cljs.core.next(seq11162); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11163,seq11162__$1); +}); + +cljs.core.mapcat.cljs$lang$maxFixedArity = (1); + +/** + * Returns a lazy sequence of the items in coll for which + * (pred item) returns 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__11170 = arguments.length; +switch (G__11170) { +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__11173 = null; +var G__11173__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11173__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__11173__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__11173 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11173__0.call(this); +case 1: +return G__11173__1.call(this,result); +case 2: +return G__11173__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11173.cljs$core$IFn$_invoke$arity$0 = G__11173__0; +G__11173.cljs$core$IFn$_invoke$arity$1 = G__11173__1; +G__11173.cljs$core$IFn$_invoke$arity$2 = G__11173__2; +return G__11173; +})() +}); +}); + +cljs.core.filter.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__8512__auto___11174 = size; +var i_11175 = (0); +while(true){ +if((i_11175 < n__8512__auto___11174)){ +if(cljs.core.truth_((function (){var G__11171 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11175); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__11171) : pred.call(null,G__11171)); +})())){ +cljs.core.chunk_append(b,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11175)); +} else { +} + +var G__11176 = (i_11175 + (1)); +i_11175 = G__11176; +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 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__11178 = arguments.length; +switch (G__11178) { +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__11180_SHARP_){ +return !(cljs.core.sequential_QMARK_(p1__11180_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__11182 = arguments.length; +switch (G__11182) { +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,cljs.core.List.EMPTY,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)){ +return cljs.core._with_meta(cljs.core.persistent_BANG_(cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,cljs.core.conj_BANG_,cljs.core.transient$(to),from)),cljs.core.meta(to)); +} 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__11192 = arguments.length; +switch (G__11192) { +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__8762__auto__ = []; +var len__8743__auto___11194 = arguments.length; +var i__8744__auto___11195 = (0); +while(true){ +if((i__8744__auto___11195 < len__8743__auto___11194)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11195])); + +var G__11196 = (i__8744__auto___11195 + (1)); +i__8744__auto___11195 = G__11196; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((4)),(0),null)); +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__8763__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 (seq11187){ +var G__11188 = cljs.core.first(seq11187); +var seq11187__$1 = cljs.core.next(seq11187); +var G__11189 = cljs.core.first(seq11187__$1); +var seq11187__$2 = cljs.core.next(seq11187__$1); +var G__11190 = cljs.core.first(seq11187__$2); +var seq11187__$3 = cljs.core.next(seq11187__$2); +var G__11191 = cljs.core.first(seq11187__$3); +var seq11187__$4 = cljs.core.next(seq11187__$3); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11188,G__11189,G__11190,G__11191,seq11187__$4); +}); + +cljs.core.mapv.cljs$lang$maxFixedArity = (4); + +/** + * Returns a vector of the items in coll for which + * (pred item) returns 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__11198 = arguments.length; +switch (G__11198) { +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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__11201 = arguments.length; +switch (G__11201) { +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__11203 = sentinel; +var G__11204 = m__$2; +var G__11205 = cljs.core.next(ks__$1); +sentinel = G__11203; +m__$1 = G__11204; +ks__$1 = G__11205; +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__11206,v){ +var vec__11207 = p__11206; +var seq__11208 = cljs.core.seq(vec__11207); +var first__11209 = cljs.core.first(seq__11208); +var seq__11208__$1 = cljs.core.next(seq__11208); +var k = first__11209; +var ks = seq__11208__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11210 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11211 = ks; +var G__11212 = v; +return (cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3 ? cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3(G__11210,G__11211,G__11212) : cljs.core.assoc_in.call(null,G__11210,G__11211,G__11212)); +})()); +} 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__11221 = arguments.length; +switch (G__11221) { +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__8762__auto__ = []; +var len__8743__auto___11253 = arguments.length; +var i__8744__auto___11254 = (0); +while(true){ +if((i__8744__auto___11254 < len__8743__auto___11253)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11254])); + +var G__11255 = (i__8744__auto___11254 + (1)); +i__8744__auto___11254 = G__11255; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__auto__); + +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 = (function (m,p__11222,f){ +var vec__11223 = p__11222; +var seq__11224 = cljs.core.seq(vec__11223); +var first__11225 = cljs.core.first(seq__11224); +var seq__11224__$1 = cljs.core.next(seq__11224); +var k = first__11225; +var ks = seq__11224__$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__11226 = 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__11226) : f.call(null,G__11226)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$4 = (function (m,p__11227,f,a){ +var vec__11228 = p__11227; +var seq__11229 = cljs.core.seq(vec__11228); +var first__11230 = cljs.core.first(seq__11229); +var seq__11229__$1 = cljs.core.next(seq__11229); +var k = first__11230; +var ks = seq__11229__$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__11231 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11232 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11231,G__11232) : f.call(null,G__11231,G__11232)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$5 = (function (m,p__11233,f,a,b){ +var vec__11234 = p__11233; +var seq__11235 = cljs.core.seq(vec__11234); +var first__11236 = cljs.core.first(seq__11235); +var seq__11235__$1 = cljs.core.next(seq__11235); +var k = first__11236; +var ks = seq__11235__$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__11237 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11238 = a; +var G__11239 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11237,G__11238,G__11239) : f.call(null,G__11237,G__11238,G__11239)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$6 = (function (m,p__11240,f,a,b,c){ +var vec__11241 = p__11240; +var seq__11242 = cljs.core.seq(vec__11241); +var first__11243 = cljs.core.first(seq__11242); +var seq__11242__$1 = cljs.core.next(seq__11242); +var k = first__11243; +var ks = seq__11242__$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__11244 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11245 = a; +var G__11246 = b; +var G__11247 = c; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__11244,G__11245,G__11246,G__11247) : f.call(null,G__11244,G__11245,G__11246,G__11247)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic = (function (m,p__11248,f,a,b,c,args){ +var vec__11249 = p__11248; +var seq__11250 = cljs.core.seq(vec__11249); +var first__11251 = cljs.core.first(seq__11250); +var seq__11250__$1 = cljs.core.next(seq__11250); +var k = first__11251; +var ks = seq__11250__$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 (seq11214){ +var G__11215 = cljs.core.first(seq11214); +var seq11214__$1 = cljs.core.next(seq11214); +var G__11216 = cljs.core.first(seq11214__$1); +var seq11214__$2 = cljs.core.next(seq11214__$1); +var G__11217 = cljs.core.first(seq11214__$2); +var seq11214__$3 = cljs.core.next(seq11214__$2); +var G__11218 = cljs.core.first(seq11214__$3); +var seq11214__$4 = cljs.core.next(seq11214__$3); +var G__11219 = cljs.core.first(seq11214__$4); +var seq11214__$5 = cljs.core.next(seq11214__$4); +var G__11220 = cljs.core.first(seq11214__$5); +var seq11214__$6 = cljs.core.next(seq11214__$5); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11215,G__11216,G__11217,G__11218,G__11219,G__11220,seq11214__$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__11264 = arguments.length; +switch (G__11264) { +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__8762__auto__ = []; +var len__8743__auto___11276 = arguments.length; +var i__8744__auto___11277 = (0); +while(true){ +if((i__8744__auto___11277 < len__8743__auto___11276)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11277])); + +var G__11278 = (i__8744__auto___11277 + (1)); +i__8744__auto___11277 = G__11278; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__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__8763__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__11265 = 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__11265) : f.call(null,G__11265)); +})()); +}); + +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__11266 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11267 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11266,G__11267) : f.call(null,G__11266,G__11267)); +})()); +}); + +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__11268 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11269 = x; +var G__11270 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11268,G__11269,G__11270) : f.call(null,G__11268,G__11269,G__11270)); +})()); +}); + +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__11271 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11272 = x; +var G__11273 = y; +var G__11274 = z; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__11271,G__11272,G__11273,G__11274) : f.call(null,G__11271,G__11272,G__11273,G__11274)); +})()); +}); + +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 (seq11257){ +var G__11258 = cljs.core.first(seq11257); +var seq11257__$1 = cljs.core.next(seq11257); +var G__11259 = cljs.core.first(seq11257__$1); +var seq11257__$2 = cljs.core.next(seq11257__$1); +var G__11260 = cljs.core.first(seq11257__$2); +var seq11257__$3 = cljs.core.next(seq11257__$2); +var G__11261 = cljs.core.first(seq11257__$3); +var seq11257__$4 = cljs.core.next(seq11257__$3); +var G__11262 = cljs.core.first(seq11257__$4); +var seq11257__$5 = cljs.core.next(seq11257__$4); +var G__11263 = cljs.core.first(seq11257__$5); +var seq11257__$6 = cljs.core.next(seq11257__$5); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11258,G__11259,G__11260,G__11261,G__11262,G__11263,seq11257__$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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11279 = (ll - (5)); +var G__11280 = r; +ll = G__11279; +ret = G__11280; +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__11281 = pv; +var G__11282 = (level - (5)); +var G__11283 = child; +var G__11284 = tailnode; +return (cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4 ? cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4(G__11281,G__11282,G__11283,G__11284) : cljs.core.push_tail.call(null,G__11281,G__11282,G__11283,G__11284)); +})(); +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__11285 = cljs.core.pv_aget(node,(0)); +var G__11286 = (level - (5)); +node = G__11285; +level = G__11286; +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__11287 = cljs.core.pv_aget(node,((i >>> level) & (31))); +var G__11288 = (level - (5)); +node = G__11287; +level = G__11288; +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__11289 = pv; +var G__11290 = (level - (5)); +var G__11291 = cljs.core.pv_aget(node,subidx); +var G__11292 = i; +var G__11293 = val; +return (cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5 ? cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5(G__11289,G__11290,G__11291,G__11292,G__11293) : cljs.core.do_assoc.call(null,G__11289,G__11290,G__11291,G__11292,G__11293)); +})()); + +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__11294 = pv; +var G__11295 = (level - (5)); +var G__11296 = 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__11294,G__11295,G__11296) : cljs.core.pop_tail.call(null,G__11294,G__11295,G__11296)); +})(); +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11298 = arguments.length; +switch (G__11298) { +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__11299 = acc; +var G__11300 = (arr__$1[j]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11299,G__11300) : f.call(null,G__11299,G__11300)); +})(); +if(cljs.core.reduced_QMARK_(nacc)){ +return cljs.core.deref(nacc); +} else { +var G__11302 = nacc; +var G__11303 = (i + (1)); +var G__11304 = arr__$1; +acc = G__11302; +i = G__11303; +arr = G__11304; +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__11311 = null; +var G__11311__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11311__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11311 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11311__1.call(this,x); +case 2: +return G__11311__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11311.cljs$core$IFn$_invoke$arity$1 = G__11311__1; +G__11311.cljs$core$IFn$_invoke$arity$2 = G__11311__2; +return G__11311; +})() +; + +cljs.core.PersistentVector.prototype.lastIndexOf = (function() { +var G__11312 = null; +var G__11312__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__11312__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11312 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11312__1.call(this,x); +case 2: +return G__11312__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11312.cljs$core$IFn$_invoke$arity$1 = G__11312__1; +G__11312.cljs$core$IFn$_invoke$arity$2 = G__11312__2; +return G__11312; +})() +; + +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__11306 = init__$2; +var G__11307 = (j + i); +var G__11308 = (arr[j]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11306,G__11307,G__11308) : f.call(null,G__11306,G__11307,G__11308)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__11313 = (j + (1)); +var G__11314 = init__$3; +j = G__11313; +init__$2 = G__11314; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__11315 = (i + len); +var G__11316 = init__$2; +i = G__11315; +init__$1 = G__11316; +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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 = 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.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(self__.root),cljs.core.tv_editable_tail(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__11309 = init__$2; +var G__11310 = (arr[j]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11309,G__11310) : f.call(null,G__11309,G__11310)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__11317 = (j + (1)); +var G__11318 = init__$3; +j = G__11317; +init__$2 = G__11318; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__11319 = (i + len); +var G__11320 = init__$2; +i = G__11319; +init__$1 = G__11320; +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 { +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(coll__$1,cljs.core.first_array_for_longvec(coll__$1),(0),(0)); + +} +} +}); + +cljs.core.PersistentVector.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentVector(meta__$1,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__8512__auto___11321 = len; +var i_11322 = (0); +while(true){ +if((i_11322 < n__8512__auto___11321)){ +(new_tail[i_11322] = (self__.tail[i_11322])); + +var G__11323 = (i_11322 + (1)); +i_11322 = G__11323; +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() { +var G__11324 = null; +var G__11324__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$IIndexed$_nth$arity$2(null,k); +}); +var G__11324__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); +}); +G__11324 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11324__2.call(this,self__,k); +case 3: +return G__11324__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11324.cljs$core$IFn$_invoke$arity$2 = G__11324__2; +G__11324.cljs$core$IFn$_invoke$arity$3 = G__11324__3; +return G__11324; +})() +; + +cljs.core.PersistentVector.prototype.apply = (function (self__,args11305){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11305))); +}); + +cljs.core.PersistentVector.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.PersistentVector.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.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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11325 = (i + (1)); +var G__11326 = cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(out,(xs__$1[i])); +i = G__11325; +out = G__11326; +continue; +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} +} +}); +var G__11327_11330 = cljs.core.PersistentVector.prototype; +var G__11328_11331 = cljs.core.ITER_SYMBOL; +var G__11329_11332 = ((function (G__11327_11330,G__11328_11331){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11327_11330,G__11328_11331)) +; +goog.object.set(G__11327_11330,G__11328_11331,G__11329_11332); +/** + * 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.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__8750__auto__ = []; +var len__8743__auto___11334 = arguments.length; +var i__8744__auto___11335 = (0); +while(true){ +if((i__8744__auto___11335 < len__8743__auto___11334)){ +args__8750__auto__.push((arguments[i__8744__auto___11335])); + +var G__11336 = (i__8744__auto___11335 + (1)); +i__8744__auto___11335 = G__11336; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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,true); +} else { +return cljs.core.vec(args); +} +}); + +cljs.core.vector.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.core.vector.cljs$lang$applyTo = (function (seq11333){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11333)); +}); + + +/** +* @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__11337 = null; +var G__11337__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11337__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11337 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11337__1.call(this,x); +case 2: +return G__11337__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11337.cljs$core$IFn$_invoke$arity$1 = G__11337__1; +G__11337.cljs$core$IFn$_invoke$arity$2 = G__11337__2; +return G__11337; +})() +; + +cljs.core.ChunkedSeq.prototype.lastIndexOf = (function() { +var G__11338 = null; +var G__11338__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__11338__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11338 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11338__1.call(this,x); +case 2: +return G__11338__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11338.cljs$core$IFn$_invoke$arity$1 = G__11338__1; +G__11338.cljs$core$IFn$_invoke$arity$2 = G__11338__2; +return G__11338; +})() +; + +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 = cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,self__.node,self__.i,(self__.off + (1))); +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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 = cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,self__.node,self__.i,(self__.off + (1))); +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))){ +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,cljs.core.unchecked_array_for(self__.vec,end),end,(0)); +} else { +return cljs.core.List.EMPTY; +} +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,m){ +var self__ = this; +var coll__$1 = this; +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5(self__.vec,self__.node,self__.i,self__.off,m); +}); + +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))){ +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,cljs.core.unchecked_array_for(self__.vec,end),end,(0)); +} 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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11339_11342 = cljs.core.ChunkedSeq.prototype; +var G__11340_11343 = cljs.core.ITER_SYMBOL; +var G__11341_11344 = ((function (G__11339_11342,G__11340_11343){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11339_11342,G__11340_11343)) +; +goog.object.set(G__11339_11342,G__11340_11343,G__11341_11344); +cljs.core.chunked_seq = (function cljs$core$chunked_seq(var_args){ +var G__11346 = arguments.length; +switch (G__11346) { +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.cljs$core$IFn$_invoke$arity$2(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__11355 = null; +var G__11355__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11355__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__11355 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__11355__1.call(this,x); +case 2: +return G__11355__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11355.cljs$core$IFn$_invoke$arity$1 = G__11355__1; +G__11355.cljs$core$IFn$_invoke$arity$2 = G__11355__2; +return G__11355; +})() +; + +cljs.core.Subvec.prototype.lastIndexOf = (function() { +var G__11356 = null; +var G__11356__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__11356__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__11356 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__11356__1.call(this,x); +case 2: +return G__11356__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11356.cljs$core$IFn$_invoke$arity$1 = G__11356__1; +G__11356.cljs$core$IFn$_invoke$arity$2 = G__11356__2; +return G__11356; +})() +; + +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__11349 = init__$1; +var G__11350 = j; +var G__11351 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.v,i); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11349,G__11350,G__11351) : f.call(null,G__11349,G__11350,G__11351)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__11357 = (i + (1)); +var G__11358 = (j + (1)); +var G__11359 = init__$2; +i = G__11357; +j = G__11358; +init__$1 = G__11359; +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.cljs$core$IFn$_invoke$arity$2(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.cljs$core$IFn$_invoke$arity$3(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 { +return cljs.core.build_subvec(self__.meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.v,v_pos,val),self__.start,(function (){var x__7918__auto__ = self__.end; +var y__7919__auto__ = (v_pos + (1)); +return ((x__7918__auto__ > y__7919__auto__) ? x__7918__auto__ : y__7919__auto__); +})(),null); +} +}); + +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; +return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(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 { +return cljs.core.build_subvec(self__.meta,self__.v,self__.start,(self__.end - (1)),null); +} +}); + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var subvec_seq = ((function (coll__$1){ +return (function cljs$core$subvec_seq(i){ +if((i === self__.end)){ +return null; +} else { +return cljs.core.cons(cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.v,i),(new cljs.core.LazySeq(null,((function (coll__$1){ +return (function (){ +return cljs$core$subvec_seq((i + (1))); +});})(coll__$1)) +,null,null))); +} +});})(coll__$1)) +; +return subvec_seq(self__.start); +}); + +cljs.core.Subvec.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ +var self__ = this; +var coll__$1 = this; +return cljs.core.build_subvec(meta__$1,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; +return cljs.core.build_subvec(self__.meta,cljs.core._assoc_n(self__.v,self__.end,o),self__.start,(self__.end + (1)),null); +}); + +cljs.core.Subvec.prototype.call = (function() { +var G__11360 = null; +var G__11360__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$IIndexed$_nth$arity$2(null,k); +}); +var G__11360__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); +}); +G__11360 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11360__2.call(this,self__,k); +case 3: +return G__11360__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11360.cljs$core$IFn$_invoke$arity$2 = G__11360__2; +G__11360.cljs$core$IFn$_invoke$arity$3 = G__11360__3; +return G__11360; +})() +; + +cljs.core.Subvec.prototype.apply = (function (self__,args11348){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11348))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11361_11364 = cljs.core.Subvec.prototype; +var G__11362_11365 = cljs.core.ITER_SYMBOL; +var G__11363_11366 = ((function (G__11361_11364,G__11362_11365){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11361_11364,G__11362_11365)) +; +goog.object.set(G__11361_11364,G__11362_11365,G__11363_11366); +cljs.core.build_subvec = (function cljs$core$build_subvec(meta,v,start,end,__hash){ +while(true){ +if((v instanceof cljs.core.Subvec)){ +var G__11367 = meta; +var G__11368 = v.v; +var G__11369 = (v.start + start); +var G__11370 = (v.start + end); +var G__11371 = __hash; +meta = G__11367; +v = G__11368; +start = G__11369; +end = G__11370; +__hash = G__11371; +continue; +} else { +if(cljs.core.vector_QMARK_(v)){ +} else { +throw (new Error("v must satisfy IVector")); +} + +var c_11372 = cljs.core.count(v); +if((((start < (0))) || ((end < (0))) || ((start > c_11372)) || ((end > c_11372)))){ +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__11374 = arguments.length; +switch (G__11374) { +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__11378 = tv; +var G__11379 = (level - (5)); +var G__11380 = child; +var G__11381 = 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__11378,G__11379,G__11380,G__11381) : cljs.core.tv_push_tail.call(null,G__11378,G__11379,G__11380,G__11381)); +} 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__11382 = tv; +var G__11383 = (level - (5)); +var G__11384 = 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__11382,G__11383,G__11384) : cljs.core.tv_pop_tail.call(null,G__11382,G__11383,G__11384)); +})(); +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__11385 = cljs.core.tv_ensure_editable(root.edit,cljs.core.pv_aget(node,((i >>> level) & (31)))); +var G__11386 = (level - (5)); +node = G__11385; +level = G__11386; +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 (){var fexpr__11388 = ((function (tcoll__$1){ +return (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; +} +});})(tcoll__$1)) +; +return fexpr__11388(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(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() { +var G__11389 = null; +var G__11389__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11389__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11389 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11389__2.call(this,self__,k); +case 3: +return G__11389__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11389.cljs$core$IFn$_invoke$arity$2 = G__11389__2; +G__11389.cljs$core$IFn$_invoke$arity$3 = G__11389__3; +return G__11389; +})() +; + +cljs.core.TransientVector.prototype.apply = (function (self__,args11387){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11387))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__7566__auto__ = ((!((self__.fseq == null))) && (cljs.core.seq(self__.fseq))); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +var and__7551__auto__ = !((self__.riter == null)); +if(and__7551__auto__){ +return self__.riter.hasNext(); +} else { +return and__7551__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11390 = null; +var G__11390__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11390__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11390 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11390__1.call(this,x); +case 2: +return G__11390__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11390.cljs$core$IFn$_invoke$arity$1 = G__11390__1; +G__11390.cljs$core$IFn$_invoke$arity$2 = G__11390__2; +return G__11390; +})() +; + +cljs.core.PersistentQueueSeq.prototype.lastIndexOf = (function() { +var G__11391 = null; +var G__11391__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__11391__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11391 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11391__1.call(this,x); +case 2: +return G__11391__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11391.cljs$core$IFn$_invoke$arity$1 = G__11391__1; +G__11391.cljs$core$IFn$_invoke$arity$2 = G__11391__2; +return G__11391; +})() +; + +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__4655__auto__ = cljs.core.next(self__.front); +if(temp__4655__auto__){ +var f1 = temp__4655__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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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__4655__auto__ = cljs.core.next(self__.front); +if(temp__4655__auto__){ +var f1 = temp__4655__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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentQueueSeq(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11392_11395 = cljs.core.PersistentQueueSeq.prototype; +var G__11393_11396 = cljs.core.ITER_SYMBOL; +var G__11394_11397 = ((function (G__11392_11395,G__11393_11396){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11392_11395,G__11393_11396)) +; +goog.object.set(G__11392_11395,G__11393_11396,G__11394_11397); + +/** +* @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__11398 = null; +var G__11398__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11398__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11398 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11398__1.call(this,x); +case 2: +return G__11398__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11398.cljs$core$IFn$_invoke$arity$1 = G__11398__1; +G__11398.cljs$core$IFn$_invoke$arity$2 = G__11398__2; +return G__11398; +})() +; + +cljs.core.PersistentQueue.prototype.lastIndexOf = (function() { +var G__11399 = null; +var G__11399__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__11399__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11399 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11399__1.call(this,x); +case 2: +return G__11399__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11399.cljs$core$IFn$_invoke$arity$1 = G__11399__1; +G__11399.cljs$core$IFn$_invoke$arity$2 = G__11399__2; +return G__11399; +})() +; + +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__4655__auto__ = cljs.core.next(self__.front); +if(temp__4655__auto__){ +var f1 = temp__4655__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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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__7566__auto__ = self__.front; +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentQueue(meta__$1,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__7566__auto__ = self__.rear; +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +var G__11400_11403 = cljs.core.PersistentQueue.prototype; +var G__11401_11404 = cljs.core.ITER_SYMBOL; +var G__11402_11405 = ((function (G__11400_11403,G__11401_11404){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11400_11403,G__11401_11404)) +; +goog.object.set(G__11400_11403,G__11401_11404,G__11402_11405); + +/** +* @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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11407 = (i + incr); +i = G__11407; +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__11408 = (i + (1)); +var G__11409 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,k__$1,goog.object.get(so,k__$1)); +i = G__11408; +out = G__11409; +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_11415 = (0); +while(true){ +if((i_11415 < l)){ +var k_11416 = (ks[i_11415]); +var G__11412_11417 = new_obj; +var G__11413_11418 = k_11416; +var G__11414_11419 = goog.object.get(obj,k_11416); +goog.object.set(G__11412_11417,G__11413_11418,G__11414_11419); + +var G__11420 = (i_11415 + (1)); +i_11415 = G__11420; +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(((goog.isString(k)) && (!((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(((goog.isString(k)) && (!((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__11423 = init__$1; +var G__11424 = k; +var G__11425 = (self__.strobj[k]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11423,G__11424,G__11425) : f.call(null,G__11423,G__11424,G__11425)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__11426 = cljs.core.rest(keys__$1); +var G__11427 = init__$2; +keys__$1 = G__11426; +init__$1 = G__11427; +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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(((goog.isString(k)) && (!((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(goog.isString(k)){ +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); +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); +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(((goog.isString(k)) && (!((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 (coll__$1){ +return (function (p1__11421_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__11421_SHARP_,(self__.strobj[p1__11421_SHARP_])],null)); +});})(coll__$1)) +,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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.ObjMap(meta__$1,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.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(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() { +var G__11428 = null; +var G__11428__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11428__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11428 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11428__2.call(this,self__,k); +case 3: +return G__11428__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11428.cljs$core$IFn$_invoke$arity$2 = G__11428__2; +G__11428.cljs$core$IFn$_invoke$arity$3 = G__11428__3; +return G__11428; +})() +; + +cljs.core.ObjMap.prototype.apply = (function (self__,args11422){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11422))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__7566__auto__ = (self__.i < self__.base_count); +if(or__7566__auto__){ +return or__7566__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.cljs$core$IFn$_invoke$arity$2(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11431 = cljs.core.first(self__.s); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11431,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11431,(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11434 = (i + (2)); +i = G__11434; +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__11435 = (i + (2)); +i = G__11435; +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__11436 = (i + (2)); +i = G__11436; +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__11437 = (i + (2)); +i = G__11437; +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__11438 = (i + (2)); +i = G__11438; +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(((goog.isString(k)) || (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_11439 = (0); +while(true){ +if((i_11439 < l)){ +(narr[i_11439] = (arr[i_11439])); + +var G__11440 = (i_11439 + (1)); +i_11439 = G__11440; +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__11442 = k; +switch (G__11442) { +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__11444 = null; +var G__11444__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11444__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11444 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11444__1.call(this,x); +case 2: +return G__11444__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11444.cljs$core$IFn$_invoke$arity$1 = G__11444__1; +G__11444.cljs$core$IFn$_invoke$arity$2 = G__11444__2; +return G__11444; +})() +; + +cljs.core.MapEntry.prototype.lastIndexOf = (function() { +var G__11445 = null; +var G__11445__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__11445__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11445 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11445__1.call(this,x); +case 2: +return G__11445__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11445.cljs$core$IFn$_invoke$arity$1 = G__11445__1; +G__11445.cljs$core$IFn$_invoke$arity$2 = G__11445__2; +return G__11445; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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() { +var G__11446 = null; +var G__11446__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$IIndexed$_nth$arity$2(null,k); +}); +var G__11446__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); +}); +G__11446 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11446__2.call(this,self__,k); +case 3: +return G__11446__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11446.cljs$core$IFn$_invoke$arity$2 = G__11446__2; +G__11446.cljs$core$IFn$_invoke$arity$3 = G__11446__3; +return G__11446; +})() +; + +cljs.core.MapEntry.prototype.apply = (function (self__,args11441){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11441))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11448 = null; +var G__11448__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11448__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11448 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11448__1.call(this,x); +case 2: +return G__11448__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11448.cljs$core$IFn$_invoke$arity$1 = G__11448__1; +G__11448.cljs$core$IFn$_invoke$arity$2 = G__11448__2; +return G__11448; +})() +; + +cljs.core.PersistentArrayMapSeq.prototype.lastIndexOf = (function() { +var G__11449 = null; +var G__11449__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__11449__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11449 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11449__1.call(this,x); +case 2: +return G__11449__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11449.cljs$core$IFn$_invoke$arity$1 = G__11449__1; +G__11449.cljs$core$IFn$_invoke$arity$2 = G__11449__2; +return G__11449; +})() +; + +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)),self__._meta)); +} 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._with_meta(cljs.core.List.EMPTY,self__._meta); +}); + +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)),self__._meta)); +} 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; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11450_11453 = cljs.core.PersistentArrayMapSeq.prototype; +var G__11451_11454 = cljs.core.ITER_SYMBOL; +var G__11452_11455 = ((function (G__11450_11453,G__11451_11454){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11450_11453,G__11451_11454)) +; +goog.object.set(G__11450_11453,G__11451_11454,G__11452_11455); +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(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(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__11457 = cljs.core.seq(coll); +var chunk__11458 = null; +var count__11459 = (0); +var i__11460 = (0); +while(true){ +if((i__11460 < count__11459)){ +var vec__11461 = chunk__11458.cljs$core$IIndexed$_nth$arity$2(null,i__11460); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11461,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11461,(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__11473 = seq__11457; +var G__11474 = chunk__11458; +var G__11475 = count__11459; +var G__11476 = (i__11460 + (1)); +seq__11457 = G__11473; +chunk__11458 = G__11474; +count__11459 = G__11475; +i__11460 = G__11476; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11457); +if(temp__4657__auto__){ +var seq__11457__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11457__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__11457__$1); +var G__11477 = cljs.core.chunk_rest(seq__11457__$1); +var G__11478 = c__8407__auto__; +var G__11479 = cljs.core.count(c__8407__auto__); +var G__11480 = (0); +seq__11457 = G__11477; +chunk__11458 = G__11478; +count__11459 = G__11479; +i__11460 = G__11480; +continue; +} else { +var vec__11464 = cljs.core.first(seq__11457__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11464,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11464,(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__11481 = cljs.core.next(seq__11457__$1); +var G__11482 = null; +var G__11483 = (0); +var G__11484 = (0); +seq__11457 = G__11481; +chunk__11458 = G__11482; +count__11459 = G__11483; +i__11460 = G__11484; +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__11467 = init__$1; +var G__11468 = (self__.arr[i]); +var G__11469 = (self__.arr[(i + (1))]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11467,G__11468,G__11469) : f.call(null,G__11467,G__11468,G__11469)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__11485 = (i + (2)); +var G__11486 = init__$2; +i = G__11485; +init__$1 = G__11486; +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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__11487 = (i + (2)); +i = G__11487; +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__11488 = (s + (2)); +var G__11489 = d; +s = G__11488; +d = G__11489; +continue; +} else { +(new_arr[d] = (self__.arr[s])); + +(new_arr[(d + (1))] = (self__.arr[(s + (1))])); + +var G__11490 = (s + (2)); +var G__11491 = (d + (2)); +s = G__11490; +d = G__11491; +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__11472 = cljs.core.aclone(self__.arr); +(G__11472[(idx + (1))] = v); + +return G__11472; +})(); +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentArrayMap(meta__$1,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.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(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__11492 = ret.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(1))); +var G__11493 = cljs.core.next(es); +ret = G__11492; +es = G__11493; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +}); + +cljs.core.PersistentArrayMap.prototype.call = (function() { +var G__11494 = null; +var G__11494__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11494__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11494 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11494__2.call(this,self__,k); +case 3: +return G__11494__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11494.cljs$core$IFn$_invoke$arity$2 = G__11494__2; +G__11494.cljs$core$IFn$_invoke$arity$3 = G__11494__3; +return G__11494; +})() +; + +cljs.core.PersistentArrayMap.prototype.apply = (function (self__,args11456){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11456))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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_11495 = (0); +while(true){ +if((i_11495 < arr__$1.length)){ +var k_11496 = (arr__$1[i_11495]); +var v_11497 = (arr__$1[(i_11495 + (1))]); +var idx_11498 = cljs.core.array_index_of(ret,k_11496); +if((idx_11498 === (-1))){ +ret.push(k_11496); + +ret.push(v_11497); +} else { +} + +var G__11499 = (i_11495 + (2)); +i_11495 = G__11499; +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_11501 = (0); +while(true){ +if((i_11501 < arr.length)){ +var k_11502 = (arr[i_11501]); +var v_11503 = (arr[(i_11501 + (1))]); +var idx_11504 = cljs.core.array_index_of(ret,k_11502); +if((idx_11504 === (-1))){ +var G__11500_11505 = ret; +G__11500_11505.push(k_11502); + +G__11500_11505.push(v_11503); + +} else { +throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(k_11502)].join(''))); +} + +var G__11506 = (i_11501 + (2)); +i_11501 = G__11506; +continue; +} else { +} +break; +} + +var cnt = (arr.length / (2)); +return (new cljs.core.PersistentArrayMap(null,cnt,arr,null)); +}); +cljs.core.PersistentArrayMap.createAsIfByAssoc = (function (arr){ +var ret = []; +var i_11508 = (0); +while(true){ +if((i_11508 < arr.length)){ +var k_11509 = (arr[i_11508]); +var v_11510 = (arr[(i_11508 + (1))]); +var idx_11511 = cljs.core.array_index_of(ret,k_11509); +if((idx_11511 === (-1))){ +var G__11507_11512 = ret; +G__11507_11512.push(k_11509); + +G__11507_11512.push(v_11510); + +} else { +(ret[(idx_11511 + (1))] = v_11510); +} + +var G__11513 = (i_11508 + (2)); +i_11508 = G__11513; +continue; +} else { +} +break; +} + +return (new cljs.core.PersistentArrayMap(null,(ret.length / (2)),ret,null)); +}); +var G__11514_11517 = cljs.core.PersistentArrayMap.prototype; +var G__11515_11518 = cljs.core.ITER_SYMBOL; +var G__11516_11519 = ((function (G__11514_11517,G__11515_11518){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11514_11517,G__11515_11518)) +; +goog.object.set(G__11514_11517,G__11515_11518,G__11516_11519); + +/** +* @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(cljs.core.truth_(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(cljs.core.truth_(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(cljs.core.truth_(self__.editable_QMARK_)){ +if(cljs.core.map_entry_QMARK_(o)){ +return tcoll__$1.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__$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__4655__auto__ = cljs.core.first(es); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +var G__11522 = cljs.core.next(es); +var G__11523 = tcoll__$2.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,cljs.core.key(e),cljs.core.val(e)); +es = G__11522; +tcoll__$2 = G__11523; +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(cljs.core.truth_(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(cljs.core.truth_(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(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(cljs.core.truth_(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__11521_11524 = self__.arr; +G__11521_11524.pop(); + +G__11521_11524.pop(); + + +self__.len = (self__.len - (2)); +} else { +} + +return tcoll__$1; +} else { +throw (new Error("dissoc! after persistent!")); +} +}); + +cljs.core.TransientArrayMap.prototype.call = (function() { +var G__11525 = null; +var G__11525__2 = (function (self__,key){ +var self__ = this; +var self____$1 = this; +var tcoll = self____$1; +return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,null); +}); +var G__11525__3 = (function (self__,key,not_found){ +var self__ = this; +var self____$1 = this; +var tcoll = self____$1; +return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,not_found); +}); +G__11525 = function(self__,key,not_found){ +switch(arguments.length){ +case 2: +return G__11525__2.call(this,self__,key); +case 3: +return G__11525__3.call(this,self__,key,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11525.cljs$core$IFn$_invoke$arity$2 = G__11525__2; +G__11525.cljs$core$IFn$_invoke$arity$3 = G__11525__3; +return G__11525; +})() +; + +cljs.core.TransientArrayMap.prototype.apply = (function (self__,args11520){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11520))); +}); + +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, 1, [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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11526 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,(arr[i]),(arr[(i + (1))])); +var G__11527 = (i + (2)); +out = G__11526; +i = G__11527; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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.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.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__11529 = arguments.length; +switch (G__11529) { +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__11530 = cljs.core.aclone(arr); +(G__11530[i] = a); + +return G__11530; +}); + +cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5 = (function (arr,i,a,j,b){ +var G__11531 = cljs.core.aclone(arr); +(G__11531[i] = a); + +(G__11531[j] = b); + +return G__11531; +}); + +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__11534 = arguments.length; +switch (G__11534) { +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__11536 = init__$1; +var G__11537 = k; +var G__11538 = (arr[(i + (1))]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11536,G__11537,G__11538) : f.call(null,G__11536,G__11537,G__11538)); +} 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__11539 = (i + (2)); +var G__11540 = init__$2; +i = G__11539; +init__$1 = G__11540; +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__7566__auto__ = !((self__.next_entry == null)); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +var or__7566__auto____$1 = !((self__.next_iter == null)); +if(or__7566__auto____$1){ +return or__7566__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(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_11541 = (0); +var j_11542 = (0); +while(true){ +if((i_11541 < (32))){ +if((((self__.bitmap >>> i_11541) & (1)) === (0))){ +var G__11543 = (i_11541 + (1)); +var G__11544 = j_11542; +i_11541 = G__11543; +j_11542 = G__11544; +continue; +} else { +(nodes[i_11541] = ((!(((self__.arr[j_11542]) == null)))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),cljs.core.hash((self__.arr[j_11542])),(self__.arr[j_11542]),(self__.arr[(j_11542 + (1))]),added_leaf_QMARK_):(self__.arr[(j_11542 + (1))]))); + +var G__11545 = (i_11541 + (1)); +var G__11546 = (j_11542 + (2)); +i_11541 = G__11545; +j_11542 = G__11546; +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)),cljs.core.create_node.cljs$core$IFn$_invoke$arity$7(edit__$1,(shift + (5)),key_or_nil,val_or_node,hash,key,val)); + +} +} +} +}); + +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_11547 = (0); +var j_11548 = (0); +while(true){ +if((i_11547 < (32))){ +if((((self__.bitmap >>> i_11547) & (1)) === (0))){ +var G__11549 = (i_11547 + (1)); +var G__11550 = j_11548; +i_11547 = G__11549; +j_11548 = G__11550; +continue; +} else { +(nodes[i_11547] = ((!(((self__.arr[j_11548]) == null)))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),cljs.core.hash((self__.arr[j_11548])),(self__.arr[j_11548]),(self__.arr[(j_11548 + (1))]),added_leaf_QMARK_):(self__.arr[(j_11548 + (1))]))); + +var G__11551 = (i_11547 + (1)); +var G__11552 = (j_11548 + (2)); +i_11547 = G__11551; +j_11548 = G__11552; +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)),cljs.core.create_node.cljs$core$IFn$_invoke$arity$6((shift + (5)),key_or_nil,val_or_node,hash,key,val)))); + +} +} +} +}); + +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)){ +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11553 = (i + (1)); +var G__11554 = (j + (2)); +var G__11555 = (bitmap | ((1) << i)); +i = G__11553; +j = G__11554; +bitmap = G__11555; +continue; +} else { +var G__11556 = (i + (1)); +var G__11557 = j; +var G__11558 = bitmap; +i = G__11556; +j = G__11557; +bitmap = G__11558; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(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__11559 = (i + (1)); +var G__11560 = init__$2; +i = G__11559; +init__$1 = G__11560; +continue; +} +} else { +var G__11561 = (i + (1)); +var G__11562 = init__$1; +i = G__11561; +init__$1 = G__11562; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11563 = (i + (2)); +i = G__11563; +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(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11565 = arguments.length; +switch (G__11565) { +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__11567 = null; +var G__11567__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11567__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11567 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11567__1.call(this,x); +case 2: +return G__11567__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11567.cljs$core$IFn$_invoke$arity$1 = G__11567__1; +G__11567.cljs$core$IFn$_invoke$arity$2 = G__11567__2; +return G__11567; +})() +; + +cljs.core.NodeSeq.prototype.lastIndexOf = (function() { +var G__11568 = null; +var G__11568__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__11568__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11568 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11568__1.call(this,x); +case 2: +return G__11568__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11568.cljs$core$IFn$_invoke$arity$1 = G__11568__1; +G__11568.cljs$core$IFn$_invoke$arity$2 = G__11568__2; +return G__11568; +})() +; + +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)){ +return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,(self__.i + (2)),null); +} else { +return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,self__.i,cljs.core.next(self__.s)); +} +}); + +cljs.core.NodeSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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))?cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,(self__.i + (2)),null):cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,self__.i,cljs.core.next(self__.s))); +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.NodeSeq(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11569_11572 = cljs.core.NodeSeq.prototype; +var G__11570_11573 = cljs.core.ITER_SYMBOL; +var G__11571_11574 = ((function (G__11569_11572,G__11570_11573){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11569_11572,G__11570_11573)) +; +goog.object.set(G__11569_11572,G__11570_11573,G__11571_11574); +cljs.core.create_inode_seq = (function cljs$core$create_inode_seq(var_args){ +var G__11576 = arguments.length; +switch (G__11576) { +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__4655__auto__ = (nodes[(j + (1))]); +if(cljs.core.truth_(temp__4655__auto__)){ +var node = temp__4655__auto__; +var temp__4655__auto____$1 = node.inode_seq(); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var node_seq = temp__4655__auto____$1; +return (new cljs.core.NodeSeq(null,nodes,(j + (2)),node_seq,null)); +} else { +var G__11578 = (j + (2)); +j = G__11578; +continue; +} +} else { +var G__11579 = (j + (2)); +j = G__11579; +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__11580 = null; +var G__11580__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11580__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11580 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11580__1.call(this,x); +case 2: +return G__11580__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11580.cljs$core$IFn$_invoke$arity$1 = G__11580__1; +G__11580.cljs$core$IFn$_invoke$arity$2 = G__11580__2; +return G__11580; +})() +; + +cljs.core.ArrayNodeSeq.prototype.lastIndexOf = (function() { +var G__11581 = null; +var G__11581__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__11581__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11581 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11581__1.call(this,x); +case 2: +return G__11581__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11581.cljs$core$IFn$_invoke$arity$1 = G__11581__1; +G__11581.cljs$core$IFn$_invoke$arity$2 = G__11581__2; +return G__11581; +})() +; + +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; +return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(null,self__.nodes,self__.i,cljs.core.next(self__.s)); +}); + +cljs.core.ArrayNodeSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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 = cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(null,self__.nodes,self__.i,cljs.core.next(self__.s)); +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.ArrayNodeSeq(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11582_11585 = cljs.core.ArrayNodeSeq.prototype; +var G__11583_11586 = cljs.core.ITER_SYMBOL; +var G__11584_11587 = ((function (G__11582_11585,G__11583_11586){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11582_11585,G__11583_11586)) +; +goog.object.set(G__11582_11585,G__11583_11586,G__11584_11587); +cljs.core.create_array_node_seq = (function cljs$core$create_array_node_seq(var_args){ +var G__11589 = arguments.length; +switch (G__11589) { +case 1: +return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 4: +return cljs.core.create_array_node_seq.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.create_array_node_seq.cljs$core$IFn$_invoke$arity$1 = (function (nodes){ +return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(null,nodes,(0),null); +}); + +cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4 = (function (meta,nodes,i,s){ +if((s == null)){ +var len = nodes.length; +var j = i; +while(true){ +if((j < len)){ +var temp__4655__auto__ = (nodes[j]); +if(cljs.core.truth_(temp__4655__auto__)){ +var nj = temp__4655__auto__; +var temp__4655__auto____$1 = nj.inode_seq(); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var ns = temp__4655__auto____$1; +return (new cljs.core.ArrayNodeSeq(meta,nodes,(j + (1)),ns,null)); +} else { +var G__11591 = (j + (1)); +j = G__11591; +continue; +} +} else { +var G__11592 = (j + (1)); +j = G__11592; +continue; +} +} else { +return null; +} +break; +} +} else { +return (new cljs.core.ArrayNodeSeq(meta,nodes,i,s,null)); +} +}); + +cljs.core.create_array_node_seq.cljs$lang$maxFixedArity = 4; + + +/** +* @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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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(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(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__11594 = cljs.core.seq(coll); +var chunk__11595 = null; +var count__11596 = (0); +var i__11597 = (0); +while(true){ +if((i__11597 < count__11596)){ +var vec__11598 = chunk__11595.cljs$core$IIndexed$_nth$arity$2(null,i__11597); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11598,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11598,(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__11606 = seq__11594; +var G__11607 = chunk__11595; +var G__11608 = count__11596; +var G__11609 = (i__11597 + (1)); +seq__11594 = G__11606; +chunk__11595 = G__11607; +count__11596 = G__11608; +i__11597 = G__11609; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11594); +if(temp__4657__auto__){ +var seq__11594__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11594__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__11594__$1); +var G__11610 = cljs.core.chunk_rest(seq__11594__$1); +var G__11611 = c__8407__auto__; +var G__11612 = cljs.core.count(c__8407__auto__); +var G__11613 = (0); +seq__11594 = G__11610; +chunk__11595 = G__11611; +count__11596 = G__11612; +i__11597 = G__11613; +continue; +} else { +var vec__11601 = cljs.core.first(seq__11594__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11601,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11601,(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__11614 = cljs.core.next(seq__11594__$1); +var G__11615 = null; +var G__11616 = (0); +var G__11617 = (0); +seq__11594 = G__11614; +chunk__11595 = G__11615; +count__11596 = G__11616; +i__11597 = G__11617; +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentHashMap(meta__$1,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.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(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__11618 = ret.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(1))); +var G__11619 = cljs.core.next(es); +ret = G__11618; +es = G__11619; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +}); + +cljs.core.PersistentHashMap.prototype.call = (function() { +var G__11620 = null; +var G__11620__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11620__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11620 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11620__2.call(this,self__,k); +case 3: +return G__11620__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11620.cljs$core$IFn$_invoke$arity$2 = G__11620__2; +G__11620.cljs$core$IFn$_invoke$arity$3 = G__11620__3; +return G__11620; +})() +; + +cljs.core.PersistentHashMap.prototype.apply = (function (self__,args11593){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11593))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11621 = (i + (2)); +var G__11622 = cljs.core._assoc_BANG_(ret,(arr__$1[i]),(arr__$1[(i + (1))])); +i = G__11621; +ret = G__11622; +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)){ +var G__11623 = (i + (1)); +var G__11624 = out.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,(ks[i]),(vs[i])); +i = G__11623; +out = G__11624; +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_11625 = (0); +while(true){ +if((i_11625 < len)){ +cljs.core._assoc_BANG_(ret,(arr[i_11625]),(arr[(i_11625 + (1))])); + +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core._count(ret),((i_11625 / (2)) + (1)))){ +throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arr[i_11625]))].join(''))); +} else { +var G__11626 = (i_11625 + (2)); +i_11625 = G__11626; +continue; +} +} else { +} +break; +} + +return cljs.core._persistent_BANG_(ret); +}); +var G__11627_11630 = cljs.core.PersistentHashMap.prototype; +var G__11628_11631 = cljs.core.ITER_SYMBOL; +var G__11629_11632 = ((function (G__11627_11630,G__11628_11631){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11627_11630,G__11628_11631)) +; +goog.object.set(G__11627_11630,G__11628_11631,G__11629_11632); + +/** +* @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(o),cljs.core.val(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__4655__auto__ = cljs.core.first(es); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +var G__11634 = cljs.core.next(es); +var G__11635 = tcoll__$1.assoc_BANG_(cljs.core.key(e),cljs.core.val(e)); +es = G__11634; +tcoll__$1 = G__11635; +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() { +var G__11636 = null; +var G__11636__2 = (function (self__,key){ +var self__ = this; +var self____$1 = this; +var tcoll = self____$1; +return tcoll.cljs$core$ILookup$_lookup$arity$2(null,key); +}); +var G__11636__3 = (function (self__,key,not_found){ +var self__ = this; +var self____$1 = this; +var tcoll = self____$1; +return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,not_found); +}); +G__11636 = function(self__,key,not_found){ +switch(arguments.length){ +case 2: +return G__11636__2.call(this,self__,key); +case 3: +return G__11636__3.call(this,self__,key,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11636.cljs$core$IFn$_invoke$arity$2 = G__11636__2; +G__11636.cljs$core$IFn$_invoke$arity$3 = G__11636__3; +return G__11636; +})() +; + +cljs.core.TransientHashMap.prototype.apply = (function (self__,args11633){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11633))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11637 = ((ascending_QMARK_)?t.left:t.right); +var G__11638 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack__$1,t); +t = G__11637; +stack__$1 = G__11638; +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__11639 = null; +var G__11639__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11639__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11639 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11639__1.call(this,x); +case 2: +return G__11639__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11639.cljs$core$IFn$_invoke$arity$1 = G__11639__1; +G__11639.cljs$core$IFn$_invoke$arity$2 = G__11639__2; +return G__11639; +})() +; + +cljs.core.PersistentTreeMapSeq.prototype.lastIndexOf = (function() { +var G__11640 = null; +var G__11640__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__11640__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11640 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11640__1.call(this,x); +case 2: +return G__11640__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11640.cljs$core$IFn$_invoke$arity$1 = G__11640__1; +G__11640.cljs$core$IFn$_invoke$arity$2 = G__11640__2; +return G__11640; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeMapSeq(meta__$1,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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11641_11644 = cljs.core.PersistentTreeMapSeq.prototype; +var G__11642_11645 = cljs.core.ITER_SYMBOL; +var G__11643_11646 = ((function (G__11641_11644,G__11642_11645){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11641_11644,G__11642_11645)) +; +goog.object.set(G__11641_11644,G__11642_11645,G__11643_11646); +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__11647 = node.left; +var G__11648 = f; +var G__11649 = 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__11647,G__11648,G__11649) : cljs.core.tree_map_kv_reduce.call(null,G__11647,G__11648,G__11649)); +})():init); +if(cljs.core.reduced_QMARK_(init__$1)){ +return init__$1; +} else { +var init__$2 = (function (){var G__11650 = init__$1; +var G__11651 = node.key; +var G__11652 = node.val; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11650,G__11651,G__11652) : f.call(null,G__11650,G__11651,G__11652)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return init__$2; +} else { +if(!((node.right == null))){ +var G__11653 = node.right; +var G__11654 = f; +var G__11655 = 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__11653,G__11654,G__11655) : cljs.core.tree_map_kv_reduce.call(null,G__11653,G__11654,G__11655)); +} 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__11657 = k; +switch (G__11657) { +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__11659 = null; +var G__11659__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__11659__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11659 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11659__1.call(this,x); +case 2: +return G__11659__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11659.cljs$core$IFn$_invoke$arity$1 = G__11659__1; +G__11659.cljs$core$IFn$_invoke$arity$2 = G__11659__2; +return G__11659; +})() +; + +cljs.core.BlackNode.prototype.indexOf = (function() { +var G__11660 = null; +var G__11660__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11660__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11660 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11660__1.call(this,x); +case 2: +return G__11660__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11660.cljs$core$IFn$_invoke$arity$1 = G__11660__1; +G__11660.cljs$core$IFn$_invoke$arity$2 = G__11660__2; +return G__11660; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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() { +var G__11661 = null; +var G__11661__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$IIndexed$_nth$arity$2(null,k); +}); +var G__11661__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); +}); +G__11661 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11661__2.call(this,self__,k); +case 3: +return G__11661__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11661.cljs$core$IFn$_invoke$arity$2 = G__11661__2; +G__11661.cljs$core$IFn$_invoke$arity$3 = G__11661__3; +return G__11661; +})() +; + +cljs.core.BlackNode.prototype.apply = (function (self__,args11656){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11656))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11662_11665 = cljs.core.BlackNode.prototype; +var G__11663_11666 = cljs.core.ITER_SYMBOL; +var G__11664_11667 = ((function (G__11662_11665,G__11663_11666){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11662_11665,G__11663_11666)) +; +goog.object.set(G__11662_11665,G__11663_11666,G__11664_11667); + +/** +* @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__11669 = k; +switch (G__11669) { +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__11671 = null; +var G__11671__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__11671__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11671 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11671__1.call(this,x); +case 2: +return G__11671__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11671.cljs$core$IFn$_invoke$arity$1 = G__11671__1; +G__11671.cljs$core$IFn$_invoke$arity$2 = G__11671__2; +return G__11671; +})() +; + +cljs.core.RedNode.prototype.indexOf = (function() { +var G__11672 = null; +var G__11672__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11672__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11672 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11672__1.call(this,x); +case 2: +return G__11672__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11672.cljs$core$IFn$_invoke$arity$1 = G__11672__1; +G__11672.cljs$core$IFn$_invoke$arity$2 = G__11672__2; +return G__11672; +})() +; + +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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() { +var G__11673 = null; +var G__11673__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$IIndexed$_nth$arity$2(null,k); +}); +var G__11673__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); +}); +G__11673 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11673__2.call(this,self__,k); +case 3: +return G__11673__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11673.cljs$core$IFn$_invoke$arity$2 = G__11673__2; +G__11673.cljs$core$IFn$_invoke$arity$3 = G__11673__3; +return G__11673; +})() +; + +cljs.core.RedNode.prototype.apply = (function (self__,args11668){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11668))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11674_11677 = cljs.core.RedNode.prototype; +var G__11675_11678 = cljs.core.ITER_SYMBOL; +var G__11676_11679 = ((function (G__11674_11677,G__11675_11678){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11674_11677,G__11675_11678)) +; +goog.object.set(G__11674_11677,G__11675_11678,G__11676_11679); +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__11680 = k; +var G__11681 = tree.key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11680,G__11681) : comp.call(null,G__11680,G__11681)); +})(); +if((c === (0))){ +(found[(0)] = tree); + +return null; +} else { +if((c < (0))){ +var ins = (function (){var G__11682 = comp; +var G__11683 = tree.left; +var G__11684 = k; +var G__11685 = v; +var G__11686 = 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__11682,G__11683,G__11684,G__11685,G__11686) : cljs.core.tree_map_add.call(null,G__11682,G__11683,G__11684,G__11685,G__11686)); +})(); +if(!((ins == null))){ +return tree.add_left(ins); +} else { +return null; +} +} else { +var ins = (function (){var G__11687 = comp; +var G__11688 = tree.right; +var G__11689 = k; +var G__11690 = v; +var G__11691 = 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__11687,G__11688,G__11689,G__11690,G__11691) : cljs.core.tree_map_add.call(null,G__11687,G__11688,G__11689,G__11690,G__11691)); +})(); +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__11692 = left.right; +var G__11693 = 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__11692,G__11693) : cljs.core.tree_map_append.call(null,G__11692,G__11693)); +})(); +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__11694 = left.right; +var G__11695 = 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__11694,G__11695) : cljs.core.tree_map_append.call(null,G__11694,G__11695)); +})(),null)); +} +} else { +if((right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(right.key,right.val,(function (){var G__11696 = left; +var G__11697 = 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__11696,G__11697) : cljs.core.tree_map_append.call(null,G__11696,G__11697)); +})(),right.right,null)); +} else { +var app = (function (){var G__11698 = left.right; +var G__11699 = 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__11698,G__11699) : cljs.core.tree_map_append.call(null,G__11698,G__11699)); +})(); +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__11700 = k; +var G__11701 = tree.key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11700,G__11701) : comp.call(null,G__11700,G__11701)); +})(); +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__11702 = comp; +var G__11703 = tree.left; +var G__11704 = k; +var G__11705 = 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__11702,G__11703,G__11704,G__11705) : cljs.core.tree_map_remove.call(null,G__11702,G__11703,G__11704,G__11705)); +})(); +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__11706 = comp; +var G__11707 = tree.right; +var G__11708 = k; +var G__11709 = 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__11706,G__11707,G__11708,G__11709) : cljs.core.tree_map_remove.call(null,G__11706,G__11707,G__11708,G__11709)); +})(); +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__11710 = comp; +var G__11711 = tree.left; +var G__11712 = k; +var G__11713 = 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__11710,G__11711,G__11712,G__11713) : cljs.core.tree_map_replace.call(null,G__11710,G__11711,G__11712,G__11713)); +})(),tree.right); +} else { +return tree.replace(tk,tree.val,tree.left,(function (){var G__11714 = comp; +var G__11715 = tree.right; +var G__11716 = k; +var G__11717 = 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__11714,G__11715,G__11716,G__11717) : cljs.core.tree_map_replace.call(null,G__11714,G__11715,G__11716,G__11717)); +})()); + +} +} +}); + +/** +* @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__11719 = cljs.core.seq(coll); +var chunk__11720 = null; +var count__11721 = (0); +var i__11722 = (0); +while(true){ +if((i__11722 < count__11721)){ +var vec__11723 = chunk__11720.cljs$core$IIndexed$_nth$arity$2(null,i__11722); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11723,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11723,(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__11733 = seq__11719; +var G__11734 = chunk__11720; +var G__11735 = count__11721; +var G__11736 = (i__11722 + (1)); +seq__11719 = G__11733; +chunk__11720 = G__11734; +count__11721 = G__11735; +i__11722 = G__11736; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11719); +if(temp__4657__auto__){ +var seq__11719__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11719__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__11719__$1); +var G__11737 = cljs.core.chunk_rest(seq__11719__$1); +var G__11738 = c__8407__auto__; +var G__11739 = cljs.core.count(c__8407__auto__); +var G__11740 = (0); +seq__11719 = G__11737; +chunk__11720 = G__11738; +count__11721 = G__11739; +i__11722 = G__11740; +continue; +} else { +var vec__11726 = cljs.core.first(seq__11719__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11726,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11726,(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__11741 = cljs.core.next(seq__11719__$1); +var G__11742 = null; +var G__11743 = (0); +var G__11744 = (0); +seq__11719 = G__11741; +chunk__11720 = G__11742; +count__11721 = G__11743; +i__11722 = G__11744; +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(coll)); +}); + +cljs.core.PersistentTreeMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.vals(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__11729 = k; +var G__11730 = t.key; +return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__11729,G__11730) : self__.comp.call(null,G__11729,G__11730)); +})(); +if((c === (0))){ +return t; +} else { +if((c < (0))){ +var G__11745 = t.left; +t = G__11745; +continue; +} else { +var G__11746 = t.right; +t = G__11746; +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeMap(self__.comp,self__.tree,self__.cnt,meta__$1,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.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(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__11747 = ret.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(1))); +var G__11748 = cljs.core.next(es); +ret = G__11747; +es = G__11748; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +}); + +cljs.core.PersistentTreeMap.prototype.call = (function() { +var G__11749 = null; +var G__11749__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11749__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11749 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11749__2.call(this,self__,k); +case 3: +return G__11749__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11749.cljs$core$IFn$_invoke$arity$2 = G__11749__2; +G__11749.cljs$core$IFn$_invoke$arity$3 = G__11749__3; +return G__11749; +})() +; + +cljs.core.PersistentTreeMap.prototype.apply = (function (self__,args11718){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11718))); +}); + +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__11731 = k; +var G__11732 = t.key; +return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__11731,G__11732) : self__.comp.call(null,G__11731,G__11732)); +})(); +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__11750 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); +var G__11751 = t.left; +stack = G__11750; +t = G__11751; +continue; +} else { +var G__11752 = stack; +var G__11753 = t.right; +stack = G__11752; +t = G__11753; +continue; +} +} else { +if((c > (0))){ +var G__11754 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); +var G__11755 = t.right; +stack = G__11754; +t = G__11755; +continue; +} else { +var G__11756 = stack; +var G__11757 = t.left; +stack = G__11756; +t = G__11757; +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(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +var G__11758_11761 = cljs.core.PersistentTreeMap.prototype; +var G__11759_11762 = cljs.core.ITER_SYMBOL; +var G__11760_11763 = ((function (G__11758_11761,G__11759_11762){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11758_11761,G__11759_11762)) +; +goog.object.set(G__11758_11761,G__11759_11762,G__11760_11763); +/** + * keyval => key val + * Returns a new hash map with supplied mappings. + */ +cljs.core.hash_map = (function cljs$core$hash_map(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___11765 = arguments.length; +var i__8744__auto___11766 = (0); +while(true){ +if((i__8744__auto___11766 < len__8743__auto___11765)){ +args__8750__auto__.push((arguments[i__8744__auto___11766])); + +var G__11767 = (i__8744__auto___11766 + (1)); +i__8744__auto___11766 = G__11767; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 G__11768 = cljs.core.nnext(in$); +var G__11769 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__11768; +out = G__11769; +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 (seq11764){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11764)); +}); + +/** + * keyval => key val + * Returns a new array map with supplied mappings. + */ +cljs.core.array_map = (function cljs$core$array_map(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___11771 = arguments.length; +var i__8744__auto___11772 = (0); +while(true){ +if((i__8744__auto___11772 < len__8743__auto___11771)){ +args__8750__auto__.push((arguments[i__8744__auto___11772])); + +var G__11773 = (i__8744__auto___11772 + (1)); +i__8744__auto___11772 = G__11773; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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)); +return cljs.core.PersistentArrayMap.createAsIfByAssoc(arr); +}); + +cljs.core.array_map.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.core.array_map.cljs$lang$applyTo = (function (seq11770){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11770)); +}); + +/** + * keyval => key val + * Returns a new object map with supplied mappings. + */ +cljs.core.obj_map = (function cljs$core$obj_map(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___11780 = arguments.length; +var i__8744__auto___11781 = (0); +while(true){ +if((i__8744__auto___11781 < len__8743__auto___11780)){ +args__8750__auto__.push((arguments[i__8744__auto___11781])); + +var G__11782 = (i__8744__auto___11781 + (1)); +i__8744__auto___11781 = G__11782; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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)); + +var G__11777_11783 = obj; +var G__11778_11784 = cljs.core.first(kvs); +var G__11779_11785 = cljs.core.second(kvs); +goog.object.set(G__11777_11783,G__11778_11784,G__11779_11785); + +var G__11786 = cljs.core.nnext(kvs); +kvs = G__11786; +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 (seq11774){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11774)); +}); + +/** + * keyval => key val + * Returns a new sorted map with supplied mappings. + */ +cljs.core.sorted_map = (function cljs$core$sorted_map(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___11788 = arguments.length; +var i__8744__auto___11789 = (0); +while(true){ +if((i__8744__auto___11789 < len__8743__auto___11788)){ +args__8750__auto__.push((arguments[i__8744__auto___11789])); + +var G__11790 = (i__8744__auto___11789 + (1)); +i__8744__auto___11789 = G__11790; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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__11791 = cljs.core.nnext(in$); +var G__11792 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__11791; +out = G__11792; +continue; +} else { +return out; +} +break; +} +}); + +cljs.core.sorted_map.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.core.sorted_map.cljs$lang$applyTo = (function (seq11787){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11787)); +}); + +/** + * 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__8750__auto__ = []; +var len__8743__auto___11795 = arguments.length; +var i__8744__auto___11796 = (0); +while(true){ +if((i__8744__auto___11796 < len__8743__auto___11795)){ +args__8750__auto__.push((arguments[i__8744__auto___11796])); + +var G__11797 = (i__8744__auto___11796 + (1)); +i__8744__auto___11796 = G__11797; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((1) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((1)),(0),null)):null); +return cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8751__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__11798 = cljs.core.nnext(in$); +var G__11799 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__11798; +out = G__11799; +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 (seq11793){ +var G__11794 = cljs.core.first(seq11793); +var seq11793__$1 = cljs.core.next(seq11793); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11794,seq11793__$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__11802 = null; +var G__11802__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11802__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11802 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11802__1.call(this,x); +case 2: +return G__11802__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11802.cljs$core$IFn$_invoke$arity$1 = G__11802__1; +G__11802.cljs$core$IFn$_invoke$arity$2 = G__11802__2; +return G__11802; +})() +; + +cljs.core.KeySeq.prototype.lastIndexOf = (function() { +var G__11803 = null; +var G__11803__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__11803__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11803 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11803__1.call(this,x); +case 2: +return G__11803__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11803.cljs$core$IFn$_invoke$arity$1 = G__11803__1; +G__11803.cljs$core$IFn$_invoke$arity$2 = G__11803__2; +return G__11803; +})() +; + +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,self__._meta)); +} +}); + +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._with_meta(cljs.core.List.EMPTY,self__._meta); +}); + +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,self__._meta)); +} 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; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11804_11807 = cljs.core.KeySeq.prototype; +var G__11805_11808 = cljs.core.ITER_SYMBOL; +var G__11806_11809 = ((function (G__11804_11807,G__11805_11808){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11804_11807,G__11805_11808)) +; +goog.object.set(G__11804_11807,G__11805_11808,G__11806_11809); +/** + * Returns a sequence of the map's keys. + */ +cljs.core.keys = (function cljs$core$keys(hash_map){ +var temp__4657__auto__ = cljs.core.seq(hash_map); +if(temp__4657__auto__){ +var mseq = temp__4657__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__11812 = null; +var G__11812__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11812__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11812 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11812__1.call(this,x); +case 2: +return G__11812__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11812.cljs$core$IFn$_invoke$arity$1 = G__11812__1; +G__11812.cljs$core$IFn$_invoke$arity$2 = G__11812__2; +return G__11812; +})() +; + +cljs.core.ValSeq.prototype.lastIndexOf = (function() { +var G__11813 = null; +var G__11813__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__11813__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11813 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11813__1.call(this,x); +case 2: +return G__11813__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11813.cljs$core$IFn$_invoke$arity$1 = G__11813__1; +G__11813.cljs$core$IFn$_invoke$arity$2 = G__11813__2; +return G__11813; +})() +; + +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,self__._meta)); +} +}); + +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._with_meta(cljs.core.List.EMPTY,self__._meta); +}); + +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,self__._meta)); +} 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; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__11814_11817 = cljs.core.ValSeq.prototype; +var G__11815_11818 = cljs.core.ITER_SYMBOL; +var G__11816_11819 = ((function (G__11814_11817,G__11815_11818){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11814_11817,G__11815_11818)) +; +goog.object.set(G__11814_11817,G__11815_11818,G__11816_11819); +/** + * Returns a sequence of the map's values. + */ +cljs.core.vals = (function cljs$core$vals(hash_map){ +var temp__4657__auto__ = cljs.core.seq(hash_map); +if(temp__4657__auto__){ +var mseq = temp__4657__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__8750__auto__ = []; +var len__8743__auto___11823 = arguments.length; +var i__8744__auto___11824 = (0); +while(true){ +if((i__8744__auto___11824 < len__8743__auto___11823)){ +args__8750__auto__.push((arguments[i__8744__auto___11824])); + +var G__11825 = (i__8744__auto___11824 + (1)); +i__8744__auto___11824 = G__11825; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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__11820_SHARP_,p2__11821_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2((function (){var or__7566__auto__ = p1__11820_SHARP_; +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +})(),p2__11821_SHARP_); +}),maps); +} else { +return null; +} +}); + +cljs.core.merge.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.core.merge.cljs$lang$applyTo = (function (seq11822){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11822)); +}); + +/** + * 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__8750__auto__ = []; +var len__8743__auto___11830 = arguments.length; +var i__8744__auto___11831 = (0); +while(true){ +if((i__8744__auto___11831 < len__8743__auto___11830)){ +args__8750__auto__.push((arguments[i__8744__auto___11831])); + +var G__11832 = (i__8744__auto___11831 + (1)); +i__8744__auto___11831 = G__11832; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((1) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((1)),(0),null)):null); +return cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8751__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.first(e); +var v = cljs.core.second(e); +if(cljs.core.contains_QMARK_(m,k)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11828 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11829 = v; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11828,G__11829) : f.call(null,G__11828,G__11829)); +})()); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,v); +} +}); +var merge2 = ((function (merge_entry){ +return (function (m1,m2){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(merge_entry,(function (){var or__7566__auto__ = m1; +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +})(),cljs.core.seq(m2)); +});})(merge_entry)) +; +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 (seq11826){ +var G__11827 = cljs.core.first(seq11826); +var seq11826__$1 = cljs.core.next(seq11826); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11827,seq11826__$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__11833 = ((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__11834 = cljs.core.next(keys); +ret = G__11833; +keys = G__11834; +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11838 = cljs.core.seq(coll); +var chunk__11839 = null; +var count__11840 = (0); +var i__11841 = (0); +while(true){ +if((i__11841 < count__11840)){ +var vec__11842 = chunk__11839.cljs$core$IIndexed$_nth$arity$2(null,i__11841); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11842,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11842,(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__11848 = seq__11838; +var G__11849 = chunk__11839; +var G__11850 = count__11840; +var G__11851 = (i__11841 + (1)); +seq__11838 = G__11848; +chunk__11839 = G__11849; +count__11840 = G__11850; +i__11841 = G__11851; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11838); +if(temp__4657__auto__){ +var seq__11838__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11838__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__11838__$1); +var G__11852 = cljs.core.chunk_rest(seq__11838__$1); +var G__11853 = c__8407__auto__; +var G__11854 = cljs.core.count(c__8407__auto__); +var G__11855 = (0); +seq__11838 = G__11852; +chunk__11839 = G__11853; +count__11840 = G__11854; +i__11841 = G__11855; +continue; +} else { +var vec__11845 = cljs.core.first(seq__11838__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11845,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11845,(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__11856 = cljs.core.next(seq__11838__$1); +var G__11857 = null; +var G__11858 = (0); +var G__11859 = (0); +seq__11838 = G__11856; +chunk__11839 = G__11857; +count__11840 = G__11858; +i__11841 = G__11859; +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; +if(cljs.core._contains_key_QMARK_(self__.hash_map,v)){ +return v; +} 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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__auto____$1; +} +}); + +cljs.core.PersistentHashSet.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return ((cljs.core.set_QMARK_(other)) && ((cljs.core.count(coll__$1) === cljs.core.count(other))) && (cljs.core.reduce_kv(((function (coll__$1){ +return (function (p1__11836_SHARP_,p2__11835_SHARP_){ +var or__7566__auto__ = cljs.core.contains_QMARK_(other,p2__11835_SHARP_); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return cljs.core.reduced(false); +} +});})(coll__$1)) +,true,self__.hash_map))); +}); + +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentHashSet(meta__$1,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() { +var G__11860 = null; +var G__11860__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11860__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11860 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11860__2.call(this,self__,k); +case 3: +return G__11860__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11860.cljs$core$IFn$_invoke$arity$2 = G__11860__2; +G__11860.cljs$core$IFn$_invoke$arity$3 = G__11860__3; +return G__11860; +})() +; + +cljs.core.PersistentHashSet.prototype.apply = (function (self__,args11837){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11837))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11861 = (i + (1)); +var G__11862 = cljs.core._assoc_BANG_(out,(items[i]),null); +i = G__11861; +out = G__11862; +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__11863 = (i + (1)); +var G__11864 = cljs.core._conj_BANG_(out,(items[i])); +i = G__11863; +out = G__11864; +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__8512__auto___11865 = len; +var i_11866 = (0); +while(true){ +if((i_11866 < n__8512__auto___11865)){ +cljs.core._conj_BANG_(t,(items[i_11866])); + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(t),(i_11866 + (1)))){ +} else { +throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((items[i_11866]))].join(''))); +} + +var G__11867 = (i_11866 + (1)); +i_11866 = G__11867; +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__8512__auto___11868 = len; +var i_11869 = (0); +while(true){ +if((i_11869 < n__8512__auto___11868)){ +cljs.core._conj_BANG_(t,(items[i_11869])); + +var G__11870 = (i_11869 + (1)); +i_11869 = G__11870; +continue; +} else { +} +break; +} + +return cljs.core._persistent_BANG_(t); +}); +var G__11871_11874 = cljs.core.PersistentHashSet.prototype; +var G__11872_11875 = cljs.core.ITER_SYMBOL; +var G__11873_11876 = ((function (G__11871_11874,G__11872_11875){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11871_11874,G__11872_11875)) +; +goog.object.set(G__11871_11874,G__11872_11875,G__11873_11876); + +/** +* @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.cljs$core$IFn$_invoke$arity$3(self__.transient_map,v,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return not_found; +} else { +return v; +} +}); + +cljs.core.TransientHashSet.prototype.call = (function() { +var G__11878 = null; +var G__11878__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var tcoll = self____$1; +if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return null; +} else { +return k; +} +}); +var G__11878__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var tcoll = self____$1; +if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return not_found; +} else { +return k; +} +}); +G__11878 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11878__2.call(this,self__,k); +case 3: +return G__11878__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11878.cljs$core$IFn$_invoke$arity$2 = G__11878__2; +G__11878.cljs$core$IFn$_invoke$arity$3 = G__11878__3; +return G__11878; +})() +; + +cljs.core.TransientHashSet.prototype.apply = (function (self__,args11877){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11877))); +}); + +cljs.core.TransientHashSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var tcoll = this; +if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(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.cljs$core$IFn$_invoke$arity$3(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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11882 = cljs.core.seq(coll); +var chunk__11883 = null; +var count__11884 = (0); +var i__11885 = (0); +while(true){ +if((i__11885 < count__11884)){ +var vec__11886 = chunk__11883.cljs$core$IIndexed$_nth$arity$2(null,i__11885); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11886,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11886,(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__11892 = seq__11882; +var G__11893 = chunk__11883; +var G__11894 = count__11884; +var G__11895 = (i__11885 + (1)); +seq__11882 = G__11892; +chunk__11883 = G__11893; +count__11884 = G__11894; +i__11885 = G__11895; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11882); +if(temp__4657__auto__){ +var seq__11882__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11882__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__11882__$1); +var G__11896 = cljs.core.chunk_rest(seq__11882__$1); +var G__11897 = c__8407__auto__; +var G__11898 = cljs.core.count(c__8407__auto__); +var G__11899 = (0); +seq__11882 = G__11896; +chunk__11883 = G__11897; +count__11884 = G__11898; +i__11885 = G__11899; +continue; +} else { +var vec__11889 = cljs.core.first(seq__11882__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11889,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11889,(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__11900 = cljs.core.next(seq__11882__$1); +var G__11901 = null; +var G__11902 = (0); +var G__11903 = (0); +seq__11882 = G__11900; +chunk__11883 = G__11901; +count__11884 = G__11902; +i__11885 = G__11903; +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__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__auto____$1; +} +}); + +cljs.core.PersistentTreeSet.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return ((cljs.core.set_QMARK_(other)) && ((cljs.core.count(coll__$1) === cljs.core.count(other))) && (cljs.core.reduce_kv(((function (coll__$1){ +return (function (p1__11880_SHARP_,p2__11879_SHARP_){ +var or__7566__auto__ = cljs.core.contains_QMARK_(other,p2__11879_SHARP_); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return cljs.core.reduced(false); +} +});})(coll__$1)) +,true,self__.tree_map))); +}); + +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,meta__$1){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeSet(meta__$1,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() { +var G__11904 = null; +var G__11904__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11904__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var coll = self____$1; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11904 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11904__2.call(this,self__,k); +case 3: +return G__11904__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11904.cljs$core$IFn$_invoke$arity$2 = G__11904__2; +G__11904.cljs$core$IFn$_invoke$arity$3 = G__11904__3; +return G__11904; +})() +; + +cljs.core.PersistentTreeSet.prototype.apply = (function (self__,args11881){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11881))); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +var G__11905_11908 = cljs.core.PersistentTreeSet.prototype; +var G__11906_11909 = cljs.core.ITER_SYMBOL; +var G__11907_11910 = ((function (G__11905_11908,G__11906_11909){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__11905_11908,G__11906_11909)) +; +goog.object.set(G__11905_11908,G__11906_11909,G__11907_11910); +cljs.core.set_from_indexed_seq = (function cljs$core$set_from_indexed_seq(iseq){ +var arr = iseq.arr; +var ret = (function (){var a__8505__auto__ = arr; +var l__8506__auto__ = a__8505__auto__.length; +var i = (0); +var res = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); +while(true){ +if((i < l__8506__auto__)){ +var G__11911 = (i + (1)); +var G__11912 = res.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,(arr[i])); +i = G__11911; +res = G__11912; +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){ +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__11913 = cljs.core.next(in$__$1); +var G__11914 = out.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,in$__$1.cljs$core$ISeq$_first$arity$1(null)); +in$__$1 = G__11913; +out = G__11914; +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__11917 = arguments.length; +switch (G__11917) { +case 0: +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___11919 = arguments.length; +var i__8744__auto___11920 = (0); +while(true){ +if((i__8744__auto___11920 < len__8743__auto___11919)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11920])); + +var G__11921 = (i__8744__auto___11920 + (1)); +i__8744__auto___11920 = G__11921; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((0)),(0),null)); +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic(argseq__8763__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 (seq11916){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11916)); +}); + +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__8750__auto__ = []; +var len__8743__auto___11923 = arguments.length; +var i__8744__auto___11924 = (0); +while(true){ +if((i__8744__auto___11924 < len__8743__auto___11923)){ +args__8750__auto__.push((arguments[i__8744__auto___11924])); + +var G__11925 = (i__8744__auto___11924 + (1)); +i__8744__auto___11924 = G__11925; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq11922){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11922)); +}); + +/** + * 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__8750__auto__ = []; +var len__8743__auto___11928 = arguments.length; +var i__8744__auto___11929 = (0); +while(true){ +if((i__8744__auto___11929 < len__8743__auto___11928)){ +args__8750__auto__.push((arguments[i__8744__auto___11929])); + +var G__11930 = (i__8744__auto___11929 + (1)); +i__8744__auto___11929 = G__11930; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((1) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((1)),(0),null)):null); +return cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8751__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 (seq11926){ +var G__11927 = cljs.core.first(seq11926); +var seq11926__$1 = cljs.core.next(seq11926); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11927,seq11926__$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__11934 = arguments.length; +switch (G__11934) { +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__11931_SHARP_){ +var temp__4655__auto__ = cljs.core.find(smap,p1__11931_SHARP_); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +return cljs.core.val(e); +} else { +return p1__11931_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 (n){ +return (function (v,i){ +var temp__4655__auto__ = cljs.core.find(smap,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(v,i)); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(v,i,cljs.core.second(e)); +} else { +return v; +} +});})(n)) +,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__11932_SHARP_){ +var temp__4655__auto__ = cljs.core.find(smap,p1__11932_SHARP_); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +return cljs.core.second(e); +} else { +return p1__11932_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__11937 = arguments.length; +switch (G__11937) { +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 (seen){ +return (function() { +var G__11948 = null; +var G__11948__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11948__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__11948__2 = (function (result,input){ +if(cljs.core.contains_QMARK_(cljs.core.deref(seen),input)){ +return result; +} else { +cljs.core._vreset_BANG_(seen,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core._deref(seen),input)); + +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); +} +}); +G__11948 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11948__0.call(this); +case 1: +return G__11948__1.call(this,result); +case 2: +return G__11948__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11948.cljs$core$IFn$_invoke$arity$0 = G__11948__0; +G__11948.cljs$core$IFn$_invoke$arity$1 = G__11948__1; +G__11948.cljs$core$IFn$_invoke$arity$2 = G__11948__2; +return G__11948; +})() +;})(seen)) +}); +}); + +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 (){ +var fexpr__11942 = (function (p__11943,seen__$1){ +while(true){ +var vec__11944 = p__11943; +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11944,(0),null); +var xs__$1 = vec__11944; +var temp__4657__auto__ = cljs.core.seq(xs__$1); +if(temp__4657__auto__){ +var s = temp__4657__auto__; +if(cljs.core.contains_QMARK_(seen__$1,f)){ +var G__11949 = cljs.core.rest(s); +var G__11950 = seen__$1; +p__11943 = G__11949; +seen__$1 = G__11950; +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; +} +}); +return fexpr__11942(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__11951 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,cljs.core.first(s__$1)); +var G__11952 = cljs.core.next(s__$1); +ret = G__11951; +s__$1 = G__11952; +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__11954 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(map,cljs.core.first(ks),cljs.core.first(vs)); +var G__11955 = cljs.core.next(ks); +var G__11956 = cljs.core.next(vs); +map = G__11954; +ks = G__11955; +vs = G__11956; +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__11964 = arguments.length; +switch (G__11964) { +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__8762__auto__ = []; +var len__8743__auto___11966 = arguments.length; +var i__8744__auto___11967 = (0); +while(true){ +if((i__8744__auto___11967 < len__8743__auto___11966)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11967])); + +var G__11968 = (i__8744__auto___11967 + (1)); +i__8744__auto___11967 = G__11968; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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__11957_SHARP_,p2__11958_SHARP_){ +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,p1__11957_SHARP_,p2__11958_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 (seq11960){ +var G__11961 = cljs.core.first(seq11960); +var seq11960__$1 = cljs.core.next(seq11960); +var G__11962 = cljs.core.first(seq11960__$1); +var seq11960__$2 = cljs.core.next(seq11960__$1); +var G__11963 = cljs.core.first(seq11960__$2); +var seq11960__$3 = cljs.core.next(seq11960__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11961,G__11962,G__11963,seq11960__$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__11976 = arguments.length; +switch (G__11976) { +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__8762__auto__ = []; +var len__8743__auto___11978 = arguments.length; +var i__8744__auto___11979 = (0); +while(true){ +if((i__8744__auto___11979 < len__8743__auto___11978)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___11979])); + +var G__11980 = (i__8744__auto___11979 + (1)); +i__8744__auto___11979 = G__11980; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__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__11969_SHARP_,p2__11970_SHARP_){ +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,p1__11969_SHARP_,p2__11970_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 (seq11972){ +var G__11973 = cljs.core.first(seq11972); +var seq11972__$1 = cljs.core.next(seq11972); +var G__11974 = cljs.core.first(seq11972__$1); +var seq11972__$2 = cljs.core.next(seq11972__$1); +var G__11975 = cljs.core.first(seq11972__$2); +var seq11972__$3 = cljs.core.next(seq11972__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11973,G__11974,G__11975,seq11972__$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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__11982 = arguments.length; +switch (G__11982) { +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 (a){ +return (function() { +var G__11984 = null; +var G__11984__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11984__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__11984__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__11984 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11984__0.call(this); +case 1: +return G__11984__1.call(this,result); +case 2: +return G__11984__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11984.cljs$core$IFn$_invoke$arity$0 = G__11984__0; +G__11984.cljs$core$IFn$_invoke$arity$1 = G__11984__1; +G__11984.cljs$core$IFn$_invoke$arity$2 = G__11984__2; +return G__11984; +})() +;})(a)) +}); +}); + +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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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 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__11986 = arguments.length; +switch (G__11986) { +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__11989 = null; +var G__11989__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11989__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__11989__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__11989 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11989__0.call(this); +case 1: +return G__11989__1.call(this,result); +case 2: +return G__11989__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__11989.cljs$core$IFn$_invoke$arity$0 = G__11989__0; +G__11989.cljs$core$IFn$_invoke$arity$1 = G__11989__1; +G__11989.cljs$core$IFn$_invoke$arity$2 = G__11989__2; +return G__11989; +})() +}); +}); + +cljs.core.take_while.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__auto__; +if(cljs.core.truth_((function (){var G__11987 = cljs.core.first(s); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__11987) : pred.call(null,G__11987)); +})())){ +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__11990 = (function (){var G__11992 = cljs.core._entry_key(sc,e); +var G__11993 = key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11992,G__11993) : comp.call(null,G__11992,G__11993)); +})(); +var G__11991 = (0); +return (test.cljs$core$IFn$_invoke$arity$2 ? test.cljs$core$IFn$_invoke$arity$2(G__11990,G__11991) : test.call(null,G__11990,G__11991)); +}); +}); +/** + * 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__11995 = arguments.length; +switch (G__11995) { +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__11996 = cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._GT_,cljs.core._GT__EQ_]); +return (fexpr__11996.cljs$core$IFn$_invoke$arity$1 ? fexpr__11996.cljs$core$IFn$_invoke$arity$1(test) : fexpr__11996.call(null,test)); +})())){ +var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,key,true); +if(cljs.core.truth_(temp__4657__auto__)){ +var vec__11997 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11997,(0),null); +var s = vec__11997; +if(cljs.core.truth_((include.cljs$core$IFn$_invoke$arity$1 ? include.cljs$core$IFn$_invoke$arity$1(e) : include.call(null,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__4657__auto__ = cljs.core._sorted_seq_from(sc,start_key,true); +if(cljs.core.truth_(temp__4657__auto__)){ +var vec__12000 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12000,(0),null); +var s = vec__12000; +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,end_test,end_key),(cljs.core.truth_((function (){var fexpr__12003 = cljs.core.mk_bound_fn(sc,start_test,start_key); +return (fexpr__12003.cljs$core$IFn$_invoke$arity$1 ? fexpr__12003.cljs$core$IFn$_invoke$arity$1(e) : fexpr__12003.call(null,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__12006 = arguments.length; +switch (G__12006) { +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__12007 = cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._LT_,cljs.core._LT__EQ_]); +return (fexpr__12007.cljs$core$IFn$_invoke$arity$1 ? fexpr__12007.cljs$core$IFn$_invoke$arity$1(test) : fexpr__12007.call(null,test)); +})())){ +var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,key,false); +if(cljs.core.truth_(temp__4657__auto__)){ +var vec__12008 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12008,(0),null); +var s = vec__12008; +if(cljs.core.truth_((include.cljs$core$IFn$_invoke$arity$1 ? include.cljs$core$IFn$_invoke$arity$1(e) : include.call(null,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__4657__auto__ = cljs.core._sorted_seq_from(sc,end_key,false); +if(cljs.core.truth_(temp__4657__auto__)){ +var vec__12011 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12011,(0),null); +var s = vec__12011; +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,start_test,start_key),(cljs.core.truth_((function (){var fexpr__12014 = cljs.core.mk_bound_fn(sc,end_test,end_key); +return (fexpr__12014.cljs$core$IFn$_invoke$arity$1 ? fexpr__12014.cljs$core$IFn$_invoke$arity$1(e) : fexpr__12014.call(null,e)); +})())?s:cljs.core.next(s))); +} else { +return null; +} +}); + +cljs.core.rsubseq.cljs$lang$maxFixedArity = 5; + + +/** +* @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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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.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.Range = (function (meta,start,end,step,__hash){ +this.meta = meta; +this.start = start; +this.end = end; +this.step = step; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32375006; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +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__12017 = null; +var G__12017__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__12017__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__12017 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__12017__1.call(this,x); +case 2: +return G__12017__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12017.cljs$core$IFn$_invoke$arity$1 = G__12017__1; +G__12017.cljs$core$IFn$_invoke$arity$2 = G__12017__2; +return G__12017; +})() +; + +cljs.core.Range.prototype.lastIndexOf = (function() { +var G__12018 = null; +var G__12018__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__12018__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__12018 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__12018__1.call(this,x); +case 2: +return G__12018__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12018.cljs$core$IFn$_invoke$arity$1 = G__12018__1; +G__12018.cljs$core$IFn$_invoke$arity$2 = G__12018__2; +return G__12018; +})() +; + +cljs.core.Range.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.Range.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.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__.__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(self__.meta,(self__.start + self__.step),self__.end,self__.step,null)); +} else { +return null; +} +} else { +if(((self__.start + self__.step) > self__.end)){ +return (new cljs.core.Range(self__.meta,(self__.start + self__.step),self__.end,self__.step,null)); +} else { +return null; +} +} +}); + +cljs.core.Range.prototype.cljs$core$ICounted$_count$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +if(cljs.core.not(rng__$1.cljs$core$ISeqable$_seq$arity$1(null))){ +return (0); +} else { +var G__12016 = ((self__.end - self__.start) / self__.step); +return Math.ceil(G__12016); +} +}); + +cljs.core.Range.prototype.cljs$core$IHash$_hash$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +var h__8022__auto__ = self__.__hash; +if(!((h__8022__auto__ == null))){ +return h__8022__auto__; +} else { +var h__8022__auto____$1 = cljs.core.hash_ordered_coll(rng__$1); +self__.__hash = h__8022__auto____$1; + +return h__8022__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._with_meta(cljs.core.List.EMPTY,self__.meta); +}); + +cljs.core.Range.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.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__12019 = (i + self__.step); +var G__12020 = ret__$1; +i = G__12019; +ret = G__12020; +continue; +} +} else { +return ret; +} +break; +} +}); + +cljs.core.Range.prototype.cljs$core$ISeq$_first$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +if((rng__$1.cljs$core$ISeqable$_seq$arity$1(null) == null)){ +return null; +} else { +return self__.start; +} +}); + +cljs.core.Range.prototype.cljs$core$ISeq$_rest$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +if(!((rng__$1.cljs$core$ISeqable$_seq$arity$1(null) == null))){ +return (new cljs.core.Range(self__.meta,(self__.start + self__.step),self__.end,self__.step,null)); +} else { +return cljs.core.List.EMPTY; +} +}); + +cljs.core.Range.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +if((self__.step > (0))){ +if((self__.start < self__.end)){ +return rng__$1; +} else { +return null; +} +} else { +if((self__.step < (0))){ +if((self__.start > self__.end)){ +return rng__$1; +} else { +return null; +} +} else { +if((self__.start === self__.end)){ +return null; +} else { +return rng__$1; +} + +} +} +}); + +cljs.core.Range.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (rng,meta__$1){ +var self__ = this; +var rng__$1 = this; +return (new cljs.core.Range(meta__$1,self__.start,self__.end,self__.step,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.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,"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,"__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__auto__,"cljs.core/Range"); +}); + +/** + * Positional factory function for cljs.core/Range. + */ +cljs.core.__GT_Range = (function cljs$core$__GT_Range(meta,start,end,step,__hash){ +return (new cljs.core.Range(meta,start,end,step,__hash)); +}); + +var G__12021_12024 = cljs.core.Range.prototype; +var G__12022_12025 = cljs.core.ITER_SYMBOL; +var G__12023_12026 = ((function (G__12021_12024,G__12022_12025){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__12021_12024,G__12022_12025)) +; +goog.object.set(G__12021_12024,G__12022_12025,G__12023_12026); +/** + * 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__12028 = arguments.length; +switch (G__12028) { +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){ +return (new cljs.core.Range(null,start,end,step,null)); +}); + +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__12031 = arguments.length; +switch (G__12031) { +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 (ia){ +return (function() { +var G__12033 = null; +var G__12033__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__12033__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__12033__2 = (function (result,input){ +var i = cljs.core._vreset_BANG_(ia,(cljs.core._deref(ia) + (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__12033 = function(result,input){ +switch(arguments.length){ +case 0: +return G__12033__0.call(this); +case 1: +return G__12033__1.call(this,result); +case 2: +return G__12033__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12033.cljs$core$IFn$_invoke$arity$0 = G__12033__0; +G__12033.cljs$core$IFn$_invoke$arity$1 = G__12033__1; +G__12033.cljs$core$IFn$_invoke$arity$2 = G__12033__2; +return G__12033; +})() +;})(ia)) +}); +}); + +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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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__12036 = arguments.length; +switch (G__12036) { +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 (a,pa){ +return (function() { +var G__12038 = null; +var G__12038__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__12038__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__12038__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__12038 = function(result,input){ +switch(arguments.length){ +case 0: +return G__12038__0.call(this); +case 1: +return G__12038__1.call(this,result); +case 2: +return G__12038__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12038.cljs$core$IFn$_invoke$arity$0 = G__12038__0; +G__12038.cljs$core$IFn$_invoke$arity$1 = G__12038__1; +G__12038.cljs$core$IFn$_invoke$arity$2 = G__12038__2; +return G__12038; +})() +;})(a,pa)) +}); +}); + +cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__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 (fst,fv,s,temp__4657__auto__){ +return (function (p1__12034_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__12034_SHARP_) : f.call(null,p1__12034_SHARP_))); +});})(fst,fv,s,temp__4657__auto__)) +,cljs.core.next(s))); +return cljs.core.cons(run,cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2(f,cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2(cljs.core.count(run),s)))); +} 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__12040 = arguments.length; +switch (G__12040) { +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__4655__auto__ = cljs.core.seq(coll); +if(temp__4655__auto__){ +var s = temp__4655__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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__auto__; +return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3(f,(function (){var G__12041 = init; +var G__12042 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__12041,G__12042) : f.call(null,G__12041,G__12042)); +})(),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__12059 = arguments.length; +switch (G__12059) { +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__8762__auto__ = []; +var len__8743__auto___12061 = arguments.length; +var i__8744__auto___12062 = (0); +while(true){ +if((i__8744__auto___12062 < len__8743__auto___12061)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___12062])); + +var G__12063 = (i__8744__auto___12062 + (1)); +i__8744__auto___12062 = G__12063; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((3)),(0),null)); +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__8763__auto__); + +} +}); + +cljs.core.juxt.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function() { +var G__12064 = null; +var G__12064__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__12064__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__12064__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__12064__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__12064__4 = (function() { +var G__12065__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__12065 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__12066__i = 0, G__12066__a = new Array(arguments.length - 3); +while (G__12066__i < G__12066__a.length) {G__12066__a[G__12066__i] = arguments[G__12066__i + 3]; ++G__12066__i;} + args = new cljs.core.IndexedSeq(G__12066__a,0,null); +} +return G__12065__delegate.call(this,x,y,z,args);}; +G__12065.cljs$lang$maxFixedArity = 3; +G__12065.cljs$lang$applyTo = (function (arglist__12067){ +var x = cljs.core.first(arglist__12067); +arglist__12067 = cljs.core.next(arglist__12067); +var y = cljs.core.first(arglist__12067); +arglist__12067 = cljs.core.next(arglist__12067); +var z = cljs.core.first(arglist__12067); +var args = cljs.core.rest(arglist__12067); +return G__12065__delegate(x,y,z,args); +}); +G__12065.cljs$core$IFn$_invoke$arity$variadic = G__12065__delegate; +return G__12065; +})() +; +G__12064 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__12064__0.call(this); +case 1: +return G__12064__1.call(this,x); +case 2: +return G__12064__2.call(this,x,y); +case 3: +return G__12064__3.call(this,x,y,z); +default: +var G__12068 = null; +if (arguments.length > 3) { +var G__12069__i = 0, G__12069__a = new Array(arguments.length - 3); +while (G__12069__i < G__12069__a.length) {G__12069__a[G__12069__i] = arguments[G__12069__i + 3]; ++G__12069__i;} +G__12068 = new cljs.core.IndexedSeq(G__12069__a,0,null); +} +return G__12064__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12068); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12064.cljs$lang$maxFixedArity = 3; +G__12064.cljs$lang$applyTo = G__12064__4.cljs$lang$applyTo; +G__12064.cljs$core$IFn$_invoke$arity$0 = G__12064__0; +G__12064.cljs$core$IFn$_invoke$arity$1 = G__12064__1; +G__12064.cljs$core$IFn$_invoke$arity$2 = G__12064__2; +G__12064.cljs$core$IFn$_invoke$arity$3 = G__12064__3; +G__12064.cljs$core$IFn$_invoke$arity$variadic = G__12064__4.cljs$core$IFn$_invoke$arity$variadic; +return G__12064; +})() +}); + +cljs.core.juxt.cljs$core$IFn$_invoke$arity$2 = (function (f,g){ +return (function() { +var G__12070 = null; +var G__12070__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__12070__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__12070__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__12070__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__12070__4 = (function() { +var G__12071__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__12071 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__12072__i = 0, G__12072__a = new Array(arguments.length - 3); +while (G__12072__i < G__12072__a.length) {G__12072__a[G__12072__i] = arguments[G__12072__i + 3]; ++G__12072__i;} + args = new cljs.core.IndexedSeq(G__12072__a,0,null); +} +return G__12071__delegate.call(this,x,y,z,args);}; +G__12071.cljs$lang$maxFixedArity = 3; +G__12071.cljs$lang$applyTo = (function (arglist__12073){ +var x = cljs.core.first(arglist__12073); +arglist__12073 = cljs.core.next(arglist__12073); +var y = cljs.core.first(arglist__12073); +arglist__12073 = cljs.core.next(arglist__12073); +var z = cljs.core.first(arglist__12073); +var args = cljs.core.rest(arglist__12073); +return G__12071__delegate(x,y,z,args); +}); +G__12071.cljs$core$IFn$_invoke$arity$variadic = G__12071__delegate; +return G__12071; +})() +; +G__12070 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__12070__0.call(this); +case 1: +return G__12070__1.call(this,x); +case 2: +return G__12070__2.call(this,x,y); +case 3: +return G__12070__3.call(this,x,y,z); +default: +var G__12074 = null; +if (arguments.length > 3) { +var G__12075__i = 0, G__12075__a = new Array(arguments.length - 3); +while (G__12075__i < G__12075__a.length) {G__12075__a[G__12075__i] = arguments[G__12075__i + 3]; ++G__12075__i;} +G__12074 = new cljs.core.IndexedSeq(G__12075__a,0,null); +} +return G__12070__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12074); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12070.cljs$lang$maxFixedArity = 3; +G__12070.cljs$lang$applyTo = G__12070__4.cljs$lang$applyTo; +G__12070.cljs$core$IFn$_invoke$arity$0 = G__12070__0; +G__12070.cljs$core$IFn$_invoke$arity$1 = G__12070__1; +G__12070.cljs$core$IFn$_invoke$arity$2 = G__12070__2; +G__12070.cljs$core$IFn$_invoke$arity$3 = G__12070__3; +G__12070.cljs$core$IFn$_invoke$arity$variadic = G__12070__4.cljs$core$IFn$_invoke$arity$variadic; +return G__12070; +})() +}); + +cljs.core.juxt.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ +return (function() { +var G__12076 = null; +var G__12076__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__12076__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__12076__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__12076__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__12076__4 = (function() { +var G__12077__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__12077 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__12078__i = 0, G__12078__a = new Array(arguments.length - 3); +while (G__12078__i < G__12078__a.length) {G__12078__a[G__12078__i] = arguments[G__12078__i + 3]; ++G__12078__i;} + args = new cljs.core.IndexedSeq(G__12078__a,0,null); +} +return G__12077__delegate.call(this,x,y,z,args);}; +G__12077.cljs$lang$maxFixedArity = 3; +G__12077.cljs$lang$applyTo = (function (arglist__12079){ +var x = cljs.core.first(arglist__12079); +arglist__12079 = cljs.core.next(arglist__12079); +var y = cljs.core.first(arglist__12079); +arglist__12079 = cljs.core.next(arglist__12079); +var z = cljs.core.first(arglist__12079); +var args = cljs.core.rest(arglist__12079); +return G__12077__delegate(x,y,z,args); +}); +G__12077.cljs$core$IFn$_invoke$arity$variadic = G__12077__delegate; +return G__12077; +})() +; +G__12076 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__12076__0.call(this); +case 1: +return G__12076__1.call(this,x); +case 2: +return G__12076__2.call(this,x,y); +case 3: +return G__12076__3.call(this,x,y,z); +default: +var G__12080 = null; +if (arguments.length > 3) { +var G__12081__i = 0, G__12081__a = new Array(arguments.length - 3); +while (G__12081__i < G__12081__a.length) {G__12081__a[G__12081__i] = arguments[G__12081__i + 3]; ++G__12081__i;} +G__12080 = new cljs.core.IndexedSeq(G__12081__a,0,null); +} +return G__12076__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12080); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12076.cljs$lang$maxFixedArity = 3; +G__12076.cljs$lang$applyTo = G__12076__4.cljs$lang$applyTo; +G__12076.cljs$core$IFn$_invoke$arity$0 = G__12076__0; +G__12076.cljs$core$IFn$_invoke$arity$1 = G__12076__1; +G__12076.cljs$core$IFn$_invoke$arity$2 = G__12076__2; +G__12076.cljs$core$IFn$_invoke$arity$3 = G__12076__3; +G__12076.cljs$core$IFn$_invoke$arity$variadic = G__12076__4.cljs$core$IFn$_invoke$arity$variadic; +return G__12076; +})() +}); + +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 (fs__$1){ +return (function() { +var G__12082 = null; +var G__12082__0 = (function (){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__12044_SHARP_,p2__12045_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12044_SHARP_,(p2__12045_SHARP_.cljs$core$IFn$_invoke$arity$0 ? p2__12045_SHARP_.cljs$core$IFn$_invoke$arity$0() : p2__12045_SHARP_.call(null))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__12082__1 = (function (x){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__12046_SHARP_,p2__12047_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12046_SHARP_,(p2__12047_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p2__12047_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p2__12047_SHARP_.call(null,x))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__12082__2 = (function (x,y){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__12048_SHARP_,p2__12049_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12048_SHARP_,(p2__12049_SHARP_.cljs$core$IFn$_invoke$arity$2 ? p2__12049_SHARP_.cljs$core$IFn$_invoke$arity$2(x,y) : p2__12049_SHARP_.call(null,x,y))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__12082__3 = (function (x,y,z){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__12050_SHARP_,p2__12051_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12050_SHARP_,(p2__12051_SHARP_.cljs$core$IFn$_invoke$arity$3 ? p2__12051_SHARP_.cljs$core$IFn$_invoke$arity$3(x,y,z) : p2__12051_SHARP_.call(null,x,y,z))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__12082__4 = (function() { +var G__12083__delegate = function (x,y,z,args){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__12052_SHARP_,p2__12053_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12052_SHARP_,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(p2__12053_SHARP_,x,y,z,args)); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}; +var G__12083 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__12084__i = 0, G__12084__a = new Array(arguments.length - 3); +while (G__12084__i < G__12084__a.length) {G__12084__a[G__12084__i] = arguments[G__12084__i + 3]; ++G__12084__i;} + args = new cljs.core.IndexedSeq(G__12084__a,0,null); +} +return G__12083__delegate.call(this,x,y,z,args);}; +G__12083.cljs$lang$maxFixedArity = 3; +G__12083.cljs$lang$applyTo = (function (arglist__12085){ +var x = cljs.core.first(arglist__12085); +arglist__12085 = cljs.core.next(arglist__12085); +var y = cljs.core.first(arglist__12085); +arglist__12085 = cljs.core.next(arglist__12085); +var z = cljs.core.first(arglist__12085); +var args = cljs.core.rest(arglist__12085); +return G__12083__delegate(x,y,z,args); +}); +G__12083.cljs$core$IFn$_invoke$arity$variadic = G__12083__delegate; +return G__12083; +})() +; +G__12082 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__12082__0.call(this); +case 1: +return G__12082__1.call(this,x); +case 2: +return G__12082__2.call(this,x,y); +case 3: +return G__12082__3.call(this,x,y,z); +default: +var G__12086 = null; +if (arguments.length > 3) { +var G__12087__i = 0, G__12087__a = new Array(arguments.length - 3); +while (G__12087__i < G__12087__a.length) {G__12087__a[G__12087__i] = arguments[G__12087__i + 3]; ++G__12087__i;} +G__12086 = new cljs.core.IndexedSeq(G__12087__a,0,null); +} +return G__12082__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12086); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12082.cljs$lang$maxFixedArity = 3; +G__12082.cljs$lang$applyTo = G__12082__4.cljs$lang$applyTo; +G__12082.cljs$core$IFn$_invoke$arity$0 = G__12082__0; +G__12082.cljs$core$IFn$_invoke$arity$1 = G__12082__1; +G__12082.cljs$core$IFn$_invoke$arity$2 = G__12082__2; +G__12082.cljs$core$IFn$_invoke$arity$3 = G__12082__3; +G__12082.cljs$core$IFn$_invoke$arity$variadic = G__12082__4.cljs$core$IFn$_invoke$arity$variadic; +return G__12082; +})() +;})(fs__$1)) +}); + +/** @this {Function} */ +cljs.core.juxt.cljs$lang$applyTo = (function (seq12055){ +var G__12056 = cljs.core.first(seq12055); +var seq12055__$1 = cljs.core.next(seq12055); +var G__12057 = cljs.core.first(seq12055__$1); +var seq12055__$2 = cljs.core.next(seq12055__$1); +var G__12058 = cljs.core.first(seq12055__$2); +var seq12055__$3 = cljs.core.next(seq12055__$2); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12056,G__12057,G__12058,seq12055__$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__12089 = arguments.length; +switch (G__12089) { +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__4657__auto__ = cljs.core.seq(coll); +if(temp__4657__auto__){ +var s = temp__4657__auto__; +var G__12091 = cljs.core.next(s); +coll = G__12091; +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__12092 = (n - (1)); +var G__12093 = cljs.core.next(coll); +n = G__12092; +coll = G__12093; +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__12095 = arguments.length; +switch (G__12095) { +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(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(matches),s)){ +if((cljs.core.count(matches) === (1))){ +return cljs.core.first(matches); +} 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((cljs.core.count(matches) === (1))){ +return cljs.core.first(matches); +} else { +return cljs.core.vec(matches); +} +} +} else { +throw (new TypeError("re-find must match against a string.")); +} +}); +/** + * Returns a lazy sequence of successive matches of re in s. + */ +cljs.core.re_seq = (function cljs$core$re_seq(re,s){ +var match_data = cljs.core.re_find(re,s); +var match_idx = s.search(re); +var match_str = ((cljs.core.coll_QMARK_(match_data))?cljs.core.first(match_data):match_data); +var post_idx = (match_idx + (function (){var x__7918__auto__ = (1); +var y__7919__auto__ = cljs.core.count(match_str); +return ((x__7918__auto__ > y__7919__auto__) ? x__7918__auto__ : y__7919__auto__); +})()); +var post_match = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,post_idx); +if(cljs.core.truth_(match_data)){ +return (new cljs.core.LazySeq(null,((function (match_data,match_idx,match_str,post_idx,post_match){ +return (function (){ +return cljs.core.cons(match_data,(((post_idx <= cljs.core.count(s)))?(cljs.core.re_seq.cljs$core$IFn$_invoke$arity$2 ? cljs.core.re_seq.cljs$core$IFn$_invoke$arity$2(re,post_match) : cljs.core.re_seq.call(null,re,post_match)):null)); +});})(match_data,match_idx,match_str,post_idx,post_match)) +,null,null)); +} else { +return null; +} +}); +/** + * 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__12097 = cljs.core.re_find(/^\(\?([idmsux]*)\)/,s); +var prefix = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12097,(0),null); +var flags = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12097,(1),null); +var pattern = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,cljs.core.count(prefix)); +return (new RegExp(pattern,(function (){var or__7566__auto__ = flags; +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__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_12100 = cljs.core._STAR_print_level_STAR_; +cljs.core._STAR_print_level_STAR_ = (((cljs.core._STAR_print_level_STAR_ == null))?null:(cljs.core._STAR_print_level_STAR_ - (1))); + +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__7566__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return "..."; +} +})()); +} else { +} +} else { +if(cljs.core.seq(coll)){ +var G__12101_12107 = cljs.core.first(coll); +var G__12102_12108 = writer; +var G__12103_12109 = opts; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12101_12107,G__12102_12108,G__12103_12109) : print_one.call(null,G__12101_12107,G__12102_12108,G__12103_12109)); +} else { +} + +var coll_12110__$1 = cljs.core.next(coll); +var n_12111 = (new cljs.core.Keyword(null,"print-length","print-length",1931866356).cljs$core$IFn$_invoke$arity$1(opts) - (1)); +while(true){ +if(((coll_12110__$1) && ((((n_12111 == null)) || (!((n_12111 === (0)))))))){ +cljs.core._write(writer,sep); + +var G__12104_12112 = cljs.core.first(coll_12110__$1); +var G__12105_12113 = writer; +var G__12106_12114 = opts; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12104_12112,G__12105_12113,G__12106_12114) : print_one.call(null,G__12104_12112,G__12105_12113,G__12106_12114)); + +var G__12115 = cljs.core.next(coll_12110__$1); +var G__12116 = (n_12111 - (1)); +coll_12110__$1 = G__12115; +n_12111 = G__12116; +continue; +} else { +if(((cljs.core.seq(coll_12110__$1)) && ((n_12111 === (0))))){ +cljs.core._write(writer,sep); + +cljs.core._write(writer,(function (){var or__7566__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +return "..."; +} +})()); +} else { +} +} +break; +} +} + +return cljs.core._write(writer,end); +} +}finally {cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR_12100; +}}); +cljs.core.write_all = (function cljs$core$write_all(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___12123 = arguments.length; +var i__8744__auto___12124 = (0); +while(true){ +if((i__8744__auto___12124 < len__8743__auto___12123)){ +args__8750__auto__.push((arguments[i__8744__auto___12124])); + +var G__12125 = (i__8744__auto___12124 + (1)); +i__8744__auto___12124 = G__12125; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((1) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((1)),(0),null)):null); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8751__auto__); +}); + +cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic = (function (writer,ss){ +var seq__12119 = cljs.core.seq(ss); +var chunk__12120 = null; +var count__12121 = (0); +var i__12122 = (0); +while(true){ +if((i__12122 < count__12121)){ +var s = chunk__12120.cljs$core$IIndexed$_nth$arity$2(null,i__12122); +cljs.core._write(writer,s); + + +var G__12126 = seq__12119; +var G__12127 = chunk__12120; +var G__12128 = count__12121; +var G__12129 = (i__12122 + (1)); +seq__12119 = G__12126; +chunk__12120 = G__12127; +count__12121 = G__12128; +i__12122 = G__12129; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__12119); +if(temp__4657__auto__){ +var seq__12119__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__12119__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__12119__$1); +var G__12130 = cljs.core.chunk_rest(seq__12119__$1); +var G__12131 = c__8407__auto__; +var G__12132 = cljs.core.count(c__8407__auto__); +var G__12133 = (0); +seq__12119 = G__12130; +chunk__12120 = G__12131; +count__12121 = G__12132; +i__12122 = G__12133; +continue; +} else { +var s = cljs.core.first(seq__12119__$1); +cljs.core._write(writer,s); + + +var G__12134 = cljs.core.next(seq__12119__$1); +var G__12135 = null; +var G__12136 = (0); +var G__12137 = (0); +seq__12119 = G__12134; +chunk__12120 = G__12135; +count__12121 = G__12136; +i__12122 = G__12137; +continue; +} +} else { +return null; +} +} +break; +} +}); + +cljs.core.write_all.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.core.write_all.cljs$lang$applyTo = (function (seq12117){ +var G__12118 = cljs.core.first(seq12117); +var seq12117__$1 = cljs.core.next(seq12117); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12118,seq12117__$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_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_print_fn_STAR_.cljs$core$IFn$_invoke$arity$1(x) : 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 obj12139 = {"\"":"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"}; +return obj12139; +})(); +cljs.core.quote_string = (function cljs$core$quote_string(s){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1("\""),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]); +}))),cljs.core.str.cljs$core$IFn$_invoke$arity$1("\"")].join(''); +}); +cljs.core.print_meta_QMARK_ = (function cljs$core$print_meta_QMARK_(opts,obj){ +var and__7551__auto__ = cljs.core.boolean$(cljs.core.get.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"meta","meta",1499536964))); +if(and__7551__auto__){ +var and__7551__auto____$1 = ((!((obj == null)))?(((((obj.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IMeta$))))?true:false):false); +if(and__7551__auto____$1){ +return !((cljs.core.meta(obj) == null)); +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__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,"^"); + +cljs.core.pr_writer(cljs.core.meta(obj),writer,opts); + +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:false):false)){ +return obj.cljs$core$IPrintWithWriter$_pr_writer$arity$3(null,writer,opts); +} else { +if(((obj === true) || (obj === false))){ +return cljs.core._write(writer,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)].join('')); +} 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)].join('') +)))); +} else { +if(cljs.core.object_QMARK_(obj)){ +cljs.core._write(writer,"#js "); + +return cljs.core.print_map(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (k){ +return (new cljs.core.MapEntry((function (){var G__12144 = k; +if(!((cljs.core.re_matches(/[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*/,k) == null))){ +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(G__12144); +} else { +return G__12144; +} +})(),(obj[k]),null)); +}),cljs.core.js_keys(obj)),cljs.core.pr_writer,writer,opts); +} else { +if(cljs.core.array_QMARK_(obj)){ +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#js ["," ","]",opts,obj); +} else { +if(goog.isString(obj)){ +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(goog.isFunction(obj)){ +var name = obj.name; +var name__$1 = (cljs.core.truth_((function (){var or__7566__auto__ = (name == null); +if(or__7566__auto__){ +return or__7566__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._STAR_print_fn_bodies_STAR_)?[" \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1([cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)].join('')),"\""].join(''):""),"]"], 0)); +} else { +if((obj instanceof Date)){ +var normalize = (function (n,len){ +var ns = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)].join(''); +while(true){ +if((cljs.core.count(ns) < len)){ +var G__12147 = ["0",cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''); +ns = G__12147; +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 \"",[cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj.getUTCFullYear())].join(''),"-",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.truth_((function (){var G__12145 = obj; +var G__12145__$1 = (((G__12145 == null))?null:G__12145.constructor); +if((G__12145__$1 == null)){ +return null; +} else { +return G__12145__$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__12146 = obj; +var G__12146__$1 = (((G__12146 == null))?null:G__12146.constructor); +if((G__12146__$1 == null)){ +return null; +} else { +return G__12146__$1.name; +} +})(); +var name__$1 = (cljs.core.truth_((function (){var or__7566__auto__ = (name == null); +if(or__7566__auto__){ +return or__7566__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)].join(''),"]"], 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__4655__auto__ = new cljs.core.Keyword(null,"alt-impl","alt-impl",670969595).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(temp__4655__auto__)){ +var alt_impl = temp__4655__auto__; +var G__12148 = obj; +var G__12149 = writer; +var G__12150 = 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__12148,G__12149,G__12150) : alt_impl.call(null,G__12148,G__12149,G__12150)); +} 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__12151 = cljs.core.seq(cljs.core.next(objs)); +var chunk__12152 = null; +var count__12153 = (0); +var i__12154 = (0); +while(true){ +if((i__12154 < count__12153)){ +var obj = chunk__12152.cljs$core$IIndexed$_nth$arity$2(null,i__12154); +cljs.core._write(writer," "); + +cljs.core.pr_writer(obj,writer,opts); + + +var G__12155 = seq__12151; +var G__12156 = chunk__12152; +var G__12157 = count__12153; +var G__12158 = (i__12154 + (1)); +seq__12151 = G__12155; +chunk__12152 = G__12156; +count__12153 = G__12157; +i__12154 = G__12158; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__12151); +if(temp__4657__auto__){ +var seq__12151__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__12151__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__12151__$1); +var G__12159 = cljs.core.chunk_rest(seq__12151__$1); +var G__12160 = c__8407__auto__; +var G__12161 = cljs.core.count(c__8407__auto__); +var G__12162 = (0); +seq__12151 = G__12159; +chunk__12152 = G__12160; +count__12153 = G__12161; +i__12154 = G__12162; +continue; +} else { +var obj = cljs.core.first(seq__12151__$1); +cljs.core._write(writer," "); + +cljs.core.pr_writer(obj,writer,opts); + + +var G__12163 = cljs.core.next(seq__12151__$1); +var G__12164 = null; +var G__12165 = (0); +var G__12166 = (0); +seq__12151 = G__12163; +chunk__12152 = G__12164; +count__12153 = G__12165; +i__12154 = G__12166; +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))].join(''); +} +}); +/** + * 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)].join(''); +} +}); +/** + * 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__12168 = arguments.length; +switch (G__12168) { +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__8750__auto__ = []; +var len__8743__auto___12171 = arguments.length; +var i__8744__auto___12172 = (0); +while(true){ +if((i__8744__auto___12172 < len__8743__auto___12171)){ +args__8750__auto__.push((arguments[i__8744__auto___12172])); + +var G__12173 = (i__8744__auto___12172 + (1)); +i__8744__auto___12172 = G__12173; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq12170){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12170)); +}); + +/** + * Same as pr-str followed by (newline) + */ +cljs.core.prn_str = (function cljs$core$prn_str(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___12175 = arguments.length; +var i__8744__auto___12176 = (0); +while(true){ +if((i__8744__auto___12176 < len__8743__auto___12175)){ +args__8750__auto__.push((arguments[i__8744__auto___12176])); + +var G__12177 = (i__8744__auto___12176 + (1)); +i__8744__auto___12176 = G__12177; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq12174){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12174)); +}); + +/** + * 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__8750__auto__ = []; +var len__8743__auto___12179 = arguments.length; +var i__8744__auto___12180 = (0); +while(true){ +if((i__8744__auto___12180 < len__8743__auto___12179)){ +args__8750__auto__.push((arguments[i__8744__auto___12180])); + +var G__12181 = (i__8744__auto___12180 + (1)); +i__8744__auto___12180 = G__12181; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq12178){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12178)); +}); + +/** + * 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__12182__i = 0, G__12182__a = new Array(arguments.length - 0); +while (G__12182__i < G__12182__a.length) {G__12182__a[G__12182__i] = arguments[G__12182__i + 0]; ++G__12182__i;} + objs = new cljs.core.IndexedSeq(G__12182__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__12183){ +var objs = cljs.core.seq(arglist__12183); +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__8750__auto__ = []; +var len__8743__auto___12185 = arguments.length; +var i__8744__auto___12186 = (0); +while(true){ +if((i__8744__auto___12186 < len__8743__auto___12185)){ +args__8750__auto__.push((arguments[i__8744__auto___12186])); + +var G__12187 = (i__8744__auto___12186 + (1)); +i__8744__auto___12186 = G__12187; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq12184){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12184)); +}); + +/** + * Same as print followed by (newline) + */ +cljs.core.println = (function cljs$core$println(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___12189 = arguments.length; +var i__8744__auto___12190 = (0); +while(true){ +if((i__8744__auto___12190 < len__8743__auto___12189)){ +args__8750__auto__.push((arguments[i__8744__auto___12190])); + +var G__12191 = (i__8744__auto___12190 + (1)); +i__8744__auto___12190 = G__12191; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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._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 (seq12188){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12188)); +}); + +/** + * println to a string, returning it + */ +cljs.core.println_str = (function cljs$core$println_str(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___12193 = arguments.length; +var i__8744__auto___12194 = (0); +while(true){ +if((i__8744__auto___12194 < len__8743__auto___12193)){ +args__8750__auto__.push((arguments[i__8744__auto___12194])); + +var G__12195 = (i__8744__auto___12194 + (1)); +i__8744__auto___12194 = G__12195; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq12192){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12192)); +}); + +/** + * Same as pr followed by (newline). + */ +cljs.core.prn = (function cljs$core$prn(var_args){ +var args__8750__auto__ = []; +var len__8743__auto___12197 = arguments.length; +var i__8744__auto___12198 = (0); +while(true){ +if((i__8744__auto___12198 < len__8743__auto___12197)){ +args__8750__auto__.push((arguments[i__8744__auto___12198])); + +var G__12199 = (i__8744__auto___12198 + (1)); +i__8744__auto___12198 = G__12199; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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._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 (seq12196){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12196)); +}); + +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._STAR_print_namespace_maps_STAR_){ +var ns = null; +var G__12206 = cljs.core.seq(m); +var vec__12207 = G__12206; +var seq__12208 = cljs.core.seq(vec__12207); +var first__12209 = cljs.core.first(seq__12208); +var seq__12208__$1 = cljs.core.next(seq__12208); +var vec__12210 = first__12209; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12210,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12210,(1),null); +var entry = vec__12210; +var entries = seq__12208__$1; +var lm = cljs.core.empty(m); +var ns__$1 = ns; +var G__12206__$1 = G__12206; +var lm__$1 = lm; +while(true){ +var ns__$2 = ns__$1; +var vec__12213 = G__12206__$1; +var seq__12214 = cljs.core.seq(vec__12213); +var first__12215 = cljs.core.first(seq__12214); +var seq__12214__$1 = cljs.core.next(seq__12214); +var vec__12216 = first__12215; +var k__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12216,(0),null); +var v__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12216,(1),null); +var entry__$1 = vec__12216; +var entries__$1 = seq__12214__$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__12219 = ns__$2; +var G__12220 = entries__$1; +var G__12221 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); +ns__$1 = G__12219; +G__12206__$1 = G__12220; +lm__$1 = G__12221; +continue; +} else { +return null; +} +} else { +var temp__4657__auto__ = cljs.core.namespace(k__$1); +if(cljs.core.truth_(temp__4657__auto__)){ +var new_ns = temp__4657__auto__; +var G__12222 = new_ns; +var G__12223 = entries__$1; +var G__12224 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); +ns__$1 = G__12222; +G__12206__$1 = G__12223; +lm__$1 = G__12224; +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__12225_12231 = cljs.core.key(e); +var G__12226_12232 = w; +var G__12227_12233 = opts__$1; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12225_12231,G__12226_12232,G__12227_12233) : print_one.call(null,G__12225_12231,G__12226_12232,G__12227_12233)); + +cljs.core._write(w," "); + +var G__12228 = cljs.core.val(e); +var G__12229 = w; +var G__12230 = opts__$1; +return (print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12228,G__12229,G__12230) : print_one.call(null,G__12228,G__12229,G__12230)); +}),[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__12234 = ((cljs.core.map_QMARK_(m))?cljs.core.lift_ns(m):null); +var ns = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12234,(0),null); +var lift_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12234,(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.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__8750__auto__ = []; +var len__8743__auto___12240 = arguments.length; +var i__8744__auto___12241 = (0); +while(true){ +if((i__8744__auto___12241 < len__8743__auto___12240)){ +args__8750__auto__.push((arguments[i__8744__auto___12241])); + +var G__12242 = (i__8744__auto___12241 + (1)); +i__8744__auto___12241 = G__12242; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((2) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((2)),(0),null)):null); +return cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__8751__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 (seq12237){ +var G__12238 = cljs.core.first(seq12237); +var seq12237__$1 = cljs.core.next(seq12237); +var G__12239 = cljs.core.first(seq12237__$1); +var seq12237__$2 = cljs.core.next(seq12237__$1); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12238,G__12239,seq12237__$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__12244 = arguments.length; +switch (G__12244) { +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} +*/ +cljs.core.Delay = (function (f,value){ +this.f = f; +this.value = value; +this.cljs$lang$protocol_mask$partition0$ = 32768; +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.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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__12246_SHARP_,p2__12247_SHARP_){ +var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(p1__12246_SHARP_,p2__12247_SHARP_) : rf.call(null,p1__12246_SHARP_,p2__12247_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 (rf1){ +return (function() { +var G__12248 = null; +var G__12248__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__12248__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__12248__2 = (function (result,input){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(rf1,result,input); +}); +G__12248 = function(result,input){ +switch(arguments.length){ +case 0: +return G__12248__0.call(this); +case 1: +return G__12248__1.call(this,result); +case 2: +return G__12248__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12248.cljs$core$IFn$_invoke$arity$0 = G__12248__0; +G__12248.cljs$core$IFn$_invoke$arity$1 = G__12248__1; +G__12248.cljs$core$IFn$_invoke$arity$2 = G__12248__2; +return G__12248; +})() +;})(rf1)) +}); +/** + * 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__12250 = arguments.length; +switch (G__12250) { +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__12254 = null; +var G__12254__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__12254__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__12254__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__12251 = (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); +var G__12252 = input; +return (retf.cljs$core$IFn$_invoke$arity$2 ? retf.cljs$core$IFn$_invoke$arity$2(G__12251,G__12252) : retf.call(null,G__12251,G__12252)); +})():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__12254 = function(result,input){ +switch(arguments.length){ +case 0: +return G__12254__0.call(this); +case 1: +return G__12254__1.call(this,result); +case 2: +return G__12254__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12254.cljs$core$IFn$_invoke$arity$0 = G__12254__0; +G__12254.cljs$core$IFn$_invoke$arity$1 = G__12254__1; +G__12254.cljs$core$IFn$_invoke$arity$2 = G__12254__2; +return G__12254; +})() +}); +}); + +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__12256 = arguments.length; +switch (G__12256) { +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 (pa){ +return (function() { +var G__12258 = null; +var G__12258__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__12258__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__12258__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__12258 = function(result,input){ +switch(arguments.length){ +case 0: +return G__12258__0.call(this); +case 1: +return G__12258__1.call(this,result); +case 2: +return G__12258__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12258.cljs$core$IFn$_invoke$arity$0 = G__12258__0; +G__12258.cljs$core$IFn$_invoke$arity$1 = G__12258__1; +G__12258.cljs$core$IFn$_invoke$arity$2 = G__12258__2; +return G__12258; +})() +;})(pa)) +}); +}); + +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__12260 = arguments.length; +switch (G__12260) { +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() < 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() < 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__12262 = null; +var G__12262__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__12262__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__12262 = function(x,start){ +switch(arguments.length){ +case 1: +return G__12262__1.call(this,x); +case 2: +return G__12262__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12262.cljs$core$IFn$_invoke$arity$1 = G__12262__1; +G__12262.cljs$core$IFn$_invoke$arity$2 = G__12262__2; +return G__12262; +})() +; + +cljs.core.Eduction.prototype.lastIndexOf = (function() { +var G__12263 = null; +var G__12263__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__12263__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__12263 = function(x,start){ +switch(arguments.length){ +case 1: +return G__12263__1.call(this,x); +case 2: +return G__12263__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__12263.cljs$core$IFn$_invoke$arity$1 = G__12263__1; +G__12263.cljs$core$IFn$_invoke$arity$2 = G__12263__2; +return G__12263; +})() +; + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +var G__12264_12267 = cljs.core.Eduction.prototype; +var G__12265_12268 = cljs.core.ITER_SYMBOL; +var G__12266_12269 = ((function (G__12264_12267,G__12265_12268){ +return (function (){ +var this__8614__auto__ = this; +return cljs.core.es6_iterator(this__8614__auto__); +});})(G__12264_12267,G__12265_12268)) +; +goog.object.set(G__12264_12267,G__12265_12268,G__12266_12269); +/** + * 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__8750__auto__ = []; +var len__8743__auto___12271 = arguments.length; +var i__8744__auto___12272 = (0); +while(true){ +if((i__8744__auto___12272 < len__8743__auto___12271)){ +args__8750__auto__.push((arguments[i__8744__auto___12272])); + +var G__12273 = (i__8744__auto___12272 + (1)); +i__8744__auto___12272 = G__12273; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((0) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((0)),(0),null)):null); +return cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic(argseq__8751__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 (seq12270){ +var self__8731__auto__ = this; +return self__8731__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12270)); +}); + +/** + * 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__12275_SHARP_,p2__12274_SHARP_){ +return (proc.cljs$core$IFn$_invoke$arity$1 ? proc.cljs$core$IFn$_invoke$arity$1(p2__12274_SHARP_) : proc.call(null,p2__12274_SHARP_)); +}),null,coll); + +return null; +}); + +/** + * @interface + */ +cljs.core.IEncodeJS = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._clj__GT_js[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto__.call(null,x)); +} else { +var m__8252__auto____$1 = (cljs.core._clj__GT_js["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto____$1.call(null,x)); +} else { +throw cljs.core.missing_protocol("IEncodeJS.-clj->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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._key__GT_js[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto__.call(null,x)); +} else { +var m__8252__auto____$1 = (cljs.core._key__GT_js["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8252__auto____$1.call(null,x)); +} else { +throw cljs.core.missing_protocol("IEncodeJS.-key->js",x); +} +} +} +}); + +cljs.core.key__GT_js = (function cljs$core$key__GT_js(var_args){ +var G__12277 = arguments.length; +switch (G__12277) { +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__8750__auto__ = []; +var len__8743__auto___12331 = arguments.length; +var i__8744__auto___12332 = (0); +while(true){ +if((i__8744__auto___12332 < len__8743__auto___12331)){ +args__8750__auto__.push((arguments[i__8744__auto___12332])); + +var G__12333 = (i__8744__auto___12332 + (1)); +i__8744__auto___12332 = G__12333; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((1) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((1)),(0),null)):null); +return cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8751__auto__); +}); + +cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic = (function (x,p__12282){ +var map__12283 = p__12282; +var map__12283__$1 = ((((!((map__12283 == null)))?(((((map__12283.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__12283.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__12283):map__12283); +var options = map__12283__$1; +var keyword_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__12283__$1,new cljs.core.Keyword(null,"keyword-fn","keyword-fn",-64566675),cljs.core.name); +var keyfn = ((function (map__12283,map__12283__$1,options,keyword_fn){ +return (function cljs$core$keyfn(k){ +return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2(k,thisfn); +});})(map__12283,map__12283__$1,options,keyword_fn)) +; +var thisfn = ((function (map__12283,map__12283__$1,options,keyword_fn){ +return (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)].join(''); +} else { +if(cljs.core.map_QMARK_(x__$1)){ +var m = {}; +var seq__12311_12334 = cljs.core.seq(x__$1); +var chunk__12312_12335 = null; +var count__12313_12336 = (0); +var i__12314_12337 = (0); +while(true){ +if((i__12314_12337 < count__12313_12336)){ +var vec__12315_12338 = chunk__12312_12335.cljs$core$IIndexed$_nth$arity$2(null,i__12314_12337); +var k_12339 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12315_12338,(0),null); +var v_12340 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12315_12338,(1),null); +var G__12318_12341 = m; +var G__12319_12342 = keyfn(k_12339); +var G__12320_12343 = cljs$core$thisfn(v_12340); +goog.object.set(G__12318_12341,G__12319_12342,G__12320_12343); + + +var G__12344 = seq__12311_12334; +var G__12345 = chunk__12312_12335; +var G__12346 = count__12313_12336; +var G__12347 = (i__12314_12337 + (1)); +seq__12311_12334 = G__12344; +chunk__12312_12335 = G__12345; +count__12313_12336 = G__12346; +i__12314_12337 = G__12347; +continue; +} else { +var temp__4657__auto___12348 = cljs.core.seq(seq__12311_12334); +if(temp__4657__auto___12348){ +var seq__12311_12349__$1 = temp__4657__auto___12348; +if(cljs.core.chunked_seq_QMARK_(seq__12311_12349__$1)){ +var c__8407__auto___12350 = cljs.core.chunk_first(seq__12311_12349__$1); +var G__12351 = cljs.core.chunk_rest(seq__12311_12349__$1); +var G__12352 = c__8407__auto___12350; +var G__12353 = cljs.core.count(c__8407__auto___12350); +var G__12354 = (0); +seq__12311_12334 = G__12351; +chunk__12312_12335 = G__12352; +count__12313_12336 = G__12353; +i__12314_12337 = G__12354; +continue; +} else { +var vec__12321_12355 = cljs.core.first(seq__12311_12349__$1); +var k_12356 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12321_12355,(0),null); +var v_12357 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12321_12355,(1),null); +var G__12324_12358 = m; +var G__12325_12359 = keyfn(k_12356); +var G__12326_12360 = cljs$core$thisfn(v_12357); +goog.object.set(G__12324_12358,G__12325_12359,G__12326_12360); + + +var G__12361 = cljs.core.next(seq__12311_12349__$1); +var G__12362 = null; +var G__12363 = (0); +var G__12364 = (0); +seq__12311_12334 = G__12361; +chunk__12312_12335 = G__12362; +count__12313_12336 = G__12363; +i__12314_12337 = G__12364; +continue; +} +} else { +} +} +break; +} + +return m; +} else { +if(cljs.core.coll_QMARK_(x__$1)){ +var arr = []; +var seq__12327_12365 = cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); +var chunk__12328_12366 = null; +var count__12329_12367 = (0); +var i__12330_12368 = (0); +while(true){ +if((i__12330_12368 < count__12329_12367)){ +var x_12369__$2 = chunk__12328_12366.cljs$core$IIndexed$_nth$arity$2(null,i__12330_12368); +arr.push(x_12369__$2); + + +var G__12370 = seq__12327_12365; +var G__12371 = chunk__12328_12366; +var G__12372 = count__12329_12367; +var G__12373 = (i__12330_12368 + (1)); +seq__12327_12365 = G__12370; +chunk__12328_12366 = G__12371; +count__12329_12367 = G__12372; +i__12330_12368 = G__12373; +continue; +} else { +var temp__4657__auto___12374 = cljs.core.seq(seq__12327_12365); +if(temp__4657__auto___12374){ +var seq__12327_12375__$1 = temp__4657__auto___12374; +if(cljs.core.chunked_seq_QMARK_(seq__12327_12375__$1)){ +var c__8407__auto___12376 = cljs.core.chunk_first(seq__12327_12375__$1); +var G__12377 = cljs.core.chunk_rest(seq__12327_12375__$1); +var G__12378 = c__8407__auto___12376; +var G__12379 = cljs.core.count(c__8407__auto___12376); +var G__12380 = (0); +seq__12327_12365 = G__12377; +chunk__12328_12366 = G__12378; +count__12329_12367 = G__12379; +i__12330_12368 = G__12380; +continue; +} else { +var x_12381__$2 = cljs.core.first(seq__12327_12375__$1); +arr.push(x_12381__$2); + + +var G__12382 = cljs.core.next(seq__12327_12375__$1); +var G__12383 = null; +var G__12384 = (0); +var G__12385 = (0); +seq__12327_12365 = G__12382; +chunk__12328_12366 = G__12383; +count__12329_12367 = G__12384; +i__12330_12368 = G__12385; +continue; +} +} else { +} +} +break; +} + +return arr; +} else { +return x__$1; + +} +} +} +} +} +} +});})(map__12283,map__12283__$1,options,keyword_fn)) +; +return thisfn(x); +}); + +cljs.core.clj__GT_js.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.core.clj__GT_js.cljs$lang$applyTo = (function (seq12280){ +var G__12281 = cljs.core.first(seq12280); +var seq12280__$1 = cljs.core.next(seq12280); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12281,seq12280__$1); +}); + + +/** + * @interface + */ +cljs.core.IEncodeClojure = function(){}; + +/** + * 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 { +var x__8251__auto__ = (((x == null))?null:x); +var m__8252__auto__ = (cljs.core._js__GT_clj[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(x,options) : m__8252__auto__.call(null,x,options)); +} else { +var m__8252__auto____$1 = (cljs.core._js__GT_clj["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(x,options) : m__8252__auto____$1.call(null,x,options)); +} else { +throw cljs.core.missing_protocol("IEncodeClojure.-js->clj",x); +} +} +} +}); + +/** + * 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__12389 = arguments.length; +switch (G__12389) { +case 1: +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___12398 = arguments.length; +var i__8744__auto___12399 = (0); +while(true){ +if((i__8744__auto___12399 < len__8743__auto___12398)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___12399])); + +var G__12400 = (i__8744__auto___12399 + (1)); +i__8744__auto___12399 = G__12400; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((1)),(0),null)); +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8763__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__12390 = opts; +var map__12390__$1 = ((((!((map__12390 == null)))?(((((map__12390.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__12390.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__12390):map__12390); +var keywordize_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__12390__$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 (map__12390,map__12390__$1,keywordize_keys,keyfn){ +return (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$2(cljs.core.empty(x__$1),cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); +} else { +if(cljs.core.array_QMARK_(x__$1)){ +return cljs.core.vec(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); +} else { +if((cljs.core.type(x__$1) === Object)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__8376__auto__ = ((function (map__12390,map__12390__$1,keywordize_keys,keyfn){ +return (function cljs$core$thisfn_$_iter__12393(s__12394){ +return (new cljs.core.LazySeq(null,((function (map__12390,map__12390__$1,keywordize_keys,keyfn){ +return (function (){ +var s__12394__$1 = s__12394; +while(true){ +var temp__4657__auto__ = cljs.core.seq(s__12394__$1); +if(temp__4657__auto__){ +var s__12394__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(s__12394__$2)){ +var c__8374__auto__ = cljs.core.chunk_first(s__12394__$2); +var size__8375__auto__ = cljs.core.count(c__8374__auto__); +var b__12396 = cljs.core.chunk_buffer(size__8375__auto__); +if((function (){var i__12395 = (0); +while(true){ +if((i__12395 < size__8375__auto__)){ +var k = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c__8374__auto__,i__12395); +cljs.core.chunk_append(b__12396,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(k) : keyfn.call(null,k)),cljs$core$thisfn((x__$1[k]))], null)); + +var G__12401 = (i__12395 + (1)); +i__12395 = G__12401; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__12396),cljs$core$thisfn_$_iter__12393(cljs.core.chunk_rest(s__12394__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__12396),null); +} +} else { +var k = cljs.core.first(s__12394__$2); +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(k) : keyfn.call(null,k)),cljs$core$thisfn((x__$1[k]))], null),cljs$core$thisfn_$_iter__12393(cljs.core.rest(s__12394__$2))); +} +} else { +return null; +} +break; +} +});})(map__12390,map__12390__$1,keywordize_keys,keyfn)) +,null,null)); +});})(map__12390,map__12390__$1,keywordize_keys,keyfn)) +; +return iter__8376__auto__(cljs.core.js_keys(x__$1)); +})()); +} else { +return x__$1; + +} +} +} +} +} +} +});})(map__12390,map__12390__$1,keywordize_keys,keyfn)) +; +return f(x); +}); + +/** @this {Function} */ +cljs.core.js__GT_clj.cljs$lang$applyTo = (function (seq12387){ +var G__12388 = cljs.core.first(seq12387); +var seq12387__$1 = cljs.core.next(seq12387); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12388,seq12387__$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 (mem){ +return (function() { +var G__12402__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__12402 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__12403__i = 0, G__12403__a = new Array(arguments.length - 0); +while (G__12403__i < G__12403__a.length) {G__12403__a[G__12403__i] = arguments[G__12403__i + 0]; ++G__12403__i;} + args = new cljs.core.IndexedSeq(G__12403__a,0,null); +} +return G__12402__delegate.call(this,args);}; +G__12402.cljs$lang$maxFixedArity = 0; +G__12402.cljs$lang$applyTo = (function (arglist__12404){ +var args = cljs.core.seq(arglist__12404); +return G__12402__delegate(args); +}); +G__12402.cljs$core$IFn$_invoke$arity$variadic = G__12402__delegate; +return G__12402; +})() +; +;})(mem)) +}); +/** + * 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__12408 = arguments.length; +switch (G__12408) { +case 1: +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__8762__auto__ = []; +var len__8743__auto___12410 = arguments.length; +var i__8744__auto___12411 = (0); +while(true){ +if((i__8744__auto___12411 < len__8743__auto___12410)){ +args_arr__8762__auto__.push((arguments[i__8744__auto___12411])); + +var G__12412 = (i__8744__auto___12411 + (1)); +i__8744__auto___12411 = G__12412; +continue; +} else { +} +break; +} + +var argseq__8763__auto__ = (new cljs.core.IndexedSeq(args_arr__8762__auto__.slice((1)),(0),null)); +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8763__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__12413 = ret; +f = G__12413; +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 (seq12406){ +var G__12407 = cljs.core.first(seq12406); +var seq12406__$1 = cljs.core.next(seq12406); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12407,seq12406__$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__12415 = arguments.length; +switch (G__12415) { +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){ +var G__12417 = (Math.random() * n); +return Math.floor(G__12417); +}); +/** + * 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__8750__auto__ = []; +var len__8743__auto___12420 = arguments.length; +var i__8744__auto___12421 = (0); +while(true){ +if((i__8744__auto___12421 < len__8743__auto___12420)){ +args__8750__auto__.push((arguments[i__8744__auto___12421])); + +var G__12422 = (i__8744__auto___12421 + (1)); +i__8744__auto___12421 = G__12422; +continue; +} else { +} +break; +} + +var argseq__8751__auto__ = ((((1) < args__8750__auto__.length))?(new cljs.core.IndexedSeq(args__8750__auto__.slice((1)),(0),null)):null); +return cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__8751__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 (seq12418){ +var G__12419 = cljs.core.first(seq12418); +var seq12418__$1 = cljs.core.next(seq12418); +var self__8730__auto__ = this; +return self__8730__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12419,seq12418__$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__12424 = arguments.length; +switch (G__12424) { +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__7566__auto__ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(child,parent); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +var or__7566__auto____$1 = cljs.core.contains_QMARK_((function (){var fexpr__12427 = new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h); +return (fexpr__12427.cljs$core$IFn$_invoke$arity$1 ? fexpr__12427.cljs$core$IFn$_invoke$arity$1(child) : fexpr__12427.call(null,child)); +})(),parent); +if(or__7566__auto____$1){ +return or__7566__auto____$1; +} else { +var and__7551__auto__ = cljs.core.vector_QMARK_(parent); +if(and__7551__auto__){ +var and__7551__auto____$1 = cljs.core.vector_QMARK_(child); +if(and__7551__auto____$1){ +var and__7551__auto____$2 = (cljs.core.count(parent) === cljs.core.count(child)); +if(and__7551__auto____$2){ +var ret = true; +var i = (0); +while(true){ +if(((!(ret)) || ((i === cljs.core.count(parent))))){ +return ret; +} else { +var G__12429 = 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__12430 = (i + (1)); +ret = G__12429; +i = G__12430; +continue; +} +break; +} +} else { +return and__7551__auto____$2; +} +} else { +return and__7551__auto____$1; +} +} else { +return and__7551__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__12432 = arguments.length; +switch (G__12432) { +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__12435 = arguments.length; +switch (G__12435) { +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__12438 = arguments.length; +switch (G__12438) { +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__12441 = arguments.length; +switch (G__12441) { +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 (tp,td,ta){ +return (function (m,source,sources,target,targets){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (tp,td,ta){ +return (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))))); +});})(tp,td,ta)) +,m,cljs.core.cons(source,(sources.cljs$core$IFn$_invoke$arity$1 ? sources.cljs$core$IFn$_invoke$arity$1(source) : sources.call(null,source)))); +});})(tp,td,ta)) +; +var or__7566__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__7566__auto__)){ +return or__7566__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__12447 = arguments.length; +switch (G__12447) { +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 (parentMap,childsParents,newParents){ +return (function (p1__12443_SHARP_){ +return cljs.core.cons(cljs.core.first(p1__12443_SHARP_),cljs.core.interpose.cljs$core$IFn$_invoke$arity$2(cljs.core.first(p1__12443_SHARP_),cljs.core.second(p1__12443_SHARP_))); +});})(parentMap,childsParents,newParents)) +,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 (parentMap,childsParents,newParents,deriv_seq){ +return (function (p1__12444_SHARP_,p2__12445_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.derive,p1__12444_SHARP_,p2__12445_SHARP_); +});})(parentMap,childsParents,newParents,deriv_seq)) +,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__12449 = cljs.core.deref(prefer_table); +return (fexpr__12449.cljs$core$IFn$_invoke$arity$1 ? fexpr__12449.cljs$core$IFn$_invoke$arity$1(x) : fexpr__12449.call(null,x)); +})(); +var or__7566__auto__ = (cljs.core.truth_((function (){var and__7551__auto__ = xprefs; +if(cljs.core.truth_(and__7551__auto__)){ +return (xprefs.cljs$core$IFn$_invoke$arity$1 ? xprefs.cljs$core$IFn$_invoke$arity$1(y) : xprefs.call(null,y)); +} else { +return and__7551__auto__; +} +})())?true:null); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__auto__; +} else { +var or__7566__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__12453 = x; +var G__12454 = cljs.core.first(ps); +var G__12455 = prefer_table; +return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__12453,G__12454,G__12455) : cljs.core.prefers_STAR_.call(null,G__12453,G__12454,G__12455)); +})())){ +} else { +} + +var G__12462 = cljs.core.rest(ps); +ps = G__12462; +continue; +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(or__7566__auto____$1)){ +return or__7566__auto____$1; +} else { +var or__7566__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__12459 = cljs.core.first(ps); +var G__12460 = y; +var G__12461 = prefer_table; +return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__12459,G__12460,G__12461) : cljs.core.prefers_STAR_.call(null,G__12459,G__12460,G__12461)); +})())){ +} else { +} + +var G__12463 = cljs.core.rest(ps); +ps = G__12463; +continue; +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(or__7566__auto____$2)){ +return or__7566__auto____$2; +} else { +return false; +} +} +} +}); +cljs.core.dominates = (function cljs$core$dominates(x,y,prefer_table,hierarchy){ +var or__7566__auto__ = cljs.core.prefers_STAR_(x,y,prefer_table); +if(cljs.core.truth_(or__7566__auto__)){ +return or__7566__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__12464){ +var vec__12465 = p__12464; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12465,(0),null); +var _ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12465,(1),null); +var e = vec__12465; +if(cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(hierarchy),dispatch_val,k)){ +var be2 = (cljs.core.truth_((function (){var or__7566__auto__ = (be == null); +if(or__7566__auto__){ +return or__7566__auto__; +} else { +return cljs.core.dominates(k,cljs.core.first(be),prefer_table,cljs.core.deref(hierarchy)); +} +})())?e:be); +if(cljs.core.truth_(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__4655__auto__ = (function (){var and__7551__auto__ = (best_entry == null); +if(and__7551__auto__){ +var fexpr__12469 = cljs.core.deref(method_table); +return (fexpr__12469.cljs$core$IFn$_invoke$arity$1 ? fexpr__12469.cljs$core$IFn$_invoke$arity$1(default_dispatch_val) : fexpr__12469.call(null,default_dispatch_val)); +} else { +return and__7551__auto__; +} +})(); +if(cljs.core.truth_(temp__4655__auto__)){ +var entry = temp__4655__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(){}; + +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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._reset[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto__.call(null,mf)); +} else { +var m__8252__auto____$1 = (cljs.core._reset["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto____$1.call(null,mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-reset",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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._add_method[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__8252__auto__.call(null,mf,dispatch_val,method)); +} else { +var m__8252__auto____$1 = (cljs.core._add_method["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__8252__auto____$1.call(null,mf,dispatch_val,method)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-add-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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._remove_method[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8252__auto__.call(null,mf,dispatch_val)); +} else { +var m__8252__auto____$1 = (cljs.core._remove_method["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8252__auto____$1.call(null,mf,dispatch_val)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-remove-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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._prefer_method[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__8252__auto__.call(null,mf,dispatch_val,dispatch_val_y)); +} else { +var m__8252__auto____$1 = (cljs.core._prefer_method["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__8252__auto____$1.call(null,mf,dispatch_val,dispatch_val_y)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-prefer-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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._get_method[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8252__auto__.call(null,mf,dispatch_val)); +} else { +var m__8252__auto____$1 = (cljs.core._get_method["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8252__auto____$1.call(null,mf,dispatch_val)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-get-method",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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._methods[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto__.call(null,mf)); +} else { +var m__8252__auto____$1 = (cljs.core._methods["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto____$1.call(null,mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-methods",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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._prefers[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto__.call(null,mf)); +} else { +var m__8252__auto____$1 = (cljs.core._prefers["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto____$1.call(null,mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-prefers",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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._default_dispatch_val[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto__.call(null,mf)); +} else { +var m__8252__auto____$1 = (cljs.core._default_dispatch_val["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto____$1.call(null,mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-default-dispatch-val",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 { +var x__8251__auto__ = (((mf == null))?null:mf); +var m__8252__auto__ = (cljs.core._dispatch_fn[goog.typeOf(x__8251__auto__)]); +if(!((m__8252__auto__ == null))){ +return (m__8252__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto__.call(null,mf)); +} else { +var m__8252__auto____$1 = (cljs.core._dispatch_fn["_"]); +if(!((m__8252__auto____$1 == null))){ +return (m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8252__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8252__auto____$1.call(null,mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-dispatch-fn",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() { +var G__12472 = null; +var G__12472__1 = (function (self__){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__2 = (function (self__,a){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__3 = (function (self__,a,b){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__4 = (function (self__,a,b,c){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__5 = (function (self__,a,b,c,d){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__6 = (function (self__,a,b,c,d,e){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__7 = (function (self__,a,b,c,d,e,f){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__8 = (function (self__,a,b,c,d,e,f,g){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__9 = (function (self__,a,b,c,d,e,f,g,h){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__10 = (function (self__,a,b,c,d,e,f,g,h,i){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__11 = (function (self__,a,b,c,d,e,f,g,h,i,j){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__12 = (function (self__,a,b,c,d,e,f,g,h,i,j,k){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__13 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__14 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__15 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__16 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__17 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__18 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__19 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__20 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__21 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var self__ = this; +var self____$1 = this; +var mf = self____$1; +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)); +}); +var G__12472__22 = (function (self__,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 self____$1 = this; +var mf = self____$1; +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)); +}); +G__12472 = function(self__,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__12472__1.call(this,self__); +case 2: +return G__12472__2.call(this,self__,a); +case 3: +return G__12472__3.call(this,self__,a,b); +case 4: +return G__12472__4.call(this,self__,a,b,c); +case 5: +return G__12472__5.call(this,self__,a,b,c,d); +case 6: +return G__12472__6.call(this,self__,a,b,c,d,e); +case 7: +return G__12472__7.call(this,self__,a,b,c,d,e,f); +case 8: +return G__12472__8.call(this,self__,a,b,c,d,e,f,g); +case 9: +return G__12472__9.call(this,self__,a,b,c,d,e,f,g,h); +case 10: +return G__12472__10.call(this,self__,a,b,c,d,e,f,g,h,i); +case 11: +return G__12472__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__12472__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__12472__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__12472__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__12472__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__12472__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__12472__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__12472__18.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +case 19: +return G__12472__19.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +case 20: +return G__12472__20.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +case 21: +return G__12472__21.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +case 22: +return G__12472__22.call(this,self__,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 - 1))); +}; +G__12472.cljs$core$IFn$_invoke$arity$1 = G__12472__1; +G__12472.cljs$core$IFn$_invoke$arity$2 = G__12472__2; +G__12472.cljs$core$IFn$_invoke$arity$3 = G__12472__3; +G__12472.cljs$core$IFn$_invoke$arity$4 = G__12472__4; +G__12472.cljs$core$IFn$_invoke$arity$5 = G__12472__5; +G__12472.cljs$core$IFn$_invoke$arity$6 = G__12472__6; +G__12472.cljs$core$IFn$_invoke$arity$7 = G__12472__7; +G__12472.cljs$core$IFn$_invoke$arity$8 = G__12472__8; +G__12472.cljs$core$IFn$_invoke$arity$9 = G__12472__9; +G__12472.cljs$core$IFn$_invoke$arity$10 = G__12472__10; +G__12472.cljs$core$IFn$_invoke$arity$11 = G__12472__11; +G__12472.cljs$core$IFn$_invoke$arity$12 = G__12472__12; +G__12472.cljs$core$IFn$_invoke$arity$13 = G__12472__13; +G__12472.cljs$core$IFn$_invoke$arity$14 = G__12472__14; +G__12472.cljs$core$IFn$_invoke$arity$15 = G__12472__15; +G__12472.cljs$core$IFn$_invoke$arity$16 = G__12472__16; +G__12472.cljs$core$IFn$_invoke$arity$17 = G__12472__17; +G__12472.cljs$core$IFn$_invoke$arity$18 = G__12472__18; +G__12472.cljs$core$IFn$_invoke$arity$19 = G__12472__19; +G__12472.cljs$core$IFn$_invoke$arity$20 = G__12472__20; +G__12472.cljs$core$IFn$_invoke$arity$21 = G__12472__21; +G__12472.cljs$core$IFn$_invoke$arity$22 = G__12472__22; +return G__12472; +})() +; + +cljs.core.MultiFn.prototype.apply = (function (self__,args12470){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args12470))); +}); + +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_x,dispatch_val_y,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 (mf__$1){ +return (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)); +});})(mf__$1)) +); + +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__$1){ +return (function (mf__$2){ +return cljs.core.PersistentArrayMap.EMPTY; +});})(mf__$1)) +); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.method_cache,((function (mf__$1){ +return (function (mf__$2){ +return cljs.core.PersistentArrayMap.EMPTY; +});})(mf__$1)) +); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.prefer_table,((function (mf__$1){ +return (function (mf__$2){ +return cljs.core.PersistentArrayMap.EMPTY; +});})(mf__$1)) +); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.cached_hierarchy,((function (mf__$1){ +return (function (mf__$2){ +return null; +});})(mf__$1)) +); + +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__4655__auto__ = (function (){var fexpr__12471 = cljs.core.deref(self__.method_cache); +return (fexpr__12471.cljs$core$IFn$_invoke$arity$1 ? fexpr__12471.cljs$core$IFn$_invoke$arity$1(dispatch_val) : fexpr__12471.call(null,dispatch_val)); +})(); +if(cljs.core.truth_(temp__4655__auto__)){ +var target_fn = temp__4655__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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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 it's 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 it's 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; +return (((other instanceof cljs.core.UUID)) && ((self__.uuid === other.uuid))); +}); + +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 (_,other){ +var self__ = this; +var ___$1 = this; +var G__12473 = self__.uuid; +var G__12474 = other.uuid; +return goog.array.defaultCompare(G__12473,G__12474); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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)); +}); + +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)); +}); +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('')); +}); +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__12477 = arguments.length; +switch (G__12477) { +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__12479 = v; +var G__12479__$1 = (((G__12479 instanceof cljs.core.Keyword))?G__12479.fqn:null); +switch (G__12479__$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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__12481_SHARP_,p2__12482_SHARP_){ +goog.object.set(p1__12481_SHARP_,p2__12482_SHARP_,true); + +return p1__12481_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__12484 = cljs.core.next(ks__$1); +var G__12485 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var G__12483 = ret; +if(!((ret === ""))){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__12483),"|"].join(''); +} else { +return G__12483; +} +})()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(ks__$1))].join(''); +ks__$1 = G__12484; +ret = G__12485; +continue; +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(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_12486 = (0); +while(true){ +if((i_12486 < name.length)){ +var c_12487 = name.charAt(i_12486); +var sub_12488 = goog.object.get(cljs.core.CHAR_MAP,c_12487); +if(!((sub_12488 == null))){ +sb.append(sub_12488); +} else { +sb.append(c_12487); +} + +var G__12489 = (i_12486 + (1)); +i_12486 = G__12489; +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)].join('')); +var name_SINGLEQUOTE___$1 = (((name_SINGLEQUOTE_ === ".."))?"_DOT__DOT_":(cljs.core.truth_(cljs.core.js_reserved_QMARK_(name_SINGLEQUOTE_))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(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__4655__auto__ = r.exec(munged_name__$1); +if(cljs.core.truth_(temp__4655__auto__)){ +var match = temp__4655__auto__; +var vec__12490 = match; +var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12490,(0),null); +var G__12493 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(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 === "$"))?"/":goog.object.get(cljs.core.DEMUNGE_MAP,x)))].join(''); +var G__12494 = r.lastIndex; +ret = G__12493; +last_match_end = G__12494; +continue; +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(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__12496 = (function (){var name_SINGLEQUOTE_ = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''); +if((name_SINGLEQUOTE_ === "_DOT__DOT_")){ +return ".."; +} else { +return cljs.core.demunge_str(name_SINGLEQUOTE_); +} +})(); +var fexpr__12495 = (((name instanceof cljs.core.Symbol))?cljs.core.symbol:cljs.core.str); +return (fexpr__12495.cljs$core$IFn$_invoke$arity$1 ? fexpr__12495.cljs$core$IFn$_invoke$arity$1(G__12496) : fexpr__12495.call(null,G__12496)); +}); +if(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 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_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_exec_tap_fn_STAR_.cljs$core$IFn$_invoke$arity$1((function (){ +var seq__12497 = cljs.core.seq(cljs.core.deref(cljs.core.tapset)); +var chunk__12498 = null; +var count__12499 = (0); +var i__12500 = (0); +while(true){ +if((i__12500 < count__12499)){ +var tap = chunk__12498.cljs$core$IIndexed$_nth$arity$2(null,i__12500); +try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); +}catch (e12501){if((e12501 instanceof Error)){ +var ex_12503 = e12501; +} else { +throw e12501; + +} +} + +var G__12504 = seq__12497; +var G__12505 = chunk__12498; +var G__12506 = count__12499; +var G__12507 = (i__12500 + (1)); +seq__12497 = G__12504; +chunk__12498 = G__12505; +count__12499 = G__12506; +i__12500 = G__12507; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__12497); +if(temp__4657__auto__){ +var seq__12497__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__12497__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__12497__$1); +var G__12508 = cljs.core.chunk_rest(seq__12497__$1); +var G__12509 = c__8407__auto__; +var G__12510 = cljs.core.count(c__8407__auto__); +var G__12511 = (0); +seq__12497 = G__12508; +chunk__12498 = G__12509; +count__12499 = G__12510; +i__12500 = G__12511; +continue; +} else { +var tap = cljs.core.first(seq__12497__$1); +try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); +}catch (e12502){if((e12502 instanceof Error)){ +var ex_12512 = e12502; +} else { +throw e12502; + +} +} + +var G__12513 = cljs.core.next(seq__12497__$1); +var G__12514 = null; +var G__12515 = (0); +var G__12516 = (0); +seq__12497 = G__12513; +chunk__12498 = G__12514; +count__12499 = G__12515; +i__12500 = G__12516; +continue; +} +} else { +return null; +} +} +break; +} +})) : cljs.core._STAR_exec_tap_fn_STAR_.call(null,(function (){ +var seq__12497 = cljs.core.seq(cljs.core.deref(cljs.core.tapset)); +var chunk__12498 = null; +var count__12499 = (0); +var i__12500 = (0); +while(true){ +if((i__12500 < count__12499)){ +var tap = chunk__12498.cljs$core$IIndexed$_nth$arity$2(null,i__12500); +try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); +}catch (e12501){if((e12501 instanceof Error)){ +var ex_12517 = e12501; +} else { +throw e12501; + +} +} + +var G__12518 = seq__12497; +var G__12519 = chunk__12498; +var G__12520 = count__12499; +var G__12521 = (i__12500 + (1)); +seq__12497 = G__12518; +chunk__12498 = G__12519; +count__12499 = G__12520; +i__12500 = G__12521; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__12497); +if(temp__4657__auto__){ +var seq__12497__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__12497__$1)){ +var c__8407__auto__ = cljs.core.chunk_first(seq__12497__$1); +var G__12522 = cljs.core.chunk_rest(seq__12497__$1); +var G__12523 = c__8407__auto__; +var G__12524 = cljs.core.count(c__8407__auto__); +var G__12525 = (0); +seq__12497 = G__12522; +chunk__12498 = G__12523; +count__12499 = G__12524; +i__12500 = G__12525; +continue; +} else { +var tap = cljs.core.first(seq__12497__$1); +try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); +}catch (e12502){if((e12502 instanceof Error)){ +var ex_12526 = e12502; +} else { +throw e12502; + +} +} + +var G__12527 = cljs.core.next(seq__12497__$1); +var G__12528 = null; +var G__12529 = (0); +var G__12530 = (0); +seq__12497 = G__12527; +chunk__12498 = G__12528; +count__12499 = G__12529; +i__12500 = G__12530; +continue; +} +} else { +return null; +} +} +break; +} +}))); +}); +/** + * Bootstrap only. + */ +cljs.core.ns_lookup = (function cljs$core$ns_lookup(ns_obj,k){ +return (function (){ +return 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)].join('')); +if(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)].join(''),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)].join('')); +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)].join(''); +}); + +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__8193__auto__,writer__8194__auto__,opt__8195__auto__){ +return cljs.core._write(writer__8194__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__12533 = (function (){var G__12531 = ctxt; +var G__12532 = cljs.core.first(xs); +return goog.object.get(G__12531,G__12532); +})(); +var G__12534 = cljs.core.next(xs); +ctxt = G__12533; +xs = G__12534; +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)].join('')); +var segs = munged_ns.split("."); +var G__12535 = cljs.core._STAR_target_STAR_; +switch (G__12535) { +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__7551__auto__ = ctxt; +if(cljs.core.truth_(and__7551__auto__)){ +return cljs.core.object_QMARK_(ctxt); +} else { +return and__7551__auto__; +} +})())){ +return ctxt; +} else { +return null; +} +}catch (e12536){if((e12536 instanceof ReferenceError)){ +var e = e12536; +return null; +} else { +throw e12536; + +} +}})(),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.str.cljs$core$IFn$_invoke$arity$1(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 (ns_obj,ns){ +return (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 (var_sym,ns_obj,ns){ +return (function (){ +return goog.object.get(ns_obj,k); +});})(var_sym,ns_obj,ns)) +,cljs.core.symbol.cljs$core$IFn$_invoke$arity$2([cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)].join(''),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(var_sym)].join('')),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ns","ns",441598760),ns], null)))); +});})(ns_obj,ns)) +; +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__12539 = arguments.length; +switch (G__12539) { +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)].join(''); +var ns__$1 = ((!(goog.string.contains(ns_str,"$macros")))?cljs.core.symbol.cljs$core$IFn$_invoke$arity$1([cljs.core.str.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); +}); +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")){ +var system = Java.type("java.lang.System"); +cljs.core._STAR_print_newline_STAR_ = false; + +cljs.core.set_print_fn_BANG_(((function (system){ +return (function (){ +var xs = arguments; +var s = goog.array.clone(xs).join(""); +return system.out.println(s); +});})(system)) +); + +return cljs.core.set_print_err_fn_BANG_(((function (system){ +return (function (){ +var xs = arguments; +var s = goog.array.clone(xs).join(""); +return system.error.println(s); +});})(system)) +); +} else { +return null; +} +} +}); +cljs.core.maybe_enable_print_BANG_(); +if(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_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_eval_STAR_.cljs$core$IFn$_invoke$arity$1(form) : cljs.core._STAR_eval_STAR_.call(null,form)); +}); + +//# sourceMappingURL=core.js.map diff --git a/examples/resources/public/js/out/cljs/core.js.map b/examples/resources/public/js/out/cljs/core.js.map new file mode 100644 index 0000000..a0cf8a9 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core.js.map @@ -0,0 +1 @@ +{"version":3,"file":"resources\/public\/js\/out\/cljs\/core.js","sources":["core.cljs"],"lineCount":37594,"mappings":";AAQA;;;;;;;;AAUA,8CAAA,9CAAKA;AAOL,qCAAA,rCAAKC;AAIL,yCAAA,zCAAKC;AAGL,sCAAA,tCAAKC;AAEL,AAEA,GAAA,OAASC;AAAT;AAAA,AAAA,8BAAA,9BAASA;;AAET,wBAAA,xBAAKC;AACL,yBAAA,zBAAKC;AAEL,AAAA,AAAA;AAAA;AAAA,AAAAC,YAAA,+BAAA;AAQA;;;;2BAAA,3BAIEC;AAEF;;;4BAAA,5BAGEC;AAEF,+BAAA,\/BAEEC;AAEF,GAAA,OAIEC;AAJF;AAAA,AAAA;;;;;iCAAA,jCAIEA;;AAEF;;;;oCAAA,pCAEEC,gFACCC;AAHH,AAIE,IAAAC,oBACC,OAASC;AADV,AAAA,GAAAD;AAAA,IAAAA,wBAEC,aAAA,bAACC,WAAcF;AAFhB,AAAA,oBAAAC;AAAA;;AAAAA;;;AAAAA;;;A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F;AACT,OAACF;;AAFH,GAIE,kCAAA,jCAAYW;AACZ,IAAM+rF,SAAO,UAAA,VAAOC;AAApB,AACE,sCAAA,tCAAMrtF;;AACN,AAACH,6BACC;;AAAA,AACE,IAAMc,KAAG;IACHmC,IAAG,0BAAA,1BAAO,AAACjC,iBAAaF;AAD9B,AAEE,OAAU,AAAOysF,mBAAQtqF;;;;AAC\/B,OAAChD,iCACC;;AAAA,AACE,IAAMa,KAAG;IACHmC,IAAG,0BAAA,1BAAO,AAACjC,iBAAaF;AAD9B,AAEE,OAAU,AAASysF,qBAAQtqF;;;;AAhBrC;;;;AAkBF,AAACqqF;AAED,GAAA,OAIEG;AAJF;AAAA,AAAA;;;;;AAIEA,6BACA,qCAAKn2E;AAAL,AACE,MAAO,KAAAxU,MAAA;;;AAEX;;;;;iBAAA,jBAAM4qF,0CAIHvE;AAJH,AAKE,QAACsE,2DAAAA,iEAAAA,RAAOtE,6CAAAA","names":["cljs.core\/*clojurescript-version*","cljs.core\/*unchecked-if*","cljs.core\/*unchecked-arrays*","cljs.core\/*warn-on-infer*","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/MODULE_URIS","cljs.core\/MODULE_INFOS","goog\/define","cljs.core\/*ns*","cljs.core\/*out*","cljs.core\/*assert*","cljs.core\/*print-fn*","cljs.core\/*exec-tap-fn*","f","and__7551__auto__","js\/setTimeout","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*","cljs.core\/*loaded-libs*","cljs.core\/pr-opts","cljs.core\/enable-console-print!","xs","js\/console","goog.array\/clone","cljs.core\/truth_","x","cljs.core\/not-native","cljs.core\/identical?","y","cljs.core\/nil?","cljs.core\/array?","cljs.core\/*target*","js\/Array","cljs.core\/number?","cljs.core\/not","cljs.core\/some?","cljs.core\/object?","js\/Object","cljs.core\/string?","goog\/isString","cljs.core\/char?","cljs.core\/any?","cljs.core\/native-satisfies?","p","goog\/typeOf","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__4655__auto__","s","cljs.core\/load-file","file","js\/COMPILED","js\/goog","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__9758","cljs.core\/make-array","args-arr__8762__auto__","len__8743__auto__","i__8744__auto__","argseq__8763__auto__","cljs.core\/IndexedSeq","seq9755","G__9756","cljs.core\/first","cljs.core\/next","G__9757","self__8730__auto__","size","type","more-sizes","dims","dimarray","n__8512__auto__","i","cljs.core.apply.cljs$core$IFn$_invoke$arity$3","cljs.core\/aclone","arr","len","new-arr","cljs.core\/array","var-args","a","cljs.core\/maybe-warn","e","G__9774","cljs.core\/checked-aget","seq9771","G__9772","G__9773","array","idx","e9775","or__7566__auto__","js\/goog.isArrayLike","idxs","cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2","G__9786","cljs.core\/checked-aset","seq9782","G__9783","G__9784","G__9785","val","e9787","idx2","idxv","cljs.core.apply.cljs$core$IFn$_invoke$arity$4","G__9797","cljs.core\/checked-aget'","seq9794","G__9795","G__9796","cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2","G__9807","cljs.core\/checked-aset'","seq9803","G__9804","G__9805","G__9806","G__9816","cljs.core\/aget","seq9813","G__9814","G__9815","G__9826","cljs.core\/aset","seq9822","G__9823","G__9824","G__9825","cljs.core\/alength","G__9832","cljs.core\/into-array","aseq","cljs.core.into_array.cljs$core$IFn$_invoke$arity$2","cljs.core.reduce.cljs$core$IFn$_invoke$arity$3","args__8750__auto__","argseq__8751__auto__","cljs.core\/js-invoke","seq9834","G__9835","G__9836","args","cljs.core.into_array.cljs$core$IFn$_invoke$arity$1","cljs.core\/Fn","G__9841","cljs.core\/-invoke","x__8251__auto__","m__8252__auto__","cljs\/core.-invoke","cljs.core\/IFn","this","b","c","d","g","h","j","k","l","m","n","o","q","r","rest","cljs\/core.-clone","cljs.core\/ICloneable","cljs.core\/-clone","value","cljs\/core.-count","cljs.core\/ICounted","cljs.core\/-count","coll","cljs\/core.-empty","cljs.core\/IEmptyableCollection","cljs.core\/-empty","cljs\/core.-conj","cljs.core\/ICollection","cljs.core\/-conj","G__9844","cljs.core\/-nth","cljs\/core.-nth","cljs.core\/IIndexed","not-found","cljs.core\/ASeq","cljs\/core.-first","cljs\/core.-rest","cljs.core\/ISeq","cljs.core\/-first","cljs.core\/-rest","cljs\/core.-next","cljs.core\/INext","cljs.core\/-next","G__9847","cljs.core\/-lookup","cljs\/core.-lookup","cljs.core\/ILookup","cljs\/core.-contains-key?","cljs\/core.-assoc","cljs.core\/IAssociative","cljs.core\/-contains-key?","cljs.core\/-assoc","v","cljs\/core.-find","cljs.core\/IFind","cljs.core\/-find","cljs\/core.-dissoc","cljs.core\/IMap","cljs.core\/-dissoc","cljs\/core.-key","cljs\/core.-val","cljs.core\/IMapEntry","cljs.core\/-key","cljs.core\/-val","cljs\/core.-disjoin","cljs.core\/ISet","cljs.core\/-disjoin","cljs\/core.-peek","cljs\/core.-pop","cljs.core\/IStack","cljs.core\/-peek","cljs.core\/-pop","cljs\/core.-assoc-n","cljs.core\/IVector","cljs.core\/-assoc-n","cljs\/core.-deref","cljs.core\/IDeref","cljs.core\/-deref","cljs\/core.-deref-with-timeout","cljs.core\/IDerefWithTimeout","cljs.core\/-deref-with-timeout","msec","timeout-val","cljs\/core.-meta","cljs.core\/IMeta","cljs.core\/-meta","cljs\/core.-with-meta","cljs.core\/IWithMeta","cljs.core\/-with-meta","meta","G__9850","cljs.core\/-reduce","cljs\/core.-reduce","cljs.core\/IReduce","start","cljs\/core.-kv-reduce","cljs.core\/IKVReduce","cljs.core\/-kv-reduce","init","cljs\/core.-equiv","cljs.core\/IEquiv","cljs.core\/-equiv","other","cljs\/core.-hash","cljs.core\/IHash","cljs.core\/-hash","cljs\/core.-seq","cljs.core\/ISeqable","cljs.core\/-seq","cljs.core\/ISequential","cljs.core\/IList","cljs.core\/IRecord","cljs\/core.-rseq","cljs.core\/IReversible","cljs.core\/-rseq","cljs\/core.-sorted-seq","cljs\/core.-sorted-seq-from","cljs\/core.-entry-key","cljs\/core.-comparator","cljs.core\/ISorted","cljs.core\/-sorted-seq","ascending?","cljs.core\/-sorted-seq-from","cljs.core\/-entry-key","entry","cljs.core\/-comparator","cljs\/core.-write","cljs\/core.-flush","cljs.core\/IWriter","cljs.core\/-write","writer","cljs.core\/-flush","cljs\/core.-pr-writer","cljs.core\/IPrintWithWriter","cljs.core\/-pr-writer","opts","cljs\/core.-realized?","cljs.core\/IPending","cljs.core\/-realized?","cljs\/core.-notify-watches","cljs\/core.-add-watch","cljs\/core.-remove-watch","cljs.core\/IWatchable","cljs.core\/-notify-watches","oldval","newval","cljs.core\/-add-watch","key","cljs.core\/-remove-watch","cljs\/core.-as-transient","cljs.core\/IEditableCollection","cljs.core\/-as-transient","cljs\/core.-conj!","cljs\/core.-persistent!","cljs.core\/ITransientCollection","cljs.core\/-conj!","tcoll","cljs.core\/-persistent!","cljs\/core.-assoc!","cljs.core\/ITransientAssociative","cljs.core\/-assoc!","cljs\/core.-dissoc!","cljs.core\/ITransientMap","cljs.core\/-dissoc!","cljs\/core.-assoc-n!","cljs\/core.-pop!","cljs.core\/ITransientVector","cljs.core\/-assoc-n!","cljs.core\/-pop!","cljs\/core.-disjoin!","cljs.core\/ITransientSet","cljs.core\/-disjoin!","cljs\/core.-compare","cljs.core\/IComparable","cljs.core\/-compare","cljs\/core.-drop-first","cljs.core\/IChunk","cljs.core\/-drop-first","cljs\/core.-chunked-first","cljs\/core.-chunked-rest","cljs.core\/IChunkedSeq","cljs.core\/-chunked-first","cljs.core\/-chunked-rest","cljs\/core.-chunked-next","cljs.core\/IChunkedNext","cljs.core\/-chunked-next","cljs\/core.-name","cljs\/core.-namespace","cljs.core\/INamed","cljs.core\/-name","cljs.core\/-namespace","cljs.core\/IAtom","cljs\/core.-reset!","cljs.core\/IReset","cljs.core\/-reset!","new-value","G__9853","cljs.core\/-swap!","cljs\/core.-swap!","cljs.core\/ISwap","cljs\/core.-vreset!","cljs.core\/IVolatile","cljs.core\/-vreset!","cljs\/core.-iterator","cljs.core\/IIterable","cljs.core\/-iterator","this__8193__auto__","writer__8194__auto__","opt__8195__auto__","cljs.core\/StringBufferWriter","cljs.core\/->StringBufferWriter","sb","_","cljs.core\/pr-str*","goog\/string.StringBuffer","cljs.core\/int-rotate-left","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","goog.object\/set","cljs.core\/hash-string","cljs.core\/hash","js\/isFinite","Math\/floor","G__9864","cljs.core\/hash-combine","seed","cljs.core\/instance?","cljs.core\/symbol?","cljs.core\/Symbol","cljs.core\/hash-symbol","sym","cljs.core\/compare-symbols","nsc","G__9866","G__9867","goog.array\/defaultCompare","G__9868","G__9869","G__9870","G__9871","self__","args9872","cljs.core\/->Symbol","ns","name","str","_hash","_meta","cljs.core.get.cljs$core$IFn$_invoke$arity$2","cljs.core.get.cljs$core$IFn$_invoke$arity$3","new-meta","h__8022__auto__","G__9875","cljs.core\/symbol","cljs.core.symbol.cljs$core$IFn$_invoke$arity$2","sym-str","args9877","cljs.core\/Var","cljs.core\/->Var","cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2","fexpr__9878","fexpr__9899","fexpr__9879","fexpr__9900","fexpr__9880","fexpr__9901","fexpr__9881","fexpr__9902","fexpr__9882","fexpr__9903","fexpr__9883","fexpr__9904","fexpr__9884","fexpr__9905","fexpr__9885","fexpr__9906","fexpr__9886","fexpr__9907","fexpr__9887","fexpr__9908","fexpr__9888","fexpr__9909","fexpr__9889","fexpr__9910","fexpr__9890","fexpr__9911","fexpr__9891","fexpr__9912","fexpr__9892","fexpr__9913","fexpr__9893","fexpr__9914","fexpr__9894","fexpr__9915","fexpr__9895","fexpr__9916","fexpr__9896","fexpr__9917","fexpr__9897","fexpr__9918","fexpr__9898","fexpr__9919","cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic","cljs.core\/var?","cljs\/core.Var","cljs.core\/iterable?","cljs.core\/clone","cljs.core\/cloneable?","cljs.core\/seq","cljs.core\/rest","G__9931","cljs.core\/=","seq9928","G__9929","G__9930","more","cljs.core\/ES6Iterator","cljs.core\/->ES6Iterator","cljs.core\/es6-iterator","cljs.core\/ES6IteratorSeq","cljs.core\/->ES6IteratorSeq","iter","_rest","cljs.core\/es6-iterator-seq","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","G__9945","G__9946","G__9947","G__9951","G__9952","cljs\/core.inst-ms*","cljs.core\/Inst","cljs.core\/inst-ms*","inst","cljs.core\/inst-ms","cljs.core\/inst?","G__9954","G__9955","G__9956","G__9960","G__9961","G__9962","G__9966","G__9967","G__9968","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__9973","cljs.core\/ci-reduce","cicoll","cnt","cljs.core._nth.cljs$core$IFn$_invoke$arity$2","nval","G__9974","G__9975","G__9976","G__9977","G__9978","G__9979","G__9988","cljs.core\/array-reduce","G__9989","G__9990","G__9991","G__9992","G__9993","G__9994","cljs.core\/counted?","cljs.core\/indexed?","G__10005","cljs.core\/-indexOf","cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3","cljs.core\/count","x__7918__auto__","y__7919__auto__","cljs.core.nth.cljs$core$IFn$_invoke$arity$2","G__10009","cljs.core\/-lastIndexOf","cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3","x__7925__auto__","y__7926__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$IFn$_invoke$arity$4","cljs.core\/RSeq","G__10014","G__10015","G__10016","this__8614__auto__","G__10021","cljs.core\/prim-seq","prim","cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2","G__10024","cljs.core\/array-seq","cljs.core\/->RSeq","ci","col","cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3","G__10028","G__10029","G__10030","cljs.core\/second","cljs.core\/ffirst","cljs.core\/nfirst","cljs.core\/fnext","cljs.core\/nnext","cljs.core\/last","sn","G__10035","G__10036","G__10037","G__10045","cljs.core\/conj","seq10042","G__10043","G__10044","cljs.core.conj.cljs$core$IFn$_invoke$arity$2","cljs.core\/empty","cljs.core\/accumulating-seq-count","acc","G__10058","cljs.core\/linear-traversal-nth","cljs.core._nth.cljs$core$IFn$_invoke$arity$3","G__10066","cljs.core\/nth","cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2","cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3","cljs.core\/nthrest","G__10079","cljs.core\/get","cljs.core._lookup.cljs$core$IFn$_invoke$arity$2","cljs.core._lookup.cljs$core$IFn$_invoke$arity$3","G__10088","cljs.core\/assoc","seq10084","G__10085","G__10086","G__10087","cljs.core\/PersistentArrayMap","kvs","cljs.core.assoc.cljs$core$IFn$_invoke$arity$3","G__10101","cljs.core\/dissoc","seq10098","G__10099","G__10100","ks","cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2","cljs.core\/fn?","goog\/isFunction","args10111","cljs.core\/MetaFn","cljs.core\/->MetaFn","afn","cljs.core\/with-meta","cljs.core\/meta","cljs.core\/peek","cljs.core\/pop","G__10119","cljs.core\/disj","seq10116","G__10117","G__10118","cljs.core.disj.cljs$core$IFn$_invoke$arity$2","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__10140","cljs.core\/js-obj","seq10139","self__8731__auto__","keyvals","cljs.core.apply.cljs$core$IFn$_invoke$arity$2","goog.object\/create","cljs.core\/js-keys","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\/boolean","cljs.core\/ifn?","cljs.core\/integer?","js\/isNaN","js\/Infinity","js\/parseFloat","js\/parseInt","cljs.core\/int?","goog\/math.Integer","goog\/math.Long","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\/find","cljs.core\/MapEntry","G__10164","cljs.core\/distinct?","seq10161","G__10162","G__10163","etc","cljs.core\/compare","G__10173","cljs.core\/compare-indexed","ys","xl","yl","cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4","cljs.core\/chunk-first","s__12394","cljs.core\/fn->comparator","G__10180","cljs.core\/sort","cljs.core.sort.cljs$core$IFn$_invoke$arity$2","comp","cljs.core\/to-array","G__10181","G__10182","goog.array\/stableSort","G__10187","cljs.core\/sort-by","keyfn","cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3","G__10189","G__10190","fexpr__10188","G__10193","cljs.core\/seq-reduce","G__10194","G__10195","cljs.core\/shuffle","goog.array\/shuffle","cljs.core\/vec","G__10200","cljs.core\/iter-reduce","nacc","G__10201","G__10202","G__10203","G__10204","G__10209","cljs.core\/reduce","cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core._reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3","cljs.core._reduce.cljs$core$IFn$_invoke$arity$3","cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3","cljs.core\/reduce-kv","cljs.core\/identity","G__10214","cljs.core\/completing","cljs.core.completing.cljs$core$IFn$_invoke$arity$2","cf","G__10218","cljs.core\/transduce","xform","cljs.core.transduce.cljs$core$IFn$_invoke$arity$4","G__10224","cljs.core\/+","seq10221","G__10222","G__10223","G__10233","cljs.core\/-","seq10230","G__10231","G__10232","G__10242","cljs.core\/*","seq10239","G__10240","G__10241","cljs.core\/\/","G__10251","seq10248","G__10249","G__10250","G__10260","cljs.core\/<","seq10257","G__10258","G__10259","G__10272","cljs.core\/<=","seq10269","G__10270","G__10271","G__10284","cljs.core\/>","seq10281","G__10282","G__10283","G__10296","cljs.core\/>=","seq10293","G__10294","G__10295","cljs.core\/dec","G__10308","cljs.core\/max","seq10305","G__10306","G__10307","G__10317","cljs.core\/min","seq10314","G__10315","G__10316","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__10326","cljs.core\/unchecked-add","seq10323","G__10324","G__10325","G__10335","cljs.core\/unchecked-add-int","seq10332","G__10333","G__10334","cljs.core\/unchecked-dec","cljs.core\/unchecked-dec-int","G__10344","cljs.core\/unchecked-divide-int","seq10341","G__10342","G__10343","cljs.core\/unchecked-inc","cljs.core\/unchecked-inc-int","G__10353","cljs.core\/unchecked-multiply","seq10350","G__10351","G__10352","G__10362","cljs.core\/unchecked-multiply-int","seq10359","G__10360","G__10361","cljs.core\/unchecked-negate","cljs.core\/unchecked-negate-int","cljs.core\/unchecked-remainder-int","cljs.core\/mod","G__10371","cljs.core\/unchecked-subtract","seq10368","G__10369","G__10370","G__10380","cljs.core\/unchecked-subtract-int","seq10377","G__10378","G__10379","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__10389","cljs.core\/bit-xor","seq10386","G__10387","G__10388","G__10398","cljs.core\/bit-and","seq10395","G__10396","G__10397","G__10407","cljs.core\/bit-or","seq10404","G__10405","G__10406","G__10416","cljs.core\/bit-and-not","seq10413","G__10414","G__10415","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__10425","cljs.core\/==","seq10422","G__10423","G__10424","cljs.core\/pos?","cljs.core\/zero?","cljs.core\/neg?","cljs.core\/nthnext","G__10438","cljs.core\/str","seq10436","G__10437","G__10446","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__10456","chunk__10457","count__10458","i__10459","vec__10460","cljs.core.nth.cljs$core$IFn$_invoke$arity$3","temp__4657__auto__","c__8407__auto__","cljs.core\/chunk-rest","vec__10463","key-name","str-name","cljs.core\/name","cljs.core\/->List","first","__hash","cljs.core\/list?","G__10496","G__10497","G__10498","cljs.core\/EmptyList","cljs.core\/->EmptyList","G__10504","G__10505","G__10506","cljs.core\/reversible?","cljs.core\/rseq","rev","cljs.core\/reverse","cljs.core\/list","seq10511","cljs.core\/Cons","cljs.core\/->Cons","G__10520","G__10521","G__10522","cljs.core\/hash-keyword","cljs.core\/compare-keywords","G__10528","G__10529","G__10530","G__10531","G__10532","G__10533","args10534","cljs.core\/Keyword","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__10538","cljs.core\/keyword","parts","cljs.core\/LazySeq","cljs.core\/->LazySeq","fn","ls","G__10543","G__10544","G__10545","cljs.core\/ChunkBuffer","cljs.core\/->ChunkBuffer","buf","cljs.core\/ArrayChunk","cljs.core\/chunk-buffer","capacity","cljs.core\/->ArrayChunk","off","G__10550","cljs.core\/array-chunk","cljs.core\/ChunkedCons","cljs.core\/->ChunkedCons","chunk","G__10554","G__10555","G__10556","cljs.core\/chunk-cons","cljs.core\/chunk-append","cljs.core\/chunk","cljs.core\/chunk-next","ary","cljs.core\/to-array-2d","G__10567","cljs.core\/int-array","size-or-seq","cljs.core.int_array.cljs$core$IFn$_invoke$arity$2","init-val-or-seq","G__10575","cljs.core\/long-array","cljs.core.long_array.cljs$core$IFn$_invoke$arity$2","G__10583","cljs.core\/double-array","cljs.core.double_array.cljs$core$IFn$_invoke$arity$2","G__10591","cljs.core\/object-array","cljs.core.object_array.cljs$core$IFn$_invoke$arity$2","cljs.core\/bounded-count","cljs.core\/spread","arglist","G__10604","cljs.core\/concat","seq10601","G__10602","G__10603","cljs.core.concat.cljs$core$IFn$_invoke$arity$2","zs","cat","xys","G__10615","cljs.core\/list*","seq10610","G__10611","G__10612","G__10613","G__10614","cljs.core\/transient","cljs.core\/persistent!","G__10624","cljs.core\/conj!","seq10621","G__10622","G__10623","vals","ntcoll","G__10637","cljs.core\/assoc!","seq10633","G__10634","G__10635","G__10636","G__10650","cljs.core\/dissoc!","seq10647","G__10648","G__10649","cljs.core\/pop!","G__10662","cljs.core\/disj!","seq10659","G__10660","G__10661","cljs.core\/apply-to","argc","a8556","b8557","c8558","d8559","e8560","f8561","g8562","h8563","i8564","j8565","k8566","l8567","m8568","n8569","o8570","p8571","q8572","r8573","s8574","t8575","G__10671","cljs.core\/apply-to-simple","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3","a0","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4","a1","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5","a2","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6","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__8584__auto__","s__8585__auto__","G__10682","cljs.core\/apply","seq10676","G__10677","G__10678","G__10679","G__10680","G__10681","fixed-arity","bc","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2","cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2","cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3","z","cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4","spread-args","G__10695","cljs.core\/vary-meta","seq10688","G__10689","G__10690","G__10691","G__10692","G__10693","G__10694","G__10696","G__10697","G__10698","G__10699","G__10700","G__10701","G__10702","G__10703","G__10704","G__10705","G__10706","G__10707","G__10708","G__10709","G__10710","G__10719","cljs.core\/not=","seq10716","G__10717","G__10718","cljs.core\/not-empty","cljs.core\/nil-iter","cljs.core\/t_cljs$core10724","_10726","meta10725","cljs.core\/->t_cljs$core10724","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$IFn$_invoke$arity$3","cljs.core\/TransformerIterator","cljs.core\/->TransformerIterator","buffer","completed","xf","sourceIter","multi","G__10732","G__10733","G__10734","G__10735","G__10736","cljs.core\/transformer-iterator","iterator","G__10740","source","sources","G__10746","cljs.core\/sequence","seq10743","G__10744","G__10745","colls","cljs.core.map.cljs$core$IFn$_invoke$arity$2","cljs.core\/every?","pred","G__10751","cljs.core\/not-every?","cljs.core\/some","G__10755","cljs.core\/not-any?","cljs.core\/even?","cljs.core\/odd?","cljs.core\/complement","cljs.core\/constantly","G__10772","cljs.core\/comp","seq10768","G__10769","G__10770","G__10771","G__10773","G__10774","G__10775","G__10776","G__10777","cljs.core.apply.cljs$core$IFn$_invoke$arity$5","G__10778","G__10779","G__10780","G__10781","G__10782","G__10783","G__10784","G__10785","G__10786","G__10787","f1","f2","f3","fs","fexpr__10788","G__10816","cljs.core\/partial","seq10811","G__10812","G__10813","G__10814","G__10815","arg1","arg2","arg3","G__10843","cljs.core\/fnil","G__10844","G__10845","G__10846","G__10847","G__10848","G__10849","ds","G__10850","G__10851","G__10852","G__10853","G__10854","G__10855","G__10856","G__10857","G__10858","G__10859","G__10880","cljs.core\/map-indexed","rf","cljs.core\/volatile!","result","input","G__10881","G__10882","G__10883","G__10884","G__10889","G__10890","mapi","G__10891","G__10892","G__10899","cljs.core\/keep","G__10900","cljs.core.keep.cljs$core$IFn$_invoke$arity$2","G__10901","cljs.core\/Atom","cljs.core\/->Atom","state","validator","watches","seq__10908","chunk__10909","count__10910","i__10911","vec__10912","vec__10915","G__10933","cljs.core\/atom","p__10934","map__10935","cljs.core\/hash-map","seq10931","G__10932","cljs.core\/reset!","validate","old-value","cljs.core\/reset-vals!","G__10947","cljs.core\/swap!","seq10942","G__10943","G__10944","G__10945","G__10946","G__10948","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2","G__10949","G__10950","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3","G__10951","G__10952","G__10953","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5","G__10964","cljs.core\/swap-vals!","seq10959","G__10960","G__10961","G__10962","G__10963","G__10965","G__10966","G__10967","G__10968","G__10969","G__10970","cljs.core\/compare-and-set!","cljs.core\/set-validator!","iref","G__10976","cljs.core\/get-validator","cljs.core\/Volatile","cljs.core\/->Volatile","new-state","cljs.core\/volatile?","cljs.core\/vreset!","vol","G__10978","cljs.core\/keep-indexed","ia","G__10983","G__10984","keepi","G__10985","G__10986","G__11004","cljs.core\/every-pred","seq11000","G__11001","G__11002","G__11003","cljs$core$ep1.cljs$core$IFn$_invoke$arity$3","p1","p2","cljs$core$ep2.cljs$core$IFn$_invoke$arity$3","p1__10993#","p3","cljs$core$ep3.cljs$core$IFn$_invoke$arity$3","p1__10994#","ps","p1__10995#","p1__10996#","p1__10997#","cljs$core$epn.cljs$core$IFn$_invoke$arity$3","p1__10998#","G__11040","cljs.core\/some-fn","seq11036","G__11037","G__11038","G__11039","cljs$core$sp1.cljs$core$IFn$_invoke$arity$3","cljs$core$sp2.cljs$core$IFn$_invoke$arity$3","p1__11029#","cljs$core$sp3.cljs$core$IFn$_invoke$arity$3","p1__11030#","p1__11031#","p1__11032#","p1__11033#","cljs$core$spn.cljs$core$IFn$_invoke$arity$3","p1__11034#","G__11072","cljs.core\/map","seq11067","G__11068","G__11069","G__11070","G__11071","G__11073","G__11074","inputs","G__11075","G__11076","G__11077","G__11078","c1","c2","s1","s2","G__11079","G__11080","cljs.core.map.cljs$core$IFn$_invoke$arity$3","c3","s3","G__11081","G__11082","G__11083","cljs.core.map.cljs$core$IFn$_invoke$arity$4","step","cs","ss","p1__11065#","cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic","G__11098","cljs.core\/take","na","nn","cljs.core.take.cljs$core$IFn$_invoke$arity$2","G__11102","cljs.core\/drop","G__11108","cljs.core\/drop-last","cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2","cljs.core.drop.cljs$core$IFn$_invoke$arity$2","cljs.core\/take-last","lead","G__11113","cljs.core\/drop-while","da","drop?","G__11115","cljs.core\/Cycle","cljs.core\/->Cycle","all","prev","current","G__11120","G__11121","G__11122","G__11123","cljs.core\/cycle","cljs.core\/split-at","cljs.core\/Repeat","cljs.core\/->Repeat","next","G__11139","cljs.core\/repeat","cljs.core\/replicate","cljs.core.repeat.cljs$core$IFn$_invoke$arity$1","G__11142","cljs.core\/repeatedly","cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1","cljs.core\/UNREALIZED-SEED","cljs.core\/Iterate","cljs.core\/->Iterate","prev-seed","cljs.core\/iterate","G__11152","cljs.core\/interleave","seq11149","G__11150","G__11151","cljs.core.interleave.cljs$core$IFn$_invoke$arity$2","G__11158","cljs.core\/interpose","sep","started","sepr","cljs.core\/flatten1","G__11164","cljs.core\/mapcat","seq11162","G__11163","cljs.core.comp.cljs$core$IFn$_invoke$arity$2","cljs.core.map.cljs$core$IFn$_invoke$arity$1","cljs.core\/cat","G__11170","cljs.core\/filter","G__11171","cljs.core.filter.cljs$core$IFn$_invoke$arity$2","G__11178","cljs.core\/remove","cljs.core.filter.cljs$core$IFn$_invoke$arity$1","cljs.core\/tree-seq","branch?","children","root","walk","node","cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic","cljs.core\/flatten","p1__11180#","G__11182","cljs.core\/into","G__11192","cljs.core\/mapv","seq11187","G__11188","G__11189","G__11190","G__11191","cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2","cljs.core.into.cljs$core$IFn$_invoke$arity$2","cljs.core\/filterv","G__11198","cljs.core\/partition","cljs.core.partition.cljs$core$IFn$_invoke$arity$3","pad","cljs.core.partition.cljs$core$IFn$_invoke$arity$4","G__11201","cljs.core\/get-in","sentinel","p__11206","vec__11207","seq__11208","first__11209","cljs.core\/assoc-in","G__11210","G__11211","G__11212","G__11221","cljs.core\/update-in","p__11222","vec__11223","seq__11224","first__11225","p__11227","vec__11228","seq__11229","first__11230","p__11233","vec__11234","seq__11235","first__11236","p__11240","vec__11241","seq__11242","first__11243","p__11248","vec__11249","seq__11250","first__11251","seq11214","G__11215","G__11216","G__11217","G__11218","G__11219","G__11220","cljs.core.update_in.cljs$core$IFn$_invoke$arity$3","G__11226","cljs.core.update_in.cljs$core$IFn$_invoke$arity$4","G__11231","G__11232","cljs.core.update_in.cljs$core$IFn$_invoke$arity$5","G__11237","G__11238","G__11239","cljs.core.update_in.cljs$core$IFn$_invoke$arity$6","G__11244","G__11245","G__11246","G__11247","G__11264","cljs.core\/update","seq11257","G__11258","G__11259","G__11260","G__11261","G__11262","G__11263","G__11265","G__11266","G__11267","G__11268","G__11269","G__11270","G__11271","G__11272","G__11273","G__11274","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__11281","G__11282","G__11283","G__11284","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__11289","G__11290","G__11291","G__11292","G__11293","cljs.core\/pop-tail","new-child","G__11294","G__11295","G__11296","cljs.core\/RangedIterator","cljs.core\/->RangedIterator","base","cljs.core\/ranged-iterator","G__11298","cljs.core\/pv-reduce","cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5","G__11299","G__11300","cljs.core\/APersistentVector","args11305","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","cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4","cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4","G__11309","G__11310","G__11306","G__11307","G__11308","cljs.core\/TransientVector","cljs.core\/tv-editable-root","cljs.core\/tv-editable-tail","no-clone","out","G__11327","G__11328","G__11329","cljs.core\/vector","seq11333","cljs.core\/ChunkedSeq","cljs.core\/->ChunkedSeq","vec","cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5","cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2","G__11339","G__11340","G__11341","G__11346","cljs.core\/chunked-seq","args11348","cljs.core\/Subvec","cljs.core\/->Subvec","cljs.core\/build-subvec","subvec-seq","v-pos","cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3","G__11349","G__11350","G__11351","G__11361","G__11362","G__11363","G__11374","cljs.core\/subvec","cljs.core.subvec.cljs$core$IFn$_invoke$arity$3","cljs.core\/tv-ensure-editable","tl","cljs.core\/tv-push-tail","tv","tail-node","G__11378","G__11379","G__11380","G__11381","cljs.core\/tv-pop-tail","G__11382","G__11383","G__11384","cljs.core\/unchecked-editable-array-for","args11387","cljs.core\/->TransientVector","new-root-array","trimmed-tail","fexpr__11388","go","cljs.core\/PersistentQueueIter","cljs.core\/->PersistentQueueIter","fseq","riter","cljs.core\/PersistentQueueSeq","cljs.core\/->PersistentQueueSeq","front","rear","G__11392","G__11393","G__11394","cljs.core\/PersistentQueue","cljs.core\/->PersistentQueue","G__11400","G__11401","G__11402","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$IFn$_invoke$arity$3","goog.object\/get","cljs.core\/obj-clone","new-obj","G__11412","G__11413","G__11414","args11422","cljs.core\/ObjMap","cljs.core\/->ObjMap","keys","strobj","update-count","p1__11421#","new-strobj","new-keys","G__11423","G__11424","G__11425","cljs.core\/RecordIter","cljs.core\/->RecordIter","record","base-count","fields","ext-map-iter","cljs.core\/ES6EntriesIterator","cljs.core\/->ES6EntriesIterator","vec__11431","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","args11441","cljs.core\/->MapEntry","G__11442","cljs.core\/map-entry?","cljs.core\/PersistentArrayMapSeq","cljs.core\/->PersistentArrayMapSeq","G__11450","G__11451","G__11452","cljs.core\/persistent-array-map-seq","cljs.core\/PersistentArrayMapIterator","cljs.core\/->PersistentArrayMapIterator","args11456","cljs.core\/->PersistentArrayMap","cljs.core\/keys","cljs.core\/vals","seq__11457","chunk__11458","count__11459","i__11460","vec__11461","vec__11464","es","alen","G__11472","new-len","G__11467","G__11468","G__11469","cljs.core\/TransientArrayMap","no-check","G__11500","G__11507","G__11514","G__11515","G__11516","args11520","cljs.core\/->TransientArrayMap","editable?","cljs.core\/array->transient-hash-map","G__11521","cljs.core\/Box","cljs.core\/->Box","cljs.core\/key-test","cljs.core\/mask","G__11529","cljs.core\/clone-and-set","G__11530","G__11531","cljs.core\/remove-pair","cljs.core\/bitmap-indexed-node-index","bitmap","bit","cljs.core\/bitpos","G__11534","cljs.core\/edit-and-set","inode","editable","cljs.core\/inode-kv-reduce","G__11536","G__11537","G__11538","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.cljs$core$IFn$_invoke$arity$3","cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5","cljs.core.create_node.cljs$core$IFn$_invoke$arity$6","cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1","earr","cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4","cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6","cljs.core.create_node.cljs$core$IFn$_invoke$arity$7","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$IFn$_invoke$arity$1","cljs.core\/hash-collision-node-find-index","lim","cljs.core\/HashCollisionNode","cljs.core\/->HashCollisionNode","collision-hash","G__11565","cljs.core\/create-node","key1","val1","key2hash","key2","val2","key1hash","cljs.core\/NodeSeq","cljs.core\/->NodeSeq","cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3","G__11569","G__11570","G__11571","G__11576","cljs.core\/create-inode-seq","node-seq","cljs.core\/ArrayNodeSeq","cljs.core\/->ArrayNodeSeq","cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4","G__11582","G__11583","G__11584","G__11589","cljs.core\/create-array-node-seq","nj","cljs.core\/HashMapIter","cljs.core\/->HashMapIter","nil-val","root-iter","seen","args11593","cljs.core\/->PersistentHashMap","has-nil?","seq__11594","chunk__11595","count__11596","i__11597","vec__11598","vec__11601","cljs.core\/TransientHashMap","vs","cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2","G__11627","G__11628","G__11629","args11633","cljs.core\/->TransientHashMap","cljs.core\/tree-map-seq-push","stack","cljs.core\/PersistentTreeMapSeq","cljs.core\/->PersistentTreeMapSeq","next-stack","G__11641","G__11642","G__11643","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__11647","G__11648","G__11649","G__11650","G__11651","G__11652","G__11653","G__11654","G__11655","args11656","cljs.core\/->BlackNode","G__11657","G__11662","G__11663","G__11664","args11668","cljs.core\/->RedNode","G__11669","G__11674","G__11675","G__11676","cljs.core\/tree-map-add","G__11680","G__11681","G__11682","G__11683","G__11684","G__11685","G__11686","G__11687","G__11688","G__11689","G__11690","G__11691","cljs.core\/tree-map-append","app","G__11692","G__11693","G__11694","G__11695","G__11696","G__11697","G__11698","G__11699","cljs.core\/tree-map-remove","G__11700","G__11701","G__11702","G__11703","G__11704","G__11705","G__11706","G__11707","G__11708","G__11709","cljs.core\/tree-map-replace","tk","G__11710","G__11711","G__11712","G__11713","G__11714","G__11715","G__11716","G__11717","args11718","cljs.core\/PersistentTreeMap","cljs.core\/->PersistentTreeMap","seq__11719","chunk__11720","count__11721","i__11722","vec__11723","vec__11726","G__11729","G__11730","found-node","G__11731","G__11732","G__11758","G__11759","G__11760","seq11764","cljs.core\/array-map","seq11770","cljs.core\/obj-map","seq11774","G__11777","G__11778","G__11779","cljs.core\/sorted-map","seq11787","cljs.core\/sorted-map-by","seq11793","G__11794","comparator","cljs.core\/KeySeq","cljs.core\/->KeySeq","mseq","me","nseq","G__11804","G__11805","G__11806","hash-map","map-entry","cljs.core\/ValSeq","cljs.core\/->ValSeq","G__11814","G__11815","G__11816","cljs.core\/merge","seq11822","maps","p1__11820#","p2__11821#","cljs.core.reduce.cljs$core$IFn$_invoke$arity$2","cljs.core\/merge-with","seq11826","G__11827","merge-entry","G__11828","G__11829","merge2","m1","m2","cljs.core\/select-keys","map","keyseq","cljs.core\/HashSetIter","cljs.core\/->HashSetIter","args11837","cljs.core\/PersistentHashSet","cljs.core\/->PersistentHashSet","seq__11838","chunk__11839","count__11840","i__11841","vec__11842","vec__11845","p1__11836#","p2__11835#","cljs.core\/TransientHashSet","items","G__11871","G__11872","G__11873","args11877","cljs.core\/->TransientHashSet","transient-map","cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2","args11881","cljs.core\/PersistentTreeSet","cljs.core\/->PersistentTreeSet","tree-map","seq__11882","chunk__11883","count__11884","i__11885","vec__11886","vec__11889","p1__11880#","p2__11879#","G__11905","G__11906","G__11907","cljs.core\/set-from-indexed-seq","iseq","a__8505__auto__","l__8506__auto__","cljs.core\/set","G__11917","cljs.core\/hash-set","seq11916","cljs.core\/sorted-set","seq11922","cljs.core\/sorted-set-by","seq11926","G__11927","G__11934","cljs.core\/replace","smap","p1__11931#","p1__11932#","G__11937","cljs.core\/distinct","fexpr__11942","p__11943","vec__11944","cljs.core\/butlast","cljs.core\/zipmap","G__11964","cljs.core\/max-key","seq11960","G__11961","G__11962","G__11963","p1__11957#","p2__11958#","cljs.core.max_key.cljs$core$IFn$_invoke$arity$3","G__11976","cljs.core\/min-key","seq11972","G__11973","G__11974","G__11975","p1__11969#","p2__11970#","cljs.core.min_key.cljs$core$IFn$_invoke$arity$3","cljs.core\/ArrayList","cljs.core\/->ArrayList","cljs.core\/array-list","G__11982","cljs.core\/partition-all","cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3","G__11986","cljs.core\/take-while","G__11987","cljs.core.take_while.cljs$core$IFn$_invoke$arity$2","cljs.core\/mk-bound-fn","sc","test","G__11990","G__11991","G__11992","G__11993","G__11995","cljs.core\/subseq","include","fexpr__11996","vec__11997","start-test","start-key","end-test","end-key","vec__12000","fexpr__12003","G__12006","cljs.core\/rsubseq","fexpr__12007","vec__12008","vec__12011","fexpr__12014","cljs.core\/RangeIterator","cljs.core\/->RangeIterator","cljs.core\/Range","cljs.core\/->Range","rng","G__12016","G__12021","G__12022","G__12023","G__12028","cljs.core\/range","cljs.core.range.cljs$core$IFn$_invoke$arity$3","js\/Number","G__12031","cljs.core\/take-nth","cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2","cljs.core\/split-with","cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2","G__12036","cljs.core\/partition-by","pa","pval","fst","fv","run","p1__12034#","cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2","cljs.core\/frequencies","counts","G__12040","cljs.core\/reductions","cljs.core.reductions.cljs$core$IFn$_invoke$arity$3","G__12041","G__12042","G__12059","cljs.core\/juxt","seq12055","G__12056","G__12057","G__12058","p1__12044#","p2__12045#","p1__12046#","p2__12047#","p1__12048#","p2__12049#","p1__12050#","p2__12051#","p1__12052#","p2__12053#","G__12089","cljs.core\/dorun","G__12095","cljs.core\/doall","cljs.core.dorun.cljs$core$IFn$_invoke$arity$1","cljs.core.dorun.cljs$core$IFn$_invoke$arity$2","cljs.core\/regexp?","js\/RegExp","cljs.core\/re-matches","re","matches","js\/TypeError","cljs.core\/re-find","cljs.core\/re-seq","match-data","match-idx","match-str","post-idx","post-match","cljs.core.subs.cljs$core$IFn$_invoke$arity$2","cljs.core\/re-pattern","vec__12097","prefix","flags","pattern","cljs.core\/pr-sequential-writer","print-one","begin","*print-level*12100","G__12101","G__12102","G__12103","G__12104","G__12105","G__12106","cljs.core\/write-all","seq12117","G__12118","seq__12119","chunk__12120","count__12121","i__12122","cljs.core\/string-print","cljs.core\/flush","cljs.core\/char-escapes","obj12139","cljs.core\/quote-string","match","cljs.core\/print-meta?","cljs.core\/pr-writer-impl","cljs.core\/pr-writer","cljs.core\/print-map","G__12144","cljs.core.keyword.cljs$core$IFn$_invoke$arity$1","goog.string\/isEmpty","cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic","normalize","G__12145","G__12146","alt-impl","G__12148","G__12149","G__12150","cljs.core\/pr-seq-writer","objs","seq__12151","chunk__12152","count__12153","i__12154","cljs.core\/pr-sb-with-opts","cljs.core\/pr-str-with-opts","cljs.core\/prn-str-with-opts","cljs.core\/pr-with-opts","G__12168","cljs.core\/newline","cljs.core.newline.cljs$core$IFn$_invoke$arity$1","cljs.core\/pr-str","seq12170","cljs.core\/prn-str","seq12174","cljs.core\/pr","seq12178","cljs.core\/print","cljs.core\/print-str","seq12184","cljs.core\/println","seq12188","cljs.core\/println-str","seq12192","cljs.core\/prn","seq12196","cljs.core\/strip-ns","named","cljs.core.keyword.cljs$core$IFn$_invoke$arity$2","cljs.core\/lift-ns","G__12206","vec__12207","seq__12208","first__12209","vec__12210","vec__12213","seq__12214","first__12215","vec__12216","entries","lm","new-ns","cljs.core\/print-prefix-map","w","G__12225","G__12226","G__12227","G__12228","G__12229","G__12230","vec__12234","lift-map","cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2","cljs.core\/alter-meta!","seq12237","G__12238","G__12239","cljs.core\/reset-meta!","cljs.core\/add-watch","cljs.core\/remove-watch","cljs.core\/gensym_counter","G__12244","cljs.core\/gensym","cljs.core.gensym.cljs$core$IFn$_invoke$arity$1","prefix-string","cljs.core.atom.cljs$core$IFn$_invoke$arity$1","cljs.core.symbol.cljs$core$IFn$_invoke$arity$1","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2","cljs.core\/Delay","cljs.core\/->Delay","cljs.core\/delay?","cljs.core\/force","cljs.core\/realized?","p1__12246#","p2__12247#","cljs.core\/preserving-reduced","rf1","G__12250","cljs.core\/halt-when","cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2","retf","G__12251","G__12252","G__12256","cljs.core\/dedupe","prior","cljs.core.sequence.cljs$core$IFn$_invoke$arity$2","cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0","G__12260","cljs.core\/random-sample","prob","cljs.core.rand.cljs$core$IFn$_invoke$arity$0","cljs.core\/Eduction","cljs.core\/->Eduction","cljs.core.transduce.cljs$core$IFn$_invoke$arity$3","cljs.core.completing.cljs$core$IFn$_invoke$arity$1","G__12264","G__12265","G__12266","cljs.core\/eduction","seq12270","xforms","cljs.core\/run!","proc","p1__12275#","p2__12274#","cljs\/core.-clj->js","cljs\/core.-key->js","cljs.core\/IEncodeJS","cljs.core\/-clj->js","cljs.core\/-key->js","G__12277","cljs.core\/key->js","cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2","cljs.core\/clj->js","primitive-fn","cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic","p__12282","map__12283","seq12280","G__12281","keyword-fn","options","thisfn","seq__12311","chunk__12312","count__12313","i__12314","vec__12315","vec__12321","G__12318","G__12319","G__12320","G__12324","G__12325","G__12326","seq__12327","chunk__12328","count__12329","i__12330","cljs\/core.-js->clj","cljs.core\/IEncodeClojure","cljs.core\/-js->clj","G__12389","cljs.core\/js->clj","seq12387","G__12388","cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic","map__12390","keywordize-keys","cljs.core.doall.cljs$core$IFn$_invoke$arity$1","iter__8376__auto__","c__8374__auto__","size__8375__auto__","b__12396","i__12395","iter__12393","cljs.core\/memoize","mem","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4","G__12408","cljs.core\/trampoline","seq12406","G__12407","cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1","G__12415","cljs.core\/rand","cljs.core.rand.cljs$core$IFn$_invoke$arity$1","Math\/random","cljs.core\/rand-int","G__12417","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!","seq12418","G__12419","G__12424","cljs.core\/isa?","cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3","fexpr__12427","G__12432","cljs.core\/parents","tag","cljs.core.parents.cljs$core$IFn$_invoke$arity$2","G__12435","cljs.core\/ancestors","cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2","G__12438","cljs.core\/descendants","cljs.core.descendants.cljs$core$IFn$_invoke$arity$2","G__12441","cljs.core\/derive","cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic","tp","td","ta","tf","target","targets","G__12447","cljs.core\/underive","parentMap","childsParents","newParents","deriv-seq","p1__12443#","cljs.core.interpose.cljs$core$IFn$_invoke$arity$2","p1__12444#","p2__12445#","cljs.core.partition.cljs$core$IFn$_invoke$arity$2","cljs.core\/reset-cache","method-cache","method-table","cached-hierarchy","hierarchy","cljs.core\/prefers*","prefer-table","xprefs","fexpr__12449","cljs.core.parents.cljs$core$IFn$_invoke$arity$1","G__12453","G__12454","G__12455","G__12459","G__12460","G__12461","cljs.core\/dominates","cljs.core\/find-and-cache-best-method","dispatch-val","default-dispatch-val","best-entry","p__12464","vec__12465","be","be2","fexpr__12469","cljs\/core.-reset","cljs\/core.-add-method","cljs\/core.-remove-method","cljs\/core.-prefer-method","cljs\/core.-get-method","cljs\/core.-methods","cljs\/core.-prefers","cljs\/core.-default-dispatch-val","cljs\/core.-dispatch-fn","cljs.core\/IMultiFn","cljs.core\/-reset","mf","cljs.core\/-add-method","method","cljs.core\/-remove-method","cljs.core\/-prefer-method","dispatch-val-y","cljs.core\/-get-method","cljs.core\/-methods","cljs.core\/-prefers","cljs.core\/-default-dispatch-val","cljs.core\/-dispatch-fn","cljs.core\/throw-no-method-error","args12470","cljs.core\/MultiFn","cljs.core\/->MultiFn","dispatch-fn","target-fn","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3","fexpr__12471","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","G__12473","G__12474","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__12477","cljs.core\/ex-info","msg","cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3","cljs.core\/ex-data","ex","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__12479","cljs.core\/tagged-literal?","cljs.core\/tagged-literal","cljs.core\/js-reserved-arr","cljs.core\/js-reserved","cljs.core\/js-reserved?","p1__12481#","p2__12482#","cljs.core\/demunge-pattern","G__12483","cljs.core\/munge-str","sub","cljs.core\/munge","name'","cljs.core\/demunge-str","munged-name","goog.string\/endsWith","last-match-end","vec__12490","cljs.core\/demunge","G__12496","fexpr__12495","cljs.core\/tapset","cljs.core\/maybe-init-tapset","cljs.core\/add-tap","cljs.core\/remove-tap","cljs.core\/tap>","seq__12497","chunk__12498","count__12499","i__12500","tap","e12501","e12502","cljs.core\/ns-lookup","ns-obj","cljs.core\/Namespace","cljs.core\/->Namespace","goog.object\/containsKey","var-sym","var-meta","cljs.core\/NS_CACHE","cljs.core\/find-ns-obj*","ctxt","G__12531","G__12532","cljs.core\/find-ns-obj","munged-ns","segs","G__12535","e12536","js\/eval","js\/ReferenceError","goog\/global","cljs.core\/ns-interns*","G__12539","cljs.core\/create-ns","cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2","cljs.core\/find-ns","the-ns","cljs.core\/find-macros-ns","ns-str","goog.string\/contains","cljs.core\/ns-name","cljs.core\/uri?","goog\/Uri","cljs.core\/maybe-enable-print!","system","js\/Java","cljs.core\/*eval*","cljs.core\/eval"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async.cljs b/examples/resources/public/js/out/cljs/core/async.cljs new file mode 100644 index 0000000..7fecbce --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async.cljs @@ -0,0 +1,929 @@ +(ns cljs.core.async + (:refer-clojure :exclude [reduce transduce into merge map take partition partition-by]) + (:require [cljs.core.async.impl.protocols :as impl] + [cljs.core.async.impl.channels :as channels] + [cljs.core.async.impl.buffers :as buffers] + [cljs.core.async.impl.timers :as timers] + [cljs.core.async.impl.dispatch :as dispatch] + [cljs.core.async.impl.ioc-helpers :as helpers]) + (:require-macros [cljs.core.async.impl.ioc-macros :as ioc] + [cljs.core.async :refer [go go-loop]])) + +(defn- fn-handler + ([f] (fn-handler f true)) + ([f blockable] + (reify + impl/Handler + (active? [_] true) + (blockable? [_] blockable) + (commit [_] f)))) + +(defn buffer + "Returns a fixed buffer of size n. When full, puts will block/park." + [n] + (buffers/fixed-buffer n)) + +(defn dropping-buffer + "Returns a buffer of size n. When full, puts will complete but + val will be dropped (no transfer)." + [n] + (buffers/dropping-buffer n)) + +(defn sliding-buffer + "Returns a buffer of size n. When full, puts will complete, and be + buffered, but oldest elements in buffer will be dropped (not + transferred)." + [n] + (buffers/sliding-buffer n)) + +(defn unblocking-buffer? + "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. " + [buff] + (satisfies? impl/UnblockingBuffer buff)) + +(defn chan + "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." + ([] (chan nil)) + ([buf-or-n] (chan buf-or-n nil nil)) + ([buf-or-n xform] (chan buf-or-n xform nil)) + ([buf-or-n xform ex-handler] + (let [buf-or-n (if (= buf-or-n 0) + nil + buf-or-n)] + (when xform (assert buf-or-n "buffer must be supplied when transducer is")) + (channels/chan (if (number? buf-or-n) + (buffer buf-or-n) + buf-or-n) + xform + ex-handler)))) + +(defn promise-chan + "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." + ([] (promise-chan nil)) + ([xform] (promise-chan xform nil)) + ([xform ex-handler] + (chan (buffers/promise-buffer) xform ex-handler))) + +(defn timeout + "Returns a channel that will close after msecs" + [msecs] + (timers/timeout msecs)) + +(defn ! + "puts a val into port. nil values are not allowed. Must be called + inside a (go ...) block. Will park if no buffer space is available. + Returns true unless port is already closed." + [port val] + (throw (js/Error. ">! used not in (go ...) block"))) + +(defn put! + "Asynchronously puts a val into port, calling fn0 (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 fn0 on calling thread. Returns nil." + ([port val] + (if-let [ret (impl/put! port val fhnop)] + @ret + true)) + ([port val fn1] (put! port val fn1 true)) + ([port val fn1 on-caller?] + (if-let [retb (impl/put! port val (fn-handler fn1))] + (let [ret @retb] + (if on-caller? + (fn1 ret) + (dispatch/run #(fn1 ret))) + ret) + true))) + +(defn close! + ([port] + (impl/close! port))) + + +(defn- random-array + [n] + (let [a (make-array n)] + (dotimes [x n] + (aset a x 0)) + (loop [i 1] + (if (= i n) + a + (do + (let [j (rand-int i)] + (aset a i (aget a j)) + (aset a j i) + (recur (inc i)))))))) + +(defn- alt-flag [] + (let [flag (atom true)] + (reify + impl/Handler + (active? [_] @flag) + (blockable? [_] true) + (commit [_] + (reset! flag nil) + true)))) + +(defn- alt-handler [flag cb] + (reify + impl/Handler + (active? [_] (impl/active? flag)) + (blockable? [_] true) + (commit [_] + (impl/commit flag) + cb))) + +(defn do-alts + "returns derefable [val port] if immediate, nil if enqueued" + [fret ports opts] + (let [flag (alt-flag) + n (count ports) + idxs (random-array n) + priority (:priority opts) + ret + (loop [i 0] + (when (< i n) + (let [idx (if priority i (aget idxs i)) + port (nth ports idx) + wport (when (vector? port) (port 0)) + vbox (if wport + (let [val (port 1)] + (impl/put! wport val (alt-handler flag #(fret [% wport])))) + (impl/take! port (alt-handler flag #(fret [% port]))))] + (if vbox + (channels/box [@vbox (or wport port)]) + (recur (inc i))))))] + (or + ret + (when (contains? opts :default) + (when-let [got (and (impl/active? flag) (impl/commit flag))] + (channels/box [(:default opts) :default])))))) + +(defn alts! + "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." + + [ports & {:as opts}] + (throw (js/Error. "alts! used not in (go ...) block"))) + +(defn offer! + "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." + [port val] + (let [ret (impl/put! port val (fn-handler nop false))] + (when ret @ret))) + +(defn poll! + "Takes a val from port if it's possible to do so immediately. + Never blocks. Returns value if successful, nil otherwise." + [port] + (let [ret (impl/take! port (fn-handler nop false))] + (when ret @ret))) + +;;;;;;; channel ops + +(defn pipe + "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" + + ([from to] (pipe from to true)) + ([from to close?] + (go-loop [] + (let [v (! to v) + (recur))))) + to)) + +(defn- pipeline* + ([n to xf from close? ex-handler type] + (assert (pos? n)) + (let [jobs (chan n) + results (chan n) + process (fn [[v p :as job]] + (if (nil? job) + (do (close! results) nil) + (let [res (chan 1 xf ex-handler)] + (go + (>! res v) + (close! res)) + (put! p res) + true))) + async (fn [[v p :as job]] + (if (nil? job) + (do (close! results) nil) + (let [res (chan 1)] + (xf v res) + (put! p res) + true)))] + (dotimes [_ n] + (case type + :compute (go-loop [] + (let [job (! jobs [v p]) + (>! results p) + (recur))))) + (go-loop [] + (let [p (! to v)) + (recur)))) + (recur)))))))) + +(defn pipeline-async + "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). af must close! + the channel before returning. The presumption is that af will + return immediately, having launched some asynchronous operation + whose completion/callback will manipulate the result channel. 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." + ([n to af from] (pipeline-async n to af from true)) + ([n to af from close?] (pipeline* n to af from close? nil :async))) + +(defn pipeline + "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." + ([n to xf from] (pipeline n to xf from true)) + ([n to xf from close?] (pipeline n to xf from close? nil)) + ([n to xf from close? ex-handler] (pipeline* n to xf from close? ex-handler :compute))) + +(defn split + "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." + ([p ch] (split p ch nil nil)) + ([p ch t-buf-or-n f-buf-or-n] + (let [tc (chan t-buf-or-n) + fc (chan f-buf-or-n)] + (go-loop [] + (let [v (! (if (p v) tc fc) v) + (recur))))) + [tc fc]))) + +(defn reduce + "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." + [f init ch] + (go-loop [ret init] + (let [v (! ch (first vs))) + (recur (next vs)) + (when close? + (close! ch)))))) + + +(defn to-chan + "Creates and returns a channel which contains the contents of coll, + closing when exhausted." + [coll] + (let [ch (chan (bounded-count 100 coll))] + (onto-chan ch coll) + ch)) + + +(defprotocol Mux + (muxch* [_])) + +(defprotocol Mult + (tap* [m ch close?]) + (untap* [m ch]) + (untap-all* [m])) + +(defn mult + "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." + [ch] + (let [cs (atom {}) ;;ch->close? + m (reify + Mux + (muxch* [_] ch) + + Mult + (tap* [_ ch close?] (swap! cs assoc ch close?) nil) + (untap* [_ ch] (swap! cs dissoc ch) nil) + (untap-all* [_] (reset! cs {}) nil)) + dchan (chan 1) + dctr (atom nil) + done (fn [_] (when (zero? (swap! dctr dec)) + (put! dchan true)))] + (go-loop [] + (let [val (attrs-map + solo-modes #{:mute :pause} + attrs (conj solo-modes :solo) + solo-mode (atom :mute) + change (chan) + changed #(put! change true) + pick (fn [attr chs] + (reduce-kv + (fn [ret c v] + (if (attr v) + (conj ret c) + ret)) + #{} chs)) + calc-state (fn [] + (let [chs @cs + mode @solo-mode + solos (pick :solo chs) + pauses (pick :pause chs)] + {:solos solos + :mutes (pick :mute chs) + :reads (conj + (if (and (= mode :pause) (not (empty? solos))) + (vec solos) + (vec (remove pauses (keys chs)))) + change)})) + m (reify + Mux + (muxch* [_] out) + Mix + (admix* [_ ch] (swap! cs assoc ch {}) (changed)) + (unmix* [_ ch] (swap! cs dissoc ch) (changed)) + (unmix-all* [_] (reset! cs {}) (changed)) + (toggle* [_ state-map] (swap! cs (partial merge-with cljs.core/merge) state-map) (changed)) + (solo-mode* [_ mode] + (assert (solo-modes mode) (str "mode must be one of: " solo-modes)) + (reset! solo-mode mode) + (changed)))] + (go-loop [{:keys [solos mutes reads] :as state} (calc-state)] + (let [[v c] (alts! reads)] + (if (or (nil? v) (= c change)) + (do (when (nil? v) + (swap! cs dissoc c)) + (recur (calc-state))) + (if (or (solos c) + (and (empty? solos) (not (mutes c)))) + (when (>! out v) + (recur state)) + (recur state))))) + m)) + +(defn admix + "Adds ch as an input to the mix" + [mix ch] + (admix* mix ch)) + +(defn unmix + "Removes ch as an input to the mix" + [mix ch] + (unmix* mix ch)) + +(defn unmix-all + "removes all inputs from the mix" + [mix] + (unmix-all* mix)) + +(defn toggle + "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." + [mix state-map] + (toggle* mix state-map)) + +(defn solo-mode + "Sets the solo mode of the mix. mode must be one of :mute or :pause" + [mix mode] + (solo-mode* mix mode)) + + +(defprotocol Pub + (sub* [p v ch close?]) + (unsub* [p v ch]) + (unsub-all* [p] [p v])) + +(defn pub + "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." + ([ch topic-fn] (pub ch topic-fn (constantly nil))) + ([ch topic-fn buf-fn] + (let [mults (atom {}) ;;topic->mult + ensure-mult (fn [topic] + (or (get @mults topic) + (get (swap! mults + #(if (% topic) % (assoc % topic (mult (chan (buf-fn topic)))))) + topic))) + p (reify + Mux + (muxch* [_] ch) + + Pub + (sub* [p topic ch close?] + (let [m (ensure-mult topic)] + (tap m ch close?))) + (unsub* [p topic ch] + (when-let [m (get @mults topic)] + (untap m ch))) + (unsub-all* [_] (reset! mults {})) + (unsub-all* [_ topic] (swap! mults dissoc topic)))] + (go-loop [] + (let [val (! (muxch* m) val) + (swap! mults dissoc topic))) + (recur))))) + p))) + +(defn sub + "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." + ([p topic ch] (sub p topic ch true)) + ([p topic ch close?] (sub* p topic ch close?))) + +(defn unsub + "Unsubscribes a channel from a topic of a pub" + [p topic ch] + (unsub* p topic ch)) + +(defn unsub-all + "Unsubscribes all channels from a pub, or a topic of a pub" + ([p] (unsub-all* p)) + ([p topic] (unsub-all* p topic))) + + +;;;; + +(defn map + "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" + ([f chs] (map f chs nil)) + ([f chs buf-or-n] + (let [chs (vec chs) + out (chan buf-or-n) + cnt (count chs) + rets (object-array cnt) + dchan (chan 1) + dctr (atom nil) + done (mapv (fn [i] + (fn [ret] + (aset rets i ret) + (when (zero? (swap! dctr dec)) + (put! dchan (.slice rets 0))))) + (range cnt))] + (go-loop [] + (reset! dctr cnt) + (dotimes [i cnt] + (try + (take! (chs i) (done i)) + (catch js/Object e + (swap! dctr dec)))) + (let [rets (! out (apply f rets)) + (recur))))) + out))) + +(defn merge + "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." + ([chs] (merge chs nil)) + ([chs buf-or-n] + (let [out (chan buf-or-n)] + (go-loop [cs (vec chs)] + (if (pos? (count cs)) + (let [[v c] (alts! cs)] + (if (nil? v) + (recur (filterv #(not= c %) cs)) + (do (>! out v) + (recur cs)))) + (close! out))) + out))) + +(defn into + "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." + [coll ch] + (reduce conj coll ch)) + +(defn take + "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." + ([n ch] + (take n ch nil)) + ([n ch buf-or-n] + (let [out (chan buf-or-n)] + (go (loop [x 0] + (when (< x n) + (let [v (! out v) + (recur (inc x)))))) + (close! out)) + out))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; deprecated - do not use ;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn map< + "Deprecated - this function will be removed. Use transducer instead" + [f ch] + (reify + impl/Channel + (close! [_] (impl/close! ch)) + (closed? [_] (impl/closed? ch)) + + impl/ReadPort + (take! [_ fn1] + (let [ret + (impl/take! ch + (reify + impl/Handler + (active? [_] (impl/active? fn1)) + (blockable? [_] true) + #_(lock-id [_] (impl/lock-id fn1)) + (commit [_] + (let [f1 (impl/commit fn1)] + #(f1 (if (nil? %) nil (f %)))))))] + (if (and ret (not (nil? @ret))) + (channels/box (f @ret)) + ret))) + + impl/WritePort + (put! [_ val fn1] (impl/put! ch val fn1)))) + +(defn map> + "Deprecated - this function will be removed. Use transducer instead" + [f ch] + (reify + impl/Channel + (close! [_] (impl/close! ch)) + + impl/ReadPort + (take! [_ fn1] (impl/take! ch fn1)) + + impl/WritePort + (put! [_ val fn1] + (impl/put! ch (f val) fn1)))) + +(defn filter> + "Deprecated - this function will be removed. Use transducer instead" + [p ch] + (reify + impl/Channel + (close! [_] (impl/close! ch)) + (closed? [_] (impl/closed? ch)) + + impl/ReadPort + (take! [_ fn1] (impl/take! ch fn1)) + + impl/WritePort + (put! [_ val fn1] + (if (p val) + (impl/put! ch val fn1) + (channels/box (not (impl/closed? ch))))))) + +(defn remove> + "Deprecated - this function will be removed. Use transducer instead" + [p ch] + (filter> (complement p) ch)) + +(defn filter< + "Deprecated - this function will be removed. Use transducer instead" + ([p ch] (filter< p ch nil)) + ([p ch buf-or-n] + (let [out (chan buf-or-n)] + (go-loop [] + (let [val (! out val)) + (recur))))) + out))) + +(defn remove< + "Deprecated - this function will be removed. Use transducer instead" + ([p ch] (remove< p ch nil)) + ([p ch buf-or-n] (filter< (complement p) ch buf-or-n))) + +(defn- mapcat* [f in out] + (go-loop [] + (let [val (! out v)) + (when-not (impl/closed? out) + (recur))))))) + +(defn mapcat< + "Deprecated - this function will be removed. Use transducer instead" + ([f in] (mapcat< f in nil)) + ([f in buf-or-n] + (let [out (chan buf-or-n)] + (mapcat* f in out) + out))) + +(defn mapcat> + "Deprecated - this function will be removed. Use transducer instead" + ([f out] (mapcat> f out nil)) + ([f out buf-or-n] + (let [in (chan buf-or-n)] + (mapcat* f in out) + in))) + +(defn unique + "Deprecated - this function will be removed. Use transducer instead" + ([ch] + (unique ch nil)) + ([ch buf-or-n] + (let [out (chan buf-or-n)] + (go (loop [last nil] + (let [v (! out v) + (recur v)))))) + (close! out)) + out))) + +(defn partition + "Deprecated - this function will be removed. Use transducer instead" + ([n ch] + (partition n ch nil)) + ([n ch buf-or-n] + (let [out (chan buf-or-n)] + (go (loop [arr (make-array n) + idx 0] + (let [v (! out (vec arr)) + (recur (make-array n) 0))))) + (do (when (> idx 0) + (>! out (vec arr))) + (close! out)))))) + out))) + + +(defn partition-by + "Deprecated - this function will be removed. Use transducer instead" + ([f ch] + (partition-by f ch nil)) + ([f ch buf-or-n] + (let [out (chan buf-or-n)] + (go (loop [lst (make-array 0) + last ::nothing] + (let [v (! out (vec lst)) + (let [new-lst (make-array 0)] + (.push new-lst v) + (recur new-lst new-itm))))) + (do (when (> (alength lst) 0) + (>! out (vec lst))) + (close! out)))))) + out))) diff --git a/examples/resources/public/js/out/cljs/core/async.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async.cljs.cache.json new file mode 100644 index 0000000..4d1fe9b --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$Array",["^ "],"~$Object",["^ "]],"~:use-macros",["^ ","~$go","~$cljs.core.async","~$go-loop","^8"],"~:excludes",["~#set",["~$reduce","~$take","~$map","~$transduce","~$into","~$partition","~$merge","~$partition-by"]],"~:name","^8","~:imports",null,"~:requires",["^ ","~$cljs.core.async.impl.channels","^G","~$cljs.core.async.impl.dispatch","^H","~$helpers","~$cljs.core.async.impl.ioc-helpers","~$impl","~$cljs.core.async.impl.protocols","~$channels","^G","~$cljs.core.async.impl.buffers","^N","^L","^L","~$timers","~$cljs.core.async.impl.timers","~$dispatch","^H","^J","^J","~$buffers","^N","^P","^P"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$Pub",["^ ","~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","~:line",599,"~:column",14,"~:end-line",599,"~:end-column",17,"~:doc",null,"~:protocol-symbol",true,"~:jsdoc",["~#list",["@interface"]],"~:protocol-info",["^ ","~:methods",["^ ","~$sub*",[["~$p","~$v","~$ch","~$close?"]],"~$unsub*",[["~$p","~$v","^18"]],"~$unsub-all*",[["~$p"],["~$p","~$v"]]]]],"^12",true,"^D","~$cljs.core.async/Pub","^X","resources/public/js/out/cljs/core/async.cljs","^10",17,"^Z",1,"^Y",599,"^15",["^ ","^16",["^ ","^17",[["~$p","~$v","^18","^19"]],"^1:",[["~$p","~$v","^18"]],"^1;",[["~$p"],["~$p","~$v"]]]],"~:info",null,"^[",599,"~:tag","~$any","~:impls",["^;",["~$cljs.core.async/t_cljs$core$async21972"]],"^11",null,"^13",["^14",["@interface"]]],"^<",["^ ","~:protocol-inline",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",359,"^Z",7,"^[",359,"^10",13,"~:arglists",["^14",["~$quote",["^14",[["~$f","~$init","^18"]]]]],"^11","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."],"^D","~$cljs.core.async/reduce","~:variadic",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",13,"~:method-params",["^14",[["~$f","^1E","^18"]]],"~:protocol-impl",null,"~:arglists-meta",["^14",[null,null]],"^Z",1,"^Y",359,"^[",359,"~:max-fixed-arity",3,"~:fn-var",true,"^1C",["^14",["^1D",["^14",[["~$f","^1E","^18"]]]]],"^11","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."],"~$remove>",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",819,"^Z",7,"^[",819,"^10",14,"^1C",["^14",["^1D",["^14",[["~$p","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^D","~$cljs.core.async/remove>","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["~$p","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",819,"^[",819,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$p","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$timeout",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",78,"^Z",7,"^[",78,"^10",14,"^1C",["^14",["^1D",["^14",[["~$msecs"]]]]],"^11","Returns a channel that will close after msecs"],"^D","~$cljs.core.async/timeout","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["^1P"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",78,"^[",78,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^1P"]]]]],"^11","Returns a channel that will close after msecs"],"^1:",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",601,"^Z",4,"^[",601,"^10",10,"~:protocol","^1<","^11",null,"^1C",["^14",["^1D",["^14",[["~$p","~$v","^18"]]]]]],"^1R","^1<","^D","~$cljs.core.async/unsub*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^1H",["^14",[["~$p","~$v","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",599,"^[",601,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$p","~$v","^18"]]]]],"^11",null],"~$admix*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",479,"^Z",4,"^[",479,"^10",10,"^1R","~$cljs.core.async/Mix","^11",null,"^1C",["^14",["^1D",["^14",[["~$m","^18"]]]]]],"^1R","^1U","^D","~$cljs.core.async/admix*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^1H",["^14",[["~$m","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",478,"^[",479,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m","^18"]]]]],"^11",null],"~$unmix*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",480,"^Z",4,"^[",480,"^10",10,"^1R","^1U","^11",null,"^1C",["^14",["^1D",["^14",[["~$m","^18"]]]]]],"^1R","^1U","^D","~$cljs.core.async/unmix*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^1H",["^14",[["~$m","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",478,"^[",480,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m","^18"]]]]],"^11",null],"~$mapcat*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",843,"^Z",8,"^[",843,"^10",15,"~:private",true,"^1C",["^14",["^1D",["^14",[["~$f","~$in","~$out"]]]]]],"^1Z",true,"^D","~$cljs.core.async/mapcat*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",15,"^1H",["^14",[["~$f","^1[","^20"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",843,"^[",843,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^1[","^20"]]]]]],"~$->t_cljs$core$async22347",["^ ","^1B",null,"^W",["^ ","~:anonymous",true,"~:protocols",["^;",["~$cljs.core.async.impl.protocols/Handler","~$cljs.core/IMeta","~$cljs.core/IWithMeta"]],"~:skip-protocol-flag",["^;",["^26","^27"]],"~:factory","~:positional","^1C",["^14",["^1D",["^14",[["~$f","^18","~$meta22345","~$_","~$fn1","~$meta22348"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22347.","^X",null],"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async22347","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["~$f","^18","^2;","~$_","^2<","^2="]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",10,"^29","^2:","^Y",773,"^1K",6,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^18","^2;","~$_","^2<","^2="]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22347."],"~$mix",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",496,"^Z",7,"^[",496,"^10",10,"^1C",["^14",["^1D",["^14",[["^20"]]]]],"^11","Creates and returns a mix of one or more input channels which will\n be put on the supplied out channel. Input sources can be added to\n the mix with 'admix', and removed with 'unmix'. A mix supports\n soloing, muting and pausing multiple inputs atomically using\n 'toggle', and can solo using either muting or pausing as determined\n by 'solo-mode'.\n\n Each channel can have zero or more boolean modes set via 'toggle':\n\n :solo - when true, only this (ond other soloed) channel(s) will appear\n in the mix output channel. :mute and :pause states of soloed\n channels are ignored. If solo-mode is :mute, non-soloed\n channels are muted, if :pause, non-soloed channels are\n paused.\n\n :mute - muted channels will have their contents consumed but not included in the mix\n :pause - paused channels will not have their contents consumed (and thus also not included in the mix)\n"],"^D","~$cljs.core.async/mix","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^1H",["^14",[["^20"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",496,"^[",496,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^20"]]]]],"^11","Creates and returns a mix of one or more input channels which will\n be put on the supplied out channel. Input sources can be added to\n the mix with 'admix', and removed with 'unmix'. A mix supports\n soloing, muting and pausing multiple inputs atomically using\n 'toggle', and can solo using either muting or pausing as determined\n by 'solo-mode'.\n\n Each channel can have zero or more boolean modes set via 'toggle':\n\n :solo - when true, only this (ond other soloed) channel(s) will appear\n in the mix output channel. :mute and :pause states of soloed\n channels are ignored. If solo-mode is :mute, non-soloed\n channels are muted, if :pause, non-soloed channels are\n paused.\n\n :mute - muted channels will have their contents consumed but not included in the mix\n :pause - paused channels will not have their contents consumed (and thus also not included in the mix)\n"],"~$pub",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",604,"^Z",7,"^[",604,"^10",10,"^1C",["^14",["^1D",["^14",[["^18","~$topic-fn"],["^18","^2B","~$buf-fn"]]]]],"^11","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.","~:top-fn",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^18","^2B"],["^18","^2B","^2C"]]],"^1C",["^14",[["^18","^2B"],["^18","^2B","^2C"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/pub","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^18","^2B"],["^18","^2B","^2C"]]],"^1C",["^14",[["^18","^2B"],["^18","^2B","^2C"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^18","^2B"],["^18","^2B","^2C"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",604,"^[",604,"^1K",3,"^1L",true,"^1C",["^14",[["^18","^2B"],["^18","^2B","^2C"]]],"^11","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."],"^=",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",741,"^Z",7,"^[",741,"^10",11,"^1C",["^14",["^1D",["^14",[["~$n","^18"],["~$n","^18","~$buf-or-n"]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1C",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/take","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1C",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",741,"^[",741,"^1K",3,"^1L",true,"^1C",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^11","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."],"^1;",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",602,"^Z",4,"^[",602,"^10",14,"^1R","^1<","^11",null,"^1C",["^14",["^1D",["^14",[["~$p"],["~$p","~$v"]]]]],"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["~$p"],["~$p","~$v"]]],"^1C",["^14",[["~$p"],["~$p","~$v"]]],"^1J",["^14",[null,null]]]],"^1R","^1<","^D","~$cljs.core.async/unsub-all*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["~$p"],["~$p","~$v"]]],"^1C",["^14",[["~$p"],["~$p","~$v"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$p"],["~$p","~$v"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",599,"^[",602,"^1K",2,"^1L",true,"^1C",["^14",[["~$p"],["~$p","~$v"]]],"^11",null],"~$",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",680,"^Z",7,"^[",680,"^10",10,"^1C",["^14",["^1D",["^14",[["~$f","~$chs"],["~$f","^2L","^2F"]]]]],"^11","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","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^2L"],["~$f","^2L","^2F"]]],"^1C",["^14",[["~$f","^2L"],["~$f","^2L","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/map","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^2L"],["~$f","^2L","^2F"]]],"^1C",["^14",[["~$f","^2L"],["~$f","^2L","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$f","^2L"],["~$f","^2L","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",680,"^[",680,"^1K",3,"^1L",true,"^1C",["^14",[["~$f","^2L"],["~$f","^2L","^2F"]]],"^11","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"],"~$Mux",["^ ","^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",410,"^Z",14,"^[",410,"^10",17,"^11",null,"^12",true,"^13",["^14",["@interface"]],"^15",["^ ","^16",["^ ","~$muxch*",[["~$_"]]]]],"^12",true,"^D","~$cljs.core.async/Mux","^X","resources/public/js/out/cljs/core/async.cljs","^10",17,"^Z",1,"^Y",410,"^15",["^ ","^16",["^ ","^2O",[["~$_"]]]],"^1=",null,"^[",410,"^1>","^1?","^1@",["^;",["^1A","~$cljs.core.async/t_cljs$core$async21455","~$cljs.core.async/t_cljs$core$async21753"]],"^11",null,"^13",["^14",["@interface"]]],"~$mapcat>",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",861,"^Z",7,"^[",861,"^10",14,"^1C",["^14",["^1D",["^14",[["~$f","^20"],["~$f","^20","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^20"],["~$f","^20","^2F"]]],"^1C",["^14",[["~$f","^20"],["~$f","^20","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/mapcat>","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^20"],["~$f","^20","^2F"]]],"^1C",["^14",[["~$f","^20"],["~$f","^20","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$f","^20"],["~$f","^20","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",861,"^[",861,"^1K",3,"^1L",true,"^1C",["^14",[["~$f","^20"],["~$f","^20","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$fhnop",["^ ","^D","~$cljs.core.async/fhnop","^X","resources/public/js/out/cljs/core/async.cljs","^Y",106,"^Z",1,"^[",106,"^10",21,"^1Z",true,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",106,"^Z",16,"^[",106,"^10",21,"^1Z",true],"^1>","^1?"],"~$buffer",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",21,"^Z",7,"^[",21,"^10",13,"^1C",["^14",["^1D",["^14",[["~$n"]]]]],"^11","Returns a fixed buffer of size n. When full, puts will block/park."],"^D","~$cljs.core.async/buffer","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",13,"^1H",["^14",[["~$n"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",21,"^[",21,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$n"]]]]],"^11","Returns a fixed buffer of size n. When full, puts will block/park."],"~$close!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",134,"^Z",7,"^[",134,"^10",13,"^1C",["^14",["^1D",["^14",[["^2J"]]]]]],"^D","~$cljs.core.async/close!","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",13,"^1H",["^14",[["^2J"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",134,"^[",134,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2J"]]]]]],"~$->t_cljs$core$async22344",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["~$cljs.core.async.impl.protocols/Channel","~$cljs.core.async.impl.protocols/WritePort","~$cljs.core.async.impl.protocols/ReadPort","^26","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["~$f","^18","^2;"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22344.","^X",null],"^24",["^;",["^30","^31","^32","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async22344","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["~$f","^18","^2;"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",3,"^29","^2:","^Y",764,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^18","^2;"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22344."],"~$->t_cljs$core$async20941",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^25","^26","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["~$flag","~$meta20942"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async20941.","^X",null],"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async20941","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["^35","^36"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",5,"^29","^2:","^Y",155,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^35","^36"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async20941."],"~$offer!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",224,"^Z",7,"^[",224,"^10",13,"^1C",["^14",["^1D",["^14",[["^2J","~$val"]]]]],"^11","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."],"^D","~$cljs.core.async/offer!","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",13,"^1H",["^14",[["^2J","^39"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",224,"^[",224,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2J","^39"]]]]],"^11","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."],"~$chan",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",45,"^Z",7,"^[",45,"^10",11,"^1C",["^14",["^1D",["^14",[[],["^2F"],["^2F","~$xform"],["^2F","^3<","~$ex-handler"]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[[],["^2F"],["^2F","^3<"],["^2F","^3<","^3="]]],"^1C",["^14",[[],["^2F"],["^2F","^3<"],["^2F","^3<","^3="]]],"^1J",["^14",[null,null,null,null]]]],"^D","~$cljs.core.async/chan","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[[],["^2F"],["^2F","^3<"],["^2F","^3<","^3="]]],"^1C",["^14",[[],["^2F"],["^2F","^3<"],["^2F","^3<","^3="]]],"^1J",["^14",[null,null,null,null]]],"^1H",["^14",[[],["^2F"],["^2F","^3<"],["^2F","^3<","^3="]]],"^1I",null,"^1J",["^14",[null,null,null,null]],"^Z",1,"^Y",45,"^[",45,"^1K",3,"^1L",true,"^1C",["^14",[[],["^2F"],["^2F","^3<"],["^2F","^3<","^3="]]],"^11","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."],"~$solo-mode*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",483,"^Z",4,"^[",483,"^10",14,"^1R","^1U","^11",null,"^1C",["^14",["^1D",["^14",[["~$m","~$mode"]]]]]],"^1R","^1U","^D","~$cljs.core.async/solo-mode*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["~$m","^3@"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",478,"^[",483,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m","^3@"]]]]],"^11",null],"~$tap",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",461,"^Z",7,"^[",461,"^10",10,"^1C",["^14",["^1D",["^14",[["~$mult","^18"],["^3C","^18","^19"]]]]],"^11","Copies the mult source onto the supplied channel.\n\n By default the channel will be closed when the source closes,\n but can be determined by the close? parameter.","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^3C","^18"],["^3C","^18","^19"]]],"^1C",["^14",[["^3C","^18"],["^3C","^18","^19"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/tap","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^3C","^18"],["^3C","^18","^19"]]],"^1C",["^14",[["^3C","^18"],["^3C","^18","^19"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^3C","^18"],["^3C","^18","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",461,"^[",461,"^1K",3,"^1L",true,"^1C",["^14",[["^3C","^18"],["^3C","^18","^19"]]],"^11","Copies the mult source onto the supplied channel.\n\n By default the channel will be closed when the source closes,\n but can be determined by the close? parameter."],"~$t_cljs$core$async21753",["^ ","~:num-fields",10,"^24",["^;",["^26","^1U","^2P","^27"]],"^D","^2R","^X","resources/public/js/out/cljs/core/async.cljs","~:type",true,"^23",true,"^Z",11,"^Y",541,"~:record",false,"^28",["^;",["^26","^27"]]],"~$admix",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",566,"^Z",7,"^[",566,"^10",12,"^1C",["^14",["^1D",["^14",[["^2?","^18"]]]]],"^11","Adds ch as an input to the mix"],"^D","~$cljs.core.async/admix","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^1H",["^14",[["^2?","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",566,"^[",566,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2?","^18"]]]]],"^11","Adds ch as an input to the mix"],"~$promise-chan",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",67,"^Z",7,"^[",67,"^10",19,"^1C",["^14",["^1D",["^14",[[],["^3<"],["^3<","^3="]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[[],["^3<"],["^3<","^3="]]],"^1C",["^14",[[],["^3<"],["^3<","^3="]]],"^1J",["^14",[null,null,null]]]],"^D","~$cljs.core.async/promise-chan","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",19,"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[[],["^3<"],["^3<","^3="]]],"^1C",["^14",[[],["^3<"],["^3<","^3="]]],"^1J",["^14",[null,null,null]]],"^1H",["^14",[[],["^3<"],["^3<","^3="]]],"^1I",null,"^1J",["^14",[null,null,null]],"^Z",1,"^Y",67,"^[",67,"^1K",2,"^1L",true,"^1C",["^14",[[],["^3<"],["^3<","^3="]]],"^11","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."],"~$unique",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",869,"^Z",7,"^[",869,"^10",13,"^1C",["^14",["^1D",["^14",[["^18"],["^18","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["^18"],["^18","^2F"]]],"^1C",["^14",[["^18"],["^18","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/unique","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",13,"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["^18"],["^18","^2F"]]],"^1C",["^14",[["^18"],["^18","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^18"],["^18","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",869,"^[",869,"^1K",2,"^1L",true,"^1C",["^14",[["^18"],["^18","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^2O",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",411,"^Z",4,"^[",411,"^10",10,"^1R","^2P","^11",null,"^1C",["^14",["^1D",["^14",[["~$_"]]]]]],"^1R","^2P","^D","~$cljs.core.async/muxch*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^1H",["^14",[["~$_"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",410,"^[",411,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$_"]]]]],"^11",null],"~$t_cljs$core$async21455",["^ ","^3F",3,"^24",["^;",["~$cljs.core.async/Mult","^26","^2P","^27"]],"^D","^2Q","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",11,"^Y",432,"^3H",false,"^28",["^;",["^26","^27"]]],"~$solo-mode",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",593,"^Z",7,"^[",593,"^10",16,"^1C",["^14",["^1D",["^14",[["^2?","^3@"]]]]],"^11","Sets the solo mode of the mix. mode must be one of :mute or :pause"],"^D","~$cljs.core.async/solo-mode","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^1H",["^14",[["^2?","^3@"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",593,"^[",593,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2?","^3@"]]]]],"^11","Sets the solo mode of the mix. mode must be one of :mute or :pause"],"^?",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",375,"^Z",7,"^[",375,"^10",16,"^1C",["^14",["^1D",["^14",[["^3<","~$f","^1E","^18"]]]]],"^11","async/reduces a channel with a transformation (xform f).\n Returns a channel containing the result. ch must close before\n transduce produces a result."],"^D","~$cljs.core.async/transduce","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^1H",["^14",[["^3<","~$f","^1E","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",375,"^[",375,"^1K",4,"^1L",true,"^1C",["^14",["^1D",["^14",[["^3<","~$f","^1E","^18"]]]]],"^11","async/reduces a channel with a transformation (xform f).\n Returns a channel containing the result. ch must close before\n transduce produces a result."],"~$onto-chan",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",385,"^Z",7,"^[",385,"^10",16,"^1C",["^14",["^1D",["^14",[["^18","~$coll"],["^18","^3V","^19"]]]]],"^11","Puts the contents of coll into the supplied channel.\n\n By default the channel will be closed after the items are copied,\n but can be determined by the close? parameter.\n\n Returns a channel which will close after the items are copied.","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^18","^3V"],["^18","^3V","^19"]]],"^1C",["^14",[["^18","^3V"],["^18","^3V","^19"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/onto-chan","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^18","^3V"],["^18","^3V","^19"]]],"^1C",["^14",[["^18","^3V"],["^18","^3V","^19"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^18","^3V"],["^18","^3V","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",385,"^[",385,"^1K",3,"^1L",true,"^1C",["^14",[["^18","^3V"],["^18","^3V","^19"]]],"^11","Puts the contents of coll into the supplied channel.\n\n By default the channel will be closed after the items are copied,\n but can be determined by the close? parameter.\n\n Returns a channel which will close after the items are copied."],"~$to-chan",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",401,"^Z",7,"^[",401,"^10",14,"^1C",["^14",["^1D",["^14",[["^3V"]]]]],"^11","Creates and returns a channel which contains the contents of coll,\n closing when exhausted."],"^D","~$cljs.core.async/to-chan","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["^3V"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",401,"^[",401,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^3V"]]]]],"^11","Creates and returns a channel which contains the contents of coll,\n closing when exhausted."],"~$dropping-buffer",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",26,"^Z",7,"^[",26,"^10",22,"^1C",["^14",["^1D",["^14",[["~$n"]]]]],"^11","Returns a buffer of size n. When full, puts will complete but\n val will be dropped (no transfer)."],"^D","~$cljs.core.async/dropping-buffer","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",22,"^1H",["^14",[["~$n"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",26,"^[",26,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$n"]]]]],"^11","Returns a buffer of size n. When full, puts will complete but\n val will be dropped (no transfer)."],"~$untap-all",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",474,"^Z",7,"^[",474,"^10",16,"^1C",["^14",["^1D",["^14",[["^3C"]]]]],"^11","Disconnects all target channels from a mult"],"^D","~$cljs.core.async/untap-all","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^1H",["^14",[["^3C"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",474,"^[",474,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^3C"]]]]],"^11","Disconnects all target channels from a mult"],"^@",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",734,"^Z",7,"^[",734,"^10",11,"^1C",["^14",["^1D",["^14",[["^3V","^18"]]]]],"^11","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."],"^D","~$cljs.core.async/into","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^1H",["^14",[["^3V","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",734,"^[",734,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^3V","^18"]]]]],"^11","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."],"~$->t_cljs$core$async22353",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^30","^31","^32","^26","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["~$p","^18","~$meta22354"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22353.","^X",null],"^24",["^;",["^30","^31","^32","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async22353","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["~$p","^18","^44"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",3,"^29","^2:","^Y",805,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$p","^18","^44"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22353."],"~$t_cljs$core$async22344",["^ ","^3F",3,"^24",["^;",["^30","^31","^32","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async22344","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",3,"^Y",764,"^3H",false,"^28",["^;",["^26","^27"]]],"~$pipeline",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",321,"^Z",7,"^[",321,"^10",15,"^1C",["^14",["^1D",["^14",[["~$n","~$to","~$xf","~$from"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",6,"^1H",["^14",[["~$n","^49","^4:","^4;"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]],"^1C",["^14",[["~$n","^49","^4:","^4;"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]],"^1J",["^14",[null,null,null]]]],"^D","~$cljs.core.async/pipeline","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",15,"^2D",["^ ","^1G",false,"^1K",6,"^1H",["^14",[["~$n","^49","^4:","^4;"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]],"^1C",["^14",[["~$n","^49","^4:","^4;"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]],"^1J",["^14",[null,null,null]]],"^1H",["^14",[["~$n","^49","^4:","^4;"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]],"^1I",null,"^1J",["^14",[null,null,null]],"^Z",1,"^Y",321,"^[",321,"^1K",6,"^1L",true,"^1C",["^14",[["~$n","^49","^4:","^4;"],["~$n","^49","^4:","^4;","^19"],["~$n","^49","^4:","^4;","^19","^3="]]],"^11","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."],"~$sub",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",659,"^Z",7,"^[",659,"^10",10,"^1C",["^14",["^1D",["^14",[["~$p","~$topic","^18"],["~$p","^4>","^18","^19"]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",4,"^1H",["^14",[["~$p","^4>","^18"],["~$p","^4>","^18","^19"]]],"^1C",["^14",[["~$p","^4>","^18"],["~$p","^4>","^18","^19"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/sub","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^2D",["^ ","^1G",false,"^1K",4,"^1H",["^14",[["~$p","^4>","^18"],["~$p","^4>","^18","^19"]]],"^1C",["^14",[["~$p","^4>","^18"],["~$p","^4>","^18","^19"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$p","^4>","^18"],["~$p","^4>","^18","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",659,"^[",659,"^1K",4,"^1L",true,"^1C",["^14",[["~$p","^4>","^18"],["~$p","^4>","^18","^19"]]],"^11","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."],"~$t_cljs$core$async20919",["^ ","^3F",3,"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async20919","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",4,"^Y",15,"^3H",false,"^28",["^;",["^26","^27"]]],"~$alt-flag",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",153,"^Z",8,"^[",153,"^10",16,"^1Z",true,"^1C",["^14",["^1D",["^14",[[]]]]]],"^1Z",true,"^D","~$cljs.core.async/alt-flag","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^1H",["^14",[[]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",153,"^[",153,"^1K",0,"^1L",true,"^1C",["^14",["^1D",["^14",[[]]]]]],"~$map>",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",788,"^Z",7,"^[",788,"^10",11,"^1C",["^14",["^1D",["^14",[["~$f","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^D","~$cljs.core.async/map>","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^1H",["^14",[["~$f","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",788,"^[",788,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$pipeline*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",256,"^Z",8,"^[",256,"^10",17,"^1Z",true,"^1C",["^14",["^1D",["^14",[["~$n","^49","^4:","^4;","^19","^3=","~$type"]]]]]],"^1Z",true,"^D","~$cljs.core.async/pipeline*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",17,"^1H",["^14",[["~$n","^49","^4:","^4;","^19","^3=","^4G"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",256,"^[",256,"^1K",7,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$n","^49","^4:","^4;","^19","^3=","^4G"]]]]]],"~$->t_cljs$core$async20919",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^25","^26","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["~$f","~$blockable","~$meta20920"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async20919.","^X",null],"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async20919","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["~$f","^4J","^4K"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",4,"^29","^2:","^Y",15,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^4J","^4K"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async20919."],"~$pipe",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",240,"^Z",7,"^[",240,"^10",11,"^1C",["^14",["^1D",["^14",[["^4;","^49"],["^4;","^49","^19"]]]]],"^11","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","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^4;","^49"],["^4;","^49","^19"]]],"^1C",["^14",[["^4;","^49"],["^4;","^49","^19"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/pipe","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^4;","^49"],["^4;","^49","^19"]]],"^1C",["^14",[["^4;","^49"],["^4;","^49","^19"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^4;","^49"],["^4;","^49","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",240,"^[",240,"^1K",3,"^1L",true,"^1C",["^14",[["^4;","^49"],["^4;","^49","^19"]]],"^11","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"],"~$unmix",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",571,"^Z",7,"^[",571,"^10",12,"^1C",["^14",["^1D",["^14",[["^2?","^18"]]]]],"^11","Removes ch as an input to the mix"],"^D","~$cljs.core.async/unmix","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^1H",["^14",[["^2?","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",571,"^[",571,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2?","^18"]]]]],"^11","Removes ch as an input to the mix"],"~$t_cljs$core$async22353",["^ ","^3F",3,"^24",["^;",["^30","^31","^32","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async22353","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",3,"^Y",805,"^3H",false,"^28",["^;",["^26","^27"]]],"~$filter<",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",824,"^Z",7,"^[",824,"^10",14,"^1C",["^14",["^1D",["^14",[["~$p","^18"],["~$p","^18","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1C",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/filter<","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1C",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",824,"^[",824,"^1K",3,"^1L",true,"^1C",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^17",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",600,"^Z",4,"^[",600,"^10",8,"^1R","^1<","^11",null,"^1C",["^14",["^1D",["^14",[["~$p","~$v","^18","^19"]]]]]],"^1R","^1<","^D","~$cljs.core.async/sub*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",8,"^1H",["^14",[["~$p","~$v","^18","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",599,"^[",600,"^1K",4,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$p","~$v","^18","^19"]]]]],"^11",null],"~$t_cljs$core$async20944",["^ ","^3F",3,"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async20944","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",3,"^Y",164,"^3H",false,"^28",["^;",["^26","^27"]]],"~$remove<",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",838,"^Z",7,"^[",838,"^10",14,"^1C",["^14",["^1D",["^14",[["~$p","^18"],["~$p","^18","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1C",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/remove<","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1C",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",838,"^[",838,"^1K",3,"^1L",true,"^1C",["^14",[["~$p","^18"],["~$p","^18","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$->t_cljs$core$async22350",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^30","^31","^32","^26","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["~$f","^18","~$meta22351"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22350.","^X",null],"^24",["^;",["^30","^31","^32","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async22350","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["~$f","^18","^4["]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",3,"^29","^2:","^Y",791,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^18","^4["]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async22350."],"~$untap*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",415,"^Z",4,"^[",415,"^10",10,"^1R","^3Q","^11",null,"^1C",["^14",["^1D",["^14",[["~$m","^18"]]]]]],"^1R","^3Q","^D","~$cljs.core.async/untap*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",10,"^1H",["^14",[["~$m","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",413,"^[",415,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m","^18"]]]]],"^11",null],"~$toggle",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",581,"^Z",7,"^[",581,"^10",13,"^1C",["^14",["^1D",["^14",[["^2?","~$state-map"]]]]],"^11","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."],"^D","~$cljs.core.async/toggle","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",13,"^1H",["^14",[["^2?","^54"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",581,"^[",581,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2?","^54"]]]]],"^11","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."],"~$untap-all*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",416,"^Z",4,"^[",416,"^10",14,"^1R","^3Q","^11",null,"^1C",["^14",["^1D",["^14",[["~$m"]]]]]],"^1R","^3Q","^D","~$cljs.core.async/untap-all*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["~$m"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",413,"^[",416,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m"]]]]],"^11",null],"~$sliding-buffer",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",32,"^Z",7,"^[",32,"^10",21,"^1C",["^14",["^1D",["^14",[["~$n"]]]]],"^11","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)."],"^D","~$cljs.core.async/sliding-buffer","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",21,"^1H",["^14",[["~$n"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",32,"^[",32,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$n"]]]]],"^11","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)."],"^A",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",885,"^Z",7,"^[",885,"^10",16,"^1C",["^14",["^1D",["^14",[["~$n","^18"],["~$n","^18","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1C",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/partition","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1C",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",885,"^[",885,"^1K",3,"^1L",true,"^1C",["^14",[["~$n","^18"],["~$n","^18","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$Mult",["^ ","^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",413,"^Z",14,"^[",413,"^10",18,"^11",null,"^12",true,"^13",["^14",["@interface"]],"^15",["^ ","^16",["^ ","~$tap*",[["~$m","^18","^19"]],"^51",[["~$m","^18"]],"^56",[["~$m"]]]]],"^12",true,"^D","^3Q","^X","resources/public/js/out/cljs/core/async.cljs","^10",18,"^Z",1,"^Y",413,"^15",["^ ","^16",["^ ","^5<",[["~$m","^18","^19"]],"^51",[["~$m","^18"]],"^56",[["~$m"]]]],"^1=",null,"^[",413,"^1>","^1?","^1@",["^;",["^2Q"]],"^11",null,"^13",["^14",["@interface"]]],"~$->t_cljs$core$async21455",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^3Q","^26","^2P","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["^18","~$cs","~$meta21456"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async21455.","^X",null],"^24",["^;",["^3Q","^26","^2P","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async21455","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["^18","^5>","^5?"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",11,"^29","^2:","^Y",432,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["^18","^5>","^5?"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async21455."],"^B",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",716,"^Z",7,"^[",716,"^10",12,"^1C",["^14",["^1D",["^14",[["^2L"],["^2L","^2F"]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["^2L"],["^2L","^2F"]]],"^1C",["^14",[["^2L"],["^2L","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/merge","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["^2L"],["^2L","^2F"]]],"^1C",["^14",[["^2L"],["^2L","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^2L"],["^2L","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",716,"^[",716,"^1K",2,"^1L",true,"^1C",["^14",[["^2L"],["^2L","^2F"]]],"^11","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."],"^C",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",907,"^Z",7,"^[",907,"^10",19,"^1C",["^14",["^1D",["^14",[["~$f","^18"],["~$f","^18","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^18"],["~$f","^18","^2F"]]],"^1C",["^14",[["~$f","^18"],["~$f","^18","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/partition-by","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",19,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^18"],["~$f","^18","^2F"]]],"^1C",["^14",[["~$f","^18"],["~$f","^18","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$f","^18"],["~$f","^18","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",907,"^[",907,"^1K",3,"^1L",true,"^1C",["^14",[["~$f","^18"],["~$f","^18","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$unsub-all",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",672,"^Z",7,"^[",672,"^10",16,"^1C",["^14",["^1D",["^14",[["~$p"],["~$p","^4>"]]]]],"^11","Unsubscribes all channels from a pub, or a topic of a pub","^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["~$p"],["~$p","^4>"]]],"^1C",["^14",[["~$p"],["~$p","^4>"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/unsub-all","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["~$p"],["~$p","^4>"]]],"^1C",["^14",[["~$p"],["~$p","^4>"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$p"],["~$p","^4>"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",672,"^[",672,"^1K",2,"^1L",true,"^1C",["^14",[["~$p"],["~$p","^4>"]]],"^11","Unsubscribes all channels from a pub, or a topic of a pub"],"~$>!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",108,"^Z",7,"^[",108,"^10",9,"^1C",["^14",["^1D",["^14",[["^2J","^39"]]]]],"^11","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."],"^D","~$cljs.core.async/>!","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",9,"^1H",["^14",[["^2J","^39"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",108,"^[",108,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2J","^39"]]]]],"^11","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."],"~$t_cljs$core$async22347",["^ ","^3F",6,"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async22347","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",10,"^Y",773,"^3H",false,"^28",["^;",["^26","^27"]]],"~$unmix-all*",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",481,"^Z",4,"^[",481,"^10",14,"^1R","^1U","^11",null,"^1C",["^14",["^1D",["^14",[["~$m"]]]]]],"^1R","^1U","^D","~$cljs.core.async/unmix-all*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["~$m"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",478,"^[",481,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m"]]]]],"^11",null],"~$->t_cljs$core$async21972",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^1<","^26","^2P","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["^18","^2B","^2C","~$mults","~$ensure-mult","~$meta21973"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async21972.","^X",null],"^24",["^;",["^1<","^26","^2P","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async21972","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["^18","^2B","^2C","^5L","^5M","^5N"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",14,"^29","^2:","^Y",633,"^1K",6,"^1L",true,"^1C",["^14",["^1D",["^14",[["^18","^2B","^2C","^5L","^5M","^5N"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async21972."],"~$nop",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",105,"^Z",8,"^[",105,"^10",11,"^1Z",true,"^1C",["^14",["^1D",["^14",[["~$_"]]]]]],"^1Z",true,"^D","~$cljs.core.async/nop","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^1H",["^14",[["~$_"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",105,"^[",105,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$_"]]]]]],"~$t_cljs$core$async22350",["^ ","^3F",3,"^24",["^;",["^30","^31","^32","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async22350","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",3,"^Y",791,"^3H",false,"^28",["^;",["^26","^27"]]],"~$split",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",338,"^Z",7,"^[",338,"^10",12,"^1C",["^14",["^1D",["^14",[["~$p","^18"],["~$p","^18","~$t-buf-or-n","~$f-buf-or-n"]]]]],"^11","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.","^2D",["^ ","^1G",false,"^1K",4,"^1H",["^14",[["~$p","^18"],["~$p","^18","^5U","^5V"]]],"^1C",["^14",[["~$p","^18"],["~$p","^18","^5U","^5V"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/split","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^2D",["^ ","^1G",false,"^1K",4,"^1H",["^14",[["~$p","^18"],["~$p","^18","^5U","^5V"]]],"^1C",["^14",[["~$p","^18"],["~$p","^18","^5U","^5V"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$p","^18"],["~$p","^18","^5U","^5V"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",338,"^[",338,"^1K",4,"^1L",true,"^1C",["^14",[["~$p","^18"],["~$p","^18","^5U","^5V"]]],"^11","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."],"~$unmix-all",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",576,"^Z",7,"^[",576,"^10",16,"^1C",["^14",["^1D",["^14",[["^2?"]]]]],"^11","removes all inputs from the mix"],"^D","~$cljs.core.async/unmix-all","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^1H",["^14",[["^2?"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",576,"^[",576,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2?"]]]]],"^11","removes all inputs from the mix"],"~$filter>",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",802,"^Z",7,"^[",802,"^10",14,"^1C",["^14",["^1D",["^14",[["~$p","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^D","~$cljs.core.async/filter>","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["~$p","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",802,"^[",802,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$p","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^5<",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",414,"^Z",4,"^[",414,"^10",8,"^1R","^3Q","^11",null,"^1C",["^14",["^1D",["^14",[["~$m","^18","^19"]]]]]],"^1R","^3Q","^D","~$cljs.core.async/tap*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",8,"^1H",["^14",[["~$m","^18","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",413,"^[",414,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m","^18","^19"]]]]],"^11",null],"~$untap",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",469,"^Z",7,"^[",469,"^10",12,"^1C",["^14",["^1D",["^14",[["^3C","^18"]]]]],"^11","Disconnects a target channel from a mult"],"^D","~$cljs.core.async/untap","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^1H",["^14",[["^3C","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",469,"^[",469,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^3C","^18"]]]]],"^11","Disconnects a target channel from a mult"],"~$alt-handler",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",163,"^Z",8,"^[",163,"^10",19,"^1Z",true,"^1C",["^14",["^1D",["^14",[["^35","~$cb"]]]]]],"^1Z",true,"^D","~$cljs.core.async/alt-handler","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",19,"^1H",["^14",[["^35","^64"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",163,"^[",163,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["^35","^64"]]]]]],"~$alts!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",198,"^Z",7,"^[",198,"^10",12,"^1C",["^14",["^1D",["^14",[["~$ports","~$&",["^ ","~:as","~$opts"]]]]]],"^11","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.","^2D",["^ ","^1G",true,"^1K",1,"^1H",[["^14",["^67",["^ ","^68","^69"]]]],"^1C",["^14",[["^67","~$&",["^ ","^68","^69"]]]],"^1J",["^14",[null]]]],"^D","~$cljs.core.async/alts!","^1G",true,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^2D",["^ ","^1G",true,"^1K",1,"^1H",[["^14",["^67",["^ ","^68","^69"]]]],"^1C",["^14",[["^67","~$&",["^ ","^68","^69"]]]],"^1J",["^14",[null]]],"^1H",[["^14",["^67",["^ ","^68","^69"]]]],"^1I",null,"^1J",["^14",[null]],"^Z",1,"^Y",198,"^[",198,"^1K",1,"^1L",true,"^1C",["^14",[["^67","~$&",["^ ","^68","^69"]]]],"^11","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."],"~$unsub",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",667,"^Z",7,"^[",667,"^10",12,"^1C",["^14",["^1D",["^14",[["~$p","^4>","^18"]]]]],"^11","Unsubscribes a channel from a topic of a pub"],"^D","~$cljs.core.async/unsub","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^1H",["^14",[["~$p","^4>","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",667,"^[",667,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$p","^4>","^18"]]]]],"^11","Unsubscribes a channel from a topic of a pub"],"~$poll!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",231,"^Z",7,"^[",231,"^10",12,"^1C",["^14",["^1D",["^14",[["^2J"]]]]],"^11","Takes a val from port if it's possible to do so immediately.\n Never blocks. Returns value if successful, nil otherwise."],"^D","~$cljs.core.async/poll!","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^1H",["^14",[["^2J"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",231,"^[",231,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^2J"]]]]],"^11","Takes a val from port if it's possible to do so immediately.\n Never blocks. Returns value if successful, nil otherwise."],"~$->t_cljs$core$async21753",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^26","^1U","^2P","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["^20","^5>","~$solo-modes","~$attrs","^3R","~$change","~$changed","~$pick","~$calc-state","~$meta21754"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async21753.","^X",null],"^24",["^;",["^26","^1U","^2P","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async21753","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["^20","^5>","^6@","^6A","^3R","^6B","^6C","^6D","^6E","^6F"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",11,"^29","^2:","^Y",541,"^1K",10,"^1L",true,"^1C",["^14",["^1D",["^14",[["^20","^5>","^6@","^6A","^3R","^6B","^6C","^6D","^6E","^6F"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async21753."],"~$map<",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",761,"^Z",7,"^[",761,"^10",11,"^1C",["^14",["^1D",["^14",[["~$f","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"^D","~$cljs.core.async/map<","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^1H",["^14",[["~$f","^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",761,"^[",761,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$f","^18"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$fn-handler",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",12,"^Z",8,"^[",12,"^10",18,"^1Z",true,"^1C",["^14",["^1D",["^14",[["~$f"],["~$f","^4J"]]]]],"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["~$f"],["~$f","^4J"]]],"^1C",["^14",[["~$f"],["~$f","^4J"]]],"^1J",["^14",[null,null]]]],"^1Z",true,"^D","~$cljs.core.async/fn-handler","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",18,"^2D",["^ ","^1G",false,"^1K",2,"^1H",["^14",[["~$f"],["~$f","^4J"]]],"^1C",["^14",[["~$f"],["~$f","^4J"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$f"],["~$f","^4J"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",12,"^[",12,"^1K",2,"^1L",true,"^1C",["^14",[["~$f"],["~$f","^4J"]]]],"~$do-alts",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",172,"^Z",7,"^[",172,"^10",14,"^1C",["^14",["^1D",["^14",[["~$fret","^67","^69"]]]]],"^11","returns derefable [val port] if immediate, nil if enqueued"],"^D","~$cljs.core.async/do-alts","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^1H",["^14",[["^6M","^67","^69"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",172,"^[",172,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["^6M","^67","^69"]]]]],"^11","returns derefable [val port] if immediate, nil if enqueued"],"~$random-array",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",139,"^Z",8,"^[",139,"^10",20,"^1Z",true,"^1C",["^14",["^1D",["^14",[["~$n"]]]]]],"^1Z",true,"^D","~$cljs.core.async/random-array","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",20,"^1H",["^14",[["~$n"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",139,"^[",139,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$n"]]]]]],"~$pipeline-async",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",306,"^Z",7,"^[",306,"^10",21,"^1C",["^14",["^1D",["^14",[["~$n","^49","~$af","^4;"],["~$n","^49","^6R","^4;","^19"]]]]],"^11","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). af must close!\n the channel before returning. The presumption is that af will\n return immediately, having launched some asynchronous operation\n whose completion/callback will manipulate the result channel. Outputs\n will be returned in order relative to the inputs. By default, the to\n channel will be closed when the from channel closes, but can be\n determined by the close? parameter. Will stop consuming the from\n channel if the to channel closes.","^2D",["^ ","^1G",false,"^1K",5,"^1H",["^14",[["~$n","^49","^6R","^4;"],["~$n","^49","^6R","^4;","^19"]]],"^1C",["^14",[["~$n","^49","^6R","^4;"],["~$n","^49","^6R","^4;","^19"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/pipeline-async","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",21,"^2D",["^ ","^1G",false,"^1K",5,"^1H",["^14",[["~$n","^49","^6R","^4;"],["~$n","^49","^6R","^4;","^19"]]],"^1C",["^14",[["~$n","^49","^6R","^4;"],["~$n","^49","^6R","^4;","^19"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$n","^49","^6R","^4;"],["~$n","^49","^6R","^4;","^19"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",306,"^[",306,"^1K",5,"^1L",true,"^1C",["^14",[["~$n","^49","^6R","^4;"],["~$n","^49","^6R","^4;","^19"]]],"^11","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). af must close!\n the channel before returning. The presumption is that af will\n return immediately, having launched some asynchronous operation\n whose completion/callback will manipulate the result channel. Outputs\n will be returned in order relative to the inputs. By default, the to\n channel will be closed when the from channel closes, but can be\n determined by the close? parameter. Will stop consuming the from\n channel if the to channel closes."],"~$Mix",["^ ","^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",478,"^Z",14,"^[",478,"^10",17,"^11",null,"^12",true,"^13",["^14",["@interface"]],"^15",["^ ","^16",["^ ","^1T",[["~$m","^18"]],"^1W",[["~$m","^18"]],"^5I",[["~$m"]],"~$toggle*",[["~$m","^54"]],"^3?",[["~$m","^3@"]]]]],"^12",true,"^D","^1U","^X","resources/public/js/out/cljs/core/async.cljs","^10",17,"^Z",1,"^Y",478,"^15",["^ ","^16",["^ ","^1T",[["~$m","^18"]],"^1W",[["~$m","^18"]],"^5I",[["~$m"]],"^6U",[["~$m","^54"]],"^3?",[["~$m","^3@"]]]],"^1=",null,"^[",478,"^1>","^1?","^1@",["^;",["^2R"]],"^11",null,"^13",["^14",["@interface"]]],"~$->t_cljs$core$async20944",["^ ","^1B",null,"^W",["^ ","^23",true,"^24",["^;",["^25","^26","^27"]],"^28",["^;",["^26","^27"]],"^29","^2:","^1C",["^14",["^1D",["^14",[["^35","^64","~$meta20945"]]]]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async20944.","^X",null],"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/->t_cljs$core$async20944","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^1H",["^14",[["^35","^64","^6W"]]],"^1I",null,"^1J",["^14",[null,null]],"^23",true,"^Z",3,"^29","^2:","^Y",164,"^1K",3,"^1L",true,"^1C",["^14",["^1D",["^14",[["^35","^64","^6W"]]]]],"^28",["^;",["^26","^27"]],"^11","Positional factory function for cljs.core.async/t_cljs$core$async20944."],"^6U",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",482,"^Z",4,"^[",482,"^10",11,"^1R","^1U","^11",null,"^1C",["^14",["^1D",["^14",[["~$m","^54"]]]]]],"^1R","^1U","^D","~$cljs.core.async/toggle*","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^1H",["^14",[["~$m","^54"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",478,"^[",482,"^1K",2,"^1L",true,"^1C",["^14",["^1D",["^14",[["~$m","^54"]]]]],"^11",null],"^3C",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",418,"^Z",7,"^[",418,"^10",11,"^1C",["^14",["^1D",["^14",[["^18"]]]]],"^11","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."],"^D","~$cljs.core.async/mult","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^1H",["^14",[["^18"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",418,"^[",418,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^18"]]]]],"^11","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."],"~$mapcat<",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",853,"^Z",7,"^[",853,"^10",14,"^1C",["^14",["^1D",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]]]],"^11","Deprecated - this function will be removed. Use transducer instead","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]],"^1C",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/mapcat<","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",14,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]],"^1C",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",853,"^[",853,"^1K",3,"^1L",true,"^1C",["^14",[["~$f","^1["],["~$f","^1[","^2F"]]],"^11","Deprecated - this function will be removed. Use transducer instead"],"~$ioc-alts!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",485,"^Z",7,"^[",485,"^10",16,"^1C",["^14",["^1D",["^14",[["~$state","~$cont-block","^67","~$&",["^ ","^68","^69"]]]]]],"^2D",["^ ","^1G",true,"^1K",3,"^1H",[["^14",["^72","^73","^67",["^ ","^68","^69"]]]],"^1C",["^14",[["^72","^73","^67","~$&",["^ ","^68","^69"]]]],"^1J",["^14",[null]]]],"^D","~$cljs.core.async/ioc-alts!","^1G",true,"^X","resources/public/js/out/cljs/core/async.cljs","^10",16,"^2D",["^ ","^1G",true,"^1K",3,"^1H",[["^14",["^72","^73","^67",["^ ","^68","^69"]]]],"^1C",["^14",[["^72","^73","^67","~$&",["^ ","^68","^69"]]]],"^1J",["^14",[null]]],"^1H",[["^14",["^72","^73","^67",["^ ","^68","^69"]]]],"^1I",null,"^1J",["^14",[null]],"^Z",1,"^Y",485,"^[",485,"^1K",3,"^1L",true,"^1C",["^14",[["^72","^73","^67","~$&",["^ ","^68","^69"]]]]],"~$t_cljs$core$async20941",["^ ","^3F",2,"^24",["^;",["^25","^26","^27"]],"^D","~$cljs.core.async/t_cljs$core$async20941","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",5,"^Y",155,"^3H",false,"^28",["^;",["^26","^27"]]],"~$unblocking-buffer?",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",39,"^Z",7,"^[",39,"^10",25,"^1C",["^14",["^1D",["^14",[["~$buff"]]]]],"^11","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. "],"^D","~$cljs.core.async/unblocking-buffer?","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",25,"^1H",["^14",[["^78"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",39,"^[",39,"^1K",1,"^1L",true,"^1C",["^14",["^1D",["^14",[["^78"]]]]],"^11","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. "],"~$t_cljs$core$async21972",["^ ","^3F",6,"^24",["^;",["^1<","^26","^2P","^27"]],"^D","^1A","^X","resources/public/js/out/cljs/core/async.cljs","^3G",true,"^23",true,"^Z",14,"^Y",633,"^3H",false,"^28",["^;",["^26","^27"]]],"~$put!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",115,"^Z",7,"^[",115,"^10",11,"^1C",["^14",["^1D",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","~$on-caller?"]]]]],"^11","Asynchronously puts a val into port, calling fn0 (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 fn0 on calling thread. Returns nil.","^2D",["^ ","^1G",false,"^1K",4,"^1H",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","^7<"]]],"^1C",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","^7<"]]],"^1J",["^14",[null,null,null]]]],"^D","~$cljs.core.async/put!","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",11,"^2D",["^ ","^1G",false,"^1K",4,"^1H",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","^7<"]]],"^1C",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","^7<"]]],"^1J",["^14",[null,null,null]]],"^1H",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","^7<"]]],"^1I",null,"^1J",["^14",[null,null,null]],"^Z",1,"^Y",115,"^[",115,"^1K",4,"^1L",true,"^1C",["^14",[["^2J","^39"],["^2J","^39","^2<"],["^2J","^39","^2<","^7<"]]],"^11","Asynchronously puts a val into port, calling fn0 (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 fn0 on calling thread. Returns nil."],"~$take!",["^ ","^1B",null,"^W",["^ ","^X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async.cljs","^Y",90,"^Z",7,"^[",90,"^10",12,"^1C",["^14",["^1D",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]]]],"^11","Asynchronously takes a val from port, passing to fn1. Will pass nil\n if closed. If on-caller? (default true) is true, and value is\n immediately available, will call fn1 on calling thread.\n Returns nil.","^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]],"^1C",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]],"^1J",["^14",[null,null]]]],"^D","~$cljs.core.async/take!","^1G",false,"^X","resources/public/js/out/cljs/core/async.cljs","^10",12,"^2D",["^ ","^1G",false,"^1K",3,"^1H",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]],"^1C",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]],"^1J",["^14",[null,null]]],"^1H",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]],"^1I",null,"^1J",["^14",[null,null]],"^Z",1,"^Y",90,"^[",90,"^1K",3,"^1L",true,"^1C",["^14",[["^2J","^2<"],["^2J","^2<","^7<"]]],"^11","Asynchronously takes a val from port, passing to fn1. Will pass nil\n if closed. If on-caller? (default true) is true, and value is\n immediately available, will call fn1 on calling thread.\n Returns nil."]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$ioc","~$cljs.core.async.impl.ioc-macros","^7C","^7C","^8","^8"],"~:cljs.analyzer/constants",["^ ","~:seen",["^;",["~:async","^6B","^5?","~$p","~:mutes","^4J","~:solo","^2=","^4K","~:cljs.core.async/nothing","~:else","~:default","^64","^2C","^3R","~:compute","^2;","^6W","^5L","^5N","^2<","~:recur","^36","~$_","^6F","^6D","^35","^5M","^5>","^47","~:priority","~:solos","^4[","^18","^6E","~:pause","^2B","^1>","^20","^44","^6C","^6@","~:mute","^6A","~:reads","~$f"]],"~:order",["~$f","^4J","^4K","^35","^36","^64","^6W","^7N","^7K","^7M","^7J","^7F","^7L","^18","^5>","^5?","^7P","^7Q","^7H","^7O","^7G","^7R","^20","^6@","^6A","^3R","^6B","^6C","^6D","^6E","^6F","^2B","^2C","^5L","^5M","^5N","^2;","~$_","^1>","^47","^2<","^2=","^4[","~$p","^44","^7I"]],"^11",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async.js b/examples/resources/public/js/out/cljs/core/async.js new file mode 100644 index 0000000..c836822 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async.js @@ -0,0 +1,9050 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async'); +goog.require('cljs.core'); +goog.require('cljs.core.async.impl.protocols'); +goog.require('cljs.core.async.impl.channels'); +goog.require('cljs.core.async.impl.buffers'); +goog.require('cljs.core.async.impl.timers'); +goog.require('cljs.core.async.impl.dispatch'); +goog.require('cljs.core.async.impl.ioc_helpers'); +cljs.core.async.fn_handler = (function cljs$core$async$fn_handler(var_args){ +var G__20918 = arguments.length; +switch (G__20918) { +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.call(null,f,true); +}); + +cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$2 = (function (f,blockable){ +if(typeof cljs.core.async.t_cljs$core$async20919 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async20919 = (function (f,blockable,meta20920){ +this.f = f; +this.blockable = blockable; +this.meta20920 = meta20920; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async20919.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_20921,meta20920__$1){ +var self__ = this; +var _20921__$1 = this; +return (new cljs.core.async.t_cljs$core$async20919(self__.f,self__.blockable,meta20920__$1)); +}); + +cljs.core.async.t_cljs$core$async20919.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_20921){ +var self__ = this; +var _20921__$1 = this; +return self__.meta20920; +}); + +cljs.core.async.t_cljs$core$async20919.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async20919.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$async20919.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$async20919.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$async20919.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,"meta20920","meta20920",-1175742811,null)], null); +}); + +cljs.core.async.t_cljs$core$async20919.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async20919.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async20919"; + +cljs.core.async.t_cljs$core$async20919.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async20919"); +}); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async20919. + */ +cljs.core.async.__GT_t_cljs$core$async20919 = (function cljs$core$async$__GT_t_cljs$core$async20919(f__$1,blockable__$1,meta20920){ +return (new cljs.core.async.t_cljs$core$async20919(f__$1,blockable__$1,meta20920)); +}); + +} + +return (new cljs.core.async.t_cljs$core$async20919(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.call(null,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.call(null,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.call(null,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_.call(null,cljs.core.async.impl.protocols.UnblockingBuffer,buff); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_.call(null,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__20925 = arguments.length; +switch (G__20925) { +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.call(null,null); +}); + +cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1 = (function (buf_or_n){ +return cljs.core.async.chan.call(null,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.call(null,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_.call(null,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.call(null,((typeof buf_or_n__$1 === 'number')?cljs.core.async.buffer.call(null,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__20928 = arguments.length; +switch (G__20928) { +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.call(null,null); +}); + +cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$1 = (function (xform){ +return cljs.core.async.promise_chan.call(null,xform,null); +}); + +cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$2 = (function (xform,ex_handler){ +return cljs.core.async.chan.call(null,cljs.core.async.impl.buffers.promise_buffer.call(null),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.call(null,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 fn0 (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 fn0 on calling thread. Returns nil. + */ +cljs.core.async.put_BANG_ = (function cljs$core$async$put_BANG_(var_args){ +var G__20935 = arguments.length; +switch (G__20935) { +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__4655__auto__ = cljs.core.async.impl.protocols.put_BANG_.call(null,port,val,cljs.core.async.fhnop); +if(cljs.core.truth_(temp__4655__auto__)){ +var ret = temp__4655__auto__; +return cljs.core.deref.call(null,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_.call(null,port,val,fn1,true); +}); + +cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (port,val,fn1,on_caller_QMARK_){ +var temp__4655__auto__ = cljs.core.async.impl.protocols.put_BANG_.call(null,port,val,cljs.core.async.fn_handler.call(null,fn1)); +if(cljs.core.truth_(temp__4655__auto__)){ +var retb = temp__4655__auto__; +var ret = cljs.core.deref.call(null,retb); +if(cljs.core.truth_(on_caller_QMARK_)){ +fn1.call(null,ret); +} else { +cljs.core.async.impl.dispatch.run.call(null,((function (ret,retb,temp__4655__auto__){ +return (function (){ +return fn1.call(null,ret); +});})(ret,retb,temp__4655__auto__)) +); +} + +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_.call(null,port); +}); +cljs.core.async.random_array = (function cljs$core$async$random_array(n){ +var a = (new Array(n)); +var n__4376__auto___20937 = n; +var x_20938 = (0); +while(true){ +if((x_20938 < n__4376__auto___20937)){ +(a[x_20938] = (0)); + +var G__20939 = (x_20938 + (1)); +x_20938 = G__20939; +continue; +} else { +} +break; +} + +var i = (1); +while(true){ +if(cljs.core._EQ_.call(null,i,n)){ +return a; +} else { +var j = cljs.core.rand_int.call(null,i); +(a[i] = (a[j])); + +(a[j] = i); + +var G__20940 = (i + (1)); +i = G__20940; +continue; +} +break; +} +}); +cljs.core.async.alt_flag = (function cljs$core$async$alt_flag(){ +var flag = cljs.core.atom.call(null,true); +if(typeof cljs.core.async.t_cljs$core$async20941 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async20941 = (function (flag,meta20942){ +this.flag = flag; +this.meta20942 = meta20942; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async20941.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (flag){ +return (function (_20943,meta20942__$1){ +var self__ = this; +var _20943__$1 = this; +return (new cljs.core.async.t_cljs$core$async20941(self__.flag,meta20942__$1)); +});})(flag)) +; + +cljs.core.async.t_cljs$core$async20941.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (flag){ +return (function (_20943){ +var self__ = this; +var _20943__$1 = this; +return self__.meta20942; +});})(flag)) +; + +cljs.core.async.t_cljs$core$async20941.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async20941.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = ((function (flag){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.deref.call(null,self__.flag); +});})(flag)) +; + +cljs.core.async.t_cljs$core$async20941.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = ((function (flag){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return true; +});})(flag)) +; + +cljs.core.async.t_cljs$core$async20941.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = ((function (flag){ +return (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.reset_BANG_.call(null,self__.flag,null); + +return true; +});})(flag)) +; + +cljs.core.async.t_cljs$core$async20941.getBasis = ((function (flag){ +return (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,"meta20942","meta20942",-1016803795,null)], null); +});})(flag)) +; + +cljs.core.async.t_cljs$core$async20941.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async20941.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async20941"; + +cljs.core.async.t_cljs$core$async20941.cljs$lang$ctorPrWriter = ((function (flag){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async20941"); +});})(flag)) +; + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async20941. + */ +cljs.core.async.__GT_t_cljs$core$async20941 = ((function (flag){ +return (function cljs$core$async$alt_flag_$___GT_t_cljs$core$async20941(flag__$1,meta20942){ +return (new cljs.core.async.t_cljs$core$async20941(flag__$1,meta20942)); +});})(flag)) +; + +} + +return (new cljs.core.async.t_cljs$core$async20941(flag,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.core.async.alt_handler = (function cljs$core$async$alt_handler(flag,cb){ +if(typeof cljs.core.async.t_cljs$core$async20944 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async20944 = (function (flag,cb,meta20945){ +this.flag = flag; +this.cb = cb; +this.meta20945 = meta20945; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async20944.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_20946,meta20945__$1){ +var self__ = this; +var _20946__$1 = this; +return (new cljs.core.async.t_cljs$core$async20944(self__.flag,self__.cb,meta20945__$1)); +}); + +cljs.core.async.t_cljs$core$async20944.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_20946){ +var self__ = this; +var _20946__$1 = this; +return self__.meta20945; +}); + +cljs.core.async.t_cljs$core$async20944.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async20944.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_.call(null,self__.flag); +}); + +cljs.core.async.t_cljs$core$async20944.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$async20944.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.async.impl.protocols.commit.call(null,self__.flag); + +return self__.cb; +}); + +cljs.core.async.t_cljs$core$async20944.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,"meta20945","meta20945",1721633035,null)], null); +}); + +cljs.core.async.t_cljs$core$async20944.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async20944.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async20944"; + +cljs.core.async.t_cljs$core$async20944.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async20944"); +}); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async20944. + */ +cljs.core.async.__GT_t_cljs$core$async20944 = (function cljs$core$async$alt_handler_$___GT_t_cljs$core$async20944(flag__$1,cb__$1,meta20945){ +return (new cljs.core.async.t_cljs$core$async20944(flag__$1,cb__$1,meta20945)); +}); + +} + +return (new cljs.core.async.t_cljs$core$async20944(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){ +var flag = cljs.core.async.alt_flag.call(null); +var n = cljs.core.count.call(null,ports); +var idxs = cljs.core.async.random_array.call(null,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.call(null,ports,idx); +var wport = ((cljs.core.vector_QMARK_.call(null,port))?port.call(null,(0)):null); +var vbox = (cljs.core.truth_(wport)?(function (){var val = port.call(null,(1)); +return cljs.core.async.impl.protocols.put_BANG_.call(null,wport,val,cljs.core.async.alt_handler.call(null,flag,((function (i,val,idx,port,wport,flag,n,idxs,priority){ +return (function (p1__20947_SHARP_){ +return fret.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p1__20947_SHARP_,wport], null)); +});})(i,val,idx,port,wport,flag,n,idxs,priority)) +)); +})():cljs.core.async.impl.protocols.take_BANG_.call(null,port,cljs.core.async.alt_handler.call(null,flag,((function (i,idx,port,wport,flag,n,idxs,priority){ +return (function (p1__20948_SHARP_){ +return fret.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p1__20948_SHARP_,port], null)); +});})(i,idx,port,wport,flag,n,idxs,priority)) +))); +if(cljs.core.truth_(vbox)){ +return cljs.core.async.impl.channels.box.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,vbox),(function (){var or__3922__auto__ = wport; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return port; +} +})()], null)); +} else { +var G__20949 = (i + (1)); +i = G__20949; +continue; +} +} else { +return null; +} +break; +} +})(); +var or__3922__auto__ = ret; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +if(cljs.core.contains_QMARK_.call(null,opts,new cljs.core.Keyword(null,"default","default",-1987822328))){ +var temp__4657__auto__ = (function (){var and__3911__auto__ = cljs.core.async.impl.protocols.active_QMARK_.call(null,flag); +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.async.impl.protocols.commit.call(null,flag); +} else { +return and__3911__auto__; +} +})(); +if(cljs.core.truth_(temp__4657__auto__)){ +var got = temp__4657__auto__; +return cljs.core.async.impl.channels.box.call(null,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__4502__auto__ = []; +var len__4499__auto___20955 = arguments.length; +var i__4500__auto___20956 = (0); +while(true){ +if((i__4500__auto___20956 < len__4499__auto___20955)){ +args__4502__auto__.push((arguments[i__4500__auto___20956])); + +var G__20957 = (i__4500__auto___20956 + (1)); +i__4500__auto___20956 = G__20957; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.core.async.alts_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.core.async.alts_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (ports,p__20952){ +var map__20953 = p__20952; +var map__20953__$1 = ((((!((map__20953 == null)))?(((((map__20953.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__20953.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__20953):map__20953); +var opts = map__20953__$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 (seq20950){ +var G__20951 = cljs.core.first.call(null,seq20950); +var seq20950__$1 = cljs.core.next.call(null,seq20950); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__20951,seq20950__$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_.call(null,port,val,cljs.core.async.fn_handler.call(null,cljs.core.async.nop,false)); +if(cljs.core.truth_(ret)){ +return cljs.core.deref.call(null,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_.call(null,port,cljs.core.async.fn_handler.call(null,cljs.core.async.nop,false)); +if(cljs.core.truth_(ret)){ +return cljs.core.deref.call(null,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__20959 = arguments.length; +switch (G__20959) { +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.call(null,from,to,true); +}); + +cljs.core.async.pipe.cljs$core$IFn$_invoke$arity$3 = (function (from,to,close_QMARK_){ +var c__20872__auto___21005 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___21005){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___21005){ +return (function (state_20983){ +var state_val_20984 = (state_20983[(1)]); +if((state_val_20984 === (7))){ +var inst_20979 = (state_20983[(2)]); +var state_20983__$1 = state_20983; +var statearr_20985_21006 = state_20983__$1; +(statearr_20985_21006[(2)] = inst_20979); + +(statearr_20985_21006[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (1))){ +var state_20983__$1 = state_20983; +var statearr_20986_21007 = state_20983__$1; +(statearr_20986_21007[(2)] = null); + +(statearr_20986_21007[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (4))){ +var inst_20962 = (state_20983[(7)]); +var inst_20962__$1 = (state_20983[(2)]); +var inst_20963 = (inst_20962__$1 == null); +var state_20983__$1 = (function (){var statearr_20987 = state_20983; +(statearr_20987[(7)] = inst_20962__$1); + +return statearr_20987; +})(); +if(cljs.core.truth_(inst_20963)){ +var statearr_20988_21008 = state_20983__$1; +(statearr_20988_21008[(1)] = (5)); + +} else { +var statearr_20989_21009 = state_20983__$1; +(statearr_20989_21009[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (13))){ +var state_20983__$1 = state_20983; +var statearr_20990_21010 = state_20983__$1; +(statearr_20990_21010[(2)] = null); + +(statearr_20990_21010[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (6))){ +var inst_20962 = (state_20983[(7)]); +var state_20983__$1 = state_20983; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_20983__$1,(11),to,inst_20962); +} else { +if((state_val_20984 === (3))){ +var inst_20981 = (state_20983[(2)]); +var state_20983__$1 = state_20983; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_20983__$1,inst_20981); +} else { +if((state_val_20984 === (12))){ +var state_20983__$1 = state_20983; +var statearr_20991_21011 = state_20983__$1; +(statearr_20991_21011[(2)] = null); + +(statearr_20991_21011[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (2))){ +var state_20983__$1 = state_20983; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_20983__$1,(4),from); +} else { +if((state_val_20984 === (11))){ +var inst_20972 = (state_20983[(2)]); +var state_20983__$1 = state_20983; +if(cljs.core.truth_(inst_20972)){ +var statearr_20992_21012 = state_20983__$1; +(statearr_20992_21012[(1)] = (12)); + +} else { +var statearr_20993_21013 = state_20983__$1; +(statearr_20993_21013[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (9))){ +var state_20983__$1 = state_20983; +var statearr_20994_21014 = state_20983__$1; +(statearr_20994_21014[(2)] = null); + +(statearr_20994_21014[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (5))){ +var state_20983__$1 = state_20983; +if(cljs.core.truth_(close_QMARK_)){ +var statearr_20995_21015 = state_20983__$1; +(statearr_20995_21015[(1)] = (8)); + +} else { +var statearr_20996_21016 = state_20983__$1; +(statearr_20996_21016[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (14))){ +var inst_20977 = (state_20983[(2)]); +var state_20983__$1 = state_20983; +var statearr_20997_21017 = state_20983__$1; +(statearr_20997_21017[(2)] = inst_20977); + +(statearr_20997_21017[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (10))){ +var inst_20969 = (state_20983[(2)]); +var state_20983__$1 = state_20983; +var statearr_20998_21018 = state_20983__$1; +(statearr_20998_21018[(2)] = inst_20969); + +(statearr_20998_21018[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_20984 === (8))){ +var inst_20966 = cljs.core.async.close_BANG_.call(null,to); +var state_20983__$1 = state_20983; +var statearr_20999_21019 = state_20983__$1; +(statearr_20999_21019[(2)] = inst_20966); + +(statearr_20999_21019[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___21005)) +; +return ((function (switch__20783__auto__,c__20872__auto___21005){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_21000 = [null,null,null,null,null,null,null,null]; +(statearr_21000[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_21000[(1)] = (1)); + +return statearr_21000; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_20983){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_20983); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21001){if((e21001 instanceof Object)){ +var ex__20787__auto__ = e21001; +var statearr_21002_21020 = state_20983; +(statearr_21002_21020[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_20983); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21001; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21021 = state_20983; +state_20983 = G__21021; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_20983){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_20983); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___21005)) +})(); +var state__20874__auto__ = (function (){var statearr_21003 = f__20873__auto__.call(null); +(statearr_21003[(6)] = c__20872__auto___21005); + +return statearr_21003; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___21005)) +); + + +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.call(null,n); +var results = cljs.core.async.chan.call(null,n); +var process = ((function (jobs,results){ +return (function (p__21022){ +var vec__21023 = p__21022; +var v = cljs.core.nth.call(null,vec__21023,(0),null); +var p = cljs.core.nth.call(null,vec__21023,(1),null); +var job = vec__21023; +if((job == null)){ +cljs.core.async.close_BANG_.call(null,results); + +return null; +} else { +var res = cljs.core.async.chan.call(null,(1),xf,ex_handler); +var c__20872__auto___21194 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___21194,res,vec__21023,v,p,job,jobs,results){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___21194,res,vec__21023,v,p,job,jobs,results){ +return (function (state_21030){ +var state_val_21031 = (state_21030[(1)]); +if((state_val_21031 === (1))){ +var state_21030__$1 = state_21030; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21030__$1,(2),res,v); +} else { +if((state_val_21031 === (2))){ +var inst_21027 = (state_21030[(2)]); +var inst_21028 = cljs.core.async.close_BANG_.call(null,res); +var state_21030__$1 = (function (){var statearr_21032 = state_21030; +(statearr_21032[(7)] = inst_21027); + +return statearr_21032; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21030__$1,inst_21028); +} else { +return null; +} +} +});})(c__20872__auto___21194,res,vec__21023,v,p,job,jobs,results)) +; +return ((function (switch__20783__auto__,c__20872__auto___21194,res,vec__21023,v,p,job,jobs,results){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0 = (function (){ +var statearr_21033 = [null,null,null,null,null,null,null,null]; +(statearr_21033[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__); + +(statearr_21033[(1)] = (1)); + +return statearr_21033; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1 = (function (state_21030){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21030); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21034){if((e21034 instanceof Object)){ +var ex__20787__auto__ = e21034; +var statearr_21035_21195 = state_21030; +(statearr_21035_21195[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21030); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21034; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21196 = state_21030; +state_21030 = G__21196; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = function(state_21030){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1.call(this,state_21030); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___21194,res,vec__21023,v,p,job,jobs,results)) +})(); +var state__20874__auto__ = (function (){var statearr_21036 = f__20873__auto__.call(null); +(statearr_21036[(6)] = c__20872__auto___21194); + +return statearr_21036; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___21194,res,vec__21023,v,p,job,jobs,results)) +); + + +cljs.core.async.put_BANG_.call(null,p,res); + +return true; +} +});})(jobs,results)) +; +var async = ((function (jobs,results,process){ +return (function (p__21037){ +var vec__21038 = p__21037; +var v = cljs.core.nth.call(null,vec__21038,(0),null); +var p = cljs.core.nth.call(null,vec__21038,(1),null); +var job = vec__21038; +if((job == null)){ +cljs.core.async.close_BANG_.call(null,results); + +return null; +} else { +var res = cljs.core.async.chan.call(null,(1)); +xf.call(null,v,res); + +cljs.core.async.put_BANG_.call(null,p,res); + +return true; +} +});})(jobs,results,process)) +; +var n__4376__auto___21197 = n; +var __21198 = (0); +while(true){ +if((__21198 < n__4376__auto___21197)){ +var G__21041_21199 = type; +var G__21041_21200__$1 = (((G__21041_21199 instanceof cljs.core.Keyword))?G__21041_21199.fqn:null); +switch (G__21041_21200__$1) { +case "compute": +var c__20872__auto___21202 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (__21198,c__20872__auto___21202,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (__21198,c__20872__auto___21202,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async){ +return (function (state_21054){ +var state_val_21055 = (state_21054[(1)]); +if((state_val_21055 === (1))){ +var state_21054__$1 = state_21054; +var statearr_21056_21203 = state_21054__$1; +(statearr_21056_21203[(2)] = null); + +(statearr_21056_21203[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21055 === (2))){ +var state_21054__$1 = state_21054; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21054__$1,(4),jobs); +} else { +if((state_val_21055 === (3))){ +var inst_21052 = (state_21054[(2)]); +var state_21054__$1 = state_21054; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21054__$1,inst_21052); +} else { +if((state_val_21055 === (4))){ +var inst_21044 = (state_21054[(2)]); +var inst_21045 = process.call(null,inst_21044); +var state_21054__$1 = state_21054; +if(cljs.core.truth_(inst_21045)){ +var statearr_21057_21204 = state_21054__$1; +(statearr_21057_21204[(1)] = (5)); + +} else { +var statearr_21058_21205 = state_21054__$1; +(statearr_21058_21205[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21055 === (5))){ +var state_21054__$1 = state_21054; +var statearr_21059_21206 = state_21054__$1; +(statearr_21059_21206[(2)] = null); + +(statearr_21059_21206[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21055 === (6))){ +var state_21054__$1 = state_21054; +var statearr_21060_21207 = state_21054__$1; +(statearr_21060_21207[(2)] = null); + +(statearr_21060_21207[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21055 === (7))){ +var inst_21050 = (state_21054[(2)]); +var state_21054__$1 = state_21054; +var statearr_21061_21208 = state_21054__$1; +(statearr_21061_21208[(2)] = inst_21050); + +(statearr_21061_21208[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +});})(__21198,c__20872__auto___21202,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async)) +; +return ((function (__21198,switch__20783__auto__,c__20872__auto___21202,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0 = (function (){ +var statearr_21062 = [null,null,null,null,null,null,null]; +(statearr_21062[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__); + +(statearr_21062[(1)] = (1)); + +return statearr_21062; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1 = (function (state_21054){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21054); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21063){if((e21063 instanceof Object)){ +var ex__20787__auto__ = e21063; +var statearr_21064_21209 = state_21054; +(statearr_21064_21209[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21054); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21063; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21210 = state_21054; +state_21054 = G__21210; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = function(state_21054){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1.call(this,state_21054); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__; +})() +;})(__21198,switch__20783__auto__,c__20872__auto___21202,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async)) +})(); +var state__20874__auto__ = (function (){var statearr_21065 = f__20873__auto__.call(null); +(statearr_21065[(6)] = c__20872__auto___21202); + +return statearr_21065; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(__21198,c__20872__auto___21202,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async)) +); + + +break; +case "async": +var c__20872__auto___21211 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (__21198,c__20872__auto___21211,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (__21198,c__20872__auto___21211,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async){ +return (function (state_21078){ +var state_val_21079 = (state_21078[(1)]); +if((state_val_21079 === (1))){ +var state_21078__$1 = state_21078; +var statearr_21080_21212 = state_21078__$1; +(statearr_21080_21212[(2)] = null); + +(statearr_21080_21212[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21079 === (2))){ +var state_21078__$1 = state_21078; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21078__$1,(4),jobs); +} else { +if((state_val_21079 === (3))){ +var inst_21076 = (state_21078[(2)]); +var state_21078__$1 = state_21078; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21078__$1,inst_21076); +} else { +if((state_val_21079 === (4))){ +var inst_21068 = (state_21078[(2)]); +var inst_21069 = async.call(null,inst_21068); +var state_21078__$1 = state_21078; +if(cljs.core.truth_(inst_21069)){ +var statearr_21081_21213 = state_21078__$1; +(statearr_21081_21213[(1)] = (5)); + +} else { +var statearr_21082_21214 = state_21078__$1; +(statearr_21082_21214[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21079 === (5))){ +var state_21078__$1 = state_21078; +var statearr_21083_21215 = state_21078__$1; +(statearr_21083_21215[(2)] = null); + +(statearr_21083_21215[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21079 === (6))){ +var state_21078__$1 = state_21078; +var statearr_21084_21216 = state_21078__$1; +(statearr_21084_21216[(2)] = null); + +(statearr_21084_21216[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21079 === (7))){ +var inst_21074 = (state_21078[(2)]); +var state_21078__$1 = state_21078; +var statearr_21085_21217 = state_21078__$1; +(statearr_21085_21217[(2)] = inst_21074); + +(statearr_21085_21217[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +});})(__21198,c__20872__auto___21211,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async)) +; +return ((function (__21198,switch__20783__auto__,c__20872__auto___21211,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0 = (function (){ +var statearr_21086 = [null,null,null,null,null,null,null]; +(statearr_21086[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__); + +(statearr_21086[(1)] = (1)); + +return statearr_21086; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1 = (function (state_21078){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21078); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21087){if((e21087 instanceof Object)){ +var ex__20787__auto__ = e21087; +var statearr_21088_21218 = state_21078; +(statearr_21088_21218[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21078); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21087; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21219 = state_21078; +state_21078 = G__21219; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = function(state_21078){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1.call(this,state_21078); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__; +})() +;})(__21198,switch__20783__auto__,c__20872__auto___21211,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async)) +})(); +var state__20874__auto__ = (function (){var statearr_21089 = f__20873__auto__.call(null); +(statearr_21089[(6)] = c__20872__auto___21211); + +return statearr_21089; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(__21198,c__20872__auto___21211,G__21041_21199,G__21041_21200__$1,n__4376__auto___21197,jobs,results,process,async)) +); + + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__21041_21200__$1)].join(''))); + +} + +var G__21220 = (__21198 + (1)); +__21198 = G__21220; +continue; +} else { +} +break; +} + +var c__20872__auto___21221 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___21221,jobs,results,process,async){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___21221,jobs,results,process,async){ +return (function (state_21111){ +var state_val_21112 = (state_21111[(1)]); +if((state_val_21112 === (1))){ +var state_21111__$1 = state_21111; +var statearr_21113_21222 = state_21111__$1; +(statearr_21113_21222[(2)] = null); + +(statearr_21113_21222[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21112 === (2))){ +var state_21111__$1 = state_21111; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21111__$1,(4),from); +} else { +if((state_val_21112 === (3))){ +var inst_21109 = (state_21111[(2)]); +var state_21111__$1 = state_21111; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21111__$1,inst_21109); +} else { +if((state_val_21112 === (4))){ +var inst_21092 = (state_21111[(7)]); +var inst_21092__$1 = (state_21111[(2)]); +var inst_21093 = (inst_21092__$1 == null); +var state_21111__$1 = (function (){var statearr_21114 = state_21111; +(statearr_21114[(7)] = inst_21092__$1); + +return statearr_21114; +})(); +if(cljs.core.truth_(inst_21093)){ +var statearr_21115_21223 = state_21111__$1; +(statearr_21115_21223[(1)] = (5)); + +} else { +var statearr_21116_21224 = state_21111__$1; +(statearr_21116_21224[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21112 === (5))){ +var inst_21095 = cljs.core.async.close_BANG_.call(null,jobs); +var state_21111__$1 = state_21111; +var statearr_21117_21225 = state_21111__$1; +(statearr_21117_21225[(2)] = inst_21095); + +(statearr_21117_21225[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21112 === (6))){ +var inst_21092 = (state_21111[(7)]); +var inst_21097 = (state_21111[(8)]); +var inst_21097__$1 = cljs.core.async.chan.call(null,(1)); +var inst_21098 = cljs.core.PersistentVector.EMPTY_NODE; +var inst_21099 = [inst_21092,inst_21097__$1]; +var inst_21100 = (new cljs.core.PersistentVector(null,2,(5),inst_21098,inst_21099,null)); +var state_21111__$1 = (function (){var statearr_21118 = state_21111; +(statearr_21118[(8)] = inst_21097__$1); + +return statearr_21118; +})(); +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21111__$1,(8),jobs,inst_21100); +} else { +if((state_val_21112 === (7))){ +var inst_21107 = (state_21111[(2)]); +var state_21111__$1 = state_21111; +var statearr_21119_21226 = state_21111__$1; +(statearr_21119_21226[(2)] = inst_21107); + +(statearr_21119_21226[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21112 === (8))){ +var inst_21097 = (state_21111[(8)]); +var inst_21102 = (state_21111[(2)]); +var state_21111__$1 = (function (){var statearr_21120 = state_21111; +(statearr_21120[(9)] = inst_21102); + +return statearr_21120; +})(); +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21111__$1,(9),results,inst_21097); +} else { +if((state_val_21112 === (9))){ +var inst_21104 = (state_21111[(2)]); +var state_21111__$1 = (function (){var statearr_21121 = state_21111; +(statearr_21121[(10)] = inst_21104); + +return statearr_21121; +})(); +var statearr_21122_21227 = state_21111__$1; +(statearr_21122_21227[(2)] = null); + +(statearr_21122_21227[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___21221,jobs,results,process,async)) +; +return ((function (switch__20783__auto__,c__20872__auto___21221,jobs,results,process,async){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0 = (function (){ +var statearr_21123 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_21123[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__); + +(statearr_21123[(1)] = (1)); + +return statearr_21123; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1 = (function (state_21111){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21111); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21124){if((e21124 instanceof Object)){ +var ex__20787__auto__ = e21124; +var statearr_21125_21228 = state_21111; +(statearr_21125_21228[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21111); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21124; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21229 = state_21111; +state_21111 = G__21229; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = function(state_21111){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1.call(this,state_21111); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___21221,jobs,results,process,async)) +})(); +var state__20874__auto__ = (function (){var statearr_21126 = f__20873__auto__.call(null); +(statearr_21126[(6)] = c__20872__auto___21221); + +return statearr_21126; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___21221,jobs,results,process,async)) +); + + +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__,jobs,results,process,async){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__,jobs,results,process,async){ +return (function (state_21164){ +var state_val_21165 = (state_21164[(1)]); +if((state_val_21165 === (7))){ +var inst_21160 = (state_21164[(2)]); +var state_21164__$1 = state_21164; +var statearr_21166_21230 = state_21164__$1; +(statearr_21166_21230[(2)] = inst_21160); + +(statearr_21166_21230[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (20))){ +var state_21164__$1 = state_21164; +var statearr_21167_21231 = state_21164__$1; +(statearr_21167_21231[(2)] = null); + +(statearr_21167_21231[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (1))){ +var state_21164__$1 = state_21164; +var statearr_21168_21232 = state_21164__$1; +(statearr_21168_21232[(2)] = null); + +(statearr_21168_21232[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (4))){ +var inst_21129 = (state_21164[(7)]); +var inst_21129__$1 = (state_21164[(2)]); +var inst_21130 = (inst_21129__$1 == null); +var state_21164__$1 = (function (){var statearr_21169 = state_21164; +(statearr_21169[(7)] = inst_21129__$1); + +return statearr_21169; +})(); +if(cljs.core.truth_(inst_21130)){ +var statearr_21170_21233 = state_21164__$1; +(statearr_21170_21233[(1)] = (5)); + +} else { +var statearr_21171_21234 = state_21164__$1; +(statearr_21171_21234[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (15))){ +var inst_21142 = (state_21164[(8)]); +var state_21164__$1 = state_21164; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21164__$1,(18),to,inst_21142); +} else { +if((state_val_21165 === (21))){ +var inst_21155 = (state_21164[(2)]); +var state_21164__$1 = state_21164; +var statearr_21172_21235 = state_21164__$1; +(statearr_21172_21235[(2)] = inst_21155); + +(statearr_21172_21235[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (13))){ +var inst_21157 = (state_21164[(2)]); +var state_21164__$1 = (function (){var statearr_21173 = state_21164; +(statearr_21173[(9)] = inst_21157); + +return statearr_21173; +})(); +var statearr_21174_21236 = state_21164__$1; +(statearr_21174_21236[(2)] = null); + +(statearr_21174_21236[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (6))){ +var inst_21129 = (state_21164[(7)]); +var state_21164__$1 = state_21164; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21164__$1,(11),inst_21129); +} else { +if((state_val_21165 === (17))){ +var inst_21150 = (state_21164[(2)]); +var state_21164__$1 = state_21164; +if(cljs.core.truth_(inst_21150)){ +var statearr_21175_21237 = state_21164__$1; +(statearr_21175_21237[(1)] = (19)); + +} else { +var statearr_21176_21238 = state_21164__$1; +(statearr_21176_21238[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (3))){ +var inst_21162 = (state_21164[(2)]); +var state_21164__$1 = state_21164; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21164__$1,inst_21162); +} else { +if((state_val_21165 === (12))){ +var inst_21139 = (state_21164[(10)]); +var state_21164__$1 = state_21164; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21164__$1,(14),inst_21139); +} else { +if((state_val_21165 === (2))){ +var state_21164__$1 = state_21164; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21164__$1,(4),results); +} else { +if((state_val_21165 === (19))){ +var state_21164__$1 = state_21164; +var statearr_21177_21239 = state_21164__$1; +(statearr_21177_21239[(2)] = null); + +(statearr_21177_21239[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (11))){ +var inst_21139 = (state_21164[(2)]); +var state_21164__$1 = (function (){var statearr_21178 = state_21164; +(statearr_21178[(10)] = inst_21139); + +return statearr_21178; +})(); +var statearr_21179_21240 = state_21164__$1; +(statearr_21179_21240[(2)] = null); + +(statearr_21179_21240[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (9))){ +var state_21164__$1 = state_21164; +var statearr_21180_21241 = state_21164__$1; +(statearr_21180_21241[(2)] = null); + +(statearr_21180_21241[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (5))){ +var state_21164__$1 = state_21164; +if(cljs.core.truth_(close_QMARK_)){ +var statearr_21181_21242 = state_21164__$1; +(statearr_21181_21242[(1)] = (8)); + +} else { +var statearr_21182_21243 = state_21164__$1; +(statearr_21182_21243[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (14))){ +var inst_21142 = (state_21164[(8)]); +var inst_21144 = (state_21164[(11)]); +var inst_21142__$1 = (state_21164[(2)]); +var inst_21143 = (inst_21142__$1 == null); +var inst_21144__$1 = cljs.core.not.call(null,inst_21143); +var state_21164__$1 = (function (){var statearr_21183 = state_21164; +(statearr_21183[(8)] = inst_21142__$1); + +(statearr_21183[(11)] = inst_21144__$1); + +return statearr_21183; +})(); +if(inst_21144__$1){ +var statearr_21184_21244 = state_21164__$1; +(statearr_21184_21244[(1)] = (15)); + +} else { +var statearr_21185_21245 = state_21164__$1; +(statearr_21185_21245[(1)] = (16)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (16))){ +var inst_21144 = (state_21164[(11)]); +var state_21164__$1 = state_21164; +var statearr_21186_21246 = state_21164__$1; +(statearr_21186_21246[(2)] = inst_21144); + +(statearr_21186_21246[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (10))){ +var inst_21136 = (state_21164[(2)]); +var state_21164__$1 = state_21164; +var statearr_21187_21247 = state_21164__$1; +(statearr_21187_21247[(2)] = inst_21136); + +(statearr_21187_21247[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (18))){ +var inst_21147 = (state_21164[(2)]); +var state_21164__$1 = state_21164; +var statearr_21188_21248 = state_21164__$1; +(statearr_21188_21248[(2)] = inst_21147); + +(statearr_21188_21248[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21165 === (8))){ +var inst_21133 = cljs.core.async.close_BANG_.call(null,to); +var state_21164__$1 = state_21164; +var statearr_21189_21249 = state_21164__$1; +(statearr_21189_21249[(2)] = inst_21133); + +(statearr_21189_21249[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__,jobs,results,process,async)) +; +return ((function (switch__20783__auto__,c__20872__auto__,jobs,results,process,async){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0 = (function (){ +var statearr_21190 = [null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_21190[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__); + +(statearr_21190[(1)] = (1)); + +return statearr_21190; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1 = (function (state_21164){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21164); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21191){if((e21191 instanceof Object)){ +var ex__20787__auto__ = e21191; +var statearr_21192_21250 = state_21164; +(statearr_21192_21250[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21164); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21191; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21251 = state_21164; +state_21164 = G__21251; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__ = function(state_21164){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1.call(this,state_21164); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__20784__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__,jobs,results,process,async)) +})(); +var state__20874__auto__ = (function (){var statearr_21193 = f__20873__auto__.call(null); +(statearr_21193[(6)] = c__20872__auto__); + +return statearr_21193; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__,jobs,results,process,async)) +); + +return c__20872__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). af must close! + * the channel before returning. The presumption is that af will + * return immediately, having launched some asynchronous operation + * whose completion/callback will manipulate the result channel. 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. + */ +cljs.core.async.pipeline_async = (function cljs$core$async$pipeline_async(var_args){ +var G__21253 = arguments.length; +switch (G__21253) { +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.call(null,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_.call(null,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__21256 = arguments.length; +switch (G__21256) { +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.call(null,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.call(null,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_.call(null,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__21259 = arguments.length; +switch (G__21259) { +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.call(null,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.call(null,t_buf_or_n); +var fc = cljs.core.async.chan.call(null,f_buf_or_n); +var c__20872__auto___21308 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___21308,tc,fc){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___21308,tc,fc){ +return (function (state_21285){ +var state_val_21286 = (state_21285[(1)]); +if((state_val_21286 === (7))){ +var inst_21281 = (state_21285[(2)]); +var state_21285__$1 = state_21285; +var statearr_21287_21309 = state_21285__$1; +(statearr_21287_21309[(2)] = inst_21281); + +(statearr_21287_21309[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (1))){ +var state_21285__$1 = state_21285; +var statearr_21288_21310 = state_21285__$1; +(statearr_21288_21310[(2)] = null); + +(statearr_21288_21310[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (4))){ +var inst_21262 = (state_21285[(7)]); +var inst_21262__$1 = (state_21285[(2)]); +var inst_21263 = (inst_21262__$1 == null); +var state_21285__$1 = (function (){var statearr_21289 = state_21285; +(statearr_21289[(7)] = inst_21262__$1); + +return statearr_21289; +})(); +if(cljs.core.truth_(inst_21263)){ +var statearr_21290_21311 = state_21285__$1; +(statearr_21290_21311[(1)] = (5)); + +} else { +var statearr_21291_21312 = state_21285__$1; +(statearr_21291_21312[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (13))){ +var state_21285__$1 = state_21285; +var statearr_21292_21313 = state_21285__$1; +(statearr_21292_21313[(2)] = null); + +(statearr_21292_21313[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (6))){ +var inst_21262 = (state_21285[(7)]); +var inst_21268 = p.call(null,inst_21262); +var state_21285__$1 = state_21285; +if(cljs.core.truth_(inst_21268)){ +var statearr_21293_21314 = state_21285__$1; +(statearr_21293_21314[(1)] = (9)); + +} else { +var statearr_21294_21315 = state_21285__$1; +(statearr_21294_21315[(1)] = (10)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (3))){ +var inst_21283 = (state_21285[(2)]); +var state_21285__$1 = state_21285; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21285__$1,inst_21283); +} else { +if((state_val_21286 === (12))){ +var state_21285__$1 = state_21285; +var statearr_21295_21316 = state_21285__$1; +(statearr_21295_21316[(2)] = null); + +(statearr_21295_21316[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (2))){ +var state_21285__$1 = state_21285; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21285__$1,(4),ch); +} else { +if((state_val_21286 === (11))){ +var inst_21262 = (state_21285[(7)]); +var inst_21272 = (state_21285[(2)]); +var state_21285__$1 = state_21285; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21285__$1,(8),inst_21272,inst_21262); +} else { +if((state_val_21286 === (9))){ +var state_21285__$1 = state_21285; +var statearr_21296_21317 = state_21285__$1; +(statearr_21296_21317[(2)] = tc); + +(statearr_21296_21317[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (5))){ +var inst_21265 = cljs.core.async.close_BANG_.call(null,tc); +var inst_21266 = cljs.core.async.close_BANG_.call(null,fc); +var state_21285__$1 = (function (){var statearr_21297 = state_21285; +(statearr_21297[(8)] = inst_21265); + +return statearr_21297; +})(); +var statearr_21298_21318 = state_21285__$1; +(statearr_21298_21318[(2)] = inst_21266); + +(statearr_21298_21318[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (14))){ +var inst_21279 = (state_21285[(2)]); +var state_21285__$1 = state_21285; +var statearr_21299_21319 = state_21285__$1; +(statearr_21299_21319[(2)] = inst_21279); + +(statearr_21299_21319[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (10))){ +var state_21285__$1 = state_21285; +var statearr_21300_21320 = state_21285__$1; +(statearr_21300_21320[(2)] = fc); + +(statearr_21300_21320[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21286 === (8))){ +var inst_21274 = (state_21285[(2)]); +var state_21285__$1 = state_21285; +if(cljs.core.truth_(inst_21274)){ +var statearr_21301_21321 = state_21285__$1; +(statearr_21301_21321[(1)] = (12)); + +} else { +var statearr_21302_21322 = state_21285__$1; +(statearr_21302_21322[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___21308,tc,fc)) +; +return ((function (switch__20783__auto__,c__20872__auto___21308,tc,fc){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_21303 = [null,null,null,null,null,null,null,null,null]; +(statearr_21303[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_21303[(1)] = (1)); + +return statearr_21303; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_21285){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21285); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21304){if((e21304 instanceof Object)){ +var ex__20787__auto__ = e21304; +var statearr_21305_21323 = state_21285; +(statearr_21305_21323[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21285); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21304; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21324 = state_21285; +state_21285 = G__21324; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_21285){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_21285); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___21308,tc,fc)) +})(); +var state__20874__auto__ = (function (){var statearr_21306 = f__20873__auto__.call(null); +(statearr_21306[(6)] = c__20872__auto___21308); + +return statearr_21306; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___21308,tc,fc)) +); + + +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__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_21345){ +var state_val_21346 = (state_21345[(1)]); +if((state_val_21346 === (7))){ +var inst_21341 = (state_21345[(2)]); +var state_21345__$1 = state_21345; +var statearr_21347_21365 = state_21345__$1; +(statearr_21347_21365[(2)] = inst_21341); + +(statearr_21347_21365[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (1))){ +var inst_21325 = init; +var state_21345__$1 = (function (){var statearr_21348 = state_21345; +(statearr_21348[(7)] = inst_21325); + +return statearr_21348; +})(); +var statearr_21349_21366 = state_21345__$1; +(statearr_21349_21366[(2)] = null); + +(statearr_21349_21366[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (4))){ +var inst_21328 = (state_21345[(8)]); +var inst_21328__$1 = (state_21345[(2)]); +var inst_21329 = (inst_21328__$1 == null); +var state_21345__$1 = (function (){var statearr_21350 = state_21345; +(statearr_21350[(8)] = inst_21328__$1); + +return statearr_21350; +})(); +if(cljs.core.truth_(inst_21329)){ +var statearr_21351_21367 = state_21345__$1; +(statearr_21351_21367[(1)] = (5)); + +} else { +var statearr_21352_21368 = state_21345__$1; +(statearr_21352_21368[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (6))){ +var inst_21328 = (state_21345[(8)]); +var inst_21325 = (state_21345[(7)]); +var inst_21332 = (state_21345[(9)]); +var inst_21332__$1 = f.call(null,inst_21325,inst_21328); +var inst_21333 = cljs.core.reduced_QMARK_.call(null,inst_21332__$1); +var state_21345__$1 = (function (){var statearr_21353 = state_21345; +(statearr_21353[(9)] = inst_21332__$1); + +return statearr_21353; +})(); +if(inst_21333){ +var statearr_21354_21369 = state_21345__$1; +(statearr_21354_21369[(1)] = (8)); + +} else { +var statearr_21355_21370 = state_21345__$1; +(statearr_21355_21370[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (3))){ +var inst_21343 = (state_21345[(2)]); +var state_21345__$1 = state_21345; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21345__$1,inst_21343); +} else { +if((state_val_21346 === (2))){ +var state_21345__$1 = state_21345; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21345__$1,(4),ch); +} else { +if((state_val_21346 === (9))){ +var inst_21332 = (state_21345[(9)]); +var inst_21325 = inst_21332; +var state_21345__$1 = (function (){var statearr_21356 = state_21345; +(statearr_21356[(7)] = inst_21325); + +return statearr_21356; +})(); +var statearr_21357_21371 = state_21345__$1; +(statearr_21357_21371[(2)] = null); + +(statearr_21357_21371[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (5))){ +var inst_21325 = (state_21345[(7)]); +var state_21345__$1 = state_21345; +var statearr_21358_21372 = state_21345__$1; +(statearr_21358_21372[(2)] = inst_21325); + +(statearr_21358_21372[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (10))){ +var inst_21339 = (state_21345[(2)]); +var state_21345__$1 = state_21345; +var statearr_21359_21373 = state_21345__$1; +(statearr_21359_21373[(2)] = inst_21339); + +(statearr_21359_21373[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21346 === (8))){ +var inst_21332 = (state_21345[(9)]); +var inst_21335 = cljs.core.deref.call(null,inst_21332); +var state_21345__$1 = state_21345; +var statearr_21360_21374 = state_21345__$1; +(statearr_21360_21374[(2)] = inst_21335); + +(statearr_21360_21374[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var cljs$core$async$reduce_$_state_machine__20784__auto__ = null; +var cljs$core$async$reduce_$_state_machine__20784__auto____0 = (function (){ +var statearr_21361 = [null,null,null,null,null,null,null,null,null,null]; +(statearr_21361[(0)] = cljs$core$async$reduce_$_state_machine__20784__auto__); + +(statearr_21361[(1)] = (1)); + +return statearr_21361; +}); +var cljs$core$async$reduce_$_state_machine__20784__auto____1 = (function (state_21345){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21345); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21362){if((e21362 instanceof Object)){ +var ex__20787__auto__ = e21362; +var statearr_21363_21375 = state_21345; +(statearr_21363_21375[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21345); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21362; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21376 = state_21345; +state_21345 = G__21376; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$reduce_$_state_machine__20784__auto__ = function(state_21345){ +switch(arguments.length){ +case 0: +return cljs$core$async$reduce_$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$reduce_$_state_machine__20784__auto____1.call(this,state_21345); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$reduce_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$reduce_$_state_machine__20784__auto____0; +cljs$core$async$reduce_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$reduce_$_state_machine__20784__auto____1; +return cljs$core$async$reduce_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_21364 = f__20873__auto__.call(null); +(statearr_21364[(6)] = c__20872__auto__); + +return statearr_21364; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__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.call(null,f); +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__,f__$1){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__,f__$1){ +return (function (state_21382){ +var state_val_21383 = (state_21382[(1)]); +if((state_val_21383 === (1))){ +var inst_21377 = cljs.core.async.reduce.call(null,f__$1,init,ch); +var state_21382__$1 = state_21382; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21382__$1,(2),inst_21377); +} else { +if((state_val_21383 === (2))){ +var inst_21379 = (state_21382[(2)]); +var inst_21380 = f__$1.call(null,inst_21379); +var state_21382__$1 = state_21382; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21382__$1,inst_21380); +} else { +return null; +} +} +});})(c__20872__auto__,f__$1)) +; +return ((function (switch__20783__auto__,c__20872__auto__,f__$1){ +return (function() { +var cljs$core$async$transduce_$_state_machine__20784__auto__ = null; +var cljs$core$async$transduce_$_state_machine__20784__auto____0 = (function (){ +var statearr_21384 = [null,null,null,null,null,null,null]; +(statearr_21384[(0)] = cljs$core$async$transduce_$_state_machine__20784__auto__); + +(statearr_21384[(1)] = (1)); + +return statearr_21384; +}); +var cljs$core$async$transduce_$_state_machine__20784__auto____1 = (function (state_21382){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21382); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21385){if((e21385 instanceof Object)){ +var ex__20787__auto__ = e21385; +var statearr_21386_21388 = state_21382; +(statearr_21386_21388[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21382); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21385; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21389 = state_21382; +state_21382 = G__21389; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$transduce_$_state_machine__20784__auto__ = function(state_21382){ +switch(arguments.length){ +case 0: +return cljs$core$async$transduce_$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$transduce_$_state_machine__20784__auto____1.call(this,state_21382); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$transduce_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$transduce_$_state_machine__20784__auto____0; +cljs$core$async$transduce_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$transduce_$_state_machine__20784__auto____1; +return cljs$core$async$transduce_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__,f__$1)) +})(); +var state__20874__auto__ = (function (){var statearr_21387 = f__20873__auto__.call(null); +(statearr_21387[(6)] = c__20872__auto__); + +return statearr_21387; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__,f__$1)) +); + +return c__20872__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 = (function cljs$core$async$onto_chan(var_args){ +var G__21391 = arguments.length; +switch (G__21391) { +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.call(null,ch,coll,true); +}); + +cljs.core.async.onto_chan.cljs$core$IFn$_invoke$arity$3 = (function (ch,coll,close_QMARK_){ +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_21416){ +var state_val_21417 = (state_21416[(1)]); +if((state_val_21417 === (7))){ +var inst_21398 = (state_21416[(2)]); +var state_21416__$1 = state_21416; +var statearr_21418_21439 = state_21416__$1; +(statearr_21418_21439[(2)] = inst_21398); + +(statearr_21418_21439[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (1))){ +var inst_21392 = cljs.core.seq.call(null,coll); +var inst_21393 = inst_21392; +var state_21416__$1 = (function (){var statearr_21419 = state_21416; +(statearr_21419[(7)] = inst_21393); + +return statearr_21419; +})(); +var statearr_21420_21440 = state_21416__$1; +(statearr_21420_21440[(2)] = null); + +(statearr_21420_21440[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (4))){ +var inst_21393 = (state_21416[(7)]); +var inst_21396 = cljs.core.first.call(null,inst_21393); +var state_21416__$1 = state_21416; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21416__$1,(7),ch,inst_21396); +} else { +if((state_val_21417 === (13))){ +var inst_21410 = (state_21416[(2)]); +var state_21416__$1 = state_21416; +var statearr_21421_21441 = state_21416__$1; +(statearr_21421_21441[(2)] = inst_21410); + +(statearr_21421_21441[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (6))){ +var inst_21401 = (state_21416[(2)]); +var state_21416__$1 = state_21416; +if(cljs.core.truth_(inst_21401)){ +var statearr_21422_21442 = state_21416__$1; +(statearr_21422_21442[(1)] = (8)); + +} else { +var statearr_21423_21443 = state_21416__$1; +(statearr_21423_21443[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (3))){ +var inst_21414 = (state_21416[(2)]); +var state_21416__$1 = state_21416; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21416__$1,inst_21414); +} else { +if((state_val_21417 === (12))){ +var state_21416__$1 = state_21416; +var statearr_21424_21444 = state_21416__$1; +(statearr_21424_21444[(2)] = null); + +(statearr_21424_21444[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (2))){ +var inst_21393 = (state_21416[(7)]); +var state_21416__$1 = state_21416; +if(cljs.core.truth_(inst_21393)){ +var statearr_21425_21445 = state_21416__$1; +(statearr_21425_21445[(1)] = (4)); + +} else { +var statearr_21426_21446 = state_21416__$1; +(statearr_21426_21446[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (11))){ +var inst_21407 = cljs.core.async.close_BANG_.call(null,ch); +var state_21416__$1 = state_21416; +var statearr_21427_21447 = state_21416__$1; +(statearr_21427_21447[(2)] = inst_21407); + +(statearr_21427_21447[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (9))){ +var state_21416__$1 = state_21416; +if(cljs.core.truth_(close_QMARK_)){ +var statearr_21428_21448 = state_21416__$1; +(statearr_21428_21448[(1)] = (11)); + +} else { +var statearr_21429_21449 = state_21416__$1; +(statearr_21429_21449[(1)] = (12)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (5))){ +var inst_21393 = (state_21416[(7)]); +var state_21416__$1 = state_21416; +var statearr_21430_21450 = state_21416__$1; +(statearr_21430_21450[(2)] = inst_21393); + +(statearr_21430_21450[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (10))){ +var inst_21412 = (state_21416[(2)]); +var state_21416__$1 = state_21416; +var statearr_21431_21451 = state_21416__$1; +(statearr_21431_21451[(2)] = inst_21412); + +(statearr_21431_21451[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21417 === (8))){ +var inst_21393 = (state_21416[(7)]); +var inst_21403 = cljs.core.next.call(null,inst_21393); +var inst_21393__$1 = inst_21403; +var state_21416__$1 = (function (){var statearr_21432 = state_21416; +(statearr_21432[(7)] = inst_21393__$1); + +return statearr_21432; +})(); +var statearr_21433_21452 = state_21416__$1; +(statearr_21433_21452[(2)] = null); + +(statearr_21433_21452[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_21434 = [null,null,null,null,null,null,null,null]; +(statearr_21434[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_21434[(1)] = (1)); + +return statearr_21434; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_21416){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21416); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21435){if((e21435 instanceof Object)){ +var ex__20787__auto__ = e21435; +var statearr_21436_21453 = state_21416; +(statearr_21436_21453[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21416); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21435; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21454 = state_21416; +state_21416 = G__21454; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_21416){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_21416); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_21437 = f__20873__auto__.call(null); +(statearr_21437[(6)] = c__20872__auto__); + +return statearr_21437; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__auto__; +}); + +cljs.core.async.onto_chan.cljs$lang$maxFixedArity = 3; + +/** + * Creates and returns a channel which contains the contents of coll, + * closing when exhausted. + */ +cljs.core.async.to_chan = (function cljs$core$async$to_chan(coll){ +var ch = cljs.core.async.chan.call(null,cljs.core.bounded_count.call(null,(100),coll)); +cljs.core.async.onto_chan.call(null,ch,coll); + +return ch; +}); + +/** + * @interface + */ +cljs.core.async.Mux = function(){}; + +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 { +var x__4211__auto__ = (((_ == null))?null:_); +var m__4212__auto__ = (cljs.core.async.muxch_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,_); +} else { +var m__4212__auto____$1 = (cljs.core.async.muxch_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,_); +} else { +throw cljs.core.missing_protocol.call(null,"Mux.muxch*",_); +} +} +} +}); + + +/** + * @interface + */ +cljs.core.async.Mult = function(){}; + +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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.tap_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m,ch,close_QMARK_); +} else { +var m__4212__auto____$1 = (cljs.core.async.tap_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m,ch,close_QMARK_); +} else { +throw cljs.core.missing_protocol.call(null,"Mult.tap*",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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.untap_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m,ch); +} else { +var m__4212__auto____$1 = (cljs.core.async.untap_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m,ch); +} else { +throw cljs.core.missing_protocol.call(null,"Mult.untap*",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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.untap_all_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m); +} else { +var m__4212__auto____$1 = (cljs.core.async.untap_all_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m); +} else { +throw cljs.core.missing_protocol.call(null,"Mult.untap-all*",m); +} +} +} +}); + +/** + * 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.call(null,cljs.core.PersistentArrayMap.EMPTY); +var m = (function (){ +if(typeof cljs.core.async.t_cljs$core$async21455 !== 'undefined'){ +} else { + +/** +* @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$async21455 = (function (ch,cs,meta21456){ +this.ch = ch; +this.cs = cs; +this.meta21456 = meta21456; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (cs){ +return (function (_21457,meta21456__$1){ +var self__ = this; +var _21457__$1 = this; +return (new cljs.core.async.t_cljs$core$async21455(self__.ch,self__.cs,meta21456__$1)); +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (cs){ +return (function (_21457){ +var self__ = this; +var _21457__$1 = this; +return self__.meta21456; +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$async$Mux$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$async$Mux$muxch_STAR_$arity$1 = ((function (cs){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return self__.ch; +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$async$Mult$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$async$Mult$tap_STAR_$arity$3 = ((function (cs){ +return (function (_,ch__$1,close_QMARK_){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.call(null,self__.cs,cljs.core.assoc,ch__$1,close_QMARK_); + +return null; +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$async$Mult$untap_STAR_$arity$2 = ((function (cs){ +return (function (_,ch__$1){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.call(null,self__.cs,cljs.core.dissoc,ch__$1); + +return null; +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.prototype.cljs$core$async$Mult$untap_all_STAR_$arity$1 = ((function (cs){ +return (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.reset_BANG_.call(null,self__.cs,cljs.core.PersistentArrayMap.EMPTY); + +return null; +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.getBasis = ((function (cs){ +return (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,"meta21456","meta21456",-812371613,null)], null); +});})(cs)) +; + +cljs.core.async.t_cljs$core$async21455.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async21455.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async21455"; + +cljs.core.async.t_cljs$core$async21455.cljs$lang$ctorPrWriter = ((function (cs){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async21455"); +});})(cs)) +; + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async21455. + */ +cljs.core.async.__GT_t_cljs$core$async21455 = ((function (cs){ +return (function cljs$core$async$mult_$___GT_t_cljs$core$async21455(ch__$1,cs__$1,meta21456){ +return (new cljs.core.async.t_cljs$core$async21455(ch__$1,cs__$1,meta21456)); +});})(cs)) +; + +} + +return (new cljs.core.async.t_cljs$core$async21455(ch,cs,cljs.core.PersistentArrayMap.EMPTY)); +})() +; +var dchan = cljs.core.async.chan.call(null,(1)); +var dctr = cljs.core.atom.call(null,null); +var done = ((function (cs,m,dchan,dctr){ +return (function (_){ +if((cljs.core.swap_BANG_.call(null,dctr,cljs.core.dec) === (0))){ +return cljs.core.async.put_BANG_.call(null,dchan,true); +} else { +return null; +} +});})(cs,m,dchan,dctr)) +; +var c__20872__auto___21677 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___21677,cs,m,dchan,dctr,done){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___21677,cs,m,dchan,dctr,done){ +return (function (state_21592){ +var state_val_21593 = (state_21592[(1)]); +if((state_val_21593 === (7))){ +var inst_21588 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21594_21678 = state_21592__$1; +(statearr_21594_21678[(2)] = inst_21588); + +(statearr_21594_21678[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (20))){ +var inst_21491 = (state_21592[(7)]); +var inst_21503 = cljs.core.first.call(null,inst_21491); +var inst_21504 = cljs.core.nth.call(null,inst_21503,(0),null); +var inst_21505 = cljs.core.nth.call(null,inst_21503,(1),null); +var state_21592__$1 = (function (){var statearr_21595 = state_21592; +(statearr_21595[(8)] = inst_21504); + +return statearr_21595; +})(); +if(cljs.core.truth_(inst_21505)){ +var statearr_21596_21679 = state_21592__$1; +(statearr_21596_21679[(1)] = (22)); + +} else { +var statearr_21597_21680 = state_21592__$1; +(statearr_21597_21680[(1)] = (23)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (27))){ +var inst_21533 = (state_21592[(9)]); +var inst_21460 = (state_21592[(10)]); +var inst_21540 = (state_21592[(11)]); +var inst_21535 = (state_21592[(12)]); +var inst_21540__$1 = cljs.core._nth.call(null,inst_21533,inst_21535); +var inst_21541 = cljs.core.async.put_BANG_.call(null,inst_21540__$1,inst_21460,done); +var state_21592__$1 = (function (){var statearr_21598 = state_21592; +(statearr_21598[(11)] = inst_21540__$1); + +return statearr_21598; +})(); +if(cljs.core.truth_(inst_21541)){ +var statearr_21599_21681 = state_21592__$1; +(statearr_21599_21681[(1)] = (30)); + +} else { +var statearr_21600_21682 = state_21592__$1; +(statearr_21600_21682[(1)] = (31)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (1))){ +var state_21592__$1 = state_21592; +var statearr_21601_21683 = state_21592__$1; +(statearr_21601_21683[(2)] = null); + +(statearr_21601_21683[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (24))){ +var inst_21491 = (state_21592[(7)]); +var inst_21510 = (state_21592[(2)]); +var inst_21511 = cljs.core.next.call(null,inst_21491); +var inst_21469 = inst_21511; +var inst_21470 = null; +var inst_21471 = (0); +var inst_21472 = (0); +var state_21592__$1 = (function (){var statearr_21602 = state_21592; +(statearr_21602[(13)] = inst_21471); + +(statearr_21602[(14)] = inst_21469); + +(statearr_21602[(15)] = inst_21470); + +(statearr_21602[(16)] = inst_21510); + +(statearr_21602[(17)] = inst_21472); + +return statearr_21602; +})(); +var statearr_21603_21684 = state_21592__$1; +(statearr_21603_21684[(2)] = null); + +(statearr_21603_21684[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (39))){ +var state_21592__$1 = state_21592; +var statearr_21607_21685 = state_21592__$1; +(statearr_21607_21685[(2)] = null); + +(statearr_21607_21685[(1)] = (41)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (4))){ +var inst_21460 = (state_21592[(10)]); +var inst_21460__$1 = (state_21592[(2)]); +var inst_21461 = (inst_21460__$1 == null); +var state_21592__$1 = (function (){var statearr_21608 = state_21592; +(statearr_21608[(10)] = inst_21460__$1); + +return statearr_21608; +})(); +if(cljs.core.truth_(inst_21461)){ +var statearr_21609_21686 = state_21592__$1; +(statearr_21609_21686[(1)] = (5)); + +} else { +var statearr_21610_21687 = state_21592__$1; +(statearr_21610_21687[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (15))){ +var inst_21471 = (state_21592[(13)]); +var inst_21469 = (state_21592[(14)]); +var inst_21470 = (state_21592[(15)]); +var inst_21472 = (state_21592[(17)]); +var inst_21487 = (state_21592[(2)]); +var inst_21488 = (inst_21472 + (1)); +var tmp21604 = inst_21471; +var tmp21605 = inst_21469; +var tmp21606 = inst_21470; +var inst_21469__$1 = tmp21605; +var inst_21470__$1 = tmp21606; +var inst_21471__$1 = tmp21604; +var inst_21472__$1 = inst_21488; +var state_21592__$1 = (function (){var statearr_21611 = state_21592; +(statearr_21611[(13)] = inst_21471__$1); + +(statearr_21611[(18)] = inst_21487); + +(statearr_21611[(14)] = inst_21469__$1); + +(statearr_21611[(15)] = inst_21470__$1); + +(statearr_21611[(17)] = inst_21472__$1); + +return statearr_21611; +})(); +var statearr_21612_21688 = state_21592__$1; +(statearr_21612_21688[(2)] = null); + +(statearr_21612_21688[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (21))){ +var inst_21514 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21616_21689 = state_21592__$1; +(statearr_21616_21689[(2)] = inst_21514); + +(statearr_21616_21689[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (31))){ +var inst_21540 = (state_21592[(11)]); +var inst_21544 = done.call(null,null); +var inst_21545 = cljs.core.async.untap_STAR_.call(null,m,inst_21540); +var state_21592__$1 = (function (){var statearr_21617 = state_21592; +(statearr_21617[(19)] = inst_21544); + +return statearr_21617; +})(); +var statearr_21618_21690 = state_21592__$1; +(statearr_21618_21690[(2)] = inst_21545); + +(statearr_21618_21690[(1)] = (32)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (32))){ +var inst_21532 = (state_21592[(20)]); +var inst_21533 = (state_21592[(9)]); +var inst_21535 = (state_21592[(12)]); +var inst_21534 = (state_21592[(21)]); +var inst_21547 = (state_21592[(2)]); +var inst_21548 = (inst_21535 + (1)); +var tmp21613 = inst_21532; +var tmp21614 = inst_21533; +var tmp21615 = inst_21534; +var inst_21532__$1 = tmp21613; +var inst_21533__$1 = tmp21614; +var inst_21534__$1 = tmp21615; +var inst_21535__$1 = inst_21548; +var state_21592__$1 = (function (){var statearr_21619 = state_21592; +(statearr_21619[(20)] = inst_21532__$1); + +(statearr_21619[(9)] = inst_21533__$1); + +(statearr_21619[(12)] = inst_21535__$1); + +(statearr_21619[(21)] = inst_21534__$1); + +(statearr_21619[(22)] = inst_21547); + +return statearr_21619; +})(); +var statearr_21620_21691 = state_21592__$1; +(statearr_21620_21691[(2)] = null); + +(statearr_21620_21691[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (40))){ +var inst_21560 = (state_21592[(23)]); +var inst_21564 = done.call(null,null); +var inst_21565 = cljs.core.async.untap_STAR_.call(null,m,inst_21560); +var state_21592__$1 = (function (){var statearr_21621 = state_21592; +(statearr_21621[(24)] = inst_21564); + +return statearr_21621; +})(); +var statearr_21622_21692 = state_21592__$1; +(statearr_21622_21692[(2)] = inst_21565); + +(statearr_21622_21692[(1)] = (41)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (33))){ +var inst_21551 = (state_21592[(25)]); +var inst_21553 = cljs.core.chunked_seq_QMARK_.call(null,inst_21551); +var state_21592__$1 = state_21592; +if(inst_21553){ +var statearr_21623_21693 = state_21592__$1; +(statearr_21623_21693[(1)] = (36)); + +} else { +var statearr_21624_21694 = state_21592__$1; +(statearr_21624_21694[(1)] = (37)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (13))){ +var inst_21481 = (state_21592[(26)]); +var inst_21484 = cljs.core.async.close_BANG_.call(null,inst_21481); +var state_21592__$1 = state_21592; +var statearr_21625_21695 = state_21592__$1; +(statearr_21625_21695[(2)] = inst_21484); + +(statearr_21625_21695[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (22))){ +var inst_21504 = (state_21592[(8)]); +var inst_21507 = cljs.core.async.close_BANG_.call(null,inst_21504); +var state_21592__$1 = state_21592; +var statearr_21626_21696 = state_21592__$1; +(statearr_21626_21696[(2)] = inst_21507); + +(statearr_21626_21696[(1)] = (24)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (36))){ +var inst_21551 = (state_21592[(25)]); +var inst_21555 = cljs.core.chunk_first.call(null,inst_21551); +var inst_21556 = cljs.core.chunk_rest.call(null,inst_21551); +var inst_21557 = cljs.core.count.call(null,inst_21555); +var inst_21532 = inst_21556; +var inst_21533 = inst_21555; +var inst_21534 = inst_21557; +var inst_21535 = (0); +var state_21592__$1 = (function (){var statearr_21627 = state_21592; +(statearr_21627[(20)] = inst_21532); + +(statearr_21627[(9)] = inst_21533); + +(statearr_21627[(12)] = inst_21535); + +(statearr_21627[(21)] = inst_21534); + +return statearr_21627; +})(); +var statearr_21628_21697 = state_21592__$1; +(statearr_21628_21697[(2)] = null); + +(statearr_21628_21697[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (41))){ +var inst_21551 = (state_21592[(25)]); +var inst_21567 = (state_21592[(2)]); +var inst_21568 = cljs.core.next.call(null,inst_21551); +var inst_21532 = inst_21568; +var inst_21533 = null; +var inst_21534 = (0); +var inst_21535 = (0); +var state_21592__$1 = (function (){var statearr_21629 = state_21592; +(statearr_21629[(20)] = inst_21532); + +(statearr_21629[(9)] = inst_21533); + +(statearr_21629[(12)] = inst_21535); + +(statearr_21629[(27)] = inst_21567); + +(statearr_21629[(21)] = inst_21534); + +return statearr_21629; +})(); +var statearr_21630_21698 = state_21592__$1; +(statearr_21630_21698[(2)] = null); + +(statearr_21630_21698[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (43))){ +var state_21592__$1 = state_21592; +var statearr_21631_21699 = state_21592__$1; +(statearr_21631_21699[(2)] = null); + +(statearr_21631_21699[(1)] = (44)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (29))){ +var inst_21576 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21632_21700 = state_21592__$1; +(statearr_21632_21700[(2)] = inst_21576); + +(statearr_21632_21700[(1)] = (26)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (44))){ +var inst_21585 = (state_21592[(2)]); +var state_21592__$1 = (function (){var statearr_21633 = state_21592; +(statearr_21633[(28)] = inst_21585); + +return statearr_21633; +})(); +var statearr_21634_21701 = state_21592__$1; +(statearr_21634_21701[(2)] = null); + +(statearr_21634_21701[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (6))){ +var inst_21524 = (state_21592[(29)]); +var inst_21523 = cljs.core.deref.call(null,cs); +var inst_21524__$1 = cljs.core.keys.call(null,inst_21523); +var inst_21525 = cljs.core.count.call(null,inst_21524__$1); +var inst_21526 = cljs.core.reset_BANG_.call(null,dctr,inst_21525); +var inst_21531 = cljs.core.seq.call(null,inst_21524__$1); +var inst_21532 = inst_21531; +var inst_21533 = null; +var inst_21534 = (0); +var inst_21535 = (0); +var state_21592__$1 = (function (){var statearr_21635 = state_21592; +(statearr_21635[(20)] = inst_21532); + +(statearr_21635[(29)] = inst_21524__$1); + +(statearr_21635[(9)] = inst_21533); + +(statearr_21635[(12)] = inst_21535); + +(statearr_21635[(21)] = inst_21534); + +(statearr_21635[(30)] = inst_21526); + +return statearr_21635; +})(); +var statearr_21636_21702 = state_21592__$1; +(statearr_21636_21702[(2)] = null); + +(statearr_21636_21702[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (28))){ +var inst_21532 = (state_21592[(20)]); +var inst_21551 = (state_21592[(25)]); +var inst_21551__$1 = cljs.core.seq.call(null,inst_21532); +var state_21592__$1 = (function (){var statearr_21637 = state_21592; +(statearr_21637[(25)] = inst_21551__$1); + +return statearr_21637; +})(); +if(inst_21551__$1){ +var statearr_21638_21703 = state_21592__$1; +(statearr_21638_21703[(1)] = (33)); + +} else { +var statearr_21639_21704 = state_21592__$1; +(statearr_21639_21704[(1)] = (34)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (25))){ +var inst_21535 = (state_21592[(12)]); +var inst_21534 = (state_21592[(21)]); +var inst_21537 = (inst_21535 < inst_21534); +var inst_21538 = inst_21537; +var state_21592__$1 = state_21592; +if(cljs.core.truth_(inst_21538)){ +var statearr_21640_21705 = state_21592__$1; +(statearr_21640_21705[(1)] = (27)); + +} else { +var statearr_21641_21706 = state_21592__$1; +(statearr_21641_21706[(1)] = (28)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (34))){ +var state_21592__$1 = state_21592; +var statearr_21642_21707 = state_21592__$1; +(statearr_21642_21707[(2)] = null); + +(statearr_21642_21707[(1)] = (35)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (17))){ +var state_21592__$1 = state_21592; +var statearr_21643_21708 = state_21592__$1; +(statearr_21643_21708[(2)] = null); + +(statearr_21643_21708[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (3))){ +var inst_21590 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21592__$1,inst_21590); +} else { +if((state_val_21593 === (12))){ +var inst_21519 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21644_21709 = state_21592__$1; +(statearr_21644_21709[(2)] = inst_21519); + +(statearr_21644_21709[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (2))){ +var state_21592__$1 = state_21592; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21592__$1,(4),ch); +} else { +if((state_val_21593 === (23))){ +var state_21592__$1 = state_21592; +var statearr_21645_21710 = state_21592__$1; +(statearr_21645_21710[(2)] = null); + +(statearr_21645_21710[(1)] = (24)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (35))){ +var inst_21574 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21646_21711 = state_21592__$1; +(statearr_21646_21711[(2)] = inst_21574); + +(statearr_21646_21711[(1)] = (29)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (19))){ +var inst_21491 = (state_21592[(7)]); +var inst_21495 = cljs.core.chunk_first.call(null,inst_21491); +var inst_21496 = cljs.core.chunk_rest.call(null,inst_21491); +var inst_21497 = cljs.core.count.call(null,inst_21495); +var inst_21469 = inst_21496; +var inst_21470 = inst_21495; +var inst_21471 = inst_21497; +var inst_21472 = (0); +var state_21592__$1 = (function (){var statearr_21647 = state_21592; +(statearr_21647[(13)] = inst_21471); + +(statearr_21647[(14)] = inst_21469); + +(statearr_21647[(15)] = inst_21470); + +(statearr_21647[(17)] = inst_21472); + +return statearr_21647; +})(); +var statearr_21648_21712 = state_21592__$1; +(statearr_21648_21712[(2)] = null); + +(statearr_21648_21712[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (11))){ +var inst_21469 = (state_21592[(14)]); +var inst_21491 = (state_21592[(7)]); +var inst_21491__$1 = cljs.core.seq.call(null,inst_21469); +var state_21592__$1 = (function (){var statearr_21649 = state_21592; +(statearr_21649[(7)] = inst_21491__$1); + +return statearr_21649; +})(); +if(inst_21491__$1){ +var statearr_21650_21713 = state_21592__$1; +(statearr_21650_21713[(1)] = (16)); + +} else { +var statearr_21651_21714 = state_21592__$1; +(statearr_21651_21714[(1)] = (17)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (9))){ +var inst_21521 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21652_21715 = state_21592__$1; +(statearr_21652_21715[(2)] = inst_21521); + +(statearr_21652_21715[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (5))){ +var inst_21467 = cljs.core.deref.call(null,cs); +var inst_21468 = cljs.core.seq.call(null,inst_21467); +var inst_21469 = inst_21468; +var inst_21470 = null; +var inst_21471 = (0); +var inst_21472 = (0); +var state_21592__$1 = (function (){var statearr_21653 = state_21592; +(statearr_21653[(13)] = inst_21471); + +(statearr_21653[(14)] = inst_21469); + +(statearr_21653[(15)] = inst_21470); + +(statearr_21653[(17)] = inst_21472); + +return statearr_21653; +})(); +var statearr_21654_21716 = state_21592__$1; +(statearr_21654_21716[(2)] = null); + +(statearr_21654_21716[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (14))){ +var state_21592__$1 = state_21592; +var statearr_21655_21717 = state_21592__$1; +(statearr_21655_21717[(2)] = null); + +(statearr_21655_21717[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (45))){ +var inst_21582 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21656_21718 = state_21592__$1; +(statearr_21656_21718[(2)] = inst_21582); + +(statearr_21656_21718[(1)] = (44)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (26))){ +var inst_21524 = (state_21592[(29)]); +var inst_21578 = (state_21592[(2)]); +var inst_21579 = cljs.core.seq.call(null,inst_21524); +var state_21592__$1 = (function (){var statearr_21657 = state_21592; +(statearr_21657[(31)] = inst_21578); + +return statearr_21657; +})(); +if(inst_21579){ +var statearr_21658_21719 = state_21592__$1; +(statearr_21658_21719[(1)] = (42)); + +} else { +var statearr_21659_21720 = state_21592__$1; +(statearr_21659_21720[(1)] = (43)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (16))){ +var inst_21491 = (state_21592[(7)]); +var inst_21493 = cljs.core.chunked_seq_QMARK_.call(null,inst_21491); +var state_21592__$1 = state_21592; +if(inst_21493){ +var statearr_21660_21721 = state_21592__$1; +(statearr_21660_21721[(1)] = (19)); + +} else { +var statearr_21661_21722 = state_21592__$1; +(statearr_21661_21722[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (38))){ +var inst_21571 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21662_21723 = state_21592__$1; +(statearr_21662_21723[(2)] = inst_21571); + +(statearr_21662_21723[(1)] = (35)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (30))){ +var state_21592__$1 = state_21592; +var statearr_21663_21724 = state_21592__$1; +(statearr_21663_21724[(2)] = null); + +(statearr_21663_21724[(1)] = (32)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (10))){ +var inst_21470 = (state_21592[(15)]); +var inst_21472 = (state_21592[(17)]); +var inst_21480 = cljs.core._nth.call(null,inst_21470,inst_21472); +var inst_21481 = cljs.core.nth.call(null,inst_21480,(0),null); +var inst_21482 = cljs.core.nth.call(null,inst_21480,(1),null); +var state_21592__$1 = (function (){var statearr_21664 = state_21592; +(statearr_21664[(26)] = inst_21481); + +return statearr_21664; +})(); +if(cljs.core.truth_(inst_21482)){ +var statearr_21665_21725 = state_21592__$1; +(statearr_21665_21725[(1)] = (13)); + +} else { +var statearr_21666_21726 = state_21592__$1; +(statearr_21666_21726[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (18))){ +var inst_21517 = (state_21592[(2)]); +var state_21592__$1 = state_21592; +var statearr_21667_21727 = state_21592__$1; +(statearr_21667_21727[(2)] = inst_21517); + +(statearr_21667_21727[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (42))){ +var state_21592__$1 = state_21592; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_21592__$1,(45),dchan); +} else { +if((state_val_21593 === (37))){ +var inst_21560 = (state_21592[(23)]); +var inst_21460 = (state_21592[(10)]); +var inst_21551 = (state_21592[(25)]); +var inst_21560__$1 = cljs.core.first.call(null,inst_21551); +var inst_21561 = cljs.core.async.put_BANG_.call(null,inst_21560__$1,inst_21460,done); +var state_21592__$1 = (function (){var statearr_21668 = state_21592; +(statearr_21668[(23)] = inst_21560__$1); + +return statearr_21668; +})(); +if(cljs.core.truth_(inst_21561)){ +var statearr_21669_21728 = state_21592__$1; +(statearr_21669_21728[(1)] = (39)); + +} else { +var statearr_21670_21729 = state_21592__$1; +(statearr_21670_21729[(1)] = (40)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21593 === (8))){ +var inst_21471 = (state_21592[(13)]); +var inst_21472 = (state_21592[(17)]); +var inst_21474 = (inst_21472 < inst_21471); +var inst_21475 = inst_21474; +var state_21592__$1 = state_21592; +if(cljs.core.truth_(inst_21475)){ +var statearr_21671_21730 = state_21592__$1; +(statearr_21671_21730[(1)] = (10)); + +} else { +var statearr_21672_21731 = state_21592__$1; +(statearr_21672_21731[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___21677,cs,m,dchan,dctr,done)) +; +return ((function (switch__20783__auto__,c__20872__auto___21677,cs,m,dchan,dctr,done){ +return (function() { +var cljs$core$async$mult_$_state_machine__20784__auto__ = null; +var cljs$core$async$mult_$_state_machine__20784__auto____0 = (function (){ +var statearr_21673 = [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]; +(statearr_21673[(0)] = cljs$core$async$mult_$_state_machine__20784__auto__); + +(statearr_21673[(1)] = (1)); + +return statearr_21673; +}); +var cljs$core$async$mult_$_state_machine__20784__auto____1 = (function (state_21592){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21592); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21674){if((e21674 instanceof Object)){ +var ex__20787__auto__ = e21674; +var statearr_21675_21732 = state_21592; +(statearr_21675_21732[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21592); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21674; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21733 = state_21592; +state_21592 = G__21733; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$mult_$_state_machine__20784__auto__ = function(state_21592){ +switch(arguments.length){ +case 0: +return cljs$core$async$mult_$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$mult_$_state_machine__20784__auto____1.call(this,state_21592); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$mult_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$mult_$_state_machine__20784__auto____0; +cljs$core$async$mult_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$mult_$_state_machine__20784__auto____1; +return cljs$core$async$mult_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___21677,cs,m,dchan,dctr,done)) +})(); +var state__20874__auto__ = (function (){var statearr_21676 = f__20873__auto__.call(null); +(statearr_21676[(6)] = c__20872__auto___21677); + +return statearr_21676; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___21677,cs,m,dchan,dctr,done)) +); + + +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__21735 = arguments.length; +switch (G__21735) { +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.call(null,mult,ch,true); +}); + +cljs.core.async.tap.cljs$core$IFn$_invoke$arity$3 = (function (mult,ch,close_QMARK_){ +cljs.core.async.tap_STAR_.call(null,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_.call(null,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_.call(null,mult); +}); + +/** + * @interface + */ +cljs.core.async.Mix = function(){}; + +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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.admix_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m,ch); +} else { +var m__4212__auto____$1 = (cljs.core.async.admix_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m,ch); +} else { +throw cljs.core.missing_protocol.call(null,"Mix.admix*",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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.unmix_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m,ch); +} else { +var m__4212__auto____$1 = (cljs.core.async.unmix_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m,ch); +} else { +throw cljs.core.missing_protocol.call(null,"Mix.unmix*",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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.unmix_all_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m); +} else { +var m__4212__auto____$1 = (cljs.core.async.unmix_all_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m); +} else { +throw cljs.core.missing_protocol.call(null,"Mix.unmix-all*",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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.toggle_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m,state_map); +} else { +var m__4212__auto____$1 = (cljs.core.async.toggle_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m,state_map); +} else { +throw cljs.core.missing_protocol.call(null,"Mix.toggle*",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 { +var x__4211__auto__ = (((m == null))?null:m); +var m__4212__auto__ = (cljs.core.async.solo_mode_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,m,mode); +} else { +var m__4212__auto____$1 = (cljs.core.async.solo_mode_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,m,mode); +} else { +throw cljs.core.missing_protocol.call(null,"Mix.solo-mode*",m); +} +} +} +}); + +cljs.core.async.ioc_alts_BANG_ = (function cljs$core$async$ioc_alts_BANG_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___21747 = arguments.length; +var i__4500__auto___21748 = (0); +while(true){ +if((i__4500__auto___21748 < len__4499__auto___21747)){ +args__4502__auto__.push((arguments[i__4500__auto___21748])); + +var G__21749 = (i__4500__auto___21748 + (1)); +i__4500__auto___21748 = G__21749; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__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__4503__auto__); +}); + +cljs.core.async.ioc_alts_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (state,cont_block,ports,p__21741){ +var map__21742 = p__21741; +var map__21742__$1 = ((((!((map__21742 == null)))?(((((map__21742.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__21742.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__21742):map__21742); +var opts = map__21742__$1; +var statearr_21744_21750 = state; +(statearr_21744_21750[(1)] = cont_block); + + +var temp__4657__auto__ = cljs.core.async.do_alts.call(null,((function (map__21742,map__21742__$1,opts){ +return (function (val){ +var statearr_21745_21751 = state; +(statearr_21745_21751[(2)] = val); + + +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state); +});})(map__21742,map__21742__$1,opts)) +,ports,opts); +if(cljs.core.truth_(temp__4657__auto__)){ +var cb = temp__4657__auto__; +var statearr_21746_21752 = state; +(statearr_21746_21752[(2)] = cljs.core.deref.call(null,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 (seq21737){ +var G__21738 = cljs.core.first.call(null,seq21737); +var seq21737__$1 = cljs.core.next.call(null,seq21737); +var G__21739 = cljs.core.first.call(null,seq21737__$1); +var seq21737__$2 = cljs.core.next.call(null,seq21737__$1); +var G__21740 = cljs.core.first.call(null,seq21737__$2); +var seq21737__$3 = cljs.core.next.call(null,seq21737__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__21738,G__21739,G__21740,seq21737__$3); +}); + +/** + * 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.call(null,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.call(null,solo_modes,new cljs.core.Keyword(null,"solo","solo",-316350075)); +var solo_mode = cljs.core.atom.call(null,new cljs.core.Keyword(null,"mute","mute",1151223646)); +var change = cljs.core.async.chan.call(null); +var changed = ((function (cs,solo_modes,attrs,solo_mode,change){ +return (function (){ +return cljs.core.async.put_BANG_.call(null,change,true); +});})(cs,solo_modes,attrs,solo_mode,change)) +; +var pick = ((function (cs,solo_modes,attrs,solo_mode,change,changed){ +return (function (attr,chs){ +return cljs.core.reduce_kv.call(null,((function (cs,solo_modes,attrs,solo_mode,change,changed){ +return (function (ret,c,v){ +if(cljs.core.truth_(attr.call(null,v))){ +return cljs.core.conj.call(null,ret,c); +} else { +return ret; +} +});})(cs,solo_modes,attrs,solo_mode,change,changed)) +,cljs.core.PersistentHashSet.EMPTY,chs); +});})(cs,solo_modes,attrs,solo_mode,change,changed)) +; +var calc_state = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick){ +return (function (){ +var chs = cljs.core.deref.call(null,cs); +var mode = cljs.core.deref.call(null,solo_mode); +var solos = pick.call(null,new cljs.core.Keyword(null,"solo","solo",-316350075),chs); +var pauses = pick.call(null,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.call(null,new cljs.core.Keyword(null,"mute","mute",1151223646),chs),new cljs.core.Keyword(null,"reads","reads",-1215067361),cljs.core.conj.call(null,((((cljs.core._EQ_.call(null,mode,new cljs.core.Keyword(null,"pause","pause",-2095325672))) && (!(cljs.core.empty_QMARK_.call(null,solos)))))?cljs.core.vec.call(null,solos):cljs.core.vec.call(null,cljs.core.remove.call(null,pauses,cljs.core.keys.call(null,chs)))),change)], null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick)) +; +var m = (function (){ +if(typeof cljs.core.async.t_cljs$core$async21753 !== 'undefined'){ +} else { + +/** +* @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$async21753 = (function (out,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,meta21754){ +this.out = out; +this.cs = cs; +this.solo_modes = solo_modes; +this.attrs = attrs; +this.solo_mode = solo_mode; +this.change = change; +this.changed = changed; +this.pick = pick; +this.calc_state = calc_state; +this.meta21754 = meta21754; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_21755,meta21754__$1){ +var self__ = this; +var _21755__$1 = this; +return (new cljs.core.async.t_cljs$core$async21753(self__.out,self__.cs,self__.solo_modes,self__.attrs,self__.solo_mode,self__.change,self__.changed,self__.pick,self__.calc_state,meta21754__$1)); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_21755){ +var self__ = this; +var _21755__$1 = this; +return self__.meta21754; +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mux$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mux$muxch_STAR_$arity$1 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return self__.out; +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mix$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mix$admix_STAR_$arity$2 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_,ch){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.call(null,self__.cs,cljs.core.assoc,ch,cljs.core.PersistentArrayMap.EMPTY); + +return self__.changed.call(null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mix$unmix_STAR_$arity$2 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_,ch){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.call(null,self__.cs,cljs.core.dissoc,ch); + +return self__.changed.call(null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mix$unmix_all_STAR_$arity$1 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.reset_BANG_.call(null,self__.cs,cljs.core.PersistentArrayMap.EMPTY); + +return self__.changed.call(null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mix$toggle_STAR_$arity$2 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_,state_map){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.call(null,self__.cs,cljs.core.partial.call(null,cljs.core.merge_with,cljs.core.merge),state_map); + +return self__.changed.call(null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.prototype.cljs$core$async$Mix$solo_mode_STAR_$arity$2 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (_,mode){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.solo_modes.call(null,mode))){ +} else { +throw (new Error(["Assert failed: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(["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_.call(null,self__.solo_mode,mode); + +return self__.changed.call(null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.getBasis = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (){ +return new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"out","out",729986010,null),new cljs.core.Symbol(null,"cs","cs",-117024463,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,"solo-mode","solo-mode",2031788074,null),new cljs.core.Symbol(null,"change","change",477485025,null),new cljs.core.Symbol(null,"changed","changed",-2083710852,null),new cljs.core.Symbol(null,"pick","pick",1300068175,null),new cljs.core.Symbol(null,"calc-state","calc-state",-349968968,null),new cljs.core.Symbol(null,"meta21754","meta21754",-1593043633,null)], null); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +cljs.core.async.t_cljs$core$async21753.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async21753.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async21753"; + +cljs.core.async.t_cljs$core$async21753.cljs$lang$ctorPrWriter = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async21753"); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async21753. + */ +cljs.core.async.__GT_t_cljs$core$async21753 = ((function (cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state){ +return (function cljs$core$async$mix_$___GT_t_cljs$core$async21753(out__$1,cs__$1,solo_modes__$1,attrs__$1,solo_mode__$1,change__$1,changed__$1,pick__$1,calc_state__$1,meta21754){ +return (new cljs.core.async.t_cljs$core$async21753(out__$1,cs__$1,solo_modes__$1,attrs__$1,solo_mode__$1,change__$1,changed__$1,pick__$1,calc_state__$1,meta21754)); +});})(cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state)) +; + +} + +return (new cljs.core.async.t_cljs$core$async21753(out,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,cljs.core.PersistentArrayMap.EMPTY)); +})() +; +var c__20872__auto___21917 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___21917,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,m){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___21917,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,m){ +return (function (state_21857){ +var state_val_21858 = (state_21857[(1)]); +if((state_val_21858 === (7))){ +var inst_21772 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +var statearr_21859_21918 = state_21857__$1; +(statearr_21859_21918[(2)] = inst_21772); + +(statearr_21859_21918[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (20))){ +var inst_21784 = (state_21857[(7)]); +var state_21857__$1 = state_21857; +var statearr_21860_21919 = state_21857__$1; +(statearr_21860_21919[(2)] = inst_21784); + +(statearr_21860_21919[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (27))){ +var state_21857__$1 = state_21857; +var statearr_21861_21920 = state_21857__$1; +(statearr_21861_21920[(2)] = null); + +(statearr_21861_21920[(1)] = (28)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (1))){ +var inst_21759 = (state_21857[(8)]); +var inst_21759__$1 = calc_state.call(null); +var inst_21761 = (inst_21759__$1 == null); +var inst_21762 = cljs.core.not.call(null,inst_21761); +var state_21857__$1 = (function (){var statearr_21862 = state_21857; +(statearr_21862[(8)] = inst_21759__$1); + +return statearr_21862; +})(); +if(inst_21762){ +var statearr_21863_21921 = state_21857__$1; +(statearr_21863_21921[(1)] = (2)); + +} else { +var statearr_21864_21922 = state_21857__$1; +(statearr_21864_21922[(1)] = (3)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (24))){ +var inst_21831 = (state_21857[(9)]); +var inst_21808 = (state_21857[(10)]); +var inst_21817 = (state_21857[(11)]); +var inst_21831__$1 = inst_21808.call(null,inst_21817); +var state_21857__$1 = (function (){var statearr_21865 = state_21857; +(statearr_21865[(9)] = inst_21831__$1); + +return statearr_21865; +})(); +if(cljs.core.truth_(inst_21831__$1)){ +var statearr_21866_21923 = state_21857__$1; +(statearr_21866_21923[(1)] = (29)); + +} else { +var statearr_21867_21924 = state_21857__$1; +(statearr_21867_21924[(1)] = (30)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (4))){ +var inst_21775 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21775)){ +var statearr_21868_21925 = state_21857__$1; +(statearr_21868_21925[(1)] = (8)); + +} else { +var statearr_21869_21926 = state_21857__$1; +(statearr_21869_21926[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (15))){ +var inst_21802 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21802)){ +var statearr_21870_21927 = state_21857__$1; +(statearr_21870_21927[(1)] = (19)); + +} else { +var statearr_21871_21928 = state_21857__$1; +(statearr_21871_21928[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (21))){ +var inst_21807 = (state_21857[(12)]); +var inst_21807__$1 = (state_21857[(2)]); +var inst_21808 = cljs.core.get.call(null,inst_21807__$1,new cljs.core.Keyword(null,"solos","solos",1441458643)); +var inst_21809 = cljs.core.get.call(null,inst_21807__$1,new cljs.core.Keyword(null,"mutes","mutes",1068806309)); +var inst_21810 = cljs.core.get.call(null,inst_21807__$1,new cljs.core.Keyword(null,"reads","reads",-1215067361)); +var state_21857__$1 = (function (){var statearr_21872 = state_21857; +(statearr_21872[(12)] = inst_21807__$1); + +(statearr_21872[(10)] = inst_21808); + +(statearr_21872[(13)] = inst_21809); + +return statearr_21872; +})(); +return cljs.core.async.ioc_alts_BANG_.call(null,state_21857__$1,(22),inst_21810); +} else { +if((state_val_21858 === (31))){ +var inst_21839 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21839)){ +var statearr_21873_21929 = state_21857__$1; +(statearr_21873_21929[(1)] = (32)); + +} else { +var statearr_21874_21930 = state_21857__$1; +(statearr_21874_21930[(1)] = (33)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (32))){ +var inst_21816 = (state_21857[(14)]); +var state_21857__$1 = state_21857; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_21857__$1,(35),out,inst_21816); +} else { +if((state_val_21858 === (33))){ +var inst_21807 = (state_21857[(12)]); +var inst_21784 = inst_21807; +var state_21857__$1 = (function (){var statearr_21875 = state_21857; +(statearr_21875[(7)] = inst_21784); + +return statearr_21875; +})(); +var statearr_21876_21931 = state_21857__$1; +(statearr_21876_21931[(2)] = null); + +(statearr_21876_21931[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (13))){ +var inst_21784 = (state_21857[(7)]); +var inst_21791 = inst_21784.cljs$lang$protocol_mask$partition0$; +var inst_21792 = (inst_21791 & (64)); +var inst_21793 = inst_21784.cljs$core$ISeq$; +var inst_21794 = (cljs.core.PROTOCOL_SENTINEL === inst_21793); +var inst_21795 = ((inst_21792) || (inst_21794)); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21795)){ +var statearr_21877_21932 = state_21857__$1; +(statearr_21877_21932[(1)] = (16)); + +} else { +var statearr_21878_21933 = state_21857__$1; +(statearr_21878_21933[(1)] = (17)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (22))){ +var inst_21816 = (state_21857[(14)]); +var inst_21817 = (state_21857[(11)]); +var inst_21815 = (state_21857[(2)]); +var inst_21816__$1 = cljs.core.nth.call(null,inst_21815,(0),null); +var inst_21817__$1 = cljs.core.nth.call(null,inst_21815,(1),null); +var inst_21818 = (inst_21816__$1 == null); +var inst_21819 = cljs.core._EQ_.call(null,inst_21817__$1,change); +var inst_21820 = ((inst_21818) || (inst_21819)); +var state_21857__$1 = (function (){var statearr_21879 = state_21857; +(statearr_21879[(14)] = inst_21816__$1); + +(statearr_21879[(11)] = inst_21817__$1); + +return statearr_21879; +})(); +if(cljs.core.truth_(inst_21820)){ +var statearr_21880_21934 = state_21857__$1; +(statearr_21880_21934[(1)] = (23)); + +} else { +var statearr_21881_21935 = state_21857__$1; +(statearr_21881_21935[(1)] = (24)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (36))){ +var inst_21807 = (state_21857[(12)]); +var inst_21784 = inst_21807; +var state_21857__$1 = (function (){var statearr_21882 = state_21857; +(statearr_21882[(7)] = inst_21784); + +return statearr_21882; +})(); +var statearr_21883_21936 = state_21857__$1; +(statearr_21883_21936[(2)] = null); + +(statearr_21883_21936[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (29))){ +var inst_21831 = (state_21857[(9)]); +var state_21857__$1 = state_21857; +var statearr_21884_21937 = state_21857__$1; +(statearr_21884_21937[(2)] = inst_21831); + +(statearr_21884_21937[(1)] = (31)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (6))){ +var state_21857__$1 = state_21857; +var statearr_21885_21938 = state_21857__$1; +(statearr_21885_21938[(2)] = false); + +(statearr_21885_21938[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (28))){ +var inst_21827 = (state_21857[(2)]); +var inst_21828 = calc_state.call(null); +var inst_21784 = inst_21828; +var state_21857__$1 = (function (){var statearr_21886 = state_21857; +(statearr_21886[(7)] = inst_21784); + +(statearr_21886[(15)] = inst_21827); + +return statearr_21886; +})(); +var statearr_21887_21939 = state_21857__$1; +(statearr_21887_21939[(2)] = null); + +(statearr_21887_21939[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (25))){ +var inst_21853 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +var statearr_21888_21940 = state_21857__$1; +(statearr_21888_21940[(2)] = inst_21853); + +(statearr_21888_21940[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (34))){ +var inst_21851 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +var statearr_21889_21941 = state_21857__$1; +(statearr_21889_21941[(2)] = inst_21851); + +(statearr_21889_21941[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (17))){ +var state_21857__$1 = state_21857; +var statearr_21890_21942 = state_21857__$1; +(statearr_21890_21942[(2)] = false); + +(statearr_21890_21942[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (3))){ +var state_21857__$1 = state_21857; +var statearr_21891_21943 = state_21857__$1; +(statearr_21891_21943[(2)] = false); + +(statearr_21891_21943[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (12))){ +var inst_21855 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_21857__$1,inst_21855); +} else { +if((state_val_21858 === (2))){ +var inst_21759 = (state_21857[(8)]); +var inst_21764 = inst_21759.cljs$lang$protocol_mask$partition0$; +var inst_21765 = (inst_21764 & (64)); +var inst_21766 = inst_21759.cljs$core$ISeq$; +var inst_21767 = (cljs.core.PROTOCOL_SENTINEL === inst_21766); +var inst_21768 = ((inst_21765) || (inst_21767)); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21768)){ +var statearr_21892_21944 = state_21857__$1; +(statearr_21892_21944[(1)] = (5)); + +} else { +var statearr_21893_21945 = state_21857__$1; +(statearr_21893_21945[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (23))){ +var inst_21816 = (state_21857[(14)]); +var inst_21822 = (inst_21816 == null); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21822)){ +var statearr_21894_21946 = state_21857__$1; +(statearr_21894_21946[(1)] = (26)); + +} else { +var statearr_21895_21947 = state_21857__$1; +(statearr_21895_21947[(1)] = (27)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (35))){ +var inst_21842 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +if(cljs.core.truth_(inst_21842)){ +var statearr_21896_21948 = state_21857__$1; +(statearr_21896_21948[(1)] = (36)); + +} else { +var statearr_21897_21949 = state_21857__$1; +(statearr_21897_21949[(1)] = (37)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (19))){ +var inst_21784 = (state_21857[(7)]); +var inst_21804 = cljs.core.apply.call(null,cljs.core.hash_map,inst_21784); +var state_21857__$1 = state_21857; +var statearr_21898_21950 = state_21857__$1; +(statearr_21898_21950[(2)] = inst_21804); + +(statearr_21898_21950[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (11))){ +var inst_21784 = (state_21857[(7)]); +var inst_21788 = (inst_21784 == null); +var inst_21789 = cljs.core.not.call(null,inst_21788); +var state_21857__$1 = state_21857; +if(inst_21789){ +var statearr_21899_21951 = state_21857__$1; +(statearr_21899_21951[(1)] = (13)); + +} else { +var statearr_21900_21952 = state_21857__$1; +(statearr_21900_21952[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (9))){ +var inst_21759 = (state_21857[(8)]); +var state_21857__$1 = state_21857; +var statearr_21901_21953 = state_21857__$1; +(statearr_21901_21953[(2)] = inst_21759); + +(statearr_21901_21953[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (5))){ +var state_21857__$1 = state_21857; +var statearr_21902_21954 = state_21857__$1; +(statearr_21902_21954[(2)] = true); + +(statearr_21902_21954[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (14))){ +var state_21857__$1 = state_21857; +var statearr_21903_21955 = state_21857__$1; +(statearr_21903_21955[(2)] = false); + +(statearr_21903_21955[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (26))){ +var inst_21817 = (state_21857[(11)]); +var inst_21824 = cljs.core.swap_BANG_.call(null,cs,cljs.core.dissoc,inst_21817); +var state_21857__$1 = state_21857; +var statearr_21904_21956 = state_21857__$1; +(statearr_21904_21956[(2)] = inst_21824); + +(statearr_21904_21956[(1)] = (28)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (16))){ +var state_21857__$1 = state_21857; +var statearr_21905_21957 = state_21857__$1; +(statearr_21905_21957[(2)] = true); + +(statearr_21905_21957[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (38))){ +var inst_21847 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +var statearr_21906_21958 = state_21857__$1; +(statearr_21906_21958[(2)] = inst_21847); + +(statearr_21906_21958[(1)] = (34)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (30))){ +var inst_21808 = (state_21857[(10)]); +var inst_21809 = (state_21857[(13)]); +var inst_21817 = (state_21857[(11)]); +var inst_21834 = cljs.core.empty_QMARK_.call(null,inst_21808); +var inst_21835 = inst_21809.call(null,inst_21817); +var inst_21836 = cljs.core.not.call(null,inst_21835); +var inst_21837 = ((inst_21834) && (inst_21836)); +var state_21857__$1 = state_21857; +var statearr_21907_21959 = state_21857__$1; +(statearr_21907_21959[(2)] = inst_21837); + +(statearr_21907_21959[(1)] = (31)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (10))){ +var inst_21759 = (state_21857[(8)]); +var inst_21780 = (state_21857[(2)]); +var inst_21781 = cljs.core.get.call(null,inst_21780,new cljs.core.Keyword(null,"solos","solos",1441458643)); +var inst_21782 = cljs.core.get.call(null,inst_21780,new cljs.core.Keyword(null,"mutes","mutes",1068806309)); +var inst_21783 = cljs.core.get.call(null,inst_21780,new cljs.core.Keyword(null,"reads","reads",-1215067361)); +var inst_21784 = inst_21759; +var state_21857__$1 = (function (){var statearr_21908 = state_21857; +(statearr_21908[(7)] = inst_21784); + +(statearr_21908[(16)] = inst_21781); + +(statearr_21908[(17)] = inst_21782); + +(statearr_21908[(18)] = inst_21783); + +return statearr_21908; +})(); +var statearr_21909_21960 = state_21857__$1; +(statearr_21909_21960[(2)] = null); + +(statearr_21909_21960[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (18))){ +var inst_21799 = (state_21857[(2)]); +var state_21857__$1 = state_21857; +var statearr_21910_21961 = state_21857__$1; +(statearr_21910_21961[(2)] = inst_21799); + +(statearr_21910_21961[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (37))){ +var state_21857__$1 = state_21857; +var statearr_21911_21962 = state_21857__$1; +(statearr_21911_21962[(2)] = null); + +(statearr_21911_21962[(1)] = (38)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_21858 === (8))){ +var inst_21759 = (state_21857[(8)]); +var inst_21777 = cljs.core.apply.call(null,cljs.core.hash_map,inst_21759); +var state_21857__$1 = state_21857; +var statearr_21912_21963 = state_21857__$1; +(statearr_21912_21963[(2)] = inst_21777); + +(statearr_21912_21963[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___21917,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,m)) +; +return ((function (switch__20783__auto__,c__20872__auto___21917,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,m){ +return (function() { +var cljs$core$async$mix_$_state_machine__20784__auto__ = null; +var cljs$core$async$mix_$_state_machine__20784__auto____0 = (function (){ +var statearr_21913 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_21913[(0)] = cljs$core$async$mix_$_state_machine__20784__auto__); + +(statearr_21913[(1)] = (1)); + +return statearr_21913; +}); +var cljs$core$async$mix_$_state_machine__20784__auto____1 = (function (state_21857){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_21857); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e21914){if((e21914 instanceof Object)){ +var ex__20787__auto__ = e21914; +var statearr_21915_21964 = state_21857; +(statearr_21915_21964[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_21857); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e21914; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__21965 = state_21857; +state_21857 = G__21965; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$mix_$_state_machine__20784__auto__ = function(state_21857){ +switch(arguments.length){ +case 0: +return cljs$core$async$mix_$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$mix_$_state_machine__20784__auto____1.call(this,state_21857); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$mix_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$mix_$_state_machine__20784__auto____0; +cljs$core$async$mix_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$mix_$_state_machine__20784__auto____1; +return cljs$core$async$mix_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___21917,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,m)) +})(); +var state__20874__auto__ = (function (){var statearr_21916 = f__20873__auto__.call(null); +(statearr_21916[(6)] = c__20872__auto___21917); + +return statearr_21916; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___21917,cs,solo_modes,attrs,solo_mode,change,changed,pick,calc_state,m)) +); + + +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_.call(null,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_.call(null,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_.call(null,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_.call(null,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_.call(null,mix,mode); +}); + +/** + * @interface + */ +cljs.core.async.Pub = function(){}; + +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 { +var x__4211__auto__ = (((p == null))?null:p); +var m__4212__auto__ = (cljs.core.async.sub_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,p,v,ch,close_QMARK_); +} else { +var m__4212__auto____$1 = (cljs.core.async.sub_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,p,v,ch,close_QMARK_); +} else { +throw cljs.core.missing_protocol.call(null,"Pub.sub*",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 { +var x__4211__auto__ = (((p == null))?null:p); +var m__4212__auto__ = (cljs.core.async.unsub_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,p,v,ch); +} else { +var m__4212__auto____$1 = (cljs.core.async.unsub_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,p,v,ch); +} else { +throw cljs.core.missing_protocol.call(null,"Pub.unsub*",p); +} +} +} +}); + +cljs.core.async.unsub_all_STAR_ = (function cljs$core$async$unsub_all_STAR_(var_args){ +var G__21967 = arguments.length; +switch (G__21967) { +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 { +var x__4211__auto__ = (((p == null))?null:p); +var m__4212__auto__ = (cljs.core.async.unsub_all_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,p); +} else { +var m__4212__auto____$1 = (cljs.core.async.unsub_all_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,p); +} else { +throw cljs.core.missing_protocol.call(null,"Pub.unsub-all*",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 { +var x__4211__auto__ = (((p == null))?null:p); +var m__4212__auto__ = (cljs.core.async.unsub_all_STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,p,v); +} else { +var m__4212__auto____$1 = (cljs.core.async.unsub_all_STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,p,v); +} else { +throw cljs.core.missing_protocol.call(null,"Pub.unsub-all*",p); +} +} +} +}); + +cljs.core.async.unsub_all_STAR_.cljs$lang$maxFixedArity = 2; + + +/** + * 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__21971 = arguments.length; +switch (G__21971) { +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.call(null,ch,topic_fn,cljs.core.constantly.call(null,null)); +}); + +cljs.core.async.pub.cljs$core$IFn$_invoke$arity$3 = (function (ch,topic_fn,buf_fn){ +var mults = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var ensure_mult = ((function (mults){ +return (function (topic){ +var or__3922__auto__ = cljs.core.get.call(null,cljs.core.deref.call(null,mults),topic); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.get.call(null,cljs.core.swap_BANG_.call(null,mults,((function (or__3922__auto__,mults){ +return (function (p1__21969_SHARP_){ +if(cljs.core.truth_(p1__21969_SHARP_.call(null,topic))){ +return p1__21969_SHARP_; +} else { +return cljs.core.assoc.call(null,p1__21969_SHARP_,topic,cljs.core.async.mult.call(null,cljs.core.async.chan.call(null,buf_fn.call(null,topic)))); +} +});})(or__3922__auto__,mults)) +),topic); +} +});})(mults)) +; +var p = (function (){ +if(typeof cljs.core.async.t_cljs$core$async21972 !== 'undefined'){ +} else { + +/** +* @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$async21972 = (function (ch,topic_fn,buf_fn,mults,ensure_mult,meta21973){ +this.ch = ch; +this.topic_fn = topic_fn; +this.buf_fn = buf_fn; +this.mults = mults; +this.ensure_mult = ensure_mult; +this.meta21973 = meta21973; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (mults,ensure_mult){ +return (function (_21974,meta21973__$1){ +var self__ = this; +var _21974__$1 = this; +return (new cljs.core.async.t_cljs$core$async21972(self__.ch,self__.topic_fn,self__.buf_fn,self__.mults,self__.ensure_mult,meta21973__$1)); +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (mults,ensure_mult){ +return (function (_21974){ +var self__ = this; +var _21974__$1 = this; +return self__.meta21973; +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Mux$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Mux$muxch_STAR_$arity$1 = ((function (mults,ensure_mult){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return self__.ch; +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Pub$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Pub$sub_STAR_$arity$4 = ((function (mults,ensure_mult){ +return (function (p,topic,ch__$1,close_QMARK_){ +var self__ = this; +var p__$1 = this; +var m = self__.ensure_mult.call(null,topic); +return cljs.core.async.tap.call(null,m,ch__$1,close_QMARK_); +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Pub$unsub_STAR_$arity$3 = ((function (mults,ensure_mult){ +return (function (p,topic,ch__$1){ +var self__ = this; +var p__$1 = this; +var temp__4657__auto__ = cljs.core.get.call(null,cljs.core.deref.call(null,self__.mults),topic); +if(cljs.core.truth_(temp__4657__auto__)){ +var m = temp__4657__auto__; +return cljs.core.async.untap.call(null,m,ch__$1); +} else { +return null; +} +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Pub$unsub_all_STAR_$arity$1 = ((function (mults,ensure_mult){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.reset_BANG_.call(null,self__.mults,cljs.core.PersistentArrayMap.EMPTY); +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.prototype.cljs$core$async$Pub$unsub_all_STAR_$arity$2 = ((function (mults,ensure_mult){ +return (function (_,topic){ +var self__ = this; +var ___$1 = this; +return cljs.core.swap_BANG_.call(null,self__.mults,cljs.core.dissoc,topic); +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.getBasis = ((function (mults,ensure_mult){ +return (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,"meta21973","meta21973",1825232076,null)], null); +});})(mults,ensure_mult)) +; + +cljs.core.async.t_cljs$core$async21972.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async21972.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async21972"; + +cljs.core.async.t_cljs$core$async21972.cljs$lang$ctorPrWriter = ((function (mults,ensure_mult){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async21972"); +});})(mults,ensure_mult)) +; + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async21972. + */ +cljs.core.async.__GT_t_cljs$core$async21972 = ((function (mults,ensure_mult){ +return (function cljs$core$async$__GT_t_cljs$core$async21972(ch__$1,topic_fn__$1,buf_fn__$1,mults__$1,ensure_mult__$1,meta21973){ +return (new cljs.core.async.t_cljs$core$async21972(ch__$1,topic_fn__$1,buf_fn__$1,mults__$1,ensure_mult__$1,meta21973)); +});})(mults,ensure_mult)) +; + +} + +return (new cljs.core.async.t_cljs$core$async21972(ch,topic_fn,buf_fn,mults,ensure_mult,cljs.core.PersistentArrayMap.EMPTY)); +})() +; +var c__20872__auto___22092 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22092,mults,ensure_mult,p){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22092,mults,ensure_mult,p){ +return (function (state_22046){ +var state_val_22047 = (state_22046[(1)]); +if((state_val_22047 === (7))){ +var inst_22042 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +var statearr_22048_22093 = state_22046__$1; +(statearr_22048_22093[(2)] = inst_22042); + +(statearr_22048_22093[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (20))){ +var state_22046__$1 = state_22046; +var statearr_22049_22094 = state_22046__$1; +(statearr_22049_22094[(2)] = null); + +(statearr_22049_22094[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (1))){ +var state_22046__$1 = state_22046; +var statearr_22050_22095 = state_22046__$1; +(statearr_22050_22095[(2)] = null); + +(statearr_22050_22095[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (24))){ +var inst_22025 = (state_22046[(7)]); +var inst_22034 = cljs.core.swap_BANG_.call(null,mults,cljs.core.dissoc,inst_22025); +var state_22046__$1 = state_22046; +var statearr_22051_22096 = state_22046__$1; +(statearr_22051_22096[(2)] = inst_22034); + +(statearr_22051_22096[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (4))){ +var inst_21977 = (state_22046[(8)]); +var inst_21977__$1 = (state_22046[(2)]); +var inst_21978 = (inst_21977__$1 == null); +var state_22046__$1 = (function (){var statearr_22052 = state_22046; +(statearr_22052[(8)] = inst_21977__$1); + +return statearr_22052; +})(); +if(cljs.core.truth_(inst_21978)){ +var statearr_22053_22097 = state_22046__$1; +(statearr_22053_22097[(1)] = (5)); + +} else { +var statearr_22054_22098 = state_22046__$1; +(statearr_22054_22098[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (15))){ +var inst_22019 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +var statearr_22055_22099 = state_22046__$1; +(statearr_22055_22099[(2)] = inst_22019); + +(statearr_22055_22099[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (21))){ +var inst_22039 = (state_22046[(2)]); +var state_22046__$1 = (function (){var statearr_22056 = state_22046; +(statearr_22056[(9)] = inst_22039); + +return statearr_22056; +})(); +var statearr_22057_22100 = state_22046__$1; +(statearr_22057_22100[(2)] = null); + +(statearr_22057_22100[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (13))){ +var inst_22001 = (state_22046[(10)]); +var inst_22003 = cljs.core.chunked_seq_QMARK_.call(null,inst_22001); +var state_22046__$1 = state_22046; +if(inst_22003){ +var statearr_22058_22101 = state_22046__$1; +(statearr_22058_22101[(1)] = (16)); + +} else { +var statearr_22059_22102 = state_22046__$1; +(statearr_22059_22102[(1)] = (17)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (22))){ +var inst_22031 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +if(cljs.core.truth_(inst_22031)){ +var statearr_22060_22103 = state_22046__$1; +(statearr_22060_22103[(1)] = (23)); + +} else { +var statearr_22061_22104 = state_22046__$1; +(statearr_22061_22104[(1)] = (24)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (6))){ +var inst_22027 = (state_22046[(11)]); +var inst_22025 = (state_22046[(7)]); +var inst_21977 = (state_22046[(8)]); +var inst_22025__$1 = topic_fn.call(null,inst_21977); +var inst_22026 = cljs.core.deref.call(null,mults); +var inst_22027__$1 = cljs.core.get.call(null,inst_22026,inst_22025__$1); +var state_22046__$1 = (function (){var statearr_22062 = state_22046; +(statearr_22062[(11)] = inst_22027__$1); + +(statearr_22062[(7)] = inst_22025__$1); + +return statearr_22062; +})(); +if(cljs.core.truth_(inst_22027__$1)){ +var statearr_22063_22105 = state_22046__$1; +(statearr_22063_22105[(1)] = (19)); + +} else { +var statearr_22064_22106 = state_22046__$1; +(statearr_22064_22106[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (25))){ +var inst_22036 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +var statearr_22065_22107 = state_22046__$1; +(statearr_22065_22107[(2)] = inst_22036); + +(statearr_22065_22107[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (17))){ +var inst_22001 = (state_22046[(10)]); +var inst_22010 = cljs.core.first.call(null,inst_22001); +var inst_22011 = cljs.core.async.muxch_STAR_.call(null,inst_22010); +var inst_22012 = cljs.core.async.close_BANG_.call(null,inst_22011); +var inst_22013 = cljs.core.next.call(null,inst_22001); +var inst_21987 = inst_22013; +var inst_21988 = null; +var inst_21989 = (0); +var inst_21990 = (0); +var state_22046__$1 = (function (){var statearr_22066 = state_22046; +(statearr_22066[(12)] = inst_21989); + +(statearr_22066[(13)] = inst_21990); + +(statearr_22066[(14)] = inst_22012); + +(statearr_22066[(15)] = inst_21987); + +(statearr_22066[(16)] = inst_21988); + +return statearr_22066; +})(); +var statearr_22067_22108 = state_22046__$1; +(statearr_22067_22108[(2)] = null); + +(statearr_22067_22108[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (3))){ +var inst_22044 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22046__$1,inst_22044); +} else { +if((state_val_22047 === (12))){ +var inst_22021 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +var statearr_22068_22109 = state_22046__$1; +(statearr_22068_22109[(2)] = inst_22021); + +(statearr_22068_22109[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (2))){ +var state_22046__$1 = state_22046; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22046__$1,(4),ch); +} else { +if((state_val_22047 === (23))){ +var state_22046__$1 = state_22046; +var statearr_22069_22110 = state_22046__$1; +(statearr_22069_22110[(2)] = null); + +(statearr_22069_22110[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (19))){ +var inst_22027 = (state_22046[(11)]); +var inst_21977 = (state_22046[(8)]); +var inst_22029 = cljs.core.async.muxch_STAR_.call(null,inst_22027); +var state_22046__$1 = state_22046; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22046__$1,(22),inst_22029,inst_21977); +} else { +if((state_val_22047 === (11))){ +var inst_22001 = (state_22046[(10)]); +var inst_21987 = (state_22046[(15)]); +var inst_22001__$1 = cljs.core.seq.call(null,inst_21987); +var state_22046__$1 = (function (){var statearr_22070 = state_22046; +(statearr_22070[(10)] = inst_22001__$1); + +return statearr_22070; +})(); +if(inst_22001__$1){ +var statearr_22071_22111 = state_22046__$1; +(statearr_22071_22111[(1)] = (13)); + +} else { +var statearr_22072_22112 = state_22046__$1; +(statearr_22072_22112[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (9))){ +var inst_22023 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +var statearr_22073_22113 = state_22046__$1; +(statearr_22073_22113[(2)] = inst_22023); + +(statearr_22073_22113[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (5))){ +var inst_21984 = cljs.core.deref.call(null,mults); +var inst_21985 = cljs.core.vals.call(null,inst_21984); +var inst_21986 = cljs.core.seq.call(null,inst_21985); +var inst_21987 = inst_21986; +var inst_21988 = null; +var inst_21989 = (0); +var inst_21990 = (0); +var state_22046__$1 = (function (){var statearr_22074 = state_22046; +(statearr_22074[(12)] = inst_21989); + +(statearr_22074[(13)] = inst_21990); + +(statearr_22074[(15)] = inst_21987); + +(statearr_22074[(16)] = inst_21988); + +return statearr_22074; +})(); +var statearr_22075_22114 = state_22046__$1; +(statearr_22075_22114[(2)] = null); + +(statearr_22075_22114[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (14))){ +var state_22046__$1 = state_22046; +var statearr_22079_22115 = state_22046__$1; +(statearr_22079_22115[(2)] = null); + +(statearr_22079_22115[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (16))){ +var inst_22001 = (state_22046[(10)]); +var inst_22005 = cljs.core.chunk_first.call(null,inst_22001); +var inst_22006 = cljs.core.chunk_rest.call(null,inst_22001); +var inst_22007 = cljs.core.count.call(null,inst_22005); +var inst_21987 = inst_22006; +var inst_21988 = inst_22005; +var inst_21989 = inst_22007; +var inst_21990 = (0); +var state_22046__$1 = (function (){var statearr_22080 = state_22046; +(statearr_22080[(12)] = inst_21989); + +(statearr_22080[(13)] = inst_21990); + +(statearr_22080[(15)] = inst_21987); + +(statearr_22080[(16)] = inst_21988); + +return statearr_22080; +})(); +var statearr_22081_22116 = state_22046__$1; +(statearr_22081_22116[(2)] = null); + +(statearr_22081_22116[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (10))){ +var inst_21989 = (state_22046[(12)]); +var inst_21990 = (state_22046[(13)]); +var inst_21987 = (state_22046[(15)]); +var inst_21988 = (state_22046[(16)]); +var inst_21995 = cljs.core._nth.call(null,inst_21988,inst_21990); +var inst_21996 = cljs.core.async.muxch_STAR_.call(null,inst_21995); +var inst_21997 = cljs.core.async.close_BANG_.call(null,inst_21996); +var inst_21998 = (inst_21990 + (1)); +var tmp22076 = inst_21989; +var tmp22077 = inst_21987; +var tmp22078 = inst_21988; +var inst_21987__$1 = tmp22077; +var inst_21988__$1 = tmp22078; +var inst_21989__$1 = tmp22076; +var inst_21990__$1 = inst_21998; +var state_22046__$1 = (function (){var statearr_22082 = state_22046; +(statearr_22082[(12)] = inst_21989__$1); + +(statearr_22082[(13)] = inst_21990__$1); + +(statearr_22082[(15)] = inst_21987__$1); + +(statearr_22082[(16)] = inst_21988__$1); + +(statearr_22082[(17)] = inst_21997); + +return statearr_22082; +})(); +var statearr_22083_22117 = state_22046__$1; +(statearr_22083_22117[(2)] = null); + +(statearr_22083_22117[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (18))){ +var inst_22016 = (state_22046[(2)]); +var state_22046__$1 = state_22046; +var statearr_22084_22118 = state_22046__$1; +(statearr_22084_22118[(2)] = inst_22016); + +(statearr_22084_22118[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22047 === (8))){ +var inst_21989 = (state_22046[(12)]); +var inst_21990 = (state_22046[(13)]); +var inst_21992 = (inst_21990 < inst_21989); +var inst_21993 = inst_21992; +var state_22046__$1 = state_22046; +if(cljs.core.truth_(inst_21993)){ +var statearr_22085_22119 = state_22046__$1; +(statearr_22085_22119[(1)] = (10)); + +} else { +var statearr_22086_22120 = state_22046__$1; +(statearr_22086_22120[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22092,mults,ensure_mult,p)) +; +return ((function (switch__20783__auto__,c__20872__auto___22092,mults,ensure_mult,p){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22087 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22087[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22087[(1)] = (1)); + +return statearr_22087; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22046){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22046); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22088){if((e22088 instanceof Object)){ +var ex__20787__auto__ = e22088; +var statearr_22089_22121 = state_22046; +(statearr_22089_22121[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22046); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22088; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22122 = state_22046; +state_22046 = G__22122; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22046){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22046); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22092,mults,ensure_mult,p)) +})(); +var state__20874__auto__ = (function (){var statearr_22090 = f__20873__auto__.call(null); +(statearr_22090[(6)] = c__20872__auto___22092); + +return statearr_22090; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22092,mults,ensure_mult,p)) +); + + +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__22124 = arguments.length; +switch (G__22124) { +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.call(null,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_.call(null,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_.call(null,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__22127 = arguments.length; +switch (G__22127) { +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_.call(null,p); +}); + +cljs.core.async.unsub_all.cljs$core$IFn$_invoke$arity$2 = (function (p,topic){ +return cljs.core.async.unsub_all_STAR_.call(null,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__22130 = arguments.length; +switch (G__22130) { +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.call(null,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.call(null,chs); +var out = cljs.core.async.chan.call(null,buf_or_n); +var cnt = cljs.core.count.call(null,chs__$1); +var rets = cljs.core.object_array.call(null,cnt); +var dchan = cljs.core.async.chan.call(null,(1)); +var dctr = cljs.core.atom.call(null,null); +var done = cljs.core.mapv.call(null,((function (chs__$1,out,cnt,rets,dchan,dctr){ +return (function (i){ +return ((function (chs__$1,out,cnt,rets,dchan,dctr){ +return (function (ret){ +(rets[i] = ret); + +if((cljs.core.swap_BANG_.call(null,dctr,cljs.core.dec) === (0))){ +return cljs.core.async.put_BANG_.call(null,dchan,rets.slice((0))); +} else { +return null; +} +}); +;})(chs__$1,out,cnt,rets,dchan,dctr)) +});})(chs__$1,out,cnt,rets,dchan,dctr)) +,cljs.core.range.call(null,cnt)); +var c__20872__auto___22197 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22197,chs__$1,out,cnt,rets,dchan,dctr,done){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22197,chs__$1,out,cnt,rets,dchan,dctr,done){ +return (function (state_22169){ +var state_val_22170 = (state_22169[(1)]); +if((state_val_22170 === (7))){ +var state_22169__$1 = state_22169; +var statearr_22171_22198 = state_22169__$1; +(statearr_22171_22198[(2)] = null); + +(statearr_22171_22198[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (1))){ +var state_22169__$1 = state_22169; +var statearr_22172_22199 = state_22169__$1; +(statearr_22172_22199[(2)] = null); + +(statearr_22172_22199[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (4))){ +var inst_22133 = (state_22169[(7)]); +var inst_22135 = (inst_22133 < cnt); +var state_22169__$1 = state_22169; +if(cljs.core.truth_(inst_22135)){ +var statearr_22173_22200 = state_22169__$1; +(statearr_22173_22200[(1)] = (6)); + +} else { +var statearr_22174_22201 = state_22169__$1; +(statearr_22174_22201[(1)] = (7)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (15))){ +var inst_22165 = (state_22169[(2)]); +var state_22169__$1 = state_22169; +var statearr_22175_22202 = state_22169__$1; +(statearr_22175_22202[(2)] = inst_22165); + +(statearr_22175_22202[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (13))){ +var inst_22158 = cljs.core.async.close_BANG_.call(null,out); +var state_22169__$1 = state_22169; +var statearr_22176_22203 = state_22169__$1; +(statearr_22176_22203[(2)] = inst_22158); + +(statearr_22176_22203[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (6))){ +var state_22169__$1 = state_22169; +var statearr_22177_22204 = state_22169__$1; +(statearr_22177_22204[(2)] = null); + +(statearr_22177_22204[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (3))){ +var inst_22167 = (state_22169[(2)]); +var state_22169__$1 = state_22169; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22169__$1,inst_22167); +} else { +if((state_val_22170 === (12))){ +var inst_22155 = (state_22169[(8)]); +var inst_22155__$1 = (state_22169[(2)]); +var inst_22156 = cljs.core.some.call(null,cljs.core.nil_QMARK_,inst_22155__$1); +var state_22169__$1 = (function (){var statearr_22178 = state_22169; +(statearr_22178[(8)] = inst_22155__$1); + +return statearr_22178; +})(); +if(cljs.core.truth_(inst_22156)){ +var statearr_22179_22205 = state_22169__$1; +(statearr_22179_22205[(1)] = (13)); + +} else { +var statearr_22180_22206 = state_22169__$1; +(statearr_22180_22206[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (2))){ +var inst_22132 = cljs.core.reset_BANG_.call(null,dctr,cnt); +var inst_22133 = (0); +var state_22169__$1 = (function (){var statearr_22181 = state_22169; +(statearr_22181[(9)] = inst_22132); + +(statearr_22181[(7)] = inst_22133); + +return statearr_22181; +})(); +var statearr_22182_22207 = state_22169__$1; +(statearr_22182_22207[(2)] = null); + +(statearr_22182_22207[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (11))){ +var inst_22133 = (state_22169[(7)]); +var _ = cljs.core.async.impl.ioc_helpers.add_exception_frame.call(null,state_22169,(10),Object,null,(9)); +var inst_22142 = chs__$1.call(null,inst_22133); +var inst_22143 = done.call(null,inst_22133); +var inst_22144 = cljs.core.async.take_BANG_.call(null,inst_22142,inst_22143); +var state_22169__$1 = state_22169; +var statearr_22183_22208 = state_22169__$1; +(statearr_22183_22208[(2)] = inst_22144); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22169__$1); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (9))){ +var inst_22133 = (state_22169[(7)]); +var inst_22146 = (state_22169[(2)]); +var inst_22147 = (inst_22133 + (1)); +var inst_22133__$1 = inst_22147; +var state_22169__$1 = (function (){var statearr_22184 = state_22169; +(statearr_22184[(10)] = inst_22146); + +(statearr_22184[(7)] = inst_22133__$1); + +return statearr_22184; +})(); +var statearr_22185_22209 = state_22169__$1; +(statearr_22185_22209[(2)] = null); + +(statearr_22185_22209[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (5))){ +var inst_22153 = (state_22169[(2)]); +var state_22169__$1 = (function (){var statearr_22186 = state_22169; +(statearr_22186[(11)] = inst_22153); + +return statearr_22186; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22169__$1,(12),dchan); +} else { +if((state_val_22170 === (14))){ +var inst_22155 = (state_22169[(8)]); +var inst_22160 = cljs.core.apply.call(null,f,inst_22155); +var state_22169__$1 = state_22169; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22169__$1,(16),out,inst_22160); +} else { +if((state_val_22170 === (16))){ +var inst_22162 = (state_22169[(2)]); +var state_22169__$1 = (function (){var statearr_22187 = state_22169; +(statearr_22187[(12)] = inst_22162); + +return statearr_22187; +})(); +var statearr_22188_22210 = state_22169__$1; +(statearr_22188_22210[(2)] = null); + +(statearr_22188_22210[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (10))){ +var inst_22137 = (state_22169[(2)]); +var inst_22138 = cljs.core.swap_BANG_.call(null,dctr,cljs.core.dec); +var state_22169__$1 = (function (){var statearr_22189 = state_22169; +(statearr_22189[(13)] = inst_22137); + +return statearr_22189; +})(); +var statearr_22190_22211 = state_22169__$1; +(statearr_22190_22211[(2)] = inst_22138); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22169__$1); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22170 === (8))){ +var inst_22151 = (state_22169[(2)]); +var state_22169__$1 = state_22169; +var statearr_22191_22212 = state_22169__$1; +(statearr_22191_22212[(2)] = inst_22151); + +(statearr_22191_22212[(1)] = (5)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22197,chs__$1,out,cnt,rets,dchan,dctr,done)) +; +return ((function (switch__20783__auto__,c__20872__auto___22197,chs__$1,out,cnt,rets,dchan,dctr,done){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22192 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22192[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22192[(1)] = (1)); + +return statearr_22192; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22169){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22169); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22193){if((e22193 instanceof Object)){ +var ex__20787__auto__ = e22193; +var statearr_22194_22213 = state_22169; +(statearr_22194_22213[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22169); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22193; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22214 = state_22169; +state_22169 = G__22214; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22169){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22169); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22197,chs__$1,out,cnt,rets,dchan,dctr,done)) +})(); +var state__20874__auto__ = (function (){var statearr_22195 = f__20873__auto__.call(null); +(statearr_22195[(6)] = c__20872__auto___22197); + +return statearr_22195; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22197,chs__$1,out,cnt,rets,dchan,dctr,done)) +); + + +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__22217 = arguments.length; +switch (G__22217) { +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.call(null,chs,null); +}); + +cljs.core.async.merge.cljs$core$IFn$_invoke$arity$2 = (function (chs,buf_or_n){ +var out = cljs.core.async.chan.call(null,buf_or_n); +var c__20872__auto___22271 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22271,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22271,out){ +return (function (state_22249){ +var state_val_22250 = (state_22249[(1)]); +if((state_val_22250 === (7))){ +var inst_22228 = (state_22249[(7)]); +var inst_22229 = (state_22249[(8)]); +var inst_22228__$1 = (state_22249[(2)]); +var inst_22229__$1 = cljs.core.nth.call(null,inst_22228__$1,(0),null); +var inst_22230 = cljs.core.nth.call(null,inst_22228__$1,(1),null); +var inst_22231 = (inst_22229__$1 == null); +var state_22249__$1 = (function (){var statearr_22251 = state_22249; +(statearr_22251[(9)] = inst_22230); + +(statearr_22251[(7)] = inst_22228__$1); + +(statearr_22251[(8)] = inst_22229__$1); + +return statearr_22251; +})(); +if(cljs.core.truth_(inst_22231)){ +var statearr_22252_22272 = state_22249__$1; +(statearr_22252_22272[(1)] = (8)); + +} else { +var statearr_22253_22273 = state_22249__$1; +(statearr_22253_22273[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (1))){ +var inst_22218 = cljs.core.vec.call(null,chs); +var inst_22219 = inst_22218; +var state_22249__$1 = (function (){var statearr_22254 = state_22249; +(statearr_22254[(10)] = inst_22219); + +return statearr_22254; +})(); +var statearr_22255_22274 = state_22249__$1; +(statearr_22255_22274[(2)] = null); + +(statearr_22255_22274[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (4))){ +var inst_22219 = (state_22249[(10)]); +var state_22249__$1 = state_22249; +return cljs.core.async.ioc_alts_BANG_.call(null,state_22249__$1,(7),inst_22219); +} else { +if((state_val_22250 === (6))){ +var inst_22245 = (state_22249[(2)]); +var state_22249__$1 = state_22249; +var statearr_22256_22275 = state_22249__$1; +(statearr_22256_22275[(2)] = inst_22245); + +(statearr_22256_22275[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (3))){ +var inst_22247 = (state_22249[(2)]); +var state_22249__$1 = state_22249; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22249__$1,inst_22247); +} else { +if((state_val_22250 === (2))){ +var inst_22219 = (state_22249[(10)]); +var inst_22221 = cljs.core.count.call(null,inst_22219); +var inst_22222 = (inst_22221 > (0)); +var state_22249__$1 = state_22249; +if(cljs.core.truth_(inst_22222)){ +var statearr_22258_22276 = state_22249__$1; +(statearr_22258_22276[(1)] = (4)); + +} else { +var statearr_22259_22277 = state_22249__$1; +(statearr_22259_22277[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (11))){ +var inst_22219 = (state_22249[(10)]); +var inst_22238 = (state_22249[(2)]); +var tmp22257 = inst_22219; +var inst_22219__$1 = tmp22257; +var state_22249__$1 = (function (){var statearr_22260 = state_22249; +(statearr_22260[(11)] = inst_22238); + +(statearr_22260[(10)] = inst_22219__$1); + +return statearr_22260; +})(); +var statearr_22261_22278 = state_22249__$1; +(statearr_22261_22278[(2)] = null); + +(statearr_22261_22278[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (9))){ +var inst_22229 = (state_22249[(8)]); +var state_22249__$1 = state_22249; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22249__$1,(11),out,inst_22229); +} else { +if((state_val_22250 === (5))){ +var inst_22243 = cljs.core.async.close_BANG_.call(null,out); +var state_22249__$1 = state_22249; +var statearr_22262_22279 = state_22249__$1; +(statearr_22262_22279[(2)] = inst_22243); + +(statearr_22262_22279[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (10))){ +var inst_22241 = (state_22249[(2)]); +var state_22249__$1 = state_22249; +var statearr_22263_22280 = state_22249__$1; +(statearr_22263_22280[(2)] = inst_22241); + +(statearr_22263_22280[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22250 === (8))){ +var inst_22230 = (state_22249[(9)]); +var inst_22228 = (state_22249[(7)]); +var inst_22219 = (state_22249[(10)]); +var inst_22229 = (state_22249[(8)]); +var inst_22233 = (function (){var cs = inst_22219; +var vec__22224 = inst_22228; +var v = inst_22229; +var c = inst_22230; +return ((function (cs,vec__22224,v,c,inst_22230,inst_22228,inst_22219,inst_22229,state_val_22250,c__20872__auto___22271,out){ +return (function (p1__22215_SHARP_){ +return cljs.core.not_EQ_.call(null,c,p1__22215_SHARP_); +}); +;})(cs,vec__22224,v,c,inst_22230,inst_22228,inst_22219,inst_22229,state_val_22250,c__20872__auto___22271,out)) +})(); +var inst_22234 = cljs.core.filterv.call(null,inst_22233,inst_22219); +var inst_22219__$1 = inst_22234; +var state_22249__$1 = (function (){var statearr_22264 = state_22249; +(statearr_22264[(10)] = inst_22219__$1); + +return statearr_22264; +})(); +var statearr_22265_22281 = state_22249__$1; +(statearr_22265_22281[(2)] = null); + +(statearr_22265_22281[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22271,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___22271,out){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22266 = [null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22266[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22266[(1)] = (1)); + +return statearr_22266; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22249){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22249); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22267){if((e22267 instanceof Object)){ +var ex__20787__auto__ = e22267; +var statearr_22268_22282 = state_22249; +(statearr_22268_22282[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22249); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22267; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22283 = state_22249; +state_22249 = G__22283; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22249){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22249); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22271,out)) +})(); +var state__20874__auto__ = (function (){var statearr_22269 = f__20873__auto__.call(null); +(statearr_22269[(6)] = c__20872__auto___22271); + +return statearr_22269; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22271,out)) +); + + +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.call(null,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__22285 = arguments.length; +switch (G__22285) { +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.call(null,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.call(null,buf_or_n); +var c__20872__auto___22330 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22330,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22330,out){ +return (function (state_22309){ +var state_val_22310 = (state_22309[(1)]); +if((state_val_22310 === (7))){ +var inst_22291 = (state_22309[(7)]); +var inst_22291__$1 = (state_22309[(2)]); +var inst_22292 = (inst_22291__$1 == null); +var inst_22293 = cljs.core.not.call(null,inst_22292); +var state_22309__$1 = (function (){var statearr_22311 = state_22309; +(statearr_22311[(7)] = inst_22291__$1); + +return statearr_22311; +})(); +if(inst_22293){ +var statearr_22312_22331 = state_22309__$1; +(statearr_22312_22331[(1)] = (8)); + +} else { +var statearr_22313_22332 = state_22309__$1; +(statearr_22313_22332[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (1))){ +var inst_22286 = (0); +var state_22309__$1 = (function (){var statearr_22314 = state_22309; +(statearr_22314[(8)] = inst_22286); + +return statearr_22314; +})(); +var statearr_22315_22333 = state_22309__$1; +(statearr_22315_22333[(2)] = null); + +(statearr_22315_22333[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (4))){ +var state_22309__$1 = state_22309; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22309__$1,(7),ch); +} else { +if((state_val_22310 === (6))){ +var inst_22304 = (state_22309[(2)]); +var state_22309__$1 = state_22309; +var statearr_22316_22334 = state_22309__$1; +(statearr_22316_22334[(2)] = inst_22304); + +(statearr_22316_22334[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (3))){ +var inst_22306 = (state_22309[(2)]); +var inst_22307 = cljs.core.async.close_BANG_.call(null,out); +var state_22309__$1 = (function (){var statearr_22317 = state_22309; +(statearr_22317[(9)] = inst_22306); + +return statearr_22317; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22309__$1,inst_22307); +} else { +if((state_val_22310 === (2))){ +var inst_22286 = (state_22309[(8)]); +var inst_22288 = (inst_22286 < n); +var state_22309__$1 = state_22309; +if(cljs.core.truth_(inst_22288)){ +var statearr_22318_22335 = state_22309__$1; +(statearr_22318_22335[(1)] = (4)); + +} else { +var statearr_22319_22336 = state_22309__$1; +(statearr_22319_22336[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (11))){ +var inst_22286 = (state_22309[(8)]); +var inst_22296 = (state_22309[(2)]); +var inst_22297 = (inst_22286 + (1)); +var inst_22286__$1 = inst_22297; +var state_22309__$1 = (function (){var statearr_22320 = state_22309; +(statearr_22320[(8)] = inst_22286__$1); + +(statearr_22320[(10)] = inst_22296); + +return statearr_22320; +})(); +var statearr_22321_22337 = state_22309__$1; +(statearr_22321_22337[(2)] = null); + +(statearr_22321_22337[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (9))){ +var state_22309__$1 = state_22309; +var statearr_22322_22338 = state_22309__$1; +(statearr_22322_22338[(2)] = null); + +(statearr_22322_22338[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (5))){ +var state_22309__$1 = state_22309; +var statearr_22323_22339 = state_22309__$1; +(statearr_22323_22339[(2)] = null); + +(statearr_22323_22339[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (10))){ +var inst_22301 = (state_22309[(2)]); +var state_22309__$1 = state_22309; +var statearr_22324_22340 = state_22309__$1; +(statearr_22324_22340[(2)] = inst_22301); + +(statearr_22324_22340[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22310 === (8))){ +var inst_22291 = (state_22309[(7)]); +var state_22309__$1 = state_22309; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22309__$1,(11),out,inst_22291); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22330,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___22330,out){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22325 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22325[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22325[(1)] = (1)); + +return statearr_22325; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22309){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22309); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22326){if((e22326 instanceof Object)){ +var ex__20787__auto__ = e22326; +var statearr_22327_22341 = state_22309; +(statearr_22327_22341[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22309); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22326; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22342 = state_22309; +state_22309 = G__22342; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22309){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22309); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22330,out)) +})(); +var state__20874__auto__ = (function (){var statearr_22328 = f__20873__auto__.call(null); +(statearr_22328[(6)] = c__20872__auto___22330); + +return statearr_22328; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22330,out)) +); + + +return out; +}); + +cljs.core.async.take.cljs$lang$maxFixedArity = 3; + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.map_LT_ = (function cljs$core$async$map_LT_(f,ch){ +if(typeof cljs.core.async.t_cljs$core$async22344 !== 'undefined'){ +} else { + +/** +* @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$async22344 = (function (f,ch,meta22345){ +this.f = f; +this.ch = ch; +this.meta22345 = meta22345; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async22344.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_22346,meta22345__$1){ +var self__ = this; +var _22346__$1 = this; +return (new cljs.core.async.t_cljs$core$async22344(self__.f,self__.ch,meta22345__$1)); +}); + +cljs.core.async.t_cljs$core$async22344.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_22346){ +var self__ = this; +var _22346__$1 = this; +return self__.meta22345; +}); + +cljs.core.async.t_cljs$core$async22344.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22344.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_.call(null,self__.ch); +}); + +cljs.core.async.t_cljs$core$async22344.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_.call(null,self__.ch); +}); + +cljs.core.async.t_cljs$core$async22344.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22344.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_.call(null,self__.ch,(function (){ +if(typeof cljs.core.async.t_cljs$core$async22347 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async22347 = (function (f,ch,meta22345,_,fn1,meta22348){ +this.f = f; +this.ch = ch; +this.meta22345 = meta22345; +this._ = _; +this.fn1 = fn1; +this.meta22348 = meta22348; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async22347.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (___$1){ +return (function (_22349,meta22348__$1){ +var self__ = this; +var _22349__$1 = this; +return (new cljs.core.async.t_cljs$core$async22347(self__.f,self__.ch,self__.meta22345,self__._,self__.fn1,meta22348__$1)); +});})(___$1)) +; + +cljs.core.async.t_cljs$core$async22347.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (___$1){ +return (function (_22349){ +var self__ = this; +var _22349__$1 = this; +return self__.meta22348; +});})(___$1)) +; + +cljs.core.async.t_cljs$core$async22347.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22347.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = ((function (___$1){ +return (function (___$1){ +var self__ = this; +var ___$2 = this; +return cljs.core.async.impl.protocols.active_QMARK_.call(null,self__.fn1); +});})(___$1)) +; + +cljs.core.async.t_cljs$core$async22347.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = ((function (___$1){ +return (function (___$1){ +var self__ = this; +var ___$2 = this; +return true; +});})(___$1)) +; + +cljs.core.async.t_cljs$core$async22347.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = ((function (___$1){ +return (function (___$1){ +var self__ = this; +var ___$2 = this; +var f1 = cljs.core.async.impl.protocols.commit.call(null,self__.fn1); +return ((function (f1,___$2,___$1){ +return (function (p1__22343_SHARP_){ +return f1.call(null,(((p1__22343_SHARP_ == null))?null:self__.f.call(null,p1__22343_SHARP_))); +}); +;})(f1,___$2,___$1)) +});})(___$1)) +; + +cljs.core.async.t_cljs$core$async22347.getBasis = ((function (___$1){ +return (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,"meta22345","meta22345",-1217434870,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$async22344","cljs.core.async/t_cljs$core$async22344",-1886804910,null)], null)),new cljs.core.Symbol(null,"fn1","fn1",895834444,null),new cljs.core.Symbol(null,"meta22348","meta22348",-1822450203,null)], null); +});})(___$1)) +; + +cljs.core.async.t_cljs$core$async22347.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async22347.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async22347"; + +cljs.core.async.t_cljs$core$async22347.cljs$lang$ctorPrWriter = ((function (___$1){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async22347"); +});})(___$1)) +; + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async22347. + */ +cljs.core.async.__GT_t_cljs$core$async22347 = ((function (___$1){ +return (function cljs$core$async$map_LT__$___GT_t_cljs$core$async22347(f__$1,ch__$1,meta22345__$1,___$2,fn1__$1,meta22348){ +return (new cljs.core.async.t_cljs$core$async22347(f__$1,ch__$1,meta22345__$1,___$2,fn1__$1,meta22348)); +});})(___$1)) +; + +} + +return (new cljs.core.async.t_cljs$core$async22347(self__.f,self__.ch,self__.meta22345,___$1,fn1,cljs.core.PersistentArrayMap.EMPTY)); +})() +); +if(cljs.core.truth_((function (){var and__3911__auto__ = ret; +if(cljs.core.truth_(and__3911__auto__)){ +return !((cljs.core.deref.call(null,ret) == null)); +} else { +return and__3911__auto__; +} +})())){ +return cljs.core.async.impl.channels.box.call(null,self__.f.call(null,cljs.core.deref.call(null,ret))); +} else { +return ret; +} +}); + +cljs.core.async.t_cljs$core$async22344.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22344.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_.call(null,self__.ch,val,fn1); +}); + +cljs.core.async.t_cljs$core$async22344.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,"meta22345","meta22345",-1217434870,null)], null); +}); + +cljs.core.async.t_cljs$core$async22344.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async22344.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async22344"; + +cljs.core.async.t_cljs$core$async22344.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async22344"); +}); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async22344. + */ +cljs.core.async.__GT_t_cljs$core$async22344 = (function cljs$core$async$map_LT__$___GT_t_cljs$core$async22344(f__$1,ch__$1,meta22345){ +return (new cljs.core.async.t_cljs$core$async22344(f__$1,ch__$1,meta22345)); +}); + +} + +return (new cljs.core.async.t_cljs$core$async22344(f,ch,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.map_GT_ = (function cljs$core$async$map_GT_(f,ch){ +if(typeof cljs.core.async.t_cljs$core$async22350 !== 'undefined'){ +} else { + +/** +* @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$async22350 = (function (f,ch,meta22351){ +this.f = f; +this.ch = ch; +this.meta22351 = meta22351; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async22350.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_22352,meta22351__$1){ +var self__ = this; +var _22352__$1 = this; +return (new cljs.core.async.t_cljs$core$async22350(self__.f,self__.ch,meta22351__$1)); +}); + +cljs.core.async.t_cljs$core$async22350.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_22352){ +var self__ = this; +var _22352__$1 = this; +return self__.meta22351; +}); + +cljs.core.async.t_cljs$core$async22350.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22350.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_.call(null,self__.ch); +}); + +cljs.core.async.t_cljs$core$async22350.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22350.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_.call(null,self__.ch,fn1); +}); + +cljs.core.async.t_cljs$core$async22350.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22350.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_.call(null,self__.ch,self__.f.call(null,val),fn1); +}); + +cljs.core.async.t_cljs$core$async22350.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,"meta22351","meta22351",242683604,null)], null); +}); + +cljs.core.async.t_cljs$core$async22350.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async22350.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async22350"; + +cljs.core.async.t_cljs$core$async22350.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async22350"); +}); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async22350. + */ +cljs.core.async.__GT_t_cljs$core$async22350 = (function cljs$core$async$map_GT__$___GT_t_cljs$core$async22350(f__$1,ch__$1,meta22351){ +return (new cljs.core.async.t_cljs$core$async22350(f__$1,ch__$1,meta22351)); +}); + +} + +return (new cljs.core.async.t_cljs$core$async22350(f,ch,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.filter_GT_ = (function cljs$core$async$filter_GT_(p,ch){ +if(typeof cljs.core.async.t_cljs$core$async22353 !== 'undefined'){ +} else { + +/** +* @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$async22353 = (function (p,ch,meta22354){ +this.p = p; +this.ch = ch; +this.meta22354 = meta22354; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.t_cljs$core$async22353.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_22355,meta22354__$1){ +var self__ = this; +var _22355__$1 = this; +return (new cljs.core.async.t_cljs$core$async22353(self__.p,self__.ch,meta22354__$1)); +}); + +cljs.core.async.t_cljs$core$async22353.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_22355){ +var self__ = this; +var _22355__$1 = this; +return self__.meta22354; +}); + +cljs.core.async.t_cljs$core$async22353.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22353.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_.call(null,self__.ch); +}); + +cljs.core.async.t_cljs$core$async22353.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_.call(null,self__.ch); +}); + +cljs.core.async.t_cljs$core$async22353.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22353.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_.call(null,self__.ch,fn1); +}); + +cljs.core.async.t_cljs$core$async22353.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.t_cljs$core$async22353.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.call(null,val))){ +return cljs.core.async.impl.protocols.put_BANG_.call(null,self__.ch,val,fn1); +} else { +return cljs.core.async.impl.channels.box.call(null,cljs.core.not.call(null,cljs.core.async.impl.protocols.closed_QMARK_.call(null,self__.ch))); +} +}); + +cljs.core.async.t_cljs$core$async22353.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,"meta22354","meta22354",819505212,null)], null); +}); + +cljs.core.async.t_cljs$core$async22353.cljs$lang$type = true; + +cljs.core.async.t_cljs$core$async22353.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async22353"; + +cljs.core.async.t_cljs$core$async22353.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async/t_cljs$core$async22353"); +}); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async22353. + */ +cljs.core.async.__GT_t_cljs$core$async22353 = (function cljs$core$async$filter_GT__$___GT_t_cljs$core$async22353(p__$1,ch__$1,meta22354){ +return (new cljs.core.async.t_cljs$core$async22353(p__$1,ch__$1,meta22354)); +}); + +} + +return (new cljs.core.async.t_cljs$core$async22353(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_.call(null,cljs.core.complement.call(null,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__22357 = arguments.length; +switch (G__22357) { +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_.call(null,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.call(null,buf_or_n); +var c__20872__auto___22397 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22397,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22397,out){ +return (function (state_22378){ +var state_val_22379 = (state_22378[(1)]); +if((state_val_22379 === (7))){ +var inst_22374 = (state_22378[(2)]); +var state_22378__$1 = state_22378; +var statearr_22380_22398 = state_22378__$1; +(statearr_22380_22398[(2)] = inst_22374); + +(statearr_22380_22398[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (1))){ +var state_22378__$1 = state_22378; +var statearr_22381_22399 = state_22378__$1; +(statearr_22381_22399[(2)] = null); + +(statearr_22381_22399[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (4))){ +var inst_22360 = (state_22378[(7)]); +var inst_22360__$1 = (state_22378[(2)]); +var inst_22361 = (inst_22360__$1 == null); +var state_22378__$1 = (function (){var statearr_22382 = state_22378; +(statearr_22382[(7)] = inst_22360__$1); + +return statearr_22382; +})(); +if(cljs.core.truth_(inst_22361)){ +var statearr_22383_22400 = state_22378__$1; +(statearr_22383_22400[(1)] = (5)); + +} else { +var statearr_22384_22401 = state_22378__$1; +(statearr_22384_22401[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (6))){ +var inst_22360 = (state_22378[(7)]); +var inst_22365 = p.call(null,inst_22360); +var state_22378__$1 = state_22378; +if(cljs.core.truth_(inst_22365)){ +var statearr_22385_22402 = state_22378__$1; +(statearr_22385_22402[(1)] = (8)); + +} else { +var statearr_22386_22403 = state_22378__$1; +(statearr_22386_22403[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (3))){ +var inst_22376 = (state_22378[(2)]); +var state_22378__$1 = state_22378; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22378__$1,inst_22376); +} else { +if((state_val_22379 === (2))){ +var state_22378__$1 = state_22378; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22378__$1,(4),ch); +} else { +if((state_val_22379 === (11))){ +var inst_22368 = (state_22378[(2)]); +var state_22378__$1 = state_22378; +var statearr_22387_22404 = state_22378__$1; +(statearr_22387_22404[(2)] = inst_22368); + +(statearr_22387_22404[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (9))){ +var state_22378__$1 = state_22378; +var statearr_22388_22405 = state_22378__$1; +(statearr_22388_22405[(2)] = null); + +(statearr_22388_22405[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (5))){ +var inst_22363 = cljs.core.async.close_BANG_.call(null,out); +var state_22378__$1 = state_22378; +var statearr_22389_22406 = state_22378__$1; +(statearr_22389_22406[(2)] = inst_22363); + +(statearr_22389_22406[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (10))){ +var inst_22371 = (state_22378[(2)]); +var state_22378__$1 = (function (){var statearr_22390 = state_22378; +(statearr_22390[(8)] = inst_22371); + +return statearr_22390; +})(); +var statearr_22391_22407 = state_22378__$1; +(statearr_22391_22407[(2)] = null); + +(statearr_22391_22407[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22379 === (8))){ +var inst_22360 = (state_22378[(7)]); +var state_22378__$1 = state_22378; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22378__$1,(11),out,inst_22360); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22397,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___22397,out){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22392 = [null,null,null,null,null,null,null,null,null]; +(statearr_22392[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22392[(1)] = (1)); + +return statearr_22392; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22378){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22378); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22393){if((e22393 instanceof Object)){ +var ex__20787__auto__ = e22393; +var statearr_22394_22408 = state_22378; +(statearr_22394_22408[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22378); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22393; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22409 = state_22378; +state_22378 = G__22409; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22378){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22378); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22397,out)) +})(); +var state__20874__auto__ = (function (){var statearr_22395 = f__20873__auto__.call(null); +(statearr_22395[(6)] = c__20872__auto___22397); + +return statearr_22395; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22397,out)) +); + + +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__22411 = arguments.length; +switch (G__22411) { +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_.call(null,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_.call(null,cljs.core.complement.call(null,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__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_22474){ +var state_val_22475 = (state_22474[(1)]); +if((state_val_22475 === (7))){ +var inst_22470 = (state_22474[(2)]); +var state_22474__$1 = state_22474; +var statearr_22476_22514 = state_22474__$1; +(statearr_22476_22514[(2)] = inst_22470); + +(statearr_22476_22514[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (20))){ +var inst_22440 = (state_22474[(7)]); +var inst_22451 = (state_22474[(2)]); +var inst_22452 = cljs.core.next.call(null,inst_22440); +var inst_22426 = inst_22452; +var inst_22427 = null; +var inst_22428 = (0); +var inst_22429 = (0); +var state_22474__$1 = (function (){var statearr_22477 = state_22474; +(statearr_22477[(8)] = inst_22429); + +(statearr_22477[(9)] = inst_22428); + +(statearr_22477[(10)] = inst_22451); + +(statearr_22477[(11)] = inst_22427); + +(statearr_22477[(12)] = inst_22426); + +return statearr_22477; +})(); +var statearr_22478_22515 = state_22474__$1; +(statearr_22478_22515[(2)] = null); + +(statearr_22478_22515[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (1))){ +var state_22474__$1 = state_22474; +var statearr_22479_22516 = state_22474__$1; +(statearr_22479_22516[(2)] = null); + +(statearr_22479_22516[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (4))){ +var inst_22415 = (state_22474[(13)]); +var inst_22415__$1 = (state_22474[(2)]); +var inst_22416 = (inst_22415__$1 == null); +var state_22474__$1 = (function (){var statearr_22480 = state_22474; +(statearr_22480[(13)] = inst_22415__$1); + +return statearr_22480; +})(); +if(cljs.core.truth_(inst_22416)){ +var statearr_22481_22517 = state_22474__$1; +(statearr_22481_22517[(1)] = (5)); + +} else { +var statearr_22482_22518 = state_22474__$1; +(statearr_22482_22518[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (15))){ +var state_22474__$1 = state_22474; +var statearr_22486_22519 = state_22474__$1; +(statearr_22486_22519[(2)] = null); + +(statearr_22486_22519[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (21))){ +var state_22474__$1 = state_22474; +var statearr_22487_22520 = state_22474__$1; +(statearr_22487_22520[(2)] = null); + +(statearr_22487_22520[(1)] = (23)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (13))){ +var inst_22429 = (state_22474[(8)]); +var inst_22428 = (state_22474[(9)]); +var inst_22427 = (state_22474[(11)]); +var inst_22426 = (state_22474[(12)]); +var inst_22436 = (state_22474[(2)]); +var inst_22437 = (inst_22429 + (1)); +var tmp22483 = inst_22428; +var tmp22484 = inst_22427; +var tmp22485 = inst_22426; +var inst_22426__$1 = tmp22485; +var inst_22427__$1 = tmp22484; +var inst_22428__$1 = tmp22483; +var inst_22429__$1 = inst_22437; +var state_22474__$1 = (function (){var statearr_22488 = state_22474; +(statearr_22488[(14)] = inst_22436); + +(statearr_22488[(8)] = inst_22429__$1); + +(statearr_22488[(9)] = inst_22428__$1); + +(statearr_22488[(11)] = inst_22427__$1); + +(statearr_22488[(12)] = inst_22426__$1); + +return statearr_22488; +})(); +var statearr_22489_22521 = state_22474__$1; +(statearr_22489_22521[(2)] = null); + +(statearr_22489_22521[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (22))){ +var state_22474__$1 = state_22474; +var statearr_22490_22522 = state_22474__$1; +(statearr_22490_22522[(2)] = null); + +(statearr_22490_22522[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (6))){ +var inst_22415 = (state_22474[(13)]); +var inst_22424 = f.call(null,inst_22415); +var inst_22425 = cljs.core.seq.call(null,inst_22424); +var inst_22426 = inst_22425; +var inst_22427 = null; +var inst_22428 = (0); +var inst_22429 = (0); +var state_22474__$1 = (function (){var statearr_22491 = state_22474; +(statearr_22491[(8)] = inst_22429); + +(statearr_22491[(9)] = inst_22428); + +(statearr_22491[(11)] = inst_22427); + +(statearr_22491[(12)] = inst_22426); + +return statearr_22491; +})(); +var statearr_22492_22523 = state_22474__$1; +(statearr_22492_22523[(2)] = null); + +(statearr_22492_22523[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (17))){ +var inst_22440 = (state_22474[(7)]); +var inst_22444 = cljs.core.chunk_first.call(null,inst_22440); +var inst_22445 = cljs.core.chunk_rest.call(null,inst_22440); +var inst_22446 = cljs.core.count.call(null,inst_22444); +var inst_22426 = inst_22445; +var inst_22427 = inst_22444; +var inst_22428 = inst_22446; +var inst_22429 = (0); +var state_22474__$1 = (function (){var statearr_22493 = state_22474; +(statearr_22493[(8)] = inst_22429); + +(statearr_22493[(9)] = inst_22428); + +(statearr_22493[(11)] = inst_22427); + +(statearr_22493[(12)] = inst_22426); + +return statearr_22493; +})(); +var statearr_22494_22524 = state_22474__$1; +(statearr_22494_22524[(2)] = null); + +(statearr_22494_22524[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (3))){ +var inst_22472 = (state_22474[(2)]); +var state_22474__$1 = state_22474; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22474__$1,inst_22472); +} else { +if((state_val_22475 === (12))){ +var inst_22460 = (state_22474[(2)]); +var state_22474__$1 = state_22474; +var statearr_22495_22525 = state_22474__$1; +(statearr_22495_22525[(2)] = inst_22460); + +(statearr_22495_22525[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (2))){ +var state_22474__$1 = state_22474; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22474__$1,(4),in$); +} else { +if((state_val_22475 === (23))){ +var inst_22468 = (state_22474[(2)]); +var state_22474__$1 = state_22474; +var statearr_22496_22526 = state_22474__$1; +(statearr_22496_22526[(2)] = inst_22468); + +(statearr_22496_22526[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (19))){ +var inst_22455 = (state_22474[(2)]); +var state_22474__$1 = state_22474; +var statearr_22497_22527 = state_22474__$1; +(statearr_22497_22527[(2)] = inst_22455); + +(statearr_22497_22527[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (11))){ +var inst_22440 = (state_22474[(7)]); +var inst_22426 = (state_22474[(12)]); +var inst_22440__$1 = cljs.core.seq.call(null,inst_22426); +var state_22474__$1 = (function (){var statearr_22498 = state_22474; +(statearr_22498[(7)] = inst_22440__$1); + +return statearr_22498; +})(); +if(inst_22440__$1){ +var statearr_22499_22528 = state_22474__$1; +(statearr_22499_22528[(1)] = (14)); + +} else { +var statearr_22500_22529 = state_22474__$1; +(statearr_22500_22529[(1)] = (15)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (9))){ +var inst_22462 = (state_22474[(2)]); +var inst_22463 = cljs.core.async.impl.protocols.closed_QMARK_.call(null,out); +var state_22474__$1 = (function (){var statearr_22501 = state_22474; +(statearr_22501[(15)] = inst_22462); + +return statearr_22501; +})(); +if(cljs.core.truth_(inst_22463)){ +var statearr_22502_22530 = state_22474__$1; +(statearr_22502_22530[(1)] = (21)); + +} else { +var statearr_22503_22531 = state_22474__$1; +(statearr_22503_22531[(1)] = (22)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (5))){ +var inst_22418 = cljs.core.async.close_BANG_.call(null,out); +var state_22474__$1 = state_22474; +var statearr_22504_22532 = state_22474__$1; +(statearr_22504_22532[(2)] = inst_22418); + +(statearr_22504_22532[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (14))){ +var inst_22440 = (state_22474[(7)]); +var inst_22442 = cljs.core.chunked_seq_QMARK_.call(null,inst_22440); +var state_22474__$1 = state_22474; +if(inst_22442){ +var statearr_22505_22533 = state_22474__$1; +(statearr_22505_22533[(1)] = (17)); + +} else { +var statearr_22506_22534 = state_22474__$1; +(statearr_22506_22534[(1)] = (18)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (16))){ +var inst_22458 = (state_22474[(2)]); +var state_22474__$1 = state_22474; +var statearr_22507_22535 = state_22474__$1; +(statearr_22507_22535[(2)] = inst_22458); + +(statearr_22507_22535[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22475 === (10))){ +var inst_22429 = (state_22474[(8)]); +var inst_22427 = (state_22474[(11)]); +var inst_22434 = cljs.core._nth.call(null,inst_22427,inst_22429); +var state_22474__$1 = state_22474; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22474__$1,(13),out,inst_22434); +} else { +if((state_val_22475 === (18))){ +var inst_22440 = (state_22474[(7)]); +var inst_22449 = cljs.core.first.call(null,inst_22440); +var state_22474__$1 = state_22474; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22474__$1,(20),out,inst_22449); +} else { +if((state_val_22475 === (8))){ +var inst_22429 = (state_22474[(8)]); +var inst_22428 = (state_22474[(9)]); +var inst_22431 = (inst_22429 < inst_22428); +var inst_22432 = inst_22431; +var state_22474__$1 = state_22474; +if(cljs.core.truth_(inst_22432)){ +var statearr_22508_22536 = state_22474__$1; +(statearr_22508_22536[(1)] = (10)); + +} else { +var statearr_22509_22537 = state_22474__$1; +(statearr_22509_22537[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var cljs$core$async$mapcat_STAR__$_state_machine__20784__auto__ = null; +var cljs$core$async$mapcat_STAR__$_state_machine__20784__auto____0 = (function (){ +var statearr_22510 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22510[(0)] = cljs$core$async$mapcat_STAR__$_state_machine__20784__auto__); + +(statearr_22510[(1)] = (1)); + +return statearr_22510; +}); +var cljs$core$async$mapcat_STAR__$_state_machine__20784__auto____1 = (function (state_22474){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22474); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22511){if((e22511 instanceof Object)){ +var ex__20787__auto__ = e22511; +var statearr_22512_22538 = state_22474; +(statearr_22512_22538[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22474); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22511; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22539 = state_22474; +state_22474 = G__22539; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$mapcat_STAR__$_state_machine__20784__auto__ = function(state_22474){ +switch(arguments.length){ +case 0: +return cljs$core$async$mapcat_STAR__$_state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$mapcat_STAR__$_state_machine__20784__auto____1.call(this,state_22474); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$mapcat_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$mapcat_STAR__$_state_machine__20784__auto____0; +cljs$core$async$mapcat_STAR__$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$mapcat_STAR__$_state_machine__20784__auto____1; +return cljs$core$async$mapcat_STAR__$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_22513 = f__20873__auto__.call(null); +(statearr_22513[(6)] = c__20872__auto__); + +return statearr_22513; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__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__22541 = arguments.length; +switch (G__22541) { +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_.call(null,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.call(null,buf_or_n); +cljs.core.async.mapcat_STAR_.call(null,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__22544 = arguments.length; +switch (G__22544) { +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_.call(null,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.call(null,buf_or_n); +cljs.core.async.mapcat_STAR_.call(null,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__22547 = arguments.length; +switch (G__22547) { +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.call(null,ch,null); +}); + +cljs.core.async.unique.cljs$core$IFn$_invoke$arity$2 = (function (ch,buf_or_n){ +var out = cljs.core.async.chan.call(null,buf_or_n); +var c__20872__auto___22594 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22594,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22594,out){ +return (function (state_22571){ +var state_val_22572 = (state_22571[(1)]); +if((state_val_22572 === (7))){ +var inst_22566 = (state_22571[(2)]); +var state_22571__$1 = state_22571; +var statearr_22573_22595 = state_22571__$1; +(statearr_22573_22595[(2)] = inst_22566); + +(statearr_22573_22595[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (1))){ +var inst_22548 = null; +var state_22571__$1 = (function (){var statearr_22574 = state_22571; +(statearr_22574[(7)] = inst_22548); + +return statearr_22574; +})(); +var statearr_22575_22596 = state_22571__$1; +(statearr_22575_22596[(2)] = null); + +(statearr_22575_22596[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (4))){ +var inst_22551 = (state_22571[(8)]); +var inst_22551__$1 = (state_22571[(2)]); +var inst_22552 = (inst_22551__$1 == null); +var inst_22553 = cljs.core.not.call(null,inst_22552); +var state_22571__$1 = (function (){var statearr_22576 = state_22571; +(statearr_22576[(8)] = inst_22551__$1); + +return statearr_22576; +})(); +if(inst_22553){ +var statearr_22577_22597 = state_22571__$1; +(statearr_22577_22597[(1)] = (5)); + +} else { +var statearr_22578_22598 = state_22571__$1; +(statearr_22578_22598[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (6))){ +var state_22571__$1 = state_22571; +var statearr_22579_22599 = state_22571__$1; +(statearr_22579_22599[(2)] = null); + +(statearr_22579_22599[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (3))){ +var inst_22568 = (state_22571[(2)]); +var inst_22569 = cljs.core.async.close_BANG_.call(null,out); +var state_22571__$1 = (function (){var statearr_22580 = state_22571; +(statearr_22580[(9)] = inst_22568); + +return statearr_22580; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22571__$1,inst_22569); +} else { +if((state_val_22572 === (2))){ +var state_22571__$1 = state_22571; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22571__$1,(4),ch); +} else { +if((state_val_22572 === (11))){ +var inst_22551 = (state_22571[(8)]); +var inst_22560 = (state_22571[(2)]); +var inst_22548 = inst_22551; +var state_22571__$1 = (function (){var statearr_22581 = state_22571; +(statearr_22581[(10)] = inst_22560); + +(statearr_22581[(7)] = inst_22548); + +return statearr_22581; +})(); +var statearr_22582_22600 = state_22571__$1; +(statearr_22582_22600[(2)] = null); + +(statearr_22582_22600[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (9))){ +var inst_22551 = (state_22571[(8)]); +var state_22571__$1 = state_22571; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22571__$1,(11),out,inst_22551); +} else { +if((state_val_22572 === (5))){ +var inst_22551 = (state_22571[(8)]); +var inst_22548 = (state_22571[(7)]); +var inst_22555 = cljs.core._EQ_.call(null,inst_22551,inst_22548); +var state_22571__$1 = state_22571; +if(inst_22555){ +var statearr_22584_22601 = state_22571__$1; +(statearr_22584_22601[(1)] = (8)); + +} else { +var statearr_22585_22602 = state_22571__$1; +(statearr_22585_22602[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (10))){ +var inst_22563 = (state_22571[(2)]); +var state_22571__$1 = state_22571; +var statearr_22586_22603 = state_22571__$1; +(statearr_22586_22603[(2)] = inst_22563); + +(statearr_22586_22603[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22572 === (8))){ +var inst_22548 = (state_22571[(7)]); +var tmp22583 = inst_22548; +var inst_22548__$1 = tmp22583; +var state_22571__$1 = (function (){var statearr_22587 = state_22571; +(statearr_22587[(7)] = inst_22548__$1); + +return statearr_22587; +})(); +var statearr_22588_22604 = state_22571__$1; +(statearr_22588_22604[(2)] = null); + +(statearr_22588_22604[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22594,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___22594,out){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22589 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22589[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22589[(1)] = (1)); + +return statearr_22589; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22571){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22571); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22590){if((e22590 instanceof Object)){ +var ex__20787__auto__ = e22590; +var statearr_22591_22605 = state_22571; +(statearr_22591_22605[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22571); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22590; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22606 = state_22571; +state_22571 = G__22606; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22571){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22571); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22594,out)) +})(); +var state__20874__auto__ = (function (){var statearr_22592 = f__20873__auto__.call(null); +(statearr_22592[(6)] = c__20872__auto___22594); + +return statearr_22592; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22594,out)) +); + + +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__22608 = arguments.length; +switch (G__22608) { +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.call(null,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.call(null,buf_or_n); +var c__20872__auto___22674 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22674,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22674,out){ +return (function (state_22646){ +var state_val_22647 = (state_22646[(1)]); +if((state_val_22647 === (7))){ +var inst_22642 = (state_22646[(2)]); +var state_22646__$1 = state_22646; +var statearr_22648_22675 = state_22646__$1; +(statearr_22648_22675[(2)] = inst_22642); + +(statearr_22648_22675[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (1))){ +var inst_22609 = (new Array(n)); +var inst_22610 = inst_22609; +var inst_22611 = (0); +var state_22646__$1 = (function (){var statearr_22649 = state_22646; +(statearr_22649[(7)] = inst_22611); + +(statearr_22649[(8)] = inst_22610); + +return statearr_22649; +})(); +var statearr_22650_22676 = state_22646__$1; +(statearr_22650_22676[(2)] = null); + +(statearr_22650_22676[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (4))){ +var inst_22614 = (state_22646[(9)]); +var inst_22614__$1 = (state_22646[(2)]); +var inst_22615 = (inst_22614__$1 == null); +var inst_22616 = cljs.core.not.call(null,inst_22615); +var state_22646__$1 = (function (){var statearr_22651 = state_22646; +(statearr_22651[(9)] = inst_22614__$1); + +return statearr_22651; +})(); +if(inst_22616){ +var statearr_22652_22677 = state_22646__$1; +(statearr_22652_22677[(1)] = (5)); + +} else { +var statearr_22653_22678 = state_22646__$1; +(statearr_22653_22678[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (15))){ +var inst_22636 = (state_22646[(2)]); +var state_22646__$1 = state_22646; +var statearr_22654_22679 = state_22646__$1; +(statearr_22654_22679[(2)] = inst_22636); + +(statearr_22654_22679[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (13))){ +var state_22646__$1 = state_22646; +var statearr_22655_22680 = state_22646__$1; +(statearr_22655_22680[(2)] = null); + +(statearr_22655_22680[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (6))){ +var inst_22611 = (state_22646[(7)]); +var inst_22632 = (inst_22611 > (0)); +var state_22646__$1 = state_22646; +if(cljs.core.truth_(inst_22632)){ +var statearr_22656_22681 = state_22646__$1; +(statearr_22656_22681[(1)] = (12)); + +} else { +var statearr_22657_22682 = state_22646__$1; +(statearr_22657_22682[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (3))){ +var inst_22644 = (state_22646[(2)]); +var state_22646__$1 = state_22646; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22646__$1,inst_22644); +} else { +if((state_val_22647 === (12))){ +var inst_22610 = (state_22646[(8)]); +var inst_22634 = cljs.core.vec.call(null,inst_22610); +var state_22646__$1 = state_22646; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22646__$1,(15),out,inst_22634); +} else { +if((state_val_22647 === (2))){ +var state_22646__$1 = state_22646; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22646__$1,(4),ch); +} else { +if((state_val_22647 === (11))){ +var inst_22626 = (state_22646[(2)]); +var inst_22627 = (new Array(n)); +var inst_22610 = inst_22627; +var inst_22611 = (0); +var state_22646__$1 = (function (){var statearr_22658 = state_22646; +(statearr_22658[(7)] = inst_22611); + +(statearr_22658[(10)] = inst_22626); + +(statearr_22658[(8)] = inst_22610); + +return statearr_22658; +})(); +var statearr_22659_22683 = state_22646__$1; +(statearr_22659_22683[(2)] = null); + +(statearr_22659_22683[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (9))){ +var inst_22610 = (state_22646[(8)]); +var inst_22624 = cljs.core.vec.call(null,inst_22610); +var state_22646__$1 = state_22646; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22646__$1,(11),out,inst_22624); +} else { +if((state_val_22647 === (5))){ +var inst_22611 = (state_22646[(7)]); +var inst_22610 = (state_22646[(8)]); +var inst_22619 = (state_22646[(11)]); +var inst_22614 = (state_22646[(9)]); +var inst_22618 = (inst_22610[inst_22611] = inst_22614); +var inst_22619__$1 = (inst_22611 + (1)); +var inst_22620 = (inst_22619__$1 < n); +var state_22646__$1 = (function (){var statearr_22660 = state_22646; +(statearr_22660[(12)] = inst_22618); + +(statearr_22660[(11)] = inst_22619__$1); + +return statearr_22660; +})(); +if(cljs.core.truth_(inst_22620)){ +var statearr_22661_22684 = state_22646__$1; +(statearr_22661_22684[(1)] = (8)); + +} else { +var statearr_22662_22685 = state_22646__$1; +(statearr_22662_22685[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (14))){ +var inst_22639 = (state_22646[(2)]); +var inst_22640 = cljs.core.async.close_BANG_.call(null,out); +var state_22646__$1 = (function (){var statearr_22664 = state_22646; +(statearr_22664[(13)] = inst_22639); + +return statearr_22664; +})(); +var statearr_22665_22686 = state_22646__$1; +(statearr_22665_22686[(2)] = inst_22640); + +(statearr_22665_22686[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (10))){ +var inst_22630 = (state_22646[(2)]); +var state_22646__$1 = state_22646; +var statearr_22666_22687 = state_22646__$1; +(statearr_22666_22687[(2)] = inst_22630); + +(statearr_22666_22687[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22647 === (8))){ +var inst_22610 = (state_22646[(8)]); +var inst_22619 = (state_22646[(11)]); +var tmp22663 = inst_22610; +var inst_22610__$1 = tmp22663; +var inst_22611 = inst_22619; +var state_22646__$1 = (function (){var statearr_22667 = state_22646; +(statearr_22667[(7)] = inst_22611); + +(statearr_22667[(8)] = inst_22610__$1); + +return statearr_22667; +})(); +var statearr_22668_22688 = state_22646__$1; +(statearr_22668_22688[(2)] = null); + +(statearr_22668_22688[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22674,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___22674,out){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22669 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22669[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22669[(1)] = (1)); + +return statearr_22669; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22646){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22646); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22670){if((e22670 instanceof Object)){ +var ex__20787__auto__ = e22670; +var statearr_22671_22689 = state_22646; +(statearr_22671_22689[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22646); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22670; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22690 = state_22646; +state_22646 = G__22690; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22646){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22646); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22674,out)) +})(); +var state__20874__auto__ = (function (){var statearr_22672 = f__20873__auto__.call(null); +(statearr_22672[(6)] = c__20872__auto___22674); + +return statearr_22672; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22674,out)) +); + + +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__22692 = arguments.length; +switch (G__22692) { +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.call(null,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.call(null,buf_or_n); +var c__20872__auto___22762 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___22762,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___22762,out){ +return (function (state_22734){ +var state_val_22735 = (state_22734[(1)]); +if((state_val_22735 === (7))){ +var inst_22730 = (state_22734[(2)]); +var state_22734__$1 = state_22734; +var statearr_22736_22763 = state_22734__$1; +(statearr_22736_22763[(2)] = inst_22730); + +(statearr_22736_22763[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (1))){ +var inst_22693 = []; +var inst_22694 = inst_22693; +var inst_22695 = new cljs.core.Keyword("cljs.core.async","nothing","cljs.core.async/nothing",-69252123); +var state_22734__$1 = (function (){var statearr_22737 = state_22734; +(statearr_22737[(7)] = inst_22695); + +(statearr_22737[(8)] = inst_22694); + +return statearr_22737; +})(); +var statearr_22738_22764 = state_22734__$1; +(statearr_22738_22764[(2)] = null); + +(statearr_22738_22764[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (4))){ +var inst_22698 = (state_22734[(9)]); +var inst_22698__$1 = (state_22734[(2)]); +var inst_22699 = (inst_22698__$1 == null); +var inst_22700 = cljs.core.not.call(null,inst_22699); +var state_22734__$1 = (function (){var statearr_22739 = state_22734; +(statearr_22739[(9)] = inst_22698__$1); + +return statearr_22739; +})(); +if(inst_22700){ +var statearr_22740_22765 = state_22734__$1; +(statearr_22740_22765[(1)] = (5)); + +} else { +var statearr_22741_22766 = state_22734__$1; +(statearr_22741_22766[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (15))){ +var inst_22724 = (state_22734[(2)]); +var state_22734__$1 = state_22734; +var statearr_22742_22767 = state_22734__$1; +(statearr_22742_22767[(2)] = inst_22724); + +(statearr_22742_22767[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (13))){ +var state_22734__$1 = state_22734; +var statearr_22743_22768 = state_22734__$1; +(statearr_22743_22768[(2)] = null); + +(statearr_22743_22768[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (6))){ +var inst_22694 = (state_22734[(8)]); +var inst_22719 = inst_22694.length; +var inst_22720 = (inst_22719 > (0)); +var state_22734__$1 = state_22734; +if(cljs.core.truth_(inst_22720)){ +var statearr_22744_22769 = state_22734__$1; +(statearr_22744_22769[(1)] = (12)); + +} else { +var statearr_22745_22770 = state_22734__$1; +(statearr_22745_22770[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (3))){ +var inst_22732 = (state_22734[(2)]); +var state_22734__$1 = state_22734; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_22734__$1,inst_22732); +} else { +if((state_val_22735 === (12))){ +var inst_22694 = (state_22734[(8)]); +var inst_22722 = cljs.core.vec.call(null,inst_22694); +var state_22734__$1 = state_22734; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22734__$1,(15),out,inst_22722); +} else { +if((state_val_22735 === (2))){ +var state_22734__$1 = state_22734; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_22734__$1,(4),ch); +} else { +if((state_val_22735 === (11))){ +var inst_22702 = (state_22734[(10)]); +var inst_22698 = (state_22734[(9)]); +var inst_22712 = (state_22734[(2)]); +var inst_22713 = []; +var inst_22714 = inst_22713.push(inst_22698); +var inst_22694 = inst_22713; +var inst_22695 = inst_22702; +var state_22734__$1 = (function (){var statearr_22746 = state_22734; +(statearr_22746[(11)] = inst_22714); + +(statearr_22746[(7)] = inst_22695); + +(statearr_22746[(12)] = inst_22712); + +(statearr_22746[(8)] = inst_22694); + +return statearr_22746; +})(); +var statearr_22747_22771 = state_22734__$1; +(statearr_22747_22771[(2)] = null); + +(statearr_22747_22771[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (9))){ +var inst_22694 = (state_22734[(8)]); +var inst_22710 = cljs.core.vec.call(null,inst_22694); +var state_22734__$1 = state_22734; +return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,state_22734__$1,(11),out,inst_22710); +} else { +if((state_val_22735 === (5))){ +var inst_22702 = (state_22734[(10)]); +var inst_22695 = (state_22734[(7)]); +var inst_22698 = (state_22734[(9)]); +var inst_22702__$1 = f.call(null,inst_22698); +var inst_22703 = cljs.core._EQ_.call(null,inst_22702__$1,inst_22695); +var inst_22704 = cljs.core.keyword_identical_QMARK_.call(null,inst_22695,new cljs.core.Keyword("cljs.core.async","nothing","cljs.core.async/nothing",-69252123)); +var inst_22705 = ((inst_22703) || (inst_22704)); +var state_22734__$1 = (function (){var statearr_22748 = state_22734; +(statearr_22748[(10)] = inst_22702__$1); + +return statearr_22748; +})(); +if(cljs.core.truth_(inst_22705)){ +var statearr_22749_22772 = state_22734__$1; +(statearr_22749_22772[(1)] = (8)); + +} else { +var statearr_22750_22773 = state_22734__$1; +(statearr_22750_22773[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (14))){ +var inst_22727 = (state_22734[(2)]); +var inst_22728 = cljs.core.async.close_BANG_.call(null,out); +var state_22734__$1 = (function (){var statearr_22752 = state_22734; +(statearr_22752[(13)] = inst_22727); + +return statearr_22752; +})(); +var statearr_22753_22774 = state_22734__$1; +(statearr_22753_22774[(2)] = inst_22728); + +(statearr_22753_22774[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (10))){ +var inst_22717 = (state_22734[(2)]); +var state_22734__$1 = state_22734; +var statearr_22754_22775 = state_22734__$1; +(statearr_22754_22775[(2)] = inst_22717); + +(statearr_22754_22775[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_22735 === (8))){ +var inst_22702 = (state_22734[(10)]); +var inst_22694 = (state_22734[(8)]); +var inst_22698 = (state_22734[(9)]); +var inst_22707 = inst_22694.push(inst_22698); +var tmp22751 = inst_22694; +var inst_22694__$1 = tmp22751; +var inst_22695 = inst_22702; +var state_22734__$1 = (function (){var statearr_22755 = state_22734; +(statearr_22755[(14)] = inst_22707); + +(statearr_22755[(7)] = inst_22695); + +(statearr_22755[(8)] = inst_22694__$1); + +return statearr_22755; +})(); +var statearr_22756_22776 = state_22734__$1; +(statearr_22756_22776[(2)] = null); + +(statearr_22756_22776[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___22762,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___22762,out){ +return (function() { +var cljs$core$async$state_machine__20784__auto__ = null; +var cljs$core$async$state_machine__20784__auto____0 = (function (){ +var statearr_22757 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_22757[(0)] = cljs$core$async$state_machine__20784__auto__); + +(statearr_22757[(1)] = (1)); + +return statearr_22757; +}); +var cljs$core$async$state_machine__20784__auto____1 = (function (state_22734){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_22734); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e22758){if((e22758 instanceof Object)){ +var ex__20787__auto__ = e22758; +var statearr_22759_22777 = state_22734; +(statearr_22759_22777[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_22734); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e22758; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__22778 = state_22734; +state_22734 = G__22778; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +cljs$core$async$state_machine__20784__auto__ = function(state_22734){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__20784__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__20784__auto____1.call(this,state_22734); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__20784__auto____0; +cljs$core$async$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__20784__auto____1; +return cljs$core$async$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___22762,out)) +})(); +var state__20874__auto__ = (function (){var statearr_22760 = f__20873__auto__.call(null); +(statearr_22760[(6)] = c__20872__auto___22762); + +return statearr_22760; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___22762,out)) +); + + +return out; +}); + +cljs.core.async.partition_by.cljs$lang$maxFixedArity = 3; + + +//# sourceMappingURL=async.js.map?rel=1628501140153 diff --git a/examples/resources/public/js/out/cljs/core/async.js.map b/examples/resources/public/js/out/cljs/core/async.js.map new file mode 100644 index 0000000..b6d1c4b --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async.js","sources":["async.cljs?rel=1628501140183"],"lineCount":9050,"mappings":";AAAA;;;;;;;;AAWA,AAAA,6BAAA,qCAAAA,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,AAAA,2DAAA,3DAAOD,sEACHE;AADJ,AACO,8C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AA8C,qBAAA,OAAA;;AAAA,CAAAA,qBAAA,OAAA;;AAAAA;AAAA;;AAAA;;;;;;;;;;;;;;;;;;AAAA,AAAA;;;;AAAA,AAAA,IAAAC,iBAAA,CAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA,KAAA;AAAA,AAAA,CAAAA,eAAA,OAAA9mC;;AAAA,CAAA8mC,eAAA,OAAA;;AAAAA;;iEAAA\/C;;AAAA,AAAA,IAAA9jC,2BAAA,iBAAA,AAAA;AAAA,AAAA,IAAAC,wBAAA,AAAAhC,gCAAA6lC;AAAA,AAAA,GAAA,AAAA5jC,6CAAAD,sBAAA;AAAA;;AAAAA;;;;gBAAA,GAAA,CAAA6mC,kBAAA1mC;AAAA,IAAAC,oBAAAymC;AAAA,AAAA,IAAAC,uBAAAjD;AAAA,AAAA,CAAAiD,qBAAA,OAAA1mC;;AAAA0mC;AAAA,AAAAxmC,6DAAAujC;;AAAA;;AAAA,AAAA,MAAAgD;;;;AAAA,AAAA,GAAA,AAAA5mC,6CAAAF,yBAAA;AAAA,eAAA8jC;;;;AAAA9jC;;;;;wDAAA8jC;;;;;iEAAAA;;;;;;;;;;IAAAtjC,uBAAA,iBAAAwmC,iBAAA,AAAAhpC;AAAA,AAAA,CAAAgpC,eAAAtmC,AAAA,OAAA3C;;AAAAipC;;AAAA,AAAA,OAAArmC,qEAAAH;;;;AAAAzC;AAgBAugB;;;AAtBP,AAAA,uDAAA,vDAAMulB;;AAAN","names":["var_args","G__20918","cljs.core.async\/fn-handler","js\/Error","f","blockable","cljs.core.async\/t_cljs$core$async20919","_20921","meta20920","cljs.core\/PROTOCOL_SENTINEL","this__4161__auto__","writer__4162__auto__","opt__4163__auto__","cljs.core\/-write","cljs.core.async\/->t_cljs$core$async20919","_","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\/native-satisfies?","cljs.core.async.impl.protocols\/UnblockingBuffer","G__20925","cljs.core.async\/chan","buf-or-n","xform","ex-handler","cljs.core\/=","cljs.core.async.impl.channels\/chan","G__20928","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__20935","cljs.core.async\/put!","temp__4655__auto__","cljs.core.async.impl.protocols\/put!","retb","cljs.core.async\/close!","cljs.core.async.impl.protocols\/close!","cljs.core.async\/random-array","a","js\/Array","n__4376__auto__","x","i","j","cljs.core\/rand-int","cljs.core.async\/alt-flag","flag","cljs.core\/atom","cljs.core.async\/t_cljs$core$async20941","_20943","meta20942","cljs.core.async\/->t_cljs$core$async20941","cljs.core\/reset!","cljs.core.async\/alt-handler","cb","cljs.core.async\/t_cljs$core$async20944","_20946","meta20945","cljs.core.async\/->t_cljs$core$async20944","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","idx","cljs.core\/nth","wport","cljs.core\/vector?","vbox","p1__20947#","p1__20948#","cljs.core.async.impl.channels\/box","or__3922__auto__","cljs.core\/contains?","temp__4657__auto__","got","and__3911__auto__","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.core.async\/alts!","p__20952","map__20953","cljs.core\/apply","cljs.core\/hash-map","seq20950","G__20951","cljs.core\/first","cljs.core\/next","self__4486__auto__","cljs.core.async\/offer!","cljs.core.async\/poll!","G__20959","cljs.core.async\/pipe","from","to","close?","c__20872__auto__","f__20873__auto__","switch__20783__auto__","state_20983","state_val_20984","inst_20979","statearr-20985","statearr-20986","inst_20962","inst_20963","statearr-20987","statearr-20988","statearr-20989","statearr-20990","cljs.core.async.impl.ioc-helpers\/put!","inst_20981","cljs.core.async.impl.ioc-helpers\/return-chan","statearr-20991","cljs.core.async.impl.ioc-helpers\/take!","inst_20972","statearr-20992","statearr-20993","statearr-20994","statearr-20995","statearr-20996","inst_20977","statearr-20997","inst_20969","statearr-20998","inst_20966","statearr-20999","statearr-21000","state-machine__20784__auto__","ret-value__20785__auto__","result__20786__auto__","cljs.core\/keyword-identical?","e21001","js\/Object","ex__20787__auto__","statearr-21002","cljs.core.async.impl.ioc-helpers\/process-exception","state__20874__auto__","statearr-21003","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__21022","vec__21023","v","p","job","res","state_21030","state_val_21031","inst_21027","inst_21028","statearr-21032","statearr-21033","e21034","statearr-21035","statearr-21036","async","p__21037","vec__21038","G__21041","cljs.core\/Keyword","state_21054","state_val_21055","statearr-21056","inst_21052","inst_21044","inst_21045","statearr-21057","statearr-21058","statearr-21059","statearr-21060","inst_21050","statearr-21061","statearr-21062","e21063","statearr-21064","statearr-21065","state_21078","state_val_21079","statearr-21080","inst_21076","inst_21068","inst_21069","statearr-21081","statearr-21082","statearr-21083","statearr-21084","inst_21074","statearr-21085","statearr-21086","e21087","statearr-21088","statearr-21089","state_21111","state_val_21112","statearr-21113","inst_21109","inst_21092","inst_21093","statearr-21114","statearr-21115","statearr-21116","inst_21095","statearr-21117","inst_21097","inst_21098","cljs.core\/PersistentVector","inst_21099","inst_21100","statearr-21118","inst_21107","statearr-21119","inst_21102","statearr-21120","inst_21104","statearr-21121","statearr-21122","statearr-21123","e21124","statearr-21125","statearr-21126","state_21164","state_val_21165","inst_21160","statearr-21166","statearr-21167","statearr-21168","inst_21129","inst_21130","statearr-21169","statearr-21170","statearr-21171","inst_21142","inst_21155","statearr-21172","inst_21157","statearr-21173","statearr-21174","inst_21150","statearr-21175","statearr-21176","inst_21162","inst_21139","statearr-21177","statearr-21178","statearr-21179","statearr-21180","statearr-21181","statearr-21182","inst_21144","inst_21143","statearr-21183","statearr-21184","statearr-21185","statearr-21186","inst_21136","statearr-21187","inst_21147","statearr-21188","inst_21133","statearr-21189","statearr-21190","e21191","statearr-21192","statearr-21193","cljs.core\/not","G__21253","cljs.core.async\/pipeline-async","af","G__21256","cljs.core.async\/pipeline","G__21259","cljs.core.async\/split","ch","t-buf-or-n","f-buf-or-n","tc","fc","state_21285","state_val_21286","inst_21281","statearr-21287","statearr-21288","inst_21262","inst_21263","statearr-21289","statearr-21290","statearr-21291","statearr-21292","inst_21268","statearr-21293","statearr-21294","inst_21283","statearr-21295","inst_21272","statearr-21296","inst_21265","inst_21266","statearr-21297","statearr-21298","inst_21279","statearr-21299","statearr-21300","inst_21274","statearr-21301","statearr-21302","statearr-21303","e21304","statearr-21305","statearr-21306","cljs.core.async\/reduce","init","state_21345","state_val_21346","inst_21341","statearr-21347","inst_21325","statearr-21348","statearr-21349","inst_21328","inst_21329","statearr-21350","statearr-21351","statearr-21352","inst_21332","inst_21333","statearr-21353","statearr-21354","statearr-21355","inst_21343","statearr-21356","statearr-21357","statearr-21358","inst_21339","statearr-21359","inst_21335","statearr-21360","statearr-21361","e21362","statearr-21363","statearr-21364","cljs.core\/reduced?","cljs.core.async\/transduce","state_21382","state_val_21383","inst_21377","inst_21379","inst_21380","statearr-21384","e21385","statearr-21386","statearr-21387","G__21391","cljs.core.async\/onto-chan","coll","state_21416","state_val_21417","inst_21398","statearr-21418","inst_21392","inst_21393","statearr-21419","statearr-21420","inst_21396","inst_21410","statearr-21421","inst_21401","statearr-21422","statearr-21423","inst_21414","statearr-21424","statearr-21425","statearr-21426","inst_21407","statearr-21427","statearr-21428","statearr-21429","statearr-21430","inst_21412","statearr-21431","inst_21403","statearr-21432","statearr-21433","statearr-21434","e21435","statearr-21436","statearr-21437","cljs.core\/seq","cljs.core.async\/to-chan","cljs.core\/bounded-count","x__4211__auto__","m__4212__auto__","cljs\/core.async.muxch*","goog\/typeOf","cljs.core\/missing-protocol","cljs.core.async\/Mux","cljs.core.async\/muxch*","cljs\/core.async.tap*","cljs\/core.async.untap*","cljs\/core.async.untap-all*","cljs.core.async\/Mult","cljs.core.async\/tap*","m","cljs.core.async\/untap*","cljs.core.async\/untap-all*","cljs.core.async\/mult","cs","cljs.core.async\/t_cljs$core$async21455","_21457","meta21456","cljs.core.async\/->t_cljs$core$async21455","cljs.core\/swap!","cljs.core\/assoc","cljs.core\/dissoc","dchan","dctr","done","cljs.core\/dec","state_21592","state_val_21593","inst_21588","statearr-21594","inst_21491","inst_21503","inst_21504","inst_21505","statearr-21595","statearr-21596","statearr-21597","inst_21533","inst_21460","inst_21540","inst_21535","cljs.core\/-nth","inst_21541","statearr-21598","statearr-21599","statearr-21600","statearr-21601","inst_21510","inst_21511","inst_21469","inst_21470","inst_21471","inst_21472","statearr-21602","statearr-21603","statearr-21607","inst_21461","statearr-21608","statearr-21609","statearr-21610","inst_21487","inst_21488","tmp21604","tmp21605","tmp21606","statearr-21611","statearr-21612","inst_21514","statearr-21616","inst_21544","inst_21545","statearr-21617","statearr-21618","inst_21532","inst_21534","inst_21547","inst_21548","tmp21613","tmp21614","tmp21615","statearr-21619","statearr-21620","inst_21560","inst_21564","inst_21565","statearr-21621","statearr-21622","inst_21551","inst_21553","cljs.core\/chunked-seq?","statearr-21623","statearr-21624","inst_21481","inst_21484","statearr-21625","inst_21507","statearr-21626","inst_21555","cljs.core\/chunk-first","inst_21556","cljs.core\/chunk-rest","inst_21557","statearr-21627","statearr-21628","inst_21567","inst_21568","statearr-21629","statearr-21630","statearr-21631","inst_21576","statearr-21632","inst_21585","statearr-21633","statearr-21634","inst_21524","inst_21523","inst_21525","inst_21526","inst_21531","statearr-21635","statearr-21636","statearr-21637","statearr-21638","statearr-21639","inst_21537","inst_21538","statearr-21640","statearr-21641","statearr-21642","statearr-21643","inst_21590","inst_21519","statearr-21644","statearr-21645","inst_21574","statearr-21646","inst_21495","inst_21496","inst_21497","statearr-21647","statearr-21648","statearr-21649","statearr-21650","statearr-21651","inst_21521","statearr-21652","inst_21467","inst_21468","statearr-21653","statearr-21654","statearr-21655","inst_21582","statearr-21656","inst_21578","inst_21579","statearr-21657","statearr-21658","statearr-21659","inst_21493","statearr-21660","statearr-21661","inst_21571","statearr-21662","statearr-21663","inst_21480","inst_21482","statearr-21664","statearr-21665","statearr-21666","inst_21517","statearr-21667","inst_21561","statearr-21668","statearr-21669","statearr-21670","inst_21474","inst_21475","statearr-21671","statearr-21672","statearr-21673","e21674","statearr-21675","statearr-21676","cljs.core\/keys","G__21735","cljs.core.async\/tap","mult","cljs.core.async\/untap","cljs.core.async\/untap-all","cljs\/core.async.admix*","cljs\/core.async.unmix*","cljs\/core.async.unmix-all*","cljs\/core.async.toggle*","cljs\/core.async.solo-mode*","cljs.core.async\/Mix","cljs.core.async\/admix*","cljs.core.async\/unmix*","cljs.core.async\/unmix-all*","cljs.core.async\/toggle*","state-map","cljs.core.async\/solo-mode*","mode","cljs.core.async\/ioc-alts!","p__21741","map__21742","seq21737","G__21738","G__21739","G__21740","state","cont-block","statearr-21744","cljs.core.async.impl.ioc-helpers\/STATE-IDX","statearr-21745","cljs.core.async.impl.ioc-helpers\/VALUE-IDX","statearr-21746","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$async21753","_21755","meta21754","cljs.core.async\/->t_cljs$core$async21753","cljs.core\/partial","cljs.core\/merge-with","cljs.core\/merge","state_21857","state_val_21858","inst_21772","statearr-21859","inst_21784","statearr-21860","statearr-21861","inst_21759","inst_21761","inst_21762","statearr-21862","statearr-21863","statearr-21864","inst_21831","inst_21808","inst_21817","statearr-21865","statearr-21866","statearr-21867","inst_21775","statearr-21868","statearr-21869","inst_21802","statearr-21870","statearr-21871","inst_21807","cljs.core\/get","inst_21809","inst_21810","statearr-21872","inst_21839","statearr-21873","statearr-21874","inst_21816","statearr-21875","statearr-21876","inst_21791","inst_21792","inst_21793","inst_21794","inst_21795","statearr-21877","statearr-21878","inst_21815","inst_21818","inst_21819","inst_21820","statearr-21879","statearr-21880","statearr-21881","statearr-21882","statearr-21883","statearr-21884","statearr-21885","inst_21827","inst_21828","statearr-21886","statearr-21887","inst_21853","statearr-21888","inst_21851","statearr-21889","statearr-21890","statearr-21891","inst_21855","inst_21764","inst_21765","inst_21766","inst_21767","inst_21768","statearr-21892","statearr-21893","inst_21822","statearr-21894","statearr-21895","inst_21842","statearr-21896","statearr-21897","inst_21804","statearr-21898","inst_21788","inst_21789","statearr-21899","statearr-21900","statearr-21901","statearr-21902","statearr-21903","inst_21824","statearr-21904","statearr-21905","inst_21847","statearr-21906","inst_21834","inst_21835","inst_21836","inst_21837","statearr-21907","inst_21780","inst_21781","inst_21782","inst_21783","statearr-21908","statearr-21909","inst_21799","statearr-21910","statearr-21911","inst_21777","statearr-21912","statearr-21913","e21914","statearr-21915","statearr-21916","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.sub*","cljs\/core.async.unsub*","G__21967","cljs.core.async\/unsub-all*","cljs\/core.async.unsub-all*","cljs.core.async\/Pub","cljs.core.async\/sub*","cljs.core.async\/unsub*","G__21971","cljs.core.async\/pub","topic-fn","cljs.core\/constantly","buf-fn","mults","ensure-mult","topic","p1__21969#","cljs.core.async\/t_cljs$core$async21972","_21974","meta21973","cljs.core.async\/->t_cljs$core$async21972","state_22046","state_val_22047","inst_22042","statearr-22048","statearr-22049","statearr-22050","inst_22025","inst_22034","statearr-22051","inst_21977","inst_21978","statearr-22052","statearr-22053","statearr-22054","inst_22019","statearr-22055","inst_22039","statearr-22056","statearr-22057","inst_22001","inst_22003","statearr-22058","statearr-22059","inst_22031","statearr-22060","statearr-22061","inst_22027","inst_22026","statearr-22062","statearr-22063","statearr-22064","inst_22036","statearr-22065","inst_22010","inst_22011","inst_22012","inst_22013","inst_21987","inst_21988","inst_21989","inst_21990","statearr-22066","statearr-22067","inst_22044","inst_22021","statearr-22068","statearr-22069","inst_22029","statearr-22070","statearr-22071","statearr-22072","inst_22023","statearr-22073","inst_21984","inst_21985","inst_21986","statearr-22074","statearr-22075","statearr-22079","inst_22005","inst_22006","inst_22007","statearr-22080","statearr-22081","inst_21995","inst_21996","inst_21997","inst_21998","tmp22076","tmp22077","tmp22078","statearr-22082","statearr-22083","inst_22016","statearr-22084","inst_21992","inst_21993","statearr-22085","statearr-22086","statearr-22087","e22088","statearr-22089","statearr-22090","cljs.core\/vals","G__22124","cljs.core.async\/sub","cljs.core.async\/unsub","G__22127","cljs.core.async\/unsub-all","G__22130","cljs.core.async\/map","cnt","rets","cljs.core\/object-array","cljs.core\/mapv","cljs.core\/range","state_22169","state_val_22170","statearr-22171","statearr-22172","inst_22133","inst_22135","statearr-22173","statearr-22174","inst_22165","statearr-22175","inst_22158","statearr-22176","statearr-22177","inst_22167","inst_22155","inst_22156","statearr-22178","statearr-22179","statearr-22180","inst_22132","statearr-22181","statearr-22182","cljs.core.async.impl.ioc-helpers\/add-exception-frame","inst_22142","inst_22143","inst_22144","statearr-22183","inst_22146","inst_22147","statearr-22184","statearr-22185","inst_22153","statearr-22186","inst_22160","inst_22162","statearr-22187","statearr-22188","inst_22137","inst_22138","statearr-22189","statearr-22190","inst_22151","statearr-22191","statearr-22192","e22193","statearr-22194","statearr-22195","cljs.core\/some","cljs.core\/nil?","G__22217","cljs.core.async\/merge","state_22249","state_val_22250","inst_22228","inst_22229","inst_22230","inst_22231","statearr-22251","statearr-22252","statearr-22253","inst_22218","inst_22219","statearr-22254","statearr-22255","inst_22245","statearr-22256","inst_22247","inst_22221","inst_22222","statearr-22258","statearr-22259","inst_22238","tmp22257","statearr-22260","statearr-22261","inst_22243","statearr-22262","inst_22241","statearr-22263","inst_22233","vec__22224","p1__22215#","inst_22234","statearr-22264","statearr-22265","statearr-22266","e22267","statearr-22268","statearr-22269","cljs.core\/filterv","cljs.core\/not=","cljs.core.async\/into","G__22285","cljs.core.async\/take","state_22309","state_val_22310","inst_22291","inst_22292","inst_22293","statearr-22311","statearr-22312","statearr-22313","inst_22286","statearr-22314","statearr-22315","inst_22304","statearr-22316","inst_22306","inst_22307","statearr-22317","inst_22288","statearr-22318","statearr-22319","inst_22296","inst_22297","statearr-22320","statearr-22321","statearr-22322","statearr-22323","inst_22301","statearr-22324","statearr-22325","e22326","statearr-22327","statearr-22328","cljs.core.async\/map<","cljs.core.async\/t_cljs$core$async22344","_22346","meta22345","cljs.core.async\/->t_cljs$core$async22344","cljs.core.async.impl.protocols\/closed?","cljs.core.async\/t_cljs$core$async22347","_22349","meta22348","cljs.core.async\/->t_cljs$core$async22347","p1__22343#","f1","cljs.core.async\/map>","cljs.core.async\/t_cljs$core$async22350","_22352","meta22351","cljs.core.async\/->t_cljs$core$async22350","cljs.core.async\/filter>","cljs.core.async\/t_cljs$core$async22353","_22355","meta22354","cljs.core.async\/->t_cljs$core$async22353","cljs.core.async\/remove>","cljs.core\/complement","G__22357","cljs.core.async\/filter<","state_22378","state_val_22379","inst_22374","statearr-22380","statearr-22381","inst_22360","inst_22361","statearr-22382","statearr-22383","statearr-22384","inst_22365","statearr-22385","statearr-22386","inst_22376","inst_22368","statearr-22387","statearr-22388","inst_22363","statearr-22389","inst_22371","statearr-22390","statearr-22391","statearr-22392","e22393","statearr-22394","statearr-22395","G__22411","cljs.core.async\/remove<","cljs.core.async\/mapcat*","in","state_22474","state_val_22475","inst_22470","statearr-22476","inst_22440","inst_22451","inst_22452","inst_22426","inst_22427","inst_22428","inst_22429","statearr-22477","statearr-22478","statearr-22479","inst_22415","inst_22416","statearr-22480","statearr-22481","statearr-22482","statearr-22486","statearr-22487","inst_22436","inst_22437","tmp22483","tmp22484","tmp22485","statearr-22488","statearr-22489","statearr-22490","inst_22424","inst_22425","statearr-22491","statearr-22492","inst_22444","inst_22445","inst_22446","statearr-22493","statearr-22494","inst_22472","inst_22460","statearr-22495","inst_22468","statearr-22496","inst_22455","statearr-22497","statearr-22498","statearr-22499","statearr-22500","inst_22462","inst_22463","statearr-22501","statearr-22502","statearr-22503","inst_22418","statearr-22504","inst_22442","statearr-22505","statearr-22506","inst_22458","statearr-22507","inst_22434","inst_22449","inst_22431","inst_22432","statearr-22508","statearr-22509","statearr-22510","e22511","statearr-22512","statearr-22513","G__22541","cljs.core.async\/mapcat<","G__22544","cljs.core.async\/mapcat>","G__22547","cljs.core.async\/unique","state_22571","state_val_22572","inst_22566","statearr-22573","inst_22548","statearr-22574","statearr-22575","inst_22551","inst_22552","inst_22553","statearr-22576","statearr-22577","statearr-22578","statearr-22579","inst_22568","inst_22569","statearr-22580","inst_22560","statearr-22581","statearr-22582","inst_22555","statearr-22584","statearr-22585","inst_22563","statearr-22586","tmp22583","statearr-22587","statearr-22588","statearr-22589","e22590","statearr-22591","statearr-22592","G__22608","cljs.core.async\/partition","state_22646","state_val_22647","inst_22642","statearr-22648","inst_22609","inst_22610","inst_22611","statearr-22649","statearr-22650","inst_22614","inst_22615","inst_22616","statearr-22651","statearr-22652","statearr-22653","inst_22636","statearr-22654","statearr-22655","inst_22632","statearr-22656","statearr-22657","inst_22644","inst_22634","inst_22626","inst_22627","statearr-22658","statearr-22659","inst_22624","inst_22619","inst_22618","inst_22620","statearr-22660","statearr-22661","statearr-22662","inst_22639","inst_22640","statearr-22664","statearr-22665","inst_22630","statearr-22666","tmp22663","statearr-22667","statearr-22668","statearr-22669","e22670","statearr-22671","statearr-22672","G__22692","cljs.core.async\/partition-by","state_22734","state_val_22735","inst_22730","statearr-22736","inst_22693","inst_22694","inst_22695","statearr-22737","statearr-22738","inst_22698","inst_22699","inst_22700","statearr-22739","statearr-22740","statearr-22741","inst_22724","statearr-22742","statearr-22743","inst_22719","inst_22720","statearr-22744","statearr-22745","inst_22732","inst_22722","inst_22702","inst_22712","inst_22713","inst_22714","statearr-22746","statearr-22747","inst_22710","inst_22703","inst_22704","inst_22705","statearr-22748","statearr-22749","statearr-22750","inst_22727","inst_22728","statearr-22752","statearr-22753","inst_22717","statearr-22754","inst_22707","tmp22751","statearr-22755","statearr-22756","statearr-22757","e22758","statearr-22759","statearr-22760"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs b/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs new file mode 100644 index 0000000..b981819 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs @@ -0,0 +1,159 @@ +;; Copyright (c) Rich Hickey and contributors. All rights reserved. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.core.async.impl.buffers + (:require [cljs.core.async.impl.protocols :as impl])) + +;; ----------------------------------------------------------------------------- +;; DO NOT USE, this is internal buffer representation + +(defn acopy [src src-start dest dest-start len] + (loop [cnt 0] + (when (< cnt len) + (aset dest + (+ dest-start cnt) + (aget src (+ src-start cnt))) + (recur (inc cnt))))) + +(deftype RingBuffer [^:mutable head ^:mutable tail ^:mutable length ^:mutable arr] + Object + (pop [_] + (when-not (zero? length) + (let [x (aget arr tail)] + (aset arr tail nil) + (set! tail (js-mod (inc tail) (alength arr))) + (set! length (dec length)) + x))) + + (unshift [_ x] + (aset arr head x) + (set! head (js-mod (inc head) (alength arr))) + (set! length (inc length)) + nil) + + (unbounded-unshift [this x] + (if (== (inc length) (alength arr)) + (.resize this)) + (.unshift this x)) + + ;; Doubles the size of the buffer while retaining all the existing values + (resize + [_] + (let [new-arr-size (* (alength arr) 2) + new-arr (make-array new-arr-size)] + (cond + (< tail head) + (do (acopy arr tail new-arr 0 length) + (set! tail 0) + (set! head length) + (set! arr new-arr)) + + (> tail head) + (do (acopy arr tail new-arr 0 (- (alength arr) tail)) + (acopy arr 0 new-arr (- (alength arr) tail) head) + (set! tail 0) + (set! head length) + (set! arr new-arr)) + + (== tail head) + (do (set! tail 0) + (set! head 0) + (set! arr new-arr))))) + + (cleanup [this keep?] + (dotimes [x length] + (let [v (.pop this)] + (when ^boolean (keep? v) + (.unshift this v)))))) + +(defn ring-buffer [n] + (assert (> n 0) "Can't create a ring buffer of size 0") + (RingBuffer. 0 0 0 (make-array n))) + +;; ----------------------------------------------------------------------------- + +(deftype FixedBuffer [buf n] + impl/Buffer + (full? [this] + (== (.-length buf) n)) + (remove! [this] + (.pop buf)) + (add!* [this itm] + (.unbounded-unshift buf itm) + this) + (close-buf! [this]) + cljs.core/ICounted + (-count [this] + (.-length buf))) + +(defn fixed-buffer [n] + (FixedBuffer. (ring-buffer n) n)) + +(deftype DroppingBuffer [buf n] + impl/UnblockingBuffer + impl/Buffer + (full? [this] + false) + (remove! [this] + (.pop buf)) + (add!* [this itm] + (when-not (== (.-length buf) n) + (.unshift buf itm)) + this) + (close-buf! [this]) + cljs.core/ICounted + (-count [this] + (.-length buf))) + +(defn dropping-buffer [n] + (DroppingBuffer. (ring-buffer n) n)) + +(deftype SlidingBuffer [buf n] + impl/UnblockingBuffer + impl/Buffer + (full? [this] + false) + (remove! [this] + (.pop buf)) + (add!* [this itm] + (when (== (.-length buf) n) + (impl/remove! this)) + (.unshift buf itm) + this) + (close-buf! [this]) + cljs.core/ICounted + (-count [this] + (.-length buf))) + +(defn sliding-buffer [n] + (SlidingBuffer. (ring-buffer n) n)) + +(defonce ^:private NO-VAL (js/Object.)) +(defn- undelivered? [val] + (identical? NO-VAL val)) + +(deftype PromiseBuffer [^:mutable val] + impl/UnblockingBuffer + impl/Buffer + (full? [_] + false) + (remove! [_] + val) + (add!* [this itm] + (when (undelivered? val) + (set! val itm)) + this) + (close-buf! [_] + (when (undelivered? val) + (set! val nil))) + cljs.core/ICounted + (-count [_] + (if (undelivered? val) 0 1))) + +(defn promise-buffer [] + (PromiseBuffer. NO-VAL)) diff --git a/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs.cache.json new file mode 100644 index 0000000..187a815 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Array",["^ "],"~$Error",["^ "],"~$Object",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.core.async.impl.buffers","~:imports",null,"~:requires",["^ ","~$impl","~$cljs.core.async.impl.protocols","^>","^>"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$->PromiseBuffer",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:protocols",["^8",["~$cljs.core/ICounted","~$cljs.core.async.impl.protocols/UnblockingBuffer","~$cljs.core.async.impl.protocols/Buffer"]],"~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","~:end-column",23,"~:column",10,"~:factory","~:positional","~:line",140,"~:end-line",140,"~:arglists",["~#list",["~$quote",["^Q",[["~$val"]]]]],"~:skip-protocol-flag",["^8",["^F"]],"~:doc","Positional factory function for cljs.core.async.impl.buffers/PromiseBuffer."],"^E",["^8",["^F","^G","^H"]],"^9","~$cljs.core.async.impl.buffers/->PromiseBuffer","~:variadic",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",23,"~:method-params",["^Q",[["^S"]]],"~:protocol-impl",null,"~:arglists-meta",["^Q",[null,null]],"^K",1,"^L","^M","^N",140,"^O",140,"~:max-fixed-arity",1,"~:fn-var",true,"^P",["^Q",["^R",["^Q",[["^S"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/PromiseBuffer."],"~$RingBuffer",["^ ","~:num-fields",4,"^E",["^8",["~$cljs.core.async.impl.buffers/Object"]],"^9","~$cljs.core.async.impl.buffers/RingBuffer","^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",20,"~:type",true,"^K",10,"^N",23,"~:record",false,"^O",23,"^T",null],"~$undelivered?",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",137,"^K",8,"^O",137,"^J",20,"~:private",true,"^P",["^Q",["^R",["^Q",[["^S"]]]]]],"^18",true,"^9","~$cljs.core.async.impl.buffers/undelivered?","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",20,"^X",["^Q",[["^S"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",137,"^O",137,"^[",1,"^10",true,"^P",["^Q",["^R",["^Q",[["^S"]]]]]],"~$->DroppingBuffer",["^ ","^C",null,"^D",["^ ","^E",["^8",["^F","^G","^H"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",24,"^K",10,"^L","^M","^N",97,"^O",97,"^P",["^Q",["^R",["^Q",[["~$buf","~$n"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/DroppingBuffer."],"^E",["^8",["^F","^G","^H"]],"^9","~$cljs.core.async.impl.buffers/->DroppingBuffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",24,"^X",["^Q",[["^1;","~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^L","^M","^N",97,"^O",97,"^[",2,"^10",true,"^P",["^Q",["^R",["^Q",[["^1;","~$n"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/DroppingBuffer."],"~$dropping-buffer",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",113,"^K",7,"^O",113,"^J",22,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"^9","~$cljs.core.async.impl.buffers/dropping-buffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",22,"^X",["^Q",[["~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",113,"^O",113,"^[",1,"^10",true,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"~$fixed-buffer",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",94,"^K",7,"^O",94,"^J",19,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"^9","~$cljs.core.async.impl.buffers/fixed-buffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",19,"^X",["^Q",[["~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",94,"^O",94,"^[",1,"^10",true,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"~$->FixedBuffer",["^ ","^C",null,"^D",["^ ","^E",["^8",["^F","^H"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",21,"^K",10,"^L","^M","^N",80,"^O",80,"^P",["^Q",["^R",["^Q",[["^1;","~$n"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/FixedBuffer."],"^E",["^8",["^F","^H"]],"^9","~$cljs.core.async.impl.buffers/->FixedBuffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",21,"^X",["^Q",[["^1;","~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^L","^M","^N",80,"^O",80,"^[",2,"^10",true,"^P",["^Q",["^R",["^Q",[["^1;","~$n"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/FixedBuffer."],"~$PromiseBuffer",["^ ","^12",1,"^E",["^8",["^F","^G","^H"]],"^9","~$cljs.core.async.impl.buffers/PromiseBuffer","^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",23,"^15",true,"^K",10,"^N",140,"^16",false,"^O",140,"^T",["^8",["^F"]]],"~$SlidingBuffer",["^ ","^12",2,"^E",["^8",["^F","^G","^H"]],"^9","~$cljs.core.async.impl.buffers/SlidingBuffer","^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",23,"^15",true,"^K",10,"^N",116,"^16",false,"^O",116,"^T",["^8",["^F"]]],"~$ring-buffer",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",74,"^K",7,"^O",74,"^J",18,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"^9","~$cljs.core.async.impl.buffers/ring-buffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",18,"^X",["^Q",[["~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",74,"^O",74,"^[",1,"^10",true,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"~$sliding-buffer",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",133,"^K",7,"^O",133,"^J",21,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"^9","~$cljs.core.async.impl.buffers/sliding-buffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",21,"^X",["^Q",[["~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",133,"^O",133,"^[",1,"^10",true,"^P",["^Q",["^R",["^Q",[["~$n"]]]]]],"~$->RingBuffer",["^ ","^C",null,"^D",["^ ","^E",["^8",["^13"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",20,"^K",10,"^L","^M","^N",23,"^O",23,"^P",["^Q",["^R",["^Q",[["~$head","~$tail","~$length","~$arr"]]]]],"^T",null,"^U","Positional factory function for cljs.core.async.impl.buffers/RingBuffer."],"^E",["^8",["^13"]],"^9","~$cljs.core.async.impl.buffers/->RingBuffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",20,"^X",["^Q",[["^1L","^1M","^1N","^1O"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^L","^M","^N",23,"^O",23,"^[",4,"^10",true,"^P",["^Q",["^R",["^Q",[["^1L","^1M","^1N","^1O"]]]]],"^T",null,"^U","Positional factory function for cljs.core.async.impl.buffers/RingBuffer."],"~$FixedBuffer",["^ ","^12",2,"^E",["^8",["^F","^H"]],"^9","~$cljs.core.async.impl.buffers/FixedBuffer","^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",21,"^15",true,"^K",10,"^N",80,"^16",false,"^O",80,"^T",["^8",["^F"]]],"~$acopy",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",15,"^K",7,"^O",15,"^J",12,"^P",["^Q",["^R",["^Q",[["~$src","~$src-start","~$dest","~$dest-start","~$len"]]]]]],"^9","~$cljs.core.async.impl.buffers/acopy","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",12,"^X",["^Q",[["^1T","^1U","^1V","^1W","^1X"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",15,"^O",15,"^[",5,"^10",true,"^P",["^Q",["^R",["^Q",[["^1T","^1U","^1V","^1W","^1X"]]]]]],"~$NO-VAL",["^ ","^9","~$cljs.core.async.impl.buffers/NO-VAL","^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",136,"^K",1,"^O",136,"^J",26,"^18",true,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",136,"^K",20,"^O",136,"^J",26,"^18",true],"~:tag","~$object"],"~$->SlidingBuffer",["^ ","^C",null,"^D",["^ ","^E",["^8",["^F","^G","^H"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",23,"^K",10,"^L","^M","^N",116,"^O",116,"^P",["^Q",["^R",["^Q",[["^1;","~$n"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/SlidingBuffer."],"^E",["^8",["^F","^G","^H"]],"^9","~$cljs.core.async.impl.buffers/->SlidingBuffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",23,"^X",["^Q",[["^1;","~$n"]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^L","^M","^N",116,"^O",116,"^[",2,"^10",true,"^P",["^Q",["^R",["^Q",[["^1;","~$n"]]]]],"^T",["^8",["^F"]],"^U","Positional factory function for cljs.core.async.impl.buffers/SlidingBuffer."],"~$DroppingBuffer",["^ ","^12",2,"^E",["^8",["^F","^G","^H"]],"^9","~$cljs.core.async.impl.buffers/DroppingBuffer","^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",24,"^15",true,"^K",10,"^N",97,"^16",false,"^O",97,"^T",["^8",["^F"]]],"~$promise-buffer",["^ ","^C",null,"^D",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/buffers.cljs","^N",158,"^K",7,"^O",158,"^J",21,"^P",["^Q",["^R",["^Q",[[]]]]]],"^9","~$cljs.core.async.impl.buffers/promise-buffer","^W",false,"^I","resources/public/js/out/cljs/core/async/impl/buffers.cljs","^J",21,"^X",["^Q",[[]]],"^Y",null,"^Z",["^Q",[null,null]],"^K",1,"^N",158,"^O",158,"^[",0,"^10",true,"^P",["^Q",["^R",["^Q",[[]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^8",["^1;","^1O","~$n","^S","^1L","~:mutable","^1M","^1N"]],"~:order",["^1L","^2<","^1M","^1N","^1O","^1;","~$n","^S"]],"^U",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/buffers.js b/examples/resources/public/js/out/cljs/core/async/impl/buffers.js new file mode 100644 index 0000000..b6fa2ce --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/buffers.js @@ -0,0 +1,466 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async.impl.buffers'); +goog.require('cljs.core'); +goog.require('cljs.core.async.impl.protocols'); +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__19707 = (cnt + (1)); +cnt = G__19707; +continue; +} else { +return null; +} +break; +} +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.buffers.Object} +*/ +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.call(null,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.call(null,self__.arr,self__.tail,new_arr,(0),(self__.arr.length - self__.tail)); + +cljs.core.async.impl.buffers.acopy.call(null,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__4376__auto__ = self__.length; +var x = (0); +while(true){ +if((x < n__4376__auto__)){ +var v_19708 = this$.pop(); +if(keep_QMARK_.call(null,v_19708)){ +this$.unshift(v_19708); +} else { +} + +var G__19709 = (x + (1)); +x = G__19709; +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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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.call(null,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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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.call(null,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)){ +cljs.core.async.impl.protocols.remove_BANG_.call(null,this$__$1); +} 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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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.call(null,n),n)); +}); +if(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.truth_(cljs.core.async.impl.buffers.undelivered_QMARK_.call(null,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.truth_(cljs.core.async.impl.buffers.undelivered_QMARK_.call(null,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.truth_(cljs.core.async.impl.buffers.undelivered_QMARK_.call(null,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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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=buffers.js.map?rel=1628501138296 diff --git a/examples/resources/public/js/out/cljs/core/async/impl/buffers.js.map b/examples/resources/public/js/out/cljs/core/async/impl/buffers.js.map new file mode 100644 index 0000000..8577ce8 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/buffers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async\/impl\/buffers.js","sources":["buffers.cljs?rel=1628501138298"],"lineCount":466,"mappings":";AAQA;;;AAMA,qCAAA,rCAAMA,kFAAOC,IAAIC,UAAUC,KAAKC,WAAWC;AAA3C,AACE,UAAA,NAAOC;;AAAP,AACE,GAAM,CAAGA,MAAID;AAAb,AACE,CAAMF,KACA,CAAGC,aAAWE,QACd,CAAML,IAA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A,2CAAA,0DAAA;;;AAAA,AAAA,4DAAA,5DAASA;;AAAT,AAAA,+DAAA,\/DAASA;;AAAT,AAAA,oEAAA,WAAAvC,mBAAAC,qBAAAC,vHAASqC;AAAT,AAAA,OAAApC,2BAAAF,qBAAA;;;AAAA;;;kDAAA,lDAASuC,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__4161__auto__","writer__4162__auto__","opt__4163__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__4376__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.protocols\/remove!","cljs.core.async.impl.buffers\/sliding-buffer","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"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs b/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs new file mode 100644 index 0000000..ce9b2fd --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs @@ -0,0 +1,192 @@ +;; Copyright (c) Rich Hickey and contributors. All rights reserved. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.core.async.impl.channels + (:require [cljs.core.async.impl.protocols :as impl] + [cljs.core.async.impl.dispatch :as dispatch] + [cljs.core.async.impl.buffers :as buffers])) + + + +(defn box [val] + (reify cljs.core/IDeref + (-deref [_] val))) + +(deftype PutBox [handler val]) + +(defn put-active? [box] + (impl/active? (.-handler box))) + +(def ^:const MAX_DIRTY 64) + +(defprotocol MMC + (abort [this])) + +(deftype ManyToManyChannel [takes ^:mutable dirty-takes puts ^:mutable dirty-puts ^not-native buf ^:mutable closed add!] + MMC + (abort [this] + (loop [] + (let [putter (.pop puts)] + (when-not (nil? putter) + (let [^not-native put-handler (.-handler putter) + val (.-val putter)] + (if ^boolean (impl/active? put-handler) + (let [put-cb (impl/commit put-handler)] + (dispatch/run #(put-cb true))) + (recur)))))) + (.cleanup puts (constantly false)) + (impl/close! this)) + impl/WritePort + (put! [this val ^not-native handler] + (assert (not (nil? val)) "Can't put nil in on a channel") + ;; bug in CLJS compiler boolean inference - David + (let [^boolean closed closed] + (if (or closed (not ^boolean (impl/active? handler))) + (box (not closed)) + (if (and buf (not (impl/full? buf))) + (do + (impl/commit handler) + (let [done? (reduced? (add! buf val)) + take-cbs (loop [takers []] + (if (and (pos? (.-length takes)) (pos? (count buf))) + (let [^not-native taker (.pop takes)] + (if ^boolean (impl/active? taker) + (let [ret (impl/commit taker) + val (impl/remove! buf)] + (recur (conj takers (fn [] (ret val))))) + (recur takers))) + takers))] + (when done? (abort this)) + (when (seq take-cbs) + (doseq [f take-cbs] + (dispatch/run f))) + (box true))) + (let [taker (loop [] + (let [^not-native taker (.pop takes)] + (when taker + (if (impl/active? taker) + taker + (recur)))))] + (if taker + (let [take-cb (impl/commit taker)] + (impl/commit handler) + (dispatch/run (fn [] (take-cb val))) + (box true)) + (do + (if (> dirty-puts MAX_DIRTY) + (do (set! dirty-puts 0) + (.cleanup puts put-active?)) + (set! dirty-puts (inc dirty-puts))) + (when (impl/blockable? handler) + (assert (< (.-length puts) impl/MAX-QUEUE-SIZE) + (str "No more than " impl/MAX-QUEUE-SIZE + " pending puts are allowed on a single channel." + " Consider using a windowed buffer.")) + (.unbounded-unshift puts (PutBox. handler val))) + nil))))))) + impl/ReadPort + (take! [this ^not-native handler] + (if (not ^boolean (impl/active? handler)) + nil + (if (and (not (nil? buf)) (pos? (count buf))) + (do + (if-let [take-cb (impl/commit handler)] + (let [val (impl/remove! buf) + [done? cbs] (when (pos? (.-length puts)) + (loop [cbs []] + (let [putter (.pop puts) + ^not-native put-handler (.-handler putter) + val (.-val putter) + cb (and ^boolean (impl/active? put-handler) (impl/commit put-handler)) + cbs (if cb (conj cbs cb) cbs) + done? (when cb (reduced? (add! buf val)))] + (if (and (not done?) (not (impl/full? buf)) (pos? (.-length puts))) + (recur cbs) + [done? cbs]))))] + (when done? + (abort this)) + (doseq [cb cbs] + (dispatch/run #(cb true))) + (box val)))) + (let [putter (loop [] + (let [putter (.pop puts)] + (when putter + (if ^boolean (impl/active? (.-handler putter)) + putter + (recur)))))] + (if putter + (let [put-cb (impl/commit (.-handler putter))] + (impl/commit handler) + (dispatch/run #(put-cb true)) + (box (.-val putter))) + (if closed + (do + (when buf (add! buf)) + (if (and (impl/active? handler) (impl/commit handler)) + (let [has-val (and buf (pos? (count buf)))] + (let [val (when has-val (impl/remove! buf))] + (box val))) + nil)) + (do + (if (> dirty-takes MAX_DIRTY) + (do (set! dirty-takes 0) + (.cleanup takes impl/active?)) + (set! dirty-takes (inc dirty-takes))) + (when (impl/blockable? handler) + (assert (< (.-length takes) impl/MAX-QUEUE-SIZE) + (str "No more than " impl/MAX-QUEUE-SIZE + " pending takes are allowed on a single channel.")) + (.unbounded-unshift takes handler)) + nil))))))) + impl/Channel + (closed? [_] closed) + (close! [this] + (if ^boolean closed + nil + (do (set! closed true) + (when (and buf (zero? (.-length puts))) + (add! buf)) + (loop [] + (let [^not-native taker (.pop takes)] + (when-not (nil? taker) + (when ^boolean (impl/active? taker) + (let [take-cb (impl/commit taker) + val (when (and buf (pos? (count buf))) (impl/remove! buf))] + (dispatch/run (fn [] (take-cb val))))) + (recur)))) + (when buf (impl/close-buf! buf)) + nil)))) + +(defn- ex-handler [ex] + (.log js/console ex) + nil) + +(defn- handle [buf exh t] + (let [else ((or exh ex-handler) t)] + (if (nil? else) + buf + (impl/add! buf else)))) + +(defn chan + ([buf] (chan buf nil)) + ([buf xform] (chan buf xform nil)) + ([buf xform exh] + (ManyToManyChannel. (buffers/ring-buffer 32) 0 (buffers/ring-buffer 32) + 0 buf false + (let [add! (if xform (xform impl/add!) impl/add!)] + (fn + ([buf] + (try + (add! buf) + (catch :default t + (handle buf exh t)))) + ([buf val] + (try + (add! buf val) + (catch :default t + (handle buf exh t))))))))) diff --git a/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs.cache.json new file mode 100644 index 0000000..7b10979 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$console",["^ ","~$log",["^ "]]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.core.async.impl.channels","~:imports",null,"~:requires",["^ ","~$impl","~$cljs.core.async.impl.protocols","^>","^>","~$dispatch","~$cljs.core.async.impl.dispatch","^@","^@","~$buffers","~$cljs.core.async.impl.buffers","^B","^B"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$put-active?",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","~:line",22,"~:column",7,"~:end-line",22,"~:end-column",18,"~:arglists",["~#list",["~$quote",["^O",[["~$box"]]]]]],"^9","~$cljs.core.async.impl.channels/put-active?","~:variadic",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",18,"~:method-params",["^O",[["^Q"]]],"~:protocol-impl",null,"~:arglists-meta",["^O",[null,null]],"^K",1,"^J",22,"^L",22,"~:max-fixed-arity",1,"~:fn-var",true,"^N",["^O",["^P",["^O",[["^Q"]]]]]],"~$chan",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",175,"^K",7,"^L",175,"^M",11,"^N",["^O",["^P",["^O",[["~$buf"],["^Z","~$xform"],["^Z","^[","~$exh"]]]]],"~:top-fn",["^ ","^S",false,"^W",3,"^T",["^O",[["^Z"],["^Z","^["],["^Z","^[","^10"]]],"^N",["^O",[["^Z"],["^Z","^["],["^Z","^[","^10"]]],"^V",["^O",[null,null,null]]]],"^9","~$cljs.core.async.impl.channels/chan","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",11,"^11",["^ ","^S",false,"^W",3,"^T",["^O",[["^Z"],["^Z","^["],["^Z","^[","^10"]]],"^N",["^O",[["^Z"],["^Z","^["],["^Z","^[","^10"]]],"^V",["^O",[null,null,null]]],"^T",["^O",[["^Z"],["^Z","^["],["^Z","^[","^10"]]],"^U",null,"^V",["^O",[null,null,null]],"^K",1,"^J",175,"^L",175,"^W",3,"^X",true,"^N",["^O",[["^Z"],["^Z","^["],["^Z","^[","^10"]]]],"~$t_cljs$core$async$impl$channels19717",["^ ","~:num-fields",2,"~:protocols",["^8",["~$cljs.core/IMeta","~$cljs.core/IDeref","~$cljs.core/IWithMeta"]],"^9","~$cljs.core.async.impl.channels/t_cljs$core$async$impl$channels19717","^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","~:type",true,"~:anonymous",true,"^K",3,"^J",17,"~:record",false,"~:skip-protocol-flag",["^8",["^16","^17","^18"]]],"^Q",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",16,"^K",7,"^L",16,"^M",10,"^N",["^O",["^P",["^O",[["~$val"]]]]]],"^9","~$cljs.core.async.impl.channels/box","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",10,"^T",["^O",[["^1>"]]],"^U",null,"^V",["^O",[null,null]],"^K",1,"^J",16,"^L",16,"^W",1,"^X",true,"^N",["^O",["^P",["^O",[["^1>"]]]]]],"~$MMC",["^ ","^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",27,"^K",14,"^L",27,"^M",17,"~:doc",null,"~:protocol-symbol",true,"~:jsdoc",["^O",["@interface"]],"~:protocol-info",["^ ","~:methods",["^ ","~$abort",[["~$this"]]]]],"^1B",true,"^9","~$cljs.core.async.impl.channels/MMC","^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",17,"^K",1,"^J",27,"^1D",["^ ","^1E",["^ ","^1F",[["^1G"]]]],"~:info",null,"^L",27,"~:tag","~$any","~:impls",["^8",["~$cljs.core.async.impl.channels/ManyToManyChannel"]],"^1A",null,"^1C",["^O",["@interface"]]],"~$->PutBox",["^ ","^G",null,"^H",["^ ","^15",["^8",[]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",16,"^K",10,"~:factory","~:positional","^J",20,"^L",20,"^N",["^O",["^P",["^O",[["~$handler","^1>"]]]]],"^1=",null,"^1A","Positional factory function for cljs.core.async.impl.channels/PutBox."],"^15",["^8",[]],"^9","~$cljs.core.async.impl.channels/->PutBox","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",16,"^T",["^O",[["^1Q","^1>"]]],"^U",null,"^V",["^O",[null,null]],"^K",1,"^1O","^1P","^J",20,"^L",20,"^W",2,"^X",true,"^N",["^O",["^P",["^O",[["^1Q","^1>"]]]]],"^1=",null,"^1A","Positional factory function for cljs.core.async.impl.channels/PutBox."],"^1F",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",28,"^K",4,"^L",28,"^M",9,"~:protocol","^1H","^1A",null,"^N",["^O",["^P",["^O",[["^1G"]]]]]],"^1S","^1H","^9","~$cljs.core.async.impl.channels/abort","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",9,"^T",["^O",[["^1G"]]],"^U",null,"^V",["^O",[null,null]],"^K",1,"^J",27,"^L",28,"^W",1,"^X",true,"^N",["^O",["^P",["^O",[["^1G"]]]]],"^1A",null],"~$ex-handler",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",165,"^K",8,"^L",165,"^M",18,"~:private",true,"^N",["^O",["^P",["^O",[["~$ex"]]]]]],"^1V",true,"^9","~$cljs.core.async.impl.channels/ex-handler","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",18,"^T",["^O",[["^1W"]]],"^U",null,"^V",["^O",[null,null]],"^K",1,"^J",165,"^L",165,"^W",1,"^X",true,"^N",["^O",["^P",["^O",[["^1W"]]]]]],"~$->t_cljs$core$async$impl$channels19717",["^ ","^G",null,"^H",["^ ","^1;",true,"^15",["^8",["^16","^17","^18"]],"^1=",["^8",["^16","^17","^18"]],"^1O","^1P","^N",["^O",["^P",["^O",[["^1>","~$meta19718"]]]]],"^1A","Positional factory function for cljs.core.async.impl.channels/t_cljs$core$async$impl$channels19717.","^I",null],"^15",["^8",["^16","^17","^18"]],"^9","~$cljs.core.async.impl.channels/->t_cljs$core$async$impl$channels19717","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^T",["^O",[["^1>","^1Z"]]],"^U",null,"^V",["^O",[null,null]],"^1;",true,"^K",3,"^1O","^1P","^J",17,"^W",2,"^X",true,"^N",["^O",["^P",["^O",[["^1>","^1Z"]]]]],"^1=",["^8",["^16","^17","^18"]],"^1A","Positional factory function for cljs.core.async.impl.channels/t_cljs$core$async$impl$channels19717."],"~$MAX_DIRTY",["^ ","^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",25,"^K",14,"^L",25,"^M",23,"~:const",true],"^9","~$cljs.core.async.impl.channels/MAX_DIRTY","^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",23,"~:const-expr",["^ ","~:op","~:constant","~:env",["^ ","~:context","~:expr"],"~:form",64,"^1J","~$number"],"^K",1,"^21",true,"^J",25,"^L",25,"^1J","^2:"],"~$ManyToManyChannel",["^ ","^14",7,"^15",["^8",["^1H","~$cljs.core.async.impl.protocols/Channel","~$cljs.core.async.impl.protocols/WritePort","~$cljs.core.async.impl.protocols/ReadPort"]],"^9","^1M","^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",27,"^1:",true,"^K",10,"^J",30,"^1<",false,"^L",30,"^1=",null],"~$handle",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^J",169,"^K",8,"^L",169,"^M",14,"^1V",true,"^N",["^O",["^P",["^O",[["^Z","^10","~$t"]]]]]],"^1V",true,"^9","~$cljs.core.async.impl.channels/handle","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",14,"^T",["^O",[["^Z","^10","~$t"]]],"^U",null,"^V",["^O",[null,null]],"^K",1,"^J",169,"^L",169,"^W",3,"^X",true,"^N",["^O",["^P",["^O",[["^Z","^10","~$t"]]]]]],"~$->ManyToManyChannel",["^ ","^G",null,"^H",["^ ","^15",["^8",["^1H","^2<","^2=","^2>"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",27,"^K",10,"^1O","^1P","^J",30,"^L",30,"^N",["^O",["^P",["^O",[["~$takes","~$dirty-takes","~$puts","~$dirty-puts","^Z","~$closed","~$add!"]]]]],"^1=",null,"^1A","Positional factory function for cljs.core.async.impl.channels/ManyToManyChannel."],"^15",["^8",["^1H","^2<","^2=","^2>"]],"^9","~$cljs.core.async.impl.channels/->ManyToManyChannel","^S",false,"^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",27,"^T",["^O",[["^2B","^2C","^2D","^2E","^Z","^2F","^2G"]]],"^U",null,"^V",["^O",[null,null]],"^K",1,"^1O","^1P","^J",30,"^L",30,"^W",7,"^X",true,"^N",["^O",["^P",["^O",[["^2B","^2C","^2D","^2E","^Z","^2F","^2G"]]]]],"^1=",null,"^1A","Positional factory function for cljs.core.async.impl.channels/ManyToManyChannel."],"~$PutBox",["^ ","^14",2,"^15",["^8",[]],"^9","~$cljs.core.async.impl.channels/PutBox","^I","resources/public/js/out/cljs/core/async/impl/channels.cljs","^M",16,"^1:",true,"^K",10,"^J",20,"^1<",false,"^L",20,"^1=",null]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^8",["^1Z","^2D","^1Q","^2F","^Z","^2G","~$not-native","^1>","^1J","~:mutable","^2C","^2E","^2B"]],"~:order",["^1>","^1Z","^1Q","^2B","^2C","^2P","^2D","^2E","^Z","^1J","^2O","^2F","^2G"]],"^1A",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/channels.js b/examples/resources/public/js/out/cljs/core/async/impl/channels.js new file mode 100644 index 0000000..0a0b2dd --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/channels.js @@ -0,0 +1,685 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async.impl.channels'); +goog.require('cljs.core'); +goog.require('cljs.core.async.impl.protocols'); +goog.require('cljs.core.async.impl.dispatch'); +goog.require('cljs.core.async.impl.buffers'); +cljs.core.async.impl.channels.box = (function cljs$core$async$impl$channels$box(val){ +if(typeof cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IDeref} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717 = (function (val,meta19718){ +this.val = val; +this.meta19718 = meta19718; +this.cljs$lang$protocol_mask$partition0$ = 425984; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_19719,meta19718__$1){ +var self__ = this; +var _19719__$1 = this; +return (new cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717(self__.val,meta19718__$1)); +}); + +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_19719){ +var self__ = this; +var _19719__$1 = this; +return self__.meta19718; +}); + +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717.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$channels19717.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,"meta19718","meta19718",672655168,null)], null); +}); + +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717.cljs$lang$type = true; + +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717.cljs$lang$ctorStr = "cljs.core.async.impl.channels/t_cljs$core$async$impl$channels19717"; + +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async.impl.channels/t_cljs$core$async$impl$channels19717"); +}); + +/** + * Positional factory function for cljs.core.async.impl.channels/t_cljs$core$async$impl$channels19717. + */ +cljs.core.async.impl.channels.__GT_t_cljs$core$async$impl$channels19717 = (function cljs$core$async$impl$channels$box_$___GT_t_cljs$core$async$impl$channels19717(val__$1,meta19718){ +return (new cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717(val__$1,meta19718)); +}); + +} + +return (new cljs.core.async.impl.channels.t_cljs$core$async$impl$channels19717(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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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_.call(null,box.handler); +}); +cljs.core.async.impl.channels.MAX_DIRTY = (64); + +/** + * @interface + */ +cljs.core.async.impl.channels.MMC = function(){}; + +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 { +var x__4211__auto__ = (((this$ == null))?null:this$); +var m__4212__auto__ = (cljs.core.async.impl.channels.abort[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,this$); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.channels.abort["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,this$); +} else { +throw cljs.core.missing_protocol.call(null,"MMC.abort",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_19731 = self__.puts.pop(); +if((putter_19731 == null)){ +} else { +var put_handler_19732 = putter_19731.handler; +var val_19733 = putter_19731.val; +if(cljs.core.async.impl.protocols.active_QMARK_.call(null,put_handler_19732)){ +var put_cb_19734 = cljs.core.async.impl.protocols.commit.call(null,put_handler_19732); +cljs.core.async.impl.dispatch.run.call(null,((function (put_cb_19734,put_handler_19732,val_19733,putter_19731,this$__$1){ +return (function (){ +return put_cb_19734.call(null,true); +});})(put_cb_19734,put_handler_19732,val_19733,putter_19731,this$__$1)) +); +} else { +continue; +} +} +break; +} + +self__.puts.cleanup(cljs.core.constantly.call(null,false)); + +return cljs.core.async.impl.protocols.close_BANG_.call(null,this$__$1); +}); + +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 in on a channel","\n","(not (nil? val))"].join(''))); +} + +var closed__$1 = self__.closed; +if(((closed__$1) || (!(cljs.core.async.impl.protocols.active_QMARK_.call(null,handler))))){ +return cljs.core.async.impl.channels.box.call(null,!(closed__$1)); +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = self__.buf; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not.call(null,cljs.core.async.impl.protocols.full_QMARK_.call(null,self__.buf)); +} else { +return and__3911__auto__; +} +})())){ +cljs.core.async.impl.protocols.commit.call(null,handler); + +var done_QMARK_ = cljs.core.reduced_QMARK_.call(null,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.call(null,self__.buf) > (0))))){ +var taker = self__.takes.pop(); +if(cljs.core.async.impl.protocols.active_QMARK_.call(null,taker)){ +var ret = cljs.core.async.impl.protocols.commit.call(null,taker); +var val__$1 = cljs.core.async.impl.protocols.remove_BANG_.call(null,self__.buf); +var G__19735 = cljs.core.conj.call(null,takers,((function (takers,ret,val__$1,taker,done_QMARK_,closed__$1,this$__$1){ +return (function (){ +return ret.call(null,val__$1); +});})(takers,ret,val__$1,taker,done_QMARK_,closed__$1,this$__$1)) +); +takers = G__19735; +continue; +} else { +var G__19736 = takers; +takers = G__19736; +continue; +} +} else { +return takers; +} +break; +} +})(); +if(done_QMARK_){ +cljs.core.async.impl.channels.abort.call(null,this$__$1); +} else { +} + +if(cljs.core.seq.call(null,take_cbs)){ +var seq__19720_19737 = cljs.core.seq.call(null,take_cbs); +var chunk__19721_19738 = null; +var count__19722_19739 = (0); +var i__19723_19740 = (0); +while(true){ +if((i__19723_19740 < count__19722_19739)){ +var f_19741 = cljs.core._nth.call(null,chunk__19721_19738,i__19723_19740); +cljs.core.async.impl.dispatch.run.call(null,f_19741); + + +var G__19742 = seq__19720_19737; +var G__19743 = chunk__19721_19738; +var G__19744 = count__19722_19739; +var G__19745 = (i__19723_19740 + (1)); +seq__19720_19737 = G__19742; +chunk__19721_19738 = G__19743; +count__19722_19739 = G__19744; +i__19723_19740 = G__19745; +continue; +} else { +var temp__4657__auto___19746 = cljs.core.seq.call(null,seq__19720_19737); +if(temp__4657__auto___19746){ +var seq__19720_19747__$1 = temp__4657__auto___19746; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__19720_19747__$1)){ +var c__4319__auto___19748 = cljs.core.chunk_first.call(null,seq__19720_19747__$1); +var G__19749 = cljs.core.chunk_rest.call(null,seq__19720_19747__$1); +var G__19750 = c__4319__auto___19748; +var G__19751 = cljs.core.count.call(null,c__4319__auto___19748); +var G__19752 = (0); +seq__19720_19737 = G__19749; +chunk__19721_19738 = G__19750; +count__19722_19739 = G__19751; +i__19723_19740 = G__19752; +continue; +} else { +var f_19753 = cljs.core.first.call(null,seq__19720_19747__$1); +cljs.core.async.impl.dispatch.run.call(null,f_19753); + + +var G__19754 = cljs.core.next.call(null,seq__19720_19747__$1); +var G__19755 = null; +var G__19756 = (0); +var G__19757 = (0); +seq__19720_19737 = G__19754; +chunk__19721_19738 = G__19755; +count__19722_19739 = G__19756; +i__19723_19740 = G__19757; +continue; +} +} else { +} +} +break; +} +} else { +} + +return cljs.core.async.impl.channels.box.call(null,true); +} else { +var taker = (function (){while(true){ +var taker = self__.takes.pop(); +if(cljs.core.truth_(taker)){ +if(cljs.core.truth_(cljs.core.async.impl.protocols.active_QMARK_.call(null,taker))){ +return taker; +} else { +continue; +} +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(taker)){ +var take_cb = cljs.core.async.impl.protocols.commit.call(null,taker); +cljs.core.async.impl.protocols.commit.call(null,handler); + +cljs.core.async.impl.dispatch.run.call(null,((function (take_cb,taker,closed__$1,this$__$1){ +return (function (){ +return take_cb.call(null,val); +});})(take_cb,taker,closed__$1,this$__$1)) +); + +return cljs.core.async.impl.channels.box.call(null,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_(cljs.core.async.impl.protocols.blockable_QMARK_.call(null,handler))){ +if((self__.puts.length < (1024))){ +} else { +throw (new Error(["Assert failed: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(["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(!(cljs.core.async.impl.protocols.active_QMARK_.call(null,handler))){ +return null; +} else { +if(((!((self__.buf == null))) && ((cljs.core.count.call(null,self__.buf) > (0))))){ +var temp__4655__auto__ = cljs.core.async.impl.protocols.commit.call(null,handler); +if(cljs.core.truth_(temp__4655__auto__)){ +var take_cb = temp__4655__auto__; +var val = cljs.core.async.impl.protocols.remove_BANG_.call(null,self__.buf); +var vec__19724 = (((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__3911__auto__ = cljs.core.async.impl.protocols.active_QMARK_.call(null,put_handler); +if(and__3911__auto__){ +return cljs.core.async.impl.protocols.commit.call(null,put_handler); +} else { +return and__3911__auto__; +} +})(); +var cbs__$1 = (cljs.core.truth_(cb)?cljs.core.conj.call(null,cbs,cb):cbs); +var done_QMARK_ = (cljs.core.truth_(cb)?cljs.core.reduced_QMARK_.call(null,self__.add_BANG_.call(null,self__.buf,val__$1)):null); +if(((cljs.core.not.call(null,done_QMARK_)) && (cljs.core.not.call(null,cljs.core.async.impl.protocols.full_QMARK_.call(null,self__.buf))) && ((self__.puts.length > (0))))){ +var G__19758 = cbs__$1; +cbs = G__19758; +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.call(null,vec__19724,(0),null); +var cbs = cljs.core.nth.call(null,vec__19724,(1),null); +if(cljs.core.truth_(done_QMARK_)){ +cljs.core.async.impl.channels.abort.call(null,this$__$1); +} else { +} + +var seq__19727_19759 = cljs.core.seq.call(null,cbs); +var chunk__19728_19760 = null; +var count__19729_19761 = (0); +var i__19730_19762 = (0); +while(true){ +if((i__19730_19762 < count__19729_19761)){ +var cb_19763 = cljs.core._nth.call(null,chunk__19728_19760,i__19730_19762); +cljs.core.async.impl.dispatch.run.call(null,((function (seq__19727_19759,chunk__19728_19760,count__19729_19761,i__19730_19762,cb_19763,val,vec__19724,done_QMARK_,cbs,take_cb,temp__4655__auto__,this$__$1){ +return (function (){ +return cb_19763.call(null,true); +});})(seq__19727_19759,chunk__19728_19760,count__19729_19761,i__19730_19762,cb_19763,val,vec__19724,done_QMARK_,cbs,take_cb,temp__4655__auto__,this$__$1)) +); + + +var G__19764 = seq__19727_19759; +var G__19765 = chunk__19728_19760; +var G__19766 = count__19729_19761; +var G__19767 = (i__19730_19762 + (1)); +seq__19727_19759 = G__19764; +chunk__19728_19760 = G__19765; +count__19729_19761 = G__19766; +i__19730_19762 = G__19767; +continue; +} else { +var temp__4657__auto___19768 = cljs.core.seq.call(null,seq__19727_19759); +if(temp__4657__auto___19768){ +var seq__19727_19769__$1 = temp__4657__auto___19768; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__19727_19769__$1)){ +var c__4319__auto___19770 = cljs.core.chunk_first.call(null,seq__19727_19769__$1); +var G__19771 = cljs.core.chunk_rest.call(null,seq__19727_19769__$1); +var G__19772 = c__4319__auto___19770; +var G__19773 = cljs.core.count.call(null,c__4319__auto___19770); +var G__19774 = (0); +seq__19727_19759 = G__19771; +chunk__19728_19760 = G__19772; +count__19729_19761 = G__19773; +i__19730_19762 = G__19774; +continue; +} else { +var cb_19775 = cljs.core.first.call(null,seq__19727_19769__$1); +cljs.core.async.impl.dispatch.run.call(null,((function (seq__19727_19759,chunk__19728_19760,count__19729_19761,i__19730_19762,cb_19775,seq__19727_19769__$1,temp__4657__auto___19768,val,vec__19724,done_QMARK_,cbs,take_cb,temp__4655__auto__,this$__$1){ +return (function (){ +return cb_19775.call(null,true); +});})(seq__19727_19759,chunk__19728_19760,count__19729_19761,i__19730_19762,cb_19775,seq__19727_19769__$1,temp__4657__auto___19768,val,vec__19724,done_QMARK_,cbs,take_cb,temp__4655__auto__,this$__$1)) +); + + +var G__19776 = cljs.core.next.call(null,seq__19727_19769__$1); +var G__19777 = null; +var G__19778 = (0); +var G__19779 = (0); +seq__19727_19759 = G__19776; +chunk__19728_19760 = G__19777; +count__19729_19761 = G__19778; +i__19730_19762 = G__19779; +continue; +} +} else { +} +} +break; +} + +return cljs.core.async.impl.channels.box.call(null,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_.call(null,putter.handler)){ +return putter; +} else { +continue; +} +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(putter)){ +var put_cb = cljs.core.async.impl.protocols.commit.call(null,putter.handler); +cljs.core.async.impl.protocols.commit.call(null,handler); + +cljs.core.async.impl.dispatch.run.call(null,((function (put_cb,putter,this$__$1){ +return (function (){ +return put_cb.call(null,true); +});})(put_cb,putter,this$__$1)) +); + +return cljs.core.async.impl.channels.box.call(null,putter.val); +} else { +if(cljs.core.truth_(self__.closed)){ +if(cljs.core.truth_(self__.buf)){ +self__.add_BANG_.call(null,self__.buf); +} else { +} + +if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.async.impl.protocols.active_QMARK_.call(null,handler); +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.async.impl.protocols.commit.call(null,handler); +} else { +return and__3911__auto__; +} +})())){ +var has_val = (function (){var and__3911__auto__ = self__.buf; +if(cljs.core.truth_(and__3911__auto__)){ +return (cljs.core.count.call(null,self__.buf) > (0)); +} else { +return and__3911__auto__; +} +})(); +var val = (cljs.core.truth_(has_val)?cljs.core.async.impl.protocols.remove_BANG_.call(null,self__.buf):null); +return cljs.core.async.impl.channels.box.call(null,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_(cljs.core.async.impl.protocols.blockable_QMARK_.call(null,handler))){ +if((self__.takes.length < (1024))){ +} else { +throw (new Error(["Assert failed: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(["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__3911__auto__ = self__.buf; +if(cljs.core.truth_(and__3911__auto__)){ +return (self__.puts.length === (0)); +} else { +return and__3911__auto__; +} +})())){ +self__.add_BANG_.call(null,self__.buf); +} else { +} + +while(true){ +var taker_19780 = self__.takes.pop(); +if((taker_19780 == null)){ +} else { +if(cljs.core.async.impl.protocols.active_QMARK_.call(null,taker_19780)){ +var take_cb_19781 = cljs.core.async.impl.protocols.commit.call(null,taker_19780); +var val_19782 = (cljs.core.truth_((function (){var and__3911__auto__ = self__.buf; +if(cljs.core.truth_(and__3911__auto__)){ +return (cljs.core.count.call(null,self__.buf) > (0)); +} else { +return and__3911__auto__; +} +})())?cljs.core.async.impl.protocols.remove_BANG_.call(null,self__.buf):null); +cljs.core.async.impl.dispatch.run.call(null,((function (take_cb_19781,val_19782,taker_19780,this$__$1){ +return (function (){ +return take_cb_19781.call(null,val_19782); +});})(take_cb_19781,val_19782,taker_19780,this$__$1)) +); +} else { +} + +continue; +} +break; +} + +if(cljs.core.truth_(self__.buf)){ +cljs.core.async.impl.protocols.close_buf_BANG_.call(null,self__.buf); +} 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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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 or__3922__auto__ = exh; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.async.impl.channels.ex_handler; +} +})().call(null,t); +if((else$ == null)){ +return buf; +} else { +return cljs.core.async.impl.protocols.add_BANG_.call(null,buf,else$); +} +}); +cljs.core.async.impl.channels.chan = (function cljs$core$async$impl$channels$chan(var_args){ +var G__19784 = arguments.length; +switch (G__19784) { +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.call(null,buf,null); +}); + +cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$2 = (function (buf,xform){ +return cljs.core.async.impl.channels.chan.call(null,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.call(null,(32)),(0),cljs.core.async.impl.buffers.ring_buffer.call(null,(32)),(0),buf,false,(function (){var add_BANG_ = (cljs.core.truth_(xform)?xform.call(null,cljs.core.async.impl.protocols.add_BANG_):cljs.core.async.impl.protocols.add_BANG_); +return ((function (add_BANG_){ +return (function() { +var G__19788 = null; +var G__19788__1 = (function (buf__$1){ +try{return add_BANG_.call(null,buf__$1); +}catch (e19785){var t = e19785; +return cljs.core.async.impl.channels.handle.call(null,buf__$1,exh,t); +}}); +var G__19788__2 = (function (buf__$1,val){ +try{return add_BANG_.call(null,buf__$1,val); +}catch (e19786){var t = e19786; +return cljs.core.async.impl.channels.handle.call(null,buf__$1,exh,t); +}}); +G__19788 = function(buf__$1,val){ +switch(arguments.length){ +case 1: +return G__19788__1.call(this,buf__$1); +case 2: +return G__19788__2.call(this,buf__$1,val); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +G__19788.cljs$core$IFn$_invoke$arity$1 = G__19788__1; +G__19788.cljs$core$IFn$_invoke$arity$2 = G__19788__2; +return G__19788; +})() +;})(add_BANG_)) +})())); +}); + +cljs.core.async.impl.channels.chan.cljs$lang$maxFixedArity = 3; + + +//# sourceMappingURL=channels.js.map?rel=1628501138420 diff --git a/examples/resources/public/js/out/cljs/core/async/impl/channels.js.map b/examples/resources/public/js/out/cljs/core/async/impl/channels.js.map new file mode 100644 index 0000000..da69bc6 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/channels.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async\/impl\/channels.js","sources":["channels.cljs?rel=1628501138423"],"lineCount":685,"mappings":";AAQA;;;;;AAOA,oCAAA,pCAAMA,gFAAKC;AAAX,AACE,AAAA,GAAA,OAAAC;AAAA;AAAA,AAAA,AAAA;;;;;;;;;;;;;AAAA,AAAA,AAAA,AAAA,AAAAA,sHAAA,WAAAC,OAAAC;;AAAA,AAAA,IAAAD,aAAA;+EADSF,\/EACT,AAAA,YAAAC,8EAAAE;;;AAAA,AAAA,AAAA,AAAAF,6GAAA,WAAAC;;AAAA,AAAA,IAAAA,aAAA;AAAA,AAAAC;;;AAAA,AAAA,AAAA,AAAAF,+GAAA,WACWQ;;AADX,AAAA,YAAA,RACWA;AADX,AACcT;;;AADd,AAAA,AAAAC,8EAAA;AAAA,AAAA,0FAAA,uDAAA;;;AAAA,AAAA,AAAAA,oFAAA;;AAAA,AAAA,AAAAA,uFAAA;;AAAA,AAAA,AAAAA,4FAAA,WAAAG,mBAAAC,qBAAAC;AAAA,AAAA,OAAAC,2BAAAF,qBAAA;;;AAAA;;;kKADSL,lKACTQ,0EAAA,gGA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M8D,8EAEF9D,IAAI+D;AAFR,AAEe,8DAAA,vDAACD,6CAAK9D,IAAI+D;;;AAFzB,AAAA,mEAAA,nEAAMD,8EAGF9D,IAAI+D,MAAMR;AAHd,AAIK,YAAA7D,yGAAA,6DAAA,QAAA,9HAAoB,mDAAA,nDAACsE,6DAA0B,mDAAA,nDAACA,6DAC1BhE,UACF,iBAAME,YAAK,kBAAI6D,OAAM,AAACA,gBAAMJ,0CAAWA;AAAvC,AACE;;;6BACI3D;AADJ,AAEG,IAAA,AACE,OAACE,oBAAKF;gBADR,QAAAiE,JAEkBT;AAFlB,AAGI,OAACF,+CAAOtD,QAAIuD,IAAIC;;6BACnBxD,QAAIhC;AANR,AAOG,IAAA,AACE,OAACkC,oBAAKF,QAAIhC;gBADZ,QAAAkG,JAEkBV;AAFlB,AAGI,OAACF,+CAAOtD,QAAIuD,IAAIC;;oBAJnBxD,QAAIhC;;;6BAAJgC;;6BAAAA,QAAIhC;;;;;;;;;;;;AAbnC,AAAA,6DAAA,7DAAM8F;;AAAN","names":["cljs.core.async.impl.channels\/box","val","cljs.core.async.impl.channels\/t_cljs$core$async$impl$channels19717","_19719","meta19718","this__4161__auto__","writer__4162__auto__","opt__4163__auto__","cljs.core\/-write","cljs.core.async.impl.channels\/->t_cljs$core$async$impl$channels19717","_","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","x__4211__auto__","m__4212__auto__","cljs\/core.async.impl.channels.abort","goog\/typeOf","cljs.core\/missing-protocol","cljs.core.async.impl.channels\/MMC","cljs.core.async.impl.channels\/abort","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.protocols\/commit","cljs.core.async.impl.dispatch\/run","cljs.core\/constantly","cljs.core.async.impl.protocols\/close!","js\/Error","and__3911__auto__","cljs.core\/not","cljs.core.async.impl.protocols\/full?","done?","cljs.core\/reduced?","take-cbs","takers","cljs.core\/count","taker","ret","cljs.core.async.impl.protocols\/remove!","cljs.core\/conj","cljs.core\/seq","seq__19720","chunk__19721","count__19722","i__19723","cljs.core\/-nth","temp__4657__auto__","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/first","cljs.core\/next","f","take-cb","cljs.core.async.impl.protocols\/blockable?","cljs.core.async.impl.protocols\/MAX-QUEUE-SIZE","temp__4655__auto__","vec__19724","cljs.core\/nth","cbs","cb","seq__19727","chunk__19728","count__19729","i__19730","has-val","cljs.core.async.impl.protocols\/close-buf!","cljs.core.async.impl.channels\/ex-handler","ex","js\/console","cljs.core.async.impl.channels\/handle","exh","t","else","or__3922__auto__","cljs.core.async.impl.protocols\/add!","var_args","G__19784","cljs.core.async.impl.channels\/chan","xform","cljs.core.async.impl.buffers\/ring-buffer","e19785","e19786"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs new file mode 100644 index 0000000..468bbdf --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs @@ -0,0 +1,37 @@ +(ns cljs.core.async.impl.dispatch + (:require [cljs.core.async.impl.buffers :as buffers] + [goog.async.nextTick])) + +(def tasks (buffers/ring-buffer 32)) +(def running? false) +(def queued? false) + +(def TASK_BATCH_SIZE 1024) + +(declare queue-dispatcher) + +(defn process-messages [] + (set! running? true) + (set! queued? false) + (loop [count 0] + (let [m (.pop tasks)] + (when-not (nil? m) + (m) + (when (< count TASK_BATCH_SIZE) + (recur (inc count)))))) + (set! running? false) + (when (> (.-length tasks) 0) + (queue-dispatcher))) + +(defn queue-dispatcher [] + (when-not (and queued? running?) + (set! queued? true) + (goog.async.nextTick process-messages))) + +(defn run [f] + (.unbounded-unshift tasks f) + (queue-dispatcher)) + +(defn queue-delay [f delay] + (js/setTimeout f delay)) + diff --git a/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs.cache.json new file mode 100644 index 0000000..6ef16c6 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$setTimeout",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.core.async.impl.dispatch","~:imports",null,"~:requires",["^ ","~$buffers","~$cljs.core.async.impl.buffers","^<","^<","~$goog.async.nextTick","^="],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$tasks",["^ ","^7","~$cljs.core.async.impl.dispatch/tasks","~:file","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","~:line",5,"~:column",1,"~:end-line",5,"~:end-column",11,"~:meta",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",5,"^E",6,"^F",5,"^G",11],"~:tag","~$any"],"~$running?",["^ ","^7","~$cljs.core.async.impl.dispatch/running?","^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",6,"^E",1,"^F",6,"^G",14,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",6,"^E",6,"^F",6,"^G",14],"^I","~$boolean"],"~$queued?",["^ ","^7","~$cljs.core.async.impl.dispatch/queued?","^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",7,"^E",1,"^F",7,"^G",13,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",7,"^E",6,"^F",7,"^G",13],"^I","^M"],"~$TASK_BATCH_SIZE",["^ ","^7","~$cljs.core.async.impl.dispatch/TASK_BATCH_SIZE","^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",9,"^E",1,"^F",9,"^G",21,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",9,"^E",6,"^F",9,"^G",21],"^I","~$number"],"~$queue-dispatcher",["^ ","~:protocol-inline",null,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",26,"^E",7,"^F",26,"^G",23,"~:arglists",["~#list",["~$quote",["^V",[[]]]]]],"^7","~$cljs.core.async.impl.dispatch/queue-dispatcher","~:variadic",false,"^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^G",23,"~:method-params",["^V",[[]]],"~:protocol-impl",null,"~:arglists-meta",["^V",[null,null]],"^E",1,"^D",26,"^F",26,"~:max-fixed-arity",0,"~:fn-var",true,"^U",["^V",["^W",["^V",[[]]]]]],"~$process-messages",["^ ","^T",null,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",13,"^E",7,"^F",13,"^G",23,"^U",["^V",["^W",["^V",[[]]]]]],"^7","~$cljs.core.async.impl.dispatch/process-messages","^Y",false,"^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^G",23,"^Z",["^V",[[]]],"^[",null,"^10",["^V",[null,null]],"^E",1,"^D",13,"^F",13,"^11",0,"^12",true,"^U",["^V",["^W",["^V",[[]]]]]],"~$run",["^ ","^T",null,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",31,"^E",7,"^F",31,"^G",10,"^U",["^V",["^W",["^V",[["~$f"]]]]]],"^7","~$cljs.core.async.impl.dispatch/run","^Y",false,"^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^G",10,"^Z",["^V",[["~$f"]]],"^[",null,"^10",["^V",[null,null]],"^E",1,"^D",31,"^F",31,"^11",1,"^12",true,"^U",["^V",["^W",["^V",[["~$f"]]]]]],"~$queue-delay",["^ ","^T",null,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^D",35,"^E",7,"^F",35,"^G",18,"^U",["^V",["^W",["^V",[["~$f","~$delay"]]]]]],"^7","~$cljs.core.async.impl.dispatch/queue-delay","^Y",false,"^C","resources/public/js/out/cljs/core/async/impl/dispatch.cljs","^G",18,"^Z",["^V",[["~$f","^18"]]],"^[",null,"^10",["^V",[null,null]],"^E",1,"^D",35,"^F",35,"^11",2,"^12",true,"^U",["^V",["^W",["^V",[["~$f","^18"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/dispatch.js b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.js new file mode 100644 index 0000000..c239175 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.js @@ -0,0 +1,58 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async.impl.dispatch'); +goog.require('cljs.core'); +goog.require('cljs.core.async.impl.buffers'); +goog.require('goog.async.nextTick'); +cljs.core.async.impl.dispatch.tasks = cljs.core.async.impl.buffers.ring_buffer.call(null,(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_19712 = (0); +while(true){ +var m_19713 = cljs.core.async.impl.dispatch.tasks.pop(); +if((m_19713 == null)){ +} else { +m_19713.call(null); + +if((count_19712 < cljs.core.async.impl.dispatch.TASK_BATCH_SIZE)){ +var G__19714 = (count_19712 + (1)); +count_19712 = G__19714; +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.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.call(null); +}); +cljs.core.async.impl.dispatch.queue_delay = (function cljs$core$async$impl$dispatch$queue_delay(f,delay){ +return setTimeout(f,delay); +}); + +//# sourceMappingURL=dispatch.js.map?rel=1628501138319 diff --git a/examples/resources/public/js/out/cljs/core/async/impl/dispatch.js.map b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.js.map new file mode 100644 index 0000000..56e1f04 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/dispatch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async\/impl\/dispatch.js","sources":["dispatch.cljs?rel=1628501138320"],"lineCount":58,"mappings":";AAAA;;;;AAIA,AAAKA,sCAAM,mDAAA,nDAACC;AACZ,+CAAA,\/CAAKC;AACL,8CAAA,9CAAKC;AAEL,gDAAA,hDAAKC;AAEL,AAAA,AAEA,iDAAA,jDAAMC;AAAN,AACE,+CAAA,\/CAAMH;;AACN,8CAAA,9CAAMC;;AACN,kBAAA,dAAOG;;AAAP,AACE,IAAMC,UAAE,AAAMP;AAAd,AACE,GAAU,YAAA,XAAMO;AAAhB;AAAA,AACE,AAACA;;AACD,GAAM,CAAGD,cAAMF;AAAf,AACE,eAAO,eAAA,dAAKE;;;;AADd;;;;;AAEN,+CAAA,\/CAAMJ;;AACN,GAAM,8CAAA,7CAAG,AAAUF;AAAnB,AACE,OAACQ;;AADH;;;AAGF,iDAAA,jDAAMA;AAAN,AACE,GAAU,EAAKL,iDAAQD;AAAvB;;AAAA,AACE,8CAAA,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","goog\/async.nextTick","cljs.core.async.impl.dispatch\/run","f","cljs.core.async.impl.dispatch\/queue-delay","delay","js\/setTimeout"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs new file mode 100644 index 0000000..c849acc --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs @@ -0,0 +1,146 @@ +(ns cljs.core.async.impl.ioc-helpers + (:require [cljs.core.async.impl.protocols :as impl]) + (:require-macros [cljs.core.async.impl.ioc-macros :as ioc])) + +(def ^:const FN-IDX 0) +(def ^:const STATE-IDX 1) +(def ^:const VALUE-IDX 2) +(def ^:const BINDINGS-IDX 3) +(def ^:const EXCEPTION-FRAMES 4) +(def ^:const CURRENT-EXCEPTION 5) +(def ^:const USER-START-IDX 6) + +(defn aset-object [arr idx o] + (aget arr idx o)) + +(defn aget-object [arr idx] + (aget arr idx)) + + +(defn finished? + "Returns true if the machine is in a finished state" + [state-array] + (keyword-identical? (aget state-array STATE-IDX) :finished)) + +(defn- fn-handler + [f] + (reify + impl/Handler + (active? [_] true) + (blockable? [_] true) + (commit [_] f))) + + +(defn run-state-machine [state] + ((aget-object state FN-IDX) state)) + +(defn run-state-machine-wrapped [state] + (try + (run-state-machine state) + (catch js/Object ex + (impl/close! ^not-native (aget-object state USER-START-IDX)) + (throw ex)))) + +(defn take! [state blk ^not-native c] + (if-let [cb (impl/take! c (fn-handler + (fn [x] + (ioc/aset-all! state VALUE-IDX x STATE-IDX blk) + (run-state-machine-wrapped state))))] + (do (ioc/aset-all! state VALUE-IDX @cb STATE-IDX blk) + :recur) + nil)) + +(defn put! [state blk ^not-native c val] + (if-let [cb (impl/put! c val (fn-handler (fn [ret-val] + (ioc/aset-all! state VALUE-IDX ret-val STATE-IDX blk) + (run-state-machine-wrapped state))))] + (do (ioc/aset-all! state VALUE-IDX @cb STATE-IDX blk) + :recur) + nil)) + +(defn return-chan [state value] + (let [^not-native c (aget state USER-START-IDX)] + (when-not (nil? value) + (impl/put! c value (fn-handler (fn [] nil)))) + (impl/close! c) + c)) + +(defrecord ExceptionFrame [catch-block + ^Class catch-exception + finally-block + continue-block + prev]) + +(defn add-exception-frame [state catch-block catch-exception finally-block continue-block] + (ioc/aset-all! state + EXCEPTION-FRAMES + (->ExceptionFrame catch-block + catch-exception + finally-block + continue-block + (aget-object state EXCEPTION-FRAMES)))) + +(defn process-exception [state] + (let [exception-frame (aget-object state EXCEPTION-FRAMES) + catch-block (:catch-block exception-frame) + catch-exception (:catch-exception exception-frame) + exception (aget-object state CURRENT-EXCEPTION)] + (cond + (and exception + (not exception-frame)) + (throw exception) + + (and exception + catch-block + (or (= :default catch-exception) + (instance? catch-exception exception))) + (ioc/aset-all! state + STATE-IDX + catch-block + VALUE-IDX + exception + CURRENT-EXCEPTION + nil + EXCEPTION-FRAMES + (assoc exception-frame + :catch-block nil + :catch-exception nil)) + + + (and exception + (not catch-block) + (not (:finally-block exception-frame))) + + (do (ioc/aset-all! state + EXCEPTION-FRAMES + (:prev exception-frame)) + (recur state)) + + (and exception + (not catch-block) + (:finally-block exception-frame)) + (ioc/aset-all! state + STATE-IDX + (:finally-block exception-frame) + EXCEPTION-FRAMES + (assoc exception-frame + :finally-block nil)) + + (and (not exception) + (:finally-block exception-frame)) + (do (ioc/aset-all! state + STATE-IDX + (:finally-block exception-frame) + EXCEPTION-FRAMES + (assoc exception-frame + :finally-block nil))) + + (and (not exception) + (not (:finally-block exception-frame))) + (do (ioc/aset-all! state + STATE-IDX + (:continue-block exception-frame) + EXCEPTION-FRAMES + (:prev exception-frame))) + + :else (throw (js/Error. "No matching clause"))))) diff --git a/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs.cache.json new file mode 100644 index 0000000..36f6f77 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Object",["^ "],"~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.core.async.impl.ioc-helpers","~:imports",null,"~:requires",["^ ","~$impl","~$cljs.core.async.impl.protocols","^=","^="],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$->t_cljs$core$async$impl$ioc_helpers20796",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:anonymous",true,"~:protocols",["^7",["~$cljs.core.async.impl.protocols/Handler","~$cljs.core/IMeta","~$cljs.core/IWithMeta"]],"~:skip-protocol-flag",["^7",["^G","^H"]],"~:factory","~:positional","~:arglists",["~#list",["~$quote",["^M",[["~$f","~$meta20797"]]]]],"~:doc","Positional factory function for cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers20796.","~:file",null],"^E",["^7",["^F","^G","^H"]],"^8","~$cljs.core.async.impl.ioc-helpers/->t_cljs$core$async$impl$ioc_helpers20796","~:variadic",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","~:method-params",["^M",[["~$f","^O"]]],"~:protocol-impl",null,"~:arglists-meta",["^M",[null,null]],"^D",true,"~:column",3,"^J","^K","~:line",27,"~:max-fixed-arity",2,"~:fn-var",true,"^L",["^M",["^N",["^M",[["~$f","^O"]]]]],"^I",["^7",["^G","^H"]],"^P","Positional factory function for cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers20796."],"~$EXCEPTION-FRAMES",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",9,"^W",14,"~:end-line",9,"~:end-column",30,"~:const",true],"^8","~$cljs.core.async.impl.ioc-helpers/EXCEPTION-FRAMES","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",30,"~:const-expr",["^ ","~:op","~:constant","~:env",["^ ","~:context","~:expr"],"~:form",4,"~:tag","~$number"],"^W",1,"^12",true,"^X",9,"^10",9,"^1;","^1<"],"~$t_cljs$core$async$impl$ioc_helpers20796",["^ ","~:num-fields",2,"^E",["^7",["^F","^G","^H"]],"^8","~$cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers20796","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","~:type",true,"^D",true,"^W",3,"^X",27,"~:record",false,"^I",["^7",["^G","^H"]]],"~$process-exception",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",83,"^W",7,"^10",83,"^11",24,"^L",["^M",["^N",["^M",[["~$state"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/process-exception","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",24,"^T",["^M",[["^1C"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",83,"^10",83,"^Y",1,"^Z",true,"^L",["^M",["^N",["^M",[["^1C"]]]]]],"~$ExceptionFrame",["^ ","^1>",5,"^E",["^7",["~$cljs.core/IRecord","~$cljs.core/IEquiv","~$cljs.core/IHash","~$cljs.core/ICollection","~$cljs.core/ICounted","~$cljs.core/ISeqable","^G","~$cljs.core/ICloneable","~$cljs.core/IPrintWithWriter","~$cljs.core/IIterable","^H","~$cljs.core/IAssociative","~$cljs.core/IMap","~$cljs.core/ILookup"]],"^8","~$cljs.core.async.impl.ioc-helpers/ExceptionFrame","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",26,"^1@",true,"^W",12,"~:internal-ctor",true,"^X",68,"^1A",true,"^10",68,"^I",["^7",["^1F","^1G","^1H","^1I","^1J","^1K","^G","^1L","^1M","^1N","^H","^1O","^1P","^1Q"]]],"~$STATE-IDX",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",6,"^W",14,"^10",6,"^11",23,"^12",true],"^8","~$cljs.core.async.impl.ioc-helpers/STATE-IDX","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",23,"^14",["^ ","^15","^16","^17",["^ ","^18","^19"],"^1:",1,"^1;","^1<"],"^W",1,"^12",true,"^X",6,"^10",6,"^1;","^1<"],"~$map->ExceptionFrame",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",68,"^W",12,"^10",68,"^11",26,"^1S",true,"^J","~:map","^L",["^M",["^N",["^M",[["~$G__20812"]]]]],"^P","Factory function for cljs.core.async.impl.ioc-helpers/ExceptionFrame, taking a map of keywords to field values."],"^8","~$cljs.core.async.impl.ioc-helpers/map->ExceptionFrame","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",26,"^T",["^M",[["^1X"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^1S",true,"^J","^1W","^X",68,"^10",68,"^Y",1,"^Z",true,"^L",["^M",["^N",["^M",[["^1X"]]]]],"^P","Factory function for cljs.core.async.impl.ioc-helpers/ExceptionFrame, taking a map of keywords to field values."],"~$aset-object",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",13,"^W",7,"^10",13,"^11",18,"^L",["^M",["^N",["^M",[["~$arr","~$idx","~$o"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/aset-object","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",18,"^T",["^M",[["^1[","^20","~$o"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",13,"^10",13,"^Y",3,"^Z",true,"^L",["^M",["^N",["^M",[["^1[","^20","~$o"]]]]]],"~$add-exception-frame",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",74,"^W",7,"^10",74,"^11",26,"^L",["^M",["^N",["^M",[["^1C","~$catch-block","~$catch-exception","~$finally-block","~$continue-block"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/add-exception-frame","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",26,"^T",["^M",[["^1C","^23","^24","^25","^26"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",74,"^10",74,"^Y",5,"^Z",true,"^L",["^M",["^N",["^M",[["^1C","^23","^24","^25","^26"]]]]]],"~$run-state-machine-wrapped",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",37,"^W",7,"^10",37,"^11",32,"^L",["^M",["^N",["^M",[["^1C"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/run-state-machine-wrapped","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",32,"^T",["^M",[["^1C"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",37,"^10",37,"^Y",1,"^Z",true,"^L",["^M",["^N",["^M",[["^1C"]]]]]],"~$FN-IDX",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",5,"^W",14,"^10",5,"^11",20,"^12",true],"^8","~$cljs.core.async.impl.ioc-helpers/FN-IDX","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",20,"^14",["^ ","^15","^16","^17",["^ ","^18","^19"],"^1:",0,"^1;","^1<"],"^W",1,"^12",true,"^X",5,"^10",5,"^1;","^1<"],"~$aget-object",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",16,"^W",7,"^10",16,"^11",18,"^L",["^M",["^N",["^M",[["^1[","^20"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/aget-object","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",18,"^T",["^M",[["^1[","^20"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",16,"^10",16,"^Y",2,"^Z",true,"^L",["^M",["^N",["^M",[["^1[","^20"]]]]]],"~$return-chan",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",61,"^W",7,"^10",61,"^11",18,"^L",["^M",["^N",["^M",[["^1C","~$value"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/return-chan","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",18,"^T",["^M",[["^1C","^2?"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",61,"^10",61,"^Y",2,"^Z",true,"^L",["^M",["^N",["^M",[["^1C","^2?"]]]]]],"~$->ExceptionFrame",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",68,"^W",12,"^10",68,"^11",26,"^1S",true,"^J","^K","^L",["^M",["^N",["^M",[["^23","^24","^25","^26","~$prev"]]]]],"^P","Positional factory function for cljs.core.async.impl.ioc-helpers/ExceptionFrame."],"^8","~$cljs.core.async.impl.ioc-helpers/->ExceptionFrame","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",26,"^T",["^M",[["^23","^24","^25","^26","^2B"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^1S",true,"^J","^K","^X",68,"^10",68,"^Y",5,"^Z",true,"^L",["^M",["^N",["^M",[["^23","^24","^25","^26","^2B"]]]]],"^P","Positional factory function for cljs.core.async.impl.ioc-helpers/ExceptionFrame."],"~$BINDINGS-IDX",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",8,"^W",14,"^10",8,"^11",26,"^12",true],"^8","~$cljs.core.async.impl.ioc-helpers/BINDINGS-IDX","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",26,"^14",["^ ","^15","^16","^17",["^ ","^18","^19"],"^1:",3,"^1;","^1<"],"^W",1,"^12",true,"^X",8,"^10",8,"^1;","^1<"],"~$CURRENT-EXCEPTION",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",10,"^W",14,"^10",10,"^11",31,"^12",true],"^8","~$cljs.core.async.impl.ioc-helpers/CURRENT-EXCEPTION","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",31,"^14",["^ ","^15","^16","^17",["^ ","^18","^19"],"^1:",5,"^1;","^1<"],"^W",1,"^12",true,"^X",10,"^10",10,"^1;","^1<"],"~$fn-handler",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",25,"^W",8,"^10",25,"^11",18,"~:private",true,"^L",["^M",["^N",["^M",[["~$f"]]]]]],"^2I",true,"^8","~$cljs.core.async.impl.ioc-helpers/fn-handler","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",18,"^T",["^M",[["~$f"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",25,"^10",25,"^Y",1,"^Z",true,"^L",["^M",["^N",["^M",[["~$f"]]]]]],"~$run-state-machine",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",34,"^W",7,"^10",34,"^11",24,"^L",["^M",["^N",["^M",[["^1C"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/run-state-machine","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",24,"^T",["^M",[["^1C"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",34,"^10",34,"^Y",1,"^Z",true,"^L",["^M",["^N",["^M",[["^1C"]]]]]],"~$finished?",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",20,"^W",7,"^10",20,"^11",16,"^L",["^M",["^N",["^M",[["~$state-array"]]]]],"^P","Returns true if the machine is in a finished state"],"^8","~$cljs.core.async.impl.ioc-helpers/finished?","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",16,"^T",["^M",[["^2N"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",20,"^10",20,"^Y",1,"^Z",true,"^L",["^M",["^N",["^M",[["^2N"]]]]],"^P","Returns true if the machine is in a finished state"],"~$USER-START-IDX",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",11,"^W",14,"^10",11,"^11",28,"^12",true],"^8","~$cljs.core.async.impl.ioc-helpers/USER-START-IDX","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",28,"^14",["^ ","^15","^16","^17",["^ ","^18","^19"],"^1:",6,"^1;","^1<"],"^W",1,"^12",true,"^X",11,"^10",11,"^1;","^1<"],"~$put!",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",53,"^W",7,"^10",53,"^11",11,"^L",["^M",["^N",["^M",[["^1C","~$blk","~$c","~$val"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/put!","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",11,"^T",["^M",[["^1C","^2S","~$c","^2T"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",53,"^10",53,"^Y",4,"^Z",true,"^L",["^M",["^N",["^M",[["^1C","^2S","~$c","^2T"]]]]]],"~$take!",["^ ","^B",null,"^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",44,"^W",7,"^10",44,"^11",12,"^L",["^M",["^N",["^M",[["^1C","^2S","~$c"]]]]]],"^8","~$cljs.core.async.impl.ioc-helpers/take!","^S",false,"^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",12,"^T",["^M",[["^1C","^2S","~$c"]]],"^U",null,"^V",["^M",[null,null]],"^W",1,"^X",44,"^10",44,"^Y",3,"^Z",true,"^L",["^M",["^N",["^M",[["^1C","^2S","~$c"]]]]]],"~$VALUE-IDX",["^ ","^C",["^ ","^Q","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^X",7,"^W",14,"^10",7,"^11",23,"^12",true],"^8","~$cljs.core.async.impl.ioc-helpers/VALUE-IDX","^Q","resources/public/js/out/cljs/core/async/impl/ioc_helpers.cljs","^11",23,"^14",["^ ","^15","^16","^17",["^ ","^18","^19"],"^1:",2,"^1;","^1<"],"^W",1,"^12",true,"^X",7,"^10",7,"^1;","^1<"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$ioc","~$cljs.core.async.impl.ioc-macros","^31","^31"],"~:cljs.analyzer/constants",["^ ","~:seen",["^7",["~$Class","~:else","^O","~:default","~:finally-block","~:recur","~:catch-block","~:finished","^25","^23","~:catch-exception","~:prev","~:continue-block","^1;","^24","^26","^2B","~$f"]],"~:order",["^3:","~$f","^O","^35","^38","^39","^3;","^37","^3=","^3<","^23","^24","^1;","^34","^25","^26","^2B","^36"]],"^P",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js new file mode 100644 index 0000000..88016cb --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js @@ -0,0 +1,498 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async.impl.ioc_helpers'); +goog.require('cljs.core'); +goog.require('cljs.core.async.impl.protocols'); +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_.call(null,(state_array[(1)]),new cljs.core.Keyword(null,"finished","finished",-1018867731)); +}); +cljs.core.async.impl.ioc_helpers.fn_handler = (function cljs$core$async$impl$ioc_helpers$fn_handler(f){ +if(typeof cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796 !== 'undefined'){ +} else { + +/** +* @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_helpers20796 = (function (f,meta20797){ +this.f = f; +this.meta20797 = meta20797; +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_helpers20796.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_20798,meta20797__$1){ +var self__ = this; +var _20798__$1 = this; +return (new cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796(self__.f,meta20797__$1)); +}); + +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_20798){ +var self__ = this; +var _20798__$1 = this; +return self__.meta20797; +}); + +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796.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_helpers20796.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_helpers20796.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_helpers20796.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,"meta20797","meta20797",-32486297,null)], null); +}); + +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796.cljs$lang$type = true; + +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796.cljs$lang$ctorStr = "cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers20796"; + +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers20796"); +}); + +/** + * Positional factory function for cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers20796. + */ +cljs.core.async.impl.ioc_helpers.__GT_t_cljs$core$async$impl$ioc_helpers20796 = (function cljs$core$async$impl$ioc_helpers$fn_handler_$___GT_t_cljs$core$async$impl$ioc_helpers20796(f__$1,meta20797){ +return (new cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796(f__$1,meta20797)); +}); + +} + +return (new cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers20796(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){ +return cljs.core.async.impl.ioc_helpers.aget_object.call(null,state,(0)).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.call(null,state); +}catch (e20799){if((e20799 instanceof Object)){ +var ex = e20799; +cljs.core.async.impl.protocols.close_BANG_.call(null,cljs.core.async.impl.ioc_helpers.aget_object.call(null,state,(6))); + +throw ex; +} else { +throw e20799; + +} +}}); +cljs.core.async.impl.ioc_helpers.take_BANG_ = (function cljs$core$async$impl$ioc_helpers$take_BANG_(state,blk,c){ +var temp__4655__auto__ = cljs.core.async.impl.protocols.take_BANG_.call(null,c,cljs.core.async.impl.ioc_helpers.fn_handler.call(null,(function (x){ +var statearr_20800_20802 = state; +(statearr_20800_20802[(2)] = x); + +(statearr_20800_20802[(1)] = blk); + + +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state); +}))); +if(cljs.core.truth_(temp__4655__auto__)){ +var cb = temp__4655__auto__; +var statearr_20801_20803 = state; +(statearr_20801_20803[(2)] = cljs.core.deref.call(null,cb)); + +(statearr_20801_20803[(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__4655__auto__ = cljs.core.async.impl.protocols.put_BANG_.call(null,c,val,cljs.core.async.impl.ioc_helpers.fn_handler.call(null,(function (ret_val){ +var statearr_20804_20806 = state; +(statearr_20804_20806[(2)] = ret_val); + +(statearr_20804_20806[(1)] = blk); + + +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state); +}))); +if(cljs.core.truth_(temp__4655__auto__)){ +var cb = temp__4655__auto__; +var statearr_20805_20807 = state; +(statearr_20805_20807[(2)] = cljs.core.deref.call(null,cb)); + +(statearr_20805_20807[(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 { +cljs.core.async.impl.protocols.put_BANG_.call(null,c,value,cljs.core.async.impl.ioc_helpers.fn_handler.call(null,((function (c){ +return (function (){ +return null; +});})(c)) +)); +} + +cljs.core.async.impl.protocols.close_BANG_.call(null,c); + +return c; +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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.core.async.impl.ioc_helpers.ExceptionFrame = (function (catch_block,catch_exception,finally_block,continue_block,prev,__meta,__extmap,__hash){ +this.catch_block = catch_block; +this.catch_exception = catch_exception; +this.finally_block = finally_block; +this.continue_block = continue_block; +this.prev = prev; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k20809,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__20813 = k20809; +var G__20813__$1 = (((G__20813 instanceof cljs.core.Keyword))?G__20813.fqn:null); +switch (G__20813__$1) { +case "catch-block": +return self__.catch_block; + +break; +case "catch-exception": +return self__.catch_exception; + +break; +case "finally-block": +return self__.finally_block; + +break; +case "continue-block": +return self__.continue_block; + +break; +case "prev": +return self__.prev; + +break; +default: +return cljs.core.get.call(null,self__.__extmap,k20809,else__4175__auto__); + +} +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.core.async.impl.ioc-helpers.ExceptionFrame{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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,"catch-block","catch-block",1175212748),self__.catch_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),self__.catch_exception],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"finally-block","finally-block",832982472),self__.finally_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850),self__.continue_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"prev","prev",-1597069226),self__.prev],null))], null),self__.__extmap)); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__20808){ +var self__ = this; +var G__20808__$1 = this; +return (new cljs.core.RecordIter((0),G__20808__$1,5,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"catch-block","catch-block",1175212748),new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),new cljs.core.Keyword(null,"finally-block","finally-block",832982472),new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850),new cljs.core.Keyword(null,"prev","prev",-1597069226)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__auto____$1 = this; +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,self__.finally_block,self__.continue_block,self__.prev,self__.__meta,self__.__extmap,self__.__hash)); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (5 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (846900531 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this20810,other20811){ +var self__ = this; +var this20810__$1 = this; +return ((!((other20811 == null))) && ((this20810__$1.constructor === other20811.constructor)) && (cljs.core._EQ_.call(null,this20810__$1.catch_block,other20811.catch_block)) && (cljs.core._EQ_.call(null,this20810__$1.catch_exception,other20811.catch_exception)) && (cljs.core._EQ_.call(null,this20810__$1.finally_block,other20811.finally_block)) && (cljs.core._EQ_.call(null,this20810__$1.continue_block,other20811.continue_block)) && (cljs.core._EQ_.call(null,this20810__$1.prev,other20811.prev)) && (cljs.core._EQ_.call(null,this20810__$1.__extmap,other20811.__extmap))); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"finally-block","finally-block",832982472),null,new cljs.core.Keyword(null,"catch-block","catch-block",1175212748),null,new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),null,new cljs.core.Keyword(null,"prev","prev",-1597069226),null,new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850),null], null), null),k__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__auto__); +} else { +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,self__.finally_block,self__.continue_block,self__.prev,self__.__meta,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__20808){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__20814 = cljs.core.keyword_identical_QMARK_; +var expr__20815 = k__4180__auto__; +if(cljs.core.truth_(pred__20814.call(null,new cljs.core.Keyword(null,"catch-block","catch-block",1175212748),expr__20815))){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(G__20808,self__.catch_exception,self__.finally_block,self__.continue_block,self__.prev,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__20814.call(null,new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),expr__20815))){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,G__20808,self__.finally_block,self__.continue_block,self__.prev,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__20814.call(null,new cljs.core.Keyword(null,"finally-block","finally-block",832982472),expr__20815))){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,G__20808,self__.continue_block,self__.prev,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__20814.call(null,new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850),expr__20815))){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,self__.finally_block,G__20808,self__.prev,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__20814.call(null,new cljs.core.Keyword(null,"prev","prev",-1597069226),expr__20815))){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,self__.finally_block,self__.continue_block,G__20808,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,self__.finally_block,self__.continue_block,self__.prev,self__.__meta,cljs.core.assoc.call(null,self__.__extmap,k__4180__auto__,G__20808),null)); +} +} +} +} +} +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"catch-block","catch-block",1175212748),self__.catch_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),self__.catch_exception,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"finally-block","finally-block",832982472),self__.finally_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850),self__.continue_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"prev","prev",-1597069226),self__.prev,null))], null),self__.__extmap)); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__4171__auto__,G__20808){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(self__.catch_block,self__.catch_exception,self__.finally_block,self__.continue_block,self__.prev,G__20808,self__.__extmap,self__.__hash)); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__auto__); +} +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"catch-block","catch-block",-1479223021,null),cljs.core.with_meta(new cljs.core.Symbol(null,"catch-exception","catch-exception",-356775268,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"Class","Class",2064526977,null)], null)),new cljs.core.Symbol(null,"finally-block","finally-block",-1821453297,null),new cljs.core.Symbol(null,"continue-block","continue-block",-211516323,null),new cljs.core.Symbol(null,"prev","prev",43462301,null)], null); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.cljs$lang$type = true; + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.cljs$lang$ctorPrSeq = (function (this__4208__auto__){ +return (new cljs.core.List(null,"cljs.core.async.impl.ioc-helpers/ExceptionFrame",null,(1),null)); +}); + +cljs.core.async.impl.ioc_helpers.ExceptionFrame.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__auto__,"cljs.core.async.impl.ioc-helpers/ExceptionFrame"); +}); + +/** + * Positional factory function for cljs.core.async.impl.ioc-helpers/ExceptionFrame. + */ +cljs.core.async.impl.ioc_helpers.__GT_ExceptionFrame = (function cljs$core$async$impl$ioc_helpers$__GT_ExceptionFrame(catch_block,catch_exception,finally_block,continue_block,prev){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(catch_block,catch_exception,finally_block,continue_block,prev,null,null,null)); +}); + +/** + * Factory function for cljs.core.async.impl.ioc-helpers/ExceptionFrame, taking a map of keywords to field values. + */ +cljs.core.async.impl.ioc_helpers.map__GT_ExceptionFrame = (function cljs$core$async$impl$ioc_helpers$map__GT_ExceptionFrame(G__20812){ +return (new cljs.core.async.impl.ioc_helpers.ExceptionFrame(new cljs.core.Keyword(null,"catch-block","catch-block",1175212748).cljs$core$IFn$_invoke$arity$1(G__20812),new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795).cljs$core$IFn$_invoke$arity$1(G__20812),new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(G__20812),new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850).cljs$core$IFn$_invoke$arity$1(G__20812),new cljs.core.Keyword(null,"prev","prev",-1597069226).cljs$core$IFn$_invoke$arity$1(G__20812),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__20812,new cljs.core.Keyword(null,"catch-block","catch-block",1175212748),new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),new cljs.core.Keyword(null,"finally-block","finally-block",832982472),new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850),new cljs.core.Keyword(null,"prev","prev",-1597069226))),null)); +}); + +cljs.core.async.impl.ioc_helpers.add_exception_frame = (function cljs$core$async$impl$ioc_helpers$add_exception_frame(state,catch_block,catch_exception,finally_block,continue_block){ +var statearr_20818 = state; +(statearr_20818[(4)] = cljs.core.async.impl.ioc_helpers.__GT_ExceptionFrame.call(null,catch_block,catch_exception,finally_block,continue_block,cljs.core.async.impl.ioc_helpers.aget_object.call(null,state,(4)))); + +return statearr_20818; +}); +cljs.core.async.impl.ioc_helpers.process_exception = (function cljs$core$async$impl$ioc_helpers$process_exception(state){ +while(true){ +var exception_frame = cljs.core.async.impl.ioc_helpers.aget_object.call(null,state,(4)); +var catch_block = new cljs.core.Keyword(null,"catch-block","catch-block",1175212748).cljs$core$IFn$_invoke$arity$1(exception_frame); +var catch_exception = new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795).cljs$core$IFn$_invoke$arity$1(exception_frame); +var exception = cljs.core.async.impl.ioc_helpers.aget_object.call(null,state,(5)); +if(cljs.core.truth_((function (){var and__3911__auto__ = exception; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not.call(null,exception_frame); +} else { +return and__3911__auto__; +} +})())){ +throw exception; +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = exception; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = catch_block; +if(cljs.core.truth_(and__3911__auto____$1)){ +return ((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"default","default",-1987822328),catch_exception)) || ((exception instanceof catch_exception))); +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())){ +var statearr_20819 = state; +(statearr_20819[(1)] = catch_block); + +(statearr_20819[(2)] = exception); + +(statearr_20819[(5)] = null); + +(statearr_20819[(4)] = cljs.core.assoc.call(null,exception_frame,new cljs.core.Keyword(null,"catch-block","catch-block",1175212748),null,new cljs.core.Keyword(null,"catch-exception","catch-exception",-1997306795),null)); + +return statearr_20819; +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = exception; +if(cljs.core.truth_(and__3911__auto__)){ +return ((cljs.core.not.call(null,catch_block)) && (cljs.core.not.call(null,new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(exception_frame)))); +} else { +return and__3911__auto__; +} +})())){ +var statearr_20820_20824 = state; +(statearr_20820_20824[(4)] = new cljs.core.Keyword(null,"prev","prev",-1597069226).cljs$core$IFn$_invoke$arity$1(exception_frame)); + + +var G__20825 = state; +state = G__20825; +continue; +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = exception; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = cljs.core.not.call(null,catch_block); +if(and__3911__auto____$1){ +return new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(exception_frame); +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())){ +var statearr_20821 = state; +(statearr_20821[(1)] = new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(exception_frame)); + +(statearr_20821[(4)] = cljs.core.assoc.call(null,exception_frame,new cljs.core.Keyword(null,"finally-block","finally-block",832982472),null)); + +return statearr_20821; +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.not.call(null,exception); +if(and__3911__auto__){ +return new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(exception_frame); +} else { +return and__3911__auto__; +} +})())){ +var statearr_20822 = state; +(statearr_20822[(1)] = new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(exception_frame)); + +(statearr_20822[(4)] = cljs.core.assoc.call(null,exception_frame,new cljs.core.Keyword(null,"finally-block","finally-block",832982472),null)); + +return statearr_20822; +} else { +if(((cljs.core.not.call(null,exception)) && (cljs.core.not.call(null,new cljs.core.Keyword(null,"finally-block","finally-block",832982472).cljs$core$IFn$_invoke$arity$1(exception_frame))))){ +var statearr_20823 = state; +(statearr_20823[(1)] = new cljs.core.Keyword(null,"continue-block","continue-block",-1852047850).cljs$core$IFn$_invoke$arity$1(exception_frame)); + +(statearr_20823[(4)] = new cljs.core.Keyword(null,"prev","prev",-1597069226).cljs$core$IFn$_invoke$arity$1(exception_frame)); + +return statearr_20823; +} else { +throw (new Error("No matching clause")); + +} +} +} +} +} +} +break; +} +}); + +//# sourceMappingURL=ioc_helpers.js.map?rel=1628501138867 diff --git a/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js.map b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js.map new file mode 100644 index 0000000..7aae221 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/ioc_helpers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async\/impl\/ioc_helpers.js","sources":["ioc_helpers.cljs?rel=1628501138870"],"lineCount":498,"mappings":";AAAA;;;AAIA,0CAAA,1CAAaA;AACb,6CAAA,7CAAaC;AACb,6CAAA,7CAAaC;AACb,gDA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0BAAMqB;;AARtBI;;AATD,oBAsBC,iBAAAF,oBAAKD;AAAL,AAAA,oBAAAC;AAAA,SACK,AAACC,wBAAIpE,kBACL,AAACoE,wBAAI,AAAA,oGAAgBH;;AAF1BE;;;AAIA,AAAI,IAAAG,uBAAerG;AAAf,AAAA,CAAAqG,qBACe7H,AAAA,OACA,AAAA,oFAAOwH;;AAFtBK;AAGA,eAAOrG;;;;AA7BZ,oBA+BC,iBAAAkG,oBAAKD;AAAL,AAAA,oBAAAC;AAAA,IAAAA,wBACK,AAACC,wBAAIpE;AADV,AAAA,GAAAmE;AAEK,OAAA,oGAAgBF;;AAFrBE;;;AAAAA;;;AAGA,IAAAI,iBAAetG;AAAf,AAAA,CAAAsG,eACejI,AAAA,OACA,AAAA,oGAAgB2H;;AAF\/B,CAAAM,eAGe9H,AAAA,OACA,0CAAA,sEAAA,hHAACmG,0BAAMqB;;AAJtBM;;AAlCD,oBAyCC,iBAAAJ,oBAAK,AAACC,wBAAIF;AAAV,AAAA,GAAAC;AACK,OAAA,oGAAgBF;;AADrBE;;;AAEA,AAAI,IAAAK,iBAAevG;AAAf,AAAA,CAAAuG,eACelI,AAAA,OACA,AAAA,oGAAgB2H;;AAF\/B,CAAAO,eAGe\/H,AAAA,OACA,0CAAA,sEAAA,hHAACmG,0BAAMqB;;AAJtBO;;AA3CL,GAkDC,EAAK,AAACJ,wBAAIF,gBACL,AAACE,wBAAI,AAAA,oGAAgBH;AAC1B,AAAI,IAAAQ,iBAAexG;AAAf,AAAA,CAAAwG,eACUnI,AAAA,OACA,AAAA,wGAAiB2H;;AAF3B,CAAAQ,eAGUhI,AAAA,OACA,AAAA,oFAAOwH;;AAJjBQ;;AApDL,AA0DO,MAAO,KAAAC,MAAA","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_helpers20796","_20798","meta20797","cljs.core\/PROTOCOL_SENTINEL","this__4161__auto__","writer__4162__auto__","opt__4163__auto__","cljs.core\/-write","cljs.core.async.impl.ioc-helpers\/->t_cljs$core$async$impl$ioc_helpers20796","_","cljs.core.async.impl.ioc-helpers\/run-state-machine","state","cljs.core.async.impl.ioc-helpers\/run-state-machine-wrapped","e20799","js\/Object","ex","cljs.core.async.impl.protocols\/close!","cljs.core.async.impl.ioc-helpers\/take!","blk","c","temp__4655__auto__","cb","cljs.core.async.impl.protocols\/take!","x","statearr-20800","statearr-20801","cljs.core\/deref","cljs.core.async.impl.ioc-helpers\/put!","val","cljs.core.async.impl.protocols\/put!","ret-val","statearr-20804","statearr-20805","cljs.core.async.impl.ioc-helpers\/return-chan","value","this__4172__auto__","k__4173__auto__","this__4174__auto__","k20809","else__4175__auto__","G__20813","cljs.core\/Keyword","catch-block","catch-exception","finally-block","continue-block","prev","cljs.core\/get","__extmap","this__4186__auto__","writer__4187__auto__","opts__4188__auto__","pr-pair__4189__auto__","keyval__4190__auto__","cljs.core\/pr-sequential-writer","cljs.core\/pr-writer","cljs.core\/concat","cljs.core\/PersistentVector","G__20808","cljs.core\/RecordIter","cljs.core\/-iterator","cljs.core\/nil-iter","this__4170__auto__","__meta","this__4167__auto__","__hash","this__4176__auto__","cljs.core\/count","this__4168__auto__","h__4030__auto__","coll__4169__auto__","cljs.core\/hash-unordered-coll","this20810","other20811","cljs.core\/=","this__4181__auto__","k__4182__auto__","cljs.core\/contains?","cljs.core\/dissoc","cljs.core\/-with-meta","cljs.core\/into","cljs.core\/not-empty","this__4179__auto__","k__4180__auto__","pred__20814","expr__20815","cljs.core\/assoc","this__4184__auto__","cljs.core\/seq","cljs\/core.MapEntry","this__4171__auto__","this__4177__auto__","entry__4178__auto__","cljs.core\/vector?","cljs.core\/-nth","cljs.core\/reduce","cljs.core\/-conj","cljs.core.async.impl.ioc-helpers\/ExceptionFrame","this__4208__auto__","cljs.core\/List","writer__4209__auto__","G__20812","cljs.core.async.impl.ioc-helpers\/->ExceptionFrame","cljs.core.async.impl.ioc-helpers\/map->ExceptionFrame","cljs.core.async.impl.ioc-helpers\/add-exception-frame","statearr-20818","cljs.core.async.impl.ioc-helpers\/process-exception","exception-frame","exception","and__3911__auto__","cljs.core\/not","statearr-20819","statearr-20820","statearr-20821","statearr-20822","statearr-20823","js\/Error"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs b/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs new file mode 100644 index 0000000..793a3f1 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs @@ -0,0 +1,43 @@ +;; Copyright (c) Rich Hickey and contributors. All rights reserved. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.core.async.impl.protocols) + +(def ^:const MAX-QUEUE-SIZE 1024) + +(defprotocol ReadPort + (take! [port fn1-handler] "derefable val if taken, nil if take was enqueued")) + +(defprotocol WritePort + (put! [port val fn1-handler] "derefable boolean (false if already closed) if handled, nil if put was enqueued. + Must throw on nil val.")) + +(defprotocol Channel + (close! [chan]) + (closed? [chan])) + +(defprotocol Handler + (active? [h] "returns true if has callback. Must work w/o lock") + (blockable? [h] "returns true if this handler may be blocked, otherwise it must not block") + #_(lock-id [h] "a unique id for lock acquisition order, 0 if no lock") + (commit [h] "commit to fulfilling its end of the transfer, returns cb. Must be called within lock")) + +(defprotocol Buffer + (full? [b] "returns true if buffer cannot accept put") + (remove! [b] "remove and return next item from buffer, called under chan mutex") + (add!* [b itm] "if room, add item to the buffer, returns b, called under chan mutex") + (close-buf! [b] "called on chan closed under chan mutex, return ignored")) + +(defn add! + ([b] b) + ([b itm] + (assert (not (nil? itm))) + (add!* b itm))) + +;; Defines a buffer that will never block (return true to full?) +(defprotocol UnblockingBuffer) diff --git a/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs.cache.json new file mode 100644 index 0000000..5041523 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.core.async.impl.protocols","~:imports",null,"~:requires",null,"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$remove!",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","~:line",32,"~:column",4,"~:end-line",32,"~:end-column",11,"~:protocol","~$cljs.core.async.impl.protocols/Buffer","~:doc","remove and return next item from buffer, called under chan mutex","~:arglists",["~#list",["~$quote",["^J",[["~$b"]]]]]],"^F","^G","^7","~$cljs.core.async.impl.protocols/remove!","~:variadic",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",11,"~:method-params",["^J",[["~$b"]]],"~:protocol-impl",null,"~:arglists-meta",["^J",[null,null]],"^C",1,"^B",30,"^D",32,"~:max-fixed-arity",1,"~:fn-var",true,"^I",["^J",["^K",["^J",[["~$b"]]]]],"^H","remove and return next item from buffer, called under chan mutex"],"~$close-buf!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",34,"^C",4,"^D",34,"^E",14,"^F","^G","^H","called on chan closed under chan mutex, return ignored","^I",["^J",["^K",["^J",[["~$b"]]]]]],"^F","^G","^7","~$cljs.core.async.impl.protocols/close-buf!","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",14,"^N",["^J",[["~$b"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",30,"^D",34,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["~$b"]]]]],"^H","called on chan closed under chan mutex, return ignored"],"~$close!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",21,"^C",4,"^D",21,"^E",10,"^F","~$cljs.core.async.impl.protocols/Channel","^H",null,"^I",["^J",["^K",["^J",[["~$chan"]]]]]],"^F","^V","^7","~$cljs.core.async.impl.protocols/close!","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",10,"^N",["^J",[["^W"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",20,"^D",21,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["^W"]]]]],"^H",null],"~$Handler",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",24,"^C",14,"^D",24,"^E",21,"^H",null,"~:protocol-symbol",true,"~:jsdoc",["^J",["@interface"]],"~:protocol-info",["^ ","~:methods",["^ ","~$active?",[["~$h"]],"~$blockable?",[["~$h"]],"~$commit",[["~$h"]]]]],"^Z",true,"^7","~$cljs.core.async.impl.protocols/Handler","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",21,"^C",1,"^B",24,"^10",["^ ","^11",["^ ","^12",[["~$h"]],"^13",[["~$h"]],"^14",[["~$h"]]]],"~:info",null,"^D",24,"~:tag","~$any","~:impls",["^6",[]],"^H",null,"^[",["^J",["@interface"]]],"^13",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",26,"^C",4,"^D",26,"^E",14,"^F","^15","^H","returns true if this handler may be blocked, otherwise it must not block","^I",["^J",["^K",["^J",[["~$h"]]]]]],"^F","^15","^7","~$cljs.core.async.impl.protocols/blockable?","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",14,"^N",["^J",[["~$h"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",24,"^D",26,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["~$h"]]]]],"^H","returns true if this handler may be blocked, otherwise it must not block"],"^12",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",25,"^C",4,"^D",25,"^E",11,"^F","^15","^H","returns true if has callback. Must work w/o lock","^I",["^J",["^K",["^J",[["~$h"]]]]]],"^F","^15","^7","~$cljs.core.async.impl.protocols/active?","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",11,"^N",["^J",[["~$h"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",24,"^D",25,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["~$h"]]]]],"^H","returns true if has callback. Must work w/o lock"],"~$Buffer",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",30,"^C",14,"^D",30,"^E",20,"^H",null,"^Z",true,"^[",["^J",["@interface"]],"^10",["^ ","^11",["^ ","~$full?",[["~$b"]],"^>",[["~$b"]],"~$add!*",[["~$b","~$itm"]],"^S",[["~$b"]]]]],"^Z",true,"^7","^G","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",20,"^C",1,"^B",30,"^10",["^ ","^11",["^ ","^1=",[["~$b"]],"^>",[["~$b"]],"^1>",[["~$b","^1?"]],"^S",[["~$b"]]]],"^16",null,"^D",30,"^17","^18","^19",["^6",[]],"^H",null,"^[",["^J",["@interface"]]],"^1=",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",31,"^C",4,"^D",31,"^E",9,"^F","^G","^H","returns true if buffer cannot accept put","^I",["^J",["^K",["^J",[["~$b"]]]]]],"^F","^G","^7","~$cljs.core.async.impl.protocols/full?","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",9,"^N",["^J",[["~$b"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",30,"^D",31,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["~$b"]]]]],"^H","returns true if buffer cannot accept put"],"~$add!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",36,"^C",7,"^D",36,"^E",11,"^I",["^J",["^K",["^J",[["~$b"],["~$b","^1?"]]]]],"~:top-fn",["^ ","^M",false,"^Q",2,"^N",["^J",[["~$b"],["~$b","^1?"]]],"^I",["^J",[["~$b"],["~$b","^1?"]]],"^P",["^J",[null,null]]]],"^7","~$cljs.core.async.impl.protocols/add!","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",11,"^1B",["^ ","^M",false,"^Q",2,"^N",["^J",[["~$b"],["~$b","^1?"]]],"^I",["^J",[["~$b"],["~$b","^1?"]]],"^P",["^J",[null,null]]],"^N",["^J",[["~$b"],["~$b","^1?"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",36,"^D",36,"^Q",2,"^R",true,"^I",["^J",[["~$b"],["~$b","^1?"]]]],"^1>",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",33,"^C",4,"^D",33,"^E",9,"^F","^G","^H","if room, add item to the buffer, returns b, called under chan mutex","^I",["^J",["^K",["^J",[["~$b","^1?"]]]]]],"^F","^G","^7","~$cljs.core.async.impl.protocols/add!*","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",9,"^N",["^J",[["~$b","^1?"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",30,"^D",33,"^Q",2,"^R",true,"^I",["^J",["^K",["^J",[["~$b","^1?"]]]]],"^H","if room, add item to the buffer, returns b, called under chan mutex"],"~$ReadPort",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",13,"^C",14,"^D",13,"^E",22,"^H",null,"^Z",true,"^[",["^J",["@interface"]],"^10",["^ ","^11",["^ ","~$take!",[["~$port","~$fn1-handler"]]]]],"^Z",true,"^7","~$cljs.core.async.impl.protocols/ReadPort","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",22,"^C",1,"^B",13,"^10",["^ ","^11",["^ ","^1F",[["^1G","^1H"]]]],"^16",null,"^D",13,"^17","^18","^19",["^6",[]],"^H",null,"^[",["^J",["@interface"]]],"~$Channel",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",20,"^C",14,"^D",20,"^E",21,"^H",null,"^Z",true,"^[",["^J",["@interface"]],"^10",["^ ","^11",["^ ","^U",[["^W"]],"~$closed?",[["^W"]]]]],"^Z",true,"^7","^V","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",21,"^C",1,"^B",20,"^10",["^ ","^11",["^ ","^U",[["^W"]],"^1K",[["^W"]]]],"^16",null,"^D",20,"^17","^18","^19",["^6",[]],"^H",null,"^[",["^J",["@interface"]]],"^1K",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",22,"^C",4,"^D",22,"^E",11,"^F","^V","^H",null,"^I",["^J",["^K",["^J",[["^W"]]]]]],"^F","^V","^7","~$cljs.core.async.impl.protocols/closed?","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",11,"^N",["^J",[["^W"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",20,"^D",22,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["^W"]]]]],"^H",null],"~$UnblockingBuffer",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",43,"^C",14,"^D",43,"^E",30,"^H",null,"^Z",true,"^[",["^J",["@interface"]],"^10",["^ ","^11",["^ "]]],"^Z",true,"^7","~$cljs.core.async.impl.protocols/UnblockingBuffer","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",30,"^C",1,"^B",43,"^10",["^ ","^11",["^ "]],"^16",null,"^D",43,"^17","^18","^19",["^6",[]],"^H",null,"^[",["^J",["@interface"]]],"~$MAX-QUEUE-SIZE",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",11,"^C",14,"^D",11,"^E",28,"~:const",true],"^7","~$cljs.core.async.impl.protocols/MAX-QUEUE-SIZE","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",28,"~:const-expr",["^ ","~:op","~:constant","~:env",["^ ","~:context","~:expr"],"~:form",1024,"^17","~$number"],"^C",1,"^1P",true,"^B",11,"^D",11,"^17","^1Y"],"^14",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",28,"^C",4,"^D",28,"^E",10,"^F","^15","^H","commit to fulfilling its end of the transfer, returns cb. Must be called within lock","^I",["^J",["^K",["^J",[["~$h"]]]]]],"^F","^15","^7","~$cljs.core.async.impl.protocols/commit","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",10,"^N",["^J",[["~$h"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",24,"^D",28,"^Q",1,"^R",true,"^I",["^J",["^K",["^J",[["~$h"]]]]],"^H","commit to fulfilling its end of the transfer, returns cb. Must be called within lock"],"~$put!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",17,"^C",4,"^D",17,"^E",8,"^F","~$cljs.core.async.impl.protocols/WritePort","^H","derefable boolean (false if already closed) if handled, nil if put was enqueued.\n Must throw on nil val.","^I",["^J",["^K",["^J",[["^1G","~$val","^1H"]]]]]],"^F","^20","^7","~$cljs.core.async.impl.protocols/put!","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",8,"^N",["^J",[["^1G","^21","^1H"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",16,"^D",17,"^Q",3,"^R",true,"^I",["^J",["^K",["^J",[["^1G","^21","^1H"]]]]],"^H","derefable boolean (false if already closed) if handled, nil if put was enqueued.\n Must throw on nil val."],"^1F",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",14,"^C",4,"^D",14,"^E",9,"^F","^1I","^H","derefable val if taken, nil if take was enqueued","^I",["^J",["^K",["^J",[["^1G","^1H"]]]]]],"^F","^1I","^7","~$cljs.core.async.impl.protocols/take!","^M",false,"^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",9,"^N",["^J",[["^1G","^1H"]]],"^O",null,"^P",["^J",[null,null]],"^C",1,"^B",13,"^D",14,"^Q",2,"^R",true,"^I",["^J",["^K",["^J",[["^1G","^1H"]]]]],"^H","derefable val if taken, nil if take was enqueued"],"~$WritePort",["^ ","^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/protocols.cljs","^B",16,"^C",14,"^D",16,"^E",23,"^H",null,"^Z",true,"^[",["^J",["@interface"]],"^10",["^ ","^11",["^ ","^1[",[["^1G","^21","^1H"]]]]],"^Z",true,"^7","^20","^A","resources/public/js/out/cljs/core/async/impl/protocols.cljs","^E",23,"^C",1,"^B",16,"^10",["^ ","^11",["^ ","^1[",[["^1G","^21","^1H"]]]],"^16",null,"^D",16,"^17","^18","^19",["^6",[]],"^H",null,"^[",["^J",["@interface"]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"^H",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/protocols.js b/examples/resources/public/js/out/cljs/core/async/impl/protocols.js new file mode 100644 index 0000000..0523a1f --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/protocols.js @@ -0,0 +1,311 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async.impl.protocols'); +goog.require('cljs.core'); +cljs.core.async.impl.protocols.MAX_QUEUE_SIZE = (1024); + +/** + * @interface + */ +cljs.core.async.impl.protocols.ReadPort = function(){}; + +/** + * 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 { +var x__4211__auto__ = (((port == null))?null:port); +var m__4212__auto__ = (cljs.core.async.impl.protocols.take_BANG_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,port,fn1_handler); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.take_BANG_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,port,fn1_handler); +} else { +throw cljs.core.missing_protocol.call(null,"ReadPort.take!",port); +} +} +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.WritePort = function(){}; + +/** + * 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 { +var x__4211__auto__ = (((port == null))?null:port); +var m__4212__auto__ = (cljs.core.async.impl.protocols.put_BANG_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,port,val,fn1_handler); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.put_BANG_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,port,val,fn1_handler); +} else { +throw cljs.core.missing_protocol.call(null,"WritePort.put!",port); +} +} +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.Channel = function(){}; + +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 { +var x__4211__auto__ = (((chan == null))?null:chan); +var m__4212__auto__ = (cljs.core.async.impl.protocols.close_BANG_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,chan); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.close_BANG_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,chan); +} else { +throw cljs.core.missing_protocol.call(null,"Channel.close!",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 { +var x__4211__auto__ = (((chan == null))?null:chan); +var m__4212__auto__ = (cljs.core.async.impl.protocols.closed_QMARK_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,chan); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.closed_QMARK_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,chan); +} else { +throw cljs.core.missing_protocol.call(null,"Channel.closed?",chan); +} +} +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.Handler = function(){}; + +/** + * 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 { +var x__4211__auto__ = (((h == null))?null:h); +var m__4212__auto__ = (cljs.core.async.impl.protocols.active_QMARK_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,h); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.active_QMARK_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,h); +} else { +throw cljs.core.missing_protocol.call(null,"Handler.active?",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 { +var x__4211__auto__ = (((h == null))?null:h); +var m__4212__auto__ = (cljs.core.async.impl.protocols.blockable_QMARK_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,h); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.blockable_QMARK_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,h); +} else { +throw cljs.core.missing_protocol.call(null,"Handler.blockable?",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 { +var x__4211__auto__ = (((h == null))?null:h); +var m__4212__auto__ = (cljs.core.async.impl.protocols.commit[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,h); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.commit["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,h); +} else { +throw cljs.core.missing_protocol.call(null,"Handler.commit",h); +} +} +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.Buffer = function(){}; + +/** + * 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 { +var x__4211__auto__ = (((b == null))?null:b); +var m__4212__auto__ = (cljs.core.async.impl.protocols.full_QMARK_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,b); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.full_QMARK_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,b); +} else { +throw cljs.core.missing_protocol.call(null,"Buffer.full?",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 { +var x__4211__auto__ = (((b == null))?null:b); +var m__4212__auto__ = (cljs.core.async.impl.protocols.remove_BANG_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,b); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.remove_BANG_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,b); +} else { +throw cljs.core.missing_protocol.call(null,"Buffer.remove!",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 { +var x__4211__auto__ = (((b == null))?null:b); +var m__4212__auto__ = (cljs.core.async.impl.protocols.add_BANG__STAR_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,b,itm); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.add_BANG__STAR_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,b,itm); +} else { +throw cljs.core.missing_protocol.call(null,"Buffer.add!*",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 { +var x__4211__auto__ = (((b == null))?null:b); +var m__4212__auto__ = (cljs.core.async.impl.protocols.close_buf_BANG_[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,b); +} else { +var m__4212__auto____$1 = (cljs.core.async.impl.protocols.close_buf_BANG_["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,b); +} else { +throw cljs.core.missing_protocol.call(null,"Buffer.close-buf!",b); +} +} +} +}); + +cljs.core.async.impl.protocols.add_BANG_ = (function cljs$core$async$impl$protocols$add_BANG_(var_args){ +var G__19703 = arguments.length; +switch (G__19703) { +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_.call(null,b,itm); +}); + +cljs.core.async.impl.protocols.add_BANG_.cljs$lang$maxFixedArity = 2; + + +/** + * @interface + */ +cljs.core.async.impl.protocols.UnblockingBuffer = function(){}; + + +//# sourceMappingURL=protocols.js.map?rel=1628501138200 diff --git a/examples/resources/public/js/out/cljs/core/async/impl/protocols.js.map b/examples/resources/public/js/out/cljs/core/async/impl/protocols.js.map new file mode 100644 index 0000000..6682c53 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/protocols.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async\/impl\/protocols.js","sources":["protocols.cljs?rel=1628501138201"],"lineCount":311,"mappings":";AAQA;;AAEA,gDAAA,hDAAaA;AAEb,AAAA;AAAA;;;0CAAA,1CAAaM;;AAAb;;;4CAAA,5CACGC,gGAAOC,KAAKC;AADf,AAAA,GAAA,EAAA,EAAA,SAAA,YAAA,EAAA,CAAA,mEAAA,1FACUD,uBAAAA;AADV,OACUA,gEAAAA,KAAKC;;AADf,IAAAR,kBAAA,EAAA,SAAA,OAAA,fACUO,oBAAAA;IADVN,kBAAA,CAAAC,0CAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,EAAA,CAAAC,mBAAA;AAAA,OAAAA,0BACUM,KAAKC;;AADf,IAAAP,sBAAA,CAAAC,0CAAA;AAAA,AAAA,GAAA,EAAA,CAAAD,uBAAA;AAAA,OAAAA,8BACUM,KAAKC;;AADf,MAAA,AAAAJ,qCAAA,iBACUG;;;;;;AADV,AAGA,AAAA;AAAA;;;2CAAA,3CAAaG;;AAAb;;;;2CAAA,3CACGC,8FAAMJ,KAAKK,IAAIJ;AADlB,AAAA,GAAA,EAAA,EAAA,SAAA,YAAA,EAAA,CAAA,mEAAA,1FACSD,uBAAAA;AADT,OACSA,gEAAAA,KAAKK,IAAIJ;;AADlB,IAAAR,kBAAA,EAAA,SAAA,OAAA,fACSO,oBAAAA;IADTN,kBAAA,CAAAQ,yCAAA,AAAAN,YAAAH;AAAA,AAAA,GAAA,EAAA,CAAAC,mBAAA;AAAA,OAAAA,0BACSM,KAAKK,IAAIJ;;AADlB,IAAAP,sBAAA,CAAAQ,yCAAA;AAAA,AAAA,GAAA,EAAA,CAAAR,uBAAA;AAAA,OAAAA,8BACSM,KAAKK,IAAIJ;;AADlB,MAAA,AAAAJ,qCAAA,iBACSG;;;;;;AADT,AAIA,AAAA;AAAA;;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AA,EAAA,MAAA,YAAA,EAAA,CAAA,mEAAA,vFAIeA,oBAAAA;AAJf,OAIeA,gEAAAA;;AAJf,IAAAjC,kBAAA,EAAA,MAAA,OAAA,ZAIeiC,iBAAAA;IAJfhC,kBAAA,CAAA6B,+CAAA,AAAA3B,YAAAH;AAAA,AAAA,GAAA,EAAA,CAAAC,mBAAA;AAAA,OAAAA,0BAIegC;;AAJf,IAAAhC,sBAAA,CAAA6B,+CAAA;AAAA,AAAA,GAAA,EAAA,CAAA7B,uBAAA;AAAA,OAAAA,8BAIegC;;AAJf,MAAA,AAAA7B,qCAAA,oBAIe6B;;;;;;AAJf,AAMA,AAAA,2CAAA,mDAAAK,9FAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,uEAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,uEAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,AAAA,yEAAA,zEAAMD,oFACFP;AADJ,AACOA;;;AADP,AAAA,yEAAA,zEAAMO,oFAEFP,EAAEG;AAFN,AAGK,GAAQ,EAAK,QAAA,PAAMA;AAAnB;AAAA,AAAA,MAAA,KAAAK,MAAA;;;AACA,OAACN,yDAAMF,EAAEG;;;AAJd,AAAA,mEAAA,nEAAMI;;AAAN,AAOA,AAAA;AAAA;;;kDAAA,lDAAaE;;AAAb","names":["cljs.core.async.impl.protocols\/MAX-QUEUE-SIZE","x__4211__auto__","m__4212__auto__","cljs\/core.async.impl.protocols.take!","goog\/typeOf","cljs.core\/missing-protocol","cljs.core.async.impl.protocols\/ReadPort","cljs.core.async.impl.protocols\/take!","port","fn1-handler","cljs\/core.async.impl.protocols.put!","cljs.core.async.impl.protocols\/WritePort","cljs.core.async.impl.protocols\/put!","val","cljs\/core.async.impl.protocols.close!","cljs\/core.async.impl.protocols.closed?","cljs.core.async.impl.protocols\/Channel","cljs.core.async.impl.protocols\/close!","chan","cljs.core.async.impl.protocols\/closed?","cljs\/core.async.impl.protocols.active?","cljs\/core.async.impl.protocols.blockable?","cljs\/core.async.impl.protocols.commit","cljs.core.async.impl.protocols\/Handler","cljs.core.async.impl.protocols\/active?","h","cljs.core.async.impl.protocols\/blockable?","cljs.core.async.impl.protocols\/commit","cljs\/core.async.impl.protocols.full?","cljs\/core.async.impl.protocols.remove!","cljs\/core.async.impl.protocols.add!*","cljs\/core.async.impl.protocols.close-buf!","cljs.core.async.impl.protocols\/Buffer","cljs.core.async.impl.protocols\/full?","b","cljs.core.async.impl.protocols\/remove!","cljs.core.async.impl.protocols\/add!*","itm","cljs.core.async.impl.protocols\/close-buf!","var_args","G__19703","cljs.core.async.impl.protocols\/add!","js\/Error","cljs.core.async.impl.protocols\/UnblockingBuffer"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs b/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs new file mode 100644 index 0000000..4c3cad5 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs @@ -0,0 +1,172 @@ +;; Copyright (c) Rich Hickey and contributors. All rights reserved. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.core.async.impl.timers + (:require [cljs.core.async.impl.protocols :as impl] + [cljs.core.async.impl.channels :as channels] + [cljs.core.async.impl.dispatch :as dispatch])) + +(def MAX_LEVEL 15) ;; 16 levels +(def P (/ 1 2)) + +(defn random-level + ([] (random-level 0)) + ([level] + (if (and (< (.random js/Math) P) + (< level MAX_LEVEL)) + (recur (inc level)) + level))) + +(deftype SkipListNode [key ^:mutable val forward] + ISeqable + (-seq [coll] + (list key val)) + + IPrintWithWriter + (-pr-writer [coll writer opts] + (pr-sequential-writer writer pr-writer "[" " " "]" opts coll))) + +(defn skip-list-node + ([level] (skip-list-node nil nil level)) + ([k v level] + (let [arr (make-array (inc level))] + (loop [i 0] + (when (< i (alength arr)) + (aset arr i nil) + (recur (inc i)))) + (SkipListNode. k v arr)))) + +(defn least-greater-node + ([x k level] (least-greater-node x k level nil)) + ([x k level update] + (if-not (neg? level) + (let [x (loop [x x] + (if-let [x' (when (< level (alength (.-forward x))) + (aget (.-forward x) level))] + (if (< (.-key x') k) + (recur x') + x) + x))] + (when-not (nil? update) + (aset update level x)) + (recur x k (dec level) update)) + x))) + +(deftype SkipList [header ^:mutable level] + Object + (put [coll k v] + (let [update (make-array MAX_LEVEL) + x (least-greater-node header k level update) + x (aget (.-forward x) 0)] + (if (and (not (nil? x)) (== (.-key x) k)) + (set! (.-val x) v) + (let [new-level (random-level)] + (when (> new-level level) + (loop [i (inc level)] + (when (<= i (inc new-level)) + (aset update i header) + (recur (inc i)))) + (set! level new-level)) + (let [x (skip-list-node k v (make-array new-level))] + (loop [i 0] + (when (<= i level) + (let [links (.-forward (aget update i))] + (aset (.-forward x) i (aget links i)) + (aset links i x))))))))) + + (remove [coll k] + (let [update (make-array MAX_LEVEL) + x (least-greater-node header k level update) + x (when-not (zero? (alength (.-forward x))) + (aget (.-forward x) 0))] + (when (and (not (nil? x)) (== (.-key x) k)) + (loop [i 0] + (when (<= i level) + (let [links (.-forward (aget update i))] + (if (identical? x (when (< i (alength links)) + (aget links i))) + (do + (aset links i (aget (.-forward x) i)) + (recur (inc i))) + (recur (inc i)))))) + (while (and (< 0 level (alength (.-forward header))) + (nil? (aget (.-forward header) level))) + (set! level (dec level)))))) + + (ceilingEntry [coll k] + (loop [x header level level] + (if-not (neg? level) + (let [nx (loop [x x] + (let [x' (when (< level (alength (.-forward x))) + (aget (.-forward x) level))] + (when-not (nil? x') + (if (>= (.-key x') k) + x' + (recur x')))))] + (if-not (nil? nx) + (recur nx (dec level)) + (recur x (dec level)))) + (when-not (identical? x header) + x)))) + + (floorEntry [coll k] + (loop [x header level level] + (if-not (neg? level) + (let [nx (loop [x x] + (let [x' (when (< level (alength (.-forward x))) + (aget (.-forward x) level))] + (if-not (nil? x') + (if (> (.-key x') k) + x + (recur x')) + (when (zero? level) + x))))] + (if nx + (recur nx (dec level)) + (recur x (dec level)))) + (when-not (identical? x header) + x)))) + + ISeqable + (-seq [coll] + (letfn [(iter [node] + (lazy-seq + (when-not (nil? node) + (cons [(.-key node) (.-val node)] + (iter (aget (.-forward node) 0))))))] + (iter (aget (.-forward header) 0)))) + + IPrintWithWriter + (-pr-writer [coll writer opts] + (let [pr-pair (fn [keyval] + (pr-sequential-writer writer pr-writer "" " " "" opts keyval))] + (pr-sequential-writer writer pr-pair "{" ", " "}" opts coll)))) + +(defn skip-list [] + (SkipList. (skip-list-node 0) 0)) + +(def timeouts-map (skip-list)) + +(def TIMEOUT_RESOLUTION_MS 10) + +(defn timeout + "returns a channel that will close after msecs" + [msecs] + (let [timeout (+ (.valueOf (js/Date.)) msecs) + me (.ceilingEntry timeouts-map timeout)] + (or (when (and me (< (.-key me) (+ timeout TIMEOUT_RESOLUTION_MS))) + (.-val me)) + (let [timeout-channel (channels/chan nil)] + (.put timeouts-map timeout timeout-channel) + (dispatch/queue-delay + (fn [] + (.remove timeouts-map timeout) + (impl/close! timeout-channel)) + msecs) + timeout-channel)))) + diff --git a/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs.cache.json b/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs.cache.json new file mode 100644 index 0000000..e0bcc12 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$Math",["^ ","~$random",["^ "]],"~$Array",["^ "],"~$Date",["^ ","~$prototype",["^ ","~$valueOf",["^ "]]]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.core.async.impl.timers","~:imports",null,"~:requires",["^ ","~$impl","~$cljs.core.async.impl.protocols","^B","^B","~$channels","~$cljs.core.async.impl.channels","^D","^D","~$dispatch","~$cljs.core.async.impl.dispatch","^F","^F"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$->SkipListNode",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:protocols",["^<",["~$cljs.core/ISeqable","~$cljs.core/IPrintWithWriter"]],"~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","~:end-column",22,"~:column",10,"~:factory","~:positional","~:line",25,"~:end-line",25,"~:arglists",["~#list",["~$quote",["^X",[["~$key","~$val","~$forward"]]]]],"~:skip-protocol-flag",["^<",["^N","^O"]],"~:doc","Positional factory function for cljs.core.async.impl.timers/SkipListNode."],"^M",["^<",["^N","^O"]],"^=","~$cljs.core.async.impl.timers/->SkipListNode","~:variadic",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",22,"~:method-params",["^X",[["^Z","^[","^10"]]],"~:protocol-impl",null,"~:arglists-meta",["^X",[null,null]],"^R",1,"^S","^T","^U",25,"^V",25,"~:max-fixed-arity",3,"~:fn-var",true,"^W",["^X",["^Y",["^X",[["^Z","^[","^10"]]]]],"^11",["^<",["^N","^O"]],"^12","Positional factory function for cljs.core.async.impl.timers/SkipListNode."],"~$timeout",["^ ","^K",null,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",157,"^R",7,"^V",157,"^Q",14,"^W",["^X",["^Y",["^X",[["~$msecs"]]]]],"^12","returns a channel that will close after msecs"],"^=","~$cljs.core.async.impl.timers/timeout","^14",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",14,"^15",["^X",[["^1;"]]],"^16",null,"^17",["^X",[null,null]],"^R",1,"^U",157,"^V",157,"^18",1,"^19",true,"^W",["^X",["^Y",["^X",[["^1;"]]]]],"^12","returns a channel that will close after msecs"],"~$random-level",["^ ","^K",null,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",17,"^R",7,"^V",17,"^Q",19,"^W",["^X",["^Y",["^X",[[],["~$level"]]]]],"~:top-fn",["^ ","^14",false,"^18",1,"^15",["^X",[[],["^1>"]]],"^W",["^X",[[],["^1>"]]],"^17",["^X",[null,null]]]],"^=","~$cljs.core.async.impl.timers/random-level","^14",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",19,"^1?",["^ ","^14",false,"^18",1,"^15",["^X",[[],["^1>"]]],"^W",["^X",[[],["^1>"]]],"^17",["^X",[null,null]]],"^15",["^X",[[],["^1>"]]],"^16",null,"^17",["^X",[null,null]],"^R",1,"^U",17,"^V",17,"^18",1,"^19",true,"^W",["^X",[[],["^1>"]]]],"~$SkipList",["^ ","~:num-fields",2,"^M",["^<",["~$cljs.core.async.impl.timers/Object","^N","^O"]],"^=","~$cljs.core.async.impl.timers/SkipList","^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",18,"~:type",true,"^R",10,"^U",60,"~:record",false,"^V",60,"^11",["^<",["^N","^O"]]],"~$skip-list",["^ ","^K",null,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",150,"^R",7,"^V",150,"^Q",16,"^W",["^X",["^Y",["^X",[[]]]]]],"^=","~$cljs.core.async.impl.timers/skip-list","^14",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",16,"^15",["^X",[[]]],"^16",null,"^17",["^X",[null,null]],"^R",1,"^U",150,"^V",150,"^18",0,"^19",true,"^W",["^X",["^Y",["^X",[[]]]]]],"~$->SkipList",["^ ","^K",null,"^L",["^ ","^M",["^<",["^1C","^N","^O"]],"^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",18,"^R",10,"^S","^T","^U",60,"^V",60,"^W",["^X",["^Y",["^X",[["~$header","^1>"]]]]],"^11",["^<",["^N","^O"]],"^12","Positional factory function for cljs.core.async.impl.timers/SkipList."],"^M",["^<",["^1C","^N","^O"]],"^=","~$cljs.core.async.impl.timers/->SkipList","^14",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",18,"^15",["^X",[["^1J","^1>"]]],"^16",null,"^17",["^X",[null,null]],"^R",1,"^S","^T","^U",60,"^V",60,"^18",2,"^19",true,"^W",["^X",["^Y",["^X",[["^1J","^1>"]]]]],"^11",["^<",["^N","^O"]],"^12","Positional factory function for cljs.core.async.impl.timers/SkipList."],"~$MAX_LEVEL",["^ ","^=","~$cljs.core.async.impl.timers/MAX_LEVEL","^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",14,"^R",1,"^V",14,"^Q",15,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",14,"^R",6,"^V",14,"^Q",15],"~:tag","~$number"],"~$P",["^ ","^=","~$cljs.core.async.impl.timers/P","^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",15,"^R",1,"^V",15,"^Q",7,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",15,"^R",6,"^V",15,"^Q",7],"^1N","^1O"],"~$timeouts-map",["^ ","^=","~$cljs.core.async.impl.timers/timeouts-map","^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",153,"^R",1,"^V",153,"^Q",18,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",153,"^R",6,"^V",153,"^Q",18],"^1N","~$any"],"~$SkipListNode",["^ ","^1B",3,"^M",["^<",["^N","^O"]],"^=","~$cljs.core.async.impl.timers/SkipListNode","^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",22,"^1E",true,"^R",10,"^U",25,"^1F",false,"^V",25,"^11",["^<",["^N","^O"]]],"~$skip-list-node",["^ ","^K",null,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",34,"^R",7,"^V",34,"^Q",21,"^W",["^X",["^Y",["^X",[["^1>"],["~$k","~$v","^1>"]]]]],"^1?",["^ ","^14",false,"^18",3,"^15",["^X",[["^1>"],["~$k","~$v","^1>"]]],"^W",["^X",[["^1>"],["~$k","~$v","^1>"]]],"^17",["^X",[null,null]]]],"^=","~$cljs.core.async.impl.timers/skip-list-node","^14",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",21,"^1?",["^ ","^14",false,"^18",3,"^15",["^X",[["^1>"],["~$k","~$v","^1>"]]],"^W",["^X",[["^1>"],["~$k","~$v","^1>"]]],"^17",["^X",[null,null]]],"^15",["^X",[["^1>"],["~$k","~$v","^1>"]]],"^16",null,"^17",["^X",[null,null]],"^R",1,"^U",34,"^V",34,"^18",3,"^19",true,"^W",["^X",[["^1>"],["~$k","~$v","^1>"]]]],"~$least-greater-node",["^ ","^K",null,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",44,"^R",7,"^V",44,"^Q",25,"^W",["^X",["^Y",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","~$update"]]]]],"^1?",["^ ","^14",false,"^18",4,"^15",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","^1Y"]]],"^W",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","^1Y"]]],"^17",["^X",[null,null]]]],"^=","~$cljs.core.async.impl.timers/least-greater-node","^14",false,"^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^Q",25,"^1?",["^ ","^14",false,"^18",4,"^15",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","^1Y"]]],"^W",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","^1Y"]]],"^17",["^X",[null,null]]],"^15",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","^1Y"]]],"^16",null,"^17",["^X",[null,null]],"^R",1,"^U",44,"^V",44,"^18",4,"^19",true,"^W",["^X",[["~$x","~$k","^1>"],["~$x","~$k","^1>","^1Y"]]]],"~$TIMEOUT_RESOLUTION_MS",["^ ","^=","~$cljs.core.async.impl.timers/TIMEOUT_RESOLUTION_MS","^P","resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",155,"^R",1,"^V",155,"^Q",27,"^L",["^ ","^P","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/core/async/impl/timers.cljs","^U",155,"^R",6,"^V",155,"^Q",27],"^1N","^1O"]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^<",["^Z","^10","^[","^1J","^1>","~:mutable"]],"~:order",["^Z","^[","^25","^10","^1J","^1>"]],"^12",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/core/async/impl/timers.js b/examples/resources/public/js/out/cljs/core/async/impl/timers.js new file mode 100644 index 0000000..06b2ad2 --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/timers.js @@ -0,0 +1,479 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.core.async.impl.timers'); +goog.require('cljs.core'); +goog.require('cljs.core.async.impl.protocols'); +goog.require('cljs.core.async.impl.channels'); +goog.require('cljs.core.async.impl.dispatch'); +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__20829 = arguments.length; +switch (G__20829) { +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.call(null,(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__20831 = (level + (1)); +level = G__20831; +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.call(null,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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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__20833 = arguments.length; +switch (G__20833) { +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.call(null,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_20835 = (0); +while(true){ +if((i_20835 < arr.length)){ +(arr[i_20835] = null); + +var G__20836 = (i_20835 + (1)); +i_20835 = G__20836; +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__20838 = arguments.length; +switch (G__20838) { +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.call(null,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__4655__auto__ = (((level < x__$1.forward.length))?(x__$1.forward[level]):null); +if(cljs.core.truth_(temp__4655__auto__)){ +var x_SINGLEQUOTE_ = temp__4655__auto__; +if((x_SINGLEQUOTE_.key < k)){ +var G__20840 = x_SINGLEQUOTE_; +x__$1 = G__20840; +continue; +} else { +return x__$1; +} +} else { +return x__$1; +} +break; +} +})(); +if((update == null)){ +} else { +(update[level] = x__$1); +} + +var G__20841 = x__$1; +var G__20842 = k; +var G__20843 = (level - (1)); +var G__20844 = update; +x = G__20841; +k = G__20842; +level = G__20843; +update = G__20844; +continue; +} else { +return x; +} +break; +} +}); + +cljs.core.async.impl.timers.least_greater_node.cljs$lang$maxFixedArity = 4; + + +/** +* @constructor + * @implements {cljs.core.async.impl.timers.Object} + * @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.call(null,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.call(null); +if((new_level > self__.level)){ +var i_20845 = (self__.level + (1)); +while(true){ +if((i_20845 <= (new_level + (1)))){ +(update[i_20845] = self__.header); + +var G__20846 = (i_20845 + (1)); +i_20845 = G__20846; +continue; +} else { +} +break; +} + +self__.level = new_level; +} else { +} + +var x__$2 = cljs.core.async.impl.timers.skip_list_node.call(null,k,v,(new Array(new_level))); +var i = (0); +while(true){ +if((i <= self__.level)){ +var links = (update[i]).forward; +(x__$2.forward[i] = (links[i])); + +return (links[i] = x__$2); +} 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.call(null,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_20847 = (0); +while(true){ +if((i_20847 <= self__.level)){ +var links_20848 = (update[i_20847]).forward; +if((x__$1 === (((i_20847 < links_20848.length))?(links_20848[i_20847]):null))){ +(links_20848[i_20847] = (x__$1.forward[i_20847])); + +var G__20849 = (i_20847 + (1)); +i_20847 = G__20849; +continue; +} else { +var G__20850 = (i_20847 + (1)); +i_20847 = G__20850; +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)){ +return null; +} else { +if((x_SINGLEQUOTE_.key >= k)){ +return x_SINGLEQUOTE_; +} else { +var G__20851 = x_SINGLEQUOTE_; +x__$1 = G__20851; +continue; +} +} +break; +} +})(); +if(!((nx == null))){ +var G__20852 = nx; +var G__20853 = (level__$1 - (1)); +x = G__20852; +level__$1 = G__20853; +continue; +} else { +var G__20854 = x; +var G__20855 = (level__$1 - (1)); +x = G__20854; +level__$1 = G__20855; +continue; +} +} else { +if((x === self__.header)){ +return null; +} else { +return x; +} +} +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__20856 = x_SINGLEQUOTE_; +x__$1 = G__20856; +continue; +} +} else { +if((level__$1 === (0))){ +return x__$1; +} else { +return null; +} +} +break; +} +})(); +if(cljs.core.truth_(nx)){ +var G__20857 = nx; +var G__20858 = (level__$1 - (1)); +x = G__20857; +level__$1 = G__20858; +continue; +} else { +var G__20859 = x; +var G__20860 = (level__$1 - (1)); +x = G__20859; +level__$1 = G__20860; +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 (coll__$1){ +return (function cljs$core$async$impl$timers$iter(node){ +return (new cljs.core.LazySeq(null,((function (coll__$1){ +return (function (){ +if((node == null)){ +return null; +} else { +return cljs.core.cons.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [node.key,node.val], null),cljs$core$async$impl$timers$iter.call(null,(node.forward[(0)]))); +} +});})(coll__$1)) +,null,null)); +});})(coll__$1)) +; +return iter.call(null,(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 (coll__$1){ +return (function (keyval){ +return cljs.core.pr_sequential_writer.call(null,writer,cljs.core.pr_writer,""," ","",opts,keyval); +});})(coll__$1)) +; +return cljs.core.pr_sequential_writer.call(null,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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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.call(null,(0)),(0))); +}); +cljs.core.async.impl.timers.timeouts_map = cljs.core.async.impl.timers.skip_list.call(null); +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__3922__auto__ = (cljs.core.truth_((function (){var and__3911__auto__ = me; +if(cljs.core.truth_(and__3911__auto__)){ +return (me.key < (timeout + cljs.core.async.impl.timers.TIMEOUT_RESOLUTION_MS)); +} else { +return and__3911__auto__; +} +})())?me.val:null); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var timeout_channel = cljs.core.async.impl.channels.chan.call(null,null); +cljs.core.async.impl.timers.timeouts_map.put(timeout,timeout_channel); + +cljs.core.async.impl.dispatch.queue_delay.call(null,((function (timeout_channel,or__3922__auto__,timeout,me){ +return (function (){ +cljs.core.async.impl.timers.timeouts_map.remove(timeout); + +return cljs.core.async.impl.protocols.close_BANG_.call(null,timeout_channel); +});})(timeout_channel,or__3922__auto__,timeout,me)) +,msecs); + +return timeout_channel; +} +}); + +//# sourceMappingURL=timers.js.map?rel=1628501138981 diff --git a/examples/resources/public/js/out/cljs/core/async/impl/timers.js.map b/examples/resources/public/js/out/cljs/core/async/impl/timers.js.map new file mode 100644 index 0000000..1564abf --- /dev/null +++ b/examples/resources/public/js/out/cljs/core/async/impl/timers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/core\/async\/impl\/timers.js","sources":["timers.cljs?rel=1628501138985"],"lineCount":479,"mappings":";AAQA;;;;;AAKA,wCAAA,xCAAKA;AACL,AAAKC,gCAAE,CAAA,MAAA;AAEP,AAAA,2CAAA,mDAAAC,9FAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AA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B,qBAAqB1B,KAAKH;;;AAxF7D,AAAA,gDAAA,hDAASmB;AAAT,AAAA,0FAAA,6DAAA,oBAAA,4DAAA,2CAAA,0DAAA;;;AAAA,AAAA,sDAAA,tDAASA;;AAAT,AAAA,yDAAA,zDAASA;;AAAT,AAAA,8DAAA,WAAA5B,mBAAAC,qBAAAC,jHAAS0B;AAAT,AAAA,OAAAzB,2BAAAF,qBAAA;;;AAAA;;;4CAAA,5CAAS4B,gGAAUC,OAAiBhC;AAApC,AAAA,YAAA8B,qCAAmBE,OAAiBhC;;;AAA3B8B,AA0FT,wCAAA,xCAAMY;AAAN,AACE,YAAAZ,+FAAA,1DAAW,qDAAA,rDAACZ;;AAEd,AAAKyB,2CAAa,AAACD;AAEnB,oDAAA,pDAAKE;AAEL;;;sCAAA,tCAAMC,oFAEHC;AAFH,AAGE,IAAMC,UAAQ,CAAG,AAAU,KAAAC,oBAAYF;IACjCG,KAAG,AAAeN,sDAAaI;AADrC,AAEE,IAAAG,mBAAI,kBAAM,iBAAAC,oBAAKF;AAAL,AAAA,oBAAAE;AAAQ,QAAG,AAAOF,SAAI,CAAGF,UAAQH;;AAAjCO;;MAAN,OAAA,PACE,AAAOF;AADb,AAAA,oBAAAC;AAAAA;;AAEI,IAAME,kBAAgB,6CAAA,7CAACC;AAAvB,AACE,AAAMV,6CAAaI,QAAQK;;AAC3B,AAACE,oDACC;;AAAA,AACE,AAASX,gDAAaI;;AACtB,OAACQ,qDAAYH;;CACfN;;AACFM","names":["cljs.core.async.impl.timers\/MAX_LEVEL","cljs.core.async.impl.timers\/P","var_args","G__20829","cljs.core.async.impl.timers\/random-level","js\/Error","level","js\/Math","this__4161__auto__","writer__4162__auto__","opt__4163__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__20833","cljs.core.async.impl.timers\/skip-list-node","k","v","arr","js\/Array","i","G__20838","cljs.core.async.impl.timers\/least-greater-node","x","update","temp__4655__auto__","x'","cljs.core.async.impl.timers\/SkipList","cljs.core.async.impl.timers\/->SkipList","header","new-level","links","nx","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__3922__auto__","and__3911__auto__","timeout-channel","cljs.core.async.impl.channels\/chan","cljs.core.async.impl.dispatch\/queue-delay","cljs.core.async.impl.protocols\/close!"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/pprint.cljs b/examples/resources/public/js/out/cljs/pprint.cljs new file mode 100644 index 0000000..1dfde81 --- /dev/null +++ b/examples/resources/public/js/out/cljs/pprint.cljs @@ -0,0 +1,3325 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns cljs.pprint + (:refer-clojure :exclude [deftype print println pr prn float?]) + (:require-macros + [cljs.pprint :as m :refer [with-pretty-writer getf setf deftype + pprint-logical-block print-length-loop + defdirectives formatter-out]]) + (:require + [cljs.core :refer [IWriter IDeref]] + [clojure.string :as string] + [goog.string :as gstring]) + (:import [goog.string StringBuffer])) + +;;====================================================================== +;; override print fns to use *out* +;;====================================================================== + +(defn- print [& more] + (-write *out* (apply print-str more))) + +(defn- println [& more] + (apply print more) + (-write *out* \newline)) + +(defn- print-char [c] + (-write *out* (condp = c + \backspace "\\backspace" + \tab "\\tab" + \newline "\\newline" + \formfeed "\\formfeed" + \return "\\return" + \" "\\\"" + \\ "\\\\" + (str "\\" c)))) + +(defn- ^:dynamic pr [& more] + (-write *out* (apply pr-str more))) + +(defn- prn [& more] + (apply pr more) + (-write *out* \newline)) + +;;====================================================================== +;; cljs specific utils +;;====================================================================== + +(defn ^boolean float? + "Returns true if n is an float." + [n] + (and (number? n) + (not ^boolean (js/isNaN n)) + (not (identical? n js/Infinity)) + (not (== (js/parseFloat n) (js/parseInt n 10))))) + +(defn char-code + "Convert char to int" + [c] + (cond + (number? c) c + (and (string? c) (== (.-length c) 1)) (.charCodeAt c 0) + :else (throw (js/Error. "Argument to char must be a character or number")))) + +;;====================================================================== +;; Utilities +;;====================================================================== + +(defn- map-passing-context [func initial-context lis] + (loop [context initial-context + lis lis + acc []] + (if (empty? lis) + [acc context] + (let [this (first lis) + remainder (next lis) + [result new-context] (apply func [this context])] + (recur new-context remainder (conj acc result)))))) + +(defn- consume [func initial-context] + (loop [context initial-context + acc []] + (let [[result new-context] (apply func [context])] + (if (not result) + [acc new-context] + (recur new-context (conj acc result)))))) + +(defn- consume-while [func initial-context] + (loop [context initial-context + acc []] + (let [[result continue new-context] (apply func [context])] + (if (not continue) + [acc context] + (recur new-context (conj acc result)))))) + +(defn- unzip-map [m] + "Take a map that has pairs in the value slots and produce a pair of maps, + the first having all the first elements of the pairs and the second all + the second elements of the pairs" + [(into {} (for [[k [v1 v2]] m] [k v1])) + (into {} (for [[k [v1 v2]] m] [k v2]))]) + +(defn- tuple-map [m v1] + "For all the values, v, in the map, replace them with [v v1]" + (into {} (for [[k v] m] [k [v v1]]))) + +(defn- rtrim [s c] + "Trim all instances of c from the end of sequence s" + (let [len (count s)] + (if (and (pos? len) (= (nth s (dec (count s))) c)) + (loop [n (dec len)] + (cond + (neg? n) "" + (not (= (nth s n) c)) (subs s 0 (inc n)) + true (recur (dec n)))) + s))) + +(defn- ltrim [s c] + "Trim all instances of c from the beginning of sequence s" + (let [len (count s)] + (if (and (pos? len) (= (nth s 0) c)) + (loop [n 0] + (if (or (= n len) (not (= (nth s n) c))) + (subs s n) + (recur (inc n)))) + s))) + +(defn- prefix-count [aseq val] + "Return the number of times that val occurs at the start of sequence aseq, +if val is a seq itself, count the number of times any element of val occurs at the +beginning of aseq" + (let [test (if (coll? val) (set val) #{val})] + (loop [pos 0] + (if (or (= pos (count aseq)) (not (test (nth aseq pos)))) + pos + (recur (inc pos)))))) + +;; Flush the pretty-print buffer without flushing the underlying stream +(defprotocol IPrettyFlush + (-ppflush [pp])) + +;;====================================================================== +;; column_writer.clj +;;====================================================================== + +(def ^:dynamic ^{:private true} *default-page-width* 72) + +(defn- get-field [this sym] + (sym @@this)) + +(defn- set-field [this sym new-val] + (swap! @this assoc sym new-val)) + +(defn- get-column [this] + (get-field this :cur)) + +(defn- get-line [this] + (get-field this :line)) + +(defn- get-max-column [this] + (get-field this :max)) + +(defn- set-max-column [this new-max] + (set-field this :max new-max) + nil) + +(defn- get-writer [this] + (get-field this :base)) + +;; Why is the c argument an integer? +(defn- c-write-char [this c] + (if (= c \newline) + (do + (set-field this :cur 0) + (set-field this :line (inc (get-field this :line)))) + (set-field this :cur (inc (get-field this :cur)))) + (-write (get-field this :base) c)) + +(defn- column-writer + ([writer] (column-writer writer *default-page-width*)) + ([writer max-columns] + (let [fields (atom {:max max-columns, :cur 0, :line 0 :base writer})] + (reify + + IDeref + (-deref [_] fields) + + IWriter + (-flush [_] + (-flush writer)) + (-write + ;;-write isn't multi-arity, so need different way to do this + #_([this ^chars cbuf ^Number off ^Number len] + (let [writer (get-field this :base)] + (-write writer cbuf off len))) + [this x] + (condp = (type x) + js/String + (let [s x + nl (.lastIndexOf s \newline)] + (if (neg? nl) + (set-field this :cur (+ (get-field this :cur) (count s))) + (do + (set-field this :cur (- (count s) nl 1)) + (set-field this :line (+ (get-field this :line) + (count (filter #(= % \newline) s)))))) + (-write (get-field this :base) s)) + js/Number + (c-write-char this x))))))) + +;;====================================================================== +;; pretty_writer.clj +;;====================================================================== + +;;====================================================================== +;; Forward declarations +;;====================================================================== + +(declare get-miser-width) + +;;====================================================================== +;; The data structures used by pretty-writer +;;====================================================================== + +(defrecord ^{:private true} logical-block + [parent section start-col indent + done-nl intra-block-nl + prefix per-line-prefix suffix + logical-block-callback]) + +(defn- ancestor? [parent child] + (loop [child (:parent child)] + (cond + (nil? child) false + (identical? parent child) true + :else (recur (:parent child))))) + +(defn- buffer-length [l] + (let [l (seq l)] + (if l + (- (:end-pos (last l)) (:start-pos (first l))) + 0))) + +;; A blob of characters (aka a string) +(deftype buffer-blob :data :trailing-white-space :start-pos :end-pos) + +;; A newline +(deftype nl-t :type :logical-block :start-pos :end-pos) + +(deftype start-block-t :logical-block :start-pos :end-pos) + +(deftype end-block-t :logical-block :start-pos :end-pos) + +(deftype indent-t :logical-block :relative-to :offset :start-pos :end-pos) + +(def ^:private pp-newline (fn [] "\n")) + +(declare emit-nl) + +(defmulti ^{:private true} write-token #(:type-tag %2)) + +(defmethod write-token :start-block-t [this token] + (when-let [cb (getf :logical-block-callback)] (cb :start)) + (let [lb (:logical-block token)] + (when-let [prefix (:prefix lb)] + (-write (getf :base) prefix)) + (let [col (get-column (getf :base))] + (reset! (:start-col lb) col) + (reset! (:indent lb) col)))) + +(defmethod write-token :end-block-t [this token] + (when-let [cb (getf :logical-block-callback)] (cb :end)) + (when-let [suffix (:suffix (:logical-block token))] + (-write (getf :base) suffix))) + +(defmethod write-token :indent-t [this token] + (let [lb (:logical-block token)] + (reset! (:indent lb) + (+ (:offset token) + (condp = (:relative-to token) + :block @(:start-col lb) + :current (get-column (getf :base))))))) + +(defmethod write-token :buffer-blob [this token] + (-write (getf :base) (:data token))) + +(defmethod write-token :nl-t [this token] + (if (or (= (:type token) :mandatory) + (and (not (= (:type token) :fill)) + @(:done-nl (:logical-block token)))) + (emit-nl this token) + (if-let [tws (getf :trailing-white-space)] + (-write (getf :base) tws))) + (setf :trailing-white-space nil)) + +(defn- write-tokens [this tokens force-trailing-whitespace] + (doseq [token tokens] + (if-not (= (:type-tag token) :nl-t) + (if-let [tws (getf :trailing-white-space)] + (-write (getf :base) tws))) + (write-token this token) + (setf :trailing-white-space (:trailing-white-space token)) + (let [tws (getf :trailing-white-space)] + (when (and force-trailing-whitespace tws) + (-write (getf :base) tws) + (setf :trailing-white-space nil))))) + +;;====================================================================== +;; emit-nl? method defs for each type of new line. This makes +;; the decision about whether to print this type of new line. +;;====================================================================== + +(defn- tokens-fit? [this tokens] + (let [maxcol (get-max-column (getf :base))] + (or + (nil? maxcol) + (< (+ (get-column (getf :base)) (buffer-length tokens)) maxcol)))) + +(defn- linear-nl? [this lb section] + (or @(:done-nl lb) + (not (tokens-fit? this section)))) + +(defn- miser-nl? [this lb section] + (let [miser-width (get-miser-width this) + maxcol (get-max-column (getf :base))] + (and miser-width maxcol + (>= @(:start-col lb) (- maxcol miser-width)) + (linear-nl? this lb section)))) + +(defmulti ^{:private true} emit-nl? (fn [t _ _ _] (:type t))) + +(defmethod emit-nl? :linear [newl this section _] + (let [lb (:logical-block newl)] + (linear-nl? this lb section))) + +(defmethod emit-nl? :miser [newl this section _] + (let [lb (:logical-block newl)] + (miser-nl? this lb section))) + +(defmethod emit-nl? :fill [newl this section subsection] + (let [lb (:logical-block newl)] + (or @(:intra-block-nl lb) + (not (tokens-fit? this subsection)) + (miser-nl? this lb section)))) + +(defmethod emit-nl? :mandatory [_ _ _ _] + true) + +;;====================================================================== +;; Various support functions +;;====================================================================== + +(defn- get-section [buffer] + (let [nl (first buffer) + lb (:logical-block nl) + section (seq (take-while #(not (and (nl-t? %) (ancestor? (:logical-block %) lb))) + (next buffer)))] + [section (seq (drop (inc (count section)) buffer))])) + +(defn- get-sub-section [buffer] + (let [nl (first buffer) + lb (:logical-block nl) + section (seq (take-while #(let [nl-lb (:logical-block %)] + (not (and (nl-t? %) (or (= nl-lb lb) (ancestor? nl-lb lb))))) + (next buffer)))] + section)) + +(defn- update-nl-state [lb] + (reset! (:intra-block-nl lb) true) + (reset! (:done-nl lb) true) + (loop [lb (:parent lb)] + (if lb + (do (reset! (:done-nl lb) true) + (reset! (:intra-block-nl lb) true) + (recur (:parent lb)))))) + +(defn- emit-nl [this nl] + (-write (getf :base) (pp-newline)) + (setf :trailing-white-space nil) + (let [lb (:logical-block nl) + prefix (:per-line-prefix lb)] + (if prefix + (-write (getf :base) prefix)) + (let [istr (apply str (repeat (- @(:indent lb) (count prefix)) \space))] + (-write (getf :base) istr)) + (update-nl-state lb))) + +(defn- split-at-newline [tokens] + (let [pre (seq (take-while #(not (nl-t? %)) tokens))] + [pre (seq (drop (count pre) tokens))])) + +;; write-token-string is called when the set of tokens in the buffer +;; is long than the available space on the line +(defn- write-token-string [this tokens] + (let [[a b] (split-at-newline tokens)] + (if a (write-tokens this a false)) + (if b + (let [[section remainder] (get-section b) + newl (first b)] + (let [do-nl (emit-nl? newl this section (get-sub-section b)) + result (if do-nl + (do + (emit-nl this newl) + (next b)) + b) + long-section (not (tokens-fit? this result)) + result (if long-section + (let [rem2 (write-token-string this section)] + (if (= rem2 section) + (do ; If that didn't produce any output, it has no nls + ; so we'll force it + (write-tokens this section false) + remainder) + (into [] (concat rem2 remainder)))) + result)] + result))))) + +(defn- write-line [this] + (loop [buffer (getf :buffer)] + (setf :buffer (into [] buffer)) + (if (not (tokens-fit? this buffer)) + (let [new-buffer (write-token-string this buffer)] + (if-not (identical? buffer new-buffer) + (recur new-buffer)))))) + +;; Add a buffer token to the buffer and see if it's time to start +;; writing +(defn- add-to-buffer [this token] + (setf :buffer (conj (getf :buffer) token)) + (if (not (tokens-fit? this (getf :buffer))) + (write-line this))) + +;; Write all the tokens that have been buffered +(defn- write-buffered-output [this] + (write-line this) + (if-let [buf (getf :buffer)] + (do + (write-tokens this buf true) + (setf :buffer [])))) + +(defn- write-white-space [this] + (when-let [tws (getf :trailing-white-space)] + (-write (getf :base) tws) + (setf :trailing-white-space nil))) + +;;; If there are newlines in the string, print the lines up until the last newline, +;;; making the appropriate adjustments. Return the remainder of the string +(defn- write-initial-lines + [^Writer this ^String s] + (let [lines (string/split s "\n" -1)] + (if (= (count lines) 1) + s + (let [^String prefix (:per-line-prefix (first (getf :logical-blocks))) + ^String l (first lines)] + (if (= :buffering (getf :mode)) + (let [oldpos (getf :pos) + newpos (+ oldpos (count l))] + (setf :pos newpos) + (add-to-buffer this (make-buffer-blob l nil oldpos newpos)) + (write-buffered-output this)) + (do + (write-white-space this) + (-write (getf :base) l))) + (-write (getf :base) \newline) + (doseq [^String l (next (butlast lines))] + (-write (getf :base) l) + (-write (getf :base) (pp-newline)) + (if prefix + (-write (getf :base) prefix))) + (setf :buffering :writing) + (last lines))))) + +(defn- p-write-char [this c] + (if (= (getf :mode) :writing) + (do + (write-white-space this) + (-write (getf :base) c)) + (if (= c \newline) + (write-initial-lines this \newline) + (let [oldpos (getf :pos) + newpos (inc oldpos)] + (setf :pos newpos) + (add-to-buffer this (make-buffer-blob (char c) nil oldpos newpos)))))) + +;;====================================================================== +;; Initialize the pretty-writer instance +;;====================================================================== + +(defn- pretty-writer [writer max-columns miser-width] + (let [lb (logical-block. nil nil (atom 0) (atom 0) (atom false) (atom false) + nil nil nil nil) + ; NOTE: may want to just `specify!` #js { ... fields ... } with the protocols + fields (atom {:pretty-writer true + :base (column-writer writer max-columns) + :logical-blocks lb + :sections nil + :mode :writing + :buffer [] + :buffer-block lb + :buffer-level 1 + :miser-width miser-width + :trailing-white-space nil + :pos 0})] + (reify + + IDeref + (-deref [_] fields) + + IWriter + (-write [this x] + (condp = (type x) + js/String + (let [s0 (write-initial-lines this x) + s (string/replace-first s0 #"\s+$" "") + white-space (subs s0 (count s)) + mode (getf :mode)] + (if (= mode :writing) + (do + (write-white-space this) + (-write (getf :base) s) + (setf :trailing-white-space white-space)) + (let [oldpos (getf :pos) + newpos (+ oldpos (count s0))] + (setf :pos newpos) + (add-to-buffer this (make-buffer-blob s white-space oldpos newpos))))) + js/Number + (p-write-char this x))) + (-flush [this] + (-ppflush this) + (-flush (getf :base))) + + IPrettyFlush + (-ppflush [this] + (if (= (getf :mode) :buffering) + (do + (write-tokens this (getf :buffer) true) + (setf :buffer [])) + (write-white-space this))) + + ))) + +;;====================================================================== +;; Methods for pretty-writer +;;====================================================================== + +(defn- start-block + [this prefix per-line-prefix suffix] + (let [lb (logical-block. (getf :logical-blocks) nil (atom 0) (atom 0) + (atom false) (atom false) + prefix per-line-prefix suffix nil)] + (setf :logical-blocks lb) + (if (= (getf :mode) :writing) + (do + (write-white-space this) + (when-let [cb (getf :logical-block-callback)] (cb :start)) + (if prefix + (-write (getf :base) prefix)) + (let [col (get-column (getf :base))] + (reset! (:start-col lb) col) + (reset! (:indent lb) col))) + (let [oldpos (getf :pos) + newpos (+ oldpos (if prefix (count prefix) 0))] + (setf :pos newpos) + (add-to-buffer this (make-start-block-t lb oldpos newpos)))))) + +(defn- end-block [this] + (let [lb (getf :logical-blocks) + suffix (:suffix lb)] + (if (= (getf :mode) :writing) + (do + (write-white-space this) + (if suffix + (-write (getf :base) suffix)) + (when-let [cb (getf :logical-block-callback)] (cb :end))) + (let [oldpos (getf :pos) + newpos (+ oldpos (if suffix (count suffix) 0))] + (setf :pos newpos) + (add-to-buffer this (make-end-block-t lb oldpos newpos)))) + (setf :logical-blocks (:parent lb)))) + +(defn- nl [this type] + (setf :mode :buffering) + (let [pos (getf :pos)] + (add-to-buffer this (make-nl-t type (getf :logical-blocks) pos pos)))) + +(defn- indent [this relative-to offset] + (let [lb (getf :logical-blocks)] + (if (= (getf :mode) :writing) + (do + (write-white-space this) + (reset! (:indent lb) + (+ offset (condp = relative-to + :block @(:start-col lb) + :current (get-column (getf :base)))))) + (let [pos (getf :pos)] + (add-to-buffer this (make-indent-t lb relative-to offset pos pos)))))) + +(defn- get-miser-width [this] + (getf :miser-width)) + +;;====================================================================== +;; pprint_base.clj +;;====================================================================== + +;;====================================================================== +;; Variables that control the pretty printer +;;====================================================================== + +;; *print-length*, *print-level*, *print-namespace-maps* and *print-dup* are defined in cljs.core +(def ^:dynamic + ^{:doc "Bind to true if you want write to use pretty printing"} + *print-pretty* true) + +(defonce ^:dynamic + ^{:doc "The pretty print dispatch function. Use with-pprint-dispatch or +set-pprint-dispatch to modify." + :added "1.2"} + *print-pprint-dispatch* nil) + +(def ^:dynamic + ^{:doc "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.", + :added "1.2"} + *print-right-margin* 72) + +(def ^:dynamic + ^{:doc "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.", + :added "1.2"} + *print-miser-width* 40) + +;;; TODO implement output limiting +(def ^:dynamic +^{:private true, + :doc "Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)"} +*print-lines* nil) + +;;; TODO: implement circle and shared +(def ^:dynamic +^{:private true, + :doc "Mark circular structures (N.B. This is not yet used)"} +*print-circle* nil) + +;;; TODO: should we just use *print-dup* here? +(def ^:dynamic +^{:private true, + :doc "Mark repeated structures rather than repeat them (N.B. This is not yet used)"} +*print-shared* nil) + +(def ^:dynamic +^{:doc "Don't print namespaces with symbols. This is particularly useful when +pretty printing the results of macro expansions" + :added "1.2"} +*print-suppress-namespaces* nil) + +;;; TODO: support print-base and print-radix in cl-format +;;; TODO: support print-base and print-radix in rationals +(def ^:dynamic +^{:doc "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* " + :added "1.2"} +*print-radix* nil) + +(def ^:dynamic +^{:doc "The base to use for printing integers and rationals." + :added "1.2"} +*print-base* 10) + +;;====================================================================== +;; Internal variables that keep track of where we are in the +;; structure +;;====================================================================== + +(def ^:dynamic ^{:private true} *current-level* 0) + +(def ^:dynamic ^{:private true} *current-length* nil) + +;;====================================================================== +;; Support for the write function +;;====================================================================== + +(declare format-simple-number) + +;; This map causes var metadata to be included in the compiled output, even +;; in advanced compilation. See CLJS-1853 - António Monteiro +;; (def ^{:private true} write-option-table +;; {;:array *print-array* +;; :base #'cljs.pprint/*print-base*, +;; ;;:case *print-case*, +;; :circle #'cljs.pprint/*print-circle*, +;; ;;:escape *print-escape*, +;; ;;:gensym *print-gensym*, +;; :length #'cljs.core/*print-length*, +;; :level #'cljs.core/*print-level*, +;; :lines #'cljs.pprint/*print-lines*, +;; :miser-width #'cljs.pprint/*print-miser-width*, +;; :dispatch #'cljs.pprint/*print-pprint-dispatch*, +;; :pretty #'cljs.pprint/*print-pretty*, +;; :radix #'cljs.pprint/*print-radix*, +;; :readably #'cljs.core/*print-readably*, +;; :right-margin #'cljs.pprint/*print-right-margin*, +;; :suppress-namespaces #'cljs.pprint/*print-suppress-namespaces*}) + +(defn- table-ize [t m] + (apply hash-map (mapcat + #(when-let [v (get t (key %))] [v (val %)]) + m))) + +(defn- pretty-writer? + "Return true iff x is a PrettyWriter" + [x] (and (satisfies? IDeref x) (:pretty-writer @@x))) + +(defn- make-pretty-writer + "Wrap base-writer in a PrettyWriter with the specified right-margin and miser-width" + [base-writer right-margin miser-width] + (pretty-writer base-writer right-margin miser-width)) + +(defn write-out + "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. " + [object] + (let [length-reached (and *current-length* + *print-length* + (>= *current-length* *print-length*))] + (if-not *print-pretty* + (pr object) + (if length-reached + (-write *out* "...") ;;TODO could this (incorrectly) print ... on the next line? + (do + (if *current-length* (set! *current-length* (inc *current-length*))) + (*print-pprint-dispatch* object)))) + length-reached)) + +(defn write + "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 +" + [object & kw-args] + (let [options (merge {:stream true} (apply hash-map kw-args))] + ;;TODO rewrite this as a macro + (binding [cljs.pprint/*print-base* (:base options cljs.pprint/*print-base*) + ;;:case *print-case*, + cljs.pprint/*print-circle* (:circle options cljs.pprint/*print-circle*) + ;;:escape *print-escape* + ;;:gensym *print-gensym* + cljs.core/*print-length* (:length options cljs.core/*print-length*) + cljs.core/*print-level* (:level options cljs.core/*print-level*) + cljs.pprint/*print-lines* (:lines options cljs.pprint/*print-lines*) + cljs.pprint/*print-miser-width* (:miser-width options cljs.pprint/*print-miser-width*) + cljs.pprint/*print-pprint-dispatch* (:dispatch options cljs.pprint/*print-pprint-dispatch*) + cljs.pprint/*print-pretty* (:pretty options cljs.pprint/*print-pretty*) + cljs.pprint/*print-radix* (:radix options cljs.pprint/*print-radix*) + cljs.core/*print-readably* (:readably options cljs.core/*print-readably*) + cljs.pprint/*print-right-margin* (:right-margin options cljs.pprint/*print-right-margin*) + cljs.pprint/*print-suppress-namespaces* (:suppress-namespaces options cljs.pprint/*print-suppress-namespaces*)] + ;;TODO enable printing base + #_[bindings (if (or (not (= *print-base* 10)) *print-radix*) + {#'pr pr-with-base} + {})] + (binding [] + (let [sb (StringBuffer.) + optval (if (contains? options :stream) + (:stream options) + true) + base-writer (if (or (true? optval) (nil? optval)) + (StringBufferWriter. sb) + optval)] + (if *print-pretty* + (with-pretty-writer base-writer + (write-out object)) + (binding [*out* base-writer] + (pr object))) + (if (true? optval) + (string-print (str sb))) + (if (nil? optval) + (str sb))))))) + +(defn pprint + ([object] + (let [sb (StringBuffer.)] + (binding [*out* (StringBufferWriter. sb)] + (pprint object *out*) + (string-print (str sb))))) + ([object writer] + (with-pretty-writer writer + (binding [*print-pretty* true] + (write-out object)) + (if (not (= 0 (get-column *out*))) + (-write *out* \newline))))) + +(defn set-pprint-dispatch + [function] + (set! *print-pprint-dispatch* function) + nil) + +;;====================================================================== +;; Support for the functional interface to the pretty printer +;;====================================================================== + +(defn- check-enumerated-arg [arg choices] + (if-not (choices arg) + ;; TODO clean up choices string + (throw (js/Error. (str "Bad argument: " arg ". It must be one of " choices))))) + +(defn- level-exceeded [] + (and *print-level* (>= *current-level* *print-level*))) + +(defn pprint-newline + "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." + [kind] + (check-enumerated-arg kind #{:linear :miser :fill :mandatory}) + (nl *out* kind)) + +(defn pprint-indent + "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." + [relative-to n] + (check-enumerated-arg relative-to #{:block :current}) + (indent *out* relative-to n)) + +;; TODO a real implementation for pprint-tab +(defn pprint-tab + "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." + {:added "1.2"} + [kind colnum colinc] + (check-enumerated-arg kind #{:line :section :line-relative :section-relative}) + (throw (js/Error. "pprint-tab is not yet implemented"))) + +;;====================================================================== +;; cl_format.clj +;;====================================================================== + +;; Forward references +(declare compile-format) +(declare execute-format) +(declare init-navigator) +;; End forward references + +(defn cl-format + "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" + {:see-also [["http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000" + "Common Lisp the Language"] + ["http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm" + "Common Lisp HyperSpec"]]} + [writer format-in & args] + (let [compiled-format (if (string? format-in) (compile-format format-in) format-in) + navigator (init-navigator args)] + (execute-format writer compiled-format navigator))) + +(def ^:dynamic ^{:private true} *format-str* nil) + +(defn- format-error [message offset] + (let [full-message (str message \newline *format-str* \newline + (apply str (repeat offset \space)) "^" \newline)] + (throw (js/Error full-message)))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Argument navigators manage the argument list +;; as the format statement moves through the list +;; (possibly going forwards and backwards as it does so) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defrecord ^{:private true} + arg-navigator [seq rest pos]) + +(defn- init-navigator + "Create a new arg-navigator from the sequence with the position set to 0" + {:skip-wiki true} + [s] + (let [s (seq s)] + (arg-navigator. s s 0))) + +;; TODO call format-error with offset +(defn- next-arg [navigator] + (let [rst (:rest navigator)] + (if rst + [(first rst) (arg-navigator. (:seq navigator) (next rst) (inc (:pos navigator)))] + (throw (js/Error "Not enough arguments for format definition"))))) + +(defn- next-arg-or-nil [navigator] + (let [rst (:rest navigator)] + (if rst + [(first rst) (arg-navigator. (:seq navigator) (next rst) (inc (:pos navigator)))] + [nil navigator]))) + +;; Get an argument off the arg list and compile it if it's not already compiled +(defn- get-format-arg [navigator] + (let [[raw-format navigator] (next-arg navigator) + compiled-format (if (string? raw-format) + (compile-format raw-format) + raw-format)] + [compiled-format navigator])) + +(declare relative-reposition) + +(defn- absolute-reposition [navigator position] + (if (>= position (:pos navigator)) + (relative-reposition navigator (- (:pos navigator) position)) + (arg-navigator. (:seq navigator) (drop position (:seq navigator)) position))) + +(defn- relative-reposition [navigator position] + (let [newpos (+ (:pos navigator) position)] + (if (neg? position) + (absolute-reposition navigator newpos) + (arg-navigator. (:seq navigator) (drop position (:rest navigator)) newpos)))) + +(defrecord ^{:private true} + compiled-directive [func def params offset]) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; When looking at the parameter list, we may need to manipulate +;; the argument list as well (for 'V' and '#' parameter types). +;; We hide all of this behind a function, but clients need to +;; manage changing arg navigator +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; TODO: validate parameters when they come from arg list +(defn- realize-parameter [[param [raw-val offset]] navigator] + (let [[real-param new-navigator] + (cond + (contains? #{:at :colon} param) ;pass flags through unchanged - this really isn't necessary + [raw-val navigator] + + (= raw-val :parameter-from-args) + (next-arg navigator) + + (= raw-val :remaining-arg-count) + [(count (:rest navigator)) navigator] + + true + [raw-val navigator])] + [[param [real-param offset]] new-navigator])) + +(defn- realize-parameter-list [parameter-map navigator] + (let [[pairs new-navigator] + (map-passing-context realize-parameter navigator parameter-map)] + [(into {} pairs) new-navigator])) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Functions that support individual directives +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Common handling code for ~A and ~S +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(declare opt-base-str) + +(def ^{:private true} + special-radix-markers {2 "#b" 8 "#o" 16 "#x"}) + +(defn- format-simple-number [n] + (cond + (integer? n) (if (= *print-base* 10) + (str n (if *print-radix* ".")) + (str + (if *print-radix* (or (get special-radix-markers *print-base*) (str "#" *print-base* "r"))) + (opt-base-str *print-base* n))) + ;;(ratio? n) ;;no ratio support + :else nil)) + +(defn- format-ascii [print-func params arg-navigator offsets] + (let [[arg arg-navigator] (next-arg arg-navigator) + base-output (or (format-simple-number arg) (print-func arg)) + base-width (.-length base-output) + min-width (+ base-width (:minpad params)) + width (if (>= min-width (:mincol params)) + min-width + (+ min-width + (* (+ (quot (- (:mincol params) min-width 1) + (:colinc params)) + 1) + (:colinc params)))) + chars (apply str (repeat (- width base-width) (:padchar params)))] + (if (:at params) + (print (str chars base-output)) + (print (str base-output chars))) + arg-navigator)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for the integer directives ~D, ~X, ~O, ~B and some +;; of ~R +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- integral? + "returns true if a number is actually an integer (that is, has no fractional part)" + [x] + (cond + (integer? x) true + ;;(decimal? x) ;;no decimal support + (float? x) (= x (Math/floor x)) + ;;(ratio? x) ;;no ratio support + :else false)) + +(defn- remainders + "Return the list of remainders (essentially the 'digits') of val in the given base" + [base val] + (reverse + (first + (consume #(if (pos? %) + [(rem % base) (quot % base)] + [nil nil]) + val)))) + +;; TODO: xlated-val does not seem to be used here. +;; NB +(defn- base-str + "Return val as a string in the given base" + [base val] + (if (zero? val) + "0" + (let [xlated-val (cond + ;(float? val) (bigdec val) ;;No bigdec + ;(ratio? val) nil ;;No ratio + :else val)] + (apply str + (map + #(if (< % 10) (char (+ (char-code \0) %)) (char (+ (char-code \a) (- % 10)))) + (remainders base val)))))) + +;;Not sure if this is accurate or necessary +(def ^{:private true} + javascript-base-formats {8 "%o", 10 "%d", 16 "%x"}) + +(defn- opt-base-str + "Return val as a string in the given base. No cljs format, so no improved performance." + [base val] + (base-str base val)) + +(defn- group-by* [unit lis] + (reverse + (first + (consume (fn [x] [(seq (reverse (take unit x))) (seq (drop unit x))]) (reverse lis))))) + +(defn- format-integer [base params arg-navigator offsets] + (let [[arg arg-navigator] (next-arg arg-navigator)] + (if (integral? arg) + (let [neg (neg? arg) + pos-arg (if neg (- arg) arg) + raw-str (opt-base-str base pos-arg) + group-str (if (:colon params) + (let [groups (map #(apply str %) (group-by* (:commainterval params) raw-str)) + commas (repeat (count groups) (:commachar params))] + (apply str (next (interleave commas groups)))) + raw-str) + signed-str (cond + neg (str "-" group-str) + (:at params) (str "+" group-str) + true group-str) + padded-str (if (< (.-length signed-str) (:mincol params)) + (str (apply str (repeat (- (:mincol params) (.-length signed-str)) + (:padchar params))) + signed-str) + signed-str)] + (print padded-str)) + (format-ascii print-str {:mincol (:mincol params) :colinc 1 :minpad 0 + :padchar (:padchar params) :at true} + (init-navigator [arg]) nil)) + arg-navigator)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for english formats (~R and ~:R) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^{:private true} + english-cardinal-units + ["zero" "one" "two" "three" "four" "five" "six" "seven" "eight" "nine" + "ten" "eleven" "twelve" "thirteen" "fourteen" + "fifteen" "sixteen" "seventeen" "eighteen" "nineteen"]) + +(def ^{:private true} + english-ordinal-units + ["zeroth" "first" "second" "third" "fourth" "fifth" "sixth" "seventh" "eighth" "ninth" + "tenth" "eleventh" "twelfth" "thirteenth" "fourteenth" + "fifteenth" "sixteenth" "seventeenth" "eighteenth" "nineteenth"]) + +(def ^{:private true} + english-cardinal-tens + ["" "" "twenty" "thirty" "forty" "fifty" "sixty" "seventy" "eighty" "ninety"]) + +(def ^{:private true} + english-ordinal-tens + ["" "" "twentieth" "thirtieth" "fortieth" "fiftieth" + "sixtieth" "seventieth" "eightieth" "ninetieth"]) + +;; We use "short scale" for our units (see http://en.wikipedia.org/wiki/Long_and_short_scales) +;; Number names from http://www.jimloy.com/math/billion.htm +;; We follow the rules for writing numbers from the Blue Book +;; (http://www.grammarbook.com/numbers/numbers.asp) +(def ^{:private true} + english-scale-numbers + ["" "thousand" "million" "billion" "trillion" "quadrillion" "quintillion" + "sextillion" "septillion" "octillion" "nonillion" "decillion" + "undecillion" "duodecillion" "tredecillion" "quattuordecillion" + "quindecillion" "sexdecillion" "septendecillion" + "octodecillion" "novemdecillion" "vigintillion"]) + +(defn- format-simple-cardinal + "Convert a number less than 1000 to a cardinal english string" + [num] + (let [hundreds (quot num 100) + tens (rem num 100)] + (str + (if (pos? hundreds) (str (nth english-cardinal-units hundreds) " hundred")) + (if (and (pos? hundreds) (pos? tens)) " ") + (if (pos? tens) + (if (< tens 20) + (nth english-cardinal-units tens) + (let [ten-digit (quot tens 10) + unit-digit (rem tens 10)] + (str + (if (pos? ten-digit) (nth english-cardinal-tens ten-digit)) + (if (and (pos? ten-digit) (pos? unit-digit)) "-") + (if (pos? unit-digit) (nth english-cardinal-units unit-digit))))))))) + +(defn- add-english-scales + "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" + [parts offset] + (let [cnt (count parts)] + (loop [acc [] + pos (dec cnt) + this (first parts) + remainder (next parts)] + (if (nil? remainder) + (str (apply str (interpose ", " acc)) + (if (and (not (empty? this)) (not (empty? acc))) ", ") + this + (if (and (not (empty? this)) (pos? (+ pos offset))) + (str " " (nth english-scale-numbers (+ pos offset))))) + (recur + (if (empty? this) + acc + (conj acc (str this " " (nth english-scale-numbers (+ pos offset))))) + (dec pos) + (first remainder) + (next remainder)))))) + +(defn- format-cardinal-english [params navigator offsets] + (let [[arg navigator] (next-arg navigator)] + (if (= 0 arg) + (print "zero") + (let [abs-arg (if (neg? arg) (- arg) arg) ; some numbers are too big for Math/abs (is this true?) + parts (remainders 1000 abs-arg)] + (if (<= (count parts) (count english-scale-numbers)) + (let [parts-strs (map format-simple-cardinal parts) + full-str (add-english-scales parts-strs 0)] + (print (str (if (neg? arg) "minus ") full-str))) + (format-integer ;; for numbers > 10^63, we fall back on ~D + 10 + {:mincol 0, :padchar \space, :commachar \, :commainterval 3, :colon true} + (init-navigator [arg]) + {:mincol 0, :padchar 0, :commachar 0 :commainterval 0})))) + navigator)) + +(defn- format-simple-ordinal + "Convert a number less than 1000 to a ordinal english string + Note this should only be used for the last one in the sequence" + [num] + (let [hundreds (quot num 100) + tens (rem num 100)] + (str + (if (pos? hundreds) (str (nth english-cardinal-units hundreds) " hundred")) + (if (and (pos? hundreds) (pos? tens)) " ") + (if (pos? tens) + (if (< tens 20) + (nth english-ordinal-units tens) + (let [ten-digit (quot tens 10) + unit-digit (rem tens 10)] + (if (and (pos? ten-digit) (not (pos? unit-digit))) + (nth english-ordinal-tens ten-digit) + (str + (if (pos? ten-digit) (nth english-cardinal-tens ten-digit)) + (if (and (pos? ten-digit) (pos? unit-digit)) "-") + (if (pos? unit-digit) (nth english-ordinal-units unit-digit)))))) + (if (pos? hundreds) "th"))))) + +(defn- format-ordinal-english [params navigator offsets] + (let [[arg navigator] (next-arg navigator)] + (if (= 0 arg) + (print "zeroth") + (let [abs-arg (if (neg? arg) (- arg) arg) ; some numbers are too big for Math/abs (is this true?) + parts (remainders 1000 abs-arg)] + (if (<= (count parts) (count english-scale-numbers)) + (let [parts-strs (map format-simple-cardinal (drop-last parts)) + head-str (add-english-scales parts-strs 1) + tail-str (format-simple-ordinal (last parts))] + (print (str (if (neg? arg) "minus ") + (cond + (and (not (empty? head-str)) (not (empty? tail-str))) + (str head-str ", " tail-str) + + (not (empty? head-str)) (str head-str "th") + :else tail-str)))) + (do (format-integer ;for numbers > 10^63, we fall back on ~D + 10 + {:mincol 0, :padchar \space, :commachar \, :commainterval 3, :colon true} + (init-navigator [arg]) + {:mincol 0, :padchar 0, :commachar 0 :commainterval 0}) + (let [low-two-digits (rem arg 100) + not-teens (or (< 11 low-two-digits) (> 19 low-two-digits)) + low-digit (rem low-two-digits 10)] + (print (cond + (and (== low-digit 1) not-teens) "st" + (and (== low-digit 2) not-teens) "nd" + (and (== low-digit 3) not-teens) "rd" + :else "th"))))))) + navigator)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for roman numeral formats (~@R and ~@:R) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^{:private true} + old-roman-table + [[ "I" "II" "III" "IIII" "V" "VI" "VII" "VIII" "VIIII"] + [ "X" "XX" "XXX" "XXXX" "L" "LX" "LXX" "LXXX" "LXXXX"] + [ "C" "CC" "CCC" "CCCC" "D" "DC" "DCC" "DCCC" "DCCCC"] + [ "M" "MM" "MMM"]]) + +(def ^{:private true} + new-roman-table + [[ "I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX"] + [ "X" "XX" "XXX" "XL" "L" "LX" "LXX" "LXXX" "XC"] + [ "C" "CC" "CCC" "CD" "D" "DC" "DCC" "DCCC" "CM"] + [ "M" "MM" "MMM"]]) + +(defn- format-roman + "Format a roman numeral using the specified look-up table" + [table params navigator offsets] + (let [[arg navigator] (next-arg navigator)] + (if (and (number? arg) (> arg 0) (< arg 4000)) + (let [digits (remainders 10 arg)] + (loop [acc [] + pos (dec (count digits)) + digits digits] + (if (empty? digits) + (print (apply str acc)) + (let [digit (first digits)] + (recur (if (= 0 digit) + acc + (conj acc (nth (nth table pos) (dec digit)))) + (dec pos) + (next digits)))))) + (format-integer ; for anything <= 0 or > 3999, we fall back on ~D + 10 + {:mincol 0, :padchar \space, :commachar \, :commainterval 3, :colon true} + (init-navigator [arg]) + {:mincol 0, :padchar 0, :commachar 0 :commainterval 0})) + navigator)) + +(defn- format-old-roman [params navigator offsets] + (format-roman old-roman-table params navigator offsets)) + +(defn- format-new-roman [params navigator offsets] + (format-roman new-roman-table params navigator offsets)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for character formats (~C) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^{:private true} + special-chars {8 "Backspace", 9 "Tab", 10 "Newline", 13 "Return", 32 "Space"}) + +(defn- pretty-character [params navigator offsets] + (let [[c navigator] (next-arg navigator) + as-int (char-code c) + base-char (bit-and as-int 127) + meta (bit-and as-int 128) + special (get special-chars base-char)] + (if (> meta 0) (print "Meta-")) + (print (cond + special special + (< base-char 32) (str "Control-" (char (+ base-char 64))) + (= base-char 127) "Control-?" + :else (char base-char))) + navigator)) + +(defn- readable-character [params navigator offsets] + (let [[c navigator] (next-arg navigator)] + (condp = (:char-format params) + \o (cl-format true "\\o~3, '0o" (char-code c)) + \u (cl-format true "\\u~4, '0x" (char-code c)) + nil (print-char c)) + navigator)) + +(defn- plain-character [params navigator offsets] + (let [[char navigator] (next-arg navigator)] + (print char) + navigator)) + +;; Check to see if a result is an abort (~^) construct +;; TODO: move these funcs somewhere more appropriate +(defn- abort? [context] + (let [token (first context)] + (or (= :up-arrow token) (= :colon-up-arrow token)))) + +;; Handle the execution of "sub-clauses" in bracket constructions +(defn- execute-sub-format [format args base-args] + (second + (map-passing-context + (fn [element context] + (if (abort? context) + [nil context] ; just keep passing it along + (let [[params args] (realize-parameter-list (:params element) context) + [params offsets] (unzip-map params) + params (assoc params :base-args base-args)] + [nil (apply (:func element) [params args offsets])]))) + args + format))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for real number formats +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; TODO - return exponent as int to eliminate double conversion +(defn- float-parts-base + "Produce string parts for the mantissa (normalize 1-9) and exponent" + [f] + (let [s (string/lower-case (str f)) + exploc (.indexOf s \e) + dotloc (.indexOf s \.)] + (if (neg? exploc) + (if (neg? dotloc) + [s (str (dec (count s)))] + [(str (subs s 0 dotloc) (subs s (inc dotloc))) (str (dec dotloc))]) + (if (neg? dotloc) + [(subs s 0 exploc) (subs s (inc exploc))] + [(str (subs s 0 1) (subs s 2 exploc)) (subs s (inc exploc))])))) + +(defn- float-parts + "Take care of leading and trailing zeros in decomposed floats" + [f] + (let [[m e] (float-parts-base f) + m1 (rtrim m \0) + m2 (ltrim m1 \0) + delta (- (count m1) (count m2)) + e (if (and (pos? (count e)) (= (nth e 0) \+)) (subs e 1) e)] + (if (empty? m2) + ["0" 0] + [m2 (- (js/parseInt e 10) delta)]))) + +(defn- inc-s + "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." + [s] + (let [len-1 (dec (count s))] + (loop [i (int len-1)] + (cond + (neg? i) (apply str "1" (repeat (inc len-1) "0")) + (= \9 (.charAt s i)) (recur (dec i)) + :else (apply str (subs s 0 i) + (char (inc (char-code (.charAt s i)))) + (repeat (- len-1 i) "0")))))) + +(defn- round-str [m e d w] + (if (or d w) + (let [len (count m) + ;; Every formatted floating point number should include at + ;; least one decimal digit and a decimal point. + w (if w (max 2 w) + ;;NB: if w doesn't exist, it won't ever be used because d will + ;; satisfy the cond below. cljs gives a compilation warning if + ;; we don't provide a value here. + 0) + round-pos (cond + ;; If d was given, that forces the rounding + ;; position, regardless of any width that may + ;; have been specified. + d (+ e d 1) + ;; Otherwise w was specified, so pick round-pos + ;; based upon that. + ;; If e>=0, then abs value of number is >= 1.0, + ;; and e+1 is number of decimal digits before the + ;; decimal point when the number is written + ;; without scientific notation. Never round the + ;; number before the decimal point. + (>= e 0) (max (inc e) (dec w)) + ;; e < 0, so number abs value < 1.0 + :else (+ w e)) + [m1 e1 round-pos len] (if (= round-pos 0) + [(str "0" m) (inc e) 1 (inc len)] + [m e round-pos len])] + (if round-pos + (if (neg? round-pos) + ["0" 0 false] + (if (> len round-pos) + (let [round-char (nth m1 round-pos) + result (subs m1 0 round-pos)] + (if (>= (char-code round-char) (char-code \5)) + (let [round-up-result (inc-s result) + expanded (> (count round-up-result) (count result))] + [(if expanded + (subs round-up-result 0 (dec (count round-up-result))) + round-up-result) + e1 expanded]) + [result e1 false])) + [m e false])) + [m e false])) + [m e false])) + +(defn- expand-fixed [m e d] + (let [[m1 e1] (if (neg? e) + [(str (apply str (repeat (dec (- e)) \0)) m) -1] + [m e]) + len (count m1) + target-len (if d (+ e1 d 1) (inc e1))] + (if (< len target-len) + (str m1 (apply str (repeat (- target-len len) \0))) + m1))) + +(defn- insert-decimal + "Insert the decimal point at the right spot in the number to match an exponent" + [m e] + (if (neg? e) + (str "." m) + (let [loc (inc e)] + (str (subs m 0 loc) "." (subs m loc))))) + +(defn- get-fixed [m e d] + (insert-decimal (expand-fixed m e d) e)) + +(defn- insert-scaled-decimal + "Insert the decimal point at the right spot in the number to match an exponent" + [m k] + (if (neg? k) + (str "." m) + (str (subs m 0 k) "." (subs m k)))) + +;;TODO: No ratio, so not sure what to do here +(defn- convert-ratio [x] + x) + +;; the function to render ~F directives +;; TODO: support rationals. Back off to ~D/~A in the appropriate cases +(defn- fixed-float [params navigator offsets] + (let [w (:w params) + d (:d params) + [arg navigator] (next-arg navigator) + [sign abs] (if (neg? arg) ["-" (- arg)] ["+" arg]) + abs (convert-ratio abs) + [mantissa exp] (float-parts abs) + scaled-exp (+ exp (:k params)) + add-sign (or (:at params) (neg? arg)) + append-zero (and (not d) (<= (dec (count mantissa)) scaled-exp)) + [rounded-mantissa scaled-exp expanded] (round-str mantissa scaled-exp + d (if w (- w (if add-sign 1 0)))) + fixed-repr (get-fixed rounded-mantissa (if expanded (inc scaled-exp) scaled-exp) d) + fixed-repr (if (and w d + (>= d 1) + (= (.charAt fixed-repr 0) \0) + (= (.charAt fixed-repr 1) \.) + (> (count fixed-repr) (- w (if add-sign 1 0)))) + (subs fixed-repr 1) ;chop off leading 0 + fixed-repr) + prepend-zero (= (first fixed-repr) \.)] + (if w + (let [len (count fixed-repr) + signed-len (if add-sign (inc len) len) + prepend-zero (and prepend-zero (not (>= signed-len w))) + append-zero (and append-zero (not (>= signed-len w))) + full-len (if (or prepend-zero append-zero) + (inc signed-len) + signed-len)] + (if (and (> full-len w) (:overflowchar params)) + (print (apply str (repeat w (:overflowchar params)))) + (print (str + (apply str (repeat (- w full-len) (:padchar params))) + (if add-sign sign) + (if prepend-zero "0") + fixed-repr + (if append-zero "0"))))) + (print (str + (if add-sign sign) + (if prepend-zero "0") + fixed-repr + (if append-zero "0")))) + navigator)) + +;; the function to render ~E directives +;; TODO: support rationals. Back off to ~D/~A in the appropriate cases +;; TODO: define ~E representation for Infinity +(defn- exponential-float [params navigator offset] + (let [[arg navigator] (next-arg navigator) + arg (convert-ratio arg)] + (loop [[mantissa exp] (float-parts (if (neg? arg) (- arg) arg))] + (let [w (:w params) + d (:d params) + e (:e params) + k (:k params) + expchar (or (:exponentchar params) \E) + add-sign (or (:at params) (neg? arg)) + prepend-zero (<= k 0) + scaled-exp (- exp (dec k)) + scaled-exp-str (str (Math/abs scaled-exp)) + scaled-exp-str (str expchar (if (neg? scaled-exp) \- \+) + (if e (apply str + (repeat + (- e + (count scaled-exp-str)) + \0))) + scaled-exp-str) + exp-width (count scaled-exp-str) + base-mantissa-width (count mantissa) + scaled-mantissa (str (apply str (repeat (- k) \0)) + mantissa + (if d + (apply str + (repeat + (- d (dec base-mantissa-width) + (if (neg? k) (- k) 0)) \0)))) + w-mantissa (if w (- w exp-width)) + [rounded-mantissa _ incr-exp] (round-str + scaled-mantissa 0 + (cond + (= k 0) (dec d) + (pos? k) d + (neg? k) (dec d)) + (if w-mantissa + (- w-mantissa (if add-sign 1 0)))) + full-mantissa (insert-scaled-decimal rounded-mantissa k) + append-zero (and (= k (count rounded-mantissa)) (nil? d))] + (if (not incr-exp) + (if w + (let [len (+ (count full-mantissa) exp-width) + signed-len (if add-sign (inc len) len) + prepend-zero (and prepend-zero (not (= signed-len w))) + full-len (if prepend-zero (inc signed-len) signed-len) + append-zero (and append-zero (< full-len w))] + (if (and (or (> full-len w) (and e (> (- exp-width 2) e))) + (:overflowchar params)) + (print (apply str (repeat w (:overflowchar params)))) + (print (str + (apply str + (repeat + (- w full-len (if append-zero 1 0)) + (:padchar params))) + (if add-sign (if (neg? arg) \- \+)) + (if prepend-zero "0") + full-mantissa + (if append-zero "0") + scaled-exp-str)))) + (print (str + (if add-sign (if (neg? arg) \- \+)) + (if prepend-zero "0") + full-mantissa + (if append-zero "0") + scaled-exp-str))) + (recur [rounded-mantissa (inc exp)])))) + navigator)) + +;; the function to render ~G directives +;; This just figures out whether to pass the request off to ~F or ~E based +;; on the algorithm in CLtL. +;; TODO: support rationals. Back off to ~D/~A in the appropriate cases +;; TODO: refactor so that float-parts isn't called twice +(defn- general-float [params navigator offsets] + (let [[arg _] (next-arg navigator) + arg (convert-ratio arg) + [mantissa exp] (float-parts (if (neg? arg) (- arg) arg)) + w (:w params) + d (:d params) + e (:e params) + n (if (= arg 0.0) 0 (inc exp)) + ee (if e (+ e 2) 4) + ww (if w (- w ee)) + d (if d d (max (count mantissa) (min n 7))) + dd (- d n)] + (if (<= 0 dd d) + (let [navigator (fixed-float {:w ww, :d dd, :k 0, + :overflowchar (:overflowchar params), + :padchar (:padchar params), :at (:at params)} + navigator offsets)] + (print (apply str (repeat ee \space))) + navigator) + (exponential-float params navigator offsets)))) + +;; the function to render ~$ directives +;; TODO: support rationals. Back off to ~D/~A in the appropriate cases +(defn- dollar-float [params navigator offsets] + (let [[arg navigator] (next-arg navigator) + [mantissa exp] (float-parts (Math/abs arg)) + d (:d params) ; digits after the decimal + n (:n params) ; minimum digits before the decimal + w (:w params) ; minimum field width + add-sign (or (:at params) (neg? arg)) + [rounded-mantissa scaled-exp expanded] (round-str mantissa exp d nil) + fixed-repr (get-fixed rounded-mantissa (if expanded (inc scaled-exp) scaled-exp) d) + full-repr (str (apply str (repeat (- n (.indexOf fixed-repr \.)) \0)) fixed-repr) + full-len (+ (count full-repr) (if add-sign 1 0))] + (print (str + (if (and (:colon params) add-sign) (if (neg? arg) \- \+)) + (apply str (repeat (- w full-len) (:padchar params))) + (if (and (not (:colon params)) add-sign) (if (neg? arg) \- \+)) + full-repr)) + navigator)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for the '~[...~]' conditional construct in its +;; different flavors +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; ~[...~] without any modifiers chooses one of the clauses based on the param or +;; next argument +;; TODO check arg is positive int +(defn- choice-conditional [params arg-navigator offsets] + (let [arg (:selector params) + [arg navigator] (if arg [arg arg-navigator] (next-arg arg-navigator)) + clauses (:clauses params) + clause (if (or (neg? arg) (>= arg (count clauses))) + (first (:else params)) + (nth clauses arg))] + (if clause + (execute-sub-format clause navigator (:base-args params)) + navigator))) + +;; ~:[...~] with the colon reads the next argument treating it as a truth value +(defn- boolean-conditional [params arg-navigator offsets] + (let [[arg navigator] (next-arg arg-navigator) + clauses (:clauses params) + clause (if arg + (second clauses) + (first clauses))] + (if clause + (execute-sub-format clause navigator (:base-args params)) + navigator))) + +;; ~@[...~] with the at sign executes the conditional if the next arg is not +;; nil/false without consuming the arg +(defn- check-arg-conditional [params arg-navigator offsets] + (let [[arg navigator] (next-arg arg-navigator) + clauses (:clauses params) + clause (if arg (first clauses))] + (if arg + (if clause + (execute-sub-format clause arg-navigator (:base-args params)) + arg-navigator) + navigator))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for the '~{...~}' iteration construct in its +;; different flavors +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; ~{...~} without any modifiers uses the next argument as an argument list that +;; is consumed by all the iterations +(defn- iterate-sublist [params navigator offsets] + (let [max-count (:max-iterations params) + param-clause (first (:clauses params)) + [clause navigator] (if (empty? param-clause) + (get-format-arg navigator) + [param-clause navigator]) + [arg-list navigator] (next-arg navigator) + args (init-navigator arg-list)] + (loop [count 0 + args args + last-pos (int -1)] + (if (and (not max-count) (= (:pos args) last-pos) (> count 1)) + ;; TODO get the offset in here and call format exception + (throw (js/Error "%{ construct not consuming any arguments: Infinite loop!"))) + (if (or (and (empty? (:rest args)) + (or (not (:colon (:right-params params))) (> count 0))) + (and max-count (>= count max-count))) + navigator + (let [iter-result (execute-sub-format clause args (:base-args params))] + (if (= :up-arrow (first iter-result)) + navigator + (recur (inc count) iter-result (:pos args)))))))) + +;; ~:{...~} with the colon treats the next argument as a list of sublists. Each of the +;; sublists is used as the arglist for a single iteration. +(defn- iterate-list-of-sublists [params navigator offsets] + (let [max-count (:max-iterations params) + param-clause (first (:clauses params)) + [clause navigator] (if (empty? param-clause) + (get-format-arg navigator) + [param-clause navigator]) + [arg-list navigator] (next-arg navigator)] + (loop [count 0 + arg-list arg-list] + (if (or (and (empty? arg-list) + (or (not (:colon (:right-params params))) (> count 0))) + (and max-count (>= count max-count))) + navigator + (let [iter-result (execute-sub-format + clause + (init-navigator (first arg-list)) + (init-navigator (next arg-list)))] + (if (= :colon-up-arrow (first iter-result)) + navigator + (recur (inc count) (next arg-list)))))))) + +;; ~@{...~} with the at sign uses the main argument list as the arguments to the iterations +;; is consumed by all the iterations +(defn- iterate-main-list [params navigator offsets] + (let [max-count (:max-iterations params) + param-clause (first (:clauses params)) + [clause navigator] (if (empty? param-clause) + (get-format-arg navigator) + [param-clause navigator])] + (loop [count 0 + navigator navigator + last-pos (int -1)] + (if (and (not max-count) (= (:pos navigator) last-pos) (> count 1)) + ;; TODO get the offset in here and call format exception + (throw (js/Error "%@{ construct not consuming any arguments: Infinite loop!"))) + (if (or (and (empty? (:rest navigator)) + (or (not (:colon (:right-params params))) (> count 0))) + (and max-count (>= count max-count))) + navigator + (let [iter-result (execute-sub-format clause navigator (:base-args params))] + (if (= :up-arrow (first iter-result)) + (second iter-result) + (recur + (inc count) iter-result (:pos navigator)))))))) + +;; ~@:{...~} with both colon and at sign uses the main argument list as a set of sublists, one +;; of which is consumed with each iteration +(defn- iterate-main-sublists [params navigator offsets] + (let [max-count (:max-iterations params) + param-clause (first (:clauses params)) + [clause navigator] (if (empty? param-clause) + (get-format-arg navigator) + [param-clause navigator])] + (loop [count 0 + navigator navigator] + (if (or (and (empty? (:rest navigator)) + (or (not (:colon (:right-params params))) (> count 0))) + (and max-count (>= count max-count))) + navigator + (let [[sublist navigator] (next-arg-or-nil navigator) + iter-result (execute-sub-format clause (init-navigator sublist) navigator)] + (if (= :colon-up-arrow (first iter-result)) + navigator + (recur (inc count) navigator))))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; The '~< directive has two completely different meanings +;; in the '~<...~>' form it does justification, but with +;; ~<...~:>' it represents the logical block operation of the +;; pretty printer. +;; +;; Unfortunately, the current architecture decides what function +;; to call at form parsing time before the sub-clauses have been +;; folded, so it is left to run-time to make the decision. +;; +;; TODO: make it possible to make these decisions at compile-time. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(declare format-logical-block) +(declare justify-clauses) + +(defn- logical-block-or-justify [params navigator offsets] + (if (:colon (:right-params params)) + (format-logical-block params navigator offsets) + (justify-clauses params navigator offsets))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Support for the '~<...~>' justification directive +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- render-clauses [clauses navigator base-navigator] + (loop [clauses clauses + acc [] + navigator navigator] + (if (empty? clauses) + [acc navigator] + (let [clause (first clauses) + [iter-result result-str] (let [sb (StringBuffer.)] + (binding [*out* (StringBufferWriter. sb)] + [(execute-sub-format clause navigator base-navigator) + (str sb)]))] + (if (= :up-arrow (first iter-result)) + [acc (second iter-result)] + (recur (next clauses) (conj acc result-str) iter-result)))))) + +;; TODO support for ~:; constructions +(defn- justify-clauses [params navigator offsets] + (let [[[eol-str] new-navigator] (when-let [else (:else params)] + (render-clauses else navigator (:base-args params))) + navigator (or new-navigator navigator) + [else-params new-navigator] (when-let [p (:else-params params)] + (realize-parameter-list p navigator)) + navigator (or new-navigator navigator) + min-remaining (or (first (:min-remaining else-params)) 0) + max-columns (or (first (:max-columns else-params)) + (get-max-column *out*)) + clauses (:clauses params) + [strs navigator] (render-clauses clauses navigator (:base-args params)) + slots (max 1 + (+ (dec (count strs)) (if (:colon params) 1 0) (if (:at params) 1 0))) + chars (reduce + (map count strs)) + mincol (:mincol params) + minpad (:minpad params) + colinc (:colinc params) + minout (+ chars (* slots minpad)) + result-columns (if (<= minout mincol) + mincol + (+ mincol (* colinc + (+ 1 (quot (- minout mincol 1) colinc))))) + total-pad (- result-columns chars) + pad (max minpad (quot total-pad slots)) + extra-pad (- total-pad (* pad slots)) + pad-str (apply str (repeat pad (:padchar params)))] + (if (and eol-str (> (+ (get-column (:base @@*out*)) min-remaining result-columns) + max-columns)) + (print eol-str)) + (loop [slots slots + extra-pad extra-pad + strs strs + pad-only (or (:colon params) + (and (= (count strs) 1) (not (:at params))))] + (if (seq strs) + (do + (print (str (if (not pad-only) (first strs)) + (if (or pad-only (next strs) (:at params)) pad-str) + (if (pos? extra-pad) (:padchar params)))) + (recur + (dec slots) + (dec extra-pad) + (if pad-only strs (next strs)) + false)))) + navigator)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Support for case modification with ~(...~). +;;; We do this by wrapping the underlying writer with +;;; a special writer to do the appropriate modification. This +;;; allows us to support arbitrary-sized output and sources +;;; that may block. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- downcase-writer + "Returns a proxy that wraps writer, converting all characters to lower case" + [writer] + (reify + IWriter + (-flush [_] (-flush writer)) + (-write + ;;no multi-arity, not sure of importance + #_([^chars cbuf ^Integer off ^Integer len] + (.write writer cbuf off len)) + [this x] + (condp = (type x) + js/String + (let [s x] + (-write writer (string/lower-case s))) + + js/Number + (let [c x] + ;;TODO need to enforce integers only? + (-write writer (string/lower-case (char c)))))))) + +(defn- upcase-writer + "Returns a proxy that wraps writer, converting all characters to upper case" + [writer] + (reify + IWriter + (-flush [_] (-flush writer)) + (-write + ;;no multi-arity, not sure of importance + #_([^chars cbuf ^Integer off ^Integer len] + (.write writer cbuf off len)) + [this x] + (condp = (type x) + js/String + (let [s x] + (-write writer (string/upper-case s))) + + js/Number + (let [c x] + ;;TODO need to enforce integers only? + (-write writer (string/upper-case (char c)))))))) + +(defn- capitalize-string + "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." + [s first?] + (let [f (first s) + s (if (and first? f (gstring/isUnicodeChar f)) + (str (string/upper-case f) (subs s 1)) + s)] + (apply str + (first + (consume + (fn [s] + (if (empty? s) + [nil nil] + (let [m (.exec (js/RegExp "\\W\\w" "g") s) + offset (and m (inc (.-index m)))] + (if offset + [(str (subs s 0 offset) + (string/upper-case (nth s offset))) + (subs s (inc offset))] + [s nil])))) + s))))) + +(defn- capitalize-word-writer + "Returns a proxy that wraps writer, capitalizing all words" + [writer] + (let [last-was-whitespace? (atom true)] + (reify + IWriter + (-flush [_] (-flush writer)) + (-write + ;;no multi-arity + #_([^chars cbuf ^Integer off ^Integer len] + (.write writer cbuf off len)) + [this x] + (condp = (type x) + js/String + (let [s x] + (-write writer + (capitalize-string (.toLowerCase s) @last-was-whitespace?)) + (when (pos? (.-length s)) + (reset! last-was-whitespace? (gstring/isEmptyOrWhitespace (nth s (dec (count s))))))) + + js/Number + (let [c (char x)] + (let [mod-c (if @last-was-whitespace? (string/upper-case c) c)] + (-write writer mod-c) + (reset! last-was-whitespace? (gstring/isEmptyOrWhitespace c))))))))) + +(defn- init-cap-writer + "Returns a proxy that wraps writer, capitalizing the first word" + [writer] + (let [capped (atom false)] + (reify + IWriter + (-flush [_] (-flush writer)) + (-write + ;;no multi-arity + #_([^chars cbuf ^Integer off ^Integer len] + (.write writer cbuf off len)) + [this x] + (condp = (type x) + js/String + (let [s (string/lower-case x)] + (if (not @capped) + (let [m (.exec (js/RegExp "\\S" "g") s) + offset (and m (.-index m))] + (if offset + (do (-write writer + (str (subs s 0 offset) + (string/upper-case (nth s offset)) + (string/lower-case (subs s (inc offset))))) + (reset! capped true)) + (-write writer s))) + (-write writer (string/lower-case s)))) + + js/Number + (let [c (char x)] + (if (and (not @capped) (gstring/isUnicodeChar c)) + (do + (reset! capped true) + (-write writer (string/upper-case c))) + (-write writer (string/lower-case c))))))))) + +(defn- modify-case [make-writer params navigator offsets] + (let [clause (first (:clauses params))] + (binding [*out* (make-writer *out*)] + (execute-sub-format clause navigator (:base-args params))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; If necessary, wrap the writer in a PrettyWriter object +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; TODO update this doc string to show correct way to print +(defn get-pretty-writer + "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" + [writer] + (if (pretty-writer? writer) + writer + (pretty-writer writer *print-right-margin* *print-miser-width*))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Support for column-aware operations ~&, ~T +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn fresh-line + "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." + [] + (if (satisfies? IDeref *out*) + (if (not (= 0 (get-column (:base @@*out*)))) + (prn)) + (prn))) + +(defn- absolute-tabulation [params navigator offsets] + (let [colnum (:colnum params) + colinc (:colinc params) + current (get-column (:base @@*out*)) + space-count (cond + (< current colnum) (- colnum current) + (= colinc 0) 0 + :else (- colinc (rem (- current colnum) colinc)))] + (print (apply str (repeat space-count \space)))) + navigator) + +(defn- relative-tabulation [params navigator offsets] + (let [colrel (:colnum params) + colinc (:colinc params) + start-col (+ colrel (get-column (:base @@*out*))) + offset (if (pos? colinc) (rem start-col colinc) 0) + space-count (+ colrel (if (= 0 offset) 0 (- colinc offset)))] + (print (apply str (repeat space-count \space)))) + navigator) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Support for accessing the pretty printer from a format +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; TODO: support ~@; per-line-prefix separator +;; TODO: get the whole format wrapped so we can start the lb at any column +(defn- format-logical-block [params navigator offsets] + (let [clauses (:clauses params) + clause-count (count clauses) + prefix (cond + (> clause-count 1) (:string (:params (first (first clauses)))) + (:colon params) "(") + body (nth clauses (if (> clause-count 1) 1 0)) + suffix (cond + (> clause-count 2) (:string (:params (first (nth clauses 2)))) + (:colon params) ")") + [arg navigator] (next-arg navigator)] + (pprint-logical-block :prefix prefix :suffix suffix + (execute-sub-format + body + (init-navigator arg) + (:base-args params))) + navigator)) + +(defn- set-indent [params navigator offsets] + (let [relative-to (if (:colon params) :current :block)] + (pprint-indent relative-to (:n params)) + navigator)) + +;;; TODO: support ~:T section options for ~T +(defn- conditional-newline [params navigator offsets] + (let [kind (if (:colon params) + (if (:at params) :mandatory :fill) + (if (:at params) :miser :linear))] + (pprint-newline kind) + navigator)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; The table of directives we support, each with its params, +;;; properties, and the compilation function +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defdirectives + (\A + [:mincol [0 js/Number] :colinc [1 js/Number] :minpad [0 js/Number] :padchar [\space js/String]] + #{:at :colon :both} {} + #(format-ascii print-str %1 %2 %3)) + + (\S + [:mincol [0 js/Number] :colinc [1 js/Number] :minpad [0 js/Number] :padchar [\space js/String]] + #{:at :colon :both} {} + #(format-ascii pr-str %1 %2 %3)) + + (\D + [:mincol [0 js/Number] :padchar [\space js/String] :commachar [\, js/String] + :commainterval [3 js/Number]] + #{:at :colon :both} {} + #(format-integer 10 %1 %2 %3)) + + (\B + [:mincol [0 js/Number] :padchar [\space js/String] :commachar [\, js/String] + :commainterval [3 js/Number]] + #{:at :colon :both} {} + #(format-integer 2 %1 %2 %3)) + + (\O + [:mincol [0 js/Number] :padchar [\space js/String] :commachar [\, js/String] + :commainterval [3 js/Number]] + #{:at :colon :both} {} + #(format-integer 8 %1 %2 %3)) + + (\X + [:mincol [0 js/Number] :padchar [\space js/String] :commachar [\, js/String] + :commainterval [3 js/Number]] + #{:at :colon :both} {} + #(format-integer 16 %1 %2 %3)) + + (\R + [:base [nil js/Number] :mincol [0 js/Number] :padchar [\space js/String] :commachar [\, js/String] + :commainterval [3 js/Number]] + #{:at :colon :both} {} + (do + (cond ; ~R is overloaded with bizareness + (first (:base params)) #(format-integer (:base %1) %1 %2 %3) + (and (:at params) (:colon params)) #(format-old-roman %1 %2 %3) + (:at params) #(format-new-roman %1 %2 %3) + (:colon params) #(format-ordinal-english %1 %2 %3) + true #(format-cardinal-english %1 %2 %3)))) + + (\P + [] + #{:at :colon :both} {} + (fn [params navigator offsets] + (let [navigator (if (:colon params) (relative-reposition navigator -1) navigator) + strs (if (:at params) ["y" "ies"] ["" "s"]) + [arg navigator] (next-arg navigator)] + (print (if (= arg 1) (first strs) (second strs))) + navigator))) + + (\C + [:char-format [nil js/String]] + #{:at :colon :both} {} + (cond + (:colon params) pretty-character + (:at params) readable-character + :else plain-character)) + + (\F + [:w [nil js/Number] :d [nil js/Number] :k [0 js/Number] :overflowchar [nil js/String] + :padchar [\space js/String]] + #{:at} {} + fixed-float) + + (\E + [:w [nil js/Number] :d [nil js/Number] :e [nil js/Number] :k [1 js/Number] + :overflowchar [nil js/String] :padchar [\space js/String] + :exponentchar [nil js/String]] + #{:at} {} + exponential-float) + + (\G + [:w [nil js/Number] :d [nil js/Number] :e [nil js/Number] :k [1 js/Number] + :overflowchar [nil js/String] :padchar [\space js/String] + :exponentchar [nil js/String]] + #{:at} {} + general-float) + + (\$ + [:d [2 js/Number] :n [1 js/Number] :w [0 js/Number] :padchar [\space js/String]] + #{:at :colon :both} {} + dollar-float) + + (\% + [:count [1 js/Number]] + #{} {} + (fn [params arg-navigator offsets] + (dotimes [i (:count params)] + (prn)) + arg-navigator)) + + (\& + [:count [1 js/Number]] + #{:pretty} {} + (fn [params arg-navigator offsets] + (let [cnt (:count params)] + (if (pos? cnt) (fresh-line)) + (dotimes [i (dec cnt)] + (prn))) + arg-navigator)) + + (\| + [:count [1 js/Number]] + #{} {} + (fn [params arg-navigator offsets] + (dotimes [i (:count params)] + (print \formfeed)) + arg-navigator)) + + (\~ + [:n [1 js/Number]] + #{} {} + (fn [params arg-navigator offsets] + (let [n (:n params)] + (print (apply str (repeat n \~))) + arg-navigator))) + + (\newline ;; Whitespace supression is handled in the compilation loop + [] + #{:colon :at} {} + (fn [params arg-navigator offsets] + (if (:at params) + (prn)) + arg-navigator)) + + (\T + [:colnum [1 js/Number] :colinc [1 js/Number]] + #{:at :pretty} {} + (if (:at params) + #(relative-tabulation %1 %2 %3) + #(absolute-tabulation %1 %2 %3))) + + (\* + [:n [1 js/Number]] + #{:colon :at} {} + (fn [params navigator offsets] + (let [n (:n params)] + (if (:at params) + (absolute-reposition navigator n) + (relative-reposition navigator (if (:colon params) (- n) n)))))) + + (\? + [] + #{:at} {} + (if (:at params) + (fn [params navigator offsets] ; args from main arg list + (let [[subformat navigator] (get-format-arg navigator)] + (execute-sub-format subformat navigator (:base-args params)))) + (fn [params navigator offsets] ; args from sub-list + (let [[subformat navigator] (get-format-arg navigator) + [subargs navigator] (next-arg navigator) + sub-navigator (init-navigator subargs)] + (execute-sub-format subformat sub-navigator (:base-args params)) + navigator)))) + + (\( + [] + #{:colon :at :both} {:right \), :allows-separator nil, :else nil} + (let [mod-case-writer (cond + (and (:at params) (:colon params)) + upcase-writer + + (:colon params) + capitalize-word-writer + + (:at params) + init-cap-writer + + :else + downcase-writer)] + #(modify-case mod-case-writer %1 %2 %3))) + + (\) [] #{} {} nil) + + (\[ + [:selector [nil js/Number]] + #{:colon :at} {:right \], :allows-separator true, :else :last} + (cond + (:colon params) + boolean-conditional + + (:at params) + check-arg-conditional + + true + choice-conditional)) + + (\; [:min-remaining [nil js/Number] :max-columns [nil js/Number]] + #{:colon} {:separator true} nil) + + (\] [] #{} {} nil) + + (\{ + [:max-iterations [nil js/Number]] + #{:colon :at :both} {:right \}, :allows-separator false} + (cond + (and (:at params) (:colon params)) + iterate-main-sublists + + (:colon params) + iterate-list-of-sublists + + (:at params) + iterate-main-list + + true + iterate-sublist)) + + (\} [] #{:colon} {} nil) + + (\< + [:mincol [0 js/Number] :colinc [1 js/Number] :minpad [0 js/Number] :padchar [\space js/String]] + #{:colon :at :both :pretty} {:right \>, :allows-separator true, :else :first} + logical-block-or-justify) + + (\> [] #{:colon} {} nil) + + ;; TODO: detect errors in cases where colon not allowed + (\^ [:arg1 [nil js/Number] :arg2 [nil js/Number] :arg3 [nil js/Number]] + #{:colon} {} + (fn [params navigator offsets] + (let [arg1 (:arg1 params) + arg2 (:arg2 params) + arg3 (:arg3 params) + exit (if (:colon params) :colon-up-arrow :up-arrow)] + (cond + (and arg1 arg2 arg3) + (if (<= arg1 arg2 arg3) [exit navigator] navigator) + + (and arg1 arg2) + (if (= arg1 arg2) [exit navigator] navigator) + + arg1 + (if (= arg1 0) [exit navigator] navigator) + + true ; TODO: handle looking up the arglist stack for info + (if (if (:colon params) + (empty? (:rest (:base-args params))) + (empty? (:rest navigator))) + [exit navigator] navigator))))) + + (\W + [] + #{:at :colon :both :pretty} {} + (if (or (:at params) (:colon params)) + (let [bindings (concat + (if (:at params) [:level nil :length nil] []) + (if (:colon params) [:pretty true] []))] + (fn [params navigator offsets] + (let [[arg navigator] (next-arg navigator)] + (if (apply write arg bindings) + [:up-arrow navigator] + navigator)))) + (fn [params navigator offsets] + (let [[arg navigator] (next-arg navigator)] + (if (write-out arg) + [:up-arrow navigator] + navigator))))) + + (\_ + [] + #{:at :colon :both} {} + conditional-newline) + + (\I + [:n [0 js/Number]] + #{:colon} {} + set-indent) + ) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Code to manage the parameters and flags associated with each +;; directive in the format string. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^{:private true} + param-pattern #"^([vV]|#|('.)|([+-]?\d+)|(?=,))") + +(def ^{:private true} + special-params #{:parameter-from-args :remaining-arg-count}) + +(defn- extract-param [[s offset saw-comma]] + (let [m (js/RegExp. (.-source param-pattern) "g") + param (.exec m s)] + (if param + (let [token-str (first param) + remainder (subs s (.-lastIndex m)) + new-offset (+ offset (.-lastIndex m))] + (if (not (= \, (nth remainder 0))) + [[token-str offset] [remainder new-offset false]] + [[token-str offset] [(subs remainder 1) (inc new-offset) true]])) + (if saw-comma + (format-error "Badly formed parameters in format directive" offset) + [nil [s offset]])))) + +(defn- extract-params [s offset] + (consume extract-param [s offset false])) + +(defn- translate-param + "Translate the string representation of a param to the internalized + representation" + [[p offset]] + [(cond + (= (.-length p) 0) nil + (and (= (.-length p) 1) (contains? #{\v \V} (nth p 0))) :parameter-from-args + (and (= (.-length p) 1) (= \# (nth p 0))) :remaining-arg-count + (and (= (.-length p) 2) (= \' (nth p 0))) (nth p 1) + true (js/parseInt p 10)) + offset]) + +(def ^{:private true} + flag-defs {\: :colon, \@ :at}) + +(defn- extract-flags [s offset] + (consume + (fn [[s offset flags]] + (if (empty? s) + [nil [s offset flags]] + (let [flag (get flag-defs (first s))] + (if flag + (if (contains? flags flag) + (format-error + (str "Flag \"" (first s) "\" appears more than once in a directive") + offset) + [true [(subs s 1) (inc offset) (assoc flags flag [true offset])]]) + [nil [s offset flags]])))) + [s offset {}])) + +(defn- check-flags [def flags] + (let [allowed (:flags def)] + (if (and (not (:at allowed)) (:at flags)) + (format-error (str "\"@\" is an illegal flag for format directive \"" (:directive def) "\"") + (nth (:at flags) 1))) + (if (and (not (:colon allowed)) (:colon flags)) + (format-error (str "\":\" is an illegal flag for format directive \"" (:directive def) "\"") + (nth (:colon flags) 1))) + (if (and (not (:both allowed)) (:at flags) (:colon flags)) + (format-error (str "Cannot combine \"@\" and \":\" flags for format directive \"" + (:directive def) "\"") + (min (nth (:colon flags) 1) (nth (:at flags) 1)))))) + +(defn- map-params + "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." + [def params flags offset] + (check-flags def flags) + (if (> (count params) (count (:params def))) + (format-error + (cl-format + nil + "Too many parameters for directive \"~C\": ~D~:* ~[were~;was~:;were~] specified but only ~D~:* ~[are~;is~:;are~] allowed" + (:directive def) (count params) (count (:params def))) + (second (first params)))) + (doall + (map #(let [val (first %1)] + (if (not (or (nil? val) (contains? special-params val) + (= (second (second %2)) (type val)))) + (format-error (str "Parameter " (name (first %2)) + " has bad type in directive \"" (:directive def) "\": " + (type val)) + (second %1))) ) + params (:params def))) + + (merge ; create the result map + (into (array-map) ; start with the default values, make sure the order is right + (reverse (for [[name [default]] (:params def)] [name [default offset]]))) + (reduce #(apply assoc %1 %2) {} (filter #(first (nth % 1)) (zipmap (keys (:params def)) params))) ; add the specified parameters, filtering out nils + flags)); and finally add the flags + +(defn- compile-directive [s offset] + (let [[raw-params [rest offset]] (extract-params s offset) + [_ [rest offset flags]] (extract-flags rest offset) + directive (first rest) + def (get directive-table (string/upper-case directive)) + params (if def (map-params def (map translate-param raw-params) flags offset))] + (if (not directive) + (format-error "Format string ended in the middle of a directive" offset)) + (if (not def) + (format-error (str "Directive \"" directive "\" is undefined") offset)) + [(compiled-directive. ((:generator-fn def) params offset) def params offset) + (let [remainder (subs rest 1) + offset (inc offset) + trim? (and (= \newline (:directive def)) + (not (:colon params))) + trim-count (if trim? (prefix-count remainder [\space \tab]) 0) + remainder (subs remainder trim-count) + offset (+ offset trim-count)] + [remainder offset])])) + +(defn- compile-raw-string [s offset] + (compiled-directive. (fn [_ a _] (print s) a) nil {:string s} offset)) + +(defn- right-bracket [this] (:right (:bracket-info (:def this)))) + +(defn- separator? [this] (:separator (:bracket-info (:def this)))) + +(defn- else-separator? [this] + (and (:separator (:bracket-info (:def this))) + (:colon (:params this)))) + +(declare collect-clauses) + +(defn- process-bracket [this remainder] + (let [[subex remainder] (collect-clauses (:bracket-info (:def this)) + (:offset this) remainder)] + [(compiled-directive. + (:func this) (:def this) + (merge (:params this) (tuple-map subex (:offset this))) + (:offset this)) + remainder])) + +(defn- process-clause [bracket-info offset remainder] + (consume + (fn [remainder] + (if (empty? remainder) + (format-error "No closing bracket found." offset) + (let [this (first remainder) + remainder (next remainder)] + (cond + (right-bracket this) + (process-bracket this remainder) + + (= (:right bracket-info) (:directive (:def this))) + [ nil [:right-bracket (:params this) nil remainder]] + + (else-separator? this) + [nil [:else nil (:params this) remainder]] + + (separator? this) + [nil [:separator nil nil remainder]] ;; TODO: check to make sure that there are no params on ~; + + true + [this remainder])))) + remainder)) + +(defn- collect-clauses [bracket-info offset remainder] + (second + (consume + (fn [[clause-map saw-else remainder]] + (let [[clause [type right-params else-params remainder]] + (process-clause bracket-info offset remainder)] + (cond + (= type :right-bracket) + [nil [(merge-with concat clause-map + {(if saw-else :else :clauses) [clause] + :right-params right-params}) + remainder]] + + (= type :else) + (cond + (:else clause-map) + (format-error "Two else clauses (\"~:;\") inside bracket construction." offset) + + (not (:else bracket-info)) + (format-error "An else clause (\"~:;\") is in a bracket type that doesn't support it." + offset) + + (and (= :first (:else bracket-info)) (seq (:clauses clause-map))) + (format-error + "The else clause (\"~:;\") is only allowed in the first position for this directive." + offset) + + true ; if the ~:; is in the last position, the else clause + ; is next, this was a regular clause + (if (= :first (:else bracket-info)) + [true [(merge-with concat clause-map {:else [clause] :else-params else-params}) + false remainder]] + [true [(merge-with concat clause-map {:clauses [clause]}) + true remainder]])) + + (= type :separator) + (cond + saw-else + (format-error "A plain clause (with \"~;\") follows an else clause (\"~:;\") inside bracket construction." offset) + + (not (:allows-separator bracket-info)) + (format-error "A separator (\"~;\") is in a bracket type that doesn't support it." + offset) + + true + [true [(merge-with concat clause-map {:clauses [clause]}) + false remainder]])))) + [{:clauses []} false remainder]))) + +(defn- process-nesting + "Take a linearly compiled format and process the bracket directives to give it + the appropriate tree structure" + [format] + (first + (consume + (fn [remainder] + (let [this (first remainder) + remainder (next remainder) + bracket (:bracket-info (:def this))] + (if (:right bracket) + (process-bracket this remainder) + [this remainder]))) + format))) + +(defn- compile-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" + [format-str] + (binding [*format-str* format-str] + (process-nesting + (first + (consume + (fn [[s offset]] + (if (empty? s) + [nil s] + (let [tilde (.indexOf s \~)] + (cond + (neg? tilde) [(compile-raw-string s offset) ["" (+ offset (.-length s))]] + (zero? tilde) (compile-directive (subs s 1) (inc offset)) + true + [(compile-raw-string (subs s 0 tilde) offset) [(subs s tilde) (+ tilde offset)]])))) + [format-str 0]))))) + +(defn- needs-pretty + "determine whether a given compiled format has any directives that depend on the +column number or pretty printing" + [format] + (loop [format format] + (if (empty? format) + false + (if (or (:pretty (:flags (:def (first format)))) + (some needs-pretty (first (:clauses (:params (first format))))) + (some needs-pretty (first (:else (:params (first format)))))) + true + (recur (next format)))))) + +;;NB We depart from the original api. In clj, if execute-format is called multiple times with the same stream or +;; called on *out*, the results are different than if the same calls are made with different streams or printing +;; to a string. The reason is that mutating the underlying stream changes the result by changing spacing. +;; +;; clj: +;; * stream => "1 2 3" +;; * true (prints to *out*) => "1 2 3" +;; * nil (prints to string) => "1 2 3" +;; cljs: +;; * stream => "1 2 3" +;; * true (prints via *print-fn*) => "1 2 3" +;; * nil (prints to string) => "1 2 3" +(defn- execute-format + "Executes the format with the arguments." + {:skip-wiki true} + ([stream format args] + (let [sb (StringBuffer.) + real-stream (if (or (not stream) (true? stream)) + (StringBufferWriter. sb) + stream) + wrapped-stream (if (and (needs-pretty format) + (not (pretty-writer? real-stream))) + (get-pretty-writer real-stream) + real-stream)] + (binding [*out* wrapped-stream] + (try + (execute-format format args) + (finally + (if-not (identical? real-stream wrapped-stream) + (-flush wrapped-stream)))) + (cond + (not stream) (str sb) + (true? stream) (string-print (str sb)) + :else nil)))) + ([format args] + (map-passing-context + (fn [element context] + (if (abort? context) + [nil context] + (let [[params args] (realize-parameter-list + (:params element) context) + [params offsets] (unzip-map params) + params (assoc params :base-args args)] + [nil (apply (:func element) [params args offsets])]))) + args + format) + nil)) + +;;; This is a bad idea, but it prevents us from leaking private symbols +;;; This should all be replaced by really compiled formats anyway. +(def ^{:private true} cached-compile (memoize compile-format)) + +;;====================================================================== +;; dispatch.clj +;;====================================================================== + +(defn- use-method + "Installs a function as a new method of multimethod associated with dispatch-value. " + [multifn dispatch-val func] + (-add-method multifn dispatch-val func)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Implementations of specific dispatch table entries +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;;; Handle forms that can be "back-translated" to reader macros +;;; Not all reader macros can be dealt with this way or at all. +;;; Macros that we can't deal with at all are: +;;; ; - The comment character is absorbed by the reader and never is part of the form +;;; ` - Is fully processed at read time into a lisp expression (which will contain concats +;;; and regular quotes). +;;; ~@ - Also fully eaten by the processing of ` and can't be used outside. +;;; , - is whitespace and is lost (like all other whitespace). Formats can generate commas +;;; where they deem them useful to help readability. +;;; ^ - Adding metadata completely disappears at read time and the data appears to be +;;; completely lost. +;;; +;;; Most other syntax stuff is dealt with directly by the formats (like (), [], {}, and #{}) +;;; or directly by printing the objects using Clojure's built-in print functions (like +;;; :keyword, \char, or ""). The notable exception is #() which is special-cased. + +(def ^{:private true} reader-macros + {'quote "'" + 'var "#'" + 'clojure.core/deref "@", + 'clojure.core/unquote "~" + 'cljs.core/deref "@", + 'cljs.core/unquote "~"}) + +(defn- pprint-reader-macro [alis] + (let [macro-char (reader-macros (first alis))] + (when (and macro-char (= 2 (count alis))) + (-write *out* macro-char) + (write-out (second alis)) + true))) + +;;====================================================================== +;; Dispatch for the basic data types when interpreted +;; as data (as opposed to code). +;;====================================================================== + +;;; TODO: inline these formatter statements into funcs so that we +;;; are a little easier on the stack. (Or, do "real" compilation, a +;;; la Common Lisp) + +;;; (def pprint-simple-list (formatter-out "~:<~@{~w~^ ~_~}~:>")) +(defn- pprint-simple-list [alis] + (pprint-logical-block :prefix "(" :suffix ")" + (print-length-loop [alis (seq alis)] + (when alis + (write-out (first alis)) + (when (next alis) + (-write *out* " ") + (pprint-newline :linear) + (recur (next alis))))))) + +(defn- pprint-list [alis] + (if-not (pprint-reader-macro alis) + (pprint-simple-list alis))) + +;;; (def pprint-vector (formatter-out "~<[~;~@{~w~^ ~_~}~;]~:>")) +(defn- pprint-vector [avec] + (pprint-logical-block :prefix "[" :suffix "]" + (print-length-loop [aseq (seq avec)] + (when aseq + (write-out (first aseq)) + (when (next aseq) + (-write *out* " ") + (pprint-newline :linear) + (recur (next aseq))))))) + +(def ^{:private true} pprint-array (formatter-out "~<[~;~@{~w~^, ~:_~}~;]~:>")) + +;;; (def pprint-map (formatter-out "~<{~;~@{~<~w~^ ~_~w~:>~^, ~_~}~;}~:>")) +(defn- pprint-map [amap] + (let [[ns lift-map] (when (not (record? amap)) + (#'cljs.core/lift-ns amap)) + amap (or lift-map amap) + prefix (if ns (str "#:" ns "{") "{")] + (pprint-logical-block :prefix prefix :suffix "}" + (print-length-loop [aseq (seq amap)] + (when aseq + ;;compiler gets confused with nested macro if it isn't namespaced + ;;it tries to use clojure.pprint/pprint-logical-block for some reason + (m/pprint-logical-block + (write-out (ffirst aseq)) + (-write *out* " ") + (pprint-newline :linear) + (set! *current-length* 0) ;always print both parts of the [k v] pair + (write-out (fnext (first aseq)))) + (when (next aseq) + (-write *out* ", ") + (pprint-newline :linear) + (recur (next aseq)))))))) + +(defn- pprint-simple-default [obj] + ;;TODO: Update to handle arrays (?) and suppressing namespaces + (-write *out* (pr-str obj))) + +(def pprint-set (formatter-out "~<#{~;~@{~w~^ ~:_~}~;}~:>")) + +(def ^{:private true} +type-map {"core$future_call" "Future", + "core$promise" "Promise"}) + +(defn- map-ref-type + "Map ugly type names to something simpler" + [name] + (or (when-let [match (re-find #"^[^$]+\$[^$]+" name)] + (type-map match)) + name)) + +(defn- pprint-ideref [o] + (let [prefix (str "#<" (map-ref-type (.-name (type o))) + "@" (goog/getUid o) ": ")] + (pprint-logical-block :prefix prefix :suffix ">" + (pprint-indent :block (-> (count prefix) (- 2) -)) + (pprint-newline :linear) + (write-out + (if (and (satisfies? IPending o) (not (-realized? o))) + :not-delivered + @o))))) + +(def ^{:private true} pprint-pqueue (formatter-out "~<<-(~;~@{~w~^ ~_~}~;)-<~:>")) + +(defn- type-dispatcher [obj] + (cond + (instance? PersistentQueue obj) :queue + (satisfies? IDeref obj) :deref + (symbol? obj) :symbol + (seq? obj) :list + (map? obj) :map + (vector? obj) :vector + (set? obj) :set + (nil? obj) nil + :default :default)) + +(defmulti simple-dispatch + "The pretty print dispatch function for simple data structure format." + type-dispatcher) + +(use-method simple-dispatch :list pprint-list) +(use-method simple-dispatch :vector pprint-vector) +(use-method simple-dispatch :map pprint-map) +(use-method simple-dispatch :set pprint-set) +(use-method simple-dispatch nil #(-write *out* (pr-str nil))) +(use-method simple-dispatch :default pprint-simple-default) + +(set-pprint-dispatch simple-dispatch) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Dispatch for the code table +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(declare pprint-simple-code-list) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Format the namespace ("ns") macro. This is quite complicated because of all the +;;; different forms supported and because programmers can choose lists or vectors +;;; in various places. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- brackets + "Figure out which kind of brackets to use" + [form] + (if (vector? form) + ["[" "]"] + ["(" ")"])) + +(defn- pprint-ns-reference + "Pretty print a single reference (import, use, etc.) from a namespace decl" + [reference] + (if (sequential? reference) + (let [[start end] (brackets reference) + [keyw & args] reference] + (pprint-logical-block :prefix start :suffix end + ((formatter-out "~w~:i") keyw) + (loop [args args] + (when (seq args) + ((formatter-out " ")) + (let [arg (first args)] + (if (sequential? arg) + (let [[start end] (brackets arg)] + (pprint-logical-block :prefix start :suffix end + (if (and (= (count arg) 3) (keyword? (second arg))) + (let [[ns kw lis] arg] + ((formatter-out "~w ~w ") ns kw) + (if (sequential? lis) + ((formatter-out (if (vector? lis) + "~<[~;~@{~w~^ ~:_~}~;]~:>" + "~<(~;~@{~w~^ ~:_~}~;)~:>")) + lis) + (write-out lis))) + (apply (formatter-out "~w ~:i~@{~w~^ ~:_~}") arg))) + (when (next args) + ((formatter-out "~_")))) + (do + (write-out arg) + (when (next args) + ((formatter-out "~:_")))))) + (recur (next args)))))) + (write-out reference))) + +(defn- pprint-ns + "The pretty print dispatch chunk for the ns macro" + [alis] + (if (next alis) + (let [[ns-sym ns-name & stuff] alis + [doc-str stuff] (if (string? (first stuff)) + [(first stuff) (next stuff)] + [nil stuff]) + [attr-map references] (if (map? (first stuff)) + [(first stuff) (next stuff)] + [nil stuff])] + (pprint-logical-block :prefix "(" :suffix ")" + ((formatter-out "~w ~1I~@_~w") ns-sym ns-name) + (when (or doc-str attr-map (seq references)) + ((formatter-out "~@:_"))) + (when doc-str + (cl-format true "\"~a\"~:[~;~:@_~]" doc-str (or attr-map (seq references)))) + (when attr-map + ((formatter-out "~w~:[~;~:@_~]") attr-map (seq references))) + (loop [references references] + (pprint-ns-reference (first references)) + (when-let [references (next references)] + (pprint-newline :linear) + (recur references))))) + (write-out alis))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Format something that looks like a simple def (sans metadata, since the reader +;;; won't give it to us now). +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^{:private true} pprint-hold-first (formatter-out "~:<~w~^ ~@_~w~^ ~_~@{~w~^ ~_~}~:>")) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Format something that looks like a defn or defmacro +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;;; Format the params and body of a defn with a single arity +(defn- single-defn [alis has-doc-str?] + (if (seq alis) + (do + (if has-doc-str? + ((formatter-out " ~_")) + ((formatter-out " ~@_"))) + ((formatter-out "~{~w~^ ~_~}") alis)))) + +;;; Format the param and body sublists of a defn with multiple arities +(defn- multi-defn [alis has-doc-str?] + (if (seq alis) + ((formatter-out " ~_~{~w~^ ~_~}") alis))) + +;;; TODO: figure out how to support capturing metadata in defns (we might need a +;;; special reader) +(defn- pprint-defn [alis] + (if (next alis) + (let [[defn-sym defn-name & stuff] alis + [doc-str stuff] (if (string? (first stuff)) + [(first stuff) (next stuff)] + [nil stuff]) + [attr-map stuff] (if (map? (first stuff)) + [(first stuff) (next stuff)] + [nil stuff])] + (pprint-logical-block :prefix "(" :suffix ")" + ((formatter-out "~w ~1I~@_~w") defn-sym defn-name) + (if doc-str + ((formatter-out " ~_~w") doc-str)) + (if attr-map + ((formatter-out " ~_~w") attr-map)) + ;; Note: the multi-defn case will work OK for malformed defns too + (cond + (vector? (first stuff)) (single-defn stuff (or doc-str attr-map)) + :else (multi-defn stuff (or doc-str attr-map))))) + (pprint-simple-code-list alis))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Format something with a binding form +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- pprint-binding-form [binding-vec] + (pprint-logical-block :prefix "[" :suffix "]" + (print-length-loop [binding binding-vec] + (when (seq binding) + (pprint-logical-block binding + (write-out (first binding)) + (when (next binding) + (-write *out* " ") + (pprint-newline :miser) + (write-out (second binding)))) + (when (next (rest binding)) + (-write *out* " ") + (pprint-newline :linear) + (recur (next (rest binding)))))))) + +(defn- pprint-let [alis] + (let [base-sym (first alis)] + (pprint-logical-block :prefix "(" :suffix ")" + (if (and (next alis) (vector? (second alis))) + (do + ((formatter-out "~w ~1I~@_") base-sym) + (pprint-binding-form (second alis)) + ((formatter-out " ~_~{~w~^ ~_~}") (next (rest alis)))) + (pprint-simple-code-list alis))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Format something that looks like "if" +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^{:private true} pprint-if (formatter-out "~:<~1I~w~^ ~@_~w~@{ ~_~w~}~:>")) + +(defn- pprint-cond [alis] + (pprint-logical-block :prefix "(" :suffix ")" + (pprint-indent :block 1) + (write-out (first alis)) + (when (next alis) + (-write *out* " ") + (pprint-newline :linear) + (print-length-loop [alis (next alis)] + (when alis + (pprint-logical-block alis + (write-out (first alis)) + (when (next alis) + (-write *out* " ") + (pprint-newline :miser) + (write-out (second alis)))) + (when (next (rest alis)) + (-write *out* " ") + (pprint-newline :linear) + (recur (next (rest alis))))))))) + +(defn- pprint-condp [alis] + (if (> (count alis) 3) + (pprint-logical-block :prefix "(" :suffix ")" + (pprint-indent :block 1) + (apply (formatter-out "~w ~@_~w ~@_~w ~_") alis) + (print-length-loop [alis (seq (drop 3 alis))] + (when alis + (pprint-logical-block alis + (write-out (first alis)) + (when (next alis) + (-write *out* " ") + (pprint-newline :miser) + (write-out (second alis)))) + (when (next (rest alis)) + (-write *out* " ") + (pprint-newline :linear) + (recur (next (rest alis))))))) + (pprint-simple-code-list alis))) + +;;; The map of symbols that are defined in an enclosing #() anonymous function +(def ^:dynamic ^{:private true} *symbol-map* {}) + +(defn- pprint-anon-func [alis] + (let [args (second alis) + nlis (first (rest (rest alis)))] + (if (vector? args) + (binding [*symbol-map* (if (= 1 (count args)) + {(first args) "%"} + (into {} + (map + #(vector %1 (str \% %2)) + args + (range 1 (inc (count args))))))] + ((formatter-out "~<#(~;~@{~w~^ ~_~}~;)~:>") nlis)) + (pprint-simple-code-list alis)))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; The master definitions for formatting lists in code (that is, (fn args...) or +;;; special forms). +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;;; This is the equivalent of (formatter-out "~:<~1I~@{~w~^ ~_~}~:>"), but is +;;; easier on the stack. + +(defn- pprint-simple-code-list [alis] + (pprint-logical-block :prefix "(" :suffix ")" + (pprint-indent :block 1) + (print-length-loop [alis (seq alis)] + (when alis + (write-out (first alis)) + (when (next alis) + (-write *out* " ") + (pprint-newline :linear) + (recur (next alis))))))) + +;;; Take a map with symbols as keys and add versions with no namespace. +;;; That is, if ns/sym->val is in the map, add sym->val to the result. +(defn- two-forms [amap] + (into {} + (mapcat + identity + (for [x amap] + [x [(symbol (name (first x))) (second x)]])))) + +(defn- add-core-ns [amap] + (let [core "clojure.core"] + (into {} + (map #(let [[s f] %] + (if (not (or (namespace s) (special-symbol? s))) + [(symbol core (name s)) f] + %)) + amap)))) + +(def ^:dynamic ^{:private true} *code-table* + (two-forms + (add-core-ns + {'def pprint-hold-first, 'defonce pprint-hold-first, + 'defn pprint-defn, 'defn- pprint-defn, 'defmacro pprint-defn, 'fn pprint-defn, + 'let pprint-let, 'loop pprint-let, 'binding pprint-let, + 'with-local-vars pprint-let, 'with-open pprint-let, 'when-let pprint-let, + 'if-let pprint-let, 'doseq pprint-let, 'dotimes pprint-let, + 'when-first pprint-let, + 'if pprint-if, 'if-not pprint-if, 'when pprint-if, 'when-not pprint-if, + 'cond pprint-cond, 'condp pprint-condp, + 'fn* pprint-anon-func, + '. pprint-hold-first, '.. pprint-hold-first, '-> pprint-hold-first, + 'locking pprint-hold-first, 'struct pprint-hold-first, + 'struct-map pprint-hold-first, 'ns pprint-ns + }))) + +(defn- pprint-code-list [alis] + (if-not (pprint-reader-macro alis) + (if-let [special-form (*code-table* (first alis))] + (special-form alis) + (pprint-simple-code-list alis)))) + +(defn- pprint-code-symbol [sym] + (if-let [arg-num (sym *symbol-map*)] + (print arg-num) + (if *print-suppress-namespaces* + (print (name sym)) + (pr sym)))) + +(defmulti + code-dispatch + "The pretty print dispatch function for pretty printing Clojure code." + {:added "1.2" :arglists '[[object]]} + type-dispatcher) + +(use-method code-dispatch :list pprint-code-list) +(use-method code-dispatch :symbol pprint-code-symbol) + +;; The following are all exact copies of simple-dispatch +(use-method code-dispatch :vector pprint-vector) +(use-method code-dispatch :map pprint-map) +(use-method code-dispatch :set pprint-set) +(use-method code-dispatch :queue pprint-pqueue) +(use-method code-dispatch :deref pprint-ideref) +(use-method code-dispatch nil pr) +(use-method code-dispatch :default pprint-simple-default) + +(set-pprint-dispatch simple-dispatch) + +;;; For testing +(comment + + (with-pprint-dispatch code-dispatch + (pprint + '(defn cl-format + "An implementation of a Common Lisp compatible format function" + [stream format-in & args] + (let [compiled-format (if (string? format-in) (compile-format format-in) format-in) + navigator (init-navigator args)] + (execute-format stream compiled-format navigator))))) + + (with-pprint-dispatch code-dispatch + (pprint + '(defn cl-format + [stream format-in & args] + (let [compiled-format (if (string? format-in) (compile-format format-in) format-in) + navigator (init-navigator args)] + (execute-format stream compiled-format navigator))))) + + (with-pprint-dispatch code-dispatch + (pprint + '(defn- -write + ([this x] + (condp = (class x) + String + (let [s0 (write-initial-lines this x) + s (.replaceFirst s0 "\\s+$" "") + white-space (.substring s0 (count s)) + mode (getf :mode)] + (if (= mode :writing) + (dosync + (write-white-space this) + (.col_write this s) + (setf :trailing-white-space white-space)) + (add-to-buffer this (make-buffer-blob s white-space)))) + + Integer + (let [c ^Character x] + (if (= (getf :mode) :writing) + (do + (write-white-space this) + (.col_write this x)) + (if (= c (int \newline)) + (write-initial-lines this "\n") + (add-to-buffer this (make-buffer-blob (str (char c)) nil)))))))))) + + (with-pprint-dispatch code-dispatch + (pprint + '(defn pprint-defn [writer alis] + (if (next alis) + (let [[defn-sym defn-name & stuff] alis + [doc-str stuff] (if (string? (first stuff)) + [(first stuff) (next stuff)] + [nil stuff]) + [attr-map stuff] (if (map? (first stuff)) + [(first stuff) (next stuff)] + [nil stuff])] + (pprint-logical-block writer :prefix "(" :suffix ")" + (cl-format true "~w ~1I~@_~w" defn-sym defn-name) + (if doc-str + (cl-format true " ~_~w" doc-str)) + (if attr-map + (cl-format true " ~_~w" attr-map)) + ;; Note: the multi-defn case will work OK for malformed defns too + (cond + (vector? (first stuff)) (single-defn stuff (or doc-str attr-map)) + :else (multi-defn stuff (or doc-str attr-map))))) + (pprint-simple-code-list writer alis))))) + ) + +;;====================================================================== +;; print_table.clj +;;====================================================================== + +(defn- add-padding [width s] + (let [padding (max 0 (- width (count s)))] + (apply str (clojure.string/join (repeat padding \space)) s))) + +(defn print-table + "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." + {:added "1.3"} + ([ks rows] + (binding [*print-newline*] + (when (seq rows) + (let [widths (map + (fn [k] + (apply max (count (str k)) (map #(count (str (get % k))) rows))) + ks) + spacers (map #(apply str (repeat % "-")) widths) + fmt-row (fn [leader divider trailer row] + (str leader + (apply str (interpose divider + (for [[col width] (map vector (map #(get row %) ks) widths)] + (add-padding width (str col))))) + trailer))] + (cljs.core/println) + (cljs.core/println (fmt-row "| " " | " " |" (zipmap ks ks))) + (cljs.core/println (fmt-row "|-" "-+-" "-|" (zipmap ks spacers))) + (doseq [row rows] + (cljs.core/println (fmt-row "| " " | " " |" row))))))) + ([rows] (print-table (keys (first rows)) rows))) diff --git a/examples/resources/public/js/out/cljs/pprint.cljs.cache.json b/examples/resources/public/js/out/cljs/pprint.cljs.cache.json new file mode 100644 index 0000000..c58a809 --- /dev/null +++ b/examples/resources/public/js/out/cljs/pprint.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$isNaN",["^ "],"~$Infinity",["^ "],"~$parseFloat",["^ "],"~$parseInt",["^ "],"~$Error",["^ "],"~$String",["^ "],"~$Number",["^ "],"~$RegExp",["^ ","~$prototype",["^ ","~$exec",["^ "],"~$lastIndex",["^ "]]],"~$Object",["^ ","^<",["^ "],"~$index",["^ "]]],"~:use-macros",["^ ","~$deftype","~$cljs.pprint","~$print-length-loop","^B","~$defdirectives","^B","~$getf","^B","~$pprint-logical-block","^B","~$formatter-out","^B","~$with-pretty-writer","^B","~$setf","^B"],"~:excludes",["~#set",["~$pr","~$float?","^A","~$prn","~$println","~$print"]],"~:name","^B","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$cljs.core","^V","~$string","~$clojure.string","^X","^X","~$gstring","~$goog.string","^Z","^Z","^S","^T"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$IWriter","^V","~$IDeref","^V"],"~:defs",["^ ","~$indent-t",["^ ","~:num-fields",6,"~:protocols",["^K",["~$cljs.core/IRecord","~$cljs.core/IEquiv","~$cljs.core/IHash","~$cljs.core/ICollection","~$cljs.core/ICounted","~$cljs.core/ISeqable","~$cljs.core/IMeta","~$cljs.core/ICloneable","~$cljs.core/IPrintWithWriter","~$cljs.core/IIterable","~$cljs.core/IWithMeta","~$cljs.core/IAssociative","~$cljs.core/IMap","~$cljs.core/ILookup"]],"^Q","~$cljs.pprint/indent-t","~:file","resources/public/js/out/cljs/pprint.cljs","~:end-column",18,"~:type",true,"~:column",10,"~:internal-ctor",true,"~:line",259,"~:record",true,"~:end-line",259,"~:skip-protocol-flag",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$write-token-string",["^ ","~:protocol-inline",null,"~:meta",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",399,"^1I",8,"^1M",399,"^1G",26,"~:private",true,"~:arglists",["~#list",["~$quote",["^1T",[["~$this","~$tokens"]]]]]],"^1R",true,"^Q","~$cljs.pprint/write-token-string","~:variadic",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"~:method-params",["^1T",[["^1V","^1W"]]],"~:protocol-impl",null,"~:arglists-meta",["^1T",[null,null]],"^1I",1,"^1K",399,"^1M",399,"~:max-fixed-arity",2,"~:fn-var",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^1W"]]]]]],"~$process-nesting",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2659,"^1I",8,"^1M",2659,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$format"]]]]],"~:doc","Take a linearly compiled format and process the bracket directives to give it\n the appropriate tree structure"],"^1R",true,"^Q","~$cljs.pprint/process-nesting","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^24"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2659,"^1M",2659,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^24"]]]]],"^25","Take a linearly compiled format and process the bracket directives to give it\n the appropriate tree structure"],"~$init-cap-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2009,"^1I",8,"^1M",2009,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$writer"]]]]],"^25","Returns a proxy that wraps writer, capitalizing the first word"],"^1R",true,"^Q","~$cljs.pprint/init-cap-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^28"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2009,"^1M",2009,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","Returns a proxy that wraps writer, capitalizing the first word"],"~$check-enumerated-arg",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",835,"^1I",8,"^1M",835,"^1G",28,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$arg","~$choices"]]]]]],"^1R",true,"^Q","~$cljs.pprint/check-enumerated-arg","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",28,"^1Z",["^1T",[["^2;","^2<"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",835,"^1M",835,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2;","^2<"]]]]]],"~$brackets",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2929,"^1I",8,"^1M",2929,"^1G",16,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$form"]]]]],"^25","Figure out which kind of brackets to use"],"^1R",true,"^Q","~$cljs.pprint/brackets","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["^2?"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2929,"^1M",2929,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2?"]]]]],"^25","Figure out which kind of brackets to use"],"~$get-section",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",358,"^1I",8,"^1M",358,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$buffer"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-section","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^2B"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",358,"^1M",358,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2B"]]]]]],"~$readable-character",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1361,"^1I",8,"^1M",1361,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$params","~$navigator","~$offsets"]]]]]],"^1R",true,"^Q","~$cljs.pprint/readable-character","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1361,"^1M",1361,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$linear-nl?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",324,"^1I",8,"^1M",324,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$lb","~$section"]]]]]],"^1R",true,"^Q","~$cljs.pprint/linear-nl?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^1V","^2J","^2K"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",324,"^1M",324,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^2J","^2K"]]]]]],"~$base-str",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1089,"^1I",8,"^1M",1089,"^1G",16,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$base","~$val"]]]]],"^25","Return val as a string in the given base"],"^1R",true,"^Q","~$cljs.pprint/base-str","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["^2N","^2O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1089,"^1M",1089,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2O"]]]]],"^25","Return val as a string in the given base"],"~$buffer-length",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",243,"^1I",8,"^1M",243,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$l"]]]]]],"^1R",true,"^Q","~$cljs.pprint/buffer-length","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["~$l"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",243,"^1M",243,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$l"]]]]]],"~$integral?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1067,"^1I",8,"^1M",1067,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$x"]]]]],"^25","returns true if a number is actually an integer (that is, has no fractional part)"],"^1R",true,"^Q","~$cljs.pprint/integral?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["~$x"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1067,"^1M",1067,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$x"]]]]],"^25","returns true if a number is actually an integer (that is, has no fractional part)"],"~$*print-circle*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",649,"^1I",1,"^1M",649,"^1G",15,"^1R",true,"^25","Mark circular structures (N.B. This is not yet used)","~:dynamic",true],"^1R",true,"^Q","~$cljs.pprint/*print-circle*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",15,"^1I",1,"^2V",true,"^1K",646,"^1M",649,"~:tag","~$clj-nil","^25","Mark circular structures (N.B. This is not yet used)"],"~$param-pattern",["^ ","^Q","~$cljs.pprint/param-pattern","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2448,"^1I",1,"^1M",2449,"^1G",19,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2449,"^1I",6,"^1M",2449,"^1G",19,"^1R",true],"^2X","~$any"],"~$boolean-conditional",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1703,"^1I",8,"^1M",1703,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","~$arg-navigator","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/boolean-conditional","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^2E","^32","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1703,"^1M",1703,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^32","^2G"]]]]]],"~$add-english-scales",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1198,"^1I",8,"^1M",1198,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$parts","~$offset"]]]]],"^25","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"],"^1R",true,"^Q","~$cljs.pprint/add-english-scales","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^35","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1198,"^1M",1198,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^35","^36"]]]]],"^25","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"],"~$pprint",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",813,"^1I",7,"^1M",813,"^1G",13,"^1S",["^1T",["^1U",["^1T",[["~$object"],["^39","^28"]]]]],"~:top-fn",["^ ","^1Y",false,"^21",2,"^1Z",["^1T",[["^39"],["^39","^28"]]],"^1S",["^1T",[["^39"],["^39","^28"]]],"^20",["^1T",[null,null]]]],"^Q","~$cljs.pprint/pprint","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",13,"^3:",["^ ","^1Y",false,"^21",2,"^1Z",["^1T",[["^39"],["^39","^28"]]],"^1S",["^1T",[["^39"],["^39","^28"]]],"^20",["^1T",[null,null]]],"^1Z",["^1T",[["^39"],["^39","^28"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",813,"^1M",813,"^21",2,"^22",true,"^1S",["^1T",[["^39"],["^39","^28"]]]],"~$iterate-main-sublists",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1804,"^1I",8,"^1M",1804,"^1G",29,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/iterate-main-sublists","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",29,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1804,"^1M",1804,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$simple-dispatch",["^ ","^Q","~$cljs.pprint/simple-dispatch","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2904,"^1I",1,"^1M",2904,"^1G",26,"^25","The pretty print dispatch function for simple data structure format.","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2904,"^1I",11,"^1M",2904,"^1G",26,"^25","The pretty print dispatch function for simple data structure format."],"^2X","~$cljs.core/MultiFn"],"^L",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",43,"^1I",18,"^1M",43,"^1G",20,"^2V",true,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$&","~$more"]]]]],"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]]],"^1R",true,"^Q","~$cljs.pprint/pr","^1Y",true,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]],"^1Z",[["^1T",["^3A"]]],"^1[",null,"^20",["^1T",[null]],"^1I",1,"^2V",true,"^1K",43,"^1M",43,"^21",0,"^22",true,"^1S",["^1T",[["~$&","^3A"]]]],"~$needs-pretty",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2694,"^1I",8,"^1M",2694,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^24"]]]]],"^25","determine whether a given compiled format has any directives that depend on the\ncolumn number or pretty printing"],"^1R",true,"^Q","~$cljs.pprint/needs-pretty","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^24"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2694,"^1M",2694,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^24"]]]]],"^25","determine whether a given compiled format has any directives that depend on the\ncolumn number or pretty printing"],"~$get-column",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",159,"^1I",8,"^1M",159,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-column","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",159,"^1M",159,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$pprint-let",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3063,"^1I",8,"^1M",3063,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$alis"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-let","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3063,"^1M",3063,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$english-cardinal-tens",["^ ","^Q","~$cljs.pprint/english-cardinal-tens","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1159,"^1I",1,"^1M",1160,"^1G",27,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1160,"^1I",6,"^1M",1160,"^1G",27,"^1R",true],"^2X","~$cljs.core/IVector"],"~$special-chars",["^ ","^Q","~$cljs.pprint/special-chars","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1344,"^1I",1,"^1M",1345,"^1G",19,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1345,"^1I",6,"^1M",1345,"^1G",19,"^1R",true],"^2X","^1C"],"~$justify-clauses",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1863,"^1I",8,"^1M",1863,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/justify-clauses","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1863,"^1M",1863,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$write-line",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",423,"^1I",8,"^1M",423,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/write-line","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",423,"^1M",423,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$get-pretty-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2054,"^1I",7,"^1M",2054,"^1G",24,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","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"],"^Q","~$cljs.pprint/get-pretty-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^28"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2054,"^1M",2054,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","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"],"~$*print-suppress-namespaces*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",661,"^1I",1,"^1M",661,"^1G",28,"^25","Don't print namespaces with symbols. This is particularly useful when\npretty printing the results of macro expansions","~:added","1.2","^2V",true],"^3V","1.2","^Q","~$cljs.pprint/*print-suppress-namespaces*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",28,"^1I",1,"^2V",true,"^1K",657,"^1M",661,"^2X","^2Y","^25","Don't print namespaces with symbols. This is particularly useful when\npretty printing the results of macro expansions"],"~$level-exceeded",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",840,"^1I",8,"^1M",840,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[[]]]]]],"^1R",true,"^Q","~$cljs.pprint/level-exceeded","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[[]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",840,"^1M",840,"^21",0,"^22",true,"^1S",["^1T",["^1U",["^1T",[[]]]]]],"~$logical-block",["^ ","^1R",true,"^15",10,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/logical-block","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",42,"^1H",true,"^1I",29,"^1J",true,"^1K",230,"^1L",true,"^1M",230,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$make-nl-t",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$type","^3Z","~$start-pos","~$end-pos"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/make-nl-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^41","^3Z","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",253,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^41","^3Z","^42","^43"]]]]]],"~$map->nl-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",253,"^1I",10,"^1M",253,"^1G",14,"^1J",true,"~:factory","~:map","^1S",["^1T",["^1U",["^1T",[["~$G__23319"]]]]],"^25","Factory function for cljs.pprint/nl-t, taking a map of keywords to field values."],"^Q","~$cljs.pprint/map->nl-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",14,"^1Z",["^1T",[["^48"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^47","^1K",253,"^1M",253,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^48"]]]]],"^25","Factory function for cljs.pprint/nl-t, taking a map of keywords to field values."],"~$dollar-float",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1665,"^1I",8,"^1M",1665,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/dollar-float","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1665,"^1M",1665,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$write-initial-lines",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",453,"^1I",8,"^1M",453,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$s"]]]]]],"^1R",true,"^Q","~$cljs.pprint/write-initial-lines","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^1V","~$s"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",453,"^1M",453,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$s"]]]]]],"~$indent-t?",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$x__23136__auto__"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/indent-t?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^4?"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",259,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]]],"~$->t_cljs$pprint23287",["^ ","^1P",null,"^1Q",["^ ","~:anonymous",true,"^16",["^K",["~$cljs.core/IWriter","^1=","~$cljs.core/IDeref","^1A"]],"^1N",["^K",["^4C","^1=","^4D","^1A"]],"^46","~:positional","^1S",["^1T",["^1U",["^1T",[["^28","~$max-columns","~$fields","~$meta23288"]]]]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23287.","^1F",null],"^16",["^K",["^4C","^1=","^4D","^1A"]],"^Q","~$cljs.pprint/->t_cljs$pprint23287","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^28","^4F","^4G","^4H"]]],"^1[",null,"^20",["^1T",[null,null]],"^4B",true,"^1I",6,"^46","^4E","^1K",188,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^4F","^4G","^4H"]]]]],"^1N",["^K",["^4C","^1=","^4D","^1A"]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23287."],"~$char-code",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",62,"^1I",7,"^1M",62,"^1G",16,"^1S",["^1T",["^1U",["^1T",[["~$c"]]]]],"^25","Convert char to int"],"^Q","~$cljs.pprint/char-code","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["~$c"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",62,"^1M",62,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$c"]]]]],"^25","Convert char to int"],"~$insert-scaled-decimal",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1508,"^1I",8,"^1M",1508,"^1G",29,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$k"]]]]],"^25","Insert the decimal point at the right spot in the number to match an exponent"],"^1R",true,"^Q","~$cljs.pprint/insert-scaled-decimal","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",29,"^1Z",["^1T",[["~$m","~$k"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1508,"^1M",1508,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$k"]]]]],"^25","Insert the decimal point at the right spot in the number to match an exponent"],"~$add-padding",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3297,"^1I",8,"^1M",3297,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$width","~$s"]]]]]],"^1R",true,"^Q","~$cljs.pprint/add-padding","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^4O","~$s"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3297,"^1M",3297,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4O","~$s"]]]]]],"^32",["^ ","^1R",true,"^15",3,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/arg-navigator","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1H",true,"^1I",3,"^1J",true,"^1K",946,"^1L",true,"^1M",946,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$map->compiled-directive",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1I",3,"^1J",true,"^46","^47","^1K",990,"^1M",990,"^1S",["^1T",["^1U",["^1T",[["~$G__23500"]]]]],"^25","Factory function for cljs.pprint/compiled-directive, taking a map of keywords to field values."],"^1R",true,"^Q","~$cljs.pprint/map->compiled-directive","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^4S"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^47","^1K",989,"^1M",990,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4S"]]]]],"^25","Factory function for cljs.pprint/compiled-directive, taking a map of keywords to field values."],"~$*current-length*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",684,"^1I",33,"^1M",684,"^1G",49,"^1R",true,"^2V",true],"^1R",true,"^Q","~$cljs.pprint/*current-length*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",49,"^1I",1,"^2V",true,"^1K",684,"^1M",684,"^2X","^2Y"],"~$round-str",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1441,"^1I",8,"^1M",1441,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e","~$d","~$w"]]]]]],"^1R",true,"^Q","~$cljs.pprint/round-str","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["~$m","~$e","~$d","~$w"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1441,"^1M",1441,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e","~$d","~$w"]]]]]],"~$*print-pretty*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",617,"^1I",2,"^1M",617,"^1G",16,"^25","Bind to true if you want write to use pretty printing","^2V",true],"^Q","~$cljs.pprint/*print-pretty*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1I",1,"^2V",true,"^1K",615,"^1M",617,"^2X","~$boolean","^25","Bind to true if you want write to use pretty printing"],"~$*print-pprint-dispatch*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",623,"^1I",2,"^1M",623,"^1G",25,"^25","The pretty print dispatch function. Use with-pprint-dispatch or\nset-pprint-dispatch to modify.","^3V","1.2","^2V",true],"^3V","1.2","^Q","~$cljs.pprint/*print-pprint-dispatch*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1I",1,"^2V",true,"^1K",619,"^1M",623,"^2X","^2Y","^25","The pretty print dispatch function. Use with-pprint-dispatch or\nset-pprint-dispatch to modify."],"~$pp-newline",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",261,"^1I",16,"^1M",261,"^1G",26,"^1R",true],"^1R",true,"^Q","~$cljs.pprint/pp-newline","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[[]]],"^1[",null,"^20",["^1T",[]],"^1I",1,"^1K",261,"^1M",261,"^21",0,"^22",true,"^1S",null],"~$upcase-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1939,"^1I",8,"^1M",1939,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","Returns a proxy that wraps writer, converting all characters to upper case"],"^1R",true,"^Q","~$cljs.pprint/upcase-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^28"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1939,"^1M",1939,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","Returns a proxy that wraps writer, converting all characters to upper case"],"~$start-block-t",["^ ","^15",4,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/start-block-t","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1H",true,"^1I",10,"^1J",true,"^1K",255,"^1L",true,"^1M",255,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$execute-sub-format",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1381,"^1I",8,"^1M",1381,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^24","~$args","~$base-args"]]]]]],"^1R",true,"^Q","~$cljs.pprint/execute-sub-format","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^24","^59","^5:"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1381,"^1M",1381,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^24","^59","^5:"]]]]]],"~$end-block-t?",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/end-block-t?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^4?"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",257,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]]],"~$nl-t",["^ ","^15",5,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/nl-t","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",14,"^1H",true,"^1I",10,"^1J",true,"^1K",253,"^1L",true,"^1M",253,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$conditional-newline",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2154,"^1I",8,"^1M",2154,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/conditional-newline","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2154,"^1M",2154,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$make-buffer-blob",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$data","~$trailing-white-space","^42","^43"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/make-buffer-blob","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^5C","^5D","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",250,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^5C","^5D","^42","^43"]]]]]],"~$pprint-newline",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",843,"^1I",7,"^1M",843,"^1G",21,"^1S",["^1T",["^1U",["^1T",[["~$kind"]]]]],"^25","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."],"^Q","~$cljs.pprint/pprint-newline","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^5G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",843,"^1M",843,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^5G"]]]]],"^25","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."],"~$float-parts-base",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1399,"^1I",8,"^1M",1399,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$f"]]]]],"^25","Produce string parts for the mantissa (normalize 1-9) and exponent"],"^1R",true,"^Q","~$cljs.pprint/float-parts-base","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["~$f"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1399,"^1M",1399,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$f"]]]]],"^25","Produce string parts for the mantissa (normalize 1-9) and exponent"],"~$rtrim",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",112,"^1I",8,"^1M",112,"^1G",13,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","~$c"]]]]]],"^1R",true,"^Q","~$cljs.pprint/rtrim","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",13,"^1Z",["^1T",[["~$s","~$c"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",112,"^1M",112,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","~$c"]]]]]],"~$collect-clauses",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2610,"^1I",8,"^1M",2610,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$bracket-info","^36","~$remainder"]]]]]],"^1R",true,"^Q","~$cljs.pprint/collect-clauses","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^5N","^36","^5O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2610,"^1M",2610,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^5N","^36","^5O"]]]]]],"~$pprint-vector",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2828,"^1I",8,"^1M",2828,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$avec"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-vector","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^5R"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2828,"^1M",2828,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^5R"]]]]]],"~$compile-raw-string",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2564,"^1I",8,"^1M",2564,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/compile-raw-string","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["~$s","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2564,"^1M",2564,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"~$code-dispatch",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3203,"^1I",3,"^1M",3203,"^1G",16,"^3V","1.2","^1S",["^1T",["^1U",[["^39"]]]],"^25","The pretty print dispatch function for pretty printing Clojure code."],"^3V","1.2","^Q","~$cljs.pprint/code-dispatch","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1I",1,"^1K",3202,"^1M",3203,"^2X","^3@","^1S",["^1T",["^1U",[["^39"]]]],"^25","The pretty print dispatch function for pretty printing Clojure code."],"~$end-block-t",["^ ","^15",4,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/end-block-t","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1H",true,"^1I",10,"^1J",true,"^1K",257,"^1L",true,"^1M",257,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$emit-nl?",["^ ","^Q","~$cljs.pprint/emit-nl?","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",335,"^1I",1,"^1M",335,"^1G",36,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",335,"^1I",28,"^1M",335,"^1G",36,"^1R",true],"^2X","^3@"],"~$get-max-column",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",165,"^1I",8,"^1M",165,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-max-column","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",165,"^1M",165,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$set-max-column",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",168,"^1I",8,"^1M",168,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$new-max"]]]]]],"^1R",true,"^Q","~$cljs.pprint/set-max-column","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["^1V","^63"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",168,"^1M",168,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^63"]]]]]],"~$cached-compile",["^ ","^Q","~$cljs.pprint/cached-compile","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2757,"^1I",1,"^1M",2757,"^1G",37,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2757,"^1I",23,"^1M",2757,"^1G",37,"^1R",true],"^2X","^30"],"~$c-write-char",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",176,"^1I",8,"^1M",176,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$c"]]]]]],"^1R",true,"^Q","~$cljs.pprint/c-write-char","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^1V","~$c"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",176,"^1M",176,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$c"]]]]]],"~$pprint-array",["^ ","^Q","~$cljs.pprint/pprint-array","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2838,"^1I",1,"^1M",2838,"^1G",35,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2838,"^1I",23,"^1M",2838,"^1G",35,"^1R",true],"^2X","~$function"],"~$general-float",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1642,"^1I",8,"^1M",1642,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/general-float","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1642,"^1M",1642,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$->t_cljs$pprint23429",["^ ","^1P",null,"^1Q",["^ ","^4B",true,"^16",["^K",["^4C","^1=","^4D","~$cljs.pprint/IPrettyFlush","^1A"]],"^1N",["^K",["^4C","^1=","^4D","^1A"]],"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^28","^4F","~$miser-width","^2J","^4G","~$meta23430"]]]]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23429.","^1F",null],"^16",["^K",["^4C","^1=","^4D","^6?","^1A"]],"^Q","~$cljs.pprint/->t_cljs$pprint23429","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^28","^4F","^6@","^2J","^4G","^6A"]]],"^1[",null,"^20",["^1T",[null,null]],"^4B",true,"^1I",5,"^46","^4E","^1K",509,"^21",6,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^4F","^6@","^2J","^4G","^6A"]]]]],"^1N",["^K",["^4C","^1=","^4D","^1A"]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23429."],"~$write-buffered-output",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",439,"^1I",8,"^1M",439,"^1G",29,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/write-buffered-output","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",29,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",439,"^1M",439,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$realize-parameter-list",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1016,"^1I",8,"^1M",1016,"^1G",30,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$parameter-map","^2F"]]]]]],"^1R",true,"^Q","~$cljs.pprint/realize-parameter-list","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",30,"^1Z",["^1T",[["^6F","^2F"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1016,"^1M",1016,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^6F","^2F"]]]]]],"~$process-clause",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2586,"^1I",8,"^1M",2586,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^5N","^36","^5O"]]]]]],"^1R",true,"^Q","~$cljs.pprint/process-clause","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["^5N","^36","^5O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2586,"^1M",2586,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^5N","^36","^5O"]]]]]],"~$update-nl-state",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",373,"^1I",8,"^1M",373,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2J"]]]]]],"^1R",true,"^Q","~$cljs.pprint/update-nl-state","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^2J"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",373,"^1M",373,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2J"]]]]]],"~$javascript-base-formats",["^ ","^Q","~$cljs.pprint/javascript-base-formats","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1104,"^1I",1,"^1M",1105,"^1G",26,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1105,"^1I",3,"^1M",1105,"^1G",26,"^1R",true],"^2X","^1C"],"~$write-token",["^ ","^Q","~$cljs.pprint/write-token","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",265,"^1I",1,"^1M",265,"^1G",39,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",265,"^1I",28,"^1M",265,"^1G",39,"^1R",true],"^2X","^3@"],"~$pprint-ns",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2970,"^1I",8,"^1M",2970,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]],"^25","The pretty print dispatch chunk for the ns macro"],"^1R",true,"^Q","~$cljs.pprint/pprint-ns","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2970,"^1M",2970,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]],"^25","The pretty print dispatch chunk for the ns macro"],"^M",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",54,"^1I",16,"^1M",54,"^1G",22,"^2X","^4[","^1S",["^1T",["^1U",["^1T",[["~$n"]]]]],"^25","Returns true if n is an float."],"^Q","~$cljs.pprint/float?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["~$n"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",54,"~:ret-tag","^4[","^1M",54,"^21",1,"^2X","^4[","^22",true,"^1S",["^1T",["^1U",["^1T",[["~$n"]]]]],"^25","Returns true if n is an float."],"~$iterate-list-of-sublists",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1757,"^1I",8,"^1M",1757,"^1G",32,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/iterate-list-of-sublists","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",32,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1757,"^1M",1757,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$logical-block-or-justify",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1838,"^1I",8,"^1M",1838,"^1G",32,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/logical-block-or-justify","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",32,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1838,"^1M",1838,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$t_cljs$pprint23752",["^ ","^15",2,"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/t_cljs$pprint23752","^1F","resources/public/js/out/cljs/pprint.cljs","^1H",true,"^4B",true,"^1I",3,"^1K",1942,"^1L",false,"^1N",["^K",["^4C","^1=","^1A"]]],"~$opt-base-str",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1107,"^1I",8,"^1M",1107,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2O"]]]]],"^25","Return val as a string in the given base. No cljs format, so no improved performance."],"^1R",true,"^Q","~$cljs.pprint/opt-base-str","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^2N","^2O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1107,"^1M",1107,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2O"]]]]],"^25","Return val as a string in the given base. No cljs format, so no improved performance."],"~$compiled-directive",["^ ","^1R",true,"^15",4,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/compiled-directive","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1H",true,"^1I",3,"^1J",true,"^1K",990,"^1L",true,"^1M",990,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$get-format-arg",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",969,"^1I",8,"^1M",969,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2F"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-format-arg","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["^2F"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",969,"^1M",969,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2F"]]]]]],"~$split-at-newline",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",393,"^1I",8,"^1M",393,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1W"]]]]]],"^1R",true,"^Q","~$cljs.pprint/split-at-newline","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^1W"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",393,"^1M",393,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1W"]]]]]],"~$special-params",["^ ","^Q","~$cljs.pprint/special-params","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2451,"^1I",1,"^1M",2452,"^1G",20,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2452,"^1I",6,"^1M",2452,"^1G",20,"^1R",true],"^2X","~$cljs.core/ISet"],"~$*symbol-map*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3119,"^1I",33,"^1M",3119,"^1G",45,"^1R",true,"^2V",true],"^1R",true,"^Q","~$cljs.pprint/*symbol-map*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",45,"^1I",1,"^2V",true,"^1K",3119,"^1M",3119,"^2X","^1C"],"~$pprint-ns-reference",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2936,"^1I",8,"^1M",2936,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$reference"]]]]],"^25","Pretty print a single reference (import, use, etc.) from a namespace decl"],"^1R",true,"^Q","~$cljs.pprint/pprint-ns-reference","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^7<"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2936,"^1M",2936,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^7<"]]]]],"^25","Pretty print a single reference (import, use, etc.) from a namespace decl"],"~$else-separator?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2571,"^1I",8,"^1M",2571,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/else-separator?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2571,"^1M",2571,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$get-miser-width",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",603,"^1I",8,"^1M",603,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-miser-width","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",603,"^1M",603,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$group-by*",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1112,"^1I",8,"^1M",1112,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$unit","~$lis"]]]]]],"^1R",true,"^Q","~$cljs.pprint/group-by*","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^7C","^7D"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1112,"^1M",1112,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^7C","^7D"]]]]]],"~$init-navigator",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",948,"^1I",8,"^1M",948,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s"]]]]],"^25","Create a new arg-navigator from the sequence with the position set to 0","~:skip-wiki",true],"^1R",true,"^Q","~$cljs.pprint/init-navigator","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["~$s"]]],"^1[",null,"^7G",true,"^20",["^1T",[null,null]],"^1I",1,"^1K",948,"^1M",948,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s"]]]]],"^25","Create a new arg-navigator from the sequence with the position set to 0"],"~$write-white-space",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",446,"^1I",8,"^1M",446,"^1G",25,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/write-white-space","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",446,"^1M",446,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$*print-shared*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",655,"^1I",1,"^1M",655,"^1G",15,"^1R",true,"^25","Mark repeated structures rather than repeat them (N.B. This is not yet used)","^2V",true],"^1R",true,"^Q","~$cljs.pprint/*print-shared*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",15,"^1I",1,"^2V",true,"^1K",652,"^1M",655,"^2X","^2Y","^25","Mark repeated structures rather than repeat them (N.B. This is not yet used)"],"~$*code-table*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3172,"^1I",33,"^1M",3172,"^1G",45,"^1R",true,"^2V",true],"^1R",true,"^Q","~$cljs.pprint/*code-table*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",45,"^1I",1,"^2V",true,"^1K",3172,"^1M",3172,"^2X","^30"],"~$insert-decimal",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1497,"^1I",8,"^1M",1497,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e"]]]]],"^25","Insert the decimal point at the right spot in the number to match an exponent"],"^1R",true,"^Q","~$cljs.pprint/insert-decimal","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["~$m","~$e"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1497,"^1M",1497,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e"]]]]],"^25","Insert the decimal point at the right spot in the number to match an exponent"],"~$indent",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",591,"^1I",8,"^1M",591,"^1G",14,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$relative-to","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/indent","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",14,"^1Z",["^1T",[["^1V","^7R","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",591,"^1M",591,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^7R","^36"]]]]]],"~$ltrim",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",123,"^1I",8,"^1M",123,"^1G",13,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","~$c"]]]]]],"^1R",true,"^Q","~$cljs.pprint/ltrim","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",13,"^1Z",["^1T",[["~$s","~$c"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",123,"^1M",123,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","~$c"]]]]]],"~$multi-defn",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3017,"^1I",8,"^1M",3017,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H","~$has-doc-str?"]]]]]],"^1R",true,"^Q","~$cljs.pprint/multi-defn","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^3H","^7W"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3017,"^1M",3017,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H","^7W"]]]]]],"~$pprint-binding-form",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3048,"^1I",8,"^1M",3048,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$binding-vec"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-binding-form","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^7Z"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3048,"^1M",3048,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^7Z"]]]]]],"~$pprint-code-symbol",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3195,"^1I",8,"^1M",3195,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$sym"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-code-symbol","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^81"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3195,"^1M",3195,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^81"]]]]]],"~$realize-parameter",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1000,"^1I",8,"^1M",1000,"^1G",25,"^1R",true,"^1S",["^1T",["^1U",["^1T",[[["~$param",["~$raw-val","^36"]],"^2F"]]]]]],"^1R",true,"^Q","~$cljs.pprint/realize-parameter","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1Z",["^1T",[["~$p__23506","^2F"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1000,"^1M",1000,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[[["^84",["^85","^36"]],"^2F"]]]]]],"~$->arg-navigator",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1I",3,"^1J",true,"^46","^4E","^1K",946,"^1M",946,"^1S",["^1T",["^1U",["^1T",[["~$seq","~$rest","~$pos"]]]]],"^25","Positional factory function for cljs.pprint/arg-navigator."],"^1R",true,"^Q","~$cljs.pprint/->arg-navigator","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["^89","^8:","^8;"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",945,"^1M",946,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^89","^8:","^8;"]]]]],"^25","Positional factory function for cljs.pprint/arg-navigator."],"~$next-arg",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",956,"^1I",8,"^1M",956,"^1G",16,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2F"]]]]]],"^1R",true,"^Q","~$cljs.pprint/next-arg","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["^2F"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",956,"^1M",956,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2F"]]]]]],"~$column-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",184,"^1I",8,"^1M",184,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^28"],["^28","^4F"]]]]],"^3:",["^ ","^1Y",false,"^21",2,"^1Z",["^1T",[["^28"],["^28","^4F"]]],"^1S",["^1T",[["^28"],["^28","^4F"]]],"^20",["^1T",[null,null]]]],"^1R",true,"^Q","~$cljs.pprint/column-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^3:",["^ ","^1Y",false,"^21",2,"^1Z",["^1T",[["^28"],["^28","^4F"]]],"^1S",["^1T",[["^28"],["^28","^4F"]]],"^20",["^1T",[null,null]]],"^1Z",["^1T",[["^28"],["^28","^4F"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",184,"^1M",184,"^21",2,"^22",true,"^1S",["^1T",[["^28"],["^28","^4F"]]]],"~$check-flags",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2501,"^1I",8,"^1M",2501,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$def","~$flags"]]]]]],"^1R",true,"^Q","~$cljs.pprint/check-flags","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^8B","^8C"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2501,"^1M",2501,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^8B","^8C"]]]]]],"~$get-sub-section",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",365,"^1I",8,"^1M",365,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2B"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-sub-section","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^2B"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",365,"^1M",365,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2B"]]]]]],"~$->t_cljs$pprint23752",["^ ","^1P",null,"^1Q",["^ ","^4B",true,"^16",["^K",["^4C","^1=","^1A"]],"^1N",["^K",["^4C","^1=","^1A"]],"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^28","~$meta23753"]]]]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23752.","^1F",null],"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/->t_cljs$pprint23752","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^28","^8H"]]],"^1[",null,"^20",["^1T",[null,null]],"^4B",true,"^1I",3,"^46","^4E","^1K",1942,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^8H"]]]]],"^1N",["^K",["^4C","^1=","^1A"]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23752."],"~$pretty-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",494,"^1I",8,"^1M",494,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^28","^4F","^6@"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pretty-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^28","^4F","^6@"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",494,"^1M",494,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^4F","^6@"]]]]]],"~$type-dispatcher",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2892,"^1I",8,"^1M",2892,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$obj"]]]]]],"^1R",true,"^Q","~$cljs.pprint/type-dispatcher","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^8M"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2892,"^1M",2892,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^8M"]]]]]],"~$execute-format",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",22,"^3:",["^ ","^1Y",false,"^21",3,"^1Z",["^1T",[["~$stream","^24","^59"],["^24","^59"]]],"^1S",["^1T",[["^8P","^24","^59"],["^24","^59"]]],"^20",["^1T",[null,null]]],"^7G",true,"^1I",8,"^1K",2719,"^1M",2719,"^1S",["^1T",["^1U",["^1T",[["^8P","^24","^59"],["^24","^59"]]]]],"^25","Executes the format with the arguments."],"^1R",true,"^Q","~$cljs.pprint/execute-format","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^3:",["^ ","^1Y",false,"^21",3,"^1Z",["^1T",[["^8P","^24","^59"],["^24","^59"]]],"^1S",["^1T",[["^8P","^24","^59"],["^24","^59"]]],"^20",["^1T",[null,null]]],"^1Z",["^1T",[["^8P","^24","^59"],["^24","^59"]]],"^1[",null,"^7G",true,"^20",["^1T",[null,null]],"^1I",1,"^1K",2719,"^1M",2719,"^21",3,"^22",true,"^1S",["^1T",[["^8P","^24","^59"],["^24","^59"]]],"^25","Executes the format with the arguments."],"~$t_cljs$pprint23764",["^ ","^15",3,"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/t_cljs$pprint23764","^1F","resources/public/js/out/cljs/pprint.cljs","^1H",true,"^4B",true,"^1I",5,"^1K",2013,"^1L",false,"^1N",["^K",["^4C","^1=","^1A"]]],"~$special-radix-markers",["^ ","^Q","~$cljs.pprint/special-radix-markers","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1031,"^1I",1,"^1M",1032,"^1G",24,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1032,"^1I",3,"^1M",1032,"^1G",24,"^1R",true],"^2X","^1C"],"~$inc-s",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1425,"^1I",8,"^1M",1425,"^1G",13,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s"]]]]],"^25","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."],"^1R",true,"^Q","~$cljs.pprint/inc-s","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",13,"^1Z",["^1T",[["~$s"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1425,"^1M",1425,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s"]]]]],"^25","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."],"~$english-scale-numbers",["^ ","^Q","~$cljs.pprint/english-scale-numbers","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1172,"^1I",1,"^1M",1173,"^1G",27,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1173,"^1I",6,"^1M",1173,"^1G",27,"^1R",true],"^2X","^3L"],"~$pprint-tab",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",868,"^1I",7,"^1M",868,"^1G",17,"^1S",["^1T",["^1U",["^1T",[["^5G","~$colnum","~$colinc"]]]]],"^25","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.","^3V","1.2"],"^3V","1.2","^Q","~$cljs.pprint/pprint-tab","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^5G","^8[","^90"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",868,"^1M",868,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^5G","^8[","^90"]]]]],"^25","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."],"~$unzip-map",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",101,"^1I",8,"^1M",101,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m"]]]]]],"^1R",true,"^Q","~$cljs.pprint/unzip-map","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["~$m"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",101,"^1M",101,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m"]]]]]],"~$format-integer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1117,"^1I",8,"^1M",1117,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2E","^32","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-integer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["^2N","^2E","^32","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1117,"^1M",1117,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2E","^32","^2G"]]]]]],"~$next-arg-or-nil",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",962,"^1I",8,"^1M",962,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2F"]]]]]],"^1R",true,"^Q","~$cljs.pprint/next-arg-or-nil","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^2F"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",962,"^1M",962,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2F"]]]]]],"~$map->logical-block",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",42,"^1I",29,"^1J",true,"^46","^47","^1K",230,"^1M",230,"^1S",["^1T",["^1U",["^1T",[["~$G__23298"]]]]],"^25","Factory function for cljs.pprint/logical-block, taking a map of keywords to field values."],"^1R",true,"^Q","~$cljs.pprint/map->logical-block","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",42,"^1Z",["^1T",[["^99"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^47","^1K",230,"^1M",230,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^99"]]]]],"^25","Factory function for cljs.pprint/logical-block, taking a map of keywords to field values."],"~$pprint-cond",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3079,"^1I",8,"^1M",3079,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-cond","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3079,"^1M",3079,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$iterate-main-list",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1780,"^1I",8,"^1M",1780,"^1G",25,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/iterate-main-list","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1780,"^1M",1780,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$pprint-list",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2823,"^1I",8,"^1M",2823,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-list","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2823,"^1M",2823,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$pprint-hold-first",["^ ","^Q","~$cljs.pprint/pprint-hold-first","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",3001,"^1I",1,"^1M",3001,"^1G",40,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3001,"^1I",23,"^1M",3001,"^1G",40,"^1R",true],"^2X","^6;"],"~$fixed-float",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1521,"^1I",8,"^1M",1521,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/fixed-float","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1521,"^1M",1521,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$map-passing-context",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",74,"^1I",8,"^1M",74,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$func","~$initial-context","^7D"]]]]]],"^1R",true,"^Q","~$cljs.pprint/map-passing-context","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^9F","^9G","^7D"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",74,"^1M",74,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9F","^9G","^7D"]]]]]],"^N",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",46,"^1I",8,"^1M",46,"^1G",11,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$&","^3A"]]]]],"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]]],"^1R",true,"^Q","~$cljs.pprint/prn","^1Y",true,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",11,"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]],"^1Z",[["^1T",["^3A"]]],"^1[",null,"^20",["^1T",[null]],"^1I",1,"^1K",46,"^1M",46,"^21",0,"^22",true,"^1S",["^1T",[["~$&","^3A"]]]],"~$write-tokens",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",301,"^1I",8,"^1M",301,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^1W","~$force-trailing-whitespace"]]]]]],"^1R",true,"^Q","~$cljs.pprint/write-tokens","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^1V","^1W","^9K"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",301,"^1M",301,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^1W","^9K"]]]]]],"~$pprint-ideref",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2879,"^1I",8,"^1M",2879,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$o"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-ideref","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["~$o"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2879,"^1M",2879,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$o"]]]]]],"~$format-simple-ordinal",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1238,"^1I",8,"^1M",1238,"^1G",29,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$num"]]]]],"^25","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"],"^1R",true,"^Q","~$cljs.pprint/format-simple-ordinal","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",29,"^1Z",["^1T",[["^9P"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1238,"^1M",1238,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9P"]]]]],"^25","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"],"~$end-block",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",571,"^1I",8,"^1M",571,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/end-block","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",571,"^1M",571,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$start-block-t?",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/start-block-t?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^4?"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",255,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]]],"~$pprint-set",["^ ","^Q","~$cljs.pprint/pprint-set","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2866,"^1I",1,"^1M",2866,"^1G",16,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2866,"^1I",6,"^1M",2866,"^1G",16],"^2X","^6;"],"~$t_cljs$pprint23746",["^ ","^15",2,"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/t_cljs$pprint23746","^1F","resources/public/js/out/cljs/pprint.cljs","^1H",true,"^4B",true,"^1I",3,"^1K",1921,"^1L",false,"^1N",["^K",["^4C","^1=","^1A"]]],"~$->start-block-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",255,"^1I",10,"^1M",255,"^1G",23,"^1J",true,"^46","^4E","^1S",["^1T",["^1U",["^1T",[["~$type-tag","^3Z","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/start-block-t."],"^Q","~$cljs.pprint/->start-block-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^9[","^3Z","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",255,"^1M",255,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9[","^3Z","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/start-block-t."],"~$print-table",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3301,"^1I",7,"^1M",3301,"^1G",18,"^1S",["^1T",["^1U",["^1T",[["~$ks","~$rows"],["^:3"]]]]],"^25","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.","^3V","1.3","^3:",["^ ","^1Y",false,"^21",2,"^1Z",["^1T",[["^:2","^:3"],["^:3"]]],"^1S",["^1T",[["^:2","^:3"],["^:3"]]],"^20",["^1T",[null,null]]]],"^3V","1.3","^Q","~$cljs.pprint/print-table","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^3:",["^ ","^1Y",false,"^21",2,"^1Z",["^1T",[["^:2","^:3"],["^:3"]]],"^1S",["^1T",[["^:2","^:3"],["^:3"]]],"^20",["^1T",[null,null]]],"^1Z",["^1T",[["^:2","^:3"],["^:3"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3301,"^1M",3301,"^21",2,"^22",true,"^1S",["^1T",[["^:2","^:3"],["^:3"]]],"^25","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."],"~$relative-reposition",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",983,"^1I",8,"^1M",983,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2F","~$position"]]]]]],"^1R",true,"^Q","~$cljs.pprint/relative-reposition","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^2F","^:6"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",983,"^1M",983,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2F","^:6"]]]]]],"~$pprint-anon-func",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3121,"^1I",8,"^1M",3121,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-anon-func","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3121,"^1M",3121,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$capitalize-string",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1960,"^1I",8,"^1M",1960,"^1G",25,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","~$first?"]]]]],"^25","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."],"^1R",true,"^Q","~$cljs.pprint/capitalize-string","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1Z",["^1T",[["~$s","^:;"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1960,"^1M",1960,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^:;"]]]]],"^25","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."],"~$start-block",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",551,"^1I",8,"^1M",551,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$prefix","~$per-line-prefix","~$suffix"]]]]]],"^1R",true,"^Q","~$cljs.pprint/start-block","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^1V","^:>","^:?","^:@"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",551,"^1M",551,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^:>","^:?","^:@"]]]]]],"~$relative-tabulation",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2115,"^1I",8,"^1M",2115,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/relative-tabulation","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2115,"^1M",2115,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$set-pprint-dispatch",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",826,"^1I",7,"^1M",826,"^1G",26,"^1S",["^1T",["^1U",["^1T",[["^6;"]]]]]],"^Q","~$cljs.pprint/set-pprint-dispatch","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^6;"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",826,"^1M",826,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^6;"]]]]]],"~$remainders",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1077,"^1I",8,"^1M",1077,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2O"]]]]],"^25","Return the list of remainders (essentially the 'digits') of val in the given base"],"^1R",true,"^Q","~$cljs.pprint/remainders","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^2N","^2O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1077,"^1M",1077,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2N","^2O"]]]]],"^25","Return the list of remainders (essentially the 'digits') of val in the given base"],"~$fresh-line",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2095,"^1I",7,"^1M",2095,"^1G",17,"^1S",["^1T",["^1U",["^1T",[[]]]]],"^25","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."],"^Q","~$cljs.pprint/fresh-line","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[[]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2095,"^1M",2095,"^21",0,"^22",true,"^1S",["^1T",["^1U",["^1T",[[]]]]],"^25","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."],"~$->logical-block",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",42,"^1I",29,"^1J",true,"^46","^4E","^1K",230,"^1M",230,"^1S",["^1T",["^1U",["^1T",[["~$parent","^2K","~$start-col","^7Q","~$done-nl","~$intra-block-nl","^:>","^:?","^:@","~$logical-block-callback"]]]]],"^25","Positional factory function for cljs.pprint/logical-block."],"^1R",true,"^Q","~$cljs.pprint/->logical-block","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",42,"^1Z",["^1T",[["^:K","^2K","^:L","^7Q","^:M","^:N","^:>","^:?","^:@","^:O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",230,"^1M",230,"^21",10,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^:K","^2K","^:L","^7Q","^:M","^:N","^:>","^:?","^:@","^:O"]]]]],"^25","Positional factory function for cljs.pprint/logical-block."],"~$get-field",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",153,"^1I",8,"^1M",153,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^81"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-field","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^1V","^81"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",153,"^1M",153,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^81"]]]]]],"~$pprint-indent",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",854,"^1I",7,"^1M",854,"^1G",20,"^1S",["^1T",["^1U",["^1T",[["^7R","~$n"]]]]],"^25","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."],"^Q","~$cljs.pprint/pprint-indent","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^7R","~$n"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",854,"^1M",854,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^7R","~$n"]]]]],"^25","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."],"~$process-bracket",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2577,"^1I",8,"^1M",2577,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^5O"]]]]]],"^1R",true,"^Q","~$cljs.pprint/process-bracket","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^1V","^5O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2577,"^1M",2577,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^5O"]]]]]],"~$map->buffer-blob",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",250,"^1I",10,"^1M",250,"^1G",21,"^1J",true,"^46","^47","^1S",["^1T",["^1U",["^1T",[["~$G__23309"]]]]],"^25","Factory function for cljs.pprint/buffer-blob, taking a map of keywords to field values."],"^Q","~$cljs.pprint/map->buffer-blob","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^:X"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^47","^1K",250,"^1M",250,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^:X"]]]]],"^25","Factory function for cljs.pprint/buffer-blob, taking a map of keywords to field values."],"~$format-old-roman",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1334,"^1I",8,"^1M",1334,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-old-roman","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1334,"^1M",1334,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$format-error",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",934,"^1I",8,"^1M",934,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$message","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-error","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^;1","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",934,"^1M",934,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^;1","^36"]]]]]],"~$*print-radix*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",670,"^1I",1,"^1M",670,"^1G",14,"^25","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* ","^3V","1.2","^2V",true],"^3V","1.2","^Q","~$cljs.pprint/*print-radix*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",14,"^1I",1,"^2V",true,"^1K",665,"^1M",670,"^2X","^2Y","^25","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* "],"~$set-indent",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2148,"^1I",8,"^1M",2148,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/set-indent","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2148,"^1M",2148,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$map->arg-navigator",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1I",3,"^1J",true,"^46","^47","^1K",946,"^1M",946,"^1S",["^1T",["^1U",["^1T",[["~$G__23487"]]]]],"^25","Factory function for cljs.pprint/arg-navigator, taking a map of keywords to field values."],"^1R",true,"^Q","~$cljs.pprint/map->arg-navigator","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["^;8"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^47","^1K",945,"^1M",946,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^;8"]]]]],"^25","Factory function for cljs.pprint/arg-navigator, taking a map of keywords to field values."],"~$IPrettyFlush",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",144,"^1I",14,"^1M",144,"^1G",26,"^25",null,"~:protocol-symbol",true,"~:jsdoc",["^1T",["@interface"]],"~:protocol-info",["^ ","~:methods",["^ ","~$-ppflush",[["~$pp"]]]]],"^;;",true,"^Q","^6?","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1I",1,"^1K",144,"^;=",["^ ","^;>",["^ ","^;?",[["^;@"]]]],"~:info",null,"^1M",144,"^2X","^30","~:impls",["^K",["~$cljs.pprint/t_cljs$pprint23429"]],"^25",null,"^;<",["^1T",["@interface"]]],"~$pretty-character",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1347,"^1I",8,"^1M",1347,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pretty-character","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1347,"^1M",1347,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^O",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",28,"^1I",8,"^1M",28,"^1G",15,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$&","^3A"]]]]],"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]]],"^1R",true,"^Q","~$cljs.pprint/println","^1Y",true,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",15,"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]],"^1Z",[["^1T",["^3A"]]],"^1[",null,"^20",["^1T",[null]],"^1I",1,"^1K",28,"^1M",28,"^21",0,"^22",true,"^1S",["^1T",[["~$&","^3A"]]]],"~$prefix-count",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",133,"^1I",8,"^1M",133,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$aseq","^2O"]]]]]],"^1R",true,"^Q","~$cljs.pprint/prefix-count","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^;H","^2O"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",133,"^1M",133,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^;H","^2O"]]]]]],"~$compile-format",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2674,"^1I",8,"^1M",2674,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$format-str"]]]]],"^25","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"],"^1R",true,"^Q","~$cljs.pprint/compile-format","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["^;K"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2674,"^1M",2674,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^;K"]]]]],"^25","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"],"~$separator?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2569,"^1I",8,"^1M",2569,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/separator?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2569,"^1M",2569,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$consume",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",85,"^1I",8,"^1M",85,"^1G",15,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^9F","^9G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/consume","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",15,"^1Z",["^1T",[["^9F","^9G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",85,"^1M",85,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9F","^9G"]]]]]],"~$modify-case",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2044,"^1I",8,"^1M",2044,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$make-writer","^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/modify-case","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^;R","^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2044,"^1M",2044,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^;R","^2E","^2F","^2G"]]]]]],"~$translate-param",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2471,"^1I",8,"^1M",2471,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[[["~$p","^36"]]]]]],"^25","Translate the string representation of a param to the internalized\n representation"],"^1R",true,"^Q","~$cljs.pprint/translate-param","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["~$p__23862"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2471,"^1M",2471,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[[["~$p","^36"]]]]]],"^25","Translate the string representation of a param to the internalized\n representation"],"~$cl-format",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",895,"^1I",7,"^1M",895,"^1G",16,"^1S",["^1T",["^1U",["^1T",[["^28","~$format-in","~$&","^59"]]]]],"^25","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","~:see-also",[["http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000","Common Lisp the Language"],["http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm","Common Lisp HyperSpec"]],"^3:",["^ ","^1Y",true,"^21",2,"^1Z",[["^1T",["^28","^;X","^59"]]],"^1S",["^1T",[["^28","^;X","~$&","^59"]]],"^20",["^1T",[null]]]],"^Q","~$cljs.pprint/cl-format","^1Y",true,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^3:",["^ ","^1Y",true,"^21",2,"^1Z",[["^1T",["^28","^;X","^59"]]],"^1S",["^1T",[["^28","^;X","~$&","^59"]]],"^20",["^1T",[null]]],"^1Z",[["^1T",["^28","^;X","^59"]]],"^1[",null,"^20",["^1T",[null]],"^1I",1,"^1K",895,"^1M",895,"^21",2,"^22",true,"^1S",["^1T",[["^28","^;X","~$&","^59"]]],"^;Y",[["http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000","Common Lisp the Language"],["http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm","Common Lisp HyperSpec"]],"^25","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"],"~$pprint-reader-macro",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2796,"^1I",8,"^1M",2796,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-reader-macro","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2796,"^1M",2796,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$format-logical-block",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2130,"^1I",8,"^1M",2130,"^1G",28,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-logical-block","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",28,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2130,"^1M",2130,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$english-ordinal-units",["^ ","^Q","~$cljs.pprint/english-ordinal-units","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1153,"^1I",1,"^1M",1154,"^1G",27,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1154,"^1I",6,"^1M",1154,"^1G",27,"^1R",true],"^2X","^3L"],"~$directive-table",["^ ","^Q","~$cljs.pprint/directive-table","^1Q",["^ ","^1F",null],"^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2166,"^1I",1,"^2X","~$cljs.core/PersistentHashMap"],"~$*format-str*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",932,"^1I",33,"^1M",932,"^1G",45,"^1R",true,"^2V",true],"^1R",true,"^Q","~$cljs.pprint/*format-str*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",45,"^1I",1,"^2V",true,"^1K",932,"^1M",932,"^2X","^2Y"],"~$->nl-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",253,"^1I",10,"^1M",253,"^1G",14,"^1J",true,"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^9[","^41","^3Z","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/nl-t."],"^Q","~$cljs.pprint/->nl-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",14,"^1Z",["^1T",[["^9[","^41","^3Z","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",253,"^1M",253,"^21",5,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9[","^41","^3Z","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/nl-t."],"~$compile-directive",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2544,"^1I",8,"^1M",2544,"^1G",25,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/compile-directive","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1Z",["^1T",[["~$s","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2544,"^1M",2544,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"~$two-forms",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3156,"^1I",8,"^1M",3156,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$amap"]]]]]],"^1R",true,"^Q","~$cljs.pprint/two-forms","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^buffer-blob",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",250,"^1I",10,"^1M",250,"^1G",21,"^1J",true,"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^9[","^5C","^5D","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/buffer-blob."],"^Q","~$cljs.pprint/->buffer-blob","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^9[","^5C","^5D","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",250,"^1M",250,"^21",5,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9[","^5C","^5D","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/buffer-blob."],"~$map->end-block-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",257,"^1I",10,"^1M",257,"^1G",21,"^1J",true,"^46","^47","^1S",["^1T",["^1U",["^1T",[["~$G__23339"]]]]],"^25","Factory function for cljs.pprint/end-block-t, taking a map of keywords to field values."],"^Q","~$cljs.pprint/map->end-block-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^start-block-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",255,"^1I",10,"^1M",255,"^1G",23,"^1J",true,"^46","^47","^1S",["^1T",["^1U",["^1T",[["~$G__23329"]]]]],"^25","Factory function for cljs.pprint/start-block-t, taking a map of keywords to field values."],"^Q","~$cljs.pprint/map->start-block-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^end-block-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",257,"^1I",10,"^1M",257,"^1G",21,"^1J",true,"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^9[","^3Z","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/end-block-t."],"^Q","~$cljs.pprint/->end-block-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^9[","^3Z","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",257,"^1M",257,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9[","^3Z","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/end-block-t."],"~$expand-fixed",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1487,"^1I",8,"^1M",1487,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e","~$d"]]]]]],"^1R",true,"^Q","~$cljs.pprint/expand-fixed","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["~$m","~$e","~$d"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1487,"^1M",1487,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e","~$d"]]]]]],"~$format-simple-number",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1034,"^1I",8,"^1M",1034,"^1G",28,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$n"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-simple-number","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",28,"^1Z",["^1T",[["~$n"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1034,"^1M",1034,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$n"]]]]]],"~$format-roman",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1310,"^1I",8,"^1M",1310,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$table","^2E","^2F","^2G"]]]]],"^25","Format a roman numeral using the specified look-up table"],"^1R",true,"^Q","~$cljs.pprint/format-roman","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^=>","^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1310,"^1M",1310,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^=>","^2E","^2F","^2G"]]]]],"^25","Format a roman numeral using the specified look-up table"],"~$emit-nl",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",382,"^1I",8,"^1M",382,"^1G",15,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$nl"]]]]]],"^1R",true,"^Q","~$cljs.pprint/emit-nl","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",15,"^1Z",["^1T",[["^1V","^=A"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",382,"^1M",382,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^=A"]]]]]],"~$pprint-simple-code-list",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3143,"^1I",8,"^1M",3143,"^1G",31,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-simple-code-list","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",31,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3143,"^1M",3143,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^P",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",25,"^1I",8,"^1M",25,"^1G",13,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$&","^3A"]]]]],"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]]],"^1R",true,"^Q","~$cljs.pprint/print","^1Y",true,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",13,"^3:",["^ ","^1Y",true,"^21",0,"^1Z",[["^1T",["^3A"]]],"^1S",["^1T",[["~$&","^3A"]]],"^20",["^1T",[null]]],"^1Z",[["^1T",["^3A"]]],"^1[",null,"^20",["^1T",[null]],"^1I",1,"^1K",25,"^1M",25,"^21",0,"^22",true,"^1S",["^1T",[["~$&","^3A"]]]],"~$pprint-code-list",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3189,"^1I",8,"^1M",3189,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-code-list","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3189,"^1M",3189,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$make-pretty-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",721,"^1I",8,"^1M",721,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$base-writer","~$right-margin","^6@"]]]]],"^25","Wrap base-writer in a PrettyWriter with the specified right-margin and miser-width"],"^1R",true,"^Q","~$cljs.pprint/make-pretty-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^=I","^=J","^6@"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",721,"^1M",721,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^=I","^=J","^6@"]]]]],"^25","Wrap base-writer in a PrettyWriter with the specified right-margin and miser-width"],"~$new-roman-table",["^ ","^Q","~$cljs.pprint/new-roman-table","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1303,"^1I",1,"^1M",1304,"^1G",21,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1304,"^1I",6,"^1M",1304,"^1G",21,"^1R",true],"^2X","^3L"],"~$pprint-simple-default",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2862,"^1I",8,"^1M",2862,"^1G",29,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^8M"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-simple-default","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",29,"^1Z",["^1T",[["^8M"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2862,"^1M",2862,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^8M"]]]]]],"~$->t_cljs$pprint23758",["^ ","^1P",null,"^1Q",["^ ","^4B",true,"^16",["^K",["^4C","^1=","^1A"]],"^1N",["^K",["^4C","^1=","^1A"]],"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^28","~$last-was-whitespace?","~$meta23759"]]]]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23758.","^1F",null],"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/->t_cljs$pprint23758","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^28","^=Q","^=R"]]],"^1[",null,"^20",["^1T",[null,null]],"^4B",true,"^1I",5,"^46","^4E","^1K",1987,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^=Q","^=R"]]]]],"^1N",["^K",["^4C","^1=","^1A"]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23758."],"~$float-parts",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1413,"^1I",8,"^1M",1413,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$f"]]]]],"^25","Take care of leading and trailing zeros in decomposed floats"],"^1R",true,"^Q","~$cljs.pprint/float-parts","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["~$f"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1413,"^1M",1413,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$f"]]]]],"^25","Take care of leading and trailing zeros in decomposed floats"],"~$nl-t?",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/nl-t?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^4?"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",253,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]]],"~$write",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",750,"^1I",7,"^1M",750,"^1G",12,"^1S",["^1T",["^1U",["^1T",[["^39","~$&","~$kw-args"]]]]],"^25","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","^3:",["^ ","^1Y",true,"^21",1,"^1Z",[["^1T",["^39","^=Y"]]],"^1S",["^1T",[["^39","~$&","^=Y"]]],"^20",["^1T",[null]]]],"^Q","~$cljs.pprint/write","^1Y",true,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",12,"^3:",["^ ","^1Y",true,"^21",1,"^1Z",[["^1T",["^39","^=Y"]]],"^1S",["^1T",[["^39","~$&","^=Y"]]],"^20",["^1T",[null]]],"^1Z",[["^1T",["^39","^=Y"]]],"^1[",null,"^20",["^1T",[null]],"^1I",1,"^1K",750,"^1M",750,"^21",1,"^22",true,"^1S",["^1T",[["^39","~$&","^=Y"]]],"^25","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"],"~$single-defn",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3008,"^1I",8,"^1M",3008,"^1G",19,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H","^7W"]]]]]],"^1R",true,"^Q","~$cljs.pprint/single-defn","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",19,"^1Z",["^1T",[["^3H","^7W"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3008,"^1M",3008,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H","^7W"]]]]]],"~$pprint-condp",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3099,"^1I",8,"^1M",3099,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"^1R",true,"^Q","~$cljs.pprint/pprint-condp","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^3H"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",3099,"^1M",3099,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3H"]]]]]],"~$->t_cljs$pprint23764",["^ ","^1P",null,"^1Q",["^ ","^4B",true,"^16",["^K",["^4C","^1=","^1A"]],"^1N",["^K",["^4C","^1=","^1A"]],"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^28","~$capped","~$meta23765"]]]]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23764.","^1F",null],"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/->t_cljs$pprint23764","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^28","^>4","^>5"]]],"^1[",null,"^20",["^1T",[null,null]],"^4B",true,"^1I",5,"^46","^4E","^1K",2013,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^>4","^>5"]]]]],"^1N",["^K",["^4C","^1=","^1A"]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23764."],"~$right-bracket",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2567,"^1I",8,"^1M",2567,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/right-bracket","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2567,"^1M",2567,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$set-field",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",156,"^1I",8,"^1M",156,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^81","~$new-val"]]]]]],"^1R",true,"^Q","~$cljs.pprint/set-field","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^1V","^81","^>:"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",156,"^1M",156,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^81","^>:"]]]]]],"~$get-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",172,"^1I",8,"^1M",172,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^1V"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",172,"^1M",172,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V"]]]]]],"~$->indent-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",259,"^1I",10,"^1M",259,"^1G",18,"^1J",true,"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^9[","^3Z","^7R","^36","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/indent-t."],"^Q","~$cljs.pprint/->indent-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^9[","^3Z","^7R","^36","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",259,"^1M",259,"^21",6,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9[","^3Z","^7R","^36","^42","^43"]]]]],"^25","Positional factory function for cljs.pprint/indent-t."],"~$english-ordinal-tens",["^ ","^Q","~$cljs.pprint/english-ordinal-tens","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1163,"^1I",1,"^1M",1164,"^1G",26,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1164,"^1I",6,"^1M",1164,"^1G",26,"^1R",true],"^2X","^3L"],"^=A",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",586,"^1I",8,"^1M",586,"^1G",10,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^41"]]]]]],"^1R",true,"^Q","~$cljs.pprint/nl","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",10,"^1Z",["^1T",[["^1V","^41"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",586,"^1M",586,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^41"]]]]]],"~$choice-conditional",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1691,"^1I",8,"^1M",1691,"^1G",26,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^32","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/choice-conditional","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",26,"^1Z",["^1T",[["^2E","^32","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1691,"^1M",1691,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^32","^2G"]]]]]],"~$t_cljs$pprint23758",["^ ","^15",3,"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/t_cljs$pprint23758","^1F","resources/public/js/out/cljs/pprint.cljs","^1H",true,"^4B",true,"^1I",5,"^1K",1987,"^1L",false,"^1N",["^K",["^4C","^1=","^1A"]]],"~$check-arg-conditional",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1715,"^1I",8,"^1M",1715,"^1G",29,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^32","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/check-arg-conditional","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",29,"^1Z",["^1T",[["^2E","^32","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1715,"^1M",1715,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^32","^2G"]]]]]],"~$reader-macros",["^ ","^Q","~$cljs.pprint/reader-macros","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2788,"^1I",1,"^1M",2788,"^1G",36,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2788,"^1I",23,"^1M",2788,"^1G",36,"^1R",true],"^2X","^1C"],"~$format-cardinal-english",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1221,"^1I",8,"^1M",1221,"^1G",31,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-cardinal-english","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",31,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1221,"^1M",1221,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$extract-param",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2454,"^1I",8,"^1M",2454,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[[["~$s","^36","~$saw-comma"]]]]]]],"^1R",true,"^Q","~$cljs.pprint/extract-param","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["~$p__23858"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2454,"^1M",2454,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[[["~$s","^36","^>N"]]]]]]],"~$get-fixed",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1505,"^1I",8,"^1M",1505,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e","~$d"]]]]]],"^1R",true,"^Q","~$cljs.pprint/get-fixed","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["~$m","~$e","~$d"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1505,"^1M",1505,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$e","~$d"]]]]]],"~$make-indent-t",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3Z","^7R","^36","^42","^43"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/make-indent-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^3Z","^7R","^36","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",259,"^21",5,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3Z","^7R","^36","^42","^43"]]]]]],"~$flag-defs",["^ ","^Q","~$cljs.pprint/flag-defs","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2483,"^1I",1,"^1M",2484,"^1G",15,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2484,"^1I",6,"^1M",2484,"^1G",15,"^1R",true],"^2X","^1C"],"^;?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",145,"^1I",4,"^1M",145,"^1G",12,"~:protocol","^6?","^25",null,"^1S",["^1T",["^1U",["^1T",[["^;@"]]]]]],"^>W","^6?","^Q","~$cljs.pprint/-ppflush","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",12,"^1Z",["^1T",[["^;@"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",144,"^1M",145,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^;@"]]]]],"^25",null],"~$->t_cljs$pprint23746",["^ ","^1P",null,"^1Q",["^ ","^4B",true,"^16",["^K",["^4C","^1=","^1A"]],"^1N",["^K",["^4C","^1=","^1A"]],"^46","^4E","^1S",["^1T",["^1U",["^1T",[["^28","~$meta23747"]]]]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23746.","^1F",null],"^16",["^K",["^4C","^1=","^1A"]],"^Q","~$cljs.pprint/->t_cljs$pprint23746","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^28","^>Z"]]],"^1[",null,"^20",["^1T",[null,null]],"^4B",true,"^1I",3,"^46","^4E","^1K",1921,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28","^>Z"]]]]],"^1N",["^K",["^4C","^1=","^1A"]],"^25","Positional factory function for cljs.pprint/t_cljs$pprint23746."],"~$miser-nl?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",328,"^1I",8,"^1M",328,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^2J","^2K"]]]]]],"^1R",true,"^Q","~$cljs.pprint/miser-nl?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^1V","^2J","^2K"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",328,"^1M",328,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^2J","^2K"]]]]]],"~$iterate-sublist",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1732,"^1I",8,"^1M",1732,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/iterate-sublist","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1732,"^1M",1732,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$*print-right-margin*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",630,"^1I",2,"^1M",630,"^1G",22,"^25","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.","^3V","1.2","^2V",true],"^3V","1.2","^Q","~$cljs.pprint/*print-right-margin*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1I",1,"^2V",true,"^1K",625,"^1M",630,"^2X","^indent-t",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",259,"^1I",10,"^1M",259,"^1G",18,"^1J",true,"^46","^47","^1S",["^1T",["^1U",["^1T",[["~$G__23349"]]]]],"^25","Factory function for cljs.pprint/indent-t, taking a map of keywords to field values."],"^Q","~$cljs.pprint/map->indent-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^?:"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^47","^1K",259,"^1M",259,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^?:"]]]]],"^25","Factory function for cljs.pprint/indent-t, taking a map of keywords to field values."],"~$type-map",["^ ","^Q","~$cljs.pprint/type-map","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",2868,"^1I",1,"^1M",2869,"^1G",9,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2869,"^1I",1,"^1M",2869,"^1G",9,"^1R",true],"^2X","^1C"],"~$buffer-blob",["^ ","^15",5,"^16",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]],"^Q","~$cljs.pprint/buffer-blob","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1H",true,"^1I",10,"^1J",true,"^1K",250,"^1L",true,"^1M",250,"^1N",["^K",["^17","^18","^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D"]]],"~$capitalize-word-writer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1983,"^1I",8,"^1M",1983,"^1G",30,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","Returns a proxy that wraps writer, capitalizing all words"],"^1R",true,"^Q","~$cljs.pprint/capitalize-word-writer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",30,"^1Z",["^1T",[["^28"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1983,"^1M",1983,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^28"]]]]],"^25","Returns a proxy that wraps writer, capitalizing all words"],"~$t_cljs$pprint23429",["^ ","^15",6,"^16",["^K",["^4C","^1=","^4D","^6?","^1A"]],"^Q","^;C","^1F","resources/public/js/out/cljs/pprint.cljs","^1H",true,"^4B",true,"^1I",5,"^1K",509,"^1L",false,"^1N",["^K",["^4C","^1=","^4D","^1A"]]],"~$write-out",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",726,"^1I",7,"^1M",726,"^1G",16,"^1S",["^1T",["^1U",["^1T",[["^39"]]]]],"^25","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. "],"^Q","~$cljs.pprint/write-out","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",16,"^1Z",["^1T",[["^39"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",726,"^1M",726,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^39"]]]]],"^25","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. "],"~$exponential-float",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1568,"^1I",8,"^1M",1568,"^1G",25,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/exponential-float","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",25,"^1Z",["^1T",[["^2E","^2F","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1568,"^1M",1568,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^36"]]]]]],"~$format-ordinal-english",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1260,"^1I",8,"^1M",1260,"^1G",30,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-ordinal-english","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",30,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1260,"^1M",1260,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$convert-ratio",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1516,"^1I",8,"^1M",1516,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$x"]]]]]],"^1R",true,"^Q","~$cljs.pprint/convert-ratio","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["~$x"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1516,"^1M",1516,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$x"]]]]]],"~$ancestor?",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",236,"^1I",8,"^1M",236,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^:K","~$child"]]]]]],"^1R",true,"^Q","~$cljs.pprint/ancestor?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["^:K","^?L"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",236,"^1M",236,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^:K","^?L"]]]]]],"~$plain-character",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1369,"^1I",8,"^1M",1369,"^1G",23,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/plain-character","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",23,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1369,"^1M",1369,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$format-new-roman",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1337,"^1I",8,"^1M",1337,"^1G",24,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/format-new-roman","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",24,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",1337,"^1M",1337,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$print-char",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",32,"^1I",8,"^1M",32,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$c"]]]]]],"^1R",true,"^Q","~$cljs.pprint/print-char","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["~$c"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",32,"^1M",32,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$c"]]]]]],"~$map-params",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2514,"^1I",8,"^1M",2514,"^1G",18,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^8B","^2E","^8C","^36"]]]]],"^25","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."],"^1R",true,"^Q","~$cljs.pprint/map-params","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",18,"^1Z",["^1T",[["^8B","^2E","^8C","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2514,"^1M",2514,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^8B","^2E","^8C","^36"]]]]],"^25","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."],"~$consume-while",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",93,"^1I",8,"^1M",93,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^9F","^9G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/consume-while","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^9F","^9G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",93,"^1M",93,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9F","^9G"]]]]]],"~$buffer-blob?",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/buffer-blob?","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^4?"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",250,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^4?"]]]]]],"~$english-cardinal-units",["^ ","^Q","~$cljs.pprint/english-cardinal-units","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",1147,"^1I",1,"^1M",1148,"^1G",28,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",1148,"^1I",6,"^1M",1148,"^1G",28,"^1R",true],"^2X","^3L"],"~$absolute-reposition",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",978,"^1I",8,"^1M",978,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2F","^:6"]]]]]],"^1R",true,"^Q","~$cljs.pprint/absolute-reposition","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^2F","^:6"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",978,"^1M",978,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2F","^:6"]]]]]],"~$*default-page-width*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",151,"^1I",33,"^1M",151,"^1G",53,"^1R",true,"^2V",true],"^1R",true,"^Q","~$cljs.pprint/*default-page-width*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",53,"^1I",1,"^2V",true,"^1K",151,"^1M",151,"^2X","^compiled-directive",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1I",3,"^1J",true,"^46","^4E","^1K",990,"^1M",990,"^1S",["^1T",["^1U",["^1T",[["^9F","^8B","^2E","^36"]]]]],"^25","Positional factory function for cljs.pprint/compiled-directive."],"^1R",true,"^Q","~$cljs.pprint/->compiled-directive","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^9F","^8B","^2E","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1J",true,"^46","^4E","^1K",989,"^1M",990,"^21",4,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^9F","^8B","^2E","^36"]]]]],"^25","Positional factory function for cljs.pprint/compiled-directive."],"~$pprint-if",["^ ","^Q","~$cljs.pprint/pprint-if","^1F","resources/public/js/out/cljs/pprint.cljs","^1K",3077,"^1I",1,"^1M",3077,"^1G",32,"^1R",true,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",3077,"^1I",23,"^1M",3077,"^1G",32,"^1R",true],"^2X","^6;"],"~$add-to-buffer",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",433,"^1I",8,"^1M",433,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^1V","~$token"]]]]]],"^1R",true,"^Q","~$cljs.pprint/add-to-buffer","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["^1V","^@E"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",433,"^1M",433,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^1V","^@E"]]]]]],"~$absolute-tabulation",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2104,"^1I",8,"^1M",2104,"^1G",27,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"^1R",true,"^Q","~$cljs.pprint/absolute-tabulation","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",27,"^1Z",["^1T",[["^2E","^2F","^2G"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2104,"^1M",2104,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^2E","^2F","^2G"]]]]]],"~$extract-flags",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2486,"^1I",8,"^1M",2486,"^1G",21,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/extract-flags","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",21,"^1Z",["^1T",[["~$s","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2486,"^1M",2486,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"~$map-ref-type",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2872,"^1I",8,"^1M",2872,"^1G",20,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$name"]]]]],"^25","Map ugly type names to something simpler"],"^1R",true,"^Q","~$cljs.pprint/map-ref-type","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",20,"^1Z",["^1T",[["^@L"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2872,"^1M",2872,"^21",1,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^@L"]]]]],"^25","Map ugly type names to something simpler"],"~$extract-params",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",2468,"^1I",8,"^1M",2468,"^1G",22,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"^1R",true,"^Q","~$cljs.pprint/extract-params","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",22,"^1Z",["^1T",[["~$s","^36"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",2468,"^1M",2468,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$s","^36"]]]]]],"~$t_cljs$pprint23287",["^ ","^15",4,"^16",["^K",["^4C","^1=","^4D","^1A"]],"^Q","~$cljs.pprint/t_cljs$pprint23287","^1F","resources/public/js/out/cljs/pprint.cljs","^1H",true,"^4B",true,"^1I",6,"^1K",188,"^1L",false,"^1N",["^K",["^4C","^1=","^4D","^1A"]]],"~$make-end-block-t",["^ ","^1P",null,"^1Q",["^ ","^1R",true,"^1S",["^1T",["^1U",["^1T",[["^3Z","^42","^43"]]]]],"^1F",null],"^1R",true,"^Q","~$cljs.pprint/make-end-block-t","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1Z",["^1T",[["^3Z","^42","^43"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",257,"^21",3,"^22",true,"^1S",["^1T",["^1U",["^1T",[["^3Z","^42","^43"]]]]]],"~$tuple-map",["^ ","^1P",null,"^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",108,"^1I",8,"^1M",108,"^1G",17,"^1R",true,"^1S",["^1T",["^1U",["^1T",[["~$m","~$v1"]]]]]],"^1R",true,"^Q","~$cljs.pprint/tuple-map","^1Y",false,"^1F","resources/public/js/out/cljs/pprint.cljs","^1G",17,"^1Z",["^1T",[["~$m","^@U"]]],"^1[",null,"^20",["^1T",[null,null]],"^1I",1,"^1K",108,"^1M",108,"^21",2,"^22",true,"^1S",["^1T",["^1U",["^1T",[["~$m","^@U"]]]]]],"~$*print-base*",["^ ","^1Q",["^ ","^1F","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/pprint.cljs","^1K",675,"^1I",1,"^1M",675,"^1G",13,"^25","The base to use for printing integers and rationals.","^3V","1.2","^2V",true],"^3V","1.2","^Q","~$cljs.pprint/*print-base*","^1F","resources/public/js/out/cljs/pprint.cljs","^1G",13,"^1I",1,"^2V",true,"^1K",672,"^1M",675,"^2X","^","~:end-pos","^4H","~:circle","^7Q","^1G","~:mode","~:start","~:lines","~:params","~$fn","~:max-iterations","~:pos","~:writing","^1H","^:K","~:parameter-from-args","~:done-nl","~$when-not","~:suppress-namespaces","~$when","~:relative-to","~:string","^>5","~:vector","~$defn","^>4","^36","~:e","~$if","~:char-format","~:start-col","~:radix","^9F","~:colon-up-arrow","~$ns","~:k","~:prefix","^1I","~:colon","~:stream","~:level","^>Z","~:readably","~$m","~:right-bracket","~:dispatch","^4G","^43","^2K","^2E","~$struct-map","~:padchar","~$dotimes","~:buffer-blob","~:buffering","^1K","^:M","^8;","~$with-open","~:list","~$fn*","~:right-params","~$defonce","^41","~$defn-","~:max","~:trailing-white-space","^7R","~:mincol","~$clojure.core/deref","~:minpad","~:current","~:at","~:deref","^8H","~:count","~:per-line-prefix","~:colnum","~$lift-ns","^:>","~:length","~$loop","^:L","~$clojure.core/unquote","~:overflowchar","^1M","^=R","~$condp","~:right","~:colinc","~$cond","~:both","~:d","~$binding","~$with-local-vars","~:def","~$defmacro","~:clauses","~:indent-t","~:linear","~:seq","~$locking","~$.","~:first","~$var","^1U","~:bracket-info","~:set","~:base-args","~:pretty","^2J","~:end","~:logical-block-callback","~:base","^1S","~$if-let","~:hierarchy","~:buffer-level","~:intra-block-nl","~:line-relative","~:separator","~:flags","^28","^5D","^25","~:directive","~:section-relative","~:logical-block","^:?","~:last","~:up-arrow","~:type-tag","^47","~:min-remaining","~:test","~:rest","~:arg1","~:nl-t","~:buffer","~:start-pos","~:max-columns","~:start-block-t","~:exponentchar","^6A","~:end-block-t","^8B","~:data","~:commachar"]],"~:order",["^AM","^AT","^1K","^C6","^D0","^28","^4F","^4G","^4H","^AK","^B4","^BL","^AC","^BB","^D4","^BP","^C?","^A>","^C[","^:K","^2K","^:L","^7Q","^:M","^:N","^:>","^:?","^:@","^:O","^B7","^DD","^D=","^DI","^C7","^9[","^5C","^5D","^42","^43","^BZ","^1H","^D:","^41","^3Z","^DB","^DF","^DH","^BF","^AR","^7R","^36","^CP","^D2","^AV","^B:","^CZ","^AA","^C;","^A9","^B2","^CQ","^AN","^DC","^A:","^B[","^B9","^B?","^B@","^AD","^AG","^AJ","^AL","^D3","^6@","^2J","^6A","^BR","^B8","^CB","^BS","^B;","^BV","^CY","^BM","^BT","^AO","^BD","^D5","^D9","^CR","^D@","^89","^8:","^8;","^AX","^CM","^B<","^9F","^8B","^2E","^BQ","^C<","^BA","^B1","^C:","^C8","^CH","^BX","^AI","^DJ","^BK","^D<","^BN","^CX","~:w","~:d","~:k","^CE","~:e","^DG","~:n","^A?","^CO","^B>","^C3","^A@","^D>","^DE","^>Z","^8H","^=Q","^=R","^>4","^>5","^C@","^BG","^D8","^D7","^CV","^A[","^CJ","^C>","^CG","^AB","^D;","^D6","^CT","^DA","^AH","^A=","^BU","^1U","^CU","^C9","^CD","^AQ","^A;","^B3","^1R","^AY","^Q","^1F","^1G","^1I","^1M","^1S","^25","^D?","^V","^CA","~$m","^B0","^AU","^C=","^AZ","^C1","^47","^BH","^CW","~$.","^C2","^A<","^BJ","^CF","^AF","^CN","^BI","^CC","^AE","^AS","^AP","^BC","^BE","^C0","^CL","^C4","^AW","^BO","^BY","^CI","^B5","^B=","^C5","^CS","^B6","^D1","^CK","^BW"]],"^25",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/pprint.js b/examples/resources/public/js/out/cljs/pprint.js new file mode 100644 index 0000000..4eb2a1d --- /dev/null +++ b/examples/resources/public/js/out/cljs/pprint.js @@ -0,0 +1,8191 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.pprint'); +goog.require('cljs.core'); +goog.require('cljs.core'); +goog.require('clojure.string'); +goog.require('goog.string'); +goog.require('goog.string.StringBuffer'); +cljs.pprint.print = (function cljs$pprint$print(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___23202 = arguments.length; +var i__4500__auto___23203 = (0); +while(true){ +if((i__4500__auto___23203 < len__4499__auto___23202)){ +args__4502__auto__.push((arguments[i__4500__auto___23203])); + +var G__23204 = (i__4500__auto___23203 + (1)); +i__4500__auto___23203 = G__23204; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,cljs.core.apply.call(null,cljs.core.print_str,more)); +}); + +cljs.pprint.print.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.pprint.print.cljs$lang$applyTo = (function (seq23201){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq23201)); +}); + +cljs.pprint.println = (function cljs$pprint$println(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___23206 = arguments.length; +var i__4500__auto___23207 = (0); +while(true){ +if((i__4500__auto___23207 < len__4499__auto___23206)){ +args__4502__auto__.push((arguments[i__4500__auto___23207])); + +var G__23208 = (i__4500__auto___23207 + (1)); +i__4500__auto___23207 = G__23208; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.pprint.println.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.pprint.println.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +cljs.core.apply.call(null,cljs.pprint.print,more); + +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"\n"); +}); + +cljs.pprint.println.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.pprint.println.cljs$lang$applyTo = (function (seq23205){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq23205)); +}); + +cljs.pprint.print_char = (function cljs$pprint$print_char(c){ +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,(function (){var pred__23209 = cljs.core._EQ_; +var expr__23210 = c; +if(cljs.core.truth_(pred__23209.call(null,"\b",expr__23210))){ +return "\\backspace"; +} else { +if(cljs.core.truth_(pred__23209.call(null,"\t",expr__23210))){ +return "\\tab"; +} else { +if(cljs.core.truth_(pred__23209.call(null,"\n",expr__23210))){ +return "\\newline"; +} else { +if(cljs.core.truth_(pred__23209.call(null,"\f",expr__23210))){ +return "\\formfeed"; +} else { +if(cljs.core.truth_(pred__23209.call(null,"\r",expr__23210))){ +return "\\return"; +} else { +if(cljs.core.truth_(pred__23209.call(null,"\"",expr__23210))){ +return "\\\""; +} else { +if(cljs.core.truth_(pred__23209.call(null,"\\",expr__23210))){ +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__4502__auto__ = []; +var len__4499__auto___23213 = arguments.length; +var i__4500__auto___23214 = (0); +while(true){ +if((i__4500__auto___23214 < len__4499__auto___23213)){ +args__4502__auto__.push((arguments[i__4500__auto___23214])); + +var G__23215 = (i__4500__auto___23214 + (1)); +i__4500__auto___23214 = G__23215; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.pprint.pr.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.pprint.pr.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,cljs.core.apply.call(null,cljs.core.pr_str,more)); +}); + +cljs.pprint.pr.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.pprint.pr.cljs$lang$applyTo = (function (seq23212){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq23212)); +}); + +cljs.pprint.prn = (function cljs$pprint$prn(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___23217 = arguments.length; +var i__4500__auto___23218 = (0); +while(true){ +if((i__4500__auto___23218 < len__4499__auto___23217)){ +args__4502__auto__.push((arguments[i__4500__auto___23218])); + +var G__23219 = (i__4500__auto___23218 + (1)); +i__4500__auto___23218 = G__23219; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.pprint.prn.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.pprint.prn.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +cljs.core.apply.call(null,cljs.pprint.pr,more); + +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"\n"); +}); + +cljs.pprint.prn.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.pprint.prn.cljs$lang$applyTo = (function (seq23216){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq23216)); +}); + +/** + * 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_.call(null,lis__$1)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,context], null); +} else { +var this$ = cljs.core.first.call(null,lis__$1); +var remainder = cljs.core.next.call(null,lis__$1); +var vec__23220 = cljs.core.apply.call(null,func,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [this$,context], null)); +var result = cljs.core.nth.call(null,vec__23220,(0),null); +var new_context = cljs.core.nth.call(null,vec__23220,(1),null); +var G__23223 = new_context; +var G__23224 = remainder; +var G__23225 = cljs.core.conj.call(null,acc,result); +context = G__23223; +lis__$1 = G__23224; +acc = G__23225; +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__23226 = cljs.core.apply.call(null,func,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [context], null)); +var result = cljs.core.nth.call(null,vec__23226,(0),null); +var new_context = cljs.core.nth.call(null,vec__23226,(1),null); +if(cljs.core.not.call(null,result)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,new_context], null); +} else { +var G__23229 = new_context; +var G__23230 = cljs.core.conj.call(null,acc,result); +context = G__23229; +acc = G__23230; +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__23231 = cljs.core.apply.call(null,func,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [context], null)); +var result = cljs.core.nth.call(null,vec__23231,(0),null); +var continue$ = cljs.core.nth.call(null,vec__23231,(1),null); +var new_context = cljs.core.nth.call(null,vec__23231,(2),null); +if(cljs.core.not.call(null,continue$)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,context], null); +} else { +var G__23234 = new_context; +var G__23235 = cljs.core.conj.call(null,acc,result); +context = G__23234; +acc = G__23235; +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.call(null,cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__4292__auto__ = (function cljs$pprint$unzip_map_$_iter__23236(s__23237){ +return (new cljs.core.LazySeq(null,(function (){ +var s__23237__$1 = s__23237; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__23237__$1); +if(temp__4657__auto__){ +var s__23237__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__23237__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__23237__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__23239 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__23238 = (0); +while(true){ +if((i__23238 < size__4291__auto__)){ +var vec__23240 = cljs.core._nth.call(null,c__4290__auto__,i__23238); +var k = cljs.core.nth.call(null,vec__23240,(0),null); +var vec__23243 = cljs.core.nth.call(null,vec__23240,(1),null); +var v1 = cljs.core.nth.call(null,vec__23243,(0),null); +var v2 = cljs.core.nth.call(null,vec__23243,(1),null); +cljs.core.chunk_append.call(null,b__23239,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v1], null)); + +var G__23268 = (i__23238 + (1)); +i__23238 = G__23268; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23239),cljs$pprint$unzip_map_$_iter__23236.call(null,cljs.core.chunk_rest.call(null,s__23237__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23239),null); +} +} else { +var vec__23246 = cljs.core.first.call(null,s__23237__$2); +var k = cljs.core.nth.call(null,vec__23246,(0),null); +var vec__23249 = cljs.core.nth.call(null,vec__23246,(1),null); +var v1 = cljs.core.nth.call(null,vec__23249,(0),null); +var v2 = cljs.core.nth.call(null,vec__23249,(1),null); +return cljs.core.cons.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v1], null),cljs$pprint$unzip_map_$_iter__23236.call(null,cljs.core.rest.call(null,s__23237__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,m); +})()),cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__4292__auto__ = (function cljs$pprint$unzip_map_$_iter__23252(s__23253){ +return (new cljs.core.LazySeq(null,(function (){ +var s__23253__$1 = s__23253; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__23253__$1); +if(temp__4657__auto__){ +var s__23253__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__23253__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__23253__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__23255 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__23254 = (0); +while(true){ +if((i__23254 < size__4291__auto__)){ +var vec__23256 = cljs.core._nth.call(null,c__4290__auto__,i__23254); +var k = cljs.core.nth.call(null,vec__23256,(0),null); +var vec__23259 = cljs.core.nth.call(null,vec__23256,(1),null); +var v1 = cljs.core.nth.call(null,vec__23259,(0),null); +var v2 = cljs.core.nth.call(null,vec__23259,(1),null); +cljs.core.chunk_append.call(null,b__23255,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v2], null)); + +var G__23269 = (i__23254 + (1)); +i__23254 = G__23269; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23255),cljs$pprint$unzip_map_$_iter__23252.call(null,cljs.core.chunk_rest.call(null,s__23253__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23255),null); +} +} else { +var vec__23262 = cljs.core.first.call(null,s__23253__$2); +var k = cljs.core.nth.call(null,vec__23262,(0),null); +var vec__23265 = cljs.core.nth.call(null,vec__23262,(1),null); +var v1 = cljs.core.nth.call(null,vec__23265,(0),null); +var v2 = cljs.core.nth.call(null,vec__23265,(1),null); +return cljs.core.cons.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v2], null),cljs$pprint$unzip_map_$_iter__23252.call(null,cljs.core.rest.call(null,s__23253__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,m); +})())], null); +}); +cljs.pprint.tuple_map = (function cljs$pprint$tuple_map(m,v1){ + +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__4292__auto__ = (function cljs$pprint$tuple_map_$_iter__23270(s__23271){ +return (new cljs.core.LazySeq(null,(function (){ +var s__23271__$1 = s__23271; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__23271__$1); +if(temp__4657__auto__){ +var s__23271__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__23271__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__23271__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__23273 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__23272 = (0); +while(true){ +if((i__23272 < size__4291__auto__)){ +var vec__23274 = cljs.core._nth.call(null,c__4290__auto__,i__23272); +var k = cljs.core.nth.call(null,vec__23274,(0),null); +var v = cljs.core.nth.call(null,vec__23274,(1),null); +cljs.core.chunk_append.call(null,b__23273,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__23280 = (i__23272 + (1)); +i__23272 = G__23280; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23273),cljs$pprint$tuple_map_$_iter__23270.call(null,cljs.core.chunk_rest.call(null,s__23271__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23273),null); +} +} else { +var vec__23277 = cljs.core.first.call(null,s__23271__$2); +var k = cljs.core.nth.call(null,vec__23277,(0),null); +var v = cljs.core.nth.call(null,vec__23277,(1),null); +return cljs.core.cons.call(null,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__23270.call(null,cljs.core.rest.call(null,s__23271__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,m); +})()); +}); +cljs.pprint.rtrim = (function cljs$pprint$rtrim(s,c){ + +var len = cljs.core.count.call(null,s); +if((((len > (0))) && (cljs.core._EQ_.call(null,cljs.core.nth.call(null,s,(cljs.core.count.call(null,s) - (1))),c)))){ +var n = (len - (1)); +while(true){ +if((n < (0))){ +return ""; +} else { +if(!(cljs.core._EQ_.call(null,cljs.core.nth.call(null,s,n),c))){ +return cljs.core.subs.call(null,s,(0),(n + (1))); +} else { +var G__23281 = (n - (1)); +n = G__23281; +continue; + +} +} +break; +} +} else { +return s; +} +}); +cljs.pprint.ltrim = (function cljs$pprint$ltrim(s,c){ + +var len = cljs.core.count.call(null,s); +if((((len > (0))) && (cljs.core._EQ_.call(null,cljs.core.nth.call(null,s,(0)),c)))){ +var n = (0); +while(true){ +if(((cljs.core._EQ_.call(null,n,len)) || (!(cljs.core._EQ_.call(null,cljs.core.nth.call(null,s,n),c))))){ +return cljs.core.subs.call(null,s,n); +} else { +var G__23282 = (n + (1)); +n = G__23282; +continue; +} +break; +} +} else { +return s; +} +}); +cljs.pprint.prefix_count = (function cljs$pprint$prefix_count(aseq,val){ + +var test = ((cljs.core.coll_QMARK_.call(null,val))?cljs.core.set.call(null,val):cljs.core.PersistentHashSet.createAsIfByAssoc([val])); +var pos = (0); +while(true){ +if(((cljs.core._EQ_.call(null,pos,cljs.core.count.call(null,aseq))) || (cljs.core.not.call(null,test.call(null,cljs.core.nth.call(null,aseq,pos)))))){ +return pos; +} else { +var G__23283 = (pos + (1)); +pos = G__23283; +continue; +} +break; +} +}); + +/** + * @interface + */ +cljs.pprint.IPrettyFlush = function(){}; + +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 { +var x__4211__auto__ = (((pp == null))?null:pp); +var m__4212__auto__ = (cljs.pprint._ppflush[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,pp); +} else { +var m__4212__auto____$1 = (cljs.pprint._ppflush["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,pp); +} else { +throw cljs.core.missing_protocol.call(null,"IPrettyFlush.-ppflush",pp); +} +} +} +}); + +cljs.pprint._STAR_default_page_width_STAR_ = (72); +cljs.pprint.get_field = (function cljs$pprint$get_field(this$,sym){ +return sym.call(null,cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +}); +cljs.pprint.set_field = (function cljs$pprint$set_field(this$,sym,new_val){ +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,sym,new_val); +}); +cljs.pprint.get_column = (function cljs$pprint$get_column(this$){ +return cljs.pprint.get_field.call(null,this$,new cljs.core.Keyword(null,"cur","cur",1153190599)); +}); +cljs.pprint.get_line = (function cljs$pprint$get_line(this$){ +return cljs.pprint.get_field.call(null,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.call(null,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.call(null,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.call(null,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_.call(null,c,"\n")){ +cljs.pprint.set_field.call(null,this$,new cljs.core.Keyword(null,"cur","cur",1153190599),(0)); + +cljs.pprint.set_field.call(null,this$,new cljs.core.Keyword(null,"line","line",212345235),(cljs.pprint.get_field.call(null,this$,new cljs.core.Keyword(null,"line","line",212345235)) + (1))); +} else { +cljs.pprint.set_field.call(null,this$,new cljs.core.Keyword(null,"cur","cur",1153190599),(cljs.pprint.get_field.call(null,this$,new cljs.core.Keyword(null,"cur","cur",1153190599)) + (1))); +} + +return cljs.core._write.call(null,cljs.pprint.get_field.call(null,this$,new cljs.core.Keyword(null,"base","base",185279322)),c); +}); +cljs.pprint.column_writer = (function cljs$pprint$column_writer(var_args){ +var G__23286 = arguments.length; +switch (G__23286) { +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.call(null,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.call(null,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)); +if(typeof cljs.pprint.t_cljs$pprint23287 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IDeref} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint23287 = (function (writer,max_columns,fields,meta23288){ +this.writer = writer; +this.max_columns = max_columns; +this.fields = fields; +this.meta23288 = meta23288; +this.cljs$lang$protocol_mask$partition0$ = 1074167808; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.pprint.t_cljs$pprint23287.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (fields){ +return (function (_23289,meta23288__$1){ +var self__ = this; +var _23289__$1 = this; +return (new cljs.pprint.t_cljs$pprint23287(self__.writer,self__.max_columns,self__.fields,meta23288__$1)); +});})(fields)) +; + +cljs.pprint.t_cljs$pprint23287.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (fields){ +return (function (_23289){ +var self__ = this; +var _23289__$1 = this; +return self__.meta23288; +});})(fields)) +; + +cljs.pprint.t_cljs$pprint23287.prototype.cljs$core$IDeref$_deref$arity$1 = ((function (fields){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return self__.fields; +});})(fields)) +; + +cljs.pprint.t_cljs$pprint23287.prototype.cljs$core$IWriter$_flush$arity$1 = ((function (fields){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush.call(null,self__.writer); +});})(fields)) +; + +cljs.pprint.t_cljs$pprint23287.prototype.cljs$core$IWriter$_write$arity$2 = ((function (fields){ +return (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__23290 = cljs.core._EQ_; +var expr__23291 = cljs.core.type.call(null,x); +if(cljs.core.truth_(pred__23290.call(null,String,expr__23291))){ +var s = x; +var nl = s.lastIndexOf("\n"); +if((nl < (0))){ +cljs.pprint.set_field.call(null,this$__$1,new cljs.core.Keyword(null,"cur","cur",1153190599),(cljs.pprint.get_field.call(null,this$__$1,new cljs.core.Keyword(null,"cur","cur",1153190599)) + cljs.core.count.call(null,s))); +} else { +cljs.pprint.set_field.call(null,this$__$1,new cljs.core.Keyword(null,"cur","cur",1153190599),((cljs.core.count.call(null,s) - nl) - (1))); + +cljs.pprint.set_field.call(null,this$__$1,new cljs.core.Keyword(null,"line","line",212345235),(cljs.pprint.get_field.call(null,this$__$1,new cljs.core.Keyword(null,"line","line",212345235)) + cljs.core.count.call(null,cljs.core.filter.call(null,((function (s,nl,pred__23290,expr__23291,this$__$1,fields){ +return (function (p1__23284_SHARP_){ +return cljs.core._EQ_.call(null,p1__23284_SHARP_,"\n"); +});})(s,nl,pred__23290,expr__23291,this$__$1,fields)) +,s)))); +} + +return cljs.core._write.call(null,cljs.pprint.get_field.call(null,this$__$1,new cljs.core.Keyword(null,"base","base",185279322)),s); +} else { +if(cljs.core.truth_(pred__23290.call(null,Number,expr__23291))){ +return cljs.pprint.c_write_char.call(null,this$__$1,x); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23291)].join(''))); +} +} +});})(fields)) +; + +cljs.pprint.t_cljs$pprint23287.getBasis = ((function (fields){ +return (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,"meta23288","meta23288",767187626,null)], null); +});})(fields)) +; + +cljs.pprint.t_cljs$pprint23287.cljs$lang$type = true; + +cljs.pprint.t_cljs$pprint23287.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint23287"; + +cljs.pprint.t_cljs$pprint23287.cljs$lang$ctorPrWriter = ((function (fields){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.pprint/t_cljs$pprint23287"); +});})(fields)) +; + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint23287. + */ +cljs.pprint.__GT_t_cljs$pprint23287 = ((function (fields){ +return (function cljs$pprint$__GT_t_cljs$pprint23287(writer__$1,max_columns__$1,fields__$1,meta23288){ +return (new cljs.pprint.t_cljs$pprint23287(writer__$1,max_columns__$1,fields__$1,meta23288)); +});})(fields)) +; + +} + +return (new cljs.pprint.t_cljs$pprint23287(writer,max_columns,fields,cljs.core.PersistentArrayMap.EMPTY)); +}); + +cljs.pprint.column_writer.cljs$lang$maxFixedArity = 2; + + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.logical_block.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.logical_block.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23295,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23299 = k23295; +var G__23299__$1 = (((G__23299 instanceof cljs.core.Keyword))?G__23299.fqn:null); +switch (G__23299__$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.call(null,self__.__extmap,k23295,else__4175__auto__); + +} +}); + +cljs.pprint.logical_block.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.logical-block{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23294){ +var self__ = this; +var G__23294__$1 = this; +return (new cljs.core.RecordIter((0),G__23294__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.logical_block.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.logical_block.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (10 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.logical_block.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (1977012399 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.logical_block.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23296,other23297){ +var self__ = this; +var this23296__$1 = this; +return ((!((other23297 == null))) && ((this23296__$1.constructor === other23297.constructor)) && (cljs.core._EQ_.call(null,this23296__$1.parent,other23297.parent)) && (cljs.core._EQ_.call(null,this23296__$1.section,other23297.section)) && (cljs.core._EQ_.call(null,this23296__$1.start_col,other23297.start_col)) && (cljs.core._EQ_.call(null,this23296__$1.indent,other23297.indent)) && (cljs.core._EQ_.call(null,this23296__$1.done_nl,other23297.done_nl)) && (cljs.core._EQ_.call(null,this23296__$1.intra_block_nl,other23297.intra_block_nl)) && (cljs.core._EQ_.call(null,this23296__$1.prefix,other23297.prefix)) && (cljs.core._EQ_.call(null,this23296__$1.per_line_prefix,other23297.per_line_prefix)) && (cljs.core._EQ_.call(null,this23296__$1.suffix,other23297.suffix)) && (cljs.core._EQ_.call(null,this23296__$1.logical_block_callback,other23297.logical_block_callback)) && (cljs.core._EQ_.call(null,this23296__$1.__extmap,other23297.__extmap))); +}); + +cljs.pprint.logical_block.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__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.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.logical_block.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23294){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23300 = cljs.core.keyword_identical_QMARK_; +var expr__23301 = k__4180__auto__; +if(cljs.core.truth_(pred__23300.call(null,new cljs.core.Keyword(null,"parent","parent",-878878779),expr__23301))){ +return (new cljs.pprint.logical_block(G__23294,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__23300.call(null,new cljs.core.Keyword(null,"section","section",-300141526),expr__23301))){ +return (new cljs.pprint.logical_block(self__.parent,G__23294,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__23300.call(null,new cljs.core.Keyword(null,"start-col","start-col",668080143),expr__23301))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,G__23294,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__23300.call(null,new cljs.core.Keyword(null,"indent","indent",-148200125),expr__23301))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,G__23294,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__23300.call(null,new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),expr__23301))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,G__23294,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__23300.call(null,new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),expr__23301))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,G__23294,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23300.call(null,new cljs.core.Keyword(null,"prefix","prefix",-265908465),expr__23301))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,G__23294,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23300.call(null,new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),expr__23301))){ +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__23294,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23300.call(null,new cljs.core.Keyword(null,"suffix","suffix",367373057),expr__23301))){ +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__23294,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23300.call(null,new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194),expr__23301))){ +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__23294,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.call(null,self__.__extmap,k__4180__auto__,G__23294),null)); +} +} +} +} +} +} +} +} +} +} +}); + +cljs.pprint.logical_block.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23294){ +var self__ = this; +var this__4171__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__23294,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.logical_block.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__auto__){ +return (new cljs.core.List(null,"cljs.pprint/logical-block",null,(1),null)); +}); + +cljs.pprint.logical_block.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23298){ +return (new cljs.pprint.logical_block(new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"section","section",-300141526).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"prefix","prefix",-265908465).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"suffix","suffix",367373057).cljs$core$IFn$_invoke$arity$1(G__23298),new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(G__23298),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23298,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.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__23304 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(child__$1); +child__$1 = G__23304; +continue; + +} +} +break; +} +}); +cljs.pprint.buffer_length = (function cljs$pprint$buffer_length(l){ +var l__$1 = cljs.core.seq.call(null,l); +if(l__$1){ +return (new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(cljs.core.last.call(null,l__$1)) - new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,l__$1))); +} else { +return (0); +} +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.buffer_blob.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23306,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23310 = k23306; +var G__23310__$1 = (((G__23310 instanceof cljs.core.Keyword))?G__23310.fqn:null); +switch (G__23310__$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.call(null,self__.__extmap,k23306,else__4175__auto__); + +} +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.buffer-blob{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23305){ +var self__ = this; +var G__23305__$1 = this; +return (new cljs.core.RecordIter((0),G__23305__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (5 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (1809113693 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23307,other23308){ +var self__ = this; +var this23307__$1 = this; +return ((!((other23308 == null))) && ((this23307__$1.constructor === other23308.constructor)) && (cljs.core._EQ_.call(null,this23307__$1.type_tag,other23308.type_tag)) && (cljs.core._EQ_.call(null,this23307__$1.data,other23308.data)) && (cljs.core._EQ_.call(null,this23307__$1.trailing_white_space,other23308.trailing_white_space)) && (cljs.core._EQ_.call(null,this23307__$1.start_pos,other23308.start_pos)) && (cljs.core._EQ_.call(null,this23307__$1.end_pos,other23308.end_pos)) && (cljs.core._EQ_.call(null,this23307__$1.__extmap,other23308.__extmap))); +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__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.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23305){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23311 = cljs.core.keyword_identical_QMARK_; +var expr__23312 = k__4180__auto__; +if(cljs.core.truth_(pred__23311.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__23312))){ +return (new cljs.pprint.buffer_blob(G__23305,self__.data,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23311.call(null,new cljs.core.Keyword(null,"data","data",-232669377),expr__23312))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,G__23305,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23311.call(null,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),expr__23312))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,G__23305,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23311.call(null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__23312))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,G__23305,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23311.call(null,new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__23312))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,self__.start_pos,G__23305,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.call(null,self__.__extmap,k__4180__auto__,G__23305),null)); +} +} +} +} +} +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23305){ +var self__ = this; +var this__4171__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__23305,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.buffer_blob.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__auto__){ +return (new cljs.core.List(null,"cljs.pprint/buffer-blob",null,(1),null)); +}); + +cljs.pprint.buffer_blob.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23309){ +return (new cljs.pprint.buffer_blob(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__23309),new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(G__23309),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(G__23309),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__23309),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__23309),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23309,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.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__23136__auto__){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__23136__auto__),new cljs.core.Keyword(null,"buffer-blob","buffer-blob",-1830112173)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.nl_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.nl_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23316,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23320 = k23316; +var G__23320__$1 = (((G__23320 instanceof cljs.core.Keyword))?G__23320.fqn:null); +switch (G__23320__$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.call(null,self__.__extmap,k23316,else__4175__auto__); + +} +}); + +cljs.pprint.nl_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.nl-t{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23315){ +var self__ = this; +var G__23315__$1 = this; +return (new cljs.core.RecordIter((0),G__23315__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.nl_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.nl_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (5 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.nl_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (-1640656800 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.nl_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23317,other23318){ +var self__ = this; +var this23317__$1 = this; +return ((!((other23318 == null))) && ((this23317__$1.constructor === other23318.constructor)) && (cljs.core._EQ_.call(null,this23317__$1.type_tag,other23318.type_tag)) && (cljs.core._EQ_.call(null,this23317__$1.type,other23318.type)) && (cljs.core._EQ_.call(null,this23317__$1.logical_block,other23318.logical_block)) && (cljs.core._EQ_.call(null,this23317__$1.start_pos,other23318.start_pos)) && (cljs.core._EQ_.call(null,this23317__$1.end_pos,other23318.end_pos)) && (cljs.core._EQ_.call(null,this23317__$1.__extmap,other23318.__extmap))); +}); + +cljs.pprint.nl_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__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.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.nl_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23315){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23321 = cljs.core.keyword_identical_QMARK_; +var expr__23322 = k__4180__auto__; +if(cljs.core.truth_(pred__23321.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__23322))){ +return (new cljs.pprint.nl_t(G__23315,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23321.call(null,new cljs.core.Keyword(null,"type","type",1174270348),expr__23322))){ +return (new cljs.pprint.nl_t(self__.type_tag,G__23315,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23321.call(null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__23322))){ +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,G__23315,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23321.call(null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__23322))){ +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,G__23315,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23321.call(null,new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__23322))){ +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,G__23315,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.call(null,self__.__extmap,k__4180__auto__,G__23315),null)); +} +} +} +} +} +}); + +cljs.pprint.nl_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23315){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,G__23315,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.nl_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__auto__){ +return (new cljs.core.List(null,"cljs.pprint/nl-t",null,(1),null)); +}); + +cljs.pprint.nl_t.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23319){ +return (new cljs.pprint.nl_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__23319),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(G__23319),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__23319),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__23319),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__23319),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23319,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.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__23136__auto__){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__23136__auto__),new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.start_block_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.start_block_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23326,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23330 = k23326; +var G__23330__$1 = (((G__23330 instanceof cljs.core.Keyword))?G__23330.fqn:null); +switch (G__23330__$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.call(null,self__.__extmap,k23326,else__4175__auto__); + +} +}); + +cljs.pprint.start_block_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.start-block-t{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23325){ +var self__ = this; +var G__23325__$1 = this; +return (new cljs.core.RecordIter((0),G__23325__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.start_block_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.start_block_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (4 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.start_block_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (-414877272 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.start_block_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23327,other23328){ +var self__ = this; +var this23327__$1 = this; +return ((!((other23328 == null))) && ((this23327__$1.constructor === other23328.constructor)) && (cljs.core._EQ_.call(null,this23327__$1.type_tag,other23328.type_tag)) && (cljs.core._EQ_.call(null,this23327__$1.logical_block,other23328.logical_block)) && (cljs.core._EQ_.call(null,this23327__$1.start_pos,other23328.start_pos)) && (cljs.core._EQ_.call(null,this23327__$1.end_pos,other23328.end_pos)) && (cljs.core._EQ_.call(null,this23327__$1.__extmap,other23328.__extmap))); +}); + +cljs.pprint.start_block_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__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.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.start_block_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23325){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23331 = cljs.core.keyword_identical_QMARK_; +var expr__23332 = k__4180__auto__; +if(cljs.core.truth_(pred__23331.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__23332))){ +return (new cljs.pprint.start_block_t(G__23325,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23331.call(null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__23332))){ +return (new cljs.pprint.start_block_t(self__.type_tag,G__23325,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23331.call(null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__23332))){ +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,G__23325,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23331.call(null,new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__23332))){ +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,G__23325,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.call(null,self__.__extmap,k__4180__auto__,G__23325),null)); +} +} +} +} +}); + +cljs.pprint.start_block_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23325){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,G__23325,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.start_block_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__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__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23329){ +return (new cljs.pprint.start_block_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__23329),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__23329),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__23329),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__23329),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23329,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.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__23136__auto__){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__23136__auto__),new cljs.core.Keyword(null,"start-block-t","start-block-t",-373430594)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.end_block_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.end_block_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23336,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23340 = k23336; +var G__23340__$1 = (((G__23340 instanceof cljs.core.Keyword))?G__23340.fqn:null); +switch (G__23340__$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.call(null,self__.__extmap,k23336,else__4175__auto__); + +} +}); + +cljs.pprint.end_block_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.end-block-t{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23335){ +var self__ = this; +var G__23335__$1 = this; +return (new cljs.core.RecordIter((0),G__23335__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.end_block_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.end_block_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (4 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.end_block_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (1365867980 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.end_block_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23337,other23338){ +var self__ = this; +var this23337__$1 = this; +return ((!((other23338 == null))) && ((this23337__$1.constructor === other23338.constructor)) && (cljs.core._EQ_.call(null,this23337__$1.type_tag,other23338.type_tag)) && (cljs.core._EQ_.call(null,this23337__$1.logical_block,other23338.logical_block)) && (cljs.core._EQ_.call(null,this23337__$1.start_pos,other23338.start_pos)) && (cljs.core._EQ_.call(null,this23337__$1.end_pos,other23338.end_pos)) && (cljs.core._EQ_.call(null,this23337__$1.__extmap,other23338.__extmap))); +}); + +cljs.pprint.end_block_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__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.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.end_block_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23335){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23341 = cljs.core.keyword_identical_QMARK_; +var expr__23342 = k__4180__auto__; +if(cljs.core.truth_(pred__23341.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__23342))){ +return (new cljs.pprint.end_block_t(G__23335,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23341.call(null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__23342))){ +return (new cljs.pprint.end_block_t(self__.type_tag,G__23335,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23341.call(null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__23342))){ +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,G__23335,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23341.call(null,new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__23342))){ +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,G__23335,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.call(null,self__.__extmap,k__4180__auto__,G__23335),null)); +} +} +} +} +}); + +cljs.pprint.end_block_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23335){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,G__23335,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.end_block_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__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__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23339){ +return (new cljs.pprint.end_block_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__23339),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__23339),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__23339),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__23339),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23339,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.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__23136__auto__){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__23136__auto__),new cljs.core.Keyword(null,"end-block-t","end-block-t",1544648735)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.indent_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.indent_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23346,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23350 = k23346; +var G__23350__$1 = (((G__23350 instanceof cljs.core.Keyword))?G__23350.fqn:null); +switch (G__23350__$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.call(null,self__.__extmap,k23346,else__4175__auto__); + +} +}); + +cljs.pprint.indent_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.indent-t{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23345){ +var self__ = this; +var G__23345__$1 = this; +return (new cljs.core.RecordIter((0),G__23345__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.indent_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.indent_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (6 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.indent_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (-1602780238 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.indent_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23347,other23348){ +var self__ = this; +var this23347__$1 = this; +return ((!((other23348 == null))) && ((this23347__$1.constructor === other23348.constructor)) && (cljs.core._EQ_.call(null,this23347__$1.type_tag,other23348.type_tag)) && (cljs.core._EQ_.call(null,this23347__$1.logical_block,other23348.logical_block)) && (cljs.core._EQ_.call(null,this23347__$1.relative_to,other23348.relative_to)) && (cljs.core._EQ_.call(null,this23347__$1.offset,other23348.offset)) && (cljs.core._EQ_.call(null,this23347__$1.start_pos,other23348.start_pos)) && (cljs.core._EQ_.call(null,this23347__$1.end_pos,other23348.end_pos)) && (cljs.core._EQ_.call(null,this23347__$1.__extmap,other23348.__extmap))); +}); + +cljs.pprint.indent_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__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.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.indent_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23345){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23351 = cljs.core.keyword_identical_QMARK_; +var expr__23352 = k__4180__auto__; +if(cljs.core.truth_(pred__23351.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__23352))){ +return (new cljs.pprint.indent_t(G__23345,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__23351.call(null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__23352))){ +return (new cljs.pprint.indent_t(self__.type_tag,G__23345,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23351.call(null,new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),expr__23352))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,G__23345,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23351.call(null,new cljs.core.Keyword(null,"offset","offset",296498311),expr__23352))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,G__23345,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23351.call(null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__23352))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,G__23345,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23351.call(null,new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__23352))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,G__23345,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.call(null,self__.__extmap,k__4180__auto__,G__23345),null)); +} +} +} +} +} +} +}); + +cljs.pprint.indent_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23345){ +var self__ = this; +var this__4171__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__23345,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.indent_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__auto__){ +return (new cljs.core.List(null,"cljs.pprint/indent-t",null,(1),null)); +}); + +cljs.pprint.indent_t.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23349){ +return (new cljs.pprint.indent_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__23349),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__23349),new cljs.core.Keyword(null,"relative-to","relative-to",-470100051).cljs$core$IFn$_invoke$arity$1(G__23349),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(G__23349),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__23349),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__23349),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23349,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.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__23136__auto__){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__23136__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.pprint.write_token !== 'undefined'){ +} else { +cljs.pprint.write_token = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"cljs.pprint","write-token"),((function (method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__){ +return (function (p1__23356_SHARP_,p2__23355_SHARP_){ +return new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(p2__23355_SHARP_); +});})(method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__)) +,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.core._add_method.call(null,cljs.pprint.write_token,new cljs.core.Keyword(null,"start-block-t","start-block-t",-373430594),(function (this$,token){ +var temp__4657__auto___23357 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4657__auto___23357)){ +var cb_23358 = temp__4657__auto___23357; +cb_23358.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__4657__auto___23359 = new cljs.core.Keyword(null,"prefix","prefix",-265908465).cljs$core$IFn$_invoke$arity$1(lb); +if(cljs.core.truth_(temp__4657__auto___23359)){ +var prefix_23360 = temp__4657__auto___23359; +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),prefix_23360); +} else { +} + +var col = cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))); +cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb),col); + +return cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb),col); +})); +cljs.core._add_method.call(null,cljs.pprint.write_token,new cljs.core.Keyword(null,"end-block-t","end-block-t",1544648735),(function (this$,token){ +var temp__4657__auto___23361 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4657__auto___23361)){ +var cb_23362 = temp__4657__auto___23361; +cb_23362.call(null,new cljs.core.Keyword(null,"end","end",-268185958)); +} else { +} + +var temp__4657__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__4657__auto__)){ +var suffix = temp__4657__auto__; +return cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),suffix); +} else { +return null; +} +})); +cljs.core._add_method.call(null,cljs.pprint.write_token,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_.call(null,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__23363 = cljs.core._EQ_; +var expr__23364 = new cljs.core.Keyword(null,"relative-to","relative-to",-470100051).cljs$core$IFn$_invoke$arity$1(token); +if(cljs.core.truth_(pred__23363.call(null,new cljs.core.Keyword(null,"block","block",664686210),expr__23364))){ +return cljs.core.deref.call(null,new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb)); +} else { +if(cljs.core.truth_(pred__23363.call(null,new cljs.core.Keyword(null,"current","current",-1088038603),expr__23364))){ +return cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23364)].join(''))); +} +} +})())); +})); +cljs.core._add_method.call(null,cljs.pprint.write_token,new cljs.core.Keyword(null,"buffer-blob","buffer-blob",-1830112173),(function (this$,token){ +return cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(token)); +})); +cljs.core._add_method.call(null,cljs.pprint.write_token,new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114),(function (this$,token){ +if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.core._EQ_.call(null,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__3922__auto__){ +return or__3922__auto__; +} else { +var and__3911__auto__ = !(cljs.core._EQ_.call(null,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__3911__auto__){ +return cljs.core.deref.call(null,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__3911__auto__; +} +} +})())){ +cljs.pprint.emit_nl.call(null,this$,token); +} else { +var temp__4655__auto___23366 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4655__auto___23366)){ +var tws_23367 = temp__4655__auto___23366; +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),tws_23367); +} else { +} +} + +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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__23368 = cljs.core.seq.call(null,tokens); +var chunk__23369 = null; +var count__23370 = (0); +var i__23371 = (0); +while(true){ +if((i__23371 < count__23370)){ +var token = cljs.core._nth.call(null,chunk__23369,i__23371); +if(!(cljs.core._EQ_.call(null,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__4655__auto___23372 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4655__auto___23372)){ +var tws_23373 = temp__4655__auto___23372; +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),tws_23373); +} else { +} +} else { +} + +cljs.pprint.write_token.call(null,this$,token); + +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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_23374 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_((function (){var and__3911__auto__ = force_trailing_whitespace; +if(cljs.core.truth_(and__3911__auto__)){ +return tws_23374; +} else { +return and__3911__auto__; +} +})())){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),tws_23374); + +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); +} else { +} + + +var G__23375 = seq__23368; +var G__23376 = chunk__23369; +var G__23377 = count__23370; +var G__23378 = (i__23371 + (1)); +seq__23368 = G__23375; +chunk__23369 = G__23376; +count__23370 = G__23377; +i__23371 = G__23378; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq.call(null,seq__23368); +if(temp__4657__auto__){ +var seq__23368__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__23368__$1)){ +var c__4319__auto__ = cljs.core.chunk_first.call(null,seq__23368__$1); +var G__23379 = cljs.core.chunk_rest.call(null,seq__23368__$1); +var G__23380 = c__4319__auto__; +var G__23381 = cljs.core.count.call(null,c__4319__auto__); +var G__23382 = (0); +seq__23368 = G__23379; +chunk__23369 = G__23380; +count__23370 = G__23381; +i__23371 = G__23382; +continue; +} else { +var token = cljs.core.first.call(null,seq__23368__$1); +if(!(cljs.core._EQ_.call(null,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__4655__auto___23383 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4655__auto___23383)){ +var tws_23384 = temp__4655__auto___23383; +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),tws_23384); +} else { +} +} else { +} + +cljs.pprint.write_token.call(null,this$,token); + +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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_23385 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_((function (){var and__3911__auto__ = force_trailing_whitespace; +if(cljs.core.truth_(and__3911__auto__)){ +return tws_23385; +} else { +return and__3911__auto__; +} +})())){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),tws_23385); + +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); +} else { +} + + +var G__23386 = cljs.core.next.call(null,seq__23368__$1); +var G__23387 = null; +var G__23388 = (0); +var G__23389 = (0); +seq__23368 = G__23386; +chunk__23369 = G__23387; +count__23370 = G__23388; +i__23371 = G__23389; +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.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))); +return (((maxcol == null)) || (((cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))) + cljs.pprint.buffer_length.call(null,tokens)) < maxcol))); +}); +cljs.pprint.linear_nl_QMARK_ = (function cljs$pprint$linear_nl_QMARK_(this$,lb,section){ +var or__3922__auto__ = cljs.core.deref.call(null,new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(lb)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.not.call(null,cljs.pprint.tokens_fit_QMARK_.call(null,this$,section)); +} +}); +cljs.pprint.miser_nl_QMARK_ = (function cljs$pprint$miser_nl_QMARK_(this$,lb,section){ +var miser_width = cljs.pprint.get_miser_width.call(null,this$); +var maxcol = cljs.pprint.get_max_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))); +var and__3911__auto__ = miser_width; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = maxcol; +if(cljs.core.truth_(and__3911__auto____$1)){ +var and__3911__auto____$2 = (cljs.core.deref.call(null,new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb)) >= (maxcol - miser_width)); +if(and__3911__auto____$2){ +return cljs.pprint.linear_nl_QMARK_.call(null,this$,lb,section); +} else { +return and__3911__auto____$2; +} +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +}); +if(typeof cljs.pprint.emit_nl_QMARK_ !== 'undefined'){ +} else { +cljs.pprint.emit_nl_QMARK_ = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"cljs.pprint","emit-nl?"),((function (method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__){ +return (function (t,_,___$1,___$2){ +return new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(t); +});})(method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__)) +,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.core._add_method.call(null,cljs.pprint.emit_nl_QMARK_,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_.call(null,this$,lb,section); +})); +cljs.core._add_method.call(null,cljs.pprint.emit_nl_QMARK_,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_.call(null,this$,lb,section); +})); +cljs.core._add_method.call(null,cljs.pprint.emit_nl_QMARK_,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__3922__auto__ = cljs.core.deref.call(null,new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(lb)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.core.not.call(null,cljs.pprint.tokens_fit_QMARK_.call(null,this$,subsection)); +if(or__3922__auto____$1){ +return or__3922__auto____$1; +} else { +return cljs.pprint.miser_nl_QMARK_.call(null,this$,lb,section); +} +} +})); +cljs.core._add_method.call(null,cljs.pprint.emit_nl_QMARK_,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.call(null,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.call(null,cljs.core.take_while.call(null,((function (nl,lb){ +return (function (p1__23390_SHARP_){ +return cljs.core.not.call(null,(function (){var and__3911__auto__ = cljs.pprint.nl_t_QMARK_.call(null,p1__23390_SHARP_); +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.pprint.ancestor_QMARK_.call(null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(p1__23390_SHARP_),lb); +} else { +return and__3911__auto__; +} +})()); +});})(nl,lb)) +,cljs.core.next.call(null,buffer))); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [section,cljs.core.seq.call(null,cljs.core.drop.call(null,(cljs.core.count.call(null,section) + (1)),buffer))], null); +}); +cljs.pprint.get_sub_section = (function cljs$pprint$get_sub_section(buffer){ +var nl = cljs.core.first.call(null,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.call(null,cljs.core.take_while.call(null,((function (nl,lb){ +return (function (p1__23391_SHARP_){ +var nl_lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(p1__23391_SHARP_); +return cljs.core.not.call(null,(function (){var and__3911__auto__ = cljs.pprint.nl_t_QMARK_.call(null,p1__23391_SHARP_); +if(cljs.core.truth_(and__3911__auto__)){ +var or__3922__auto__ = cljs.core._EQ_.call(null,nl_lb,lb); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.pprint.ancestor_QMARK_.call(null,nl_lb,lb); +} +} else { +return and__3911__auto__; +} +})()); +});})(nl,lb)) +,cljs.core.next.call(null,buffer))); +return section; +}); +cljs.pprint.update_nl_state = (function cljs$pprint$update_nl_state(lb){ +cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(lb),true); + +cljs.core.reset_BANG_.call(null,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_.call(null,new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(lb__$1),true); + +cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(lb__$1),true); + +var G__23392 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(lb__$1); +lb__$1 = G__23392; +continue; +} else { +return null; +} +break; +} +}); +cljs.pprint.emit_nl = (function cljs$pprint$emit_nl(this$,nl){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),cljs.pprint.pp_newline.call(null)); + +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),prefix); +} else { +} + +var istr_23393 = cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,(cljs.core.deref.call(null,new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb)) - cljs.core.count.call(null,prefix))," ")); +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),istr_23393); + +return cljs.pprint.update_nl_state.call(null,lb); +}); +cljs.pprint.split_at_newline = (function cljs$pprint$split_at_newline(tokens){ +var pre = cljs.core.seq.call(null,cljs.core.take_while.call(null,(function (p1__23394_SHARP_){ +return cljs.core.not.call(null,cljs.pprint.nl_t_QMARK_.call(null,p1__23394_SHARP_)); +}),tokens)); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [pre,cljs.core.seq.call(null,cljs.core.drop.call(null,cljs.core.count.call(null,pre),tokens))], null); +}); +cljs.pprint.write_token_string = (function cljs$pprint$write_token_string(this$,tokens){ +var vec__23395 = cljs.pprint.split_at_newline.call(null,tokens); +var a = cljs.core.nth.call(null,vec__23395,(0),null); +var b = cljs.core.nth.call(null,vec__23395,(1),null); +if(cljs.core.truth_(a)){ +cljs.pprint.write_tokens.call(null,this$,a,false); +} else { +} + +if(cljs.core.truth_(b)){ +var vec__23398 = cljs.pprint.get_section.call(null,b); +var section = cljs.core.nth.call(null,vec__23398,(0),null); +var remainder = cljs.core.nth.call(null,vec__23398,(1),null); +var newl = cljs.core.first.call(null,b); +var do_nl = cljs.pprint.emit_nl_QMARK_.call(null,newl,this$,section,cljs.pprint.get_sub_section.call(null,b)); +var result = (cljs.core.truth_(do_nl)?(function (){ +cljs.pprint.emit_nl.call(null,this$,newl); + +return cljs.core.next.call(null,b); +})() +:b); +var long_section = cljs.core.not.call(null,cljs.pprint.tokens_fit_QMARK_.call(null,this$,result)); +var result__$1 = ((long_section)?(function (){var rem2 = cljs.pprint.write_token_string.call(null,this$,section); +if(cljs.core._EQ_.call(null,rem2,section)){ +cljs.pprint.write_tokens.call(null,this$,section,false); + +return remainder; +} else { +return cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,cljs.core.concat.call(null,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.call(null,cljs.core.deref.call(null,this$))); +while(true){ +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,buffer)); + +if(cljs.core.not.call(null,cljs.pprint.tokens_fit_QMARK_.call(null,this$,buffer))){ +var new_buffer = cljs.pprint.write_token_string.call(null,this$,buffer); +if(!((buffer === new_buffer))){ +var G__23401 = new_buffer; +buffer = G__23401; +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_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.conj.call(null,new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),token)); + +if(cljs.core.not.call(null,cljs.pprint.tokens_fit_QMARK_.call(null,this$,new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))))){ +return cljs.pprint.write_line.call(null,this$); +} else { +return null; +} +}); +cljs.pprint.write_buffered_output = (function cljs$pprint$write_buffered_output(this$){ +cljs.pprint.write_line.call(null,this$); + +var temp__4655__auto__ = new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4655__auto__)){ +var buf = temp__4655__auto__; +cljs.pprint.write_tokens.call(null,this$,buf,true); + +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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__4657__auto__ = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4657__auto__)){ +var tws = temp__4657__auto__; +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),tws); + +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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.call(null,s,"\n",(-1)); +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,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.call(null,new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))))); +var l = cljs.core.first.call(null,lines); +if(cljs.core._EQ_.call(null,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.call(null,cljs.core.deref.call(null,this$))))){ +var oldpos_23406 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +var newpos_23407 = (oldpos_23406 + cljs.core.count.call(null,l)); +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos_23407); + +cljs.pprint.add_to_buffer.call(null,this$,cljs.pprint.make_buffer_blob.call(null,l,null,oldpos_23406,newpos_23407)); + +cljs.pprint.write_buffered_output.call(null,this$); +} else { +cljs.pprint.write_white_space.call(null,this$); + +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),l); +} + +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),"\n"); + +var seq__23402_23408 = cljs.core.seq.call(null,cljs.core.next.call(null,cljs.core.butlast.call(null,lines))); +var chunk__23403_23409 = null; +var count__23404_23410 = (0); +var i__23405_23411 = (0); +while(true){ +if((i__23405_23411 < count__23404_23410)){ +var l_23412__$1 = cljs.core._nth.call(null,chunk__23403_23409,i__23405_23411); +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),l_23412__$1); + +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),cljs.pprint.pp_newline.call(null)); + +if(cljs.core.truth_(prefix)){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),prefix); +} else { +} + + +var G__23413 = seq__23402_23408; +var G__23414 = chunk__23403_23409; +var G__23415 = count__23404_23410; +var G__23416 = (i__23405_23411 + (1)); +seq__23402_23408 = G__23413; +chunk__23403_23409 = G__23414; +count__23404_23410 = G__23415; +i__23405_23411 = G__23416; +continue; +} else { +var temp__4657__auto___23417 = cljs.core.seq.call(null,seq__23402_23408); +if(temp__4657__auto___23417){ +var seq__23402_23418__$1 = temp__4657__auto___23417; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__23402_23418__$1)){ +var c__4319__auto___23419 = cljs.core.chunk_first.call(null,seq__23402_23418__$1); +var G__23420 = cljs.core.chunk_rest.call(null,seq__23402_23418__$1); +var G__23421 = c__4319__auto___23419; +var G__23422 = cljs.core.count.call(null,c__4319__auto___23419); +var G__23423 = (0); +seq__23402_23408 = G__23420; +chunk__23403_23409 = G__23421; +count__23404_23410 = G__23422; +i__23405_23411 = G__23423; +continue; +} else { +var l_23424__$1 = cljs.core.first.call(null,seq__23402_23418__$1); +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),l_23424__$1); + +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),cljs.pprint.pp_newline.call(null)); + +if(cljs.core.truth_(prefix)){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),prefix); +} else { +} + + +var G__23425 = cljs.core.next.call(null,seq__23402_23418__$1); +var G__23426 = null; +var G__23427 = (0); +var G__23428 = (0); +seq__23402_23408 = G__23425; +chunk__23403_23409 = G__23426; +count__23404_23410 = G__23427; +i__23405_23411 = G__23428; +continue; +} +} else { +} +} +break; +} + +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffering","buffering",-876713613),new cljs.core.Keyword(null,"writing","writing",-1486865108)); + +return cljs.core.last.call(null,lines); +} +}); +cljs.pprint.p_write_char = (function cljs$pprint$p_write_char(this$,c){ +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space.call(null,this$); + +return cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),c); +} else { +if(cljs.core._EQ_.call(null,c,"\n")){ +return cljs.pprint.write_initial_lines.call(null,this$,"\n"); +} else { +var oldpos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +var newpos = (oldpos + (1)); +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos); + +return cljs.pprint.add_to_buffer.call(null,this$,cljs.pprint.make_buffer_blob.call(null,cljs.core.char$.call(null,c),null,oldpos,newpos)); +} +} +}); +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.call(null,(0)),cljs.core.atom.call(null,(0)),cljs.core.atom.call(null,false),cljs.core.atom.call(null,false),null,null,null,null,null,null,null)); +var fields = cljs.core.atom.call(null,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.call(null,writer,max_columns),(1),cljs.core.PersistentVector.EMPTY])); +if(typeof cljs.pprint.t_cljs$pprint23429 !== 'undefined'){ +} else { + +/** +* @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$pprint23429 = (function (writer,max_columns,miser_width,lb,fields,meta23430){ +this.writer = writer; +this.max_columns = max_columns; +this.miser_width = miser_width; +this.lb = lb; +this.fields = fields; +this.meta23430 = meta23430; +this.cljs$lang$protocol_mask$partition0$ = 1074167808; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.pprint.t_cljs$pprint23429.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (lb,fields){ +return (function (_23431,meta23430__$1){ +var self__ = this; +var _23431__$1 = this; +return (new cljs.pprint.t_cljs$pprint23429(self__.writer,self__.max_columns,self__.miser_width,self__.lb,self__.fields,meta23430__$1)); +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (lb,fields){ +return (function (_23431){ +var self__ = this; +var _23431__$1 = this; +return self__.meta23430; +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.prototype.cljs$core$IDeref$_deref$arity$1 = ((function (lb,fields){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return self__.fields; +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.prototype.cljs$core$IWriter$_write$arity$2 = ((function (lb,fields){ +return (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__23432 = cljs.core._EQ_; +var expr__23433 = cljs.core.type.call(null,x); +if(cljs.core.truth_(pred__23432.call(null,String,expr__23433))){ +var s0 = cljs.pprint.write_initial_lines.call(null,this$__$1,x); +var s = clojure.string.replace_first.call(null,s0,/\s+$/,""); +var white_space = cljs.core.subs.call(null,s0,cljs.core.count.call(null,s)); +var mode = new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$__$1))); +if(cljs.core._EQ_.call(null,mode,new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space.call(null,this$__$1); + +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$__$1))),s); + +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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.call(null,cljs.core.deref.call(null,this$__$1))); +var newpos = (oldpos + cljs.core.count.call(null,s0)); +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$__$1),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos); + +return cljs.pprint.add_to_buffer.call(null,this$__$1,cljs.pprint.make_buffer_blob.call(null,s,white_space,oldpos,newpos)); +} +} else { +if(cljs.core.truth_(pred__23432.call(null,Number,expr__23433))){ +return cljs.pprint.p_write_char.call(null,this$__$1,x); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23433)].join(''))); +} +} +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.prototype.cljs$core$IWriter$_flush$arity$1 = ((function (lb,fields){ +return (function (this$){ +var self__ = this; +var this$__$1 = this; +cljs.pprint._ppflush.call(null,this$__$1); + +return cljs.core._flush.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$__$1)))); +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.prototype.cljs$pprint$IPrettyFlush$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.pprint.t_cljs$pprint23429.prototype.cljs$pprint$IPrettyFlush$_ppflush$arity$1 = ((function (lb,fields){ +return (function (this$){ +var self__ = this; +var this$__$1 = this; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$__$1))),new cljs.core.Keyword(null,"buffering","buffering",-876713613))){ +cljs.pprint.write_tokens.call(null,this$__$1,new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$__$1))),true); + +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$__$1),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.PersistentVector.EMPTY); +} else { +return cljs.pprint.write_white_space.call(null,this$__$1); +} +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.getBasis = ((function (lb,fields){ +return (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,"meta23430","meta23430",74335198,null)], null); +});})(lb,fields)) +; + +cljs.pprint.t_cljs$pprint23429.cljs$lang$type = true; + +cljs.pprint.t_cljs$pprint23429.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint23429"; + +cljs.pprint.t_cljs$pprint23429.cljs$lang$ctorPrWriter = ((function (lb,fields){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.pprint/t_cljs$pprint23429"); +});})(lb,fields)) +; + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint23429. + */ +cljs.pprint.__GT_t_cljs$pprint23429 = ((function (lb,fields){ +return (function cljs$pprint$pretty_writer_$___GT_t_cljs$pprint23429(writer__$1,max_columns__$1,miser_width__$1,lb__$1,fields__$1,meta23430){ +return (new cljs.pprint.t_cljs$pprint23429(writer__$1,max_columns__$1,miser_width__$1,lb__$1,fields__$1,meta23430)); +});})(lb,fields)) +; + +} + +return (new cljs.pprint.t_cljs$pprint23429(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.call(null,cljs.core.deref.call(null,this$))),null,cljs.core.atom.call(null,(0)),cljs.core.atom.call(null,(0)),cljs.core.atom.call(null,false),cljs.core.atom.call(null,false),prefix,per_line_prefix,suffix,null,null,null,null)); +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776),lb); + +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space.call(null,this$); + +var temp__4657__auto___23435 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4657__auto___23435)){ +var cb_23436 = temp__4657__auto___23435; +cb_23436.call(null,new cljs.core.Keyword(null,"start","start",-355208981)); +} else { +} + +if(cljs.core.truth_(prefix)){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),prefix); +} else { +} + +var col = cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))); +cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb),col); + +return cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb),col); +} else { +var oldpos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +var newpos = (oldpos + (cljs.core.truth_(prefix)?cljs.core.count.call(null,prefix):(0))); +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos); + +return cljs.pprint.add_to_buffer.call(null,this$,cljs.pprint.make_start_block_t.call(null,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.call(null,cljs.core.deref.call(null,this$))); +var suffix = new cljs.core.Keyword(null,"suffix","suffix",367373057).cljs$core$IFn$_invoke$arity$1(lb); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space.call(null,this$); + +if(cljs.core.truth_(suffix)){ +cljs.core._write.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),suffix); +} else { +} + +var temp__4657__auto___23437 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core.truth_(temp__4657__auto___23437)){ +var cb_23438 = temp__4657__auto___23437; +cb_23438.call(null,new cljs.core.Keyword(null,"end","end",-268185958)); +} else { +} +} else { +var oldpos_23439 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +var newpos_23440 = (oldpos_23439 + (cljs.core.truth_(suffix)?cljs.core.count.call(null,suffix):(0))); +cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos_23440); + +cljs.pprint.add_to_buffer.call(null,this$,cljs.pprint.make_end_block_t.call(null,lb,oldpos_23439,newpos_23440)); +} + +return cljs.core.swap_BANG_.call(null,cljs.core.deref.call(null,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_.call(null,cljs.core.deref.call(null,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.call(null,cljs.core.deref.call(null,this$))); +return cljs.pprint.add_to_buffer.call(null,this$,cljs.pprint.make_nl_t.call(null,type,new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,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.call(null,cljs.core.deref.call(null,this$))); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space.call(null,this$); + +return cljs.core.reset_BANG_.call(null,new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb),(offset + (function (){var pred__23441 = cljs.core._EQ_; +var expr__23442 = relative_to; +if(cljs.core.truth_(pred__23441.call(null,new cljs.core.Keyword(null,"block","block",664686210),expr__23442))){ +return cljs.core.deref.call(null,new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb)); +} else { +if(cljs.core.truth_(pred__23441.call(null,new cljs.core.Keyword(null,"current","current",-1088038603),expr__23442))){ +return cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$)))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23442)].join(''))); +} +} +})())); +} else { +var pos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,this$))); +return cljs.pprint.add_to_buffer.call(null,this$,cljs.pprint.make_indent_t.call(null,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.call(null,cljs.core.deref.call(null,this$))); +}); +/** + * Bind to true if you want write to use pretty printing + */ +cljs.pprint._STAR_print_pretty_STAR_ = true; +if(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.call(null,cljs.core.hash_map,cljs.core.mapcat.call(null,(function (p1__23444_SHARP_){ +var temp__4657__auto__ = cljs.core.get.call(null,t,cljs.core.key.call(null,p1__23444_SHARP_)); +if(cljs.core.truth_(temp__4657__auto__)){ +var v = temp__4657__auto__; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [v,cljs.core.val.call(null,p1__23444_SHARP_)], null); +} else { +return null; +} +}),m)); +}); +/** + * Return true iff x is a PrettyWriter + */ +cljs.pprint.pretty_writer_QMARK_ = (function cljs$pprint$pretty_writer_QMARK_(x){ +var and__3911__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_.call(null,cljs.core.IDeref,x):false)):cljs.core.native_satisfies_QMARK_.call(null,cljs.core.IDeref,x)); +if(and__3911__auto__){ +return new cljs.core.Keyword(null,"pretty-writer","pretty-writer",-1222834267).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,x))); +} else { +return and__3911__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.call(null,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__3911__auto__ = cljs.pprint._STAR_current_length_STAR_; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = cljs.core._STAR_print_length_STAR_; +if(cljs.core.truth_(and__3911__auto____$1)){ +return (cljs.pprint._STAR_current_length_STAR_ >= cljs.core._STAR_print_length_STAR_); +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})(); +if(!(cljs.pprint._STAR_print_pretty_STAR_)){ +cljs.pprint.pr.call(null,object); +} else { +if(cljs.core.truth_(length_reached)){ +cljs.core._write.call(null,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__4502__auto__ = []; +var len__4499__auto___23463 = arguments.length; +var i__4500__auto___23464 = (0); +while(true){ +if((i__4500__auto___23464 < len__4499__auto___23463)){ +args__4502__auto__.push((arguments[i__4500__auto___23464])); + +var G__23465 = (i__4500__auto___23464 + (1)); +i__4500__auto___23464 = G__23465; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.pprint.write.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.pprint.write.cljs$core$IFn$_invoke$arity$variadic = (function (object,kw_args){ +var options = cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"stream","stream",1534941648),true], null),cljs.core.apply.call(null,cljs.core.hash_map,kw_args)); +var _STAR_print_base_STAR_23449 = cljs.pprint._STAR_print_base_STAR_; +var _STAR_print_circle_STAR_23450 = cljs.pprint._STAR_print_circle_STAR_; +var _STAR_print_length_STAR_23451 = cljs.core._STAR_print_length_STAR_; +var _STAR_print_level_STAR_23452 = cljs.core._STAR_print_level_STAR_; +var _STAR_print_lines_STAR_23453 = cljs.pprint._STAR_print_lines_STAR_; +var _STAR_print_miser_width_STAR_23454 = cljs.pprint._STAR_print_miser_width_STAR_; +var _STAR_print_pprint_dispatch_STAR_23455 = cljs.pprint._STAR_print_pprint_dispatch_STAR_; +var _STAR_print_pretty_STAR_23456 = cljs.pprint._STAR_print_pretty_STAR_; +var _STAR_print_radix_STAR_23457 = cljs.pprint._STAR_print_radix_STAR_; +var _STAR_print_readably_STAR_23458 = cljs.core._STAR_print_readably_STAR_; +var _STAR_print_right_margin_STAR_23459 = cljs.pprint._STAR_print_right_margin_STAR_; +var _STAR_print_suppress_namespaces_STAR_23460 = cljs.pprint._STAR_print_suppress_namespaces_STAR_; +cljs.pprint._STAR_print_base_STAR_ = new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_base_STAR_); + +cljs.pprint._STAR_print_circle_STAR_ = new cljs.core.Keyword(null,"circle","circle",1903212362).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_circle_STAR_); + +cljs.core._STAR_print_length_STAR_ = new cljs.core.Keyword(null,"length","length",588987862).cljs$core$IFn$_invoke$arity$2(options,cljs.core._STAR_print_length_STAR_); + +cljs.core._STAR_print_level_STAR_ = new cljs.core.Keyword(null,"level","level",1290497552).cljs$core$IFn$_invoke$arity$2(options,cljs.core._STAR_print_level_STAR_); + +cljs.pprint._STAR_print_lines_STAR_ = new cljs.core.Keyword(null,"lines","lines",-700165781).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_lines_STAR_); + +cljs.pprint._STAR_print_miser_width_STAR_ = new cljs.core.Keyword(null,"miser-width","miser-width",-1310049437).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_miser_width_STAR_); + +cljs.pprint._STAR_print_pprint_dispatch_STAR_ = new cljs.core.Keyword(null,"dispatch","dispatch",1319337009).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_pprint_dispatch_STAR_); + +cljs.pprint._STAR_print_pretty_STAR_ = new cljs.core.Keyword(null,"pretty","pretty",-1916372486).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_pretty_STAR_); + +cljs.pprint._STAR_print_radix_STAR_ = new cljs.core.Keyword(null,"radix","radix",857016463).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_radix_STAR_); + +cljs.core._STAR_print_readably_STAR_ = new cljs.core.Keyword(null,"readably","readably",1129599760).cljs$core$IFn$_invoke$arity$2(options,cljs.core._STAR_print_readably_STAR_); + +cljs.pprint._STAR_print_right_margin_STAR_ = new cljs.core.Keyword(null,"right-margin","right-margin",-810413306).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_right_margin_STAR_); + +cljs.pprint._STAR_print_suppress_namespaces_STAR_ = new cljs.core.Keyword(null,"suppress-namespaces","suppress-namespaces",2130686956).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_suppress_namespaces_STAR_); + +try{try{var sb = (new goog.string.StringBuffer()); +var optval = ((cljs.core.contains_QMARK_.call(null,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.pprint._STAR_print_pretty_STAR_){ +var base_writer__23119__auto___23466 = base_writer; +var new_writer__23120__auto___23467 = cljs.core.not.call(null,cljs.pprint.pretty_writer_QMARK_.call(null,base_writer__23119__auto___23466)); +var _STAR_out_STAR_23461_23468 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = ((new_writer__23120__auto___23467)?cljs.pprint.make_pretty_writer.call(null,base_writer__23119__auto___23466,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_):base_writer__23119__auto___23466); + +try{cljs.pprint.write_out.call(null,object); + +cljs.pprint._ppflush.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.core._STAR_out_STAR_ = _STAR_out_STAR_23461_23468; +}} else { +var _STAR_out_STAR_23462_23469 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = base_writer; + +try{cljs.pprint.pr.call(null,object); +}finally {cljs.core._STAR_out_STAR_ = _STAR_out_STAR_23462_23469; +}} + +if(optval === true){ +cljs.core.string_print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join('')); +} else { +} + +if((optval == null)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); +} else { +return null; +} +}finally {}}finally {cljs.pprint._STAR_print_suppress_namespaces_STAR_ = _STAR_print_suppress_namespaces_STAR_23460; + +cljs.pprint._STAR_print_right_margin_STAR_ = _STAR_print_right_margin_STAR_23459; + +cljs.core._STAR_print_readably_STAR_ = _STAR_print_readably_STAR_23458; + +cljs.pprint._STAR_print_radix_STAR_ = _STAR_print_radix_STAR_23457; + +cljs.pprint._STAR_print_pretty_STAR_ = _STAR_print_pretty_STAR_23456; + +cljs.pprint._STAR_print_pprint_dispatch_STAR_ = _STAR_print_pprint_dispatch_STAR_23455; + +cljs.pprint._STAR_print_miser_width_STAR_ = _STAR_print_miser_width_STAR_23454; + +cljs.pprint._STAR_print_lines_STAR_ = _STAR_print_lines_STAR_23453; + +cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR_23452; + +cljs.core._STAR_print_length_STAR_ = _STAR_print_length_STAR_23451; + +cljs.pprint._STAR_print_circle_STAR_ = _STAR_print_circle_STAR_23450; + +cljs.pprint._STAR_print_base_STAR_ = _STAR_print_base_STAR_23449; +}}); + +cljs.pprint.write.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.pprint.write.cljs$lang$applyTo = (function (seq23447){ +var G__23448 = cljs.core.first.call(null,seq23447); +var seq23447__$1 = cljs.core.next.call(null,seq23447); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__23448,seq23447__$1); +}); + +cljs.pprint.pprint = (function cljs$pprint$pprint(var_args){ +var G__23471 = arguments.length; +switch (G__23471) { +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_23472 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = (new cljs.core.StringBufferWriter(sb)); + +try{cljs.pprint.pprint.call(null,object,cljs.core._STAR_out_STAR_); + +return cljs.core.string_print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join('')); +}finally {cljs.core._STAR_out_STAR_ = _STAR_out_STAR_23472; +}}); + +cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$2 = (function (object,writer){ +var base_writer__23119__auto__ = writer; +var new_writer__23120__auto__ = cljs.core.not.call(null,cljs.pprint.pretty_writer_QMARK_.call(null,base_writer__23119__auto__)); +var _STAR_out_STAR_23473 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = ((new_writer__23120__auto__)?cljs.pprint.make_pretty_writer.call(null,base_writer__23119__auto__,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_):base_writer__23119__auto__); + +try{var _STAR_print_pretty_STAR_23474_23476 = cljs.pprint._STAR_print_pretty_STAR_; +cljs.pprint._STAR_print_pretty_STAR_ = true; + +try{cljs.pprint.write_out.call(null,object); +}finally {cljs.pprint._STAR_print_pretty_STAR_ = _STAR_print_pretty_STAR_23474_23476; +} +if(!(cljs.core._EQ_.call(null,(0),cljs.pprint.get_column.call(null,cljs.core._STAR_out_STAR_)))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"\n"); +} else { +} + +return cljs.pprint._ppflush.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.core._STAR_out_STAR_ = _STAR_out_STAR_23473; +}}); + +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.call(null,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__3911__auto__ = cljs.core._STAR_print_level_STAR_; +if(cljs.core.truth_(and__3911__auto__)){ +return (cljs.pprint._STAR_current_level_STAR_ >= cljs.core._STAR_print_level_STAR_); +} else { +return and__3911__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.call(null,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.call(null,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.call(null,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.call(null,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.call(null,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__4502__auto__ = []; +var len__4499__auto___23480 = arguments.length; +var i__4500__auto___23481 = (0); +while(true){ +if((i__4500__auto___23481 < len__4499__auto___23480)){ +args__4502__auto__.push((arguments[i__4500__auto___23481])); + +var G__23482 = (i__4500__auto___23481 + (1)); +i__4500__auto___23481 = G__23482; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__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.call(null,format_in):format_in); +var navigator = cljs.pprint.init_navigator.call(null,args); +return cljs.pprint.execute_format.call(null,writer,compiled_format,navigator); +}); + +cljs.pprint.cl_format.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +cljs.pprint.cl_format.cljs$lang$applyTo = (function (seq23477){ +var G__23478 = cljs.core.first.call(null,seq23477); +var seq23477__$1 = cljs.core.next.call(null,seq23477); +var G__23479 = cljs.core.first.call(null,seq23477__$1); +var seq23477__$2 = cljs.core.next.call(null,seq23477__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__23478,G__23479,seq23477__$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),cljs.core.str.cljs$core$IFn$_invoke$arity$1("\n"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.pprint._STAR_format_str_STAR_),cljs.core.str.cljs$core$IFn$_invoke$arity$1("\n"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,offset," "))),"^",cljs.core.str.cljs$core$IFn$_invoke$arity$1("\n")].join(''); +throw Error(full_message); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.arg_navigator.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23484,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23488 = k23484; +var G__23488__$1 = (((G__23488 instanceof cljs.core.Keyword))?G__23488.fqn:null); +switch (G__23488__$1) { +case "seq": +return self__.seq; + +break; +case "rest": +return self__.rest; + +break; +case "pos": +return self__.pos; + +break; +default: +return cljs.core.get.call(null,self__.__extmap,k23484,else__4175__auto__); + +} +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.arg-navigator{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23483){ +var self__ = this; +var G__23483__$1 = this; +return (new cljs.core.RecordIter((0),G__23483__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (3 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (-402038447 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23485,other23486){ +var self__ = this; +var this23485__$1 = this; +return ((!((other23486 == null))) && ((this23485__$1.constructor === other23486.constructor)) && (cljs.core._EQ_.call(null,this23485__$1.seq,other23486.seq)) && (cljs.core._EQ_.call(null,this23485__$1.rest,other23486.rest)) && (cljs.core._EQ_.call(null,this23485__$1.pos,other23486.pos)) && (cljs.core._EQ_.call(null,this23485__$1.__extmap,other23486.__extmap))); +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__auto__); +} else { +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,self__.__meta,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23483){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23489 = cljs.core.keyword_identical_QMARK_; +var expr__23490 = k__4180__auto__; +if(cljs.core.truth_(pred__23489.call(null,new cljs.core.Keyword(null,"seq","seq",-1817803783),expr__23490))){ +return (new cljs.pprint.arg_navigator(G__23483,self__.rest,self__.pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23489.call(null,new cljs.core.Keyword(null,"rest","rest",-1241696419),expr__23490))){ +return (new cljs.pprint.arg_navigator(self__.seq,G__23483,self__.pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23489.call(null,new cljs.core.Keyword(null,"pos","pos",-864607220),expr__23490))){ +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,G__23483,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,self__.__meta,cljs.core.assoc.call(null,self__.__extmap,k__4180__auto__,G__23483),null)); +} +} +} +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23483){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,G__23483,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.arg_navigator.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__auto__){ +return (new cljs.core.List(null,"cljs.pprint/arg-navigator",null,(1),null)); +}); + +cljs.pprint.arg_navigator.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23487){ +return (new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(G__23487),new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(G__23487),new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(G__23487),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23487,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)); +}); + +/** + * 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.call(null,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.call(null,rst),(new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator),cljs.core.next.call(null,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.call(null,rst),(new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator),cljs.core.next.call(null,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__23493 = cljs.pprint.next_arg.call(null,navigator); +var raw_format = cljs.core.nth.call(null,vec__23493,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23493,(1),null); +var compiled_format = ((typeof raw_format === 'string')?cljs.pprint.compile_format.call(null,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))){ +return cljs.pprint.relative_reposition.call(null,navigator,(new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator) - position)); +} 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.call(null,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.call(null,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.call(null,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.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$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.pprint.compiled_directive.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k23497,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__23501 = k23497; +var G__23501__$1 = (((G__23501 instanceof cljs.core.Keyword))?G__23501.fqn:null); +switch (G__23501__$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.call(null,self__.__extmap,k23497,else__4175__auto__); + +} +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.pprint.compiled-directive{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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__23496){ +var self__ = this; +var G__23496__$1 = this; +return (new cljs.core.RecordIter((0),G__23496__$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.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__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__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (4 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (-829256337 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this23498,other23499){ +var self__ = this; +var this23498__$1 = this; +return ((!((other23499 == null))) && ((this23498__$1.constructor === other23499.constructor)) && (cljs.core._EQ_.call(null,this23498__$1.func,other23499.func)) && (cljs.core._EQ_.call(null,this23498__$1.def,other23499.def)) && (cljs.core._EQ_.call(null,this23498__$1.params,other23499.params)) && (cljs.core._EQ_.call(null,this23498__$1.offset,other23499.offset)) && (cljs.core._EQ_.call(null,this23498__$1.__extmap,other23499.__extmap))); +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,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__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__auto__); +} else { +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,self__.offset,self__.__meta,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__23496){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__23502 = cljs.core.keyword_identical_QMARK_; +var expr__23503 = k__4180__auto__; +if(cljs.core.truth_(pred__23502.call(null,new cljs.core.Keyword(null,"func","func",-238706040),expr__23503))){ +return (new cljs.pprint.compiled_directive(G__23496,self__.def,self__.params,self__.offset,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23502.call(null,new cljs.core.Keyword(null,"def","def",-1043430536),expr__23503))){ +return (new cljs.pprint.compiled_directive(self__.func,G__23496,self__.params,self__.offset,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23502.call(null,new cljs.core.Keyword(null,"params","params",710516235),expr__23503))){ +return (new cljs.pprint.compiled_directive(self__.func,self__.def,G__23496,self__.offset,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__23502.call(null,new cljs.core.Keyword(null,"offset","offset",296498311),expr__23503))){ +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,G__23496,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.call(null,self__.__extmap,k__4180__auto__,G__23496),null)); +} +} +} +} +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,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__4171__auto__,G__23496){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,self__.offset,G__23496,self__.__extmap,self__.__hash)); +}); + +cljs.pprint.compiled_directive.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__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__4208__auto__){ +return (new cljs.core.List(null,"cljs.pprint/compiled-directive",null,(1),null)); +}); + +cljs.pprint.compiled_directive.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__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__23500){ +return (new cljs.pprint.compiled_directive(new cljs.core.Keyword(null,"func","func",-238706040).cljs$core$IFn$_invoke$arity$1(G__23500),new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(G__23500),new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(G__23500),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(G__23500),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__23500,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.pprint.realize_parameter = (function cljs$pprint$realize_parameter(p__23506,navigator){ +var vec__23507 = p__23506; +var param = cljs.core.nth.call(null,vec__23507,(0),null); +var vec__23510 = cljs.core.nth.call(null,vec__23507,(1),null); +var raw_val = cljs.core.nth.call(null,vec__23510,(0),null); +var offset = cljs.core.nth.call(null,vec__23510,(1),null); +var vec__23513 = ((cljs.core.contains_QMARK_.call(null,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_.call(null,raw_val,new cljs.core.Keyword(null,"parameter-from-args","parameter-from-args",-758446196)))?cljs.pprint.next_arg.call(null,navigator):((cljs.core._EQ_.call(null,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.call(null,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.call(null,vec__23513,(0),null); +var new_navigator = cljs.core.nth.call(null,vec__23513,(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__23516 = cljs.pprint.map_passing_context.call(null,cljs.pprint.realize_parameter,navigator,parameter_map); +var pairs = cljs.core.nth.call(null,vec__23516,(0),null); +var new_navigator = cljs.core.nth.call(null,vec__23516,(1),null); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.into.call(null,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_.call(null,n)){ +if(cljs.core._EQ_.call(null,cljs.pprint._STAR_print_base_STAR_,(10))){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),cljs.core.str.cljs$core$IFn$_invoke$arity$1((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__3922__auto__ = cljs.core.get.call(null,cljs.pprint.special_radix_markers,cljs.pprint._STAR_print_base_STAR_); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__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.call(null,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__23519 = cljs.pprint.next_arg.call(null,arg_navigator); +var arg = cljs.core.nth.call(null,vec__23519,(0),null); +var arg_navigator__$1 = cljs.core.nth.call(null,vec__23519,(1),null); +var base_output = (function (){var or__3922__auto__ = cljs.pprint.format_simple_number.call(null,arg); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return 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.call(null,((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.call(null,cljs.core.str,cljs.core.repeat.call(null,(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.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(chars),cljs.core.str.cljs$core$IFn$_invoke$arity$1(base_output)].join('')); +} else { +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(base_output),cljs.core.str.cljs$core$IFn$_invoke$arity$1(chars)].join('')); +} + +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_.call(null,x)){ +return true; +} else { +if(cljs.pprint.float_QMARK_.call(null,x)){ +return cljs.core._EQ_.call(null,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.call(null,cljs.core.first.call(null,cljs.pprint.consume.call(null,(function (p1__23522_SHARP_){ +if((p1__23522_SHARP_ > (0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.rem.call(null,p1__23522_SHARP_,base),cljs.core.quot.call(null,p1__23522_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.call(null,cljs.core.str,cljs.core.map.call(null,((function (xlated_val){ +return (function (p1__23523_SHARP_){ +if((p1__23523_SHARP_ < (10))){ +return cljs.core.char$.call(null,(cljs.pprint.char_code.call(null,"0") + p1__23523_SHARP_)); +} else { +return cljs.core.char$.call(null,(cljs.pprint.char_code.call(null,"a") + (p1__23523_SHARP_ - (10)))); +} +});})(xlated_val)) +,cljs.pprint.remainders.call(null,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.call(null,base,val); +}); +cljs.pprint.group_by_STAR_ = (function cljs$pprint$group_by_STAR_(unit,lis){ +return cljs.core.reverse.call(null,cljs.core.first.call(null,cljs.pprint.consume.call(null,(function (x){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.seq.call(null,cljs.core.reverse.call(null,cljs.core.take.call(null,unit,x))),cljs.core.seq.call(null,cljs.core.drop.call(null,unit,x))], null); +}),cljs.core.reverse.call(null,lis)))); +}); +cljs.pprint.format_integer = (function cljs$pprint$format_integer(base,params,arg_navigator,offsets){ +var vec__23525 = cljs.pprint.next_arg.call(null,arg_navigator); +var arg = cljs.core.nth.call(null,vec__23525,(0),null); +var arg_navigator__$1 = cljs.core.nth.call(null,vec__23525,(1),null); +if(cljs.core.truth_(cljs.pprint.integral_QMARK_.call(null,arg))){ +var neg_23528 = (arg < (0)); +var pos_arg_23529 = ((neg_23528)?(- arg):arg); +var raw_str_23530 = cljs.pprint.opt_base_str.call(null,base,pos_arg_23529); +var group_str_23531 = (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?(function (){var groups = cljs.core.map.call(null,((function (neg_23528,pos_arg_23529,raw_str_23530,vec__23525,arg,arg_navigator__$1){ +return (function (p1__23524_SHARP_){ +return cljs.core.apply.call(null,cljs.core.str,p1__23524_SHARP_); +});})(neg_23528,pos_arg_23529,raw_str_23530,vec__23525,arg,arg_navigator__$1)) +,cljs.pprint.group_by_STAR_.call(null,new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083).cljs$core$IFn$_invoke$arity$1(params),raw_str_23530)); +var commas = cljs.core.repeat.call(null,cljs.core.count.call(null,groups),new cljs.core.Keyword(null,"commachar","commachar",652859327).cljs$core$IFn$_invoke$arity$1(params)); +return cljs.core.apply.call(null,cljs.core.str,cljs.core.next.call(null,cljs.core.interleave.call(null,commas,groups))); +})():raw_str_23530); +var signed_str_23532 = ((neg_23528)?["-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(group_str_23531)].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_23531)].join(''):group_str_23531 +)); +var padded_str_23533 = (((signed_str_23532.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.call(null,cljs.core.str,cljs.core.repeat.call(null,(new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params) - signed_str_23532.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_23532)].join(''):signed_str_23532); +cljs.pprint.print.call(null,padded_str_23533); +} else { +cljs.pprint.format_ascii.call(null,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.call(null,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.call(null,num,(100)); +var tens = cljs.core.rem.call(null,num,(100)); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((hundreds > (0)))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.call(null,cljs.pprint.english_cardinal_units,hundreds))," hundred"].join(''):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((((hundreds > (0))) && ((tens > (0)))))?" ":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((tens > (0)))?(((tens < (20)))?cljs.core.nth.call(null,cljs.pprint.english_cardinal_units,tens):(function (){var ten_digit = cljs.core.quot.call(null,tens,(10)); +var unit_digit = cljs.core.rem.call(null,tens,(10)); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((ten_digit > (0)))?cljs.core.nth.call(null,cljs.pprint.english_cardinal_tens,ten_digit):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((((ten_digit > (0))) && ((unit_digit > (0)))))?"-":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((unit_digit > (0)))?cljs.core.nth.call(null,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.call(null,parts); +var acc = cljs.core.PersistentVector.EMPTY; +var pos = (cnt - (1)); +var this$ = cljs.core.first.call(null,parts); +var remainder = cljs.core.next.call(null,parts); +while(true){ +if((remainder == null)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.call(null,cljs.core.str,cljs.core.interpose.call(null,", ",acc))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((((!(cljs.core.empty_QMARK_.call(null,this$))) && (!(cljs.core.empty_QMARK_.call(null,acc)))))?", ":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((((!(cljs.core.empty_QMARK_.call(null,this$))) && (((pos + offset) > (0)))))?[" ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.call(null,cljs.pprint.english_scale_numbers,(pos + offset)))].join(''):null))].join(''); +} else { +var G__23534 = ((cljs.core.empty_QMARK_.call(null,this$))?acc:cljs.core.conj.call(null,acc,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.call(null,cljs.pprint.english_scale_numbers,(pos + offset)))].join(''))); +var G__23535 = (pos - (1)); +var G__23536 = cljs.core.first.call(null,remainder); +var G__23537 = cljs.core.next.call(null,remainder); +acc = G__23534; +pos = G__23535; +this$ = G__23536; +remainder = G__23537; +continue; +} +break; +} +}); +cljs.pprint.format_cardinal_english = (function cljs$pprint$format_cardinal_english(params,navigator,offsets){ +var vec__23538 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23538,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23538,(1),null); +if(cljs.core._EQ_.call(null,(0),arg)){ +cljs.pprint.print.call(null,"zero"); +} else { +var abs_arg_23541 = (((arg < (0)))?(- arg):arg); +var parts_23542 = cljs.pprint.remainders.call(null,(1000),abs_arg_23541); +if((cljs.core.count.call(null,parts_23542) <= cljs.core.count.call(null,cljs.pprint.english_scale_numbers))){ +var parts_strs_23543 = cljs.core.map.call(null,cljs.pprint.format_simple_cardinal,parts_23542); +var full_str_23544 = cljs.pprint.add_english_scales.call(null,parts_strs_23543,(0)); +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((((arg < (0)))?"minus ":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(full_str_23544)].join('')); +} else { +cljs.pprint.format_integer.call(null,(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.call(null,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.call(null,num,(100)); +var tens = cljs.core.rem.call(null,num,(100)); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((hundreds > (0)))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.call(null,cljs.pprint.english_cardinal_units,hundreds))," hundred"].join(''):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((((hundreds > (0))) && ((tens > (0)))))?" ":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((tens > (0)))?(((tens < (20)))?cljs.core.nth.call(null,cljs.pprint.english_ordinal_units,tens):(function (){var ten_digit = cljs.core.quot.call(null,tens,(10)); +var unit_digit = cljs.core.rem.call(null,tens,(10)); +if((((ten_digit > (0))) && (!((unit_digit > (0)))))){ +return cljs.core.nth.call(null,cljs.pprint.english_ordinal_tens,ten_digit); +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((ten_digit > (0)))?cljs.core.nth.call(null,cljs.pprint.english_cardinal_tens,ten_digit):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((((ten_digit > (0))) && ((unit_digit > (0)))))?"-":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((unit_digit > (0)))?cljs.core.nth.call(null,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__23545 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23545,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23545,(1),null); +if(cljs.core._EQ_.call(null,(0),arg)){ +cljs.pprint.print.call(null,"zeroth"); +} else { +var abs_arg_23548 = (((arg < (0)))?(- arg):arg); +var parts_23549 = cljs.pprint.remainders.call(null,(1000),abs_arg_23548); +if((cljs.core.count.call(null,parts_23549) <= cljs.core.count.call(null,cljs.pprint.english_scale_numbers))){ +var parts_strs_23550 = cljs.core.map.call(null,cljs.pprint.format_simple_cardinal,cljs.core.drop_last.call(null,parts_23549)); +var head_str_23551 = cljs.pprint.add_english_scales.call(null,parts_strs_23550,(1)); +var tail_str_23552 = cljs.pprint.format_simple_ordinal.call(null,cljs.core.last.call(null,parts_23549)); +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((((arg < (0)))?"minus ":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((((!(cljs.core.empty_QMARK_.call(null,head_str_23551))) && (!(cljs.core.empty_QMARK_.call(null,tail_str_23552)))))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(head_str_23551),", ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(tail_str_23552)].join(''):((!(cljs.core.empty_QMARK_.call(null,head_str_23551)))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(head_str_23551),"th"].join(''):tail_str_23552 +)))].join('')); +} else { +cljs.pprint.format_integer.call(null,(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.call(null,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_23553 = cljs.core.rem.call(null,arg,(100)); +var not_teens_23554 = ((((11) < low_two_digits_23553)) || (((19) > low_two_digits_23553))); +var low_digit_23555 = cljs.core.rem.call(null,low_two_digits_23553,(10)); +cljs.pprint.print.call(null,(((((low_digit_23555 === (1))) && (not_teens_23554)))?"st":(((((low_digit_23555 === (2))) && (not_teens_23554)))?"nd":(((((low_digit_23555 === (3))) && (not_teens_23554)))?"rd":"th" +)))); +} +} + +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__23556 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23556,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23556,(1),null); +if(((typeof arg === 'number') && ((arg > (0))) && ((arg < (4000))))){ +var digits_23559 = cljs.pprint.remainders.call(null,(10),arg); +var acc_23560 = cljs.core.PersistentVector.EMPTY; +var pos_23561 = (cljs.core.count.call(null,digits_23559) - (1)); +var digits_23562__$1 = digits_23559; +while(true){ +if(cljs.core.empty_QMARK_.call(null,digits_23562__$1)){ +cljs.pprint.print.call(null,cljs.core.apply.call(null,cljs.core.str,acc_23560)); +} else { +var digit_23563 = cljs.core.first.call(null,digits_23562__$1); +var G__23564 = ((cljs.core._EQ_.call(null,(0),digit_23563))?acc_23560:cljs.core.conj.call(null,acc_23560,cljs.core.nth.call(null,cljs.core.nth.call(null,table,pos_23561),(digit_23563 - (1))))); +var G__23565 = (pos_23561 - (1)); +var G__23566 = cljs.core.next.call(null,digits_23562__$1); +acc_23560 = G__23564; +pos_23561 = G__23565; +digits_23562__$1 = G__23566; +continue; +} +break; +} +} else { +cljs.pprint.format_integer.call(null,(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.call(null,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.call(null,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.call(null,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__23567 = cljs.pprint.next_arg.call(null,navigator); +var c = cljs.core.nth.call(null,vec__23567,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23567,(1),null); +var as_int = cljs.pprint.char_code.call(null,c); +var base_char = (as_int & (127)); +var meta = (as_int & (128)); +var special = cljs.core.get.call(null,cljs.pprint.special_chars,base_char); +if((meta > (0))){ +cljs.pprint.print.call(null,"Meta-"); +} else { +} + +cljs.pprint.print.call(null,(cljs.core.truth_(special)?special:(((base_char < (32)))?["Control-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.char$.call(null,(base_char + (64))))].join(''):((cljs.core._EQ_.call(null,base_char,(127)))?"Control-?":cljs.core.char$.call(null,base_char) +)))); + +return navigator__$1; +}); +cljs.pprint.readable_character = (function cljs$pprint$readable_character(params,navigator,offsets){ +var vec__23570 = cljs.pprint.next_arg.call(null,navigator); +var c = cljs.core.nth.call(null,vec__23570,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23570,(1),null); +var pred__23573_23576 = cljs.core._EQ_; +var expr__23574_23577 = new cljs.core.Keyword(null,"char-format","char-format",-1016499218).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(pred__23573_23576.call(null,"o",expr__23574_23577))){ +cljs.pprint.cl_format.call(null,true,"\\o~3, '0o",cljs.pprint.char_code.call(null,c)); +} else { +if(cljs.core.truth_(pred__23573_23576.call(null,"u",expr__23574_23577))){ +cljs.pprint.cl_format.call(null,true,"\\u~4, '0x",cljs.pprint.char_code.call(null,c)); +} else { +if(cljs.core.truth_(pred__23573_23576.call(null,null,expr__23574_23577))){ +cljs.pprint.print_char.call(null,c); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23574_23577)].join(''))); +} +} +} + +return navigator__$1; +}); +cljs.pprint.plain_character = (function cljs$pprint$plain_character(params,navigator,offsets){ +var vec__23578 = cljs.pprint.next_arg.call(null,navigator); +var char$ = cljs.core.nth.call(null,vec__23578,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23578,(1),null); +cljs.pprint.print.call(null,char$); + +return navigator__$1; +}); +cljs.pprint.abort_QMARK_ = (function cljs$pprint$abort_QMARK_(context){ +var token = cljs.core.first.call(null,context); +return ((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),token)) || (cljs.core._EQ_.call(null,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.call(null,cljs.pprint.map_passing_context.call(null,(function (element,context){ +if(cljs.core.truth_(cljs.pprint.abort_QMARK_.call(null,context))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,context], null); +} else { +var vec__23581 = cljs.pprint.realize_parameter_list.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(element),context); +var params = cljs.core.nth.call(null,vec__23581,(0),null); +var args__$1 = cljs.core.nth.call(null,vec__23581,(1),null); +var vec__23584 = cljs.pprint.unzip_map.call(null,params); +var params__$1 = cljs.core.nth.call(null,vec__23584,(0),null); +var offsets = cljs.core.nth.call(null,vec__23584,(1),null); +var params__$2 = cljs.core.assoc.call(null,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.call(null,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.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(f)].join('')); +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((cljs.core.count.call(null,s) - (1)))].join('')], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s,(0),dotloc)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s,(dotloc + (1))))].join(''),[cljs.core.str.cljs$core$IFn$_invoke$arity$1((dotloc - (1)))].join('')], null); +} +} else { +if((dotloc < (0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.subs.call(null,s,(0),exploc),cljs.core.subs.call(null,s,(exploc + (1)))], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s,(0),(1))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s,(2),exploc))].join(''),cljs.core.subs.call(null,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__23587 = cljs.pprint.float_parts_base.call(null,f); +var m = cljs.core.nth.call(null,vec__23587,(0),null); +var e = cljs.core.nth.call(null,vec__23587,(1),null); +var m1 = cljs.pprint.rtrim.call(null,m,"0"); +var m2 = cljs.pprint.ltrim.call(null,m1,"0"); +var delta = (cljs.core.count.call(null,m1) - cljs.core.count.call(null,m2)); +var e__$1 = (((((cljs.core.count.call(null,e) > (0))) && (cljs.core._EQ_.call(null,cljs.core.nth.call(null,e,(0)),"+"))))?cljs.core.subs.call(null,e,(1)):e); +if(cljs.core.empty_QMARK_.call(null,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.call(null,s) - (1)); +var i = (len_1 | (0)); +while(true){ +if((i < (0))){ +return cljs.core.apply.call(null,cljs.core.str,"1",cljs.core.repeat.call(null,(len_1 + (1)),"0")); +} else { +if(cljs.core._EQ_.call(null,"9",s.charAt(i))){ +var G__23590 = (i - (1)); +i = G__23590; +continue; +} else { +return cljs.core.apply.call(null,cljs.core.str,cljs.core.subs.call(null,s,(0),i),cljs.core.char$.call(null,(cljs.pprint.char_code.call(null,s.charAt(i)) + (1))),cljs.core.repeat.call(null,(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__3922__auto__ = d; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return w; +} +})())){ +var len = cljs.core.count.call(null,m); +var w__$1 = (cljs.core.truth_(w)?(function (){var x__4006__auto__ = (2); +var y__4007__auto__ = w; +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})():(0)); +var round_pos = (cljs.core.truth_(d)?((e + d) + (1)):(((e >= (0)))?(function (){var x__4006__auto__ = (e + (1)); +var y__4007__auto__ = (w__$1 - (1)); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})():(w__$1 + e) +)); +var vec__23591 = ((cljs.core._EQ_.call(null,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.call(null,vec__23591,(0),null); +var e1 = cljs.core.nth.call(null,vec__23591,(1),null); +var round_pos__$1 = cljs.core.nth.call(null,vec__23591,(2),null); +var len__$1 = cljs.core.nth.call(null,vec__23591,(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.call(null,m1,round_pos__$1); +var result = cljs.core.subs.call(null,m1,(0),round_pos__$1); +if((cljs.pprint.char_code.call(null,round_char) >= cljs.pprint.char_code.call(null,"5"))){ +var round_up_result = cljs.pprint.inc_s.call(null,result); +var expanded = (cljs.core.count.call(null,round_up_result) > cljs.core.count.call(null,result)); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [((expanded)?cljs.core.subs.call(null,round_up_result,(0),(cljs.core.count.call(null,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__23594 = (((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.call(null,cljs.core.str,cljs.core.repeat.call(null,((- 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.call(null,vec__23594,(0),null); +var e1 = cljs.core.nth.call(null,vec__23594,(1),null); +var len = cljs.core.count.call(null,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.call(null,cljs.core.str,cljs.core.repeat.call(null,(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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,m,(0),loc)),".",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,m,loc))].join(''); +} +}); +cljs.pprint.get_fixed = (function cljs$pprint$get_fixed(m,e,d){ +return cljs.pprint.insert_decimal.call(null,cljs.pprint.expand_fixed.call(null,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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,m,(0),k)),".",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,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__23597 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23597,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23597,(1),null); +var vec__23600 = (((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.call(null,vec__23600,(0),null); +var abs = cljs.core.nth.call(null,vec__23600,(1),null); +var abs__$1 = cljs.pprint.convert_ratio.call(null,abs); +var vec__23603 = cljs.pprint.float_parts.call(null,abs__$1); +var mantissa = cljs.core.nth.call(null,vec__23603,(0),null); +var exp = cljs.core.nth.call(null,vec__23603,(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__3922__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (arg < (0)); +} +})(); +var append_zero = ((cljs.core.not.call(null,d)) && (((cljs.core.count.call(null,mantissa) - (1)) <= scaled_exp))); +var vec__23606 = cljs.pprint.round_str.call(null,mantissa,scaled_exp,d,(cljs.core.truth_(w)?(w - (cljs.core.truth_(add_sign)?(1):(0))):null)); +var rounded_mantissa = cljs.core.nth.call(null,vec__23606,(0),null); +var scaled_exp__$1 = cljs.core.nth.call(null,vec__23606,(1),null); +var expanded = cljs.core.nth.call(null,vec__23606,(2),null); +var fixed_repr = cljs.pprint.get_fixed.call(null,rounded_mantissa,(cljs.core.truth_(expanded)?(scaled_exp__$1 + (1)):scaled_exp__$1),d); +var fixed_repr__$1 = (cljs.core.truth_((function (){var and__3911__auto__ = w; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = d; +if(cljs.core.truth_(and__3911__auto____$1)){ +return (((d >= (1))) && (cljs.core._EQ_.call(null,fixed_repr.charAt((0)),"0")) && (cljs.core._EQ_.call(null,fixed_repr.charAt((1)),".")) && ((cljs.core.count.call(null,fixed_repr) > (w - (cljs.core.truth_(add_sign)?(1):(0)))))); +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())?cljs.core.subs.call(null,fixed_repr,(1)):fixed_repr); +var prepend_zero = cljs.core._EQ_.call(null,cljs.core.first.call(null,fixed_repr__$1),"."); +if(cljs.core.truth_(w)){ +var len_23609 = cljs.core.count.call(null,fixed_repr__$1); +var signed_len_23610 = (cljs.core.truth_(add_sign)?(len_23609 + (1)):len_23609); +var prepend_zero_23611__$1 = ((prepend_zero) && (!((signed_len_23610 >= w)))); +var append_zero_23612__$1 = ((append_zero) && (!((signed_len_23610 >= w)))); +var full_len_23613 = ((((prepend_zero_23611__$1) || (append_zero_23612__$1)))?(signed_len_23610 + (1)):signed_len_23610); +if(cljs.core.truth_((function (){var and__3911__auto__ = (full_len_23613 > w); +if(and__3911__auto__){ +return new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__3911__auto__; +} +})())){ +cljs.pprint.print.call(null,cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,w,new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params)))); +} else { +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,(w - full_len_23613),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)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((prepend_zero_23611__$1)?"0":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(fixed_repr__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((append_zero_23612__$1)?"0":null))].join('')); +} +} else { +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(add_sign)?sign:null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((prepend_zero)?"0":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(fixed_repr__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((append_zero)?"0":null))].join('')); +} + +return navigator__$1; +}); +cljs.pprint.exponential_float = (function cljs$pprint$exponential_float(params,navigator,offset){ +var vec__23614 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23614,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23614,(1),null); +var arg__$1 = cljs.pprint.convert_ratio.call(null,arg); +var G__23620_23630 = cljs.pprint.float_parts.call(null,(((arg__$1 < (0)))?(- arg__$1):arg__$1)); +var vec__23621_23631 = G__23620_23630; +var mantissa_23632 = cljs.core.nth.call(null,vec__23621_23631,(0),null); +var exp_23633 = cljs.core.nth.call(null,vec__23621_23631,(1),null); +var G__23620_23634__$1 = G__23620_23630; +while(true){ +var vec__23624_23635 = G__23620_23634__$1; +var mantissa_23636__$1 = cljs.core.nth.call(null,vec__23624_23635,(0),null); +var exp_23637__$1 = cljs.core.nth.call(null,vec__23624_23635,(1),null); +var w_23638 = new cljs.core.Keyword(null,"w","w",354169001).cljs$core$IFn$_invoke$arity$1(params); +var d_23639 = new cljs.core.Keyword(null,"d","d",1972142424).cljs$core$IFn$_invoke$arity$1(params); +var e_23640 = new cljs.core.Keyword(null,"e","e",1381269198).cljs$core$IFn$_invoke$arity$1(params); +var k_23641 = new cljs.core.Keyword(null,"k","k",-2146297393).cljs$core$IFn$_invoke$arity$1(params); +var expchar_23642 = (function (){var or__3922__auto__ = new cljs.core.Keyword(null,"exponentchar","exponentchar",1986664222).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return "E"; +} +})(); +var add_sign_23643 = (function (){var or__3922__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (arg__$1 < (0)); +} +})(); +var prepend_zero_23644 = (k_23641 <= (0)); +var scaled_exp_23645 = (exp_23637__$1 - (k_23641 - (1))); +var scaled_exp_str_23646 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(Math.abs(scaled_exp_23645))].join(''); +var scaled_exp_str_23647__$1 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(expchar_23642),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((scaled_exp_23645 < (0)))?"-":"+")),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(e_23640)?cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,(e_23640 - cljs.core.count.call(null,scaled_exp_str_23646)),"0")):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(scaled_exp_str_23646)].join(''); +var exp_width_23648 = cljs.core.count.call(null,scaled_exp_str_23647__$1); +var base_mantissa_width_23649 = cljs.core.count.call(null,mantissa_23636__$1); +var scaled_mantissa_23650 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,(- k_23641),"0"))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(mantissa_23636__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(d_23639)?cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,((d_23639 - (base_mantissa_width_23649 - (1))) - (((k_23641 < (0)))?(- k_23641):(0))),"0")):null))].join(''); +var w_mantissa_23651 = (cljs.core.truth_(w_23638)?(w_23638 - exp_width_23648):null); +var vec__23627_23652 = cljs.pprint.round_str.call(null,scaled_mantissa_23650,(0),((cljs.core._EQ_.call(null,k_23641,(0)))?(d_23639 - (1)):(((k_23641 > (0)))?d_23639:(((k_23641 < (0)))?(d_23639 - (1)):null))),(cljs.core.truth_(w_mantissa_23651)?(w_mantissa_23651 - (cljs.core.truth_(add_sign_23643)?(1):(0))):null)); +var rounded_mantissa_23653 = cljs.core.nth.call(null,vec__23627_23652,(0),null); +var __23654 = cljs.core.nth.call(null,vec__23627_23652,(1),null); +var incr_exp_23655 = cljs.core.nth.call(null,vec__23627_23652,(2),null); +var full_mantissa_23656 = cljs.pprint.insert_scaled_decimal.call(null,rounded_mantissa_23653,k_23641); +var append_zero_23657 = ((cljs.core._EQ_.call(null,k_23641,cljs.core.count.call(null,rounded_mantissa_23653))) && ((d_23639 == null))); +if(cljs.core.not.call(null,incr_exp_23655)){ +if(cljs.core.truth_(w_23638)){ +var len_23658 = (cljs.core.count.call(null,full_mantissa_23656) + exp_width_23648); +var signed_len_23659 = (cljs.core.truth_(add_sign_23643)?(len_23658 + (1)):len_23658); +var prepend_zero_23660__$1 = ((prepend_zero_23644) && (!(cljs.core._EQ_.call(null,signed_len_23659,w_23638)))); +var full_len_23661 = ((prepend_zero_23660__$1)?(signed_len_23659 + (1)):signed_len_23659); +var append_zero_23662__$1 = ((append_zero_23657) && ((full_len_23661 < w_23638))); +if(cljs.core.truth_((function (){var and__3911__auto__ = (function (){var or__3922__auto__ = (full_len_23661 > w_23638); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var and__3911__auto__ = e_23640; +if(cljs.core.truth_(and__3911__auto__)){ +return ((exp_width_23648 - (2)) > e_23640); +} else { +return and__3911__auto__; +} +} +})(); +if(cljs.core.truth_(and__3911__auto__)){ +return new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__3911__auto__; +} +})())){ +cljs.pprint.print.call(null,cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,w_23638,new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params)))); +} else { +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,((w_23638 - full_len_23661) - ((append_zero_23662__$1)?(1):(0))),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_23643)?(((arg__$1 < (0)))?"-":"+"):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((prepend_zero_23660__$1)?"0":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(full_mantissa_23656),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((append_zero_23662__$1)?"0":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(scaled_exp_str_23647__$1)].join('')); +} +} else { +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(add_sign_23643)?(((arg__$1 < (0)))?"-":"+"):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((prepend_zero_23644)?"0":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(full_mantissa_23656),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((append_zero_23657)?"0":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(scaled_exp_str_23647__$1)].join('')); +} +} else { +var G__23663 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [rounded_mantissa_23653,(exp_23637__$1 + (1))], null); +G__23620_23634__$1 = G__23663; +continue; +} +break; +} + +return navigator__$1; +}); +cljs.pprint.general_float = (function cljs$pprint$general_float(params,navigator,offsets){ +var vec__23664 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23664,(0),null); +var _ = cljs.core.nth.call(null,vec__23664,(1),null); +var arg__$1 = cljs.pprint.convert_ratio.call(null,arg); +var vec__23667 = cljs.pprint.float_parts.call(null,(((arg__$1 < (0)))?(- arg__$1):arg__$1)); +var mantissa = cljs.core.nth.call(null,vec__23667,(0),null); +var exp = cljs.core.nth.call(null,vec__23667,(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_.call(null,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__4006__auto__ = cljs.core.count.call(null,mantissa); +var y__4007__auto__ = (function (){var x__4009__auto__ = n; +var y__4010__auto__ = (7); +return ((x__4009__auto__ < y__4010__auto__) ? x__4009__auto__ : y__4010__auto__); +})(); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})()); +var dd = (d__$1 - n); +if(((((0) <= dd)) && ((dd <= d__$1)))){ +var navigator__$1 = cljs.pprint.fixed_float.call(null,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.call(null,cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,ee," "))); + +return navigator__$1; +} else { +return cljs.pprint.exponential_float.call(null,params,navigator,offsets); +} +}); +cljs.pprint.dollar_float = (function cljs$pprint$dollar_float(params,navigator,offsets){ +var vec__23670 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23670,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23670,(1),null); +var vec__23673 = cljs.pprint.float_parts.call(null,Math.abs(arg)); +var mantissa = cljs.core.nth.call(null,vec__23673,(0),null); +var exp = cljs.core.nth.call(null,vec__23673,(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__3922__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (arg < (0)); +} +})(); +var vec__23676 = cljs.pprint.round_str.call(null,mantissa,exp,d,null); +var rounded_mantissa = cljs.core.nth.call(null,vec__23676,(0),null); +var scaled_exp = cljs.core.nth.call(null,vec__23676,(1),null); +var expanded = cljs.core.nth.call(null,vec__23676,(2),null); +var fixed_repr = cljs.pprint.get_fixed.call(null,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.call(null,cljs.core.str,cljs.core.repeat.call(null,(n - fixed_repr.indexOf(".")),"0"))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(fixed_repr)].join(''); +var full_len = (cljs.core.count.call(null,full_repr) + (cljs.core.truth_(add_sign)?(1):(0))); +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_((function (){var and__3911__auto__ = new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__3911__auto__)){ +return add_sign; +} else { +return and__3911__auto__; +} +})())?(((arg < (0)))?"-":"+"):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,(w - full_len),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_((function (){var and__3911__auto__ = cljs.core.not.call(null,new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params)); +if(and__3911__auto__){ +return add_sign; +} else { +return and__3911__auto__; +} +})())?(((arg < (0)))?"-":"+"):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(full_repr)].join('')); + +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__23679 = (cljs.core.truth_(arg)?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [arg,arg_navigator], null):cljs.pprint.next_arg.call(null,arg_navigator)); +var arg__$1 = cljs.core.nth.call(null,vec__23679,(0),null); +var navigator = cljs.core.nth.call(null,vec__23679,(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.call(null,clauses)))))?cljs.core.first.call(null,new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(params)):cljs.core.nth.call(null,clauses,arg__$1)); +if(cljs.core.truth_(clause)){ +return cljs.pprint.execute_sub_format.call(null,clause,navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return navigator; +} +}); +cljs.pprint.boolean_conditional = (function cljs$pprint$boolean_conditional(params,arg_navigator,offsets){ +var vec__23682 = cljs.pprint.next_arg.call(null,arg_navigator); +var arg = cljs.core.nth.call(null,vec__23682,(0),null); +var navigator = cljs.core.nth.call(null,vec__23682,(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.call(null,clauses):cljs.core.first.call(null,clauses)); +if(cljs.core.truth_(clause)){ +return cljs.pprint.execute_sub_format.call(null,clause,navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return navigator; +} +}); +cljs.pprint.check_arg_conditional = (function cljs$pprint$check_arg_conditional(params,arg_navigator,offsets){ +var vec__23685 = cljs.pprint.next_arg.call(null,arg_navigator); +var arg = cljs.core.nth.call(null,vec__23685,(0),null); +var navigator = cljs.core.nth.call(null,vec__23685,(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.call(null,clauses):null); +if(cljs.core.truth_(arg)){ +if(cljs.core.truth_(clause)){ +return cljs.pprint.execute_sub_format.call(null,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; +} +}); +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.call(null,new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__23688 = ((cljs.core.empty_QMARK_.call(null,param_clause))?cljs.pprint.get_format_arg.call(null,navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.call(null,vec__23688,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23688,(1),null); +var vec__23691 = cljs.pprint.next_arg.call(null,navigator__$1); +var arg_list = cljs.core.nth.call(null,vec__23691,(0),null); +var navigator__$2 = cljs.core.nth.call(null,vec__23691,(1),null); +var args = cljs.pprint.init_navigator.call(null,arg_list); +var count = (0); +var args__$1 = args; +var last_pos = ((-1) | (0)); +while(true){ +if(((cljs.core.not.call(null,max_count)) && (cljs.core._EQ_.call(null,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__3922__auto__ = ((cljs.core.empty_QMARK_.call(null,new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(args__$1))) && (((cljs.core.not.call(null,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__3922__auto__){ +return or__3922__auto__; +} else { +var and__3911__auto__ = max_count; +if(cljs.core.truth_(and__3911__auto__)){ +return (count >= max_count); +} else { +return and__3911__auto__; +} +} +})())){ +return navigator__$2; +} else { +var iter_result = cljs.pprint.execute_sub_format.call(null,clause,args__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),cljs.core.first.call(null,iter_result))){ +return navigator__$2; +} else { +var G__23694 = (count + (1)); +var G__23695 = iter_result; +var G__23696 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(args__$1); +count = G__23694; +args__$1 = G__23695; +last_pos = G__23696; +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.call(null,new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__23697 = ((cljs.core.empty_QMARK_.call(null,param_clause))?cljs.pprint.get_format_arg.call(null,navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.call(null,vec__23697,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23697,(1),null); +var vec__23700 = cljs.pprint.next_arg.call(null,navigator__$1); +var arg_list = cljs.core.nth.call(null,vec__23700,(0),null); +var navigator__$2 = cljs.core.nth.call(null,vec__23700,(1),null); +var count = (0); +var arg_list__$1 = arg_list; +while(true){ +if(cljs.core.truth_((function (){var or__3922__auto__ = ((cljs.core.empty_QMARK_.call(null,arg_list__$1)) && (((cljs.core.not.call(null,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__3922__auto__){ +return or__3922__auto__; +} else { +var and__3911__auto__ = max_count; +if(cljs.core.truth_(and__3911__auto__)){ +return (count >= max_count); +} else { +return and__3911__auto__; +} +} +})())){ +return navigator__$2; +} else { +var iter_result = cljs.pprint.execute_sub_format.call(null,clause,cljs.pprint.init_navigator.call(null,cljs.core.first.call(null,arg_list__$1)),cljs.pprint.init_navigator.call(null,cljs.core.next.call(null,arg_list__$1))); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"colon-up-arrow","colon-up-arrow",244853007),cljs.core.first.call(null,iter_result))){ +return navigator__$2; +} else { +var G__23703 = (count + (1)); +var G__23704 = cljs.core.next.call(null,arg_list__$1); +count = G__23703; +arg_list__$1 = G__23704; +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.call(null,new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__23705 = ((cljs.core.empty_QMARK_.call(null,param_clause))?cljs.pprint.get_format_arg.call(null,navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.call(null,vec__23705,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23705,(1),null); +var count = (0); +var navigator__$2 = navigator__$1; +var last_pos = ((-1) | (0)); +while(true){ +if(((cljs.core.not.call(null,max_count)) && (cljs.core._EQ_.call(null,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__3922__auto__ = ((cljs.core.empty_QMARK_.call(null,new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator__$2))) && (((cljs.core.not.call(null,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__3922__auto__){ +return or__3922__auto__; +} else { +var and__3911__auto__ = max_count; +if(cljs.core.truth_(and__3911__auto__)){ +return (count >= max_count); +} else { +return and__3911__auto__; +} +} +})())){ +return navigator__$2; +} else { +var iter_result = cljs.pprint.execute_sub_format.call(null,clause,navigator__$2,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),cljs.core.first.call(null,iter_result))){ +return cljs.core.second.call(null,iter_result); +} else { +var G__23708 = (count + (1)); +var G__23709 = iter_result; +var G__23710 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator__$2); +count = G__23708; +navigator__$2 = G__23709; +last_pos = G__23710; +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.call(null,new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__23711 = ((cljs.core.empty_QMARK_.call(null,param_clause))?cljs.pprint.get_format_arg.call(null,navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.call(null,vec__23711,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23711,(1),null); +var count = (0); +var navigator__$2 = navigator__$1; +while(true){ +if(cljs.core.truth_((function (){var or__3922__auto__ = ((cljs.core.empty_QMARK_.call(null,new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator__$2))) && (((cljs.core.not.call(null,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__3922__auto__){ +return or__3922__auto__; +} else { +var and__3911__auto__ = max_count; +if(cljs.core.truth_(and__3911__auto__)){ +return (count >= max_count); +} else { +return and__3911__auto__; +} +} +})())){ +return navigator__$2; +} else { +var vec__23714 = cljs.pprint.next_arg_or_nil.call(null,navigator__$2); +var sublist = cljs.core.nth.call(null,vec__23714,(0),null); +var navigator__$3 = cljs.core.nth.call(null,vec__23714,(1),null); +var iter_result = cljs.pprint.execute_sub_format.call(null,clause,cljs.pprint.init_navigator.call(null,sublist),navigator__$3); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"colon-up-arrow","colon-up-arrow",244853007),cljs.core.first.call(null,iter_result))){ +return navigator__$3; +} else { +var G__23717 = (count + (1)); +var G__23718 = navigator__$3; +count = G__23717; +navigator__$2 = G__23718; +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.call(null,params,navigator,offsets); +} else { +return cljs.pprint.justify_clauses.call(null,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_.call(null,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.call(null,clauses__$1); +var vec__23719 = (function (){var sb = (new goog.string.StringBuffer()); +var _STAR_out_STAR_23722 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = (new cljs.core.StringBufferWriter(sb)); + +try{return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.pprint.execute_sub_format.call(null,clause,navigator__$1,base_navigator),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join('')], null); +}finally {cljs.core._STAR_out_STAR_ = _STAR_out_STAR_23722; +}})(); +var iter_result = cljs.core.nth.call(null,vec__23719,(0),null); +var result_str = cljs.core.nth.call(null,vec__23719,(1),null); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),cljs.core.first.call(null,iter_result))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,cljs.core.second.call(null,iter_result)], null); +} else { +var G__23723 = cljs.core.next.call(null,clauses__$1); +var G__23724 = cljs.core.conj.call(null,acc,result_str); +var G__23725 = iter_result; +clauses__$1 = G__23723; +acc = G__23724; +navigator__$1 = G__23725; +continue; +} +} +break; +} +}); +cljs.pprint.justify_clauses = (function cljs$pprint$justify_clauses(params,navigator,offsets){ +var vec__23726 = (function (){var temp__4657__auto__ = new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(temp__4657__auto__)){ +var else$ = temp__4657__auto__; +return cljs.pprint.render_clauses.call(null,else$,navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return null; +} +})(); +var vec__23729 = cljs.core.nth.call(null,vec__23726,(0),null); +var eol_str = cljs.core.nth.call(null,vec__23729,(0),null); +var new_navigator = cljs.core.nth.call(null,vec__23726,(1),null); +var navigator__$1 = (function (){var or__3922__auto__ = new_navigator; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return navigator; +} +})(); +var vec__23732 = (function (){var temp__4657__auto__ = new cljs.core.Keyword(null,"else-params","else-params",-832171646).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(temp__4657__auto__)){ +var p = temp__4657__auto__; +return cljs.pprint.realize_parameter_list.call(null,p,navigator__$1); +} else { +return null; +} +})(); +var else_params = cljs.core.nth.call(null,vec__23732,(0),null); +var new_navigator__$1 = cljs.core.nth.call(null,vec__23732,(1),null); +var navigator__$2 = (function (){var or__3922__auto__ = new_navigator__$1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return navigator__$1; +} +})(); +var min_remaining = (function (){var or__3922__auto__ = cljs.core.first.call(null,new cljs.core.Keyword(null,"min-remaining","min-remaining",962687677).cljs$core$IFn$_invoke$arity$1(else_params)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var max_columns = (function (){var or__3922__auto__ = cljs.core.first.call(null,new cljs.core.Keyword(null,"max-columns","max-columns",1742323262).cljs$core$IFn$_invoke$arity$1(else_params)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.pprint.get_max_column.call(null,cljs.core._STAR_out_STAR_); +} +})(); +var clauses = new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params); +var vec__23735 = cljs.pprint.render_clauses.call(null,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.call(null,vec__23735,(0),null); +var navigator__$3 = cljs.core.nth.call(null,vec__23735,(1),null); +var slots = (function (){var x__4006__auto__ = (1); +var y__4007__auto__ = (((cljs.core.count.call(null,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__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})(); +var chars = cljs.core.reduce.call(null,cljs.core._PLUS_,cljs.core.map.call(null,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.call(null,((minout - mincol) - (1)),colinc))))); +var total_pad = (result_columns - chars); +var pad = (function (){var x__4006__auto__ = minpad; +var y__4007__auto__ = cljs.core.quot.call(null,total_pad,slots); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})(); +var extra_pad = (total_pad - (pad * slots)); +var pad_str = cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,pad,new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params))); +if(cljs.core.truth_((function (){var and__3911__auto__ = eol_str; +if(cljs.core.truth_(and__3911__auto__)){ +return (((cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,cljs.core._STAR_out_STAR_)))) + min_remaining) + result_columns) > max_columns); +} else { +return and__3911__auto__; +} +})())){ +cljs.pprint.print.call(null,eol_str); +} else { +} + +var slots_23738__$1 = slots; +var extra_pad_23739__$1 = extra_pad; +var strs_23740__$1 = strs; +var pad_only_23741 = (function (){var or__3922__auto__ = new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return ((cljs.core._EQ_.call(null,cljs.core.count.call(null,strs_23740__$1),(1))) && (cljs.core.not.call(null,new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params)))); +} +})(); +while(true){ +if(cljs.core.seq.call(null,strs_23740__$1)){ +cljs.pprint.print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(((cljs.core.not.call(null,pad_only_23741))?cljs.core.first.call(null,strs_23740__$1):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_((function (){var or__3922__auto__ = pad_only_23741; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.core.next.call(null,strs_23740__$1); +if(or__3922__auto____$1){ +return or__3922__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_23739__$1 > (0)))?new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params):null))].join('')); + +var G__23742 = (slots_23738__$1 - (1)); +var G__23743 = (extra_pad_23739__$1 - (1)); +var G__23744 = (cljs.core.truth_(pad_only_23741)?strs_23740__$1:cljs.core.next.call(null,strs_23740__$1)); +var G__23745 = false; +slots_23738__$1 = G__23742; +extra_pad_23739__$1 = G__23743; +strs_23740__$1 = G__23744; +pad_only_23741 = G__23745; +continue; +} else { +} +break; +} + +return navigator__$3; +}); +/** + * Returns a proxy that wraps writer, converting all characters to lower case + */ +cljs.pprint.downcase_writer = (function cljs$pprint$downcase_writer(writer){ +if(typeof cljs.pprint.t_cljs$pprint23746 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint23746 = (function (writer,meta23747){ +this.writer = writer; +this.meta23747 = meta23747; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.pprint.t_cljs$pprint23746.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_23748,meta23747__$1){ +var self__ = this; +var _23748__$1 = this; +return (new cljs.pprint.t_cljs$pprint23746(self__.writer,meta23747__$1)); +}); + +cljs.pprint.t_cljs$pprint23746.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_23748){ +var self__ = this; +var _23748__$1 = this; +return self__.meta23747; +}); + +cljs.pprint.t_cljs$pprint23746.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush.call(null,self__.writer); +}); + +cljs.pprint.t_cljs$pprint23746.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__23749 = cljs.core._EQ_; +var expr__23750 = cljs.core.type.call(null,x); +if(cljs.core.truth_(pred__23749.call(null,String,expr__23750))){ +var s = x; +return cljs.core._write.call(null,self__.writer,clojure.string.lower_case.call(null,s)); +} else { +if(cljs.core.truth_(pred__23749.call(null,Number,expr__23750))){ +var c = x; +return cljs.core._write.call(null,self__.writer,clojure.string.lower_case.call(null,cljs.core.char$.call(null,c))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23750)].join(''))); +} +} +}); + +cljs.pprint.t_cljs$pprint23746.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,"meta23747","meta23747",-156321072,null)], null); +}); + +cljs.pprint.t_cljs$pprint23746.cljs$lang$type = true; + +cljs.pprint.t_cljs$pprint23746.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint23746"; + +cljs.pprint.t_cljs$pprint23746.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.pprint/t_cljs$pprint23746"); +}); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint23746. + */ +cljs.pprint.__GT_t_cljs$pprint23746 = (function cljs$pprint$downcase_writer_$___GT_t_cljs$pprint23746(writer__$1,meta23747){ +return (new cljs.pprint.t_cljs$pprint23746(writer__$1,meta23747)); +}); + +} + +return (new cljs.pprint.t_cljs$pprint23746(writer,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * Returns a proxy that wraps writer, converting all characters to upper case + */ +cljs.pprint.upcase_writer = (function cljs$pprint$upcase_writer(writer){ +if(typeof cljs.pprint.t_cljs$pprint23752 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint23752 = (function (writer,meta23753){ +this.writer = writer; +this.meta23753 = meta23753; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.pprint.t_cljs$pprint23752.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_23754,meta23753__$1){ +var self__ = this; +var _23754__$1 = this; +return (new cljs.pprint.t_cljs$pprint23752(self__.writer,meta23753__$1)); +}); + +cljs.pprint.t_cljs$pprint23752.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_23754){ +var self__ = this; +var _23754__$1 = this; +return self__.meta23753; +}); + +cljs.pprint.t_cljs$pprint23752.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush.call(null,self__.writer); +}); + +cljs.pprint.t_cljs$pprint23752.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__23755 = cljs.core._EQ_; +var expr__23756 = cljs.core.type.call(null,x); +if(cljs.core.truth_(pred__23755.call(null,String,expr__23756))){ +var s = x; +return cljs.core._write.call(null,self__.writer,clojure.string.upper_case.call(null,s)); +} else { +if(cljs.core.truth_(pred__23755.call(null,Number,expr__23756))){ +var c = x; +return cljs.core._write.call(null,self__.writer,clojure.string.upper_case.call(null,cljs.core.char$.call(null,c))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23756)].join(''))); +} +} +}); + +cljs.pprint.t_cljs$pprint23752.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,"meta23753","meta23753",-2006048235,null)], null); +}); + +cljs.pprint.t_cljs$pprint23752.cljs$lang$type = true; + +cljs.pprint.t_cljs$pprint23752.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint23752"; + +cljs.pprint.t_cljs$pprint23752.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.pprint/t_cljs$pprint23752"); +}); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint23752. + */ +cljs.pprint.__GT_t_cljs$pprint23752 = (function cljs$pprint$upcase_writer_$___GT_t_cljs$pprint23752(writer__$1,meta23753){ +return (new cljs.pprint.t_cljs$pprint23752(writer__$1,meta23753)); +}); + +} + +return (new cljs.pprint.t_cljs$pprint23752(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.call(null,s); +var s__$1 = (cljs.core.truth_((function (){var and__3911__auto__ = first_QMARK_; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = f; +if(cljs.core.truth_(and__3911__auto____$1)){ +return goog.string.isUnicodeChar(f); +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.upper_case.call(null,f)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s,(1)))].join(''):s); +return cljs.core.apply.call(null,cljs.core.str,cljs.core.first.call(null,cljs.pprint.consume.call(null,((function (f,s__$1){ +return (function (s__$2){ +if(cljs.core.empty_QMARK_.call(null,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__3911__auto__ = m; +if(cljs.core.truth_(and__3911__auto__)){ +return (m.index + (1)); +} else { +return and__3911__auto__; +} +})(); +if(cljs.core.truth_(offset)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s__$2,(0),offset)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.upper_case.call(null,cljs.core.nth.call(null,s__$2,offset)))].join(''),cljs.core.subs.call(null,s__$2,(offset + (1)))], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [s__$2,null], null); +} +} +});})(f,s__$1)) +,s__$1))); +}); +/** + * 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.call(null,true); +if(typeof cljs.pprint.t_cljs$pprint23758 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint23758 = (function (writer,last_was_whitespace_QMARK_,meta23759){ +this.writer = writer; +this.last_was_whitespace_QMARK_ = last_was_whitespace_QMARK_; +this.meta23759 = meta23759; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.pprint.t_cljs$pprint23758.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (last_was_whitespace_QMARK_){ +return (function (_23760,meta23759__$1){ +var self__ = this; +var _23760__$1 = this; +return (new cljs.pprint.t_cljs$pprint23758(self__.writer,self__.last_was_whitespace_QMARK_,meta23759__$1)); +});})(last_was_whitespace_QMARK_)) +; + +cljs.pprint.t_cljs$pprint23758.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (last_was_whitespace_QMARK_){ +return (function (_23760){ +var self__ = this; +var _23760__$1 = this; +return self__.meta23759; +});})(last_was_whitespace_QMARK_)) +; + +cljs.pprint.t_cljs$pprint23758.prototype.cljs$core$IWriter$_flush$arity$1 = ((function (last_was_whitespace_QMARK_){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush.call(null,self__.writer); +});})(last_was_whitespace_QMARK_)) +; + +cljs.pprint.t_cljs$pprint23758.prototype.cljs$core$IWriter$_write$arity$2 = ((function (last_was_whitespace_QMARK_){ +return (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__23761 = cljs.core._EQ_; +var expr__23762 = cljs.core.type.call(null,x); +if(cljs.core.truth_(pred__23761.call(null,String,expr__23762))){ +var s = x; +cljs.core._write.call(null,self__.writer,cljs.pprint.capitalize_string.call(null,s.toLowerCase(),cljs.core.deref.call(null,self__.last_was_whitespace_QMARK_))); + +if((s.length > (0))){ +return cljs.core.reset_BANG_.call(null,self__.last_was_whitespace_QMARK_,goog.string.isEmptyOrWhitespace(cljs.core.nth.call(null,s,(cljs.core.count.call(null,s) - (1))))); +} else { +return null; +} +} else { +if(cljs.core.truth_(pred__23761.call(null,Number,expr__23762))){ +var c = cljs.core.char$.call(null,x); +var mod_c = (cljs.core.truth_(cljs.core.deref.call(null,self__.last_was_whitespace_QMARK_))?clojure.string.upper_case.call(null,c):c); +cljs.core._write.call(null,self__.writer,mod_c); + +return cljs.core.reset_BANG_.call(null,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__23762)].join(''))); +} +} +});})(last_was_whitespace_QMARK_)) +; + +cljs.pprint.t_cljs$pprint23758.getBasis = ((function (last_was_whitespace_QMARK_){ +return (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,"meta23759","meta23759",-1939226345,null)], null); +});})(last_was_whitespace_QMARK_)) +; + +cljs.pprint.t_cljs$pprint23758.cljs$lang$type = true; + +cljs.pprint.t_cljs$pprint23758.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint23758"; + +cljs.pprint.t_cljs$pprint23758.cljs$lang$ctorPrWriter = ((function (last_was_whitespace_QMARK_){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.pprint/t_cljs$pprint23758"); +});})(last_was_whitespace_QMARK_)) +; + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint23758. + */ +cljs.pprint.__GT_t_cljs$pprint23758 = ((function (last_was_whitespace_QMARK_){ +return (function cljs$pprint$capitalize_word_writer_$___GT_t_cljs$pprint23758(writer__$1,last_was_whitespace_QMARK___$1,meta23759){ +return (new cljs.pprint.t_cljs$pprint23758(writer__$1,last_was_whitespace_QMARK___$1,meta23759)); +});})(last_was_whitespace_QMARK_)) +; + +} + +return (new cljs.pprint.t_cljs$pprint23758(writer,last_was_whitespace_QMARK_,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * 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.call(null,false); +if(typeof cljs.pprint.t_cljs$pprint23764 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint23764 = (function (writer,capped,meta23765){ +this.writer = writer; +this.capped = capped; +this.meta23765 = meta23765; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.pprint.t_cljs$pprint23764.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (capped){ +return (function (_23766,meta23765__$1){ +var self__ = this; +var _23766__$1 = this; +return (new cljs.pprint.t_cljs$pprint23764(self__.writer,self__.capped,meta23765__$1)); +});})(capped)) +; + +cljs.pprint.t_cljs$pprint23764.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (capped){ +return (function (_23766){ +var self__ = this; +var _23766__$1 = this; +return self__.meta23765; +});})(capped)) +; + +cljs.pprint.t_cljs$pprint23764.prototype.cljs$core$IWriter$_flush$arity$1 = ((function (capped){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush.call(null,self__.writer); +});})(capped)) +; + +cljs.pprint.t_cljs$pprint23764.prototype.cljs$core$IWriter$_write$arity$2 = ((function (capped){ +return (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__23767 = cljs.core._EQ_; +var expr__23768 = cljs.core.type.call(null,x); +if(cljs.core.truth_(pred__23767.call(null,String,expr__23768))){ +var s = clojure.string.lower_case.call(null,x); +if(cljs.core.not.call(null,cljs.core.deref.call(null,self__.capped))){ +var m = RegExp("\\S","g").exec(s); +var offset = (function (){var and__3911__auto__ = m; +if(cljs.core.truth_(and__3911__auto__)){ +return m.index; +} else { +return and__3911__auto__; +} +})(); +if(cljs.core.truth_(offset)){ +cljs.core._write.call(null,self__.writer,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,s,(0),offset)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.upper_case.call(null,cljs.core.nth.call(null,s,offset))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.lower_case.call(null,cljs.core.subs.call(null,s,(offset + (1)))))].join('')); + +return cljs.core.reset_BANG_.call(null,self__.capped,true); +} else { +return cljs.core._write.call(null,self__.writer,s); +} +} else { +return cljs.core._write.call(null,self__.writer,clojure.string.lower_case.call(null,s)); +} +} else { +if(cljs.core.truth_(pred__23767.call(null,Number,expr__23768))){ +var c = cljs.core.char$.call(null,x); +if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.not.call(null,cljs.core.deref.call(null,self__.capped)); +if(and__3911__auto__){ +return goog.string.isUnicodeChar(c); +} else { +return and__3911__auto__; +} +})())){ +cljs.core.reset_BANG_.call(null,self__.capped,true); + +return cljs.core._write.call(null,self__.writer,clojure.string.upper_case.call(null,c)); +} else { +return cljs.core._write.call(null,self__.writer,clojure.string.lower_case.call(null,c)); +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__23768)].join(''))); +} +} +});})(capped)) +; + +cljs.pprint.t_cljs$pprint23764.getBasis = ((function (capped){ +return (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,"meta23765","meta23765",1076629902,null)], null); +});})(capped)) +; + +cljs.pprint.t_cljs$pprint23764.cljs$lang$type = true; + +cljs.pprint.t_cljs$pprint23764.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint23764"; + +cljs.pprint.t_cljs$pprint23764.cljs$lang$ctorPrWriter = ((function (capped){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.pprint/t_cljs$pprint23764"); +});})(capped)) +; + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint23764. + */ +cljs.pprint.__GT_t_cljs$pprint23764 = ((function (capped){ +return (function cljs$pprint$init_cap_writer_$___GT_t_cljs$pprint23764(writer__$1,capped__$1,meta23765){ +return (new cljs.pprint.t_cljs$pprint23764(writer__$1,capped__$1,meta23765)); +});})(capped)) +; + +} + +return (new cljs.pprint.t_cljs$pprint23764(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.call(null,new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var _STAR_out_STAR_23770 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = make_writer.call(null,cljs.core._STAR_out_STAR_); + +try{return cljs.pprint.execute_sub_format.call(null,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_23770; +}}); +/** + * 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_.call(null,writer))){ +return writer; +} else { +return cljs.pprint.pretty_writer.call(null,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_.call(null,cljs.core.IDeref,cljs.core._STAR_out_STAR_):false)):cljs.core.native_satisfies_QMARK_.call(null,cljs.core.IDeref,cljs.core._STAR_out_STAR_))){ +if(!(cljs.core._EQ_.call(null,(0),cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,cljs.core._STAR_out_STAR_))))))){ +return cljs.pprint.prn.call(null); +} else { +return null; +} +} else { +return cljs.pprint.prn.call(null); +} +}); +cljs.pprint.absolute_tabulation = (function cljs$pprint$absolute_tabulation(params,navigator,offsets){ +var colnum_23772 = new cljs.core.Keyword(null,"colnum","colnum",2023796854).cljs$core$IFn$_invoke$arity$1(params); +var colinc_23773 = new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params); +var current_23774 = cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,cljs.core._STAR_out_STAR_)))); +var space_count_23775 = (((current_23774 < colnum_23772))?(colnum_23772 - current_23774):((cljs.core._EQ_.call(null,colinc_23773,(0)))?(0):(colinc_23773 - cljs.core.rem.call(null,(current_23774 - colnum_23772),colinc_23773)) +)); +cljs.pprint.print.call(null,cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,space_count_23775," "))); + +return navigator; +}); +cljs.pprint.relative_tabulation = (function cljs$pprint$relative_tabulation(params,navigator,offsets){ +var colrel_23776 = new cljs.core.Keyword(null,"colnum","colnum",2023796854).cljs$core$IFn$_invoke$arity$1(params); +var colinc_23777 = new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params); +var start_col_23778 = (colrel_23776 + cljs.pprint.get_column.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,cljs.core.deref.call(null,cljs.core._STAR_out_STAR_))))); +var offset_23779 = (((colinc_23777 > (0)))?cljs.core.rem.call(null,start_col_23778,colinc_23777):(0)); +var space_count_23780 = (colrel_23776 + ((cljs.core._EQ_.call(null,(0),offset_23779))?(0):(colinc_23777 - offset_23779))); +cljs.pprint.print.call(null,cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,space_count_23780," "))); + +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.call(null,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.call(null,cljs.core.first.call(null,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.call(null,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.call(null,cljs.core.nth.call(null,clauses,(2))))):(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?")":null)); +var vec__23781 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23781,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23781,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23784_23786 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23785_23787 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,prefix,null,suffix); + +cljs.pprint.execute_sub_format.call(null,body,cljs.pprint.init_navigator.call(null,arg),new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23785_23787; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23784_23786; +}} + + +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.call(null,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.call(null,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__23788_SHARP_,p2__23789_SHARP_,p3__23790_SHARP_){ +return cljs.pprint.format_ascii.call(null,cljs.core.print_str,p1__23788_SHARP_,p2__23789_SHARP_,p3__23790_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__23791_SHARP_,p2__23792_SHARP_,p3__23793_SHARP_){ +return cljs.pprint.format_ascii.call(null,cljs.core.pr_str,p1__23791_SHARP_,p2__23792_SHARP_,p3__23793_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__23794_SHARP_,p2__23795_SHARP_,p3__23796_SHARP_){ +return cljs.pprint.format_integer.call(null,(10),p1__23794_SHARP_,p2__23795_SHARP_,p3__23796_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__23797_SHARP_,p2__23798_SHARP_,p3__23799_SHARP_){ +return cljs.pprint.format_integer.call(null,(2),p1__23797_SHARP_,p2__23798_SHARP_,p3__23799_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__23800_SHARP_,p2__23801_SHARP_,p3__23802_SHARP_){ +return cljs.pprint.format_integer.call(null,(8),p1__23800_SHARP_,p2__23801_SHARP_,p3__23802_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__23803_SHARP_,p2__23804_SHARP_,p3__23805_SHARP_){ +return cljs.pprint.format_integer.call(null,(16),p1__23803_SHARP_,p2__23804_SHARP_,p3__23805_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.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(params)))){ +return (function (p1__23806_SHARP_,p2__23807_SHARP_,p3__23808_SHARP_){ +return cljs.pprint.format_integer.call(null,new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(p1__23806_SHARP_),p1__23806_SHARP_,p2__23807_SHARP_,p3__23808_SHARP_); +}); +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__3911__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__3911__auto__; +} +})())){ +return (function (p1__23809_SHARP_,p2__23810_SHARP_,p3__23811_SHARP_){ +return cljs.pprint.format_old_roman.call(null,p1__23809_SHARP_,p2__23810_SHARP_,p3__23811_SHARP_); +}); +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return (function (p1__23812_SHARP_,p2__23813_SHARP_,p3__23814_SHARP_){ +return cljs.pprint.format_new_roman.call(null,p1__23812_SHARP_,p2__23813_SHARP_,p3__23814_SHARP_); +}); +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))){ +return (function (p1__23815_SHARP_,p2__23816_SHARP_,p3__23817_SHARP_){ +return cljs.pprint.format_ordinal_english.call(null,p1__23815_SHARP_,p2__23816_SHARP_,p3__23817_SHARP_); +}); +} else { +return (function (p1__23818_SHARP_,p2__23819_SHARP_,p3__23820_SHARP_){ +return cljs.pprint.format_cardinal_english.call(null,p1__23818_SHARP_,p2__23819_SHARP_,p3__23820_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.call(null,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__23830 = cljs.pprint.next_arg.call(null,navigator__$1); +var arg = cljs.core.nth.call(null,vec__23830,(0),null); +var navigator__$2 = cljs.core.nth.call(null,vec__23830,(1),null); +cljs.pprint.print.call(null,((cljs.core._EQ_.call(null,arg,(1)))?cljs.core.first.call(null,strs):cljs.core.second.call(null,strs))); + +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__4376__auto___23848 = new cljs.core.Keyword(null,"count","count",2139924085).cljs$core$IFn$_invoke$arity$1(params__$1); +var i_23849 = (0); +while(true){ +if((i_23849 < n__4376__auto___23848)){ +cljs.pprint.prn.call(null); + +var G__23850 = (i_23849 + (1)); +i_23849 = G__23850; +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_23851 = new cljs.core.Keyword(null,"count","count",2139924085).cljs$core$IFn$_invoke$arity$1(params__$1); +if((cnt_23851 > (0))){ +cljs.pprint.fresh_line.call(null); +} else { +} + +var n__4376__auto___23852 = (cnt_23851 - (1)); +var i_23853 = (0); +while(true){ +if((i_23853 < n__4376__auto___23852)){ +cljs.pprint.prn.call(null); + +var G__23854 = (i_23853 + (1)); +i_23853 = G__23854; +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__4376__auto___23855 = new cljs.core.Keyword(null,"count","count",2139924085).cljs$core$IFn$_invoke$arity$1(params__$1); +var i_23856 = (0); +while(true){ +if((i_23856 < n__4376__auto___23855)){ +cljs.pprint.print.call(null,"\f"); + +var G__23857 = (i_23856 + (1)); +i_23856 = G__23857; +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.call(null,cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,n,"~"))); + +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.call(null); +} 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__23821_SHARP_,p2__23822_SHARP_,p3__23823_SHARP_){ +return cljs.pprint.relative_tabulation.call(null,p1__23821_SHARP_,p2__23822_SHARP_,p3__23823_SHARP_); +}); +} else { +return (function (p1__23824_SHARP_,p2__23825_SHARP_,p3__23826_SHARP_){ +return cljs.pprint.absolute_tabulation.call(null,p1__23824_SHARP_,p2__23825_SHARP_,p3__23826_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.call(null,navigator,n); +} else { +return cljs.pprint.relative_reposition.call(null,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__23833 = cljs.pprint.get_format_arg.call(null,navigator); +var subformat = cljs.core.nth.call(null,vec__23833,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23833,(1),null); +return cljs.pprint.execute_sub_format.call(null,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__23836 = cljs.pprint.get_format_arg.call(null,navigator); +var subformat = cljs.core.nth.call(null,vec__23836,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23836,(1),null); +var vec__23839 = cljs.pprint.next_arg.call(null,navigator__$1); +var subargs = cljs.core.nth.call(null,vec__23839,(0),null); +var navigator__$2 = cljs.core.nth.call(null,vec__23839,(1),null); +var sub_navigator = cljs.pprint.init_navigator.call(null,subargs); +cljs.pprint.execute_sub_format.call(null,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__3911__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__3911__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__3911__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 (mod_case_writer){ +return (function (p1__23827_SHARP_,p2__23828_SHARP_,p3__23829_SHARP_){ +return cljs.pprint.modify_case.call(null,mod_case_writer,p1__23827_SHARP_,p2__23828_SHARP_,p3__23829_SHARP_); +}); +;})(mod_case_writer)) +})], 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__3911__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__3911__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__3911__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__3911__auto__ = arg1; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = arg2; +if(cljs.core.truth_(and__3911__auto____$1)){ +return arg3; +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__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__3911__auto__ = arg1; +if(cljs.core.truth_(and__3911__auto__)){ +return arg2; +} else { +return and__3911__auto__; +} +})())){ +if(cljs.core._EQ_.call(null,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_.call(null,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_.call(null,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_.call(null,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__3922__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} +})())){ +var bindings = cljs.core.concat.call(null,(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 (bindings){ +return (function (params__$1,navigator,offsets){ +var vec__23842 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23842,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23842,(1),null); +if(cljs.core.truth_(cljs.core.apply.call(null,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; +} +}); +;})(bindings)) +} else { +return (function (params__$1,navigator,offsets){ +var vec__23845 = cljs.pprint.next_arg.call(null,navigator); +var arg = cljs.core.nth.call(null,vec__23845,(0),null); +var navigator__$1 = cljs.core.nth.call(null,vec__23845,(1),null); +if(cljs.core.truth_(cljs.pprint.write_out.call(null,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__23858){ +var vec__23859 = p__23858; +var s = cljs.core.nth.call(null,vec__23859,(0),null); +var offset = cljs.core.nth.call(null,vec__23859,(1),null); +var saw_comma = cljs.core.nth.call(null,vec__23859,(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.call(null,param); +var remainder = cljs.core.subs.call(null,s,m.lastIndex); +var new_offset = (offset + m.lastIndex); +if(!(cljs.core._EQ_.call(null,",",cljs.core.nth.call(null,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.call(null,remainder,(1)),(new_offset + (1)),true], null)], null); +} +} else { +if(cljs.core.truth_(saw_comma)){ +return cljs.pprint.format_error.call(null,"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.call(null,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__23862){ +var vec__23863 = p__23862; +var p = cljs.core.nth.call(null,vec__23863,(0),null); +var offset = cljs.core.nth.call(null,vec__23863,(1),null); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [((cljs.core._EQ_.call(null,p.length,(0)))?null:((((cljs.core._EQ_.call(null,p.length,(1))) && (cljs.core.contains_QMARK_.call(null,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, ["V",null,"v",null], null), null),cljs.core.nth.call(null,p,(0))))))?new cljs.core.Keyword(null,"parameter-from-args","parameter-from-args",-758446196):((((cljs.core._EQ_.call(null,p.length,(1))) && (cljs.core._EQ_.call(null,"#",cljs.core.nth.call(null,p,(0))))))?new cljs.core.Keyword(null,"remaining-arg-count","remaining-arg-count",-1216589335):((((cljs.core._EQ_.call(null,p.length,(2))) && (cljs.core._EQ_.call(null,"'",cljs.core.nth.call(null,p,(0))))))?cljs.core.nth.call(null,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.call(null,(function (p__23866){ +var vec__23867 = p__23866; +var s__$1 = cljs.core.nth.call(null,vec__23867,(0),null); +var offset__$1 = cljs.core.nth.call(null,vec__23867,(1),null); +var flags = cljs.core.nth.call(null,vec__23867,(2),null); +if(cljs.core.empty_QMARK_.call(null,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.call(null,cljs.pprint.flag_defs,cljs.core.first.call(null,s__$1)); +if(cljs.core.truth_(flag)){ +if(cljs.core.contains_QMARK_.call(null,flags,flag)){ +return cljs.pprint.format_error.call(null,["Flag \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,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.call(null,s__$1,(1)),(offset__$1 + (1)),cljs.core.assoc.call(null,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__3911__auto__ = cljs.core.not.call(null,new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(allowed)); +if(and__3911__auto__){ +return new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags); +} else { +return and__3911__auto__; +} +})())){ +cljs.pprint.format_error.call(null,["\"@\" 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.call(null,new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags),(1))); +} else { +} + +if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.not.call(null,new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(allowed)); +if(and__3911__auto__){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags); +} else { +return and__3911__auto__; +} +})())){ +cljs.pprint.format_error.call(null,["\":\" 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.call(null,new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags),(1))); +} else { +} + +if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.not.call(null,new cljs.core.Keyword(null,"both","both",-393648840).cljs$core$IFn$_invoke$arity$1(allowed)); +if(and__3911__auto__){ +var and__3911__auto____$1 = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags); +if(cljs.core.truth_(and__3911__auto____$1)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags); +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())){ +return cljs.pprint.format_error.call(null,["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__4009__auto__ = cljs.core.nth.call(null,new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags),(1)); +var y__4010__auto__ = cljs.core.nth.call(null,new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags),(1)); +return ((x__4009__auto__ < y__4010__auto__) ? x__4009__auto__ : y__4010__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.call(null,def,flags); + +if((cljs.core.count.call(null,params) > cljs.core.count.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def)))){ +cljs.pprint.format_error.call(null,cljs.pprint.cl_format.call(null,null,"Too many parameters for directive \"~C\": ~D~:* ~[were~;was~:;were~] specified but only ~D~:* ~[are~;is~:;are~] allowed",new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def),cljs.core.count.call(null,params),cljs.core.count.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def))),cljs.core.second.call(null,cljs.core.first.call(null,params))); +} else { +} + +cljs.core.doall.call(null,cljs.core.map.call(null,(function (p1__23870_SHARP_,p2__23871_SHARP_){ +var val = cljs.core.first.call(null,p1__23870_SHARP_); +if(!((((val == null)) || (cljs.core.contains_QMARK_.call(null,cljs.pprint.special_params,val)) || (cljs.core._EQ_.call(null,cljs.core.second.call(null,cljs.core.second.call(null,p2__23871_SHARP_)),cljs.core.type.call(null,val)))))){ +return cljs.pprint.format_error.call(null,["Parameter ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,cljs.core.first.call(null,p2__23871_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.call(null,val))].join(''),cljs.core.second.call(null,p1__23870_SHARP_)); +} else { +return null; +} +}),params,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def))); + +return cljs.core.merge.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.reverse.call(null,(function (){var iter__4292__auto__ = (function cljs$pprint$map_params_$_iter__23875(s__23876){ +return (new cljs.core.LazySeq(null,(function (){ +var s__23876__$1 = s__23876; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__23876__$1); +if(temp__4657__auto__){ +var s__23876__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__23876__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__23876__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__23878 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__23877 = (0); +while(true){ +if((i__23877 < size__4291__auto__)){ +var vec__23879 = cljs.core._nth.call(null,c__4290__auto__,i__23877); +var name = cljs.core.nth.call(null,vec__23879,(0),null); +var vec__23882 = cljs.core.nth.call(null,vec__23879,(1),null); +var default$ = cljs.core.nth.call(null,vec__23882,(0),null); +cljs.core.chunk_append.call(null,b__23878,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__23891 = (i__23877 + (1)); +i__23877 = G__23891; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23878),cljs$pprint$map_params_$_iter__23875.call(null,cljs.core.chunk_rest.call(null,s__23876__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__23878),null); +} +} else { +var vec__23885 = cljs.core.first.call(null,s__23876__$2); +var name = cljs.core.nth.call(null,vec__23885,(0),null); +var vec__23888 = cljs.core.nth.call(null,vec__23885,(1),null); +var default$ = cljs.core.nth.call(null,vec__23888,(0),null); +return cljs.core.cons.call(null,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__23875.call(null,cljs.core.rest.call(null,s__23876__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def)); +})())),cljs.core.reduce.call(null,(function (p1__23872_SHARP_,p2__23873_SHARP_){ +return cljs.core.apply.call(null,cljs.core.assoc,p1__23872_SHARP_,p2__23873_SHARP_); +}),cljs.core.PersistentArrayMap.EMPTY,cljs.core.filter.call(null,(function (p1__23874_SHARP_){ +return cljs.core.first.call(null,cljs.core.nth.call(null,p1__23874_SHARP_,(1))); +}),cljs.core.zipmap.call(null,cljs.core.keys.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def)),params))),flags); +}); +cljs.pprint.compile_directive = (function cljs$pprint$compile_directive(s,offset){ +var vec__23892 = cljs.pprint.extract_params.call(null,s,offset); +var raw_params = cljs.core.nth.call(null,vec__23892,(0),null); +var vec__23895 = cljs.core.nth.call(null,vec__23892,(1),null); +var rest = cljs.core.nth.call(null,vec__23895,(0),null); +var offset__$1 = cljs.core.nth.call(null,vec__23895,(1),null); +var vec__23898 = cljs.pprint.extract_flags.call(null,rest,offset__$1); +var _ = cljs.core.nth.call(null,vec__23898,(0),null); +var vec__23901 = cljs.core.nth.call(null,vec__23898,(1),null); +var rest__$1 = cljs.core.nth.call(null,vec__23901,(0),null); +var offset__$2 = cljs.core.nth.call(null,vec__23901,(1),null); +var flags = cljs.core.nth.call(null,vec__23901,(2),null); +var directive = cljs.core.first.call(null,rest__$1); +var def = cljs.core.get.call(null,cljs.pprint.directive_table,clojure.string.upper_case.call(null,directive)); +var params = (cljs.core.truth_(def)?cljs.pprint.map_params.call(null,def,cljs.core.map.call(null,cljs.pprint.translate_param,raw_params),flags,offset__$2):null); +if(cljs.core.not.call(null,directive)){ +cljs.pprint.format_error.call(null,"Format string ended in the middle of a directive",offset__$2); +} else { +} + +if(cljs.core.not.call(null,def)){ +cljs.pprint.format_error.call(null,["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(new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656).cljs$core$IFn$_invoke$arity$1(def).call(null,params,offset__$2),def,params,offset__$2,null,null,null)),(function (){var remainder = cljs.core.subs.call(null,rest__$1,(1)); +var offset__$3 = (offset__$2 + (1)); +var trim_QMARK_ = ((cljs.core._EQ_.call(null,"\n",new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def))) && (cljs.core.not.call(null,new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params)))); +var trim_count = ((trim_QMARK_)?cljs.pprint.prefix_count.call(null,remainder,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ","\t"], null)):(0)); +var remainder__$1 = cljs.core.subs.call(null,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.call(null,s); + +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__3911__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__3911__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__3911__auto__; +} +}); +cljs.pprint.process_bracket = (function cljs$pprint$process_bracket(this$,remainder){ +var vec__23904 = cljs.pprint.collect_clauses.call(null,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.call(null,vec__23904,(0),null); +var remainder__$1 = cljs.core.nth.call(null,vec__23904,(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.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(this$),cljs.pprint.tuple_map.call(null,subex,new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(this$))),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.call(null,(function (remainder__$1){ +if(cljs.core.empty_QMARK_.call(null,remainder__$1)){ +return cljs.pprint.format_error.call(null,"No closing bracket found.",offset); +} else { +var this$ = cljs.core.first.call(null,remainder__$1); +var remainder__$2 = cljs.core.next.call(null,remainder__$1); +if(cljs.core.truth_(cljs.pprint.right_bracket.call(null,this$))){ +return cljs.pprint.process_bracket.call(null,this$,remainder__$2); +} else { +if(cljs.core._EQ_.call(null,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_.call(null,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_.call(null,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.call(null,cljs.pprint.consume.call(null,(function (p__23907){ +var vec__23908 = p__23907; +var clause_map = cljs.core.nth.call(null,vec__23908,(0),null); +var saw_else = cljs.core.nth.call(null,vec__23908,(1),null); +var remainder__$1 = cljs.core.nth.call(null,vec__23908,(2),null); +var vec__23911 = cljs.pprint.process_clause.call(null,bracket_info,offset,remainder__$1); +var clause = cljs.core.nth.call(null,vec__23911,(0),null); +var vec__23914 = cljs.core.nth.call(null,vec__23911,(1),null); +var type = cljs.core.nth.call(null,vec__23914,(0),null); +var right_params = cljs.core.nth.call(null,vec__23914,(1),null); +var else_params = cljs.core.nth.call(null,vec__23914,(2),null); +var remainder__$2 = cljs.core.nth.call(null,vec__23914,(3),null); +if(cljs.core._EQ_.call(null,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.call(null,cljs.core.concat,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])),remainder__$2], null)], null); +} else { +if(cljs.core._EQ_.call(null,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.call(null,"Two else clauses (\"~:;\") inside bracket construction.",offset); +} else { +if(cljs.core.not.call(null,new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(bracket_info))){ +return cljs.pprint.format_error.call(null,"An else clause (\"~:;\") is in a bracket type that doesn't support it.",offset); +} else { +if(((cljs.core._EQ_.call(null,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.call(null,new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(clause_map))))){ +return cljs.pprint.format_error.call(null,"The else clause (\"~:;\") is only allowed in the first position for this directive.",offset); +} else { +if(cljs.core._EQ_.call(null,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.call(null,cljs.core.concat,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)),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.call(null,cljs.core.concat,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)),true,remainder__$2], null)], null); +} + +} +} +} +} else { +if(cljs.core._EQ_.call(null,type,new cljs.core.Keyword(null,"separator","separator",-1628749125))){ +if(cljs.core.truth_(saw_else)){ +return cljs.pprint.format_error.call(null,"A plain clause (with \"~;\") follows an else clause (\"~:;\") inside bracket construction.",offset); +} else { +if(cljs.core.not.call(null,new cljs.core.Keyword(null,"allows-separator","allows-separator",-818967742).cljs$core$IFn$_invoke$arity$1(bracket_info))){ +return cljs.pprint.format_error.call(null,"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.call(null,cljs.core.concat,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)),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.call(null,cljs.pprint.consume.call(null,(function (remainder){ +var this$ = cljs.core.first.call(null,remainder); +var remainder__$1 = cljs.core.next.call(null,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.call(null,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_23917 = cljs.pprint._STAR_format_str_STAR_; +cljs.pprint._STAR_format_str_STAR_ = format_str; + +try{return cljs.pprint.process_nesting.call(null,cljs.core.first.call(null,cljs.pprint.consume.call(null,((function (_STAR_format_str_STAR_23917){ +return (function (p__23918){ +var vec__23919 = p__23918; +var s = cljs.core.nth.call(null,vec__23919,(0),null); +var offset = cljs.core.nth.call(null,vec__23919,(1),null); +if(cljs.core.empty_QMARK_.call(null,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.call(null,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.call(null,cljs.core.subs.call(null,s,(1)),(offset + (1))); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.pprint.compile_raw_string.call(null,cljs.core.subs.call(null,s,(0),tilde),offset),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.subs.call(null,s,tilde),(tilde + offset)], null)], null); + +} +} +} +});})(_STAR_format_str_STAR_23917)) +,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_23917; +}}); +/** + * 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_.call(null,format__$1)){ +return false; +} else { +if(cljs.core.truth_((function (){var or__3922__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.call(null,format__$1)))); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.core.some.call(null,cljs.pprint.needs_pretty,cljs.core.first.call(null,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.call(null,format__$1))))); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return cljs.core.some.call(null,cljs.pprint.needs_pretty,cljs.core.first.call(null,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.call(null,format__$1))))); +} +} +})())){ +return true; +} else { +var G__23922 = cljs.core.next.call(null,format__$1); +format__$1 = G__23922; +continue; +} +} +break; +} +}); +/** + * Executes the format with the arguments. + */ +cljs.pprint.execute_format = (function cljs$pprint$execute_format(var_args){ +var G__23924 = arguments.length; +switch (G__23924) { +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.call(null,stream)) || (stream === true)))?(new cljs.core.StringBufferWriter(sb)):stream); +var wrapped_stream = (cljs.core.truth_((function (){var and__3911__auto__ = cljs.pprint.needs_pretty.call(null,format); +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not.call(null,cljs.pprint.pretty_writer_QMARK_.call(null,real_stream)); +} else { +return and__3911__auto__; +} +})())?cljs.pprint.get_pretty_writer.call(null,real_stream):real_stream); +var _STAR_out_STAR_23925 = cljs.core._STAR_out_STAR_; +cljs.core._STAR_out_STAR_ = wrapped_stream; + +try{try{cljs.pprint.execute_format.call(null,format,args); +}finally {if(!((real_stream === wrapped_stream))){ +cljs.core._flush.call(null,wrapped_stream); +} else { +} +} +if(cljs.core.not.call(null,stream)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); +} else { +if(stream === true){ +return cljs.core.string_print.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join('')); +} else { +return null; + +} +} +}finally {cljs.core._STAR_out_STAR_ = _STAR_out_STAR_23925; +}}); + +cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2 = (function (format,args){ +cljs.pprint.map_passing_context.call(null,(function (element,context){ +if(cljs.core.truth_(cljs.pprint.abort_QMARK_.call(null,context))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,context], null); +} else { +var vec__23926 = cljs.pprint.realize_parameter_list.call(null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(element),context); +var params = cljs.core.nth.call(null,vec__23926,(0),null); +var args__$1 = cljs.core.nth.call(null,vec__23926,(1),null); +var vec__23929 = cljs.pprint.unzip_map.call(null,params); +var params__$1 = cljs.core.nth.call(null,vec__23929,(0),null); +var offsets = cljs.core.nth.call(null,vec__23929,(1),null); +var params__$2 = cljs.core.assoc.call(null,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.call(null,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.call(null,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.call(null,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 = cljs.pprint.reader_macros.call(null,cljs.core.first.call(null,alis)); +if(cljs.core.truth_((function (){var and__3911__auto__ = macro_char; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core._EQ_.call(null,(2),cljs.core.count.call(null,alis)); +} else { +return and__3911__auto__; +} +})())){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,macro_char); + +cljs.pprint.write_out.call(null,cljs.core.second.call(null,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.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23933_23936 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23934_23937 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +var length_count23935_23938 = (0); +var alis_23939__$1 = cljs.core.seq.call(null,alis); +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count23935_23938 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_23939__$1){ +cljs.pprint.write_out.call(null,cljs.core.first.call(null,alis_23939__$1)); + +if(cljs.core.next.call(null,alis_23939__$1)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__23940 = (length_count23935_23938 + (1)); +var G__23941 = cljs.core.next.call(null,alis_23939__$1); +length_count23935_23938 = G__23940; +alis_23939__$1 = G__23941; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23934_23937; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23933_23936; +}} + +return null; +}); +cljs.pprint.pprint_list = (function cljs$pprint$pprint_list(alis){ +if(cljs.core.not.call(null,cljs.pprint.pprint_reader_macro.call(null,alis))){ +return cljs.pprint.pprint_simple_list.call(null,alis); +} else { +return null; +} +}); +cljs.pprint.pprint_vector = (function cljs$pprint$pprint_vector(avec){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23942_23945 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23943_23946 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"[",null,"]"); + +var length_count23944_23947 = (0); +var aseq_23948 = cljs.core.seq.call(null,avec); +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count23944_23947 < cljs.core._STAR_print_length_STAR_)))){ +if(aseq_23948){ +cljs.pprint.write_out.call(null,cljs.core.first.call(null,aseq_23948)); + +if(cljs.core.next.call(null,aseq_23948)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__23949 = (length_count23944_23947 + (1)); +var G__23950 = cljs.core.next.call(null,aseq_23948); +length_count23944_23947 = G__23949; +aseq_23948 = G__23950; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23943_23946; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23942_23945; +}} + +return null; +}); +cljs.pprint.pprint_array = (function (){var format_in__23180__auto__ = "~<[~;~@{~w~^, ~:_~}~;]~:>"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__23951__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__23951 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__23952__i = 0, G__23952__a = new Array(arguments.length - 0); +while (G__23952__i < G__23952__a.length) {G__23952__a[G__23952__i] = arguments[G__23952__i + 0]; ++G__23952__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__23952__a,0,null); +} +return G__23951__delegate.call(this,args__23182__auto__);}; +G__23951.cljs$lang$maxFixedArity = 0; +G__23951.cljs$lang$applyTo = (function (arglist__23953){ +var args__23182__auto__ = cljs.core.seq(arglist__23953); +return G__23951__delegate(args__23182__auto__); +}); +G__23951.cljs$core$IFn$_invoke$arity$variadic = G__23951__delegate; +return G__23951; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})(); +cljs.pprint.pprint_map = (function cljs$pprint$pprint_map(amap){ +var vec__23954 = ((!(cljs.core.record_QMARK_.call(null,amap)))?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),(10104),(10104),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)])).call(null,amap):null); +var ns = cljs.core.nth.call(null,vec__23954,(0),null); +var lift_map = cljs.core.nth.call(null,vec__23954,(1),null); +var amap__$1 = (function (){var or__3922__auto__ = lift_map; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__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.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23957_23962 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23958_23963 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,prefix,null,"}"); + +var length_count23959_23964 = (0); +var aseq_23965 = cljs.core.seq.call(null,amap__$1); +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count23959_23964 < cljs.core._STAR_print_length_STAR_)))){ +if(aseq_23965){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23960_23966 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23961_23967 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,null,null,null); + +cljs.pprint.write_out.call(null,cljs.core.ffirst.call(null,aseq_23965)); + +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +cljs.pprint.write_out.call(null,cljs.core.fnext.call(null,cljs.core.first.call(null,aseq_23965))); + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23961_23967; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23960_23966; +}} + + +if(cljs.core.next.call(null,aseq_23965)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,", "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__23968 = (length_count23959_23964 + (1)); +var G__23969 = cljs.core.next.call(null,aseq_23965); +length_count23959_23964 = G__23968; +aseq_23965 = G__23969; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23958_23963; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23957_23962; +}} + +return null; +}); +cljs.pprint.pprint_simple_default = (function cljs$pprint$pprint_simple_default(obj){ +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,cljs.core.pr_str.call(null,obj)); +}); +cljs.pprint.pprint_set = (function (){var format_in__23180__auto__ = "~<#{~;~@{~w~^ ~:_~}~;}~:>"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__23970__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__23970 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__23971__i = 0, G__23971__a = new Array(arguments.length - 0); +while (G__23971__i < G__23971__a.length) {G__23971__a[G__23971__i] = arguments[G__23971__i + 0]; ++G__23971__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__23971__a,0,null); +} +return G__23970__delegate.call(this,args__23182__auto__);}; +G__23970.cljs$lang$maxFixedArity = 0; +G__23970.cljs$lang$applyTo = (function (arglist__23972){ +var args__23182__auto__ = cljs.core.seq(arglist__23972); +return G__23970__delegate(args__23182__auto__); +}); +G__23970.cljs$core$IFn$_invoke$arity$variadic = G__23970__delegate; +return G__23970; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})(); +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__3922__auto__ = (function (){var temp__4657__auto__ = cljs.core.re_find.call(null,/^[^$]+\$[^$]+/,name); +if(cljs.core.truth_(temp__4657__auto__)){ +var match = temp__4657__auto__; +return cljs.pprint.type_map.call(null,match); +} else { +return null; +} +})(); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__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.call(null,cljs.core.type.call(null,o).name)),"@",cljs.core.str.cljs$core$IFn$_invoke$arity$1(goog.getUid(o)),": "].join(''); +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23973_23977 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23974_23978 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,prefix,null,">"); + +cljs.pprint.pprint_indent.call(null,new cljs.core.Keyword(null,"block","block",664686210),(- (cljs.core.count.call(null,prefix) - (2)))); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +cljs.pprint.write_out.call(null,(((function (){var and__3911__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_.call(null,cljs.core.IPending,o):false)):cljs.core.native_satisfies_QMARK_.call(null,cljs.core.IPending,o)); +if(and__3911__auto__){ +return !(cljs.core._realized_QMARK_.call(null,o)); +} else { +return and__3911__auto__; +} +})())?new cljs.core.Keyword(null,"not-delivered","not-delivered",1599158697):cljs.core.deref.call(null,o))); + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23974_23978; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23973_23977; +}} + +return null; +}); +cljs.pprint.pprint_pqueue = (function (){var format_in__23180__auto__ = "~<<-(~;~@{~w~^ ~_~}~;)-<~:>"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__23979__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__23979 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__23980__i = 0, G__23980__a = new Array(arguments.length - 0); +while (G__23980__i < G__23980__a.length) {G__23980__a[G__23980__i] = arguments[G__23980__i + 0]; ++G__23980__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__23980__a,0,null); +} +return G__23979__delegate.call(this,args__23182__auto__);}; +G__23979.cljs$lang$maxFixedArity = 0; +G__23979.cljs$lang$applyTo = (function (arglist__23981){ +var args__23182__auto__ = cljs.core.seq(arglist__23981); +return G__23979__delegate(args__23182__auto__); +}); +G__23979.cljs$core$IFn$_invoke$arity$variadic = G__23979__delegate; +return G__23979; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})(); +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_.call(null,cljs.core.IDeref,obj):false)):cljs.core.native_satisfies_QMARK_.call(null,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_.call(null,obj)){ +return new cljs.core.Keyword(null,"list","list",765357683); +} else { +if(cljs.core.map_QMARK_.call(null,obj)){ +return new cljs.core.Keyword(null,"map","map",1371690461); +} else { +if(cljs.core.vector_QMARK_.call(null,obj)){ +return new cljs.core.Keyword(null,"vector","vector",1902966158); +} else { +if(cljs.core.set_QMARK_.call(null,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.pprint.simple_dispatch !== 'undefined'){ +} else { +/** + * The pretty print dispatch function for simple data structure format. + */ +cljs.pprint.simple_dispatch = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"cljs.pprint","simple-dispatch"),cljs.pprint.type_dispatcher,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.pprint.use_method.call(null,cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"list","list",765357683),cljs.pprint.pprint_list); +cljs.pprint.use_method.call(null,cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"vector","vector",1902966158),cljs.pprint.pprint_vector); +cljs.pprint.use_method.call(null,cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"map","map",1371690461),cljs.pprint.pprint_map); +cljs.pprint.use_method.call(null,cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"set","set",304602554),cljs.pprint.pprint_set); +cljs.pprint.use_method.call(null,cljs.pprint.simple_dispatch,null,(function (){ +return cljs.core._write.call(null,cljs.core._STAR_out_STAR_,cljs.core.pr_str.call(null,null)); +})); +cljs.pprint.use_method.call(null,cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"default","default",-1987822328),cljs.pprint.pprint_simple_default); +cljs.pprint.set_pprint_dispatch.call(null,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_.call(null,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_.call(null,reference)){ +var vec__23983 = cljs.pprint.brackets.call(null,reference); +var start = cljs.core.nth.call(null,vec__23983,(0),null); +var end = cljs.core.nth.call(null,vec__23983,(1),null); +var vec__23986 = reference; +var seq__23987 = cljs.core.seq.call(null,vec__23986); +var first__23988 = cljs.core.first.call(null,seq__23987); +var seq__23987__$1 = cljs.core.next.call(null,seq__23987); +var keyw = first__23988; +var args = seq__23987__$1; +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23989_23999 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23990_24000 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,start,null,end); + +(function (){var format_in__23180__auto__ = "~w~:i"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24001__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24001 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24002__i = 0, G__24002__a = new Array(arguments.length - 0); +while (G__24002__i < G__24002__a.length) {G__24002__a[G__24002__i] = arguments[G__24002__i + 0]; ++G__24002__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24002__a,0,null); +} +return G__24001__delegate.call(this,args__23182__auto__);}; +G__24001.cljs$lang$maxFixedArity = 0; +G__24001.cljs$lang$applyTo = (function (arglist__24003){ +var args__23182__auto__ = cljs.core.seq(arglist__24003); +return G__24001__delegate(args__23182__auto__); +}); +G__24001.cljs$core$IFn$_invoke$arity$variadic = G__24001__delegate; +return G__24001; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})().call(null,keyw); + +var args_24004__$1 = args; +while(true){ +if(cljs.core.seq.call(null,args_24004__$1)){ +(function (){var format_in__23180__auto__ = " "; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (args_24004__$1,format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24005__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24005 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24006__i = 0, G__24006__a = new Array(arguments.length - 0); +while (G__24006__i < G__24006__a.length) {G__24006__a[G__24006__i] = arguments[G__24006__i + 0]; ++G__24006__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24006__a,0,null); +} +return G__24005__delegate.call(this,args__23182__auto__);}; +G__24005.cljs$lang$maxFixedArity = 0; +G__24005.cljs$lang$applyTo = (function (arglist__24007){ +var args__23182__auto__ = cljs.core.seq(arglist__24007); +return G__24005__delegate(args__23182__auto__); +}); +G__24005.cljs$core$IFn$_invoke$arity$variadic = G__24005__delegate; +return G__24005; +})() +; +;})(args_24004__$1,format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})().call(null); + +var arg_24008 = cljs.core.first.call(null,args_24004__$1); +if(cljs.core.sequential_QMARK_.call(null,arg_24008)){ +var vec__23991_24009 = cljs.pprint.brackets.call(null,arg_24008); +var start_24010__$1 = cljs.core.nth.call(null,vec__23991_24009,(0),null); +var end_24011__$1 = cljs.core.nth.call(null,vec__23991_24009,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_23994_24012 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_23995_24013 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,start_24010__$1,null,end_24011__$1); + +if(((cljs.core._EQ_.call(null,cljs.core.count.call(null,arg_24008),(3))) && ((cljs.core.second.call(null,arg_24008) instanceof cljs.core.Keyword)))){ +var vec__23996_24014 = arg_24008; +var ns_24015 = cljs.core.nth.call(null,vec__23996_24014,(0),null); +var kw_24016 = cljs.core.nth.call(null,vec__23996_24014,(1),null); +var lis_24017 = cljs.core.nth.call(null,vec__23996_24014,(2),null); +(function (){var format_in__23180__auto__ = "~w ~w "; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (args_24004__$1,format_in__23180__auto__,cf__23181__auto__,vec__23996_24014,ns_24015,kw_24016,lis_24017,_STAR_current_level_STAR_23994_24012,_STAR_current_length_STAR_23995_24013,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24018__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24018 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24019__i = 0, G__24019__a = new Array(arguments.length - 0); +while (G__24019__i < G__24019__a.length) {G__24019__a[G__24019__i] = arguments[G__24019__i + 0]; ++G__24019__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24019__a,0,null); +} +return G__24018__delegate.call(this,args__23182__auto__);}; +G__24018.cljs$lang$maxFixedArity = 0; +G__24018.cljs$lang$applyTo = (function (arglist__24020){ +var args__23182__auto__ = cljs.core.seq(arglist__24020); +return G__24018__delegate(args__23182__auto__); +}); +G__24018.cljs$core$IFn$_invoke$arity$variadic = G__24018__delegate; +return G__24018; +})() +; +;})(args_24004__$1,format_in__23180__auto__,cf__23181__auto__,vec__23996_24014,ns_24015,kw_24016,lis_24017,_STAR_current_level_STAR_23994_24012,_STAR_current_length_STAR_23995_24013,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})().call(null,ns_24015,kw_24016); + +if(cljs.core.sequential_QMARK_.call(null,lis_24017)){ +(function (){var format_in__23180__auto__ = ((cljs.core.vector_QMARK_.call(null,lis_24017))?"~<[~;~@{~w~^ ~:_~}~;]~:>":"~<(~;~@{~w~^ ~:_~}~;)~:>"); +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (args_24004__$1,format_in__23180__auto__,cf__23181__auto__,vec__23996_24014,ns_24015,kw_24016,lis_24017,_STAR_current_level_STAR_23994_24012,_STAR_current_length_STAR_23995_24013,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24021__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24021 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24022__i = 0, G__24022__a = new Array(arguments.length - 0); +while (G__24022__i < G__24022__a.length) {G__24022__a[G__24022__i] = arguments[G__24022__i + 0]; ++G__24022__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24022__a,0,null); +} +return G__24021__delegate.call(this,args__23182__auto__);}; +G__24021.cljs$lang$maxFixedArity = 0; +G__24021.cljs$lang$applyTo = (function (arglist__24023){ +var args__23182__auto__ = cljs.core.seq(arglist__24023); +return G__24021__delegate(args__23182__auto__); +}); +G__24021.cljs$core$IFn$_invoke$arity$variadic = G__24021__delegate; +return G__24021; +})() +; +;})(args_24004__$1,format_in__23180__auto__,cf__23181__auto__,vec__23996_24014,ns_24015,kw_24016,lis_24017,_STAR_current_level_STAR_23994_24012,_STAR_current_length_STAR_23995_24013,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})().call(null,lis_24017); +} else { +cljs.pprint.write_out.call(null,lis_24017); +} +} else { +cljs.core.apply.call(null,(function (){var format_in__23180__auto__ = "~w ~:i~@{~w~^ ~:_~}"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (args_24004__$1,format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_23994_24012,_STAR_current_length_STAR_23995_24013,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24024__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24024 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24025__i = 0, G__24025__a = new Array(arguments.length - 0); +while (G__24025__i < G__24025__a.length) {G__24025__a[G__24025__i] = arguments[G__24025__i + 0]; ++G__24025__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24025__a,0,null); +} +return G__24024__delegate.call(this,args__23182__auto__);}; +G__24024.cljs$lang$maxFixedArity = 0; +G__24024.cljs$lang$applyTo = (function (arglist__24026){ +var args__23182__auto__ = cljs.core.seq(arglist__24026); +return G__24024__delegate(args__23182__auto__); +}); +G__24024.cljs$core$IFn$_invoke$arity$variadic = G__24024__delegate; +return G__24024; +})() +; +;})(args_24004__$1,format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_23994_24012,_STAR_current_length_STAR_23995_24013,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})(),arg_24008); +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23995_24013; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23994_24012; +}} + + +if(cljs.core.next.call(null,args_24004__$1)){ +(function (){var format_in__23180__auto__ = "~_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (args_24004__$1,format_in__23180__auto__,cf__23181__auto__,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24027__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24027 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24028__i = 0, G__24028__a = new Array(arguments.length - 0); +while (G__24028__i < G__24028__a.length) {G__24028__a[G__24028__i] = arguments[G__24028__i + 0]; ++G__24028__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24028__a,0,null); +} +return G__24027__delegate.call(this,args__23182__auto__);}; +G__24027.cljs$lang$maxFixedArity = 0; +G__24027.cljs$lang$applyTo = (function (arglist__24029){ +var args__23182__auto__ = cljs.core.seq(arglist__24029); +return G__24027__delegate(args__23182__auto__); +}); +G__24027.cljs$core$IFn$_invoke$arity$variadic = G__24027__delegate; +return G__24027; +})() +; +;})(args_24004__$1,format_in__23180__auto__,cf__23181__auto__,vec__23991_24009,start_24010__$1,end_24011__$1,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})().call(null); +} else { +} +} else { +cljs.pprint.write_out.call(null,arg_24008); + +if(cljs.core.next.call(null,args_24004__$1)){ +(function (){var format_in__23180__auto__ = "~:_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (args_24004__$1,format_in__23180__auto__,cf__23181__auto__,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args){ +return (function() { +var G__24030__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24030 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24031__i = 0, G__24031__a = new Array(arguments.length - 0); +while (G__24031__i < G__24031__a.length) {G__24031__a[G__24031__i] = arguments[G__24031__i + 0]; ++G__24031__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24031__a,0,null); +} +return G__24030__delegate.call(this,args__23182__auto__);}; +G__24030.cljs$lang$maxFixedArity = 0; +G__24030.cljs$lang$applyTo = (function (arglist__24032){ +var args__23182__auto__ = cljs.core.seq(arglist__24032); +return G__24030__delegate(args__23182__auto__); +}); +G__24030.cljs$core$IFn$_invoke$arity$variadic = G__24030__delegate; +return G__24030; +})() +; +;})(args_24004__$1,format_in__23180__auto__,cf__23181__auto__,arg_24008,_STAR_current_level_STAR_23989_23999,_STAR_current_length_STAR_23990_24000,vec__23983,start,end,vec__23986,seq__23987,first__23988,seq__23987__$1,keyw,args)) +})().call(null); +} else { +} +} + +var G__24033 = cljs.core.next.call(null,args_24004__$1); +args_24004__$1 = G__24033; +continue; +} else { +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_23990_24000; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_23989_23999; +}} + +return null; +} else { +return cljs.pprint.write_out.call(null,reference); +} +}); +/** + * The pretty print dispatch chunk for the ns macro + */ +cljs.pprint.pprint_ns = (function cljs$pprint$pprint_ns(alis){ +if(cljs.core.next.call(null,alis)){ +var vec__24034 = alis; +var seq__24035 = cljs.core.seq.call(null,vec__24034); +var first__24036 = cljs.core.first.call(null,seq__24035); +var seq__24035__$1 = cljs.core.next.call(null,seq__24035); +var ns_sym = first__24036; +var first__24036__$1 = cljs.core.first.call(null,seq__24035__$1); +var seq__24035__$2 = cljs.core.next.call(null,seq__24035__$1); +var ns_name = first__24036__$1; +var stuff = seq__24035__$2; +var vec__24037 = ((typeof cljs.core.first.call(null,stuff) === 'string')?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first.call(null,stuff),cljs.core.next.call(null,stuff)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,stuff], null)); +var doc_str = cljs.core.nth.call(null,vec__24037,(0),null); +var stuff__$1 = cljs.core.nth.call(null,vec__24037,(1),null); +var vec__24040 = ((cljs.core.map_QMARK_.call(null,cljs.core.first.call(null,stuff__$1)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first.call(null,stuff__$1),cljs.core.next.call(null,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.call(null,vec__24040,(0),null); +var references = cljs.core.nth.call(null,vec__24040,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24043_24045 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24044_24046 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +(function (){var format_in__23180__auto__ = "~w ~1I~@_~w"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24043_24045,_STAR_current_length_STAR_24044_24046,vec__24034,seq__24035,first__24036,seq__24035__$1,ns_sym,first__24036__$1,seq__24035__$2,ns_name,stuff,vec__24037,doc_str,stuff__$1,vec__24040,attr_map,references){ +return (function() { +var G__24047__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24047 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24048__i = 0, G__24048__a = new Array(arguments.length - 0); +while (G__24048__i < G__24048__a.length) {G__24048__a[G__24048__i] = arguments[G__24048__i + 0]; ++G__24048__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24048__a,0,null); +} +return G__24047__delegate.call(this,args__23182__auto__);}; +G__24047.cljs$lang$maxFixedArity = 0; +G__24047.cljs$lang$applyTo = (function (arglist__24049){ +var args__23182__auto__ = cljs.core.seq(arglist__24049); +return G__24047__delegate(args__23182__auto__); +}); +G__24047.cljs$core$IFn$_invoke$arity$variadic = G__24047__delegate; +return G__24047; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24043_24045,_STAR_current_length_STAR_24044_24046,vec__24034,seq__24035,first__24036,seq__24035__$1,ns_sym,first__24036__$1,seq__24035__$2,ns_name,stuff,vec__24037,doc_str,stuff__$1,vec__24040,attr_map,references)) +})().call(null,ns_sym,ns_name); + +if(cljs.core.truth_((function (){var or__3922__auto__ = doc_str; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = attr_map; +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return cljs.core.seq.call(null,references); +} +} +})())){ +(function (){var format_in__23180__auto__ = "~@:_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24043_24045,_STAR_current_length_STAR_24044_24046,vec__24034,seq__24035,first__24036,seq__24035__$1,ns_sym,first__24036__$1,seq__24035__$2,ns_name,stuff,vec__24037,doc_str,stuff__$1,vec__24040,attr_map,references){ +return (function() { +var G__24050__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24050 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24051__i = 0, G__24051__a = new Array(arguments.length - 0); +while (G__24051__i < G__24051__a.length) {G__24051__a[G__24051__i] = arguments[G__24051__i + 0]; ++G__24051__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24051__a,0,null); +} +return G__24050__delegate.call(this,args__23182__auto__);}; +G__24050.cljs$lang$maxFixedArity = 0; +G__24050.cljs$lang$applyTo = (function (arglist__24052){ +var args__23182__auto__ = cljs.core.seq(arglist__24052); +return G__24050__delegate(args__23182__auto__); +}); +G__24050.cljs$core$IFn$_invoke$arity$variadic = G__24050__delegate; +return G__24050; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24043_24045,_STAR_current_length_STAR_24044_24046,vec__24034,seq__24035,first__24036,seq__24035__$1,ns_sym,first__24036__$1,seq__24035__$2,ns_name,stuff,vec__24037,doc_str,stuff__$1,vec__24040,attr_map,references)) +})().call(null); +} else { +} + +if(cljs.core.truth_(doc_str)){ +cljs.pprint.cl_format.call(null,true,"\"~a\"~:[~;~:@_~]",doc_str,(function (){var or__3922__auto__ = attr_map; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.seq.call(null,references); +} +})()); +} else { +} + +if(cljs.core.truth_(attr_map)){ +(function (){var format_in__23180__auto__ = "~w~:[~;~:@_~]"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24043_24045,_STAR_current_length_STAR_24044_24046,vec__24034,seq__24035,first__24036,seq__24035__$1,ns_sym,first__24036__$1,seq__24035__$2,ns_name,stuff,vec__24037,doc_str,stuff__$1,vec__24040,attr_map,references){ +return (function() { +var G__24053__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24053 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24054__i = 0, G__24054__a = new Array(arguments.length - 0); +while (G__24054__i < G__24054__a.length) {G__24054__a[G__24054__i] = arguments[G__24054__i + 0]; ++G__24054__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24054__a,0,null); +} +return G__24053__delegate.call(this,args__23182__auto__);}; +G__24053.cljs$lang$maxFixedArity = 0; +G__24053.cljs$lang$applyTo = (function (arglist__24055){ +var args__23182__auto__ = cljs.core.seq(arglist__24055); +return G__24053__delegate(args__23182__auto__); +}); +G__24053.cljs$core$IFn$_invoke$arity$variadic = G__24053__delegate; +return G__24053; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24043_24045,_STAR_current_length_STAR_24044_24046,vec__24034,seq__24035,first__24036,seq__24035__$1,ns_sym,first__24036__$1,seq__24035__$2,ns_name,stuff,vec__24037,doc_str,stuff__$1,vec__24040,attr_map,references)) +})().call(null,attr_map,cljs.core.seq.call(null,references)); +} else { +} + +var references_24056__$1 = references; +while(true){ +cljs.pprint.pprint_ns_reference.call(null,cljs.core.first.call(null,references_24056__$1)); + +var temp__4657__auto___24057 = cljs.core.next.call(null,references_24056__$1); +if(temp__4657__auto___24057){ +var references_24058__$2 = temp__4657__auto___24057; +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__24059 = references_24058__$2; +references_24056__$1 = G__24059; +continue; +} else { +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24044_24046; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24043_24045; +}} + +return null; +} else { +return cljs.pprint.write_out.call(null,alis); +} +}); +cljs.pprint.pprint_hold_first = (function (){var format_in__23180__auto__ = "~:<~w~^ ~@_~w~^ ~_~@{~w~^ ~_~}~:>"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__24060__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24060 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24061__i = 0, G__24061__a = new Array(arguments.length - 0); +while (G__24061__i < G__24061__a.length) {G__24061__a[G__24061__i] = arguments[G__24061__i + 0]; ++G__24061__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24061__a,0,null); +} +return G__24060__delegate.call(this,args__23182__auto__);}; +G__24060.cljs$lang$maxFixedArity = 0; +G__24060.cljs$lang$applyTo = (function (arglist__24062){ +var args__23182__auto__ = cljs.core.seq(arglist__24062); +return G__24060__delegate(args__23182__auto__); +}); +G__24060.cljs$core$IFn$_invoke$arity$variadic = G__24060__delegate; +return G__24060; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})(); +cljs.pprint.single_defn = (function cljs$pprint$single_defn(alis,has_doc_str_QMARK_){ +if(cljs.core.seq.call(null,alis)){ +if(cljs.core.truth_(has_doc_str_QMARK_)){ +(function (){var format_in__23180__auto__ = " ~_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__24063__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24063 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24064__i = 0, G__24064__a = new Array(arguments.length - 0); +while (G__24064__i < G__24064__a.length) {G__24064__a[G__24064__i] = arguments[G__24064__i + 0]; ++G__24064__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24064__a,0,null); +} +return G__24063__delegate.call(this,args__23182__auto__);}; +G__24063.cljs$lang$maxFixedArity = 0; +G__24063.cljs$lang$applyTo = (function (arglist__24065){ +var args__23182__auto__ = cljs.core.seq(arglist__24065); +return G__24063__delegate(args__23182__auto__); +}); +G__24063.cljs$core$IFn$_invoke$arity$variadic = G__24063__delegate; +return G__24063; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})().call(null); +} else { +(function (){var format_in__23180__auto__ = " ~@_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__24066__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24066 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24067__i = 0, G__24067__a = new Array(arguments.length - 0); +while (G__24067__i < G__24067__a.length) {G__24067__a[G__24067__i] = arguments[G__24067__i + 0]; ++G__24067__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24067__a,0,null); +} +return G__24066__delegate.call(this,args__23182__auto__);}; +G__24066.cljs$lang$maxFixedArity = 0; +G__24066.cljs$lang$applyTo = (function (arglist__24068){ +var args__23182__auto__ = cljs.core.seq(arglist__24068); +return G__24066__delegate(args__23182__auto__); +}); +G__24066.cljs$core$IFn$_invoke$arity$variadic = G__24066__delegate; +return G__24066; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})().call(null); +} + +return (function (){var format_in__23180__auto__ = "~{~w~^ ~_~}"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__24069__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24069 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24070__i = 0, G__24070__a = new Array(arguments.length - 0); +while (G__24070__i < G__24070__a.length) {G__24070__a[G__24070__i] = arguments[G__24070__i + 0]; ++G__24070__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24070__a,0,null); +} +return G__24069__delegate.call(this,args__23182__auto__);}; +G__24069.cljs$lang$maxFixedArity = 0; +G__24069.cljs$lang$applyTo = (function (arglist__24071){ +var args__23182__auto__ = cljs.core.seq(arglist__24071); +return G__24069__delegate(args__23182__auto__); +}); +G__24069.cljs$core$IFn$_invoke$arity$variadic = G__24069__delegate; +return G__24069; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})().call(null,alis); +} else { +return null; +} +}); +cljs.pprint.multi_defn = (function cljs$pprint$multi_defn(alis,has_doc_str_QMARK_){ +if(cljs.core.seq.call(null,alis)){ +return (function (){var format_in__23180__auto__ = " ~_~{~w~^ ~_~}"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__24072__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24072 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24073__i = 0, G__24073__a = new Array(arguments.length - 0); +while (G__24073__i < G__24073__a.length) {G__24073__a[G__24073__i] = arguments[G__24073__i + 0]; ++G__24073__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24073__a,0,null); +} +return G__24072__delegate.call(this,args__23182__auto__);}; +G__24072.cljs$lang$maxFixedArity = 0; +G__24072.cljs$lang$applyTo = (function (arglist__24074){ +var args__23182__auto__ = cljs.core.seq(arglist__24074); +return G__24072__delegate(args__23182__auto__); +}); +G__24072.cljs$core$IFn$_invoke$arity$variadic = G__24072__delegate; +return G__24072; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})().call(null,alis); +} else { +return null; +} +}); +cljs.pprint.pprint_defn = (function cljs$pprint$pprint_defn(alis){ +if(cljs.core.next.call(null,alis)){ +var vec__24075 = alis; +var seq__24076 = cljs.core.seq.call(null,vec__24075); +var first__24077 = cljs.core.first.call(null,seq__24076); +var seq__24076__$1 = cljs.core.next.call(null,seq__24076); +var defn_sym = first__24077; +var first__24077__$1 = cljs.core.first.call(null,seq__24076__$1); +var seq__24076__$2 = cljs.core.next.call(null,seq__24076__$1); +var defn_name = first__24077__$1; +var stuff = seq__24076__$2; +var vec__24078 = ((typeof cljs.core.first.call(null,stuff) === 'string')?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first.call(null,stuff),cljs.core.next.call(null,stuff)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,stuff], null)); +var doc_str = cljs.core.nth.call(null,vec__24078,(0),null); +var stuff__$1 = cljs.core.nth.call(null,vec__24078,(1),null); +var vec__24081 = ((cljs.core.map_QMARK_.call(null,cljs.core.first.call(null,stuff__$1)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first.call(null,stuff__$1),cljs.core.next.call(null,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.call(null,vec__24081,(0),null); +var stuff__$2 = cljs.core.nth.call(null,vec__24081,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24084_24086 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24085_24087 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +(function (){var format_in__23180__auto__ = "~w ~1I~@_~w"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24084_24086,_STAR_current_length_STAR_24085_24087,vec__24075,seq__24076,first__24077,seq__24076__$1,defn_sym,first__24077__$1,seq__24076__$2,defn_name,stuff,vec__24078,doc_str,stuff__$1,vec__24081,attr_map,stuff__$2){ +return (function() { +var G__24088__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24088 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24089__i = 0, G__24089__a = new Array(arguments.length - 0); +while (G__24089__i < G__24089__a.length) {G__24089__a[G__24089__i] = arguments[G__24089__i + 0]; ++G__24089__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24089__a,0,null); +} +return G__24088__delegate.call(this,args__23182__auto__);}; +G__24088.cljs$lang$maxFixedArity = 0; +G__24088.cljs$lang$applyTo = (function (arglist__24090){ +var args__23182__auto__ = cljs.core.seq(arglist__24090); +return G__24088__delegate(args__23182__auto__); +}); +G__24088.cljs$core$IFn$_invoke$arity$variadic = G__24088__delegate; +return G__24088; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24084_24086,_STAR_current_length_STAR_24085_24087,vec__24075,seq__24076,first__24077,seq__24076__$1,defn_sym,first__24077__$1,seq__24076__$2,defn_name,stuff,vec__24078,doc_str,stuff__$1,vec__24081,attr_map,stuff__$2)) +})().call(null,defn_sym,defn_name); + +if(cljs.core.truth_(doc_str)){ +(function (){var format_in__23180__auto__ = " ~_~w"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24084_24086,_STAR_current_length_STAR_24085_24087,vec__24075,seq__24076,first__24077,seq__24076__$1,defn_sym,first__24077__$1,seq__24076__$2,defn_name,stuff,vec__24078,doc_str,stuff__$1,vec__24081,attr_map,stuff__$2){ +return (function() { +var G__24091__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24091 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24092__i = 0, G__24092__a = new Array(arguments.length - 0); +while (G__24092__i < G__24092__a.length) {G__24092__a[G__24092__i] = arguments[G__24092__i + 0]; ++G__24092__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24092__a,0,null); +} +return G__24091__delegate.call(this,args__23182__auto__);}; +G__24091.cljs$lang$maxFixedArity = 0; +G__24091.cljs$lang$applyTo = (function (arglist__24093){ +var args__23182__auto__ = cljs.core.seq(arglist__24093); +return G__24091__delegate(args__23182__auto__); +}); +G__24091.cljs$core$IFn$_invoke$arity$variadic = G__24091__delegate; +return G__24091; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24084_24086,_STAR_current_length_STAR_24085_24087,vec__24075,seq__24076,first__24077,seq__24076__$1,defn_sym,first__24077__$1,seq__24076__$2,defn_name,stuff,vec__24078,doc_str,stuff__$1,vec__24081,attr_map,stuff__$2)) +})().call(null,doc_str); +} else { +} + +if(cljs.core.truth_(attr_map)){ +(function (){var format_in__23180__auto__ = " ~_~w"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24084_24086,_STAR_current_length_STAR_24085_24087,vec__24075,seq__24076,first__24077,seq__24076__$1,defn_sym,first__24077__$1,seq__24076__$2,defn_name,stuff,vec__24078,doc_str,stuff__$1,vec__24081,attr_map,stuff__$2){ +return (function() { +var G__24094__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24094 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24095__i = 0, G__24095__a = new Array(arguments.length - 0); +while (G__24095__i < G__24095__a.length) {G__24095__a[G__24095__i] = arguments[G__24095__i + 0]; ++G__24095__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24095__a,0,null); +} +return G__24094__delegate.call(this,args__23182__auto__);}; +G__24094.cljs$lang$maxFixedArity = 0; +G__24094.cljs$lang$applyTo = (function (arglist__24096){ +var args__23182__auto__ = cljs.core.seq(arglist__24096); +return G__24094__delegate(args__23182__auto__); +}); +G__24094.cljs$core$IFn$_invoke$arity$variadic = G__24094__delegate; +return G__24094; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24084_24086,_STAR_current_length_STAR_24085_24087,vec__24075,seq__24076,first__24077,seq__24076__$1,defn_sym,first__24077__$1,seq__24076__$2,defn_name,stuff,vec__24078,doc_str,stuff__$1,vec__24081,attr_map,stuff__$2)) +})().call(null,attr_map); +} else { +} + +if(cljs.core.vector_QMARK_.call(null,cljs.core.first.call(null,stuff__$2))){ +cljs.pprint.single_defn.call(null,stuff__$2,(function (){var or__3922__auto__ = doc_str; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return attr_map; +} +})()); +} else { +cljs.pprint.multi_defn.call(null,stuff__$2,(function (){var or__3922__auto__ = doc_str; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return attr_map; +} +})()); + +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24085_24087; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24084_24086; +}} + +return null; +} else { +return cljs.pprint.pprint_simple_code_list.call(null,alis); +} +}); +cljs.pprint.pprint_binding_form = (function cljs$pprint$pprint_binding_form(binding_vec){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24097_24102 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24098_24103 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"[",null,"]"); + +var length_count24099_24104 = (0); +var binding_24105 = binding_vec; +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count24099_24104 < cljs.core._STAR_print_length_STAR_)))){ +if(cljs.core.seq.call(null,binding_24105)){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24100_24106 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24101_24107 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,null,null,null); + + +cljs.pprint.write_out.call(null,cljs.core.first.call(null,binding_24105)); + +if(cljs.core.next.call(null,binding_24105)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"miser","miser",-556060186)); + +cljs.pprint.write_out.call(null,cljs.core.second.call(null,binding_24105)); +} else { +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24101_24107; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24100_24106; +}} + + +if(cljs.core.next.call(null,cljs.core.rest.call(null,binding_24105))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__24108 = (length_count24099_24104 + (1)); +var G__24109 = cljs.core.next.call(null,cljs.core.rest.call(null,binding_24105)); +length_count24099_24104 = G__24108; +binding_24105 = G__24109; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24098_24103; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24097_24102; +}} + +return null; +}); +cljs.pprint.pprint_let = (function cljs$pprint$pprint_let(alis){ +var base_sym = cljs.core.first.call(null,alis); +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24110_24112 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24111_24113 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +if(((cljs.core.next.call(null,alis)) && (cljs.core.vector_QMARK_.call(null,cljs.core.second.call(null,alis))))){ +(function (){var format_in__23180__auto__ = "~w ~1I~@_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24110_24112,_STAR_current_length_STAR_24111_24113,base_sym){ +return (function() { +var G__24114__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24114 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24115__i = 0, G__24115__a = new Array(arguments.length - 0); +while (G__24115__i < G__24115__a.length) {G__24115__a[G__24115__i] = arguments[G__24115__i + 0]; ++G__24115__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24115__a,0,null); +} +return G__24114__delegate.call(this,args__23182__auto__);}; +G__24114.cljs$lang$maxFixedArity = 0; +G__24114.cljs$lang$applyTo = (function (arglist__24116){ +var args__23182__auto__ = cljs.core.seq(arglist__24116); +return G__24114__delegate(args__23182__auto__); +}); +G__24114.cljs$core$IFn$_invoke$arity$variadic = G__24114__delegate; +return G__24114; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24110_24112,_STAR_current_length_STAR_24111_24113,base_sym)) +})().call(null,base_sym); + +cljs.pprint.pprint_binding_form.call(null,cljs.core.second.call(null,alis)); + +(function (){var format_in__23180__auto__ = " ~_~{~w~^ ~_~}"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24110_24112,_STAR_current_length_STAR_24111_24113,base_sym){ +return (function() { +var G__24117__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24117 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24118__i = 0, G__24118__a = new Array(arguments.length - 0); +while (G__24118__i < G__24118__a.length) {G__24118__a[G__24118__i] = arguments[G__24118__i + 0]; ++G__24118__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24118__a,0,null); +} +return G__24117__delegate.call(this,args__23182__auto__);}; +G__24117.cljs$lang$maxFixedArity = 0; +G__24117.cljs$lang$applyTo = (function (arglist__24119){ +var args__23182__auto__ = cljs.core.seq(arglist__24119); +return G__24117__delegate(args__23182__auto__); +}); +G__24117.cljs$core$IFn$_invoke$arity$variadic = G__24117__delegate; +return G__24117; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24110_24112,_STAR_current_length_STAR_24111_24113,base_sym)) +})().call(null,cljs.core.next.call(null,cljs.core.rest.call(null,alis))); +} else { +cljs.pprint.pprint_simple_code_list.call(null,alis); +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24111_24113; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24110_24112; +}} + +return null; +}); +cljs.pprint.pprint_if = (function (){var format_in__23180__auto__ = "~:<~1I~w~^ ~@_~w~@{ ~_~w~}~:>"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__){ +return (function() { +var G__24120__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24120 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24121__i = 0, G__24121__a = new Array(arguments.length - 0); +while (G__24121__i < G__24121__a.length) {G__24121__a[G__24121__i] = arguments[G__24121__i + 0]; ++G__24121__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24121__a,0,null); +} +return G__24120__delegate.call(this,args__23182__auto__);}; +G__24120.cljs$lang$maxFixedArity = 0; +G__24120.cljs$lang$applyTo = (function (arglist__24122){ +var args__23182__auto__ = cljs.core.seq(arglist__24122); +return G__24120__delegate(args__23182__auto__); +}); +G__24120.cljs$core$IFn$_invoke$arity$variadic = G__24120__delegate; +return G__24120; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__)) +})(); +cljs.pprint.pprint_cond = (function cljs$pprint$pprint_cond(alis){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24123_24128 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24124_24129 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +cljs.pprint.pprint_indent.call(null,new cljs.core.Keyword(null,"block","block",664686210),(1)); + +cljs.pprint.write_out.call(null,cljs.core.first.call(null,alis)); + +if(cljs.core.next.call(null,alis)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var length_count24125_24130 = (0); +var alis_24131__$1 = cljs.core.next.call(null,alis); +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count24125_24130 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_24131__$1){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24126_24132 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24127_24133 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,null,null,null); + + +cljs.pprint.write_out.call(null,cljs.core.first.call(null,alis_24131__$1)); + +if(cljs.core.next.call(null,alis_24131__$1)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"miser","miser",-556060186)); + +cljs.pprint.write_out.call(null,cljs.core.second.call(null,alis_24131__$1)); +} else { +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24127_24133; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24126_24132; +}} + + +if(cljs.core.next.call(null,cljs.core.rest.call(null,alis_24131__$1))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__24134 = (length_count24125_24130 + (1)); +var G__24135 = cljs.core.next.call(null,cljs.core.rest.call(null,alis_24131__$1)); +length_count24125_24130 = G__24134; +alis_24131__$1 = G__24135; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} +} else { +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24124_24129; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24123_24128; +}} + +return null; +}); +cljs.pprint.pprint_condp = (function cljs$pprint$pprint_condp(alis){ +if((cljs.core.count.call(null,alis) > (3))){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24136_24141 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24137_24142 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +cljs.pprint.pprint_indent.call(null,new cljs.core.Keyword(null,"block","block",664686210),(1)); + +cljs.core.apply.call(null,(function (){var format_in__23180__auto__ = "~w ~@_~w ~@_~w ~_"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24136_24141,_STAR_current_length_STAR_24137_24142){ +return (function() { +var G__24143__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24143 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24144__i = 0, G__24144__a = new Array(arguments.length - 0); +while (G__24144__i < G__24144__a.length) {G__24144__a[G__24144__i] = arguments[G__24144__i + 0]; ++G__24144__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24144__a,0,null); +} +return G__24143__delegate.call(this,args__23182__auto__);}; +G__24143.cljs$lang$maxFixedArity = 0; +G__24143.cljs$lang$applyTo = (function (arglist__24145){ +var args__23182__auto__ = cljs.core.seq(arglist__24145); +return G__24143__delegate(args__23182__auto__); +}); +G__24143.cljs$core$IFn$_invoke$arity$variadic = G__24143__delegate; +return G__24143; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_current_level_STAR_24136_24141,_STAR_current_length_STAR_24137_24142)) +})(),alis); + +var length_count24138_24146 = (0); +var alis_24147__$1 = cljs.core.seq.call(null,cljs.core.drop.call(null,(3),alis)); +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count24138_24146 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_24147__$1){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24139_24148 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24140_24149 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,null,null,null); + + +cljs.pprint.write_out.call(null,cljs.core.first.call(null,alis_24147__$1)); + +if(cljs.core.next.call(null,alis_24147__$1)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"miser","miser",-556060186)); + +cljs.pprint.write_out.call(null,cljs.core.second.call(null,alis_24147__$1)); +} else { +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24140_24149; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24139_24148; +}} + + +if(cljs.core.next.call(null,cljs.core.rest.call(null,alis_24147__$1))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__24150 = (length_count24138_24146 + (1)); +var G__24151 = cljs.core.next.call(null,cljs.core.rest.call(null,alis_24147__$1)); +length_count24138_24146 = G__24150; +alis_24147__$1 = G__24151; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24137_24142; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24136_24141; +}} + +return null; +} else { +return cljs.pprint.pprint_simple_code_list.call(null,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.call(null,alis); +var nlis = cljs.core.first.call(null,cljs.core.rest.call(null,cljs.core.rest.call(null,alis))); +if(cljs.core.vector_QMARK_.call(null,args)){ +var _STAR_symbol_map_STAR_24154 = cljs.pprint._STAR_symbol_map_STAR_; +cljs.pprint._STAR_symbol_map_STAR_ = ((cljs.core._EQ_.call(null,(1),cljs.core.count.call(null,args)))?cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.first.call(null,args),"%"]):cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,((function (_STAR_symbol_map_STAR_24154,args,nlis){ +return (function (p1__24152_SHARP_,p2__24153_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__24152_SHARP_,[cljs.core.str.cljs$core$IFn$_invoke$arity$1("%"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(p2__24153_SHARP_)].join('')],null)); +});})(_STAR_symbol_map_STAR_24154,args,nlis)) +,args,cljs.core.range.call(null,(1),(cljs.core.count.call(null,args) + (1)))))); + +try{return (function (){var format_in__23180__auto__ = "~<#(~;~@{~w~^ ~_~}~;)~:>"; +var cf__23181__auto__ = ((typeof format_in__23180__auto__ === 'string')?cljs.pprint.cached_compile.call(null,format_in__23180__auto__):format_in__23180__auto__); +return ((function (format_in__23180__auto__,cf__23181__auto__,_STAR_symbol_map_STAR_24154,args,nlis){ +return (function() { +var G__24155__delegate = function (args__23182__auto__){ +var navigator__23183__auto__ = cljs.pprint.init_navigator.call(null,args__23182__auto__); +return cljs.pprint.execute_format.call(null,cf__23181__auto__,navigator__23183__auto__); +}; +var G__24155 = function (var_args){ +var args__23182__auto__ = null; +if (arguments.length > 0) { +var G__24156__i = 0, G__24156__a = new Array(arguments.length - 0); +while (G__24156__i < G__24156__a.length) {G__24156__a[G__24156__i] = arguments[G__24156__i + 0]; ++G__24156__i;} + args__23182__auto__ = new cljs.core.IndexedSeq(G__24156__a,0,null); +} +return G__24155__delegate.call(this,args__23182__auto__);}; +G__24155.cljs$lang$maxFixedArity = 0; +G__24155.cljs$lang$applyTo = (function (arglist__24157){ +var args__23182__auto__ = cljs.core.seq(arglist__24157); +return G__24155__delegate(args__23182__auto__); +}); +G__24155.cljs$core$IFn$_invoke$arity$variadic = G__24155__delegate; +return G__24155; +})() +; +;})(format_in__23180__auto__,cf__23181__auto__,_STAR_symbol_map_STAR_24154,args,nlis)) +})().call(null,nlis); +}finally {cljs.pprint._STAR_symbol_map_STAR_ = _STAR_symbol_map_STAR_24154; +}} else { +return cljs.pprint.pprint_simple_code_list.call(null,alis); +} +}); +cljs.pprint.pprint_simple_code_list = (function cljs$pprint$pprint_simple_code_list(alis){ +if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null))){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR_24158_24161 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR_24159_24162 = cljs.pprint._STAR_current_length_STAR_; +cljs.pprint._STAR_current_level_STAR_ = (cljs.pprint._STAR_current_level_STAR_ + (1)); + +cljs.pprint._STAR_current_length_STAR_ = (0); + +try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"); + +cljs.pprint.pprint_indent.call(null,new cljs.core.Keyword(null,"block","block",664686210),(1)); + +var length_count24160_24163 = (0); +var alis_24164__$1 = cljs.core.seq.call(null,alis); +while(true){ +if(((cljs.core.not.call(null,cljs.core._STAR_print_length_STAR_)) || ((length_count24160_24163 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_24164__$1){ +cljs.pprint.write_out.call(null,cljs.core.first.call(null,alis_24164__$1)); + +if(cljs.core.next.call(null,alis_24164__$1)){ +cljs.core._write.call(null,cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline.call(null,new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__24165 = (length_count24160_24163 + (1)); +var G__24166 = cljs.core.next.call(null,alis_24164__$1); +length_count24160_24163 = G__24165; +alis_24164__$1 = G__24166; +continue; +} else { +} +} else { +} +} else { +cljs.core._write.call(null,cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block.call(null,cljs.core._STAR_out_STAR_); +}finally {cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR_24159_24162; + +cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR_24158_24161; +}} + +return null; +}); +cljs.pprint.two_forms = (function cljs$pprint$two_forms(amap){ +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.mapcat.call(null,cljs.core.identity,(function (){var iter__4292__auto__ = (function cljs$pprint$two_forms_$_iter__24167(s__24168){ +return (new cljs.core.LazySeq(null,(function (){ +var s__24168__$1 = s__24168; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__24168__$1); +if(temp__4657__auto__){ +var s__24168__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__24168__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__24168__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__24170 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__24169 = (0); +while(true){ +if((i__24169 < size__4291__auto__)){ +var x = cljs.core._nth.call(null,c__4290__auto__,i__24169); +cljs.core.chunk_append.call(null,b__24170,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.call(null,cljs.core.name.call(null,cljs.core.first.call(null,x))),cljs.core.second.call(null,x)], null)], null)); + +var G__24171 = (i__24169 + (1)); +i__24169 = G__24171; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24170),cljs$pprint$two_forms_$_iter__24167.call(null,cljs.core.chunk_rest.call(null,s__24168__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24170),null); +} +} else { +var x = cljs.core.first.call(null,s__24168__$2); +return cljs.core.cons.call(null,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.call(null,cljs.core.name.call(null,cljs.core.first.call(null,x))),cljs.core.second.call(null,x)], null)], null),cljs$pprint$two_forms_$_iter__24167.call(null,cljs.core.rest.call(null,s__24168__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,amap); +})())); +}); +cljs.pprint.add_core_ns = (function cljs$pprint$add_core_ns(amap){ +var core = "clojure.core"; +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,((function (core){ +return (function (p1__24172_SHARP_){ +var vec__24173 = p1__24172_SHARP_; +var s = cljs.core.nth.call(null,vec__24173,(0),null); +var f = cljs.core.nth.call(null,vec__24173,(1),null); +if(cljs.core.not.call(null,(function (){var or__3922__auto__ = cljs.core.namespace.call(null,s); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.special_symbol_QMARK_.call(null,s); +} +})())){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.symbol.call(null,core,cljs.core.name.call(null,s)),f], null); +} else { +return p1__24172_SHARP_; +} +});})(core)) +,amap)); +}); +cljs.pprint._STAR_code_table_STAR_ = cljs.pprint.two_forms.call(null,cljs.pprint.add_core_ns.call(null,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.call(null,cljs.pprint.pprint_reader_macro.call(null,alis))){ +var temp__4655__auto__ = cljs.pprint._STAR_code_table_STAR_.call(null,cljs.core.first.call(null,alis)); +if(cljs.core.truth_(temp__4655__auto__)){ +var special_form = temp__4655__auto__; +return special_form.call(null,alis); +} else { +return cljs.pprint.pprint_simple_code_list.call(null,alis); +} +} else { +return null; +} +}); +cljs.pprint.pprint_code_symbol = (function cljs$pprint$pprint_code_symbol(sym){ +var temp__4655__auto__ = sym.call(null,cljs.pprint._STAR_symbol_map_STAR_); +if(cljs.core.truth_(temp__4655__auto__)){ +var arg_num = temp__4655__auto__; +return cljs.pprint.print.call(null,arg_num); +} else { +if(cljs.core.truth_(cljs.pprint._STAR_print_suppress_namespaces_STAR_)){ +return cljs.pprint.print.call(null,cljs.core.name.call(null,sym)); +} else { +return cljs.pprint.pr.call(null,sym); +} +} +}); +if(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__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"cljs.pprint","code-dispatch"),cljs.pprint.type_dispatcher,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"list","list",765357683),cljs.pprint.pprint_code_list); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"symbol","symbol",-1038572696),cljs.pprint.pprint_code_symbol); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"vector","vector",1902966158),cljs.pprint.pprint_vector); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"map","map",1371690461),cljs.pprint.pprint_map); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"set","set",304602554),cljs.pprint.pprint_set); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"queue","queue",1455835879),cljs.pprint.pprint_pqueue); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"deref","deref",-145586795),cljs.pprint.pprint_ideref); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,null,cljs.pprint.pr); +cljs.pprint.use_method.call(null,cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"default","default",-1987822328),cljs.pprint.pprint_simple_default); +cljs.pprint.set_pprint_dispatch.call(null,cljs.pprint.simple_dispatch); +cljs.pprint.add_padding = (function cljs$pprint$add_padding(width,s){ +var padding = (function (){var x__4006__auto__ = (0); +var y__4007__auto__ = (width - cljs.core.count.call(null,s)); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})(); +return cljs.core.apply.call(null,cljs.core.str,clojure.string.join.call(null,cljs.core.repeat.call(null,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__24180 = arguments.length; +switch (G__24180) { +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){ +var _STAR_print_newline_STAR_24181 = cljs.core._STAR_print_newline_STAR_; +try{if(cljs.core.seq.call(null,rows)){ +var widths = cljs.core.map.call(null,((function (_STAR_print_newline_STAR_24181){ +return (function (k){ +return cljs.core.apply.call(null,cljs.core.max,cljs.core.count.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(k)].join('')),cljs.core.map.call(null,((function (_STAR_print_newline_STAR_24181){ +return (function (p1__24176_SHARP_){ +return cljs.core.count.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,p1__24176_SHARP_,k))].join('')); +});})(_STAR_print_newline_STAR_24181)) +,rows)); +});})(_STAR_print_newline_STAR_24181)) +,ks); +var spacers = cljs.core.map.call(null,((function (widths,_STAR_print_newline_STAR_24181){ +return (function (p1__24177_SHARP_){ +return cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,p1__24177_SHARP_,"-")); +});})(widths,_STAR_print_newline_STAR_24181)) +,widths); +var fmt_row = ((function (widths,spacers,_STAR_print_newline_STAR_24181){ +return (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.call(null,cljs.core.str,cljs.core.interpose.call(null,divider,(function (){var iter__4292__auto__ = ((function (widths,spacers,_STAR_print_newline_STAR_24181){ +return (function cljs$pprint$iter__24182(s__24183){ +return (new cljs.core.LazySeq(null,((function (widths,spacers,_STAR_print_newline_STAR_24181){ +return (function (){ +var s__24183__$1 = s__24183; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__24183__$1); +if(temp__4657__auto__){ +var s__24183__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__24183__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__24183__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__24185 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__24184 = (0); +while(true){ +if((i__24184 < size__4291__auto__)){ +var vec__24186 = cljs.core._nth.call(null,c__4290__auto__,i__24184); +var col = cljs.core.nth.call(null,vec__24186,(0),null); +var width = cljs.core.nth.call(null,vec__24186,(1),null); +cljs.core.chunk_append.call(null,b__24185,cljs.pprint.add_padding.call(null,width,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(col)].join(''))); + +var G__24197 = (i__24184 + (1)); +i__24184 = G__24197; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24185),cljs$pprint$iter__24182.call(null,cljs.core.chunk_rest.call(null,s__24183__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24185),null); +} +} else { +var vec__24189 = cljs.core.first.call(null,s__24183__$2); +var col = cljs.core.nth.call(null,vec__24189,(0),null); +var width = cljs.core.nth.call(null,vec__24189,(1),null); +return cljs.core.cons.call(null,cljs.pprint.add_padding.call(null,width,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(col)].join('')),cljs$pprint$iter__24182.call(null,cljs.core.rest.call(null,s__24183__$2))); +} +} else { +return null; +} +break; +} +});})(widths,spacers,_STAR_print_newline_STAR_24181)) +,null,null)); +});})(widths,spacers,_STAR_print_newline_STAR_24181)) +; +return iter__4292__auto__.call(null,cljs.core.map.call(null,cljs.core.vector,cljs.core.map.call(null,((function (iter__4292__auto__,widths,spacers,_STAR_print_newline_STAR_24181){ +return (function (p1__24178_SHARP_){ +return cljs.core.get.call(null,row,p1__24178_SHARP_); +});})(iter__4292__auto__,widths,spacers,_STAR_print_newline_STAR_24181)) +,ks),widths)); +})()))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(trailer)].join(''); +});})(widths,spacers,_STAR_print_newline_STAR_24181)) +; +cljs.core.println.call(null); + +cljs.core.println.call(null,fmt_row.call(null,"| "," | "," |",cljs.core.zipmap.call(null,ks,ks))); + +cljs.core.println.call(null,fmt_row.call(null,"|-","-+-","-|",cljs.core.zipmap.call(null,ks,spacers))); + +var seq__24192 = cljs.core.seq.call(null,rows); +var chunk__24193 = null; +var count__24194 = (0); +var i__24195 = (0); +while(true){ +if((i__24195 < count__24194)){ +var row = cljs.core._nth.call(null,chunk__24193,i__24195); +cljs.core.println.call(null,fmt_row.call(null,"| "," | "," |",row)); + + +var G__24198 = seq__24192; +var G__24199 = chunk__24193; +var G__24200 = count__24194; +var G__24201 = (i__24195 + (1)); +seq__24192 = G__24198; +chunk__24193 = G__24199; +count__24194 = G__24200; +i__24195 = G__24201; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq.call(null,seq__24192); +if(temp__4657__auto__){ +var seq__24192__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24192__$1)){ +var c__4319__auto__ = cljs.core.chunk_first.call(null,seq__24192__$1); +var G__24202 = cljs.core.chunk_rest.call(null,seq__24192__$1); +var G__24203 = c__4319__auto__; +var G__24204 = cljs.core.count.call(null,c__4319__auto__); +var G__24205 = (0); +seq__24192 = G__24202; +chunk__24193 = G__24203; +count__24194 = G__24204; +i__24195 = G__24205; +continue; +} else { +var row = cljs.core.first.call(null,seq__24192__$1); +cljs.core.println.call(null,fmt_row.call(null,"| "," | "," |",row)); + + +var G__24206 = cljs.core.next.call(null,seq__24192__$1); +var G__24207 = null; +var G__24208 = (0); +var G__24209 = (0); +seq__24192 = G__24206; +chunk__24193 = G__24207; +count__24194 = G__24208; +i__24195 = G__24209; +continue; +} +} else { +return null; +} +} +break; +} +} else { +return null; +} +}finally {cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_24181; +}}); + +cljs.pprint.print_table.cljs$core$IFn$_invoke$arity$1 = (function (rows){ +return cljs.pprint.print_table.call(null,cljs.core.keys.call(null,cljs.core.first.call(null,rows)),rows); +}); + +cljs.pprint.print_table.cljs$lang$maxFixedArity = 2; + + +//# sourceMappingURL=pprint.js.map?rel=1628501142390 diff --git a/examples/resources/public/js/out/cljs/pprint.js.map b/examples/resources/public/js/out/cljs/pprint.js.map new file mode 100644 index 0000000..53e45a2 --- /dev/null +++ b/examples/resources/public/js/out/cljs/pprint.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/pprint.js","sources":["pprint.cljs?rel=1628501142435"],"lineCount":8191,"mappings":";AAQA;;;;;;AAgBA,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,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e,aAAA,AAAA5oC,wBAAYunC;IAAZsB,eAAA;IAAAC,eAAA;IAAAC,WAAA;;AAAA,AAAA,GAAA,AAAA,CAAAA,WAAAD;AAAA,UAAA,AAAA\/kC,yBAAA8kC,aAAAE,5CAAQZ;AAAR,AAAA,AACE,AAACQ,4BAAkB,kBAAA,KAAA,MAAA,7BAACZ,kCAAwBI;;AAD9C;AAAA,eAAAS;eAAAC;eAAAC;eAAA,CAAAC,WAAA;;;;;;;AAAA,IAAAzlC,qBAAA,AAAAtD,wBAAA4oC;AAAA,AAAA,GAAAtlC;AAAA,AAAA,IAAAslC,iBAAAtlC;AAAA,AAAA,GAAA,AAAAC,uCAAAqlC;AAAA,IAAA\/zB,kBAAA,AAAAC,gCAAA8zB;AAAA,AAAA,eAAA,AAAAvkC,+BAAAukC;eAAA\/zB;eAAA,AAAAnR,0BAAAmR;eAAA;;;;;;;AAAA,UAAA,AAAAzS,0BAAAwmC,hCAAQT;AAAR,AAAA,AACE,AAACQ,4BAAkB,kBAAA,KAAA,MAAA,7BAACZ,kCAAwBI;;AAD9C;AAAA,eAAA,AAAA7lC,yBAAAsmC;eAAA;eAAA;eAAA;;;;;;;;AAAA;;;;;;AAfJ;;UADF,AAAA,sCAAApB,tCAAUC;;;AANb,AAAA,wDAAA,xDAAMJ,mEAwBFE;AAxBJ,AAwBU,OAACF,kCAAY,AAAChN,yBAAK,AAACj4B,0BAAMmlC,OAAOA;;;AAxB3C,AAAA,kDAAA,lDAAMF;;AAAN","names":["var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.pprint\/print","seq23201","self__4487__auto__","cljs.core\/seq","more","cljs.core\/-write","cljs.core\/*out*","cljs.core\/apply","cljs.core\/print-str","cljs.pprint\/println","seq23205","cljs.pprint\/print-char","c","pred__23209","expr__23210","cljs.core\/=","cljs.pprint\/pr","seq23212","cljs.core\/pr-str","cljs.pprint\/prn","seq23216","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__23220","cljs.core\/nth","this","cljs.core\/first","remainder","cljs.core\/next","result","new-context","cljs.core\/conj","cljs.pprint\/consume","vec__23226","cljs.core\/not","cljs.pprint\/consume-while","vec__23231","continue","cljs.pprint\/unzip-map","m","cljs.core\/into","iter__4292__auto__","s__23237","cljs.core\/LazySeq","temp__4657__auto__","cljs.core\/chunked-seq?","c__4290__auto__","size__4291__auto__","cljs.core\/count","b__23239","cljs.core\/chunk-buffer","i__23238","vec__23240","cljs.core\/-nth","vec__23243","cljs.core\/chunk-append","cljs.core\/chunk-cons","cljs.core\/chunk","iter__23236","cljs.core\/chunk-rest","vec__23246","vec__23249","cljs.core\/cons","cljs.core\/rest","k","v1","v2","s__23253","b__23255","i__23254","vec__23256","vec__23259","iter__23252","vec__23262","vec__23265","cljs.pprint\/tuple-map","s__23271","b__23273","i__23272","vec__23274","iter__23270","vec__23277","v","cljs.pprint\/rtrim","s","len","cljs.core\/subs","cljs.pprint\/ltrim","cljs.pprint\/prefix-count","aseq","val","test","cljs.core\/coll?","cljs.core\/set","pos","x__4211__auto__","m__4212__auto__","cljs\/pprint.-ppflush","goog\/typeOf","cljs.core\/missing-protocol","cljs.pprint\/IPrettyFlush","cljs.pprint\/-ppflush","pp","cljs.pprint\/*default-page-width*","cljs.pprint\/get-field","sym","cljs.core\/deref","cljs.pprint\/set-field","new-val","cljs.core\/swap!","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__23286","cljs.pprint\/column-writer","writer","max-columns","fields","cljs.core\/atom","cljs.pprint\/t_cljs$pprint23287","_23289","meta23288","this__4161__auto__","writer__4162__auto__","opt__4163__auto__","cljs.pprint\/->t_cljs$pprint23287","_","cljs.core\/-flush","x","pred__23290","expr__23291","cljs.core\/type","js\/String","nl","p1__23284#","cljs.core\/filter","js\/Number","this__4172__auto__","k__4173__auto__","this__4174__auto__","k23295","else__4175__auto__","G__23299","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__4186__auto__","writer__4187__auto__","opts__4188__auto__","pr-pair__4189__auto__","keyval__4190__auto__","cljs.core\/pr-sequential-writer","cljs.core\/pr-writer","cljs.core\/concat","cljs.core\/PersistentVector","G__23294","cljs.core\/RecordIter","cljs.core\/-iterator","cljs.core\/nil-iter","this__4170__auto__","__meta","this__4167__auto__","__hash","this__4176__auto__","this__4168__auto__","h__4030__auto__","coll__4169__auto__","cljs.core\/hash-unordered-coll","this23296","other23297","this__4181__auto__","k__4182__auto__","cljs.core\/contains?","cljs.core\/dissoc","cljs.core\/-with-meta","cljs.core\/not-empty","this__4179__auto__","k__4180__auto__","pred__23300","cljs.core\/keyword-identical?","expr__23301","this__4184__auto__","cljs\/core.MapEntry","this__4171__auto__","this__4177__auto__","entry__4178__auto__","cljs.core\/vector?","cljs.core\/reduce","cljs.core\/-conj","cljs.pprint\/logical-block","this__4208__auto__","cljs.core\/List","writer__4209__auto__","G__23298","cljs.pprint\/->logical-block","cljs.pprint\/map->logical-block","cljs.pprint\/ancestor?","child","cljs.pprint\/buffer-length","l","cljs.core\/last","k23306","G__23310","type-tag","data","trailing-white-space","start-pos","end-pos","G__23305","this23307","other23308","pred__23311","expr__23312","cljs.pprint\/buffer-blob","G__23309","cljs.pprint\/make-buffer-blob","cljs.pprint\/buffer-blob?","x__23136__auto__","cljs.pprint\/->buffer-blob","cljs.pprint\/map->buffer-blob","k23316","G__23320","type","logical-block","G__23315","this23317","other23318","pred__23321","expr__23322","cljs.pprint\/nl-t","G__23319","cljs.pprint\/make-nl-t","cljs.pprint\/nl-t?","cljs.pprint\/->nl-t","cljs.pprint\/map->nl-t","k23326","G__23330","G__23325","this23327","other23328","pred__23331","expr__23332","cljs.pprint\/start-block-t","G__23329","cljs.pprint\/make-start-block-t","cljs.pprint\/start-block-t?","cljs.pprint\/->start-block-t","cljs.pprint\/map->start-block-t","k23336","G__23340","G__23335","this23337","other23338","pred__23341","expr__23342","cljs.pprint\/end-block-t","G__23339","cljs.pprint\/make-end-block-t","cljs.pprint\/end-block-t?","cljs.pprint\/->end-block-t","cljs.pprint\/map->end-block-t","k23346","G__23350","relative-to","offset","G__23345","this23347","other23348","pred__23351","expr__23352","cljs.pprint\/indent-t","G__23349","cljs.pprint\/make-indent-t","cljs.pprint\/indent-t?","cljs.pprint\/->indent-t","cljs.pprint\/map->indent-t","cljs.pprint\/pp-newline","method-table__4382__auto__","prefer-table__4383__auto__","method-cache__4384__auto__","cached-hierarchy__4385__auto__","hierarchy__4386__auto__","cljs.core\/get-global-hierarchy","cljs.core\/MultiFn","cljs.core\/symbol","p1__23356#","p2__23355#","cljs.pprint\/write-token","cljs.core\/-add-method","token","cb","lb","col","cljs.core\/reset!","pred__23363","expr__23364","or__3922__auto__","and__3911__auto__","cljs.pprint\/emit-nl","temp__4655__auto__","tws","cljs.pprint\/write-tokens","tokens","force-trailing-whitespace","seq__23368","chunk__23369","count__23370","i__23371","c__4319__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","cljs.pprint\/emit-nl?","t","newl","subsection","cljs.pprint\/get-section","buffer","p1__23390#","cljs.core\/take-while","cljs.core\/drop","cljs.pprint\/get-sub-section","p1__23391#","nl-lb","cljs.pprint\/update-nl-state","istr","cljs.core\/str","cljs.core\/repeat","cljs.pprint\/split-at-newline","pre","p1__23394#","cljs.pprint\/write-token-string","vec__23395","a","b","vec__23398","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__23402","chunk__23403","count__23404","i__23405","cljs.core\/butlast","cljs.pprint\/p-write-char","cljs.core\/char","cljs.pprint\/pretty-writer","cljs.pprint\/t_cljs$pprint23429","_23431","meta23430","cljs.core\/PROTOCOL_SENTINEL","cljs.pprint\/->t_cljs$pprint23429","pred__23432","expr__23433","s0","clojure.string\/replace-first","white-space","mode","cljs.pprint\/start-block","cljs.pprint\/end-block","cljs.pprint\/nl","cljs.pprint\/indent","pred__23441","expr__23442","cljs.pprint\/*print-pretty*","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__23444#","cljs.core\/mapcat","cljs.core\/key","cljs.core\/val","cljs.pprint\/pretty-writer?","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","seq23447","G__23448","self__4486__auto__","kw-args","options","cljs.core\/merge","*print-base*23449","*print-circle*23450","*print-length*23451","*print-level*23452","*print-lines*23453","*print-miser-width*23454","*print-pprint-dispatch*23455","*print-pretty*23456","*print-radix*23457","*print-readably*23458","*print-right-margin*23459","*print-suppress-namespaces*23460","cljs.core\/*print-level*","cljs.core\/*print-readably*","sb","goog\/string.StringBuffer","optval","cljs.core\/StringBufferWriter","base-writer__23119__auto__","new-writer__23120__auto__","*out*23461","*out*23462","cljs.core\/string-print","G__23471","cljs.pprint\/pprint","*out*23472","*out*23473","*print-pretty*23474","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","seq23477","G__23478","G__23479","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","k23484","G__23488","seq","rest","G__23483","this23485","other23486","pred__23489","expr__23490","cljs.pprint\/arg-navigator","G__23487","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__23493","raw-format","cljs.pprint\/absolute-reposition","position","cljs.pprint\/relative-reposition","k23497","G__23501","def","params","G__23496","this23498","other23499","pred__23502","expr__23503","cljs.pprint\/compiled-directive","G__23500","cljs.pprint\/->compiled-directive","cljs.pprint\/map->compiled-directive","p__23506","vec__23507","vec__23510","cljs.pprint\/realize-parameter","param","raw-val","vec__23513","real-param","new-navigator","cljs.pprint\/realize-parameter-list","parameter-map","vec__23516","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__23519","base-output","base-width","min-width","width","cljs.core\/quot","chars","cljs.pprint\/integral?","Math\/floor","cljs.pprint\/remainders","base","cljs.core\/reverse","p1__23522#","cljs.core\/rem","cljs.pprint\/base-str","xlated-val","p1__23523#","cljs.core\/map","cljs.pprint\/javascript-base-formats","cljs.pprint\/group-by*","unit","cljs.core\/take","cljs.pprint\/format-integer","vec__23525","neg","pos-arg","raw-str","group-str","groups","p1__23524#","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__23538","abs-arg","parts-strs","full-str","cljs.pprint\/format-simple-ordinal","cljs.pprint\/format-ordinal-english","vec__23545","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__23556","digits","digit","cljs.pprint\/format-old-roman","cljs.pprint\/format-new-roman","cljs.pprint\/special-chars","cljs.pprint\/pretty-character","vec__23567","as-int","base-char","meta","special","cljs.pprint\/readable-character","vec__23570","pred__23573","expr__23574","cljs.pprint\/plain-character","vec__23578","char","cljs.pprint\/abort?","cljs.pprint\/execute-sub-format","format","base-args","cljs.core\/second","element","vec__23581","vec__23584","cljs.pprint\/float-parts-base","f","clojure.string\/lower-case","exploc","dotloc","cljs.pprint\/float-parts","vec__23587","e","m1","m2","delta","cljs.pprint\/inc-s","len-1","i","cljs.pprint\/round-str","d","w","vec__23591","x__4006__auto__","y__4007__auto__","round-pos","e1","round-char","round-up-result","expanded","cljs.pprint\/expand-fixed","vec__23594","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__23597","vec__23600","vec__23603","vec__23606","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__23614","G__23620","vec__23621","vec__23624","vec__23627","expchar","scaled-exp-str","Math\/abs","exp-width","base-mantissa-width","scaled-mantissa","w-mantissa","incr-exp","full-mantissa","cljs.pprint\/general-float","vec__23664","vec__23667","ee","ww","x__4009__auto__","y__4010__auto__","dd","cljs.pprint\/dollar-float","vec__23670","vec__23673","vec__23676","full-repr","cljs.pprint\/choice-conditional","vec__23679","clauses","clause","cljs.pprint\/boolean-conditional","vec__23682","cljs.pprint\/check-arg-conditional","vec__23685","cljs.pprint\/iterate-sublist","vec__23688","vec__23691","max-count","param-clause","arg-list","count","last-pos","iter-result","cljs.pprint\/iterate-list-of-sublists","vec__23697","vec__23700","cljs.pprint\/iterate-main-list","vec__23705","cljs.pprint\/iterate-main-sublists","vec__23711","vec__23714","sublist","cljs.pprint\/logical-block-or-justify","cljs.pprint\/format-logical-block","cljs.pprint\/justify-clauses","cljs.pprint\/render-clauses","base-navigator","vec__23719","result-str","*out*23722","vec__23726","vec__23729","vec__23732","vec__23735","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$pprint23746","_23748","meta23747","cljs.pprint\/->t_cljs$pprint23746","pred__23749","expr__23750","cljs.pprint\/upcase-writer","cljs.pprint\/t_cljs$pprint23752","_23754","meta23753","cljs.pprint\/->t_cljs$pprint23752","pred__23755","expr__23756","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$pprint23758","_23760","meta23759","cljs.pprint\/->t_cljs$pprint23758","pred__23761","expr__23762","goog.string\/isEmptyOrWhitespace","mod-c","cljs.pprint\/init-cap-writer","capped","cljs.pprint\/t_cljs$pprint23764","_23766","meta23765","cljs.pprint\/->t_cljs$pprint23764","pred__23767","expr__23768","cljs.pprint\/modify-case","make-writer","*out*23770","cljs.pprint\/get-pretty-writer","cljs.pprint\/fresh-line","cljs.pprint\/absolute-tabulation","current","space-count","cljs.pprint\/relative-tabulation","colrel","vec__23781","clause-count","body","*current-level*23784","*current-length*23785","cljs.pprint\/set-indent","cljs.pprint\/conditional-newline","cljs.pprint\/directive-table","cljs.core\/PersistentHashMap","cljs.core\/PersistentArrayMap","p1__23788#","p2__23789#","p3__23790#","p1__23791#","p2__23792#","p3__23793#","p1__23794#","p2__23795#","p3__23796#","p1__23797#","p2__23798#","p3__23799#","p1__23800#","p2__23801#","p3__23802#","p1__23803#","p2__23804#","p3__23805#","p1__23806#","p2__23807#","p3__23808#","p1__23809#","p2__23810#","p3__23811#","p1__23812#","p2__23813#","p3__23814#","p1__23815#","p2__23816#","p3__23817#","p1__23818#","p2__23819#","p3__23820#","vec__23830","n__4376__auto__","p1__23821#","p2__23822#","p3__23823#","p1__23824#","p2__23825#","p3__23826#","vec__23833","subformat","vec__23836","vec__23839","subargs","sub-navigator","p1__23827#","p2__23828#","p3__23829#","mod-case-writer","s__23876","s__24168","s__24183","arg1","arg2","arg3","exit","bindings","vec__23842","vec__23845","cljs.pprint\/param-pattern","cljs.pprint\/special-params","p__23858","vec__23859","cljs.pprint\/extract-param","saw-comma","token-str","new-offset","cljs.pprint\/extract-params","p__23862","vec__23863","cljs.pprint\/translate-param","cljs.pprint\/flag-defs","cljs.pprint\/extract-flags","p__23866","vec__23867","flags","flag","cljs.pprint\/check-flags","allowed","cljs.pprint\/map-params","cljs.core\/doall","p1__23870#","p2__23871#","cljs.core\/name","b__23878","i__23877","vec__23879","vec__23882","iter__23875","vec__23885","vec__23888","name","default","p1__23872#","p2__23873#","p1__23874#","cljs.core\/zipmap","cljs.core\/keys","cljs.pprint\/compile-directive","vec__23892","vec__23895","vec__23898","vec__23901","raw-params","directive","trim?","trim-count","cljs.pprint\/compile-raw-string","cljs.pprint\/right-bracket","cljs.pprint\/separator?","cljs.pprint\/else-separator?","cljs.pprint\/process-bracket","vec__23904","subex","cljs.pprint\/collect-clauses","cljs.pprint\/process-clause","bracket-info","p__23907","vec__23908","clause-map","saw-else","vec__23911","vec__23914","right-params","cljs.core\/merge-with","cljs.pprint\/process-nesting","bracket","format-str","*format-str*23917","p__23918","vec__23919","tilde","cljs.pprint\/needs-pretty","cljs.core\/some","G__23924","stream","real-stream","wrapped-stream","*out*23925","vec__23926","vec__23929","cljs.pprint\/cached-compile","cljs.core\/memoize","cljs.pprint\/use-method","multifn","dispatch-val","cljs.pprint\/reader-macros","cljs.pprint\/pprint-reader-macro","alis","macro-char","cljs.pprint\/pprint-simple-list","*current-level*23933","*current-length*23934","length-count23935","cljs.pprint\/pprint-list","cljs.pprint\/pprint-vector","avec","*current-level*23942","*current-length*23943","length-count23944","cljs.pprint\/pprint-array","format-in__23180__auto__","cf__23181__auto__","args__23182__auto__","navigator__23183__auto__","cljs.pprint\/pprint-map","amap","vec__23954","ns","lift-map","cljs.core\/record?","cljs.core\/lift-ns","*current-level*23957","*current-length*23958","length-count23959","*current-level*23960","*current-length*23961","cljs.core\/ffirst","cljs.core\/fnext","cljs.pprint\/pprint-simple-default","obj","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*23973","*current-length*23974","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?","cljs.pprint\/simple-dispatch","cljs.pprint\/brackets","form","cljs.pprint\/pprint-ns-reference","reference","cljs.core\/sequential?","vec__23983","vec__23986","seq__23987","first__23988","start","end","keyw","*current-level*23989","*current-length*23990","vec__23991","*current-level*23994","*current-length*23995","vec__23996","kw","cljs.pprint\/pprint-ns","vec__24034","seq__24035","first__24036","vec__24037","vec__24040","ns-sym","ns-name","stuff","doc-str","attr-map","references","*current-level*24043","*current-length*24044","cljs.pprint\/pprint-hold-first","cljs.pprint\/single-defn","has-doc-str?","cljs.pprint\/multi-defn","cljs.pprint\/pprint-defn","vec__24075","seq__24076","first__24077","vec__24078","vec__24081","defn-sym","defn-name","*current-level*24084","*current-length*24085","cljs.pprint\/pprint-simple-code-list","cljs.pprint\/pprint-binding-form","binding-vec","*current-level*24097","*current-length*24098","length-count24099","*current-level*24100","*current-length*24101","binding","cljs.pprint\/pprint-let","base-sym","*current-level*24110","*current-length*24111","cljs.pprint\/pprint-if","cljs.pprint\/pprint-cond","*current-level*24123","*current-length*24124","length-count24125","*current-level*24126","*current-length*24127","cljs.pprint\/pprint-condp","*current-level*24136","*current-length*24137","length-count24138","*current-level*24139","*current-length*24140","cljs.pprint\/*symbol-map*","cljs.pprint\/pprint-anon-func","nlis","*symbol-map*24154","p1__24152#","p2__24153#","cljs.core\/range","*current-level*24158","*current-length*24159","length-count24160","cljs.pprint\/two-forms","cljs.core\/identity","b__24170","i__24169","iter__24167","cljs.pprint\/add-core-ns","core","p1__24172#","vec__24173","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","cljs.pprint\/code-dispatch","cljs.pprint\/add-padding","padding","clojure.string\/join","G__24180","cljs.pprint\/print-table","ks","rows","*print-newline*24181","cljs.core\/*print-newline*","widths","cljs.core\/max","p1__24176#","spacers","p1__24177#","fmt-row","leader","divider","trailer","row","b__24185","i__24184","vec__24186","iter__24182","vec__24189","cljs.core\/vector","p1__24178#","cljs.core\/println","seq__24192","chunk__24193","count__24194","i__24195"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/reader.cljs b/examples/resources/public/js/out/cljs/reader.cljs new file mode 100644 index 0000000..964f6be --- /dev/null +++ b/examples/resources/public/js/out/cljs/reader.cljs @@ -0,0 +1,214 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns cljs.reader + (:require-macros [cljs.reader :refer [add-data-readers]]) + (:require [goog.object :as gobject] + [cljs.tools.reader :as treader] + [cljs.tools.reader.edn :as edn]) + (:import [goog.string StringBuffer])) + +(defn ^:private zero-fill-right-and-truncate [s width] + (cond + (= width (count s)) s + (< width (count s)) (subs s 0 width) + :else + (loop [b (StringBuffer. s)] + (if (< (.getLength b) width) + (recur (.append b "0")) + (.toString b))))) + +(defn ^:private divisible? + [num div] + (zero? (mod num div))) + +(defn ^:private indivisible? + [num div] + (not (divisible? num div))) + +(defn ^:private leap-year? + [year] + (and (divisible? year 4) + (or (indivisible? year 100) + (divisible? year 400)))) + +(def ^:private days-in-month + (let [dim-norm [nil 31 28 31 30 31 30 31 31 30 31 30 31] + dim-leap [nil 31 29 31 30 31 30 31 31 30 31 30 31]] + (fn [month leap-year?] + (get (if leap-year? dim-leap dim-norm) month)))) + +(def ^:private timestamp-regex #"(\d\d\d\d)(?:-(\d\d)(?:-(\d\d)(?:[T](\d\d)(?::(\d\d)(?::(\d\d)(?:[.](\d+))?)?)?)?)?)?(?:[Z]|([-+])(\d\d):(\d\d))?") + +(defn ^:private parse-int [s] + (let [n (js/parseInt s 10)] + (if-not (js/isNaN n) + n))) + +(defn ^:private check [low n high msg] + (when-not (<= low n high) + (throw (js/Error. (str msg " Failed: " low "<=" n "<=" high)))) + n) + +(defn parse-and-validate-timestamp [s] + (let [[_ years months days hours minutes seconds fraction offset-sign offset-hours offset-minutes :as v] + (re-matches timestamp-regex s)] + (if-not v + (throw (js/Error. (str "Unrecognized date/time syntax: " s))) + (let [years (parse-int years) + months (or (parse-int months) 1) + days (or (parse-int days) 1) + hours (or (parse-int hours) 0) + minutes (or (parse-int minutes) 0) + seconds (or (parse-int seconds) 0) + fraction (or (parse-int (zero-fill-right-and-truncate fraction 3)) 0) + offset-sign (if (= offset-sign "-") -1 1) + offset-hours (or (parse-int offset-hours) 0) + offset-minutes (or (parse-int offset-minutes) 0) + offset (* offset-sign (+ (* offset-hours 60) offset-minutes))] + [years + (check 1 months 12 "timestamp month field must be in range 1..12") + (check 1 days (days-in-month months (leap-year? years)) "timestamp day field must be in range 1..last day in month") + (check 0 hours 23 "timestamp hour field must be in range 0..23") + (check 0 minutes 59 "timestamp minute field must be in range 0..59") + (check 0 seconds (if (= minutes 59) 60 59) "timestamp second field must be in range 0..60") + (check 0 fraction 999 "timestamp millisecond field must be in range 0..999") + offset])))) + +(defn parse-timestamp + [ts] + (if-let [[years months days hours minutes seconds ms offset] + (parse-and-validate-timestamp ts)] + (js/Date. + (- (.UTC js/Date years (dec months) days hours minutes seconds ms) + (* offset 60 1000))) + (throw (js/Error. (str "Unrecognized date/time syntax: " ts))))) + +(defn ^:private read-date + [s] + (if (string? s) + (parse-timestamp s) + (throw (js/Error. "Instance literal expects a string for its timestamp.")))) + +(defn ^:private read-queue + [elems] + (if (vector? elems) + (into cljs.core/PersistentQueue.EMPTY elems) + (throw (js/Error. "Queue literal expects a vector for its elements.")))) + +(defn ^:private read-js + [form] + (cond + (vector? form) + (let [arr (array)] + (doseq [x form] + (.push arr x)) + arr) + + (map? form) + (let [obj (js-obj)] + (doseq [[k v] form] + (gobject/set obj (name k) v)) + obj) + + :else + (throw + (js/Error. + (str "JS literal expects a vector or map containing " + "only string or unqualified keyword keys"))))) + +(defn ^:private read-uuid + [uuid] + (if (string? uuid) + (cljs.core/uuid uuid) + (throw (js/Error. "UUID literal expects a string as its representation.")))) + +(def ^:dynamic *default-data-reader-fn* + (atom nil)) + +(def ^:dynamic *tag-table* + (atom + (add-data-readers + {'inst read-date + 'uuid read-uuid + 'queue read-queue + 'js read-js}))) + +(defn read + "Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader. + Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof. + If no reader is provided, *in* will be used. + + Reads data in the edn format (subset of Clojure data): + http://edn-format.org + + cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration + is done by passing an opt map. + + opts is a map that can include the following keys: + :eof - value to return on end-of-file. When not supplied, eof throws an exception. + :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers. + When not supplied, only the default-data-readers will be used. + :default - A function of two args, that will, if present and no reader is found for a tag, + be called with the tag and the value." + ([reader] + (edn/read + {:readers @*tag-table* + :default @*default-data-reader-fn* + :eof nil} + reader)) + ([{:keys [eof] :as opts} reader] + (edn/read + (update (merge opts {:default @*default-data-reader-fn*}) + :readers (fn [m] (merge @*tag-table* m))) reader)) + ([reader eof-error? eof opts] + (edn/read reader eof-error? eof + (update (merge opts {:default @*default-data-reader-fn*}) + :readers (fn [m] (merge @*tag-table* m)))))) + +(defn read-string + "Reads one object from the string s. + Returns nil when s is nil or empty. + + Reads data in the edn format (subset of Clojure data): + http://edn-format.org + + opts is a map as per cljs.tools.reader.edn/read" + ([s] + (edn/read-string + {:readers @*tag-table* + :default @*default-data-reader-fn* + :eof nil} s)) + ([opts s] + (edn/read-string + (update (merge {:default @*default-data-reader-fn*} opts) + :readers (fn [m] (merge @*tag-table* m))) s))) + +(defn register-tag-parser! + [tag f] + (let [old-parser (get @*tag-table* tag)] + (swap! *tag-table* assoc tag f) + old-parser)) + +(defn deregister-tag-parser! + [tag] + (let [old-parser (get @*tag-table* tag)] + (swap! *tag-table* dissoc tag) + old-parser)) + +(defn register-default-tag-parser! + [f] + (let [old-parser @*default-data-reader-fn*] + (swap! *default-data-reader-fn* (fn [_] f)) + old-parser)) + +(defn deregister-default-tag-parser! + [] + (let [old-parser @*default-data-reader-fn*] + (swap! *default-data-reader-fn* (fn [_] nil)) + old-parser)) diff --git a/examples/resources/public/js/out/cljs/reader.cljs.cache.json b/examples/resources/public/js/out/cljs/reader.cljs.cache.json new file mode 100644 index 0000000..fc9a5a3 --- /dev/null +++ b/examples/resources/public/js/out/cljs/reader.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$parseInt",["^ "],"~$isNaN",["^ "],"~$Error",["^ "],"~$Date",["^ ","~$UTC",["^ "]]],"~:use-macros",["^ ","~$add-data-readers","~$cljs.reader"],"~:excludes",["~#set",[]],"~:name","^:","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$gobject","~$goog.object","^C","^C","~$treader","~$cljs.tools.reader","^E","^E","~$edn","~$cljs.tools.reader.edn","^G","^G","^?","^@"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$read-uuid",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","~:line",125,"~:column",17,"~:end-line",125,"~:end-column",26,"~:private",true,"~:arglists",["~#list",["~$quote",["^U",[["~$uuid"]]]]]],"^S",true,"^=","~$cljs.reader/read-uuid","~:variadic",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",26,"~:method-params",["^U",[["^W"]]],"~:protocol-impl",null,"~:arglists-meta",["^U",[null,null]],"^P",1,"^O",125,"^Q",125,"~:max-fixed-arity",1,"~:fn-var",true,"^T",["^U",["^V",["^U",[["^W"]]]]]],"~$leap-year?",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",34,"^P",17,"^Q",34,"^R",27,"^S",true,"^T",["^U",["^V",["^U",[["~$year"]]]]]],"^S",true,"^=","~$cljs.reader/leap-year?","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",27,"^Z",["^U",[["^14"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",34,"^Q",34,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["^14"]]]]]],"~$*default-data-reader-fn*",["^ ","^=","~$cljs.reader/*default-data-reader-fn*","^N","resources/public/js/out/cljs/reader.cljs","^O",131,"^P",1,"^Q",131,"^R",40,"~:dynamic",true,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",131,"^P",16,"^Q",131,"^R",40,"^18",true],"~:tag","~$any"],"~$read",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",142,"^P",7,"^Q",142,"^R",11,"^T",["^U",["^V",["^U",[["~$reader"],[["^ ","~:keys",["~$eof"],"~:as","~$opts"],"^1<"],["^1<","~$eof-error?","^1>","^1@"]]]]],"~:doc","Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.\n If no reader is provided, *in* will be used.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration\n is done by passing an opt map.\n\n opts is a map that can include the following keys:\n :eof - value to return on end-of-file. When not supplied, eof throws an exception.\n :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers.\n When not supplied, only the default-data-readers will be used.\n :default - A function of two args, that will, if present and no reader is found for a tag,\n be called with the tag and the value.","~:top-fn",["^ ","^Y",false,"^11",4,"^Z",["^U",[["^1<"],[["^ ","^1=",["^1>"],"^1?","^1@"],"^1<"],["^1<","^1A","^1>","^1@"]]],"^T",["^U",[["^1<"],[["^ ","^1=",["^1>"],"^1?","^1@"],"^1<"],["^1<","^1A","^1>","^1@"]]],"^10",["^U",[null,null,null]]]],"^=","~$cljs.reader/read","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",11,"^1C",["^ ","^Y",false,"^11",4,"^Z",["^U",[["^1<"],[["^ ","^1=",["^1>"],"^1?","^1@"],"^1<"],["^1<","^1A","^1>","^1@"]]],"^T",["^U",[["^1<"],[["^ ","^1=",["^1>"],"^1?","^1@"],"^1<"],["^1<","^1A","^1>","^1@"]]],"^10",["^U",[null,null,null]]],"^Z",["^U",[["^1<"],[["^ ","^1=",["^1>"],"^1?","^1@"],"^1<"],["^1<","^1A","^1>","^1@"]]],"^[",null,"^10",["^U",[null,null,null]],"^P",1,"^O",142,"^Q",142,"^11",4,"^12",true,"^T",["^U",[["^1<"],[["^ ","^1=",["^1>"],"^1?","^1@"],"^1<"],["^1<","^1A","^1>","^1@"]]],"^1B","Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.\n If no reader is provided, *in* will be used.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration\n is done by passing an opt map.\n\n opts is a map that can include the following keys:\n :eof - value to return on end-of-file. When not supplied, eof throws an exception.\n :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers.\n When not supplied, only the default-data-readers will be used.\n :default - A function of two args, that will, if present and no reader is found for a tag,\n be called with the tag and the value."],"~$*tag-table*",["^ ","^=","~$cljs.reader/*tag-table*","^N","resources/public/js/out/cljs/reader.cljs","^O",134,"^P",1,"^Q",134,"^R",27,"^18",true,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",134,"^P",16,"^Q",134,"^R",27,"^18",true],"^19","^1:"],"~$days-in-month",["^ ","^=","~$cljs.reader/days-in-month","^N","resources/public/js/out/cljs/reader.cljs","^O",40,"^P",1,"^Q",40,"^R",29,"^S",true,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",40,"^P",16,"^Q",40,"^R",29,"^S",true],"^19","~$function"],"~$parse-and-validate-timestamp",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",58,"^P",7,"^Q",58,"^R",35,"^T",["^U",["^V",["^U",[["~$s"]]]]]],"^=","~$cljs.reader/parse-and-validate-timestamp","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",35,"^Z",["^U",[["~$s"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",58,"^Q",58,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["~$s"]]]]]],"~$register-tag-parser!",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",192,"^P",7,"^Q",192,"^R",27,"^T",["^U",["^V",["^U",[["~$tag","~$f"]]]]]],"^=","~$cljs.reader/register-tag-parser!","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",27,"^Z",["^U",[["^1M","~$f"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",192,"^Q",192,"^11",2,"^12",true,"^T",["^U",["^V",["^U",[["^1M","~$f"]]]]]],"~$check",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",53,"^P",17,"^Q",53,"^R",22,"^S",true,"^T",["^U",["^V",["^U",[["~$low","~$n","~$high","~$msg"]]]]]],"^S",true,"^=","~$cljs.reader/check","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",22,"^Z",["^U",[["^1P","~$n","^1Q","^1R"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",53,"^Q",53,"^11",4,"^12",true,"^T",["^U",["^V",["^U",[["^1P","~$n","^1Q","^1R"]]]]]],"~$timestamp-regex",["^ ","^=","~$cljs.reader/timestamp-regex","^N","resources/public/js/out/cljs/reader.cljs","^O",46,"^P",1,"^Q",46,"^R",31,"^S",true,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",46,"^P",16,"^Q",46,"^R",31,"^S",true],"^19","^1:"],"~$register-default-tag-parser!",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",204,"^P",7,"^Q",204,"^R",35,"^T",["^U",["^V",["^U",[["~$f"]]]]]],"^=","~$cljs.reader/register-default-tag-parser!","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",35,"^Z",["^U",[["~$f"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",204,"^Q",204,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["~$f"]]]]]],"~$divisible?",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",26,"^P",17,"^Q",26,"^R",27,"^S",true,"^T",["^U",["^V",["^U",[["~$num","~$div"]]]]]],"^S",true,"^=","~$cljs.reader/divisible?","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",27,"^Z",["^U",[["^1Y","^1Z"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",26,"^Q",26,"^11",2,"^12",true,"^T",["^U",["^V",["^U",[["^1Y","^1Z"]]]]]],"~$zero-fill-right-and-truncate",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",16,"^P",17,"^Q",16,"^R",45,"^S",true,"^T",["^U",["^V",["^U",[["~$s","~$width"]]]]]],"^S",true,"^=","~$cljs.reader/zero-fill-right-and-truncate","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",45,"^Z",["^U",[["~$s","^21"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",16,"^Q",16,"^11",2,"^12",true,"^T",["^U",["^V",["^U",[["~$s","^21"]]]]]],"~$read-date",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",92,"^P",17,"^Q",92,"^R",26,"^S",true,"^T",["^U",["^V",["^U",[["~$s"]]]]]],"^S",true,"^=","~$cljs.reader/read-date","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",26,"^Z",["^U",[["~$s"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",92,"^Q",92,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["~$s"]]]]]],"~$deregister-default-tag-parser!",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",210,"^P",7,"^Q",210,"^R",37,"^T",["^U",["^V",["^U",[[]]]]]],"^=","~$cljs.reader/deregister-default-tag-parser!","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",37,"^Z",["^U",[[]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",210,"^Q",210,"^11",0,"^12",true,"^T",["^U",["^V",["^U",[[]]]]]],"~$indivisible?",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",30,"^P",17,"^Q",30,"^R",29,"^S",true,"^T",["^U",["^V",["^U",[["^1Y","^1Z"]]]]]],"^S",true,"^=","~$cljs.reader/indivisible?","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",29,"^Z",["^U",[["^1Y","^1Z"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",30,"^Q",30,"^11",2,"^12",true,"^T",["^U",["^V",["^U",[["^1Y","^1Z"]]]]]],"~$read-queue",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",98,"^P",17,"^Q",98,"^R",27,"^S",true,"^T",["^U",["^V",["^U",[["~$elems"]]]]]],"^S",true,"^=","~$cljs.reader/read-queue","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",27,"^Z",["^U",[["^2:"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",98,"^Q",98,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["^2:"]]]]]],"~$read-string",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",174,"^P",7,"^Q",174,"^R",18,"^T",["^U",["^V",["^U",[["~$s"],["^1@","~$s"]]]]],"^1B","Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per cljs.tools.reader.edn/read","^1C",["^ ","^Y",false,"^11",2,"^Z",["^U",[["~$s"],["^1@","~$s"]]],"^T",["^U",[["~$s"],["^1@","~$s"]]],"^10",["^U",[null,null]]]],"^=","~$cljs.reader/read-string","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",18,"^1C",["^ ","^Y",false,"^11",2,"^Z",["^U",[["~$s"],["^1@","~$s"]]],"^T",["^U",[["~$s"],["^1@","~$s"]]],"^10",["^U",[null,null]]],"^Z",["^U",[["~$s"],["^1@","~$s"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",174,"^Q",174,"^11",2,"^12",true,"^T",["^U",[["~$s"],["^1@","~$s"]]],"^1B","Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per cljs.tools.reader.edn/read"],"~$parse-int",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",48,"^P",17,"^Q",48,"^R",26,"^S",true,"^T",["^U",["^V",["^U",[["~$s"]]]]]],"^S",true,"^=","~$cljs.reader/parse-int","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",26,"^Z",["^U",[["~$s"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",48,"^Q",48,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["~$s"]]]]]],"~$read-js",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",104,"^P",17,"^Q",104,"^R",24,"^S",true,"^T",["^U",["^V",["^U",[["~$form"]]]]]],"^S",true,"^=","~$cljs.reader/read-js","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",24,"^Z",["^U",[["^2A"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",104,"^Q",104,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["^2A"]]]]]],"~$deregister-tag-parser!",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",198,"^P",7,"^Q",198,"^R",29,"^T",["^U",["^V",["^U",[["^1M"]]]]]],"^=","~$cljs.reader/deregister-tag-parser!","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",29,"^Z",["^U",[["^1M"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",198,"^Q",198,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["^1M"]]]]]],"~$parse-timestamp",["^ ","^L",null,"^M",["^ ","^N","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/reader.cljs","^O",83,"^P",7,"^Q",83,"^R",22,"^T",["^U",["^V",["^U",[["~$ts"]]]]]],"^=","~$cljs.reader/parse-timestamp","^Y",false,"^N","resources/public/js/out/cljs/reader.cljs","^R",22,"^Z",["^U",[["^2F"]]],"^[",null,"^10",["^U",[null,null]],"^P",1,"^O",83,"^Q",83,"^11",1,"^12",true,"^T",["^U",["^V",["^U",[["^2F"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^:","^:"],"~:cljs.analyzer/constants",["^ ","~:seen",["^<",["^W","~:else","~:default","~$js","~:readers","~$inst","~$queue","~:eof"]],"~:order",["^2L","^2P","^W","^2Q","^2N","^2O","^2M","^2R"]],"^1B",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/reader.js b/examples/resources/public/js/out/cljs/reader.js new file mode 100644 index 0000000..285282c --- /dev/null +++ b/examples/resources/public/js/out/cljs/reader.js @@ -0,0 +1,455 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.reader'); +goog.require('cljs.core'); +goog.require('goog.object'); +goog.require('cljs.tools.reader'); +goog.require('cljs.tools.reader.edn'); +goog.require('goog.string.StringBuffer'); +cljs.reader.zero_fill_right_and_truncate = (function cljs$reader$zero_fill_right_and_truncate(s,width){ +if(cljs.core._EQ_.call(null,width,cljs.core.count.call(null,s))){ +return s; +} else { +if((width < cljs.core.count.call(null,s))){ +return cljs.core.subs.call(null,s,(0),width); +} else { +var b = (new goog.string.StringBuffer(s)); +while(true){ +if((b.getLength() < width)){ +var G__24546 = b.append("0"); +b = G__24546; +continue; +} else { +return b.toString(); +} +break; +} + +} +} +}); +cljs.reader.divisible_QMARK_ = (function cljs$reader$divisible_QMARK_(num,div){ +return (cljs.core.mod.call(null,num,div) === (0)); +}); +cljs.reader.indivisible_QMARK_ = (function cljs$reader$indivisible_QMARK_(num,div){ +return cljs.core.not.call(null,cljs.reader.divisible_QMARK_.call(null,num,div)); +}); +cljs.reader.leap_year_QMARK_ = (function cljs$reader$leap_year_QMARK_(year){ +var and__3911__auto__ = cljs.reader.divisible_QMARK_.call(null,year,(4)); +if(cljs.core.truth_(and__3911__auto__)){ +var or__3922__auto__ = cljs.reader.indivisible_QMARK_.call(null,year,(100)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.reader.divisible_QMARK_.call(null,year,(400)); +} +} else { +return and__3911__auto__; +} +}); +cljs.reader.days_in_month = (function (){var dim_norm = new cljs.core.PersistentVector(null, 13, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,(31),(28),(31),(30),(31),(30),(31),(31),(30),(31),(30),(31)], null); +var dim_leap = new cljs.core.PersistentVector(null, 13, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,(31),(29),(31),(30),(31),(30),(31),(31),(30),(31),(30),(31)], null); +return ((function (dim_norm,dim_leap){ +return (function (month,leap_year_QMARK_){ +return cljs.core.get.call(null,(cljs.core.truth_(leap_year_QMARK_)?dim_leap:dim_norm),month); +}); +;})(dim_norm,dim_leap)) +})(); +cljs.reader.timestamp_regex = /(\d\d\d\d)(?:-(\d\d)(?:-(\d\d)(?:[T](\d\d)(?::(\d\d)(?::(\d\d)(?:[.](\d+))?)?)?)?)?)?(?:[Z]|([-+])(\d\d):(\d\d))?/; +cljs.reader.parse_int = (function cljs$reader$parse_int(s){ +var n = parseInt(s,(10)); +if(cljs.core.not.call(null,isNaN(n))){ +return n; +} else { +return null; +} +}); +cljs.reader.check = (function cljs$reader$check(low,n,high,msg){ +if((((low <= n)) && ((n <= high)))){ +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(msg)," Failed: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(low),"<=",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),"<=",cljs.core.str.cljs$core$IFn$_invoke$arity$1(high)].join(''))); +} + +return n; +}); +cljs.reader.parse_and_validate_timestamp = (function cljs$reader$parse_and_validate_timestamp(s){ +var vec__24547 = cljs.core.re_matches.call(null,cljs.reader.timestamp_regex,s); +var _ = cljs.core.nth.call(null,vec__24547,(0),null); +var years = cljs.core.nth.call(null,vec__24547,(1),null); +var months = cljs.core.nth.call(null,vec__24547,(2),null); +var days = cljs.core.nth.call(null,vec__24547,(3),null); +var hours = cljs.core.nth.call(null,vec__24547,(4),null); +var minutes = cljs.core.nth.call(null,vec__24547,(5),null); +var seconds = cljs.core.nth.call(null,vec__24547,(6),null); +var fraction = cljs.core.nth.call(null,vec__24547,(7),null); +var offset_sign = cljs.core.nth.call(null,vec__24547,(8),null); +var offset_hours = cljs.core.nth.call(null,vec__24547,(9),null); +var offset_minutes = cljs.core.nth.call(null,vec__24547,(10),null); +var v = vec__24547; +if(cljs.core.not.call(null,v)){ +throw (new Error(["Unrecognized date/time syntax: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(s)].join(''))); +} else { +var years__$1 = cljs.reader.parse_int.call(null,years); +var months__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,months); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (1); +} +})(); +var days__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,days); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (1); +} +})(); +var hours__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,hours); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var minutes__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,minutes); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var seconds__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,seconds); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var fraction__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,cljs.reader.zero_fill_right_and_truncate.call(null,fraction,(3))); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var offset_sign__$1 = ((cljs.core._EQ_.call(null,offset_sign,"-"))?(-1):(1)); +var offset_hours__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,offset_hours); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var offset_minutes__$1 = (function (){var or__3922__auto__ = cljs.reader.parse_int.call(null,offset_minutes); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +var offset = (offset_sign__$1 * ((offset_hours__$1 * (60)) + offset_minutes__$1)); +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [years__$1,cljs.reader.check.call(null,(1),months__$1,(12),"timestamp month field must be in range 1..12"),cljs.reader.check.call(null,(1),days__$1,cljs.reader.days_in_month.call(null,months__$1,cljs.reader.leap_year_QMARK_.call(null,years__$1)),"timestamp day field must be in range 1..last day in month"),cljs.reader.check.call(null,(0),hours__$1,(23),"timestamp hour field must be in range 0..23"),cljs.reader.check.call(null,(0),minutes__$1,(59),"timestamp minute field must be in range 0..59"),cljs.reader.check.call(null,(0),seconds__$1,((cljs.core._EQ_.call(null,minutes__$1,(59)))?(60):(59)),"timestamp second field must be in range 0..60"),cljs.reader.check.call(null,(0),fraction__$1,(999),"timestamp millisecond field must be in range 0..999"),offset], null); +} +}); +cljs.reader.parse_timestamp = (function cljs$reader$parse_timestamp(ts){ +var temp__4655__auto__ = cljs.reader.parse_and_validate_timestamp.call(null,ts); +if(cljs.core.truth_(temp__4655__auto__)){ +var vec__24550 = temp__4655__auto__; +var years = cljs.core.nth.call(null,vec__24550,(0),null); +var months = cljs.core.nth.call(null,vec__24550,(1),null); +var days = cljs.core.nth.call(null,vec__24550,(2),null); +var hours = cljs.core.nth.call(null,vec__24550,(3),null); +var minutes = cljs.core.nth.call(null,vec__24550,(4),null); +var seconds = cljs.core.nth.call(null,vec__24550,(5),null); +var ms = cljs.core.nth.call(null,vec__24550,(6),null); +var offset = cljs.core.nth.call(null,vec__24550,(7),null); +return (new Date((Date.UTC(years,(months - (1)),days,hours,minutes,seconds,ms) - ((offset * (60)) * (1000))))); +} else { +throw (new Error(["Unrecognized date/time syntax: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(ts)].join(''))); +} +}); +cljs.reader.read_date = (function cljs$reader$read_date(s){ +if(typeof s === 'string'){ +return cljs.reader.parse_timestamp.call(null,s); +} else { +throw (new Error("Instance literal expects a string for its timestamp.")); +} +}); +cljs.reader.read_queue = (function cljs$reader$read_queue(elems){ +if(cljs.core.vector_QMARK_.call(null,elems)){ +return cljs.core.into.call(null,cljs.core.PersistentQueue.EMPTY,elems); +} else { +throw (new Error("Queue literal expects a vector for its elements.")); +} +}); +cljs.reader.read_js = (function cljs$reader$read_js(form){ +if(cljs.core.vector_QMARK_.call(null,form)){ +var arr = []; +var seq__24553_24569 = cljs.core.seq.call(null,form); +var chunk__24554_24570 = null; +var count__24555_24571 = (0); +var i__24556_24572 = (0); +while(true){ +if((i__24556_24572 < count__24555_24571)){ +var x_24573 = cljs.core._nth.call(null,chunk__24554_24570,i__24556_24572); +arr.push(x_24573); + + +var G__24574 = seq__24553_24569; +var G__24575 = chunk__24554_24570; +var G__24576 = count__24555_24571; +var G__24577 = (i__24556_24572 + (1)); +seq__24553_24569 = G__24574; +chunk__24554_24570 = G__24575; +count__24555_24571 = G__24576; +i__24556_24572 = G__24577; +continue; +} else { +var temp__4657__auto___24578 = cljs.core.seq.call(null,seq__24553_24569); +if(temp__4657__auto___24578){ +var seq__24553_24579__$1 = temp__4657__auto___24578; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24553_24579__$1)){ +var c__4319__auto___24580 = cljs.core.chunk_first.call(null,seq__24553_24579__$1); +var G__24581 = cljs.core.chunk_rest.call(null,seq__24553_24579__$1); +var G__24582 = c__4319__auto___24580; +var G__24583 = cljs.core.count.call(null,c__4319__auto___24580); +var G__24584 = (0); +seq__24553_24569 = G__24581; +chunk__24554_24570 = G__24582; +count__24555_24571 = G__24583; +i__24556_24572 = G__24584; +continue; +} else { +var x_24585 = cljs.core.first.call(null,seq__24553_24579__$1); +arr.push(x_24585); + + +var G__24586 = cljs.core.next.call(null,seq__24553_24579__$1); +var G__24587 = null; +var G__24588 = (0); +var G__24589 = (0); +seq__24553_24569 = G__24586; +chunk__24554_24570 = G__24587; +count__24555_24571 = G__24588; +i__24556_24572 = G__24589; +continue; +} +} else { +} +} +break; +} + +return arr; +} else { +if(cljs.core.map_QMARK_.call(null,form)){ +var obj = {}; +var seq__24559_24590 = cljs.core.seq.call(null,form); +var chunk__24560_24591 = null; +var count__24561_24592 = (0); +var i__24562_24593 = (0); +while(true){ +if((i__24562_24593 < count__24561_24592)){ +var vec__24563_24594 = cljs.core._nth.call(null,chunk__24560_24591,i__24562_24593); +var k_24595 = cljs.core.nth.call(null,vec__24563_24594,(0),null); +var v_24596 = cljs.core.nth.call(null,vec__24563_24594,(1),null); +goog.object.set(obj,cljs.core.name.call(null,k_24595),v_24596); + + +var G__24597 = seq__24559_24590; +var G__24598 = chunk__24560_24591; +var G__24599 = count__24561_24592; +var G__24600 = (i__24562_24593 + (1)); +seq__24559_24590 = G__24597; +chunk__24560_24591 = G__24598; +count__24561_24592 = G__24599; +i__24562_24593 = G__24600; +continue; +} else { +var temp__4657__auto___24601 = cljs.core.seq.call(null,seq__24559_24590); +if(temp__4657__auto___24601){ +var seq__24559_24602__$1 = temp__4657__auto___24601; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24559_24602__$1)){ +var c__4319__auto___24603 = cljs.core.chunk_first.call(null,seq__24559_24602__$1); +var G__24604 = cljs.core.chunk_rest.call(null,seq__24559_24602__$1); +var G__24605 = c__4319__auto___24603; +var G__24606 = cljs.core.count.call(null,c__4319__auto___24603); +var G__24607 = (0); +seq__24559_24590 = G__24604; +chunk__24560_24591 = G__24605; +count__24561_24592 = G__24606; +i__24562_24593 = G__24607; +continue; +} else { +var vec__24566_24608 = cljs.core.first.call(null,seq__24559_24602__$1); +var k_24609 = cljs.core.nth.call(null,vec__24566_24608,(0),null); +var v_24610 = cljs.core.nth.call(null,vec__24566_24608,(1),null); +goog.object.set(obj,cljs.core.name.call(null,k_24609),v_24610); + + +var G__24611 = cljs.core.next.call(null,seq__24559_24602__$1); +var G__24612 = null; +var G__24613 = (0); +var G__24614 = (0); +seq__24559_24590 = G__24611; +chunk__24560_24591 = G__24612; +count__24561_24592 = G__24613; +i__24562_24593 = G__24614; +continue; +} +} else { +} +} +break; +} + +return obj; +} else { +throw (new Error(["JS literal expects a vector or map containing ","only string or unqualified keyword keys"].join(''))); + +} +} +}); +cljs.reader.read_uuid = (function cljs$reader$read_uuid(uuid){ +if(typeof uuid === 'string'){ +return cljs.core.uuid.call(null,uuid); +} else { +throw (new Error("UUID literal expects a string as its representation.")); +} +}); +cljs.reader._STAR_default_data_reader_fn_STAR_ = cljs.core.atom.call(null,null); +cljs.reader._STAR_tag_table_STAR_ = cljs.core.atom.call(null,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Symbol(null,"inst","inst",-2008473268,null),cljs.reader.read_date,new cljs.core.Symbol(null,"uuid","uuid",-504564192,null),cljs.reader.read_uuid,new cljs.core.Symbol(null,"queue","queue",-1198599890,null),cljs.reader.read_queue,new cljs.core.Symbol(null,"js","js",-886355190,null),cljs.reader.read_js], null),cljs.core.PersistentArrayMap.EMPTY)); +/** + * Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader. + * Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof. + * If no reader is provided, *in* will be used. + * + * Reads data in the edn format (subset of Clojure data): + * http://edn-format.org + * + * cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration + * is done by passing an opt map. + * + * opts is a map that can include the following keys: + * :eof - value to return on end-of-file. When not supplied, eof throws an exception. + * :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers. + * When not supplied, only the default-data-readers will be used. + * :default - A function of two args, that will, if present and no reader is found for a tag, + * be called with the tag and the value. + */ +cljs.reader.read = (function cljs$reader$read(var_args){ +var G__24616 = arguments.length; +switch (G__24616) { +case 1: +return cljs.reader.read.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.reader.read.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 4: +return cljs.reader.read.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.reader.read.cljs$core$IFn$_invoke$arity$1 = (function (reader){ +return cljs.tools.reader.edn.read.call(null,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"readers","readers",-2118263030),cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),new cljs.core.Keyword(null,"default","default",-1987822328),cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_),new cljs.core.Keyword(null,"eof","eof",-489063237),null], null),reader); +}); + +cljs.reader.read.cljs$core$IFn$_invoke$arity$2 = (function (p__24617,reader){ +var map__24618 = p__24617; +var map__24618__$1 = ((((!((map__24618 == null)))?(((((map__24618.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24618.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24618):map__24618); +var opts = map__24618__$1; +var eof = cljs.core.get.call(null,map__24618__$1,new cljs.core.Keyword(null,"eof","eof",-489063237)); +return cljs.tools.reader.edn.read.call(null,cljs.core.update.call(null,cljs.core.merge.call(null,opts,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"default","default",-1987822328),cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_)], null)),new cljs.core.Keyword(null,"readers","readers",-2118263030),((function (map__24618,map__24618__$1,opts,eof){ +return (function (m){ +return cljs.core.merge.call(null,cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),m); +});})(map__24618,map__24618__$1,opts,eof)) +),reader); +}); + +cljs.reader.read.cljs$core$IFn$_invoke$arity$4 = (function (reader,eof_error_QMARK_,eof,opts){ +return cljs.tools.reader.edn.read.call(null,reader,eof_error_QMARK_,eof,cljs.core.update.call(null,cljs.core.merge.call(null,opts,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"default","default",-1987822328),cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_)], null)),new cljs.core.Keyword(null,"readers","readers",-2118263030),(function (m){ +return cljs.core.merge.call(null,cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),m); +}))); +}); + +cljs.reader.read.cljs$lang$maxFixedArity = 4; + +/** + * Reads one object from the string s. + * Returns nil when s is nil or empty. + * + * Reads data in the edn format (subset of Clojure data): + * http://edn-format.org + * + * opts is a map as per cljs.tools.reader.edn/read + */ +cljs.reader.read_string = (function cljs$reader$read_string(var_args){ +var G__24622 = arguments.length; +switch (G__24622) { +case 1: +return cljs.reader.read_string.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.reader.read_string.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.reader.read_string.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return cljs.tools.reader.edn.read_string.call(null,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"readers","readers",-2118263030),cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),new cljs.core.Keyword(null,"default","default",-1987822328),cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_),new cljs.core.Keyword(null,"eof","eof",-489063237),null], null),s); +}); + +cljs.reader.read_string.cljs$core$IFn$_invoke$arity$2 = (function (opts,s){ +return cljs.tools.reader.edn.read_string.call(null,cljs.core.update.call(null,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"default","default",-1987822328),cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_)], null),opts),new cljs.core.Keyword(null,"readers","readers",-2118263030),(function (m){ +return cljs.core.merge.call(null,cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),m); +})),s); +}); + +cljs.reader.read_string.cljs$lang$maxFixedArity = 2; + +cljs.reader.register_tag_parser_BANG_ = (function cljs$reader$register_tag_parser_BANG_(tag,f){ +var old_parser = cljs.core.get.call(null,cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),tag); +cljs.core.swap_BANG_.call(null,cljs.reader._STAR_tag_table_STAR_,cljs.core.assoc,tag,f); + +return old_parser; +}); +cljs.reader.deregister_tag_parser_BANG_ = (function cljs$reader$deregister_tag_parser_BANG_(tag){ +var old_parser = cljs.core.get.call(null,cljs.core.deref.call(null,cljs.reader._STAR_tag_table_STAR_),tag); +cljs.core.swap_BANG_.call(null,cljs.reader._STAR_tag_table_STAR_,cljs.core.dissoc,tag); + +return old_parser; +}); +cljs.reader.register_default_tag_parser_BANG_ = (function cljs$reader$register_default_tag_parser_BANG_(f){ +var old_parser = cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_); +cljs.core.swap_BANG_.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_,((function (old_parser){ +return (function (_){ +return f; +});})(old_parser)) +); + +return old_parser; +}); +cljs.reader.deregister_default_tag_parser_BANG_ = (function cljs$reader$deregister_default_tag_parser_BANG_(){ +var old_parser = cljs.core.deref.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_); +cljs.core.swap_BANG_.call(null,cljs.reader._STAR_default_data_reader_fn_STAR_,((function (old_parser){ +return (function (_){ +return null; +});})(old_parser)) +); + +return old_parser; +}); + +//# sourceMappingURL=reader.js.map?rel=1628501143744 diff --git a/examples/resources/public/js/out/cljs/reader.js.map b/examples/resources/public/js/out/cljs/reader.js.map new file mode 100644 index 0000000..6d0cfb6 --- /dev/null +++ b/examples/resources/public/js/out/cljs/reader.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/reader.js","sources":["reader.cljs?rel=1628501143746"],"lineCount":455,"mappings":";AAQA;;;;;;AAOA,2CAAA,3CAAgBA,8FAA8BC,EAAEC;AAAhD,AACE,GACE,AAACC,yBAAED,MAAM,AAACE,0BAAMH;AAAIA;;AADtB,GAEE,CAAGC,QAAM,AAACE,0BAAMH;AAAI,kCAAA,3BAACI,yBAAKJ,MAAIC;;AAFhC,AAIE,IAAOI,IAAE,KAAAC,yBAAeN;;AAAxB,AACE,GAAI,CAAG,AAAYK,gBAAGJ;AACpB,eAAO,SAAA,TAASI;;;;AAChB,OAAWA;;;;;;;;AAEnB,+BAAA,\/BAAgBE,sEACbC,IAAIC;AADP,AAEE,6CAAA,rCAAO,AAACC,wBAAIF,IAAIC;;AAElB,iCAAA,jCAAgBE,0EACbH,IAAIC;AADP,AAEE,OAACG,wBAAI,AAACL,uCAAWC,IAAIC;;AAEvB,+BAAA,\/BAAgBI,sEACbC;AADH,AAEE,IAAAC,oBAAK,4CAAA,5CAACR,uCAAWO;AAAjB,AAAA,oBAAAC;AACK,IAAAC,mBAAI,8CAAA,9CAACL,yCAAaG;AAAlB,AAAA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AAAAL,1BAACV,oDAAOD,mCAAYgB;IAAK\/G;;;AAhBjD,AAAA,kDAAA,lDAAMkH;;AAAN,AAkBA,wCAAA,xCAAME,wFACHC,IAAIC;AADP,AAEE,IAAMC,aAAW,wBAAA,AAAAb,xBAACpF,kDAAKyE,mCAAYsB;AAAnC,AACE,AAACG,+BAAMzB,kCAAY0B,gBAAMJ,IAAIC;;AAC7BC;;AAEJ,0CAAA,1CAAMG,4FACHL;AADH,AAEE,IAAME,aAAW,wBAAA,AAAAb,xBAACpF,kDAAKyE,mCAAYsB;AAAnC,AACE,AAACG,+BAAMzB,kCAAY4B,iBAAON;;AAC1BE;;AAEJ,gDAAA,hDAAMK,wGACHN;AADH,AAEE,iBAAA,AAAAZ,bAAMa,uCAAY1B;AAAlB,AACE,AAAC2B,+BAAM3B,+CAAyB;kBAAKzD;AAAL,AAAQkF;;;;AACxCC;;AAEJ,kDAAA,lDAAMM;AAAN,AAEE,iBAAA,AAAAnB,bAAMa,uCAAY1B;AAAlB,AACE,AAAC2B,+BAAM3B,+CAAyB;kBAAKzD;AAAL,AAAA;;;;AAChCmF","names":["cljs.reader\/zero-fill-right-and-truncate","s","width","cljs.core\/=","cljs.core\/count","cljs.core\/subs","b","goog\/string.StringBuffer","cljs.reader\/divisible?","num","div","cljs.core\/mod","cljs.reader\/indivisible?","cljs.core\/not","cljs.reader\/leap-year?","year","and__3911__auto__","or__3922__auto__","cljs.reader\/days-in-month","dim-norm","dim-leap","month","leap-year?","cljs.core\/get","cljs.reader\/timestamp-regex","cljs.reader\/parse-int","n","js\/parseInt","js\/isNaN","cljs.reader\/check","low","high","msg","js\/Error","cljs.reader\/parse-and-validate-timestamp","vec__24547","cljs.core\/nth","_","years","months","days","hours","minutes","seconds","fraction","offset-sign","offset-hours","offset-minutes","v","cljs.core\/re-matches","offset","cljs.reader\/parse-timestamp","ts","temp__4655__auto__","vec__24550","ms","js\/Date","cljs.reader\/read-date","cljs.reader\/read-queue","elems","cljs.core\/vector?","cljs.core\/into","cljs.core\/PersistentQueue.EMPTY","cljs.reader\/read-js","form","arr","seq__24553","cljs.core\/seq","chunk__24554","count__24555","i__24556","cljs.core\/-nth","temp__4657__auto__","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/first","cljs.core\/next","x","cljs.core\/map?","obj","seq__24559","chunk__24560","count__24561","i__24562","vec__24563","vec__24566","k","goog.object\/set","cljs.core\/name","cljs.reader\/read-uuid","uuid","cljs.core\/uuid","cljs.reader\/*default-data-reader-fn*","cljs.core\/atom","cljs.reader\/*tag-table*","cljs.core\/merge","var_args","G__24616","cljs.reader\/read","p__24617","map__24618","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","reader","cljs.core\/deref","cljs.tools.reader.edn\/read","eof","opts","cljs.core\/update","m","eof-error?","G__24622","cljs.reader\/read-string","cljs.tools.reader.edn\/read-string","cljs.reader\/register-tag-parser!","tag","f","old-parser","cljs.core\/swap!","cljs.core\/assoc","cljs.reader\/deregister-tag-parser!","cljs.core\/dissoc","cljs.reader\/register-default-tag-parser!","cljs.reader\/deregister-default-tag-parser!"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/repl.cljs b/examples/resources/public/js/out/cljs/repl.cljs new file mode 100644 index 0000000..2035dd8 --- /dev/null +++ b/examples/resources/public/js/out/cljs/repl.cljs @@ -0,0 +1,56 @@ +;; Copyright (c) Rich Hickey. All rights reserved. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.repl + (:require-macros cljs.repl) + (:require [cljs.spec.alpha :as spec])) + +(defn print-doc [{n :ns nm :name :as m}] + (println "-------------------------") + (println (str (when-let [ns (:ns m)] (str ns "/")) (:name m))) + (when (:protocol m) + (println "Protocol")) + (cond + (:forms m) (doseq [f (:forms m)] + (println " " f)) + (:arglists m) (let [arglists (:arglists m)] + (if (or (:macro m) + (:repl-special-function m)) + (prn arglists) + (prn + (if (= 'quote (first arglists)) + (second arglists) + arglists))))) + (if (:special-form m) + (do + (println "Special Form") + (println " " (:doc m)) + (if (contains? m :url) + (when (:url m) + (println (str "\n Please see http://clojure.org/" (:url m)))) + (println (str "\n Please see http://clojure.org/special_forms#" + (:name m))))) + (do + (when (:macro m) + (println "Macro")) + (when (:repl-special-function m) + (println "REPL Special Function")) + (println " " (:doc m)) + (when (:protocol m) + (doseq [[name {:keys [doc arglists]}] (:methods m)] + (println) + (println " " name) + (println " " arglists) + (when doc + (println " " doc)))) + (when n + (when-let [fnspec (spec/get-spec (symbol (str (ns-name n)) (name nm)))] + (print "Spec") + (doseq [role [:args :ret :fn]] + (when-let [spec (get fnspec role)] + (print (str "\n " (name role) ":") (spec/describe spec))))))))) diff --git a/examples/resources/public/js/out/cljs/repl.cljs.cache.json b/examples/resources/public/js/out/cljs/repl.cljs.cache.json new file mode 100644 index 0000000..3878f47 --- /dev/null +++ b/examples/resources/public/js/out/cljs/repl.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.repl","~:imports",null,"~:requires",["^ ","~$spec","~$cljs.spec.alpha","^:","^:"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$print-doc",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/repl.cljs","~:line",13,"~:column",7,"~:end-line",13,"~:end-column",16,"~:arglists",["~#list",["~$quote",["^G",[[["^ ","~$n","~:ns","~$nm","^5","~:as","~$m"]]]]]]],"^5","~$cljs.repl/print-doc","~:variadic",false,"^A","resources/public/js/out/cljs/repl.cljs","^E",16,"~:method-params",["^G",[["~$p__26414"]]],"~:protocol-impl",null,"~:arglists-meta",["^G",[null,null]],"^C",1,"^B",13,"^D",13,"~:max-fixed-arity",1,"~:fn-var",true,"^F",["^G",["^H",["^G",[[["^ ","~$n","^I","^J","^5","^K","~$m"]]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^6","^6","^9","^:","^:","^:"],"~:cljs.analyzer/constants",["^ ","~:seen",["^4",["~:args","~:ret","~:fn","~:protocol","^I","^5","~:special-form","~:repl-special-function","~:methods","~:macro","~:url","^H","^F","~:doc","~:forms"]],"~:order",["^I","^5","^[","^16","^F","^13","^11","^H","^10","^15","^14","^12","^X","^Y","^Z"]],"^15",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/repl.js b/examples/resources/public/js/out/cljs/repl.js new file mode 100644 index 0000000..1d1feb5 --- /dev/null +++ b/examples/resources/public/js/out/cljs/repl.js @@ -0,0 +1,293 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.repl'); +goog.require('cljs.core'); +goog.require('cljs.spec.alpha'); +cljs.repl.print_doc = (function cljs$repl$print_doc(p__26414){ +var map__26415 = p__26414; +var map__26415__$1 = ((((!((map__26415 == null)))?(((((map__26415.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26415.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26415):map__26415); +var m = map__26415__$1; +var n = cljs.core.get.call(null,map__26415__$1,new cljs.core.Keyword(null,"ns","ns",441598760)); +var nm = cljs.core.get.call(null,map__26415__$1,new cljs.core.Keyword(null,"name","name",1843675177)); +cljs.core.println.call(null,"-------------------------"); + +cljs.core.println.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var temp__4657__auto__ = new cljs.core.Keyword(null,"ns","ns",441598760).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_(temp__4657__auto__)){ +var ns = temp__4657__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('')); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"protocol","protocol",652470118).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.call(null,"Protocol"); +} else { +} + +if(cljs.core.truth_(new cljs.core.Keyword(null,"forms","forms",2045992350).cljs$core$IFn$_invoke$arity$1(m))){ +var seq__26417_26439 = cljs.core.seq.call(null,new cljs.core.Keyword(null,"forms","forms",2045992350).cljs$core$IFn$_invoke$arity$1(m)); +var chunk__26418_26440 = null; +var count__26419_26441 = (0); +var i__26420_26442 = (0); +while(true){ +if((i__26420_26442 < count__26419_26441)){ +var f_26443 = cljs.core._nth.call(null,chunk__26418_26440,i__26420_26442); +cljs.core.println.call(null," ",f_26443); + + +var G__26444 = seq__26417_26439; +var G__26445 = chunk__26418_26440; +var G__26446 = count__26419_26441; +var G__26447 = (i__26420_26442 + (1)); +seq__26417_26439 = G__26444; +chunk__26418_26440 = G__26445; +count__26419_26441 = G__26446; +i__26420_26442 = G__26447; +continue; +} else { +var temp__4657__auto___26448 = cljs.core.seq.call(null,seq__26417_26439); +if(temp__4657__auto___26448){ +var seq__26417_26449__$1 = temp__4657__auto___26448; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__26417_26449__$1)){ +var c__4319__auto___26450 = cljs.core.chunk_first.call(null,seq__26417_26449__$1); +var G__26451 = cljs.core.chunk_rest.call(null,seq__26417_26449__$1); +var G__26452 = c__4319__auto___26450; +var G__26453 = cljs.core.count.call(null,c__4319__auto___26450); +var G__26454 = (0); +seq__26417_26439 = G__26451; +chunk__26418_26440 = G__26452; +count__26419_26441 = G__26453; +i__26420_26442 = G__26454; +continue; +} else { +var f_26455 = cljs.core.first.call(null,seq__26417_26449__$1); +cljs.core.println.call(null," ",f_26455); + + +var G__26456 = cljs.core.next.call(null,seq__26417_26449__$1); +var G__26457 = null; +var G__26458 = (0); +var G__26459 = (0); +seq__26417_26439 = G__26456; +chunk__26418_26440 = G__26457; +count__26419_26441 = G__26458; +i__26420_26442 = G__26459; +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_26460 = new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_((function (){var or__3922__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__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.call(null,arglists_26460); +} else { +cljs.core.prn.call(null,((cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"quote","quote",1377916282,null),cljs.core.first.call(null,arglists_26460)))?cljs.core.second.call(null,arglists_26460):arglists_26460)); +} +} 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.call(null,"Special Form"); + +cljs.core.println.call(null," ",new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m)); + +if(cljs.core.contains_QMARK_.call(null,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.call(null,["\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('')); +} else { +return null; +} +} else { +return cljs.core.println.call(null,["\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('')); +} +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.call(null,"Macro"); +} 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.call(null,"REPL Special Function"); +} else { +} + +cljs.core.println.call(null," ",new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m)); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"protocol","protocol",652470118).cljs$core$IFn$_invoke$arity$1(m))){ +var seq__26421_26461 = cljs.core.seq.call(null,new cljs.core.Keyword(null,"methods","methods",453930866).cljs$core$IFn$_invoke$arity$1(m)); +var chunk__26422_26462 = null; +var count__26423_26463 = (0); +var i__26424_26464 = (0); +while(true){ +if((i__26424_26464 < count__26423_26463)){ +var vec__26425_26465 = cljs.core._nth.call(null,chunk__26422_26462,i__26424_26464); +var name_26466 = cljs.core.nth.call(null,vec__26425_26465,(0),null); +var map__26428_26467 = cljs.core.nth.call(null,vec__26425_26465,(1),null); +var map__26428_26468__$1 = ((((!((map__26428_26467 == null)))?(((((map__26428_26467.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26428_26467.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26428_26467):map__26428_26467); +var doc_26469 = cljs.core.get.call(null,map__26428_26468__$1,new cljs.core.Keyword(null,"doc","doc",1913296891)); +var arglists_26470 = cljs.core.get.call(null,map__26428_26468__$1,new cljs.core.Keyword(null,"arglists","arglists",1661989754)); +cljs.core.println.call(null); + +cljs.core.println.call(null," ",name_26466); + +cljs.core.println.call(null," ",arglists_26470); + +if(cljs.core.truth_(doc_26469)){ +cljs.core.println.call(null," ",doc_26469); +} else { +} + + +var G__26471 = seq__26421_26461; +var G__26472 = chunk__26422_26462; +var G__26473 = count__26423_26463; +var G__26474 = (i__26424_26464 + (1)); +seq__26421_26461 = G__26471; +chunk__26422_26462 = G__26472; +count__26423_26463 = G__26473; +i__26424_26464 = G__26474; +continue; +} else { +var temp__4657__auto___26475 = cljs.core.seq.call(null,seq__26421_26461); +if(temp__4657__auto___26475){ +var seq__26421_26476__$1 = temp__4657__auto___26475; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__26421_26476__$1)){ +var c__4319__auto___26477 = cljs.core.chunk_first.call(null,seq__26421_26476__$1); +var G__26478 = cljs.core.chunk_rest.call(null,seq__26421_26476__$1); +var G__26479 = c__4319__auto___26477; +var G__26480 = cljs.core.count.call(null,c__4319__auto___26477); +var G__26481 = (0); +seq__26421_26461 = G__26478; +chunk__26422_26462 = G__26479; +count__26423_26463 = G__26480; +i__26424_26464 = G__26481; +continue; +} else { +var vec__26430_26482 = cljs.core.first.call(null,seq__26421_26476__$1); +var name_26483 = cljs.core.nth.call(null,vec__26430_26482,(0),null); +var map__26433_26484 = cljs.core.nth.call(null,vec__26430_26482,(1),null); +var map__26433_26485__$1 = ((((!((map__26433_26484 == null)))?(((((map__26433_26484.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26433_26484.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26433_26484):map__26433_26484); +var doc_26486 = cljs.core.get.call(null,map__26433_26485__$1,new cljs.core.Keyword(null,"doc","doc",1913296891)); +var arglists_26487 = cljs.core.get.call(null,map__26433_26485__$1,new cljs.core.Keyword(null,"arglists","arglists",1661989754)); +cljs.core.println.call(null); + +cljs.core.println.call(null," ",name_26483); + +cljs.core.println.call(null," ",arglists_26487); + +if(cljs.core.truth_(doc_26486)){ +cljs.core.println.call(null," ",doc_26486); +} else { +} + + +var G__26488 = cljs.core.next.call(null,seq__26421_26476__$1); +var G__26489 = null; +var G__26490 = (0); +var G__26491 = (0); +seq__26421_26461 = G__26488; +chunk__26422_26462 = G__26489; +count__26423_26463 = G__26490; +i__26424_26464 = G__26491; +continue; +} +} else { +} +} +break; +} +} else { +} + +if(cljs.core.truth_(n)){ +var temp__4657__auto__ = cljs.spec.alpha.get_spec.call(null,cljs.core.symbol.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.ns_name.call(null,n))].join(''),cljs.core.name.call(null,nm))); +if(cljs.core.truth_(temp__4657__auto__)){ +var fnspec = temp__4657__auto__; +cljs.core.print.call(null,"Spec"); + +var seq__26435 = cljs.core.seq.call(null,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__26436 = null; +var count__26437 = (0); +var i__26438 = (0); +while(true){ +if((i__26438 < count__26437)){ +var role = cljs.core._nth.call(null,chunk__26436,i__26438); +var temp__4657__auto___26492__$1 = cljs.core.get.call(null,fnspec,role); +if(cljs.core.truth_(temp__4657__auto___26492__$1)){ +var spec_26493 = temp__4657__auto___26492__$1; +cljs.core.print.call(null,["\n ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,role)),":"].join(''),cljs.spec.alpha.describe.call(null,spec_26493)); +} else { +} + + +var G__26494 = seq__26435; +var G__26495 = chunk__26436; +var G__26496 = count__26437; +var G__26497 = (i__26438 + (1)); +seq__26435 = G__26494; +chunk__26436 = G__26495; +count__26437 = G__26496; +i__26438 = G__26497; +continue; +} else { +var temp__4657__auto____$1 = cljs.core.seq.call(null,seq__26435); +if(temp__4657__auto____$1){ +var seq__26435__$1 = temp__4657__auto____$1; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__26435__$1)){ +var c__4319__auto__ = cljs.core.chunk_first.call(null,seq__26435__$1); +var G__26498 = cljs.core.chunk_rest.call(null,seq__26435__$1); +var G__26499 = c__4319__auto__; +var G__26500 = cljs.core.count.call(null,c__4319__auto__); +var G__26501 = (0); +seq__26435 = G__26498; +chunk__26436 = G__26499; +count__26437 = G__26500; +i__26438 = G__26501; +continue; +} else { +var role = cljs.core.first.call(null,seq__26435__$1); +var temp__4657__auto___26502__$2 = cljs.core.get.call(null,fnspec,role); +if(cljs.core.truth_(temp__4657__auto___26502__$2)){ +var spec_26503 = temp__4657__auto___26502__$2; +cljs.core.print.call(null,["\n ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,role)),":"].join(''),cljs.spec.alpha.describe.call(null,spec_26503)); +} else { +} + + +var G__26504 = cljs.core.next.call(null,seq__26435__$1); +var G__26505 = null; +var G__26506 = (0); +var G__26507 = (0); +seq__26435 = G__26504; +chunk__26436 = G__26505; +count__26437 = G__26506; +i__26438 = G__26507; +continue; +} +} else { +return null; +} +} +break; +} +} else { +return null; +} +} else { +return null; +} +} +}); + +//# sourceMappingURL=repl.js.map?rel=1628501146340 diff --git a/examples/resources/public/js/out/cljs/repl.js.map b/examples/resources/public/js/out/cljs/repl.js.map new file mode 100644 index 0000000..30e4625 --- /dev/null +++ b/examples/resources/public/js/out/cljs/repl.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/repl.js","sources":["repl.cljs?rel=1628501146342"],"lineCount":293,"mappings":";AAQA;;;AAIA,sBAAA,8BAAAA,pDAAMM;AAAN,AAAA,IAAAL,aAAAD;IAAAC,iBAAA,EAAA,EAAA,EAAA,CAAAA,cAAA,QAAA,EAAA,EAAA,CAAA,AAAAA,iDAAA,WAAA,CAAAC,gCAAA,AAAAD,+BAAA,KAAA,OAAA,QAAA,AAAAE,0BAAAC,mBAAAH,YAAAA;QAAAA,JAAqCQ;QAArC,AAAAJ,wBAAAJ,eAAA,3CAAkBM;SAAlB,AAAAF,wBAAAJ,eAAA,5CAAwBO;AAAxB,AACE,4BAAA,5BAAC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BAAIuC,OAAOU;AAA5B,AAAA,oBAAA3C;AAAA,AAAA,iBAAAA,bAAW4C;AAAX,AACE,AAACN,0BAAM,CAAA,kFAAA,hCAAW,AAACD,yBAAKM,qBAAW,AAACE,mCAAcD;;AADpD;;AADF;AAAA,eAAAL;eAAAC;eAAAC;eAAA,CAAAC,WAAA;;;;;;;AAAA,IAAA1C,yBAAA,AAAAG,wBAAAoC;AAAA,AAAA,GAAAvC;AAAA,AAAA,IAAAuC,iBAAAvC;AAAA,AAAA,GAAA,AAAAQ,uCAAA+B;AAAA,IAAA9B,kBAAA,AAAAC,gCAAA6B;AAAA,AAAA,eAAA,AAAA5B,+BAAA4B;eAAA9B;eAAA,AAAAG,0BAAAH;eAAA;;;;;;;AAAA,WAAA,AAAAI,0BAAA0B,jCAAQI;AAAR,AAAA,AACE,IAAA3C,+BAAgB,AAACN,wBAAIuC,OAAOU;AAA5B,AAAA,oBAAA3C;AAAA,AAAA,iBAAAA,bAAW4C;AAAX,AACE,AAACN,0BAAM,CAAA,kFAAA,hCAAW,AAACD,yBAAKM,qBAAW,AAACE,mCAAcD;;AADpD;;AADF;AAAA,eAAA,AAAA9B,yBAAAyB;eAAA;eAAA;eAAA;;;;;;;;AAAA;;;;;;AAFF;;;AADF","names":["p__26414","map__26415","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","cljs.repl\/print-doc","n","nm","m","cljs.core\/println","temp__4657__auto__","ns","seq__26417","cljs.core\/seq","chunk__26418","count__26419","i__26420","cljs.core\/-nth","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/count","cljs.core\/first","cljs.core\/next","f","arglists","or__3922__auto__","cljs.core\/prn","cljs.core\/=","cljs.core\/second","cljs.core\/contains?","seq__26421","chunk__26422","count__26423","i__26424","vec__26425","cljs.core\/nth","map__26428","vec__26430","map__26433","name","doc","fnspec","cljs.spec.alpha\/get-spec","cljs.core\/symbol","cljs.core\/ns-name","cljs.core\/name","cljs.core\/print","seq__26435","chunk__26436","count__26437","i__26438","role","spec","cljs.spec.alpha\/describe"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/spec/alpha.cljs b/examples/resources/public/js/out/cljs/spec/alpha.cljs new file mode 100644 index 0000000..adad18c --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/alpha.cljs @@ -0,0 +1,1453 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns cljs.spec.alpha + (:refer-clojure :exclude [+ * and or cat def keys merge]) + (:require-macros [cljs.core :as c] + [cljs.spec.alpha :as s]) + (:require [goog.object :as gobj] + [cljs.core :as c] + [clojure.walk :as walk] + [cljs.spec.gen.alpha :as gen] + [clojure.string :as str])) + +(def ^:const MAX_INT 9007199254740991) + +(def ^:dynamic *recursion-limit* + "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." + 4) + +(def ^:dynamic *fspec-iterations* + "The number of times an anonymous fn specified by fspec will be (generatively) tested during conform" + 21) + +(def ^:dynamic *coll-check-limit* + "The number of items validated in a collection spec'ed with 'every'" + 101) + +(def ^:dynamic *coll-error-limit* + "The number of errors reported by explain in a collection spec'ed with 'every'" + 20) + +(defprotocol Spec + (conform* [spec x]) + (unform* [spec y]) + (explain* [spec path via in x]) + (gen* [spec overrides path rmap]) + (with-gen* [spec gfn]) + (describe* [spec])) + +(defonce ^:private registry-ref (atom {})) + +(defn- deep-resolve [reg k] + (loop [spec k] + (if (ident? spec) + (recur (get reg spec)) + spec))) + +(defn- reg-resolve + "returns the spec/regex at end of alias chain starting with k, nil if not found, k if k not ident" + [k] + (if (ident? k) + (let [reg @registry-ref + spec (get reg k)] + (if-not (ident? spec) + spec + (deep-resolve reg spec))) + k)) + +(defn- reg-resolve! + "returns the spec/regex at end of alias chain starting with k, throws if not found, k if k not ident" + [k] + (if (ident? k) + (c/or (reg-resolve k) + (throw (js/Error. (str "Unable to resolve spec: " k)))) + k)) + +(defn spec? + "returns x if x is a spec object, else logical false" + [x] + (when (implements? Spec x) + x)) + +(defn regex? + "returns x if x is a (cljs.spec.alpha) regex op, else logical false" + [x] + (c/and (::op x) x)) + +(defn- with-name [spec name] + (cond + (ident? spec) spec + (regex? spec) (assoc spec ::name name) + + (implements? IMeta spec) + (with-meta spec (assoc (meta spec) ::name name)))) + +(defn- spec-name [spec] + (cond + (ident? spec) spec + + (regex? spec) (::name spec) + + (implements? IMeta spec) + (-> (meta spec) ::name))) + +(declare spec-impl) +(declare regex-spec-impl) + +(defn- maybe-spec + "spec-or-k must be a spec, regex or resolvable kw/sym, else returns nil." + [spec-or-k] + (let [s (c/or (c/and (ident? spec-or-k) (reg-resolve spec-or-k)) + (spec? spec-or-k) + (regex? spec-or-k) + nil)] + (if (regex? s) + (with-name (regex-spec-impl s nil) (spec-name s)) + s))) + +(defn- the-spec + "spec-or-k must be a spec, regex or kw/sym, else returns nil. Throws if unresolvable kw/sym" + [spec-or-k] + (c/or (maybe-spec spec-or-k) + (when (ident? spec-or-k) + (throw (js/Error. (str "Unable to resolve spec: " spec-or-k)))))) + +(defprotocol Specize + (specize* [_] [_ form])) + +(extend-protocol Specize + Keyword + (specize* ([k] (specize* (reg-resolve! k))) + ([k _] (specize* (reg-resolve! k)))) + + Symbol + (specize* ([s] (specize* (reg-resolve! s))) + ([s _] (specize* (reg-resolve! s)))) + + default + (specize* + ([o] (spec-impl ::unknown o nil nil)) + ([o form] (spec-impl form o nil nil)))) + +(defn- specize + ([s] (c/or (spec? s) (specize* s))) + ([s form] (c/or (spec? s) (specize* s form)))) + +(defn invalid? + "tests the validity of a conform return value" + [ret] + (keyword-identical? ::invalid ret)) + +(defn conform + "Given a spec and a value, returns :cljs.spec.alpha/invalid if value does + not match spec, else the (possibly destructured) value." + [spec x] + (conform* (specize spec) x)) + +(defn unform + "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." + [spec x] + (unform* (specize spec) x)) + +(defn form + "returns the spec as data" + [spec] + ;;TODO - incorporate gens + (describe* (specize spec))) + +(defn abbrev [form] + (cond + (seq? form) + (walk/postwalk (fn [form] + (cond + (c/and (symbol? form) (namespace form)) + (-> form name symbol) + + (c/and (seq? form) (= 'fn (first form)) (= '[%] (second form))) + (last form) + + :else form)) + form) + + (c/and (symbol? form) (namespace form)) + (-> form name symbol) + + :else form)) + +(defn describe + "returns an abbreviated description of the spec as data" + [spec] + (abbrev (form spec))) + +(defn with-gen + "Takes a spec and a no-arg, generator-returning fn and returns a version of that spec that uses that generator" + [spec gen-fn] + (let [spec (reg-resolve spec)] + (if (regex? spec) + (assoc spec ::gfn gen-fn) + (with-gen* (specize spec) gen-fn)))) + +(defn explain-data* [spec path via in x] + (when-let [probs (explain* (specize spec) path via in x)] + (when-not (empty? probs) + {::problems probs + ::spec spec + ::value x}))) + +(defn explain-data + "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." + [spec x] + (explain-data* spec [] (if-let [name (spec-name spec)] [name] []) [] x)) + +(defn explain-printer + "Default printer for explain-data. nil indicates a successful validation." + [ed] + (if ed + (let [problems (sort-by #(- (count (:path %))) (::problems ed))] + (print + (with-out-str + ;;(prn {:ed ed}) + (doseq [{:keys [path pred val reason via in] :as prob} problems] + (when-not (empty? in) + (print "In:" (pr-str in) "")) + (print "val: ") + (pr val) + (print " fails") + (when-not (empty? via) + (print " spec:" (pr-str (last via)))) + (when-not (empty? path) + (print " at:" (pr-str path))) + (print " predicate: ") + (pr (abbrev pred)) + (when reason (print ", " reason)) + (doseq [[k v] prob] + (when-not (#{:path :pred :val :reason :via :in} k) + (print "\n\t" (pr-str k) " ") + (pr v))) + (newline)) + (doseq [[k v] ed] + (when-not (#{::problems} k) + (print (pr-str k) " ") + (pr v) + (newline)))))) + (println "Success!"))) + +(def ^:dynamic *explain-out* explain-printer) + +(defn explain-out + "Prints explanation data (per 'explain-data') to *out* using the printer in *explain-out*, + by default explain-printer." + [ed] + (*explain-out* ed)) + +(defn explain + "Given a spec and a value that fails to conform, prints an explanation to *out*." + [spec x] + (explain-out (explain-data spec x))) + +(defn explain-str + "Given a spec and a value that fails to conform, returns an explanation as a string." + [spec x] + (with-out-str (explain spec x))) + +(declare valid?) + +(defn- gensub + [spec overrides path rmap form] + ;;(prn {:spec spec :over overrides :path path :form form}) + (let [spec (specize spec)] + (if-let [g (c/or (when-let [gfn (c/or (get overrides (c/or (spec-name spec) spec)) + (get overrides path))] + (gfn)) + (gen* spec overrides path rmap))] + (gen/such-that #(valid? spec %) g 100) + (throw (js/Error. (str "Unable to construct gen at: " path " for: " (abbrev form))))))) + +(defn gen + "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)" + ([spec] (gen spec nil)) + ([spec overrides] (gensub spec overrides [] {::recursion-limit *recursion-limit*} spec))) + +(defn ^:skip-wiki def-impl + "Do not call this directly, use 'def'" + [k form spec] + (assert (c/and (ident? k) (namespace k)) "k must be namespaced keyword or resolveable symbol") + (let [spec (if (c/or (spec? spec) (regex? spec) (get @registry-ref spec)) + spec + (spec-impl form spec nil nil))] + (swap! registry-ref assoc k (with-name spec k)) + k)) + +(defn registry + "returns the registry map, prefer 'get-spec' to lookup a spec by name" + [] + @registry-ref) + +(defn- ->sym + "Returns a symbol from a symbol or var" + [x] + (if (var? x) + (.-sym x) + x)) + +(defn get-spec + "Returns spec registered for keyword/symbol/var k, or nil." + [k] + (get (registry) (if (keyword? k) k (->sym k)))) + +(declare map-spec) + +(defn- macroexpand-check + [v args] + (let [specs (get-spec v)] + (when-let [arg-spec (:args specs)] + (when (invalid? (conform arg-spec args)) + (let [ed (assoc (explain-data* arg-spec [:args] + (if-let [name (spec-name arg-spec)] [name] []) [] args) + ::args args)] + (throw (js/Error. + (str + "Call to " (->sym v) " did not conform to spec:\n" + (with-out-str (explain-out ed)))))))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; impl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(defn- recur-limit? [rmap id path k] + (c/and (> (get rmap id) (::recursion-limit rmap)) + (contains? (set path) k))) + +(defn- inck [m k] + (assoc m k (inc (c/or (get m k) 0)))) + +(defn- dt + ([pred x form] (dt pred x form nil)) + ([pred x form cpred?] + (if pred + (if-let [spec (the-spec pred)] + (conform spec x) + (if (ifn? pred) + (if cpred? + (pred x) + (if (pred x) x ::invalid)) + (throw (js/Error. (str (pr-str form) " is not a fn, expected predicate fn"))))) + x))) + +(defn valid? + "Helper function that returns true when x is valid for spec." + ([spec x] + (let [spec (specize spec)] + (not (invalid? (conform* spec x))))) + ([spec x form] + (let [spec (specize spec form)] + (not (invalid? (conform* spec x)))))) + +(defn- pvalid? + "internal helper function that returns true when x is valid for spec." + ([pred x] + (not (invalid? (dt pred x ::unknown)))) + ([pred x form] + (not (invalid? (dt pred x form))))) + +(defn- explain-1 [form pred path via in v] + ;;(prn {:form form :pred pred :path path :in in :v v}) + (let [pred (maybe-spec pred)] + (if (spec? pred) + (explain* pred path (if-let [name (spec-name pred)] (conj via name) via) in v) + [{:path path :pred form :val v :via via :in in}]))) + +(defn ^:skip-wiki map-spec-impl + "Do not call this directly, use 'spec' with a map argument" + [{:keys [req-un opt-un keys-pred pred-exprs opt-keys req-specs req req-keys opt-specs pred-forms opt gfn] + :as argm}] + (let [k->s (zipmap (concat req-keys opt-keys) (concat req-specs opt-specs)) + keys->specnames #(c/or (k->s %) %) + id (random-uuid)] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ m] + (if (keys-pred m) + (let [reg (registry)] + (loop [ret m, [[k v] & ks :as keys] m] + (if keys + (let [sname (keys->specnames k)] + (if-let [s (get reg sname)] + (let [cv (conform s v)] + (if (invalid? cv) + ::invalid + (recur (if (identical? cv v) ret (assoc ret k cv)) + ks))) + (recur ret ks))) + ret))) + ::invalid)) + (unform* [_ m] + (let [reg (registry)] + (loop [ret m, [k & ks :as keys] (c/keys m)] + (if keys + (if (contains? reg (keys->specnames k)) + (let [cv (get m k) + v (unform (keys->specnames k) cv)] + (recur (if (identical? cv v) ret (assoc ret k v)) + ks)) + (recur ret ks)) + ret)))) + (explain* [_ path via in x] + (if-not (map? x) + [{:path path :pred 'map? :val x :via via :in in}] + (let [reg (registry)] + (apply concat + (when-let [probs (->> (map (fn [pred form] (when-not (pred x) form)) + pred-exprs pred-forms) + (keep identity) + seq)] + (map + #(identity {:path path :pred % :val x :via via :in in}) + probs)) + (map (fn [[k v]] + (when-not (c/or (not (contains? reg (keys->specnames k))) + (pvalid? (keys->specnames k) v k)) + (explain-1 (keys->specnames k) (keys->specnames k) (conj path k) via (conj in k) v))) + (seq x)))))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (let [rmap (inck rmap id) + gen (fn [k s] (gensub s overrides (conj path k) rmap k)) + ogen (fn [k s] + (when-not (recur-limit? rmap id path k) + [k (gen/delay (gensub s overrides (conj path k) rmap k))])) + req-gens (map gen req-keys req-specs) + opt-gens (remove nil? (map ogen opt-keys opt-specs))] + (when (every? identity (concat req-gens opt-gens)) + (let [reqs (zipmap req-keys req-gens) + opts (into {} opt-gens)] + (gen/bind (gen/choose 0 (count opts)) + #(let [args (concat (seq reqs) (when (seq opts) (shuffle (seq opts))))] + (->> args + (take (c/+ % (count reqs))) + (apply concat) + (apply gen/hash-map))))))))) + (with-gen* [_ gfn] (map-spec-impl (assoc argm :gfn gfn))) + (describe* [_] (cons `keys + (cond-> [] + req (conj :req req) + opt (conj :opt opt) + req-un (conj :req-un req-un) + opt-un (conj :opt-un opt-un))))))) + +(defn ^:skip-wiki spec-impl + "Do not call this directly, use 'spec'" + ([form pred gfn cpred?] (spec-impl form pred gfn cpred? nil)) + ([form pred gfn cpred? unc] + (cond + (spec? pred) (cond-> pred gfn (with-gen gfn)) + (regex? pred) (regex-spec-impl pred gfn) + (ident? pred) (cond-> (the-spec pred) gfn (with-gen gfn)) + :else + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (let [ret (pred x)] + (if cpred? + ret + (if ret x ::invalid)))) + (unform* [_ x] (if cpred? + (if unc + (unc x) + (throw (js/Error. "no unform fn for conformer"))) + x)) + (explain* [_ path via in x] + (when (invalid? (dt pred x form cpred?)) + [{:path path :pred form :val x :via via :in in}])) + (gen* [_ _ _ _] (if gfn + (gfn) + (gen/gen-for-pred pred))) + (with-gen* [_ gfn] (spec-impl form pred gfn cpred? unc)) + (describe* [_] form))))) + +(defn ^:skip-wiki multi-spec-impl + "Do not call this directly, use 'multi-spec'" + ([form mmvar retag] (multi-spec-impl form mmvar retag nil)) + ([form mmvar retag gfn] + (let [id (random-uuid) + predx #(let [mm @mmvar] + (c/and (-get-method mm ((-dispatch-fn mm) %)) + (mm %))) + dval #((-dispatch-fn @mmvar) %) + tag (if (keyword? retag) + #(assoc %1 retag %2) + retag)] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (if-let [pred (predx x)] + (dt pred x form) + ::invalid)) + (unform* [_ x] (if-let [pred (predx x)] + (unform pred x) + (throw (js/Error. (str "No method of: " form " for dispatch value: " (dval x)))))) + (explain* [_ path via in x] + (let [dv (dval x) + path (conj path dv)] + (if-let [pred (predx x)] + (explain-1 form pred path via in x) + [{:path path :pred form :val x :reason "no method" :via via :in in}]))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (let [gen (fn [[k f]] + (let [p (f nil)] + (let [rmap (inck rmap id)] + (when-not (recur-limit? rmap id path k) + (gen/delay + (gen/fmap + #(tag % k) + (gensub p overrides (conj path k) rmap (list 'method form k)))))))) + gs (->> (methods @mmvar) + (remove (fn [[k]] (invalid? k))) + (map gen) + (remove nil?))] + (when (every? identity gs) + (gen/one-of gs))))) + (with-gen* [_ gfn] (multi-spec-impl form mmvar retag gfn)) + (describe* [_] `(multi-spec ~form ~retag)))))) + +(defn ^:skip-wiki tuple-impl + "Do not call this directly, use 'tuple'" + ([forms preds] (tuple-impl forms preds nil)) + ([forms preds gfn] + (let [specs (delay (mapv specize preds forms)) + cnt (count preds)] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] + (let [specs @specs] + (if-not (c/and (vector? x) + (= (count x) cnt)) + ::invalid + (loop [ret x, i 0] + (if (= i cnt) + ret + (let [v (x i) + cv (conform* (specs i) v)] + (if (invalid? cv) + ::invalid + (recur (if (identical? cv v) ret (assoc ret i cv)) + (inc i))))))))) + (unform* [_ x] + (assert (c/and (vector? x) + (= (count x) (count preds)))) + (loop [ret x, i 0] + (if (= i (count x)) + ret + (let [cv (x i) + v (unform (preds i) cv)] + (recur (if (identical? cv v) ret (assoc ret i v)) + (inc i)))))) + (explain* [_ path via in x] + (cond + (not (vector? x)) + [{:path path :pred 'vector? :val x :via via :in in}] + + (not= (count x) (count preds)) + [{:path path :pred `(= (count ~'%) ~(count preds)) :val x :via via :in in}] + + :else + (apply concat + (map (fn [i form pred] + (let [v (x i)] + (when-not (pvalid? pred v) + (explain-1 form pred (conj path i) via (conj in i) v)))) + (range (count preds)) forms preds)))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (let [gen (fn [i p f] + (gensub p overrides (conj path i) rmap f)) + gs (map gen (range (count preds)) preds forms)] + (when (every? identity gs) + (apply gen/tuple gs))))) + (with-gen* [_ gfn] (tuple-impl forms preds gfn)) + (describe* [_] `(tuple ~@forms)))))) + +(defn- tagged-ret [tag ret] + (MapEntry. tag ret nil)) + +(defn ^:skip-wiki or-spec-impl + "Do not call this directly, use 'or'" + [keys forms preds gfn] + (let [id (random-uuid) + kps (zipmap keys preds) + specs (delay (mapv specize preds forms)) + cform (case (count preds) + 2 (fn [x] + (let [specs @specs + ret (conform* (specs 0) x)] + (if (invalid? ret) + (let [ret (conform* (specs 1) x)] + (if (invalid? ret) + ::invalid + (tagged-ret (keys 1) ret))) + (tagged-ret (keys 0) ret)))) + 3 (fn [x] + (let [specs @specs + ret (conform* (specs 0) x)] + (if (invalid? ret) + (let [ret (conform* (specs 1) x)] + (if (invalid? ret) + (let [ret (conform* (specs 2) x)] + (if (invalid? ret) + ::invalid + (tagged-ret (keys 2) ret))) + (tagged-ret (keys 1) ret))) + (tagged-ret (keys 0) ret)))) + (fn [x] + (let [specs @specs] + (loop [i 0] + (if (< i (count specs)) + (let [spec (specs i)] + (let [ret (conform* spec x)] + (if (invalid? ret) + (recur (inc i)) + (tagged-ret (keys i) ret)))) + ::invalid)))))] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (cform x)) + (unform* [_ [k x]] (unform (kps k) x)) + (explain* [this path via in x] + (when-not (pvalid? this x) + (apply concat + (map (fn [k form pred] + (when-not (pvalid? pred x) + (explain-1 form pred (conj path k) via in x))) + keys forms preds)))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (let [gen (fn [k p f] + (let [rmap (inck rmap id)] + (when-not (recur-limit? rmap id path k) + (gen/delay + (gensub p overrides (conj path k) rmap f))))) + gs (remove nil? (map gen keys preds forms))] + (when-not (empty? gs) + (gen/one-of gs))))) + (with-gen* [_ gfn] (or-spec-impl keys forms preds gfn)) + (describe* [_] `(or ~@(mapcat vector keys forms)))))) + +(defn- and-preds [x preds forms] + (loop [ret x + [pred & preds] preds + [form & forms] forms] + (if pred + (let [nret (dt pred ret form)] + (if (invalid? nret) + ::invalid + ;;propagate conformed values + (recur nret preds forms))) + ret))) + +(defn- explain-pred-list + [forms preds path via in x] + (loop [ret x + [form & forms] forms + [pred & preds] preds] + (when pred + (let [nret (dt pred ret form)] + (if (invalid? nret) + (explain-1 form pred path via in ret) + (recur nret forms preds)))))) + +(defn ^:skip-wiki and-spec-impl + "Do not call this directly, use 'and'" + [forms preds gfn] + (let [specs (delay (mapv specize preds forms)) + cform + (case (count preds) + 2 (fn [x] + (let [specs @specs + ret (conform* (specs 0) x)] + (if (invalid? ret) + ::invalid + (conform* (specs 1) ret)))) + 3 (fn [x] + (let [specs @specs + ret (conform* (specs 0) x)] + (if (invalid? ret) + ::invalid + (let [ret (conform* (specs 1) ret)] + (if (invalid? ret) + ::invalid + (conform* (specs 2) ret)))))) + (fn [x] + (let [specs @specs] + (loop [ret x i 0] + (if (< i (count specs)) + (let [nret (conform* (specs i) ret)] + (if (invalid? nret) + ::invalid + ;;propagate conformed values + (recur nret (inc i)))) + ret)))))] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (cform x)) + (unform* [_ x] (reduce #(unform %2 %1) x (reverse preds))) + (explain* [_ path via in x] (explain-pred-list forms preds path via in x)) + (gen* [_ overrides path rmap] (if gfn (gfn) (gensub (first preds) overrides path rmap (first forms)))) + (with-gen* [_ gfn] (and-spec-impl forms preds gfn)) + (describe* [_] `(and ~@forms))))) + +(defn- coll-prob [x kfn kform distinct count min-count max-count + path via in] + (let [pred (c/or kfn coll?) + kform (c/or kform `coll?)] + (cond + (not (pvalid? pred x)) + (explain-1 kform pred path via in x) + + (c/and count (not= count (bounded-count count x))) + [{:path path :pred `(= ~count (c/count ~'%)) :val x :via via :in in}] + + (c/and (c/or min-count max-count) + (not (<= (c/or min-count 0) + (bounded-count (if max-count (inc max-count) min-count) x) + (c/or max-count MAX_INT)))) + [{:path path :pred `(<= ~(c/or min-count 0) (c/count ~'%) ~(c/or max-count MAX_INT)) :val x :via via :in in}] + + (c/and distinct (not (empty? x)) (not (apply distinct? x))) + [{:path path :pred 'distinct? :val x :via via :in in}]))) + +(defn ^:skip-wiki merge-spec-impl + "Do not call this directly, use 'merge'" + [forms preds gfn] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (let [ms (map #(dt %1 x %2) preds forms)] + (if (some invalid? ms) + ::invalid + (apply c/merge ms)))) + (unform* [_ x] (apply c/merge (map #(unform % x) (reverse preds)))) + (explain* [_ path via in x] + (apply concat + (map #(explain-1 %1 %2 path via in x) + forms preds))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (gen/fmap + #(apply c/merge %) + (apply gen/tuple (map #(gensub %1 overrides path rmap %2) + preds forms))))) + (with-gen* [_ gfn] (merge-spec-impl forms preds gfn)) + (describe* [_] `(merge ~@forms)))) + +(defn ^:skip-wiki every-impl + "Do not call this directly, use 'every', 'every-kv', 'coll-of' or 'map-of'" + ([form pred opts] (every-impl form pred opts nil)) + ([form pred {gen-into :into + describe-form ::describe + :keys [kind ::kind-form count max-count min-count distinct gen-max ::kfn ::cpred + conform-keys ::conform-all] + :or {gen-max 20} + :as opts} + gfn] + (let [conform-into gen-into + spec (delay (specize pred)) + check? #(valid? @spec %) + kfn (c/or kfn (fn [i v] i)) + addcv (fn [ret i v cv] (conj ret cv)) + cfns (fn [x] + ;;returns a tuple of [init add complete] fns + (cond + (c/and (vector? x) (c/or (not conform-into) (vector? conform-into))) + [identity + (fn [ret i v cv] + (if (identical? v cv) + ret + (assoc ret i cv))) + identity] + + (c/and (map? x) (c/or (c/and kind (not conform-into)) (map? conform-into))) + [(if conform-keys empty identity) + (fn [ret i v cv] + (if (c/and (identical? v cv) (not conform-keys)) + ret + (assoc ret (nth (if conform-keys cv v) 0) (nth cv 1)))) + identity] + + (c/or (list? conform-into) (seq? conform-into) (c/and (not conform-into) (c/or (list? x) (seq? x)))) + [empty addcv reverse] + + :else [#(empty (c/or conform-into %)) addcv identity]))] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] + (let [spec @spec] + (cond + (not (cpred x)) ::invalid + + conform-all + (let [[init add complete] (cfns x)] + (loop [ret (init x), i 0, [v & vs :as vseq] (seq x)] + (if vseq + (let [cv (conform* spec v)] + (if (invalid? cv) + ::invalid + (recur (add ret i v cv) (inc i) vs))) + (complete ret)))) + + :else + (if (indexed? x) + (let [step (max 1 (long (/ (c/count x) *coll-check-limit*)))] + (loop [i 0] + (if (>= i (c/count x)) + x + (if (valid? spec (nth x i)) + (recur (c/+ i step)) + ::invalid)))) + (let [limit *coll-check-limit*] + (loop [i 0 [v & vs :as vseq] (seq x)] + (cond + (c/or (nil? vseq) (= i limit)) x + (valid? spec v) (recur (inc i) vs) + :else ::invalid))))))) + (unform* [_ x] + (if conform-all + (let [spec @spec + [init add complete] (cfns x)] + (loop [ret (init x), i 0, [v & vs :as vseq] (seq x)] + (if (>= i (c/count x)) + (complete ret) + (recur (add ret i v (unform* spec v)) (inc i) vs)))) + x)) + (explain* [_ path via in x] + (c/or (coll-prob x kind kind-form distinct count min-count max-count + path via in) + (apply concat + ((if conform-all identity (partial take *coll-error-limit*)) + (keep identity + (map (fn [i v] + (let [k (kfn i v)] + (when-not (check? v) + (let [prob (explain-1 form pred path via (conj in k) v)] + prob)))) + (range) x)))))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (let [pgen (gensub pred overrides path rmap form)] + (gen/bind + (cond + gen-into (gen/return (empty gen-into)) + kind (gen/fmap #(if (empty? %) % (empty %)) + (gensub kind overrides path rmap form)) + :else (gen/return [])) + (fn [init] + (gen/fmap + #(if (vector? init) % (into init %)) + (cond + distinct + (if count + (gen/vector-distinct pgen {:num-elements count :max-tries 100}) + (gen/vector-distinct pgen {:min-elements (c/or min-count 0) + :max-elements (c/or max-count (max gen-max (c/* 2 (c/or min-count 0)))) + :max-tries 100})) + + count + (gen/vector pgen count) + + (c/or min-count max-count) + (gen/vector pgen (c/or min-count 0) (c/or max-count (max gen-max (c/* 2 (c/or min-count 0))))) + + :else + (gen/vector pgen 0 gen-max)))))))) + + (with-gen* [_ gfn] (every-impl form pred opts gfn)) + (describe* [_] (c/or describe-form `(every ~(s/mres form) ~@(mapcat identity opts)))))))) + +;;;;;;;;;;;;;;;;;;;;;;; regex ;;;;;;;;;;;;;;;;;;; +;;See: +;; http://matt.might.net/articles/implementation-of-regular-expression-matching-in-scheme-with-derivatives/ +;; http://www.ccs.neu.edu/home/turon/re-deriv.pdf + +;;ctors +(defn- accept [x] {::op ::accept :ret x}) + +(defn- accept? [{:keys [::op]}] + (= ::accept op)) + +(defn- pcat* [{[p1 & pr :as ps] :ps, [k1 & kr :as ks] :ks, [f1 & fr :as forms] :forms, ret :ret, rep+ :rep+}] + (when (every? identity ps) + (if (accept? p1) + (let [rp (:ret p1) + ret (conj ret (if ks {k1 rp} rp))] + (if pr + (pcat* {:ps pr :ks kr :forms fr :ret ret}) + (accept ret))) + {::op ::pcat, :ps ps, :ret ret, :ks ks, :forms forms :rep+ rep+}))) + +(defn- pcat [& ps] (pcat* {:ps ps :ret []})) + +(defn ^:skip-wiki cat-impl + "Do not call this directly, use 'cat'" + [ks ps forms] + (pcat* {:ks ks, :ps ps, :forms forms, :ret {}})) + +(defn- rep* [p1 p2 ret splice form] + (when p1 + (let [r {::op ::rep, :p2 p2, :splice splice, :forms form :id (random-uuid)}] + (if (accept? p1) + (assoc r :p1 p2 :ret (conj ret (:ret p1))) + (assoc r :p1 p1, :ret ret))))) + +(defn ^:skip-wiki rep-impl + "Do not call this directly, use '*'" + [form p] (rep* p p [] false form)) + +(defn ^:skip-wiki rep+impl + "Do not call this directly, use '+'" + [form p] + (pcat* {:ps [p (rep* p p [] true form)] :forms `[~form (* ~form)] :ret [] :rep+ form})) + +(defn ^:skip-wiki amp-impl + "Do not call this directly, use '&'" + [re preds pred-forms] + {::op ::amp :p1 re :ps preds :forms pred-forms}) + +(defn- filter-alt [ps ks forms f] + (if (c/or ks forms) + (let [pks (->> (map vector ps + (c/or (seq ks) (repeat nil)) + (c/or (seq forms) (repeat nil))) + (filter #(-> % first f)))] + [(seq (map first pks)) (when ks (seq (map second pks))) (when forms (seq (map #(nth % 2) pks)))]) + [(seq (filter f ps)) ks forms])) + +(defn- alt* [ps ks forms] + (let [[[p1 & pr :as ps] [k1 :as ks] forms] (filter-alt ps ks forms identity)] + (when ps + (let [ret {::op ::alt, :ps ps, :ks ks :forms forms}] + (if (nil? pr) + (if k1 + (if (accept? p1) + (accept (tagged-ret k1 (:ret p1))) + ret) + p1) + ret))))) + +(defn- alts [& ps] (alt* ps nil nil)) +(defn- alt2 [p1 p2] (if (c/and p1 p2) (alts p1 p2) (c/or p1 p2))) + +(defn ^:skip-wiki alt-impl + "Do not call this directly, use 'alt'" + [ks ps forms] (assoc (alt* ps ks forms) :id (random-uuid))) + +(defn ^:skip-wiki maybe-impl + "Do not call this directly, use '?'" + [p form] (assoc (alt* [p (accept ::nil)] nil [form ::nil]) :maybe form)) + +(defn- noret? [p1 pret] + (c/or (= pret ::nil) + (c/and (#{::rep ::pcat} (::op (reg-resolve! p1))) ;;hrm, shouldn't know these + (empty? pret)) + nil)) + +(declare preturn) + +(defn- accept-nil? [p] + (let [{:keys [::op ps p1 p2 forms] :as p} (reg-resolve! p)] + (case op + ::accept true + nil nil + ::amp (c/and (accept-nil? p1) + (c/or (noret? p1 (preturn p1)) + (let [ret (-> (preturn p1) (and-preds ps (next forms)))] + (not (invalid? ret))))) + ::rep (c/or (identical? p1 p2) (accept-nil? p1)) + ::pcat (every? accept-nil? ps) + ::alt (c/some accept-nil? ps)))) + +(declare add-ret) + +(defn- preturn [p] + (let [{[p0 & pr :as ps] :ps, [k :as ks] :ks, :keys [::op p1 ret forms] :as p} (reg-resolve! p)] + (case op + ::accept ret + nil nil + ::amp (let [pret (preturn p1)] + (if (noret? p1 pret) + ::nil + (and-preds pret ps forms))) + ::rep (add-ret p1 ret k) + ::pcat (add-ret p0 ret k) + ::alt (let [[[p0] [k0]] (filter-alt ps ks forms accept-nil?) + r (if (nil? p0) ::nil (preturn p0))] + (if k0 (tagged-ret k0 r) r))))) + +(defn- op-unform [p x] + ;;(prn {:p p :x x}) + (let [{[p0 & pr :as ps] :ps, [k :as ks] :ks, :keys [::op p1 ret forms rep+ maybe] :as p} (reg-resolve! p) + kps (zipmap ks ps)] + (case op + ::accept [ret] + nil [(unform p x)] + ::amp (let [px (reduce #(unform %2 %1) x (reverse ps))] + (op-unform p1 px)) + ::rep (mapcat #(op-unform p1 %) x) + ::pcat (if rep+ + (mapcat #(op-unform p0 %) x) + (mapcat (fn [k] + (when (contains? x k) + (op-unform (kps k) (get x k)))) + ks)) + ::alt (if maybe + [(unform p0 x)] + (let [[k v] x] + (op-unform (kps k) v)))))) + +(defn- add-ret [p r k] + (let [{:keys [::op ps splice] :as p} (reg-resolve! p) + prop #(let [ret (preturn p)] + (if (empty? ret) r ((if splice into conj) r (if k {k ret} ret))))] + (case op + nil r + (::alt ::accept ::amp) + (let [ret (preturn p)] + ;;(prn {:ret ret}) + (if (= ret ::nil) r (conj r (if k {k ret} ret)))) + + (::rep ::pcat) (prop)))) + +(defn- deriv + [p x] + (let [{[p0 & pr :as ps] :ps, [k0 & kr :as ks] :ks, :keys [::op p1 p2 ret splice forms] :as p} (reg-resolve! p)] + (when p + (case op + ::accept nil + nil (let [ret (dt p x p)] + (when-not (invalid? ret) (accept ret))) + ::amp (when-let [p1 (deriv p1 x)] + (if (= ::accept (::op p1)) + (let [ret (-> (preturn p1) (and-preds ps (next forms)))] + (when-not (invalid? ret) + (accept ret))) + (amp-impl p1 ps forms))) + ::pcat (alt2 (pcat* {:ps (cons (deriv p0 x) pr), :ks ks, :forms forms, :ret ret}) + (when (accept-nil? p0) (deriv (pcat* {:ps pr, :ks kr, :forms (next forms), :ret (add-ret p0 ret k0)}) x))) + ::alt (alt* (map #(deriv % x) ps) ks forms) + ::rep (alt2 (rep* (deriv p1 x) p2 ret splice forms) + (when (accept-nil? p1) (deriv (rep* p2 p2 (add-ret p1 ret nil) splice forms) x))))))) + +(defn- op-describe [p] + (let [{:keys [::op ps ks forms splice p1 rep+ maybe] :as p} (reg-resolve! p)] + ;;(prn {:op op :ks ks :forms forms :p p}) + (when p + (case op + ::accept nil + nil p + ::amp (list* 'cljs.spec.alpha/& (op-describe p1) forms) + ::pcat (if rep+ + (list `+ rep+) + (cons `cat (mapcat vector (c/or (seq ks) (repeat :_)) forms))) + ::alt (if maybe + (list `? maybe) + (cons `alt (mapcat vector ks forms))) + ::rep (list (if splice `+ `*) forms))))) + +(defn- op-explain [form p path via in input] + ;;(prn {:form form :p p :path path :input input}) + (let [[x :as input] input + {:keys [::op ps ks forms splice p1 p2] :as p} (reg-resolve! p) + via (if-let [name (spec-name p)] (conj via name) via) + insufficient (fn [path form] + [{:path path + :reason "Insufficient input" + :pred form + :val () + :via via + :in in}])] + (when p + (case op + ::accept nil + nil (if (empty? input) + (insufficient path form) + (explain-1 form p path via in x)) + ::amp (if (empty? input) + (if (accept-nil? p1) + (explain-pred-list forms ps path via in (preturn p1)) + (insufficient path (op-describe p1))) + (if-let [p1 (deriv p1 x)] + (explain-pred-list forms ps path via in (preturn p1)) + (op-explain (op-describe p1) p1 path via in input))) + ::pcat (let [pkfs (map vector + ps + (c/or (seq ks) (repeat nil)) + (c/or (seq forms) (repeat nil))) + [pred k form] (if (= 1 (count pkfs)) + (first pkfs) + (first (remove (fn [[p]] (accept-nil? p)) pkfs))) + path (if k (conj path k) path) + form (c/or form (op-describe pred))] + (if (c/and (empty? input) (not pred)) + (insufficient path form) + (op-explain form pred path via in input))) + ::alt (if (empty? input) + (insufficient path (op-describe p)) + (apply concat + (map (fn [k form pred] + (op-explain (c/or form (op-describe pred)) + pred + (if k (conj path k) path) + via + in + input)) + (c/or (seq ks) (repeat nil)) + (c/or (seq forms) (repeat nil)) + ps))) + ::rep (op-explain (if (identical? p1 p2) + forms + (op-describe p1)) + p1 path via in input))))) + +(defn- re-gen [p overrides path rmap f] + ;;(prn {:op op :ks ks :forms forms}) + (let [{:keys [::op ps ks p1 p2 forms splice ret id ::gfn] :as p} (reg-resolve! p) + rmap (if id (inck rmap id) rmap) + ggens (fn [ps ks forms] + (let [gen (fn [p k f] + ;;(prn {:k k :path path :rmap rmap :op op :id id}) + (when-not (c/and rmap id k (recur-limit? rmap id path k)) + (if id + (gen/delay (re-gen p overrides (if k (conj path k) path) rmap (c/or f p))) + (re-gen p overrides (if k (conj path k) path) rmap (c/or f p)))))] + (map gen ps (c/or (seq ks) (repeat nil)) (c/or (seq forms) (repeat nil)))))] + (c/or (when-let [g (get overrides path)] + (case op + (:accept nil) (gen/fmap vector g) + g)) + (when gfn + (gfn)) + (when p + (case op + ::accept (if (= ret ::nil) + (gen/return []) + (gen/return [ret])) + nil (when-let [g (gensub p overrides path rmap f)] + (gen/fmap vector g)) + ::amp (re-gen p1 overrides path rmap (op-describe p1)) + ::pcat (let [gens (ggens ps ks forms)] + (when (every? identity gens) + (apply gen/cat gens))) + ::alt (let [gens (remove nil? (ggens ps ks forms))] + (when-not (empty? gens) + (gen/one-of gens))) + ::rep (if (recur-limit? rmap id [id] id) + (gen/return []) + (when-let [g (re-gen p2 overrides path rmap forms)] + (gen/fmap #(apply concat %) + (gen/vector g))))))))) + +(defn- re-conform [p [x & xs :as data]] + ;;(prn {:p p :x x :xs xs}) + (if (empty? data) + (if (accept-nil? p) + (let [ret (preturn p)] + (if (= ret ::nil) + nil + ret)) + ::invalid) + (if-let [dp (deriv p x)] + (recur dp xs) + ::invalid))) + +(defn- re-explain [path via in re input] + (loop [p re [x & xs :as data] input i 0] + ;;(prn {:p p :x x :xs xs :re re}) (prn) + (if (empty? data) + (if (accept-nil? p) + nil ;;success + (op-explain (op-describe p) p path via in nil)) + (if-let [dp (deriv p x)] + (recur dp xs (inc i)) + (if (accept? p) + (if (= (::op p) ::pcat) + (op-explain (op-describe p) p path via (conj in i) (seq data)) + [{:path path + :reason "Extra input" + :pred (op-describe re) + :val data + :via via + :in (conj in i)}]) + (c/or (op-explain (op-describe p) p path via (conj in i) (seq data)) + [{:path path + :reason "Extra input" + :pred (op-describe p) + :val data + :via via + :in (conj in i)}])))))) + +(defn ^:skip-wiki regex-spec-impl + "Do not call this directly, use 'spec' with a regex op argument" + [re gfn] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] + (if (c/or (nil? x) (coll? x)) + (re-conform re (seq x)) + ::invalid)) + (unform* [_ x] (op-unform re x)) + (explain* [_ path via in x] + (if (c/or (nil? x) (coll? x)) + (re-explain path via in re (seq x)) + [{:path path :pred (op-describe re) :val x :via via :in in}])) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (re-gen re overrides path rmap (op-describe re)))) + (with-gen* [_ gfn] (regex-spec-impl re gfn)) + (describe* [_] (op-describe re)))) + +;;;;;;;;;;;;;;;;; HOFs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- call-valid? + [f specs args] + (let [cargs (conform (:args specs) args)] + (when-not (invalid? cargs) + (let [ret (apply f args) + cret (conform (:ret specs) ret)] + (c/and (not (invalid? cret)) + (if (:fn specs) + (pvalid? (:fn specs) {:args cargs :ret cret}) + true)))))) + +(defn- validate-fn + "returns f if valid, else smallest" + [f specs iters] + (let [g (gen (:args specs)) + prop (gen/for-all* [g] #(call-valid? f specs %))] + (let [ret (gen/quick-check iters prop)] + (if-let [[smallest] (-> ret :shrunk :smallest)] + smallest + f)))) + +(defn ^:skip-wiki fspec-impl + "Do not call this directly, use 'fspec'" + [argspec aform retspec rform fnspec fform gfn] + (let [specs {:args argspec :ret retspec :fn fnspec}] + (reify + ILookup + (-lookup [this k] (get specs k)) + (-lookup [_ k not-found] (get specs k not-found)) + + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ f] (if (ifn? f) + (if (identical? f (validate-fn f specs *fspec-iterations*)) f ::invalid) + ::invalid)) + (unform* [_ f] f) + (explain* [_ path via in f] + (if (ifn? f) + (let [args (validate-fn f specs 100)] + (if (identical? f args) ;;hrm, we might not be able to reproduce + nil + (let [ret (try (apply f args) (catch js/Error t t))] + (if (instance? js/Error ret) + ;;TODO add exception data + [{:path path :pred '(apply fn) :val args :reason (.-message ret) :via via :in in}] + + (let [cret (dt retspec ret rform)] + (if (invalid? cret) + (explain-1 rform retspec (conj path :ret) via in ret) + (when fnspec + (let [cargs (conform argspec args)] + (explain-1 fform fnspec (conj path :fn) via in {:args cargs :ret cret}))))))))) + [{:path path :pred 'ifn? :val f :via via :in in}])) + (gen* [_ overrides _ _] (if gfn + (gfn) + (gen/return + (fn [& args] + (assert (pvalid? argspec args) (with-out-str (explain argspec args))) + (gen/generate (gen retspec overrides)))))) + (with-gen* [_ gfn] (fspec-impl argspec aform retspec rform fnspec fform gfn)) + (describe* [_] `(fspec :args ~aform :ret ~rform :fn ~fform))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; non-primitives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(cljs.spec.alpha/def ::kvs->map (cljs.spec.alpha/conformer #(zipmap (map ::k %) (map ::v %)) #(map (fn [[k v]] {::k k ::v v}) %))) + +(defn nonconforming + "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." + [spec] + (let [spec (specize spec)] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (let [ret (conform* spec x)] + (if (invalid? ret) + ::invalid + x))) + (unform* [_ x] (unform* spec x)) + (explain* [_ path via in x] (explain* spec path via in x)) + (gen* [_ overrides path rmap] (gen* spec overrides path rmap)) + (with-gen* [_ gfn] (nonconforming (with-gen* spec gfn))) + (describe* [_] `(nonconforming ~(describe* spec)))))) + +(defn ^:skip-wiki nilable-impl + "Do not call this directly, use 'nilable'" + [form pred gfn] + (let [spec (specize pred form)] + (reify + Specize + (specize* [s] s) + (specize* [s _] s) + + Spec + (conform* [_ x] (if (nil? x) nil (conform* spec x))) + (unform* [_ x] (if (nil? x) nil (unform* spec x))) + (explain* [_ path via in x] + (when-not (c/or (pvalid? spec x) (nil? x)) + (conj + (explain-1 form pred (conj path ::pred) via in x) + {:path (conj path ::nil) :pred 'nil? :val x :via via :in in}))) + (gen* [_ overrides path rmap] + (if gfn + (gfn) + (gen/frequency + [[1 (gen/delay (gen/return nil))] + [9 (gen/delay (gensub pred overrides (conj path ::pred) rmap form))]]))) + (with-gen* [_ gfn] (nilable-impl form pred gfn)) + (describe* [_] `(nilable ~(s/mres form)))))) + +(defn exercise + "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" + ([spec] (exercise spec 10)) + ([spec n] (exercise spec n nil)) + ([spec n overrides] + (map #(vector % (conform spec %)) (gen/sample (gen spec overrides) n)))) + +(defn inst-in-range? + "Return true if inst at or after start and before end" + [start end inst] + (c/and (inst? inst) + (let [t (inst-ms inst)] + (c/and (<= (inst-ms start) t) (< t (inst-ms end)))))) + +(defn int-in-range? + "Return true if start <= val, val < end and val is a fixed + precision integer." + [start end val] + (cond + (integer? val) (c/and (<= start val) (< val end)) + + (instance? goog.math.Long val) + (c/and (.lessThanOrEqual start val) + (.lessThan val end)) + + (instance? goog.math.Integer val) + (c/and (.lessThanOrEqual start val) + (.lessThan val end)) + + :else false)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; assert ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(defonce + ^{:dynamic true + :doc "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."} + *compile-asserts* + (s/init-compile-asserts)) + +(defonce ^{:private true + :dynamic true} + *runtime-asserts* + false) + +(defn ^boolean check-asserts? + "Returns the value set by check-asserts." + [] + *runtime-asserts*) + +(defn check-asserts + "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." + [^boolean flag] + (set! *runtime-asserts* flag)) + +(defn assert* + "Do not call this directly, use 'assert'." + [spec x] + (if (valid? spec x) + x + (let [ed (c/merge (assoc (explain-data* spec [] [] [] x) + ::failure :assertion-failed))] + (throw (js/Error. + (str "Spec assertion failed\n" (with-out-str (explain-out ed)))))))) diff --git a/examples/resources/public/js/out/cljs/spec/alpha.cljs.cache.json b/examples/resources/public/js/out/cljs/spec/alpha.cljs.cache.json new file mode 100644 index 0000000..6ef165c --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/alpha.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$goog",["^ ","~$string",["^ ","~$StringBuffer",["^ ","~$prototype",["^ ","~$append",["^ "]]]]]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$cat","~$*","~$or","~$merge","~$keys","~$+","~$and","~$def"]],"~:name","~$cljs.spec.alpha","~:imports",null,"~:requires",["^ ","~$cljs.core","^F","~$gobj","~$goog.object","^H","^H","~$walk","~$clojure.walk","~$gen","~$cljs.spec.gen.alpha","~$c","^F","~$str","~$clojure.string","^N","^N","^J","^J","^L","^L"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$form",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","~:line",162,"~:column",7,"~:end-line",162,"~:end-column",11,"~:arglists",["~#list",["~$quote",["^[",[["~$spec"]]]]],"~:doc","returns the spec as data"],"^B","~$cljs.spec.alpha/form","~:variadic",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",11,"~:method-params",["^[",[["^11"]]],"~:protocol-impl",null,"~:arglists-meta",["^[",[null,null]],"^W",1,"^V",162,"^X",162,"~:max-fixed-arity",1,"~:fn-var",true,"^Z",["^[",["^10",["^[",[["^11"]]]]],"^12","returns the spec as data"],"~$nilable-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1357,"^W",19,"^X",1357,"^Y",31,"~:skip-wiki",true,"^Z",["^[",["^10",["^[",[["^R","~$pred","~$gfn"]]]]],"^12","Do not call this directly, use 'nilable'"],"^B","~$cljs.spec.alpha/nilable-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",31,"^15",["^[",[["^R","^1<","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",1357,"^X",1357,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^1="]]]]],"^12","Do not call this directly, use 'nilable'"],"~$*recursion-limit*",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",21,"^W",16,"^X",21,"^Y",33,"~:dynamic",true],"^B","~$cljs.spec.alpha/*recursion-limit*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",33,"^W",1,"^1@",true,"^V",21,"^X",21,"~:tag","~$number","^12","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."],"~$*coll-error-limit*",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",35,"^W",16,"^X",35,"^Y",34,"^1@",true],"^B","~$cljs.spec.alpha/*coll-error-limit*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",34,"^W",1,"^1@",true,"^V",35,"^X",35,"^1B","^1C","^12","The number of errors reported by explain in a collection spec'ed with 'every'"],"~$explain-printer",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",216,"^W",7,"^X",216,"^Y",22,"^Z",["^[",["^10",["^[",[["~$ed"]]]]],"^12","Default printer for explain-data. nil indicates a successful validation."],"^B","~$cljs.spec.alpha/explain-printer","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",22,"^15",["^[",[["^1G"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",216,"^X",216,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^1G"]]]]],"^12","Default printer for explain-data. nil indicates a successful validation."],"~$op-explain",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1109,"^W",8,"^X",1109,"^Y",18,"~:private",true,"^Z",["^[",["^10",["^[",[["^R","~$p","~$path","~$via","~$in","~$input"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/op-explain","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^R","~$p","^1K","^1L","^1M","^1N"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1109,"^X",1109,"^18",6,"^19",true,"^Z",["^[",["^10",["^[",[["^R","~$p","^1K","^1L","^1M","^1N"]]]]]],"~$Specize",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",123,"^W",14,"^X",123,"^Y",21,"^12",null,"~:protocol-symbol",true,"~:jsdoc",["^[",["@interface"]],"~:protocol-info",["^ ","~:methods",["^ ","~$specize*",[["~$_"],["~$_","^R"]]]]],"^1Q",true,"^B","~$cljs.spec.alpha/Specize","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",21,"^W",1,"^V",123,"^1S",["^ ","^1T",["^ ","^1U",[["~$_"],["~$_","^R"]]]],"~:info",null,"^X",123,"^1B","~$any","~:impls",["^;",["~$cljs.spec.alpha/t_cljs$spec$alpha26381","~$cljs.spec.alpha/t_cljs$spec$alpha26398","~$cljs.core/Keyword","~$cljs.spec.alpha/t_cljs$spec$alpha26093","~$cljs.spec.alpha/t_cljs$spec$alpha26082","~$cljs.spec.alpha/t_cljs$spec$alpha26116","~$cljs.spec.alpha/t_cljs$spec$alpha26107","~$default","~$cljs.spec.alpha/t_cljs$spec$alpha26200","~$cljs.spec.alpha/t_cljs$spec$alpha26374","~$cljs.spec.alpha/t_cljs$spec$alpha26174","~$cljs.core/Symbol","~$cljs.spec.alpha/t_cljs$spec$alpha26401","~$cljs.spec.alpha/t_cljs$spec$alpha26033","~$cljs.spec.alpha/t_cljs$spec$alpha26188"]],"^12",null,"^1R",["^[",["@interface"]]],"~$->t_cljs$spec$alpha26188",["^ ","^S",null,"^T",["^ ","~:anonymous",true,"~:protocols",["^;",["~$cljs.spec.alpha/Spec","~$cljs.core/IMeta","^1V","~$cljs.core/IWithMeta"]],"~:skip-protocol-flag",["^;",["^2A","^2B"]],"~:factory","~:positional","^Z",["^[",["^10",["^[",[["~$forms","~$preds","^1=","~$meta26189"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26188.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26188","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^2F","^2G","^1=","^2H"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",3,"^2D","^2E","^V",767,"^18",4,"^19",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1=","^2H"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26188."],"~$->t_cljs$spec$alpha26116",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^?","^2F","^2G","^1=","~$id","~$kps","~$specs","~$cform","~$meta26117"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26116.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26116","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^?","^2F","^2G","^1=","^2K","^2L","^2M","^2N","^2O"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",5,"^2D","^2E","^V",648,"^18",9,"^19",true,"^Z",["^[",["^10",["^[",[["^?","^2F","^2G","^1=","^2K","^2L","^2M","^2N","^2O"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26116."],"~$alt-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",993,"^W",19,"^X",993,"^Y",27,"^1;",true,"^Z",["^[",["^10",["^[",[["~$ks","~$ps","^2F"]]]]],"^12","Do not call this directly, use 'alt'"],"^B","~$cljs.spec.alpha/alt-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",27,"^15",["^[",[["^2R","^2S","^2F"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",993,"^X",993,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^2R","^2S","^2F"]]]]],"^12","Do not call this directly, use 'alt'"],"~$tagged-ret",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",607,"^W",8,"^X",607,"^Y",18,"^1J",true,"^Z",["^[",["^10",["^[",[["~$tag","~$ret"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/tagged-ret","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^2V","^2W"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",607,"^X",607,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^2V","^2W"]]]]]],"~$pvalid?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",365,"^W",8,"^X",365,"^Y",15,"^1J",true,"^Z",["^[",["^10",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]]]],"^12","internal helper function that returns true when x is valid for spec.","~:top-fn",["^ ","^14",false,"^18",3,"^15",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]],"^Z",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]],"^17",["^[",[null,null]]]],"^1J",true,"^B","~$cljs.spec.alpha/pvalid?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]],"^Z",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]],"^17",["^[",[null,null]]],"^15",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",365,"^X",365,"^18",3,"^19",true,"^Z",["^[",[["^1<","~$x"],["^1<","~$x","^R"]]],"^12","internal helper function that returns true when x is valid for spec."],"~$t_cljs$spec$alpha26401",["^ ","~:num-fields",5,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^2:","^U","resources/public/js/out/cljs/spec/alpha.cljs","~:type",true,"^2>",true,"^W",5,"^V",1361,"~:record",false,"^2C",["^;",["^2A","^2B"]]],"~$def-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",293,"^W",19,"^X",293,"^Y",27,"^1;",true,"^Z",["^[",["^10",["^[",[["~$k","^R","^11"]]]]],"^12","Do not call this directly, use 'def'"],"^B","~$cljs.spec.alpha/def-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",27,"^15",["^[",[["~$k","^R","^11"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",293,"^X",293,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["~$k","^R","^11"]]]]],"^12","Do not call this directly, use 'def'"],"~$*explain-out*",["^ ","^B","~$cljs.spec.alpha/*explain-out*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^V",249,"^W",1,"^X",249,"^Y",29,"^1@",true,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",249,"^W",16,"^X",249,"^Y",29,"^1@",true]],"~$*runtime-asserts*",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1429,"^W",3,"^X",1429,"^Y",20,"^1J",true,"^1@",true],"^1J",true,"^B","~$cljs.spec.alpha/*runtime-asserts*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^W",1,"^1@",true,"^V",1427,"^X",1429,"^1B","~$boolean"],"~$regex-spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1241,"^W",19,"^X",1241,"^Y",34,"^1;",true,"^Z",["^[",["^10",["^[",[["~$re","^1="]]]]],"^12","Do not call this directly, use 'spec' with a regex op argument"],"^B","~$cljs.spec.alpha/regex-spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",34,"^15",["^[",[["^3<","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",1241,"^X",1241,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^3<","^1="]]]]],"^12","Do not call this directly, use 'spec' with a regex op argument"],"~$merge-spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",764,"^W",19,"^X",764,"^Y",34,"^1;",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'merge'"],"^B","~$cljs.spec.alpha/merge-spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",34,"^15",["^[",[["^2F","^2G","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",764,"^X",764,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'merge'"],"~$explain-data*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",200,"^W",7,"^X",200,"^Y",20,"^Z",["^[",["^10",["^[",[["^11","^1K","^1L","^1M","~$x"]]]]]],"^B","~$cljs.spec.alpha/explain-data*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["^11","^1K","^1L","^1M","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",200,"^X",200,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^1K","^1L","^1M","~$x"]]]]]],"~$add-ret",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1060,"^W",8,"^X",1060,"^Y",15,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p","~$r","~$k"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/add-ret","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["~$p","~$r","~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1060,"^X",1060,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["~$p","~$r","~$k"]]]]]],"~$explain-pred-list",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",689,"^W",8,"^X",689,"^Y",25,"^1J",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1K","^1L","^1M","~$x"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/explain-pred-list","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",25,"^15",["^[",[["^2F","^2G","^1K","^1L","^1M","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",689,"^X",689,"^18",6,"^19",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1K","^1L","^1M","~$x"]]]]]],"~$MAX_INT",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",19,"^W",14,"^X",19,"^Y",21,"~:const",true],"^B","~$cljs.spec.alpha/MAX_INT","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",21,"~:const-expr",["^ ","~:op","~:constant","~:env",["^ ","~:context","~:expr"],"~:form",9007199254740991,"^1B","^1C"],"^W",1,"^3G",true,"^V",19,"^X",19,"^1B","^1C"],"~$->t_cljs$spec$alpha26200",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^R","~$max-count","~$check?","^1=","~$gen-max","~$p__26197","^1<","~$cpred","~$map__26198","~$conform-keys","~$kind-form","~$addcv","~$cfns","~$describe-form","~$distinct","^11","~$kfn","~$gen-into","~$count","~$min-count","~$opts","~$kind","~$conform-all","~$conform-into","~$meta26201"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26200.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26200","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^R","^3Q","^3R","^1=","^3S","^3T","^1<","^3U","^3V","^3W","^3X","^3Y","^3Z","^3[","^40","^11","^41","^42","^43","^44","^45","^46","^47","^48","^49"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",6,"^2D","^2E","^V",830,"^18",25,"^19",true,"^Z",["^[",["^10",["^[",[["^R","^3Q","^3R","^1=","^3S","^3T","^1<","^3U","^3V","^3W","^3X","^3Y","^3Z","^3[","^40","^11","^41","^42","^43","^44","^45","^46","^47","^48","^49"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26200."],"~$check-asserts",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1437,"^W",7,"^X",1437,"^Y",20,"^Z",["^[",["^10",["^[",[["~$flag"]]]]],"^12","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."],"^B","~$cljs.spec.alpha/check-asserts","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["^4<"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1437,"^X",1437,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^4<"]]]]],"^12","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."],"~$alt2",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",991,"^W",8,"^X",991,"^Y",12,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p1","~$p2"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/alt2","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["^4?","^4@"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",991,"^X",991,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^4?","^4@"]]]]]],"~$assert*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1445,"^W",7,"^X",1445,"^Y",14,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Do not call this directly, use 'assert'."],"^B","~$cljs.spec.alpha/assert*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1445,"^X",1445,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Do not call this directly, use 'assert'."],"~$inst-in-range?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1392,"^W",7,"^X",1392,"^Y",21,"^Z",["^[",["^10",["^[",[["~$start","~$end","~$inst"]]]]],"^12","Return true if inst at or after start and before end"],"^B","~$cljs.spec.alpha/inst-in-range?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",21,"^15",["^[",[["^4E","^4F","^4G"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1392,"^X",1392,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^4E","^4F","^4G"]]]]],"^12","Return true if inst at or after start and before end"],"~$registry-ref",["^ ","^B","~$cljs.spec.alpha/registry-ref","^U","resources/public/js/out/cljs/spec/alpha.cljs","^V",47,"^W",1,"^X",47,"^Y",32,"^1J",true,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",47,"^W",20,"^X",47,"^Y",32,"^1J",true],"^1B","^1X"],"~$accept?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",928,"^W",8,"^X",928,"^Y",15,"^1J",true,"^Z",["^[",["^10",["^[",[[["^ ","~:keys",["~:cljs.spec.alpha/op"]]]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/accept?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["~$p__26249"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",928,"^X",928,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[[["^ ","^4L",["^4M"]]]]]]]],"~$and-spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",700,"^W",19,"^X",700,"^Y",32,"^1;",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'and'"],"^B","~$cljs.spec.alpha/and-spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",32,"^15",["^[",[["^2F","^2G","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",700,"^X",700,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'and'"],"~$t_cljs$spec$alpha26116",["^ ","^31",9,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^23","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",5,"^V",648,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$accept",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",926,"^W",8,"^X",926,"^Y",14,"^1J",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/accept","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",926,"^X",926,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]]],"~$recur-limit?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",336,"^W",8,"^X",336,"^Y",20,"^1J",true,"^Z",["^[",["^10",["^[",[["~$rmap","^2K","^1K","~$k"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/recur-limit?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["^4V","^2K","^1K","~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",336,"^X",336,"^18",4,"^19",true,"^Z",["^[",["^10",["^[",[["^4V","^2K","^1K","~$k"]]]]]],"~$describe*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",45,"^W",4,"^X",45,"^Y",13,"~:protocol","^2@","^12",null,"^Z",["^[",["^10",["^[",[["^11"]]]]]],"^4Y","^2@","^B","~$cljs.spec.alpha/describe*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["^11"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",39,"^X",45,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^11"]]]]],"^12",null],"~$map-spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",379,"^W",19,"^X",379,"^Y",32,"^1;",true,"^Z",["^[",["^10",["^[",[[["^ ","^4L",["~$req-un","~$opt-un","~$keys-pred","~$pred-exprs","~$opt-keys","~$req-specs","~$req","~$req-keys","~$opt-specs","~$pred-forms","~$opt","^1="],"~:as","~$argm"]]]]]],"^12","Do not call this directly, use 'spec' with a map argument"],"^B","~$cljs.spec.alpha/map-spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",32,"^15",["^[",[["~$p__26030"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",379,"^X",379,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[[["^ ","^4L",["^50","^51","^52","^53","^54","^55","^56","^57","^58","^59","^5:","^1="],"^5;","^5<"]]]]]],"^12","Do not call this directly, use 'spec' with a map argument"],"~$->t_cljs$spec$alpha26107",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^2F","^2G","^1=","^2M","~$cnt","~$meta26108"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26107.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26107","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^2F","^2G","^1=","^2M","^5@","^5A"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",6,"^2D","^2E","^V",551,"^18",6,"^19",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1=","^2M","^5@","^5A"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26107."],"~$t_cljs$spec$alpha26093",["^ ","^31",9,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^21","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",6,"^V",507,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$reg-resolve!",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",66,"^W",8,"^X",66,"^Y",20,"^1J",true,"^Z",["^[",["^10",["^[",[["~$k"]]]]],"^12","returns the spec/regex at end of alias chain starting with k, throws if not found, k if k not ident"],"^1J",true,"^B","~$cljs.spec.alpha/reg-resolve!","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",66,"^X",66,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$k"]]]]],"^12","returns the spec/regex at end of alias chain starting with k, throws if not found, k if k not ident"],"~$->t_cljs$spec$alpha26374",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^3<","^1=","~$meta26375"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26374.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26374","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^3<","^1=","^5G"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",3,"^2D","^2E","^V",1244,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^3<","^1=","^5G"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26374."],"~$re-explain",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1215,"^W",8,"^X",1215,"^Y",18,"^1J",true,"^Z",["^[",["^10",["^[",[["^1K","^1L","^1M","^3<","^1N"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/re-explain","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^1K","^1L","^1M","^3<","^1N"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1215,"^X",1215,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["^1K","^1L","^1M","^3<","^1N"]]]]]],"~$t_cljs$spec$alpha26033",["^ ","^31",19,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^2;","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",5,"^V",386,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$->t_cljs$spec$alpha26398",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^11","~$meta26399"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26398.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26398","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^11","^5M"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",5,"^2D","^2E","^V",1341,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^5M"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26398."],"~$alts",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",990,"^W",8,"^X",990,"^Y",12,"^1J",true,"^Z",["^[",["^10",["^[",[["~$&","^2S"]]]]],"^2Z",["^ ","^14",true,"^18",0,"^15",[["^[",["^2S"]]],"^Z",["^[",[["~$&","^2S"]]],"^17",["^[",[null]]]],"^1J",true,"^B","~$cljs.spec.alpha/alts","^14",true,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^2Z",["^ ","^14",true,"^18",0,"^15",[["^[",["^2S"]]],"^Z",["^[",[["~$&","^2S"]]],"^17",["^[",[null]]],"^15",[["^[",["^2S"]]],"^16",null,"^17",["^[",[null]],"^W",1,"^V",990,"^X",990,"^18",0,"^19",true,"^Z",["^[",[["~$&","^2S"]]]],"~$t_cljs$spec$alpha26381",["^ ","^31",9,"^2?",["^;",["^2@","^2A","^1V","^2B","~$cljs.core/ILookup"]],"^B","^1Z","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",5,"^V",1293,"^33",false,"^2C",["^;",["^2A","^2B","^5R"]]],"~$with-name",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",85,"^W",8,"^X",85,"^Y",17,"^1J",true,"^Z",["^[",["^10",["^[",[["^11","~$name"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/with-name","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",17,"^15",["^[",[["^11","^5T"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",85,"^X",85,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^5T"]]]]]],"~$t_cljs$spec$alpha26374",["^ ","^31",3,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^27","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",3,"^V",1244,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$explain",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",257,"^W",7,"^X",257,"^Y",14,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Given a spec and a value that fails to conform, prints an explanation to *out*."],"^B","~$cljs.spec.alpha/explain","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",257,"^X",257,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Given a spec and a value that fails to conform, prints an explanation to *out*."],"~$spec-name",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",93,"^W",8,"^X",93,"^Y",17,"^1J",true,"^Z",["^[",["^10",["^[",[["^11"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/spec-name","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",17,"^15",["^[",[["^11"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",93,"^X",93,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^11"]]]]]],"~$map-spec",["^ ","^B","~$cljs.spec.alpha/map-spec","^U","resources/public/js/out/cljs/spec/alpha.cljs","^V",320,"^W",1,"^X",320,"^Y",18,"~:declared",true,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",320,"^W",10,"^X",320,"^Y",18,"^61",true]],"~$with-gen*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",44,"^W",4,"^X",44,"^Y",13,"^4Y","^2@","^12",null,"^Z",["^[",["^10",["^[",[["^11","^1="]]]]]],"^4Y","^2@","^B","~$cljs.spec.alpha/with-gen*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["^11","^1="]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",39,"^X",44,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^1="]]]]],"^12",null],"~$or-spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",610,"^W",19,"^X",610,"^Y",31,"^1;",true,"^Z",["^[",["^10",["^[",[["^?","^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'or'"],"^B","~$cljs.spec.alpha/or-spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",31,"^15",["^[",[["^?","^2F","^2G","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",610,"^X",610,"^18",4,"^19",true,"^Z",["^[",["^10",["^[",[["^?","^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'or'"],"~$specize",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",140,"^W",8,"^X",140,"^Y",15,"^1J",true,"^Z",["^[",["^10",["^[",[["~$s"],["~$s","^R"]]]]],"^2Z",["^ ","^14",false,"^18",2,"^15",["^[",[["~$s"],["~$s","^R"]]],"^Z",["^[",[["~$s"],["~$s","^R"]]],"^17",["^[",[null,null]]]],"^1J",true,"^B","~$cljs.spec.alpha/specize","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^2Z",["^ ","^14",false,"^18",2,"^15",["^[",[["~$s"],["~$s","^R"]]],"^Z",["^[",[["~$s"],["~$s","^R"]]],"^17",["^[",[null,null]]],"^15",["^[",[["~$s"],["~$s","^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",140,"^X",140,"^18",2,"^19",true,"^Z",["^[",[["~$s"],["~$s","^R"]]]],"~$->t_cljs$spec$alpha26082",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^R","^1<","^1=","~$cpred?","~$unc","~$meta26083"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26082.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26082","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^R","^1<","^1=","^69","^6:","^6;"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",6,"^2D","^2E","^V",471,"^18",6,"^19",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^1=","^69","^6:","^6;"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26082."],"~$*fspec-iterations*",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",27,"^W",16,"^X",27,"^Y",34,"^1@",true],"^B","~$cljs.spec.alpha/*fspec-iterations*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",34,"^W",1,"^1@",true,"^V",27,"^X",27,"^1B","^1C","^12","The number of times an anonymous fn specified by fspec will be (generatively) tested during conform"],"~$Spec",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",39,"^W",14,"^X",39,"^Y",18,"^12",null,"^1Q",true,"^1R",["^[",["@interface"]],"^1S",["^ ","^1T",["^ ","~$conform*",[["^11","~$x"]],"~$unform*",[["^11","~$y"]],"~$explain*",[["^11","^1K","^1L","^1M","~$x"]],"~$gen*",[["^11","~$overrides","^1K","^4V"]],"^62",[["^11","^1="]],"^4X",[["^11"]]]]],"^1Q",true,"^B","^2@","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^W",1,"^V",39,"^1S",["^ ","^1T",["^ ","^6@",[["^11","~$x"]],"^6A",[["^11","~$y"]],"^6B",[["^11","^1K","^1L","^1M","~$x"]],"^6C",[["^11","^6D","^1K","^4V"]],"^62",[["^11","^1="]],"^4X",[["^11"]]]],"^1W",null,"^X",39,"^1B","^1X","^1Y",["^;",["^1Z","^1[","^21","^22","^23","^24","^26","^27","^28","^2:","^2;","^2<"]],"^12",null,"^1R",["^[",["@interface"]]],"~$unform",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",155,"^W",7,"^X",155,"^Y",13,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","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."],"^B","~$cljs.spec.alpha/unform","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",155,"^X",155,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","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."],"~$valid?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",356,"^W",7,"^X",356,"^Y",13,"^Z",["^[",["^10",["^[",[["^11","~$x"],["^11","~$x","^R"]]]]],"^12","Helper function that returns true when x is valid for spec.","^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^11","~$x"],["^11","~$x","^R"]]],"^Z",["^[",[["^11","~$x"],["^11","~$x","^R"]]],"^17",["^[",[null,null]]]],"^B","~$cljs.spec.alpha/valid?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^11","~$x"],["^11","~$x","^R"]]],"^Z",["^[",[["^11","~$x"],["^11","~$x","^R"]]],"^17",["^[",[null,null]]],"^15",["^[",[["^11","~$x"],["^11","~$x","^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",356,"^X",356,"^18",3,"^19",true,"^Z",["^[",[["^11","~$x"],["^11","~$x","^R"]]],"^12","Helper function that returns true when x is valid for spec."],"^K",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",280,"^W",7,"^X",280,"^Y",10,"^Z",["^[",["^10",["^[",[["^11"],["^11","^6D"]]]]],"^12","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)","^2Z",["^ ","^14",false,"^18",2,"^15",["^[",[["^11"],["^11","^6D"]]],"^Z",["^[",[["^11"],["^11","^6D"]]],"^17",["^[",[null,null]]]],"^B","~$cljs.spec.alpha/gen","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",10,"^2Z",["^ ","^14",false,"^18",2,"^15",["^[",[["^11"],["^11","^6D"]]],"^Z",["^[",[["^11"],["^11","^6D"]]],"^17",["^[",[null,null]]],"^15",["^[",[["^11"],["^11","^6D"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",280,"^X",280,"^18",2,"^19",true,"^Z",["^[",[["^11"],["^11","^6D"]]],"^12","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)"],"~$nonconforming",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1336,"^W",7,"^X",1336,"^Y",20,"^Z",["^[",["^10",["^[",[["^11"]]]]],"^12","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."],"^B","~$cljs.spec.alpha/nonconforming","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["^11"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1336,"^X",1336,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^11"]]]]],"^12","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."],"^6A",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",41,"^W",4,"^X",41,"^Y",11,"^4Y","^2@","^12",null,"^Z",["^[",["^10",["^[",[["^11","~$y"]]]]]],"^4Y","^2@","^B","~$cljs.spec.alpha/unform*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",11,"^15",["^[",[["^11","~$y"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",39,"^X",41,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$y"]]]]],"^12",null],"~$->sym",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",308,"^W",8,"^X",308,"^Y",13,"^1J",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]],"^12","Returns a symbol from a symbol or var"],"^1J",true,"^B","~$cljs.spec.alpha/->sym","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",308,"^X",308,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]],"^12","Returns a symbol from a symbol or var"],"~$abbrev",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",168,"^W",7,"^X",168,"^Y",13,"^Z",["^[",["^10",["^[",[["^R"]]]]]],"^B","~$cljs.spec.alpha/abbrev","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",168,"^X",168,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^R"]]]]]],"~$regex?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",80,"^W",7,"^X",80,"^Y",13,"^Z",["^[",["^10",["^[",[["~$x"]]]]],"^12","returns x if x is a (cljs.spec.alpha) regex op, else logical false"],"^B","~$cljs.spec.alpha/regex?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",80,"^X",80,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]],"^12","returns x if x is a (cljs.spec.alpha) regex op, else logical false"],"~$int-in-range?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1399,"^W",7,"^X",1399,"^Y",20,"^Z",["^[",["^10",["^[",[["^4E","^4F","~$val"]]]]],"^12","Return true if start <= val, val < end and val is a fixed\n precision integer."],"^B","~$cljs.spec.alpha/int-in-range?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["^4E","^4F","^6T"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1399,"^X",1399,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^4E","^4F","^6T"]]]]],"^12","Return true if start <= val, val < end and val is a fixed\n precision integer."],"~$dt",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",343,"^W",8,"^X",343,"^Y",10,"^1J",true,"^Z",["^[",["^10",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]]]],"^2Z",["^ ","^14",false,"^18",4,"^15",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]],"^Z",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]],"^17",["^[",[null,null]]]],"^1J",true,"^B","~$cljs.spec.alpha/dt","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",10,"^2Z",["^ ","^14",false,"^18",4,"^15",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]],"^Z",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]],"^17",["^[",[null,null]]],"^15",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",343,"^X",343,"^18",4,"^19",true,"^Z",["^[",[["^1<","~$x","^R"],["^1<","~$x","^R","^69"]]]],"~$preturn",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1024,"^W",8,"^X",1024,"^Y",15,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/preturn","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["~$p"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1024,"^X",1024,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$p"]]]]]],"~$re-conform",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1202,"^W",8,"^X",1202,"^Y",18,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p",["~$x","~$&","~$xs","^5;","~$data"]]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/re-conform","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["~$p","~$p__26355"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1202,"^X",1202,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["~$p",["~$x","~$&","^6[","^5;","^70"]]]]]]],"~$t_cljs$spec$alpha26107",["^ ","^31",6,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^24","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",6,"^V",551,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$spec?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",74,"^W",7,"^X",74,"^Y",12,"^Z",["^[",["^10",["^[",[["~$x"]]]]],"^12","returns x if x is a spec object, else logical false"],"^B","~$cljs.spec.alpha/spec?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",74,"^X",74,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]],"^12","returns x if x is a spec object, else logical false"],"~$registry",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",303,"^W",7,"^X",303,"^Y",15,"^Z",["^[",["^10",["^[",[[]]]]],"^12","returns the registry map, prefer 'get-spec' to lookup a spec by name"],"^B","~$cljs.spec.alpha/registry","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[[]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",303,"^X",303,"^18",0,"^19",true,"^Z",["^[",["^10",["^[",[[]]]]],"^12","returns the registry map, prefer 'get-spec' to lookup a spec by name"],"~$rep+impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",959,"^W",19,"^X",959,"^Y",27,"^1;",true,"^Z",["^[",["^10",["^[",[["^R","~$p"]]]]],"^12","Do not call this directly, use '+'"],"^B","~$cljs.spec.alpha/rep+impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",27,"^15",["^[",[["^R","~$p"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",959,"^X",959,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^R","~$p"]]]]],"^12","Do not call this directly, use '+'"],"~$deriv",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1073,"^W",8,"^X",1073,"^Y",13,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p","~$x"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/deriv","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["~$p","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1073,"^X",1073,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["~$p","~$x"]]]]]],"~$deep-resolve",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",49,"^W",8,"^X",49,"^Y",20,"^1J",true,"^Z",["^[",["^10",["^[",[["~$reg","~$k"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/deep-resolve","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^15",["^[",[["^7=","~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",49,"^X",49,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^7=","~$k"]]]]]],"~$exercise",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1383,"^W",7,"^X",1383,"^Y",15,"^Z",["^[",["^10",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]]]],"^12","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","^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]],"^Z",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]],"^17",["^[",[null,null,null]]]],"^B","~$cljs.spec.alpha/exercise","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]],"^Z",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]],"^17",["^[",[null,null,null]]],"^15",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]],"^16",null,"^17",["^[",[null,null,null]],"^W",1,"^V",1383,"^X",1383,"^18",3,"^19",true,"^Z",["^[",[["^11"],["^11","~$n"],["^11","~$n","^6D"]]],"^12","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"],"~$explain-data",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",207,"^W",7,"^X",207,"^Y",19,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","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."],"^B","~$cljs.spec.alpha/explain-data","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",19,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",207,"^X",207,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","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."],"~$tuple-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",545,"^W",19,"^X",545,"^Y",29,"^1;",true,"^Z",["^[",["^10",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]]]],"^12","Do not call this directly, use 'tuple'","^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]],"^Z",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]],"^17",["^[",[null,null]]]],"^B","~$cljs.spec.alpha/tuple-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",29,"^2Z",["^ ","^14",false,"^18",3,"^15",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]],"^Z",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]],"^17",["^[",[null,null]]],"^15",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",545,"^X",545,"^18",3,"^19",true,"^Z",["^[",[["^2F","^2G"],["^2F","^2G","^1="]]],"^12","Do not call this directly, use 'tuple'"],"~$multi-spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",495,"^W",19,"^X",495,"^Y",34,"^1;",true,"^Z",["^[",["^10",["^[",[["^R","~$mmvar","~$retag"],["^R","^7F","^7G","^1="]]]]],"^12","Do not call this directly, use 'multi-spec'","^2Z",["^ ","^14",false,"^18",4,"^15",["^[",[["^R","^7F","^7G"],["^R","^7F","^7G","^1="]]],"^Z",["^[",[["^R","^7F","^7G"],["^R","^7F","^7G","^1="]]],"^17",["^[",[null,null]]]],"^B","~$cljs.spec.alpha/multi-spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",34,"^2Z",["^ ","^14",false,"^18",4,"^15",["^[",[["^R","^7F","^7G"],["^R","^7F","^7G","^1="]]],"^Z",["^[",[["^R","^7F","^7G"],["^R","^7F","^7G","^1="]]],"^17",["^[",[null,null]]],"^15",["^[",[["^R","^7F","^7G"],["^R","^7F","^7G","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",495,"^X",495,"^18",4,"^19",true,"^Z",["^[",[["^R","^7F","^7G"],["^R","^7F","^7G","^1="]]],"^12","Do not call this directly, use 'multi-spec'"],"~$conform",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",149,"^W",7,"^X",149,"^Y",14,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Given a spec and a value, returns :cljs.spec.alpha/invalid if value does\n not match spec, else the (possibly destructured) value."],"^B","~$cljs.spec.alpha/conform","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",149,"^X",149,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Given a spec and a value, returns :cljs.spec.alpha/invalid if value does\n not match spec, else the (possibly destructured) value."],"~$->t_cljs$spec$alpha26381",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B","^5R"]],"^2C",["^;",["^2A","^2B","^5R"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["~$argspec","~$aform","~$retspec","~$rform","~$fnspec","~$fform","^1=","^2M","~$meta26382"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26381.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B","^5R"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26381","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^7L","^7M","^7N","^7O","^7P","^7Q","^1=","^2M","^7R"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",5,"^2D","^2E","^V",1293,"^18",9,"^19",true,"^Z",["^[",["^10",["^[",[["^7L","^7M","^7N","^7O","^7P","^7Q","^1=","^2M","^7R"]]]]],"^2C",["^;",["^2A","^2B","^5R"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26381."],"~$->t_cljs$spec$alpha26401",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^R","^1<","^1=","^11","~$meta26402"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26401.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26401","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^R","^1<","^1=","^11","^7U"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",5,"^2D","^2E","^V",1361,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^1=","^11","^7U"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26401."],"~$->t_cljs$spec$alpha26033",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["~$keys->specnames","^5>","^5:","^50","^51","~$map__26031","^1=","^53","^52","^5<","^54","^55","^56","^2K","^57","^58","~$k->s","^59","~$meta26034"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26033.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26033","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^7X","^5>","^5:","^50","^51","^7Y","^1=","^53","^52","^5<","^54","^55","^56","^2K","^57","^58","^7Z","^59","^7["]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",5,"^2D","^2E","^V",386,"^18",19,"^19",true,"^Z",["^[",["^10",["^[",[["^7X","^5>","^5:","^50","^51","^7Y","^1=","^53","^52","^5<","^54","^55","^56","^2K","^57","^58","^7Z","^59","^7["]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26033."],"^6C",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",43,"^W",4,"^X",43,"^Y",8,"^4Y","^2@","^12",null,"^Z",["^[",["^10",["^[",[["^11","^6D","^1K","^4V"]]]]]],"^4Y","^2@","^B","~$cljs.spec.alpha/gen*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",8,"^15",["^[",[["^11","^6D","^1K","^4V"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",39,"^X",43,"^18",4,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^6D","^1K","^4V"]]]]],"^12",null],"~$fspec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1289,"^W",19,"^X",1289,"^Y",29,"^1;",true,"^Z",["^[",["^10",["^[",[["^7L","^7M","^7N","^7O","^7P","^7Q","^1="]]]]],"^12","Do not call this directly, use 'fspec'"],"^B","~$cljs.spec.alpha/fspec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",29,"^15",["^[",[["^7L","^7M","^7N","^7O","^7P","^7Q","^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",1289,"^X",1289,"^18",7,"^19",true,"^Z",["^[",["^10",["^[",[["^7L","^7M","^7N","^7O","^7P","^7Q","^1="]]]]],"^12","Do not call this directly, use 'fspec'"],"~$t_cljs$spec$alpha26188",["^ ","^31",4,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^2<","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",3,"^V",767,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$inck",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",340,"^W",8,"^X",340,"^Y",12,"^1J",true,"^Z",["^[",["^10",["^[",[["~$m","~$k"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/inck","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["~$m","~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",340,"^X",340,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["~$m","~$k"]]]]]],"~$*coll-check-limit*",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",31,"^W",16,"^X",31,"^Y",34,"^1@",true],"^B","~$cljs.spec.alpha/*coll-check-limit*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",34,"^W",1,"^1@",true,"^V",31,"^X",31,"^1B","^1C","^12","The number of items validated in a collection spec'ed with 'every'"],"~$get-spec",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",315,"^W",7,"^X",315,"^Y",15,"^Z",["^[",["^10",["^[",[["~$k"]]]]],"^12","Returns spec registered for keyword/symbol/var k, or nil."],"^B","~$cljs.spec.alpha/get-spec","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",315,"^X",315,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$k"]]]]],"^12","Returns spec registered for keyword/symbol/var k, or nil."],"~$t_cljs$spec$alpha26082",["^ ","^31",6,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^22","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",6,"^V",471,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$gensub",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",269,"^W",8,"^X",269,"^Y",14,"^1J",true,"^Z",["^[",["^10",["^[",[["^11","^6D","^1K","^4V","^R"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/gensub","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["^11","^6D","^1K","^4V","^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",269,"^X",269,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^6D","^1K","^4V","^R"]]]]]],"~$t_cljs$spec$alpha26200",["^ ","^31",25,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^26","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",6,"^V",830,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$the-spec",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",116,"^W",8,"^X",116,"^Y",16,"^1J",true,"^Z",["^[",["^10",["^[",[["~$spec-or-k"]]]]],"^12","spec-or-k must be a spec, regex or kw/sym, else returns nil. Throws if unresolvable kw/sym"],"^1J",true,"^B","~$cljs.spec.alpha/the-spec","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",16,"^15",["^[",[["^8@"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",116,"^X",116,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^8@"]]]]],"^12","spec-or-k must be a spec, regex or kw/sym, else returns nil. Throws if unresolvable kw/sym"],"~$coll-prob",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",744,"^W",8,"^X",744,"^Y",17,"^1J",true,"^Z",["^[",["^10",["^[",[["~$x","^41","~$kform","^40","^43","^44","^3Q","^1K","^1L","^1M"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/coll-prob","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",17,"^15",["^[",[["~$x","^41","^8C","^40","^43","^44","^3Q","^1K","^1L","^1M"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",744,"^X",744,"^18",10,"^19",true,"^Z",["^[",["^10",["^[",[["~$x","^41","^8C","^40","^43","^44","^3Q","^1K","^1L","^1M"]]]]]],"~$every-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",792,"^W",19,"^X",792,"^Y",29,"^1;",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","~:into","^3[","~:cljs.spec.alpha/describe","^4L",["^46","~:cljs.spec.alpha/kind-form","^43","^3Q","^44","^40","^3S","~:cljs.spec.alpha/kfn","~:cljs.spec.alpha/cpred","^3W","~:cljs.spec.alpha/conform-all"],"~:or",["^ ","^3S",20],"^5;","^45"],"^1="]]]]],"^12","Do not call this directly, use 'every', 'every-kv', 'coll-of' or 'map-of'","^2Z",["^ ","^14",false,"^18",4,"^15",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","^8F","^3[","^8G","^4L",["^46","^8H","^43","^3Q","^44","^40","^3S","^8I","^8J","^3W","^8K"],"^8L",["^ ","^3S",20],"^5;","^45"],"^1="]]],"^Z",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","^8F","^3[","^8G","^4L",["^46","^8H","^43","^3Q","^44","^40","^3S","^8I","^8J","^3W","^8K"],"^8L",["^ ","^3S",20],"^5;","^45"],"^1="]]],"^17",["^[",[null,null]]]],"^B","~$cljs.spec.alpha/every-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",29,"^2Z",["^ ","^14",false,"^18",4,"^15",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","^8F","^3[","^8G","^4L",["^46","^8H","^43","^3Q","^44","^40","^3S","^8I","^8J","^3W","^8K"],"^8L",["^ ","^3S",20],"^5;","^45"],"^1="]]],"^Z",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","^8F","^3[","^8G","^4L",["^46","^8H","^43","^3Q","^44","^40","^3S","^8I","^8J","^3W","^8K"],"^8L",["^ ","^3S",20],"^5;","^45"],"^1="]]],"^17",["^[",[null,null]]],"^15",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","^8F","^3[","^8G","^4L",["^46","^8H","^43","^3Q","^44","^40","^3S","^8I","^8J","^3W","^8K"],"^8L",["^ ","^3S",20],"^5;","^45"],"^1="]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",792,"^X",792,"^18",4,"^19",true,"^Z",["^[",[["^R","^1<","^45"],["^R","^1<",["^ ","^42","^8F","^3[","^8G","^4L",["^46","^8H","^43","^3Q","^44","^40","^3S","^8I","^8J","^3W","^8K"],"^8L",["^ ","^3S",20],"^5;","^45"],"^1="]]],"^12","Do not call this directly, use 'every', 'every-kv', 'coll-of' or 'map-of'"],"~$accept-nil?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1009,"^W",8,"^X",1009,"^Y",19,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/accept-nil?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",19,"^15",["^[",[["~$p"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1009,"^X",1009,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$p"]]]]]],"~$maybe-spec",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",105,"^W",8,"^X",105,"^Y",18,"^1J",true,"^Z",["^[",["^10",["^[",[["^8@"]]]]],"^12","spec-or-k must be a spec, regex or resolvable kw/sym, else returns nil."],"^1J",true,"^B","~$cljs.spec.alpha/maybe-spec","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^8@"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",105,"^X",105,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^8@"]]]]],"^12","spec-or-k must be a spec, regex or resolvable kw/sym, else returns nil."],"~$->t_cljs$spec$alpha26174",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^2F","^2G","^1=","^2M","^2N","~$meta26175"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26174.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26174","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^2F","^2G","^1=","^2M","^2N","^8S"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",5,"^2D","^2E","^V",731,"^18",6,"^19",true,"^Z",["^[",["^10",["^[",[["^2F","^2G","^1=","^2M","^2N","^8S"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26174."],"~$spec-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",462,"^W",19,"^X",462,"^Y",28,"^1;",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]]]],"^12","Do not call this directly, use 'spec'","^2Z",["^ ","^14",false,"^18",5,"^15",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]],"^Z",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]],"^17",["^[",[null,null]]]],"^B","~$cljs.spec.alpha/spec-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",28,"^2Z",["^ ","^14",false,"^18",5,"^15",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]],"^Z",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]],"^17",["^[",[null,null]]],"^15",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",462,"^X",462,"^18",5,"^19",true,"^Z",["^[",[["^R","^1<","^1=","^69"],["^R","^1<","^1=","^69","^6:"]]],"^12","Do not call this directly, use 'spec'"],"~$invalid?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",144,"^W",7,"^X",144,"^Y",15,"^Z",["^[",["^10",["^[",[["^2W"]]]]],"^12","tests the validity of a conform return value"],"^B","~$cljs.spec.alpha/invalid?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["^2W"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",144,"^X",144,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^2W"]]]]],"^12","tests the validity of a conform return value"],"~$t_cljs$spec$alpha26398",["^ ","^31",2,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^1[","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",5,"^V",1341,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$amp-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",964,"^W",19,"^X",964,"^Y",27,"^1;",true,"^Z",["^[",["^10",["^[",[["^3<","^2G","^59"]]]]],"^12","Do not call this directly, use '&'"],"^B","~$cljs.spec.alpha/amp-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",27,"^15",["^[",[["^3<","^2G","^59"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",964,"^X",964,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^3<","^2G","^59"]]]]],"^12","Do not call this directly, use '&'"],"~$pcat*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",931,"^W",8,"^X",931,"^Y",13,"^1J",true,"^Z",["^[",["^10",["^[",[[["~#cmap",[["^4?","~$&","~$pr","^5;","^2S"],"~:ps",["~$k1","~$&","~$kr","^5;","^2R"],"~:ks",["~$f1","~$&","~$fr","^5;","^2F"],"~:forms","^2W","~:ret","~$rep+","~:rep+"]]]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/pcat*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",13,"^15",["^[",[["~$p__26252"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",931,"^X",931,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[[["^91",[["^4?","~$&","^92","^5;","^2S"],"^93",["^94","~$&","^95","^5;","^2R"],"^96",["^97","~$&","^98","^5;","^2F"],"^99","^2W","^9:","^9;","^9<"]]]]]]]],"~$alt*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",978,"^W",8,"^X",978,"^Y",12,"^1J",true,"^Z",["^[",["^10",["^[",[["^2S","^2R","^2F"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/alt*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["^2S","^2R","^2F"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",978,"^X",978,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^2S","^2R","^2F"]]]]]],"~$cat-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",943,"^W",19,"^X",943,"^Y",27,"^1;",true,"^Z",["^[",["^10",["^[",[["^2R","^2S","^2F"]]]]],"^12","Do not call this directly, use 'cat'"],"^B","~$cljs.spec.alpha/cat-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",27,"^15",["^[",[["^2R","^2S","^2F"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",943,"^X",943,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["^2R","^2S","^2F"]]]]],"^12","Do not call this directly, use 'cat'"],"~$macroexpand-check",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",322,"^W",8,"^X",322,"^Y",25,"^1J",true,"^Z",["^[",["^10",["^[",[["~$v","~$args"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/macroexpand-check","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",25,"^15",["^[",[["~$v","^9D"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",322,"^X",322,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["~$v","^9D"]]]]]],"~$reg-resolve",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",55,"^W",8,"^X",55,"^Y",19,"^1J",true,"^Z",["^[",["^10",["^[",[["~$k"]]]]],"^12","returns the spec/regex at end of alias chain starting with k, nil if not found, k if k not ident"],"^1J",true,"^B","~$cljs.spec.alpha/reg-resolve","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",19,"^15",["^[",[["~$k"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",55,"^X",55,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$k"]]]]],"^12","returns the spec/regex at end of alias chain starting with k, nil if not found, k if k not ident"],"~$explain-str",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",262,"^W",7,"^X",262,"^Y",18,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Given a spec and a value that fails to conform, returns an explanation as a string."],"^B","~$cljs.spec.alpha/explain-str","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",262,"^X",262,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12","Given a spec and a value that fails to conform, returns an explanation as a string."],"~$*compile-asserts*",["^ ","^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1424,"^W",3,"^X",1424,"^Y",20,"^1@",true,"^12","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."],"^B","~$cljs.spec.alpha/*compile-asserts*","^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",20,"^W",1,"^1@",true,"^V",1417,"^X",1424,"^1B","^3:","^12","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."],"~$with-gen",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",192,"^W",7,"^X",192,"^Y",15,"^Z",["^[",["^10",["^[",[["^11","~$gen-fn"]]]]],"^12","Takes a spec and a no-arg, generator-returning fn and returns a version of that spec that uses that generator"],"^B","~$cljs.spec.alpha/with-gen","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["^11","^9M"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",192,"^X",192,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^9M"]]]]],"^12","Takes a spec and a no-arg, generator-returning fn and returns a version of that spec that uses that generator"],"^6@",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",40,"^W",4,"^X",40,"^Y",12,"^4Y","^2@","^12",null,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]]],"^4Y","^2@","^B","~$cljs.spec.alpha/conform*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["^11","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",39,"^X",40,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^11","~$x"]]]]],"^12",null],"~$check-asserts?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1432,"^W",16,"^X",1432,"^Y",30,"^1B","^3:","^Z",["^[",["^10",["^[",[[]]]]],"^12","Returns the value set by check-asserts."],"^B","~$cljs.spec.alpha/check-asserts?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",30,"^15",["^[",[[]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1432,"~:ret-tag","^3:","^X",1432,"^18",0,"^1B","^3:","^19",true,"^Z",["^[",["^10",["^[",[[]]]]],"^12","Returns the value set by check-asserts."],"~$noret?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1001,"^W",8,"^X",1001,"^Y",14,"^1J",true,"^Z",["^[",["^10",["^[",[["^4?","~$pret"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/noret?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["^4?","^9T"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1001,"^X",1001,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^4?","^9T"]]]]]],"~$rep-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",955,"^W",19,"^X",955,"^Y",27,"^1;",true,"^Z",["^[",["^10",["^[",[["^R","~$p"]]]]],"^12","Do not call this directly, use '*'"],"^B","~$cljs.spec.alpha/rep-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",27,"^15",["^[",[["^R","~$p"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",955,"^X",955,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["^R","~$p"]]]]],"^12","Do not call this directly, use '*'"],"~$op-describe",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1093,"^W",8,"^X",1093,"^Y",19,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/op-describe","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",19,"^15",["^[",[["~$p"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1093,"^X",1093,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["~$p"]]]]]],"~$describe",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",187,"^W",7,"^X",187,"^Y",15,"^Z",["^[",["^10",["^[",[["^11"]]]]],"^12","returns an abbreviated description of the spec as data"],"^B","~$cljs.spec.alpha/describe","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",15,"^15",["^[",[["^11"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",187,"^X",187,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^11"]]]]],"^12","returns an abbreviated description of the spec as data"],"~$explain-1",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",372,"^W",8,"^X",372,"^Y",17,"^1J",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^1K","^1L","^1M","~$v"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/explain-1","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",17,"^15",["^[",[["^R","^1<","^1K","^1L","^1M","~$v"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",372,"^X",372,"^18",6,"^19",true,"^Z",["^[",["^10",["^[",[["^R","^1<","^1K","^1L","^1M","~$v"]]]]]],"~$explain-out",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",251,"^W",7,"^X",251,"^Y",18,"^Z",["^[",["^10",["^[",[["^1G"]]]]],"^12","Prints explanation data (per 'explain-data') to *out* using the printer in *explain-out*,\n by default explain-printer."],"^B","~$cljs.spec.alpha/explain-out","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^1G"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",251,"^X",251,"^18",1,"^19",true,"^Z",["^[",["^10",["^[",[["^1G"]]]]],"^12","Prints explanation data (per 'explain-data') to *out* using the printer in *explain-out*,\n by default explain-printer."],"~$re-gen",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1164,"^W",8,"^X",1164,"^Y",14,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p","^6D","^1K","^4V","~$f"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/re-gen","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",14,"^15",["^[",[["~$p","^6D","^1K","^4V","~$f"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1164,"^X",1164,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["~$p","^6D","^1K","^4V","~$f"]]]]]],"~$t_cljs$spec$alpha26174",["^ ","^31",6,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","^28","^U","resources/public/js/out/cljs/spec/alpha.cljs","^32",true,"^2>",true,"^W",5,"^V",731,"^33",false,"^2C",["^;",["^2A","^2B"]]],"~$filter-alt",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",969,"^W",8,"^X",969,"^Y",18,"^1J",true,"^Z",["^[",["^10",["^[",[["^2S","^2R","^2F","~$f"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/filter-alt","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",18,"^15",["^[",[["^2S","^2R","^2F","~$f"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",969,"^X",969,"^18",4,"^19",true,"^Z",["^[",["^10",["^[",[["^2S","^2R","^2F","~$f"]]]]]],"~$and-preds",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",677,"^W",8,"^X",677,"^Y",17,"^1J",true,"^Z",["^[",["^10",["^[",[["~$x","^2G","^2F"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/and-preds","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",17,"^15",["^[",[["~$x","^2G","^2F"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",677,"^X",677,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["~$x","^2G","^2F"]]]]]],"~$->t_cljs$spec$alpha26093",["^ ","^S",null,"^T",["^ ","^2>",true,"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^2C",["^;",["^2A","^2B"]],"^2D","^2E","^Z",["^[",["^10",["^[",[["^R","^7F","^7G","^1=","^2K","~$predx","~$dval","^2V","~$meta26094"]]]]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26093.","^U",null],"^2?",["^;",["^2@","^2A","^1V","^2B"]],"^B","~$cljs.spec.alpha/->t_cljs$spec$alpha26093","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^15",["^[",[["^R","^7F","^7G","^1=","^2K","^:<","^:=","^2V","^:>"]]],"^16",null,"^17",["^[",[null,null]],"^2>",true,"^W",6,"^2D","^2E","^V",507,"^18",9,"^19",true,"^Z",["^[",["^10",["^[",[["^R","^7F","^7G","^1=","^2K","^:<","^:=","^2V","^:>"]]]]],"^2C",["^;",["^2A","^2B"]],"^12","Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26093."],"~$call-valid?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1268,"^W",8,"^X",1268,"^Y",19,"^1J",true,"^Z",["^[",["^10",["^[",[["~$f","^2M","^9D"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/call-valid?","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",19,"^15",["^[",[["~$f","^2M","^9D"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1268,"^X",1268,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["~$f","^2M","^9D"]]]]]],"~$op-unform",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1039,"^W",8,"^X",1039,"^Y",17,"^1J",true,"^Z",["^[",["^10",["^[",[["~$p","~$x"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/op-unform","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",17,"^15",["^[",[["~$p","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1039,"^X",1039,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["~$p","~$x"]]]]]],"~$rep*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",948,"^W",8,"^X",948,"^Y",12,"^1J",true,"^Z",["^[",["^10",["^[",[["^4?","^4@","^2W","~$splice","^R"]]]]]],"^1J",true,"^B","~$cljs.spec.alpha/rep*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["^4?","^4@","^2W","^:E","^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",948,"^X",948,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["^4?","^4@","^2W","^:E","^R"]]]]]],"^1U",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",124,"^W",4,"^X",124,"^Y",12,"^4Y","^1V","^12",null,"^Z",["^[",["^10",["^[",[["~$_"],["~$_","^R"]]]]],"^2Z",["^ ","^14",false,"^18",2,"^15",["^[",[["~$_"],["~$_","^R"]]],"^Z",["^[",[["~$_"],["~$_","^R"]]],"^17",["^[",[null,null]]]],"^4Y","^1V","^B","~$cljs.spec.alpha/specize*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^2Z",["^ ","^14",false,"^18",2,"^15",["^[",[["~$_"],["~$_","^R"]]],"^Z",["^[",[["~$_"],["~$_","^R"]]],"^17",["^[",[null,null]]],"^15",["^[",[["~$_"],["~$_","^R"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",123,"^X",124,"^18",2,"^19",true,"^Z",["^[",[["~$_"],["~$_","^R"]]],"^12",null],"~$maybe-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",997,"^W",19,"^X",997,"^Y",29,"^1;",true,"^Z",["^[",["^10",["^[",[["~$p","^R"]]]]],"^12","Do not call this directly, use '?'"],"^B","~$cljs.spec.alpha/maybe-impl","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",29,"^15",["^[",[["~$p","^R"]]],"^16",null,"^1;",true,"^17",["^[",[null,null]],"^W",1,"^V",997,"^X",997,"^18",2,"^19",true,"^Z",["^[",["^10",["^[",[["~$p","^R"]]]]],"^12","Do not call this directly, use '?'"],"~$pcat",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",941,"^W",8,"^X",941,"^Y",12,"^1J",true,"^Z",["^[",["^10",["^[",[["~$&","^2S"]]]]],"^2Z",["^ ","^14",true,"^18",0,"^15",[["^[",["^2S"]]],"^Z",["^[",[["~$&","^2S"]]],"^17",["^[",[null]]]],"^1J",true,"^B","~$cljs.spec.alpha/pcat","^14",true,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^2Z",["^ ","^14",true,"^18",0,"^15",[["^[",["^2S"]]],"^Z",["^[",[["~$&","^2S"]]],"^17",["^[",[null]]],"^15",[["^[",["^2S"]]],"^16",null,"^17",["^[",[null]],"^W",1,"^V",941,"^X",941,"^18",0,"^19",true,"^Z",["^[",[["~$&","^2S"]]]],"^6B",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",42,"^W",4,"^X",42,"^Y",12,"^4Y","^2@","^12",null,"^Z",["^[",["^10",["^[",[["^11","^1K","^1L","^1M","~$x"]]]]]],"^4Y","^2@","^B","~$cljs.spec.alpha/explain*","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",12,"^15",["^[",[["^11","^1K","^1L","^1M","~$x"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",39,"^X",42,"^18",5,"^19",true,"^Z",["^[",["^10",["^[",[["^11","^1K","^1L","^1M","~$x"]]]]],"^12",null],"~$validate-fn",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/alpha.cljs","^V",1279,"^W",8,"^X",1279,"^Y",19,"^1J",true,"^Z",["^[",["^10",["^[",[["~$f","^2M","~$iters"]]]]],"^12","returns f if valid, else smallest"],"^1J",true,"^B","~$cljs.spec.alpha/validate-fn","^14",false,"^U","resources/public/js/out/cljs/spec/alpha.cljs","^Y",19,"^15",["^[",[["~$f","^2M","^:N"]]],"^16",null,"^17",["^[",[null,null]],"^W",1,"^V",1279,"^X",1279,"^18",3,"^19",true,"^Z",["^[",["^10",["^[",[["~$f","^2M","^:N"]]]]],"^12","returns f if valid, else smallest"]],"~:cljs.spec/registry-ref",[["~:cljs.spec.alpha/kvs->map",["^[",["~$cljs.spec.alpha/conformer",["^[",["~$fn*",["~$p1__26392#"],["^[",["~$cljs.core/zipmap",["^[",["~$cljs.core/map","~:cljs.spec.alpha/k","^:T"]],["^[",["^:V","~:cljs.spec.alpha/v","^:T"]]]]]],["^[",["^:S",["~$p1__26393#"],["^[",["^:V",["^[",["~$cljs.core/fn",[["~$k","~$v"]],["^ ","^:W","~$k","^:X","~$v"]]],"^:Y"]]]]]]]],"~:require-macros",["^ ","~$c","^F","^F","^F","~$s","^C","^C","^C","^K","^L","^L","^L"],"~:cljs.analyzer/constants",["^ ","~:seen",["^;",["^R","^:Y","^2V","^3Q","~:args","~:cljs.spec.alpha/failure","~$cljs.spec.alpha/*","~:max-tries","~:path","~:req-un","~:opt-un","^6:","~$cljs.spec.alpha/+","~:p2","^9:","~:cljs.spec.alpha/unknown","~:cljs.spec.alpha/value","~:gfn","^2O","~:cljs.spec.alpha/recursion-limit","~:cljs.spec.alpha/name","~:pred-exprs","^8F","~:keys-pred","~$vector?","~:gen-max","~:shrunk","~:fn","~$cljs.spec.alpha/alt","^:>","^:<","^9<","~$cljs.core/=","~:opt-keys","^7M","^7X","~:cljs.spec.alpha/rep","~:pred","^:=","^5>","~:splice","^3R","^2F","^5:","~:cljs.spec.alpha/accept","^7L","~:else","^96","~$cljs.core/count","~$cljs.spec.alpha/and","^50","^51","^:T","~$cljs.spec.alpha/cat","~:_","^8H","~:maybe","^7Y","~:via","~$cljs.spec.alpha/every","~:req-specs","~$cljs.spec.alpha/or","^1=","~:cljs.spec.alpha/gfn","^3S","^7P","~$v","^7U","~$map?","~:cljs.spec.alpha/spec","^53","~:conform-keys","^52","^69","~$cljs.spec.alpha/fspec","^5<","~$fn","~:val","^7Q","^4M","~$cljs.spec.alpha/nilable","^54","^:X","^3T","~$cljs.spec.alpha/tuple","^1<","^5G","^8J","~:p1","^:U","~:cljs.spec.alpha/problems","^3U","~$%","^:V","^3V","^:Q","~$method","~:distinct","^55","^5A","^2H","^8S","~$cljs.spec.alpha/keys","^3<","^3W","^2L","~:reason","~$cljs.spec.alpha/merge","~:cljs.spec.alpha/invalid","^2G","^3X","~:req","^3Y","^3Z","~$nil?","^5M","~:assertion-failed","^:S","~$cljs.core/<=","^6K","^7R","~:cljs.spec.alpha/amp","~:id","^3[","~:min-count","~:kind","~:smallest","~:count","^5@","^7F","~:req-keys","^7G","~$k","^:W","^:Z","^40","^7N","~:opt-specs","^7[","~:cljs.spec.alpha/args","^6;","^7O","~$ifn?","~:pred-forms","^56","^11","^?","~$distinct?","~:max-count","^41","^8I","~:max-elements","^42","~$cljs.spec.alpha/multi-spec","~$cljs.core/coll?","^2K","~:num-elements","^49","^2M","^43","^57","~$apply","^44","^45","^46","^2N","~:min-elements","^58","^47","^8K","~:cljs.spec.alpha/alt","^99","~:cljs.spec.alpha/pred","~:cljs.spec.alpha/nil","^93","^7Z","^:R","~:in","^8G","^48","~:accept","~$cljs.spec.alpha/&","~:opt","~:cljs.spec.alpha/pcat","^59","~$cljs.spec.alpha/?"]],"~:order",["^4M","^;?","^;;","^<:","^;[","~$%","^;M","^;V","^<4","^;X","^;<","^;6","^;J","^<0","^<8","^;R","^","^;2","^","^5:","^50","^51","^7Y","^1=","^53","^52","^5<","^54","^55","^56","^2K","^57","^58","^7Z","^59","^7[","^R","^1<","^69","^6:","^6;","^<5","^","^;B","^;G","^;N","^<2","^2F","^2G","^2M","^5@","^5A","^;U","^?","^2L","^2N","^2O","^;O","^8S","^","^ 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_.call(null,cljs.core.set.call(null,path),k))); +}); +cljs.spec.alpha.inck = (function cljs$spec$alpha$inck(m,k){ +return cljs.core.assoc.call(null,m,k,((function (){var or__3922__auto__ = cljs.core.get.call(null,m,k); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})() + (1))); +}); +cljs.spec.alpha.dt = (function cljs$spec$alpha$dt(var_args){ +var G__26019 = arguments.length; +switch (G__26019) { +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.call(null,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__4655__auto__ = cljs.spec.alpha.the_spec.call(null,pred); +if(cljs.core.truth_(temp__4655__auto__)){ +var spec = temp__4655__auto__; +return cljs.spec.alpha.conform.call(null,spec,x); +} else { +if(cljs.core.ifn_QMARK_.call(null,pred)){ +if(cljs.core.truth_(cpred_QMARK_)){ +return pred.call(null,x); +} else { +if(cljs.core.truth_(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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_str.call(null,form))," 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__26022 = arguments.length; +switch (G__26022) { +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.call(null,spec); +return cljs.core.not.call(null,cljs.spec.alpha.invalid_QMARK_.call(null,cljs.spec.alpha.conform_STAR_.call(null,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.call(null,spec,form); +return cljs.core.not.call(null,cljs.spec.alpha.invalid_QMARK_.call(null,cljs.spec.alpha.conform_STAR_.call(null,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__26025 = arguments.length; +switch (G__26025) { +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.core.not.call(null,cljs.spec.alpha.invalid_QMARK_.call(null,cljs.spec.alpha.dt.call(null,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.core.not.call(null,cljs.spec.alpha.invalid_QMARK_.call(null,cljs.spec.alpha.dt.call(null,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.call(null,pred); +if(cljs.core.truth_(cljs.spec.alpha.spec_QMARK_.call(null,pred__$1))){ +return cljs.spec.alpha.explain_STAR_.call(null,pred__$1,path,(function (){var temp__4655__auto__ = cljs.spec.alpha.spec_name.call(null,pred__$1); +if(cljs.core.truth_(temp__4655__auto__)){ +var name = temp__4655__auto__; +return cljs.core.conj.call(null,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); +} +}); +/** + * 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__26030){ +var map__26031 = p__26030; +var map__26031__$1 = ((((!((map__26031 == null)))?(((((map__26031.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26031.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26031):map__26031); +var argm = map__26031__$1; +var opt = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"opt","opt",-794706369)); +var req_un = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"req-un","req-un",1074571008)); +var opt_un = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"opt-un","opt-un",883442496)); +var gfn = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"gfn","gfn",791517474)); +var pred_exprs = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"pred-exprs","pred-exprs",1792271395)); +var keys_pred = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"keys-pred","keys-pred",858984739)); +var opt_keys = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"opt-keys","opt-keys",1262688261)); +var req_specs = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"req-specs","req-specs",553962313)); +var req = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"req","req",-326448303)); +var req_keys = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"req-keys","req-keys",514319221)); +var opt_specs = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"opt-specs","opt-specs",-384905450)); +var pred_forms = cljs.core.get.call(null,map__26031__$1,new cljs.core.Keyword(null,"pred-forms","pred-forms",172611832)); +var k__GT_s = cljs.core.zipmap.call(null,cljs.core.concat.call(null,req_keys,opt_keys),cljs.core.concat.call(null,req_specs,opt_specs)); +var keys__GT_specnames = ((function (k__GT_s,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (p1__26027_SHARP_){ +var or__3922__auto__ = k__GT_s.call(null,p1__26027_SHARP_); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return p1__26027_SHARP_; +} +});})(k__GT_s,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; +var id = cljs.core.random_uuid.call(null); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26033 !== 'undefined'){ +} else { + +/** +* @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$alpha26033 = (function (keys__GT_specnames,p__26030,opt,req_un,opt_un,map__26031,gfn,pred_exprs,keys_pred,argm,opt_keys,req_specs,req,id,req_keys,opt_specs,k__GT_s,pred_forms,meta26034){ +this.keys__GT_specnames = keys__GT_specnames; +this.p__26030 = p__26030; +this.opt = opt; +this.req_un = req_un; +this.opt_un = opt_un; +this.map__26031 = map__26031; +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.meta26034 = meta26034; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_26035,meta26034__$1){ +var self__ = this; +var _26035__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26033(self__.keys__GT_specnames,self__.p__26030,self__.opt,self__.req_un,self__.opt_un,self__.map__26031,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,meta26034__$1)); +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_26035){ +var self__ = this; +var _26035__$1 = this; +return self__.meta26034; +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_,m){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.keys_pred.call(null,m))){ +var reg = cljs.spec.alpha.registry.call(null); +var ret = m; +var G__26042 = m; +var vec__26043 = G__26042; +var seq__26044 = cljs.core.seq.call(null,vec__26043); +var first__26045 = cljs.core.first.call(null,seq__26044); +var seq__26044__$1 = cljs.core.next.call(null,seq__26044); +var vec__26046 = first__26045; +var k = cljs.core.nth.call(null,vec__26046,(0),null); +var v = cljs.core.nth.call(null,vec__26046,(1),null); +var ks = seq__26044__$1; +var keys = vec__26043; +var ret__$1 = ret; +var G__26042__$1 = G__26042; +while(true){ +var ret__$2 = ret__$1; +var vec__26049 = G__26042__$1; +var seq__26050 = cljs.core.seq.call(null,vec__26049); +var first__26051 = cljs.core.first.call(null,seq__26050); +var seq__26050__$1 = cljs.core.next.call(null,seq__26050); +var vec__26052 = first__26051; +var k__$1 = cljs.core.nth.call(null,vec__26052,(0),null); +var v__$1 = cljs.core.nth.call(null,vec__26052,(1),null); +var ks__$1 = seq__26050__$1; +var keys__$1 = vec__26049; +if(cljs.core.truth_(keys__$1)){ +var sname = self__.keys__GT_specnames.call(null,k__$1); +var temp__4655__auto__ = cljs.core.get.call(null,reg,sname); +if(cljs.core.truth_(temp__4655__auto__)){ +var s = temp__4655__auto__; +var cv = cljs.spec.alpha.conform.call(null,s,v__$1); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,cv))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__26070 = (((cv === v__$1))?ret__$2:cljs.core.assoc.call(null,ret__$2,k__$1,cv)); +var G__26071 = ks__$1; +ret__$1 = G__26070; +G__26042__$1 = G__26071; +continue; +} +} else { +var G__26072 = ret__$2; +var G__26073 = ks__$1; +ret__$1 = G__26072; +G__26042__$1 = G__26073; +continue; +} +} else { +return ret__$2; +} +break; +} +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_,m){ +var self__ = this; +var ___$1 = this; +var reg = cljs.spec.alpha.registry.call(null); +var ret = m; +var G__26058 = cljs.core.keys.call(null,m); +var vec__26059 = G__26058; +var seq__26060 = cljs.core.seq.call(null,vec__26059); +var first__26061 = cljs.core.first.call(null,seq__26060); +var seq__26060__$1 = cljs.core.next.call(null,seq__26060); +var k = first__26061; +var ks = seq__26060__$1; +var keys = vec__26059; +var ret__$1 = ret; +var G__26058__$1 = G__26058; +while(true){ +var ret__$2 = ret__$1; +var vec__26062 = G__26058__$1; +var seq__26063 = cljs.core.seq.call(null,vec__26062); +var first__26064 = cljs.core.first.call(null,seq__26063); +var seq__26063__$1 = cljs.core.next.call(null,seq__26063); +var k__$1 = first__26064; +var ks__$1 = seq__26063__$1; +var keys__$1 = vec__26062; +if(cljs.core.truth_(keys__$1)){ +if(cljs.core.contains_QMARK_.call(null,reg,self__.keys__GT_specnames.call(null,k__$1))){ +var cv = cljs.core.get.call(null,m,k__$1); +var v = cljs.spec.alpha.unform.call(null,self__.keys__GT_specnames.call(null,k__$1),cv); +var G__26074 = (((cv === v))?ret__$2:cljs.core.assoc.call(null,ret__$2,k__$1,v)); +var G__26075 = ks__$1; +ret__$1 = G__26074; +G__26058__$1 = G__26075; +continue; +} else { +var G__26076 = ret__$2; +var G__26077 = ks__$1; +ret__$1 = G__26076; +G__26058__$1 = G__26077; +continue; +} +} else { +return ret__$2; +} +break; +} +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if(!(cljs.core.map_QMARK_.call(null,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(null,"map?","map?",-1780568534,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.call(null); +return cljs.core.apply.call(null,cljs.core.concat,(function (){var temp__4657__auto__ = cljs.core.seq.call(null,cljs.core.keep.call(null,cljs.core.identity,cljs.core.map.call(null,((function (reg,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (pred,form){ +if(cljs.core.truth_(pred.call(null,x))){ +return null; +} else { +return form; +} +});})(reg,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +,self__.pred_exprs,self__.pred_forms))); +if(temp__4657__auto__){ +var probs = temp__4657__auto__; +return cljs.core.map.call(null,((function (probs,temp__4657__auto__,reg,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (p1__26028_SHARP_){ +return cljs.core.identity.call(null,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),p1__26028_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,temp__4657__auto__,reg,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +,probs); +} else { +return null; +} +})(),cljs.core.map.call(null,((function (reg,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (p__26065){ +var vec__26066 = p__26065; +var k = cljs.core.nth.call(null,vec__26066,(0),null); +var v = cljs.core.nth.call(null,vec__26066,(1),null); +if(cljs.core.truth_((function (){var or__3922__auto__ = !(cljs.core.contains_QMARK_.call(null,reg,self__.keys__GT_specnames.call(null,k))); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.spec.alpha.pvalid_QMARK_.call(null,self__.keys__GT_specnames.call(null,k),v,k); +} +})())){ +return null; +} else { +return cljs.spec.alpha.explain_1.call(null,self__.keys__GT_specnames.call(null,k),self__.keys__GT_specnames.call(null,k),cljs.core.conj.call(null,path,k),via,cljs.core.conj.call(null,in$,k),v); +} +});})(reg,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +,cljs.core.seq.call(null,x))); +} +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +var rmap__$1 = cljs.spec.alpha.inck.call(null,rmap,self__.id); +var gen = ((function (rmap__$1,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (k,s){ +return cljs.spec.alpha.gensub.call(null,s,overrides,cljs.core.conj.call(null,path,k),rmap__$1,k); +});})(rmap__$1,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; +var ogen = ((function (rmap__$1,gen,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (k,s){ +if(cljs.core.truth_(cljs.spec.alpha.recur_limit_QMARK_.call(null,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.call(null,(new cljs.core.Delay(((function (rmap__$1,gen,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (){ +return cljs.spec.alpha.gensub.call(null,s,overrides,cljs.core.conj.call(null,path,k),rmap__$1,k); +});})(rmap__$1,gen,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +,null)))], null); +} +});})(rmap__$1,gen,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; +var req_gens = cljs.core.map.call(null,gen,self__.req_keys,self__.req_specs); +var opt_gens = cljs.core.remove.call(null,cljs.core.nil_QMARK_,cljs.core.map.call(null,ogen,self__.opt_keys,self__.opt_specs)); +if(cljs.core.every_QMARK_.call(null,cljs.core.identity,cljs.core.concat.call(null,req_gens,opt_gens))){ +var reqs = cljs.core.zipmap.call(null,self__.req_keys,req_gens); +var opts = cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,opt_gens); +return cljs.spec.gen.alpha.bind.call(null,cljs.spec.gen.alpha.choose.call(null,(0),cljs.core.count.call(null,opts)),((function (reqs,opts,rmap__$1,gen,ogen,req_gens,opt_gens,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (p1__26029_SHARP_){ +var args = cljs.core.concat.call(null,cljs.core.seq.call(null,reqs),((cljs.core.seq.call(null,opts))?cljs.core.shuffle.call(null,cljs.core.seq.call(null,opts)):null)); +return cljs.core.apply.call(null,cljs.spec.gen.alpha.hash_map,cljs.core.apply.call(null,cljs.core.concat,cljs.core.take.call(null,(p1__26029_SHARP_ + cljs.core.count.call(null,reqs)),args))); +});})(reqs,opts,rmap__$1,gen,ogen,req_gens,opt_gens,___$1,k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +); +} else { +return null; +} +} +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.map_spec_impl.call(null,cljs.core.assoc.call(null,self__.argm,new cljs.core.Keyword(null,"gfn","gfn",791517474),gfn__$1)); +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.cons.call(null,new cljs.core.Symbol("cljs.spec.alpha","keys","cljs.spec.alpha/keys",1109346032,null),(function (){var G__26069 = cljs.core.PersistentVector.EMPTY; +var G__26069__$1 = (cljs.core.truth_(self__.req)?cljs.core.conj.call(null,G__26069,new cljs.core.Keyword(null,"req","req",-326448303),self__.req):G__26069); +var G__26069__$2 = (cljs.core.truth_(self__.opt)?cljs.core.conj.call(null,G__26069__$1,new cljs.core.Keyword(null,"opt","opt",-794706369),self__.opt):G__26069__$1); +var G__26069__$3 = (cljs.core.truth_(self__.req_un)?cljs.core.conj.call(null,G__26069__$2,new cljs.core.Keyword(null,"req-un","req-un",1074571008),self__.req_un):G__26069__$2); +if(cljs.core.truth_(self__.opt_un)){ +return cljs.core.conj.call(null,G__26069__$3,new cljs.core.Keyword(null,"opt-un","opt-un",883442496),self__.opt_un); +} else { +return G__26069__$3; +} +})()); +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.getBasis = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (){ +return new cljs.core.PersistentVector(null, 19, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"keys->specnames","keys->specnames",1791294693,null),new cljs.core.Symbol(null,"p__26030","p__26030",-1949787,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,"map__26031","map__26031",1768160520,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,"meta26034","meta26034",794176983,null)], null); +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26033.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26033.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26033"; + +cljs.spec.alpha.t_cljs$spec$alpha26033.cljs$lang$ctorPrWriter = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26033"); +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26033. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26033 = ((function (k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms){ +return (function cljs$spec$alpha$map_spec_impl_$___GT_t_cljs$spec$alpha26033(keys__GT_specnames__$1,p__26030__$1,opt__$1,req_un__$1,opt_un__$1,map__26031__$2,gfn__$1,pred_exprs__$1,keys_pred__$1,argm__$1,opt_keys__$1,req_specs__$1,req__$1,id__$1,req_keys__$1,opt_specs__$1,k__GT_s__$1,pred_forms__$1,meta26034){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26033(keys__GT_specnames__$1,p__26030__$1,opt__$1,req_un__$1,opt_un__$1,map__26031__$2,gfn__$1,pred_exprs__$1,keys_pred__$1,argm__$1,opt_keys__$1,req_specs__$1,req__$1,id__$1,req_keys__$1,opt_specs__$1,k__GT_s__$1,pred_forms__$1,meta26034)); +});})(k__GT_s,keys__GT_specnames,id,map__26031,map__26031__$1,argm,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,opt_keys,req_specs,req,req_keys,opt_specs,pred_forms)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26033(keys__GT_specnames,p__26030,opt,req_un,opt_un,map__26031__$1,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)); +}); +/** + * Do not call this directly, use 'spec' + */ +cljs.spec.alpha.spec_impl = (function cljs$spec$alpha$spec_impl(var_args){ +var G__26079 = arguments.length; +switch (G__26079) { +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.call(null,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_.call(null,pred))){ +var G__26080 = pred; +if(cljs.core.truth_(gfn)){ +return cljs.spec.alpha.with_gen.call(null,G__26080,gfn); +} else { +return G__26080; +} +} else { +if(cljs.core.truth_(cljs.spec.alpha.regex_QMARK_.call(null,pred))){ +return cljs.spec.alpha.regex_spec_impl.call(null,pred,gfn); +} else { +if(cljs.core.ident_QMARK_.call(null,pred)){ +var G__26081 = cljs.spec.alpha.the_spec.call(null,pred); +if(cljs.core.truth_(gfn)){ +return cljs.spec.alpha.with_gen.call(null,G__26081,gfn); +} else { +return G__26081; +} +} else { +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26082 !== 'undefined'){ +} else { + +/** +* @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$alpha26082 = (function (form,pred,gfn,cpred_QMARK_,unc,meta26083){ +this.form = form; +this.pred = pred; +this.gfn = gfn; +this.cpred_QMARK_ = cpred_QMARK_; +this.unc = unc; +this.meta26083 = meta26083; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26082.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_26084,meta26083__$1){ +var self__ = this; +var _26084__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26082(self__.form,self__.pred,self__.gfn,self__.cpred_QMARK_,self__.unc,meta26083__$1)); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26082.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_26084){ +var self__ = this; +var _26084__$1 = this; +return self__.meta26083; +}); + +cljs.spec.alpha.t_cljs$spec$alpha26082.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26082.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$alpha26082.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$alpha26082.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26082.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var ret = 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$alpha26082.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.call(null,x); +} else { +throw (new Error("no unform fn for conformer")); +} +} else { +return x; +} +}); + +cljs.spec.alpha.t_cljs$spec$alpha26082.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,cljs.spec.alpha.dt.call(null,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$alpha26082.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.call(null); +} else { +return cljs.spec.gen.alpha.gen_for_pred.call(null,self__.pred); +} +}); + +cljs.spec.alpha.t_cljs$spec$alpha26082.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.call(null,self__.form,self__.pred,gfn__$1,self__.cpred_QMARK_,self__.unc); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26082.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$alpha26082.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,"meta26083","meta26083",1699546935,null)], null); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26082.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26082.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26082"; + +cljs.spec.alpha.t_cljs$spec$alpha26082.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26082"); +}); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26082. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26082 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha26082(form__$1,pred__$1,gfn__$1,cpred_QMARK___$1,unc__$1,meta26083){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26082(form__$1,pred__$1,gfn__$1,cpred_QMARK___$1,unc__$1,meta26083)); +}); + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26082(form,pred,gfn,cpred_QMARK_,unc,cljs.core.PersistentArrayMap.EMPTY)); + +} +} +} +}); + +cljs.spec.alpha.spec_impl.cljs$lang$maxFixedArity = 5; + +/** + * 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__26092 = arguments.length; +switch (G__26092) { +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.call(null,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.call(null); +var predx = ((function (id){ +return (function (p1__26086_SHARP_){ +var mm = cljs.core.deref.call(null,mmvar); +var and__3911__auto__ = cljs.core._get_method.call(null,mm,cljs.core._dispatch_fn.call(null,mm).call(null,p1__26086_SHARP_)); +if(cljs.core.truth_(and__3911__auto__)){ +return mm.call(null,p1__26086_SHARP_); +} else { +return and__3911__auto__; +} +});})(id)) +; +var dval = ((function (id,predx){ +return (function (p1__26087_SHARP_){ +return cljs.core._dispatch_fn.call(null,cljs.core.deref.call(null,mmvar)).call(null,p1__26087_SHARP_); +});})(id,predx)) +; +var tag = (((retag instanceof cljs.core.Keyword))?((function (id,predx,dval){ +return (function (p1__26088_SHARP_,p2__26089_SHARP_){ +return cljs.core.assoc.call(null,p1__26088_SHARP_,retag,p2__26089_SHARP_); +});})(id,predx,dval)) +:retag); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26093 !== 'undefined'){ +} else { + +/** +* @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$alpha26093 = (function (form,mmvar,retag,gfn,id,predx,dval,tag,meta26094){ +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.meta26094 = meta26094; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (id,predx,dval,tag){ +return (function (_26095,meta26094__$1){ +var self__ = this; +var _26095__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26093(self__.form,self__.mmvar,self__.retag,self__.gfn,self__.id,self__.predx,self__.dval,self__.tag,meta26094__$1)); +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (id,predx,dval,tag){ +return (function (_26095){ +var self__ = this; +var _26095__$1 = this; +return self__.meta26094; +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (id,predx,dval,tag){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (id,predx,dval,tag){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (id,predx,dval,tag){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +var temp__4655__auto__ = self__.predx.call(null,x); +if(cljs.core.truth_(temp__4655__auto__)){ +var pred = temp__4655__auto__; +return cljs.spec.alpha.dt.call(null,pred,x,self__.form); +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (id,predx,dval,tag){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +var temp__4655__auto__ = self__.predx.call(null,x); +if(cljs.core.truth_(temp__4655__auto__)){ +var pred = temp__4655__auto__; +return cljs.spec.alpha.unform.call(null,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.call(null,x))].join(''))); +} +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (id,predx,dval,tag){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +var dv = self__.dval.call(null,x); +var path__$1 = cljs.core.conj.call(null,path,dv); +var temp__4655__auto__ = self__.predx.call(null,x); +if(cljs.core.truth_(temp__4655__auto__)){ +var pred = temp__4655__auto__; +return cljs.spec.alpha.explain_1.call(null,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); +} +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (id,predx,dval,tag){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +var gen = ((function (___$1,id,predx,dval,tag){ +return (function (p__26096){ +var vec__26097 = p__26096; +var k = cljs.core.nth.call(null,vec__26097,(0),null); +var f = cljs.core.nth.call(null,vec__26097,(1),null); +var p = f.call(null,null); +var rmap__$1 = cljs.spec.alpha.inck.call(null,rmap,self__.id); +if(cljs.core.truth_(cljs.spec.alpha.recur_limit_QMARK_.call(null,rmap__$1,self__.id,path,k))){ +return null; +} else { +return cljs.spec.gen.alpha.delay_impl.call(null,(new cljs.core.Delay(((function (rmap__$1,p,vec__26097,k,f,___$1,id,predx,dval,tag){ +return (function (){ +return cljs.spec.gen.alpha.fmap.call(null,((function (rmap__$1,p,vec__26097,k,f,___$1,id,predx,dval,tag){ +return (function (p1__26090_SHARP_){ +return self__.tag.call(null,p1__26090_SHARP_,k); +});})(rmap__$1,p,vec__26097,k,f,___$1,id,predx,dval,tag)) +,cljs.spec.alpha.gensub.call(null,p,overrides,cljs.core.conj.call(null,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)))); +});})(rmap__$1,p,vec__26097,k,f,___$1,id,predx,dval,tag)) +,null))); +} +});})(___$1,id,predx,dval,tag)) +; +var gs = cljs.core.remove.call(null,cljs.core.nil_QMARK_,cljs.core.map.call(null,gen,cljs.core.remove.call(null,((function (gen,___$1,id,predx,dval,tag){ +return (function (p__26100){ +var vec__26101 = p__26100; +var k = cljs.core.nth.call(null,vec__26101,(0),null); +return cljs.spec.alpha.invalid_QMARK_.call(null,k); +});})(gen,___$1,id,predx,dval,tag)) +,cljs.core.methods$.call(null,cljs.core.deref.call(null,self__.mmvar))))); +if(cljs.core.every_QMARK_.call(null,cljs.core.identity,gs)){ +return cljs.spec.gen.alpha.one_of.call(null,gs); +} else { +return null; +} +} +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (id,predx,dval,tag){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.multi_spec_impl.call(null,self__.form,self__.mmvar,self__.retag,gfn__$1); +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (id,predx,dval,tag){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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)),(new cljs.core.List(null,self__.retag,null,(1),null))))); +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.getBasis = ((function (id,predx,dval,tag){ +return (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,"meta26094","meta26094",-142679804,null)], null); +});})(id,predx,dval,tag)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26093.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26093.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26093"; + +cljs.spec.alpha.t_cljs$spec$alpha26093.cljs$lang$ctorPrWriter = ((function (id,predx,dval,tag){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26093"); +});})(id,predx,dval,tag)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26093. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26093 = ((function (id,predx,dval,tag){ +return (function cljs$spec$alpha$__GT_t_cljs$spec$alpha26093(form__$1,mmvar__$1,retag__$1,gfn__$1,id__$1,predx__$1,dval__$1,tag__$1,meta26094){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26093(form__$1,mmvar__$1,retag__$1,gfn__$1,id__$1,predx__$1,dval__$1,tag__$1,meta26094)); +});})(id,predx,dval,tag)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26093(form,mmvar,retag,gfn,id,predx,dval,tag,cljs.core.PersistentArrayMap.EMPTY)); +}); + +cljs.spec.alpha.multi_spec_impl.cljs$lang$maxFixedArity = 4; + +/** + * Do not call this directly, use 'tuple' + */ +cljs.spec.alpha.tuple_impl = (function cljs$spec$alpha$tuple_impl(var_args){ +var G__26106 = arguments.length; +switch (G__26106) { +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.call(null,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.call(null,cljs.spec.alpha.specize,preds,forms); +}),null)); +var cnt = cljs.core.count.call(null,preds); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26107 !== 'undefined'){ +} else { + +/** +* @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$alpha26107 = (function (forms,preds,gfn,specs,cnt,meta26108){ +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.specs = specs; +this.cnt = cnt; +this.meta26108 = meta26108; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (specs,cnt){ +return (function (_26109,meta26108__$1){ +var self__ = this; +var _26109__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26107(self__.forms,self__.preds,self__.gfn,self__.specs,self__.cnt,meta26108__$1)); +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (specs,cnt){ +return (function (_26109){ +var self__ = this; +var _26109__$1 = this; +return self__.meta26108; +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (specs,cnt){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (specs,cnt){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (specs,cnt){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +var specs__$1 = cljs.core.deref.call(null,self__.specs); +if(!(((cljs.core.vector_QMARK_.call(null,x)) && (cljs.core._EQ_.call(null,cljs.core.count.call(null,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_.call(null,i,self__.cnt)){ +return ret; +} else { +var v = x.call(null,i); +var cv = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,i),v); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,cv))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__26111 = (((cv === v))?ret:cljs.core.assoc.call(null,ret,i,cv)); +var G__26112 = (i + (1)); +ret = G__26111; +i = G__26112; +continue; +} +} +break; +} +} +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (specs,cnt){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +if(((cljs.core.vector_QMARK_.call(null,x)) && (cljs.core._EQ_.call(null,cljs.core.count.call(null,x),cljs.core.count.call(null,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_.call(null,i,cljs.core.count.call(null,x))){ +return ret; +} else { +var cv = x.call(null,i); +var v = cljs.spec.alpha.unform.call(null,self__.preds.call(null,i),cv); +var G__26113 = (((cv === v))?ret:cljs.core.assoc.call(null,ret,i,v)); +var G__26114 = (i + (1)); +ret = G__26113; +i = G__26114; +continue; +} +break; +} +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (specs,cnt){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if(!(cljs.core.vector_QMARK_.call(null,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(null,"vector?","vector?",-61367869,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_.call(null,cljs.core.count.call(null,x),cljs.core.count.call(null,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.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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,cljs.core.count.call(null,self__.preds),null,(1),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 cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,((function (___$1,specs,cnt){ +return (function (i,form,pred){ +var v = x.call(null,i); +if(cljs.core.truth_(cljs.spec.alpha.pvalid_QMARK_.call(null,pred,v))){ +return null; +} else { +return cljs.spec.alpha.explain_1.call(null,form,pred,cljs.core.conj.call(null,path,i),via,cljs.core.conj.call(null,in$,i),v); +} +});})(___$1,specs,cnt)) +,cljs.core.range.call(null,cljs.core.count.call(null,self__.preds)),self__.forms,self__.preds)); + +} +} +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (specs,cnt){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +var gen = ((function (___$1,specs,cnt){ +return (function (i,p,f){ +return cljs.spec.alpha.gensub.call(null,p,overrides,cljs.core.conj.call(null,path,i),rmap,f); +});})(___$1,specs,cnt)) +; +var gs = cljs.core.map.call(null,gen,cljs.core.range.call(null,cljs.core.count.call(null,self__.preds)),self__.preds,self__.forms); +if(cljs.core.every_QMARK_.call(null,cljs.core.identity,gs)){ +return cljs.core.apply.call(null,cljs.spec.gen.alpha.tuple,gs); +} else { +return null; +} +} +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (specs,cnt){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.tuple_impl.call(null,self__.forms,self__.preds,gfn__$1); +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (specs,cnt){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","tuple","cljs.spec.alpha/tuple",-415901908,null),null,(1),null)),self__.forms))); +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.getBasis = ((function (specs,cnt){ +return (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,"meta26108","meta26108",450804144,null)], null); +});})(specs,cnt)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26107.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26107.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26107"; + +cljs.spec.alpha.t_cljs$spec$alpha26107.cljs$lang$ctorPrWriter = ((function (specs,cnt){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26107"); +});})(specs,cnt)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26107. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26107 = ((function (specs,cnt){ +return (function cljs$spec$alpha$__GT_t_cljs$spec$alpha26107(forms__$1,preds__$1,gfn__$1,specs__$1,cnt__$1,meta26108){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26107(forms__$1,preds__$1,gfn__$1,specs__$1,cnt__$1,meta26108)); +});})(specs,cnt)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26107(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)); +}); +/** + * 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.call(null); +var kps = cljs.core.zipmap.call(null,keys,preds); +var specs = (new cljs.core.Delay(((function (id,kps){ +return (function (){ +return cljs.core.mapv.call(null,cljs.spec.alpha.specize,preds,forms); +});})(id,kps)) +,null)); +var cform = (function (){var G__26115 = cljs.core.count.call(null,preds); +switch (G__26115) { +case (2): +return ((function (G__26115,id,kps,specs){ +return (function (x){ +var specs__$1 = cljs.core.deref.call(null,specs); +var ret = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(0)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret))){ +var ret__$1 = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(1)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret__$1))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.tagged_ret.call(null,keys.call(null,(1)),ret__$1); +} +} else { +return cljs.spec.alpha.tagged_ret.call(null,keys.call(null,(0)),ret); +} +}); +;})(G__26115,id,kps,specs)) + +break; +case (3): +return ((function (G__26115,id,kps,specs){ +return (function (x){ +var specs__$1 = cljs.core.deref.call(null,specs); +var ret = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(0)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret))){ +var ret__$1 = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(1)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret__$1))){ +var ret__$2 = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(2)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret__$2))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.tagged_ret.call(null,keys.call(null,(2)),ret__$2); +} +} else { +return cljs.spec.alpha.tagged_ret.call(null,keys.call(null,(1)),ret__$1); +} +} else { +return cljs.spec.alpha.tagged_ret.call(null,keys.call(null,(0)),ret); +} +}); +;})(G__26115,id,kps,specs)) + +break; +default: +return ((function (G__26115,id,kps,specs){ +return (function (x){ +var specs__$1 = cljs.core.deref.call(null,specs); +var i = (0); +while(true){ +if((i < cljs.core.count.call(null,specs__$1))){ +var spec = specs__$1.call(null,i); +var ret = cljs.spec.alpha.conform_STAR_.call(null,spec,x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret))){ +var G__26124 = (i + (1)); +i = G__26124; +continue; +} else { +return cljs.spec.alpha.tagged_ret.call(null,keys.call(null,i),ret); +} +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +break; +} +}); +;})(G__26115,id,kps,specs)) + +} +})(); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26116 !== 'undefined'){ +} else { + +/** +* @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$alpha26116 = (function (keys,forms,preds,gfn,id,kps,specs,cform,meta26117){ +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.meta26117 = meta26117; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (id,kps,specs,cform){ +return (function (_26118,meta26117__$1){ +var self__ = this; +var _26118__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26116(self__.keys,self__.forms,self__.preds,self__.gfn,self__.id,self__.kps,self__.specs,self__.cform,meta26117__$1)); +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (id,kps,specs,cform){ +return (function (_26118){ +var self__ = this; +var _26118__$1 = this; +return self__.meta26117; +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (id,kps,specs,cform){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (id,kps,specs,cform){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (id,kps,specs,cform){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +return self__.cform.call(null,x); +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (id,kps,specs,cform){ +return (function (_,p__26119){ +var self__ = this; +var vec__26120 = p__26119; +var k = cljs.core.nth.call(null,vec__26120,(0),null); +var x = cljs.core.nth.call(null,vec__26120,(1),null); +var ___$1 = this; +return cljs.spec.alpha.unform.call(null,self__.kps.call(null,k),x); +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (id,kps,specs,cform){ +return (function (this$,path,via,in$,x){ +var self__ = this; +var this$__$1 = this; +if(cljs.core.truth_(cljs.spec.alpha.pvalid_QMARK_.call(null,this$__$1,x))){ +return null; +} else { +return cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,((function (this$__$1,id,kps,specs,cform){ +return (function (k,form,pred){ +if(cljs.core.truth_(cljs.spec.alpha.pvalid_QMARK_.call(null,pred,x))){ +return null; +} else { +return cljs.spec.alpha.explain_1.call(null,form,pred,cljs.core.conj.call(null,path,k),via,in$,x); +} +});})(this$__$1,id,kps,specs,cform)) +,self__.keys,self__.forms,self__.preds)); +} +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (id,kps,specs,cform){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +var gen = ((function (___$1,id,kps,specs,cform){ +return (function (k,p,f){ +var rmap__$1 = cljs.spec.alpha.inck.call(null,rmap,self__.id); +if(cljs.core.truth_(cljs.spec.alpha.recur_limit_QMARK_.call(null,rmap__$1,self__.id,path,k))){ +return null; +} else { +return cljs.spec.gen.alpha.delay_impl.call(null,(new cljs.core.Delay(((function (rmap__$1,___$1,id,kps,specs,cform){ +return (function (){ +return cljs.spec.alpha.gensub.call(null,p,overrides,cljs.core.conj.call(null,path,k),rmap__$1,f); +});})(rmap__$1,___$1,id,kps,specs,cform)) +,null))); +} +});})(___$1,id,kps,specs,cform)) +; +var gs = cljs.core.remove.call(null,cljs.core.nil_QMARK_,cljs.core.map.call(null,gen,self__.keys,self__.preds,self__.forms)); +if(cljs.core.empty_QMARK_.call(null,gs)){ +return null; +} else { +return cljs.spec.gen.alpha.one_of.call(null,gs); +} +} +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (id,kps,specs,cform){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.or_spec_impl.call(null,self__.keys,self__.forms,self__.preds,gfn__$1); +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (id,kps,specs,cform){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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.call(null,cljs.core.vector,self__.keys,self__.forms)))); +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.getBasis = ((function (id,kps,specs,cform){ +return (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,"meta26117","meta26117",-1815756510,null)], null); +});})(id,kps,specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26116.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26116.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26116"; + +cljs.spec.alpha.t_cljs$spec$alpha26116.cljs$lang$ctorPrWriter = ((function (id,kps,specs,cform){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26116"); +});})(id,kps,specs,cform)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26116. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26116 = ((function (id,kps,specs,cform){ +return (function cljs$spec$alpha$or_spec_impl_$___GT_t_cljs$spec$alpha26116(keys__$1,forms__$1,preds__$1,gfn__$1,id__$1,kps__$1,specs__$1,cform__$1,meta26117){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26116(keys__$1,forms__$1,preds__$1,gfn__$1,id__$1,kps__$1,specs__$1,cform__$1,meta26117)); +});})(id,kps,specs,cform)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26116(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__26131 = preds; +var vec__26133 = G__26131; +var seq__26134 = cljs.core.seq.call(null,vec__26133); +var first__26135 = cljs.core.first.call(null,seq__26134); +var seq__26134__$1 = cljs.core.next.call(null,seq__26134); +var pred = first__26135; +var preds__$1 = seq__26134__$1; +var G__26132 = forms; +var vec__26136 = G__26132; +var seq__26137 = cljs.core.seq.call(null,vec__26136); +var first__26138 = cljs.core.first.call(null,seq__26137); +var seq__26137__$1 = cljs.core.next.call(null,seq__26137); +var form = first__26138; +var forms__$1 = seq__26137__$1; +var ret__$1 = ret; +var G__26131__$1 = G__26131; +var G__26132__$1 = G__26132; +while(true){ +var ret__$2 = ret__$1; +var vec__26139 = G__26131__$1; +var seq__26140 = cljs.core.seq.call(null,vec__26139); +var first__26141 = cljs.core.first.call(null,seq__26140); +var seq__26140__$1 = cljs.core.next.call(null,seq__26140); +var pred__$1 = first__26141; +var preds__$2 = seq__26140__$1; +var vec__26142 = G__26132__$1; +var seq__26143 = cljs.core.seq.call(null,vec__26142); +var first__26144 = cljs.core.first.call(null,seq__26143); +var seq__26143__$1 = cljs.core.next.call(null,seq__26143); +var form__$1 = first__26144; +var forms__$2 = seq__26143__$1; +if(cljs.core.truth_(pred__$1)){ +var nret = cljs.spec.alpha.dt.call(null,pred__$1,ret__$2,form__$1); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,nret))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__26145 = nret; +var G__26146 = preds__$2; +var G__26147 = forms__$2; +ret__$1 = G__26145; +G__26131__$1 = G__26146; +G__26132__$1 = G__26147; +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__26154 = forms; +var vec__26156 = G__26154; +var seq__26157 = cljs.core.seq.call(null,vec__26156); +var first__26158 = cljs.core.first.call(null,seq__26157); +var seq__26157__$1 = cljs.core.next.call(null,seq__26157); +var form = first__26158; +var forms__$1 = seq__26157__$1; +var G__26155 = preds; +var vec__26159 = G__26155; +var seq__26160 = cljs.core.seq.call(null,vec__26159); +var first__26161 = cljs.core.first.call(null,seq__26160); +var seq__26160__$1 = cljs.core.next.call(null,seq__26160); +var pred = first__26161; +var preds__$1 = seq__26160__$1; +var ret__$1 = ret; +var G__26154__$1 = G__26154; +var G__26155__$1 = G__26155; +while(true){ +var ret__$2 = ret__$1; +var vec__26162 = G__26154__$1; +var seq__26163 = cljs.core.seq.call(null,vec__26162); +var first__26164 = cljs.core.first.call(null,seq__26163); +var seq__26163__$1 = cljs.core.next.call(null,seq__26163); +var form__$1 = first__26164; +var forms__$2 = seq__26163__$1; +var vec__26165 = G__26155__$1; +var seq__26166 = cljs.core.seq.call(null,vec__26165); +var first__26167 = cljs.core.first.call(null,seq__26166); +var seq__26166__$1 = cljs.core.next.call(null,seq__26166); +var pred__$1 = first__26167; +var preds__$2 = seq__26166__$1; +if(cljs.core.truth_(pred__$1)){ +var nret = cljs.spec.alpha.dt.call(null,pred__$1,ret__$2,form__$1); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,nret))){ +return cljs.spec.alpha.explain_1.call(null,form__$1,pred__$1,path,via,in$,ret__$2); +} else { +var G__26168 = nret; +var G__26169 = forms__$2; +var G__26170 = preds__$2; +ret__$1 = G__26168; +G__26154__$1 = G__26169; +G__26155__$1 = G__26170; +continue; +} +} else { +return null; +} +break; +} +}); +/** + * 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.call(null,cljs.spec.alpha.specize,preds,forms); +}),null)); +var cform = (function (){var G__26173 = cljs.core.count.call(null,preds); +switch (G__26173) { +case (2): +return ((function (G__26173,specs){ +return (function (x){ +var specs__$1 = cljs.core.deref.call(null,specs); +var ret = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(0)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(1)),ret); +} +}); +;})(G__26173,specs)) + +break; +case (3): +return ((function (G__26173,specs){ +return (function (x){ +var specs__$1 = cljs.core.deref.call(null,specs); +var ret = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(0)),x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var ret__$1 = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(1)),ret); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret__$1))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,(2)),ret__$1); +} +} +}); +;})(G__26173,specs)) + +break; +default: +return ((function (G__26173,specs){ +return (function (x){ +var specs__$1 = cljs.core.deref.call(null,specs); +var ret = x; +var i = (0); +while(true){ +if((i < cljs.core.count.call(null,specs__$1))){ +var nret = cljs.spec.alpha.conform_STAR_.call(null,specs__$1.call(null,i),ret); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,nret))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__26178 = nret; +var G__26179 = (i + (1)); +ret = G__26178; +i = G__26179; +continue; +} +} else { +return ret; +} +break; +} +}); +;})(G__26173,specs)) + +} +})(); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26174 !== 'undefined'){ +} else { + +/** +* @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$alpha26174 = (function (forms,preds,gfn,specs,cform,meta26175){ +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.specs = specs; +this.cform = cform; +this.meta26175 = meta26175; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (specs,cform){ +return (function (_26176,meta26175__$1){ +var self__ = this; +var _26176__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26174(self__.forms,self__.preds,self__.gfn,self__.specs,self__.cform,meta26175__$1)); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (specs,cform){ +return (function (_26176){ +var self__ = this; +var _26176__$1 = this; +return self__.meta26175; +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (specs,cform){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (specs,cform){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (specs,cform){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +return self__.cform.call(null,x); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (specs,cform){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.core.reduce.call(null,((function (___$1,specs,cform){ +return (function (p1__26172_SHARP_,p2__26171_SHARP_){ +return cljs.spec.alpha.unform.call(null,p2__26171_SHARP_,p1__26172_SHARP_); +});})(___$1,specs,cform)) +,x,cljs.core.reverse.call(null,self__.preds)); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (specs,cform){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.explain_pred_list.call(null,self__.forms,self__.preds,path,via,in$,x); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (specs,cform){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +return cljs.spec.alpha.gensub.call(null,cljs.core.first.call(null,self__.preds),overrides,path,rmap,cljs.core.first.call(null,self__.forms)); +} +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (specs,cform){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.and_spec_impl.call(null,self__.forms,self__.preds,gfn__$1); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (specs,cform){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","and","cljs.spec.alpha/and",-2060279705,null),null,(1),null)),self__.forms))); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.getBasis = ((function (specs,cform){ +return (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,"meta26175","meta26175",-1804705232,null)], null); +});})(specs,cform)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26174.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26174.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26174"; + +cljs.spec.alpha.t_cljs$spec$alpha26174.cljs$lang$ctorPrWriter = ((function (specs,cform){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26174"); +});})(specs,cform)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26174. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26174 = ((function (specs,cform){ +return (function cljs$spec$alpha$and_spec_impl_$___GT_t_cljs$spec$alpha26174(forms__$1,preds__$1,gfn__$1,specs__$1,cform__$1,meta26175){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26174(forms__$1,preds__$1,gfn__$1,specs__$1,cform__$1,meta26175)); +});})(specs,cform)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26174(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__3922__auto__ = kfn; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.coll_QMARK_; +} +})(); +var kform__$1 = (function (){var or__3922__auto__ = kform; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return new cljs.core.Symbol("cljs.core","coll?","cljs.core/coll?",1208130522,null); +} +})(); +if(cljs.core.not.call(null,cljs.spec.alpha.pvalid_QMARK_.call(null,pred,x))){ +return cljs.spec.alpha.explain_1.call(null,kform__$1,pred,path,via,in$,x); +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = count; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not_EQ_.call(null,count,cljs.core.bounded_count.call(null,count,x)); +} else { +return and__3911__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.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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)),(new cljs.core.List(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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.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__3911__auto__ = (function (){var or__3922__auto__ = min_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return max_count; +} +})(); +if(cljs.core.truth_(and__3911__auto__)){ +return !(((((function (){var or__3922__auto__ = min_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})() <= cljs.core.bounded_count.call(null,(cljs.core.truth_(max_count)?(max_count + (1)):min_count),x))) && ((cljs.core.bounded_count.call(null,(cljs.core.truth_(max_count)?(max_count + (1)):min_count),x) <= (function (){var or__3922__auto__ = max_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (9007199254740991); +} +})())))); +} else { +return and__3911__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.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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__3922__auto__ = min_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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__3922__auto__ = max_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (9007199254740991); +} +})(),null,(1),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.truth_((function (){var and__3911__auto__ = distinct; +if(cljs.core.truth_(and__3911__auto__)){ +return ((!(cljs.core.empty_QMARK_.call(null,x))) && (cljs.core.not.call(null,cljs.core.apply.call(null,cljs.core.distinct_QMARK_,x)))); +} else { +return and__3911__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; +} +} +} +} +}); +/** + * Do not call this directly, use 'merge' + */ +cljs.spec.alpha.merge_spec_impl = (function cljs$spec$alpha$merge_spec_impl(forms,preds,gfn){ +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26188 !== 'undefined'){ +} else { + +/** +* @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$alpha26188 = (function (forms,preds,gfn,meta26189){ +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.meta26189 = meta26189; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_26190,meta26189__$1){ +var self__ = this; +var _26190__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26188(self__.forms,self__.preds,self__.gfn,meta26189__$1)); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_26190){ +var self__ = this; +var _26190__$1 = this; +return self__.meta26189; +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26188.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$alpha26188.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$alpha26188.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var ms = cljs.core.map.call(null,((function (___$1){ +return (function (p1__26180_SHARP_,p2__26181_SHARP_){ +return cljs.spec.alpha.dt.call(null,p1__26180_SHARP_,x,p2__26181_SHARP_); +});})(___$1)) +,self__.preds,self__.forms); +if(cljs.core.truth_(cljs.core.some.call(null,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.call(null,cljs.core.merge,ms); +} +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.core.apply.call(null,cljs.core.merge,cljs.core.map.call(null,((function (___$1){ +return (function (p1__26182_SHARP_){ +return cljs.spec.alpha.unform.call(null,p1__26182_SHARP_,x); +});})(___$1)) +,cljs.core.reverse.call(null,self__.preds))); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +return cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,((function (___$1){ +return (function (p1__26183_SHARP_,p2__26184_SHARP_){ +return cljs.spec.alpha.explain_1.call(null,p1__26183_SHARP_,p2__26184_SHARP_,path,via,in$,x); +});})(___$1)) +,self__.forms,self__.preds)); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.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.call(null); +} else { +return cljs.spec.gen.alpha.fmap.call(null,((function (___$1){ +return (function (p1__26185_SHARP_){ +return cljs.core.apply.call(null,cljs.core.merge,p1__26185_SHARP_); +});})(___$1)) +,cljs.core.apply.call(null,cljs.spec.gen.alpha.tuple,cljs.core.map.call(null,((function (___$1){ +return (function (p1__26186_SHARP_,p2__26187_SHARP_){ +return cljs.spec.alpha.gensub.call(null,p1__26186_SHARP_,overrides,path,rmap,p2__26187_SHARP_); +});})(___$1)) +,self__.preds,self__.forms))); +} +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.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.call(null,self__.forms,self__.preds,gfn__$1); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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$alpha26188.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,"meta26189","meta26189",-27392496,null)], null); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26188.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26188.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26188"; + +cljs.spec.alpha.t_cljs$spec$alpha26188.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26188"); +}); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26188. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26188 = (function cljs$spec$alpha$merge_spec_impl_$___GT_t_cljs$spec$alpha26188(forms__$1,preds__$1,gfn__$1,meta26189){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26188(forms__$1,preds__$1,gfn__$1,meta26189)); +}); + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26188(forms,preds,gfn,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * 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__26196 = arguments.length; +switch (G__26196) { +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.call(null,form,pred,opts,null); +}); + +cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$4 = (function (form,pred,p__26197,gfn){ +var map__26198 = p__26197; +var map__26198__$1 = ((((!((map__26198 == null)))?(((((map__26198.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26198.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26198):map__26198); +var opts = map__26198__$1; +var max_count = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"max-count","max-count",1539185305)); +var kind_form = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword("cljs.spec.alpha","kind-form","cljs.spec.alpha/kind-form",-1047104697)); +var gen_max = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"gen-max","gen-max",-793680445),(20)); +var cpred = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword("cljs.spec.alpha","cpred","cljs.spec.alpha/cpred",-693471218)); +var conform_keys = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"conform-keys","conform-keys",-1800041814)); +var describe_form = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword("cljs.spec.alpha","describe","cljs.spec.alpha/describe",1883026911)); +var distinct = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"distinct","distinct",-1788879121)); +var kfn = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword("cljs.spec.alpha","kfn","cljs.spec.alpha/kfn",672643897)); +var gen_into = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"into","into",-150836029)); +var count = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"count","count",2139924085)); +var min_count = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"min-count","min-count",1594709013)); +var kind = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword(null,"kind","kind",-717265803)); +var conform_all = cljs.core.get.call(null,map__26198__$1,new cljs.core.Keyword("cljs.spec.alpha","conform-all","cljs.spec.alpha/conform-all",45201917)); +var conform_into = gen_into; +var spec = (new cljs.core.Delay(((function (conform_into,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (){ +return cljs.spec.alpha.specize.call(null,pred); +});})(conform_into,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,null)); +var check_QMARK_ = ((function (conform_into,spec,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (p1__26191_SHARP_){ +return cljs.spec.alpha.valid_QMARK_.call(null,cljs.core.deref.call(null,spec),p1__26191_SHARP_); +});})(conform_into,spec,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; +var kfn__$1 = (function (){var or__3922__auto__ = kfn; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return ((function (or__3922__auto__,conform_into,spec,check_QMARK_,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (i,v){ +return i; +}); +;})(or__3922__auto__,conform_into,spec,check_QMARK_,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +} +})(); +var addcv = ((function (conform_into,spec,check_QMARK_,kfn__$1,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (ret,i,v,cv){ +return cljs.core.conj.call(null,ret,cv); +});})(conform_into,spec,check_QMARK_,kfn__$1,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; +var cfns = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (x){ +if(((cljs.core.vector_QMARK_.call(null,x)) && (((cljs.core.not.call(null,conform_into)) || (cljs.core.vector_QMARK_.call(null,conform_into)))))){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.identity,((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (ret,i,v,cv){ +if((v === cv)){ +return ret; +} else { +return cljs.core.assoc.call(null,ret,i,cv); +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,cljs.core.identity], null); +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.map_QMARK_.call(null,x); +if(and__3911__auto__){ +var or__3922__auto__ = (function (){var and__3911__auto____$1 = kind; +if(cljs.core.truth_(and__3911__auto____$1)){ +return cljs.core.not.call(null,conform_into); +} else { +return and__3911__auto____$1; +} +})(); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.map_QMARK_.call(null,conform_into); +} +} else { +return and__3911__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 (conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (ret,i,v,cv){ +if((((v === cv)) && (cljs.core.not.call(null,conform_keys)))){ +return ret; +} else { +return cljs.core.assoc.call(null,ret,cljs.core.nth.call(null,(cljs.core.truth_(conform_keys)?cv:v),(0)),cljs.core.nth.call(null,cv,(1))); +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,cljs.core.identity], null); +} else { +if(((cljs.core.list_QMARK_.call(null,conform_into)) || (cljs.core.seq_QMARK_.call(null,conform_into)) || (((cljs.core.not.call(null,conform_into)) && (((cljs.core.list_QMARK_.call(null,x)) || (cljs.core.seq_QMARK_.call(null,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 (conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (p1__26192_SHARP_){ +return cljs.core.empty.call(null,(function (){var or__3922__auto__ = conform_into; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return p1__26192_SHARP_; +} +})()); +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,addcv,cljs.core.identity], null); + +} +} +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26200 !== 'undefined'){ +} else { + +/** +* @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$alpha26200 = (function (form,max_count,check_QMARK_,gfn,gen_max,p__26197,pred,cpred,map__26198,conform_keys,kind_form,addcv,cfns,describe_form,distinct,spec,kfn,gen_into,count,min_count,opts,kind,conform_all,conform_into,meta26201){ +this.form = form; +this.max_count = max_count; +this.check_QMARK_ = check_QMARK_; +this.gfn = gfn; +this.gen_max = gen_max; +this.p__26197 = p__26197; +this.pred = pred; +this.cpred = cpred; +this.map__26198 = map__26198; +this.conform_keys = conform_keys; +this.kind_form = kind_form; +this.addcv = addcv; +this.cfns = cfns; +this.describe_form = describe_form; +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.conform_into = conform_into; +this.meta26201 = meta26201; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_26202,meta26201__$1){ +var self__ = this; +var _26202__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26200(self__.form,self__.max_count,self__.check_QMARK_,self__.gfn,self__.gen_max,self__.p__26197,self__.pred,self__.cpred,self__.map__26198,self__.conform_keys,self__.kind_form,self__.addcv,self__.cfns,self__.describe_form,self__.distinct,self__.spec,self__.kfn,self__.gen_into,self__.count,self__.min_count,self__.opts,self__.kind,self__.conform_all,self__.conform_into,meta26201__$1)); +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_26202){ +var self__ = this; +var _26202__$1 = this; +return self__.meta26201; +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +var spec__$1 = cljs.core.deref.call(null,self__.spec); +if(cljs.core.not.call(null,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__26203 = self__.cfns.call(null,x); +var init = cljs.core.nth.call(null,vec__26203,(0),null); +var add = cljs.core.nth.call(null,vec__26203,(1),null); +var complete = cljs.core.nth.call(null,vec__26203,(2),null); +var ret = init.call(null,x); +var i = (0); +var G__26209 = cljs.core.seq.call(null,x); +var vec__26210 = G__26209; +var seq__26211 = cljs.core.seq.call(null,vec__26210); +var first__26212 = cljs.core.first.call(null,seq__26211); +var seq__26211__$1 = cljs.core.next.call(null,seq__26211); +var v = first__26212; +var vs = seq__26211__$1; +var vseq = vec__26210; +var ret__$1 = ret; +var i__$1 = i; +var G__26209__$1 = G__26209; +while(true){ +var ret__$2 = ret__$1; +var i__$2 = i__$1; +var vec__26213 = G__26209__$1; +var seq__26214 = cljs.core.seq.call(null,vec__26213); +var first__26215 = cljs.core.first.call(null,seq__26214); +var seq__26214__$1 = cljs.core.next.call(null,seq__26214); +var v__$1 = first__26215; +var vs__$1 = seq__26214__$1; +var vseq__$1 = vec__26213; +if(vseq__$1){ +var cv = cljs.spec.alpha.conform_STAR_.call(null,spec__$1,v__$1); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,cv))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__26240 = add.call(null,ret__$2,i__$2,v__$1,cv); +var G__26241 = (i__$2 + (1)); +var G__26242 = vs__$1; +ret__$1 = G__26240; +i__$1 = G__26241; +G__26209__$1 = G__26242; +continue; +} +} else { +return complete.call(null,ret__$2); +} +break; +} +} else { +if(cljs.core.indexed_QMARK_.call(null,x)){ +var step = (function (){var x__4006__auto__ = (1); +var y__4007__auto__ = cljs.core.long$.call(null,(cljs.core.count.call(null,x) / cljs.spec.alpha._STAR_coll_check_limit_STAR_)); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +})(); +var i = (0); +while(true){ +if((i >= cljs.core.count.call(null,x))){ +return x; +} else { +if(cljs.core.truth_(cljs.spec.alpha.valid_QMARK_.call(null,spec__$1,cljs.core.nth.call(null,x,i)))){ +var G__26243 = (i + step); +i = G__26243; +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__26219 = cljs.core.seq.call(null,x); +var vec__26220 = G__26219; +var seq__26221 = cljs.core.seq.call(null,vec__26220); +var first__26222 = cljs.core.first.call(null,seq__26221); +var seq__26221__$1 = cljs.core.next.call(null,seq__26221); +var v = first__26222; +var vs = seq__26221__$1; +var vseq = vec__26220; +var i__$1 = i; +var G__26219__$1 = G__26219; +while(true){ +var i__$2 = i__$1; +var vec__26223 = G__26219__$1; +var seq__26224 = cljs.core.seq.call(null,vec__26223); +var first__26225 = cljs.core.first.call(null,seq__26224); +var seq__26224__$1 = cljs.core.next.call(null,seq__26224); +var v__$1 = first__26225; +var vs__$1 = seq__26224__$1; +var vseq__$1 = vec__26223; +if((((vseq__$1 == null)) || (cljs.core._EQ_.call(null,i__$2,limit)))){ +return x; +} else { +if(cljs.core.truth_(cljs.spec.alpha.valid_QMARK_.call(null,spec__$1,v__$1))){ +var G__26244 = (i__$2 + (1)); +var G__26245 = vs__$1; +i__$1 = G__26244; +G__26219__$1 = G__26245; +continue; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); + +} +} +break; +} +} + +} +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.conform_all)){ +var spec__$1 = cljs.core.deref.call(null,self__.spec); +var vec__26226 = self__.cfns.call(null,x); +var init = cljs.core.nth.call(null,vec__26226,(0),null); +var add = cljs.core.nth.call(null,vec__26226,(1),null); +var complete = cljs.core.nth.call(null,vec__26226,(2),null); +var ret = init.call(null,x); +var i = (0); +var G__26232 = cljs.core.seq.call(null,x); +var vec__26233 = G__26232; +var seq__26234 = cljs.core.seq.call(null,vec__26233); +var first__26235 = cljs.core.first.call(null,seq__26234); +var seq__26234__$1 = cljs.core.next.call(null,seq__26234); +var v = first__26235; +var vs = seq__26234__$1; +var vseq = vec__26233; +var ret__$1 = ret; +var i__$1 = i; +var G__26232__$1 = G__26232; +while(true){ +var ret__$2 = ret__$1; +var i__$2 = i__$1; +var vec__26236 = G__26232__$1; +var seq__26237 = cljs.core.seq.call(null,vec__26236); +var first__26238 = cljs.core.first.call(null,seq__26237); +var seq__26237__$1 = cljs.core.next.call(null,seq__26237); +var v__$1 = first__26238; +var vs__$1 = seq__26237__$1; +var vseq__$1 = vec__26236; +if((i__$2 >= cljs.core.count.call(null,x))){ +return complete.call(null,ret__$2); +} else { +var G__26246 = add.call(null,ret__$2,i__$2,v__$1,cljs.spec.alpha.unform_STAR_.call(null,spec__$1,v__$1)); +var G__26247 = (i__$2 + (1)); +var G__26248 = vs__$1; +ret__$1 = G__26246; +i__$1 = G__26247; +G__26232__$1 = G__26248; +continue; +} +break; +} +} else { +return x; +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +var or__3922__auto__ = cljs.spec.alpha.coll_prob.call(null,x,self__.kind,self__.kind_form,self__.distinct,self__.count,self__.min_count,self__.max_count,path,via,in$); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.apply.call(null,cljs.core.concat,(cljs.core.truth_(self__.conform_all)?cljs.core.identity:cljs.core.partial.call(null,cljs.core.take,cljs.spec.alpha._STAR_coll_error_limit_STAR_)).call(null,cljs.core.keep.call(null,cljs.core.identity,cljs.core.map.call(null,((function (or__3922__auto__,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (i,v){ +var k = self__.kfn.call(null,i,v); +if(cljs.core.truth_(self__.check_QMARK_.call(null,v))){ +return null; +} else { +var prob = cljs.spec.alpha.explain_1.call(null,self__.form,self__.pred,path,via,cljs.core.conj.call(null,in$,k),v); +return prob; +} +});})(or__3922__auto__,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,cljs.core.range.call(null),x)))); +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +var pgen = cljs.spec.alpha.gensub.call(null,self__.pred,overrides,path,rmap,self__.form); +return cljs.spec.gen.alpha.bind.call(null,(cljs.core.truth_(self__.gen_into)?cljs.spec.gen.alpha.return$.call(null,cljs.core.empty.call(null,self__.gen_into)):(cljs.core.truth_(self__.kind)?cljs.spec.gen.alpha.fmap.call(null,((function (pgen,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (p1__26193_SHARP_){ +if(cljs.core.empty_QMARK_.call(null,p1__26193_SHARP_)){ +return p1__26193_SHARP_; +} else { +return cljs.core.empty.call(null,p1__26193_SHARP_); +} +});})(pgen,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,cljs.spec.alpha.gensub.call(null,self__.kind,overrides,path,rmap,self__.form)):cljs.spec.gen.alpha.return$.call(null,cljs.core.PersistentVector.EMPTY) +)),((function (pgen,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (init){ +return cljs.spec.gen.alpha.fmap.call(null,((function (pgen,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (p1__26194_SHARP_){ +if(cljs.core.vector_QMARK_.call(null,init)){ +return p1__26194_SHARP_; +} else { +return cljs.core.into.call(null,init,p1__26194_SHARP_); +} +});})(pgen,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +,(cljs.core.truth_(self__.distinct)?(cljs.core.truth_(self__.count)?cljs.spec.gen.alpha.vector_distinct.call(null,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)):cljs.spec.gen.alpha.vector_distinct.call(null,pgen,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"min-elements","min-elements",949370780),(function (){var or__3922__auto__ = self__.min_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(),new cljs.core.Keyword(null,"max-elements","max-elements",433034073),(function (){var or__3922__auto__ = self__.max_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var x__4006__auto__ = self__.gen_max; +var y__4007__auto__ = ((2) * (function (){var or__3922__auto____$1 = self__.min_count; +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return (0); +} +})()); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +} +})(),new cljs.core.Keyword(null,"max-tries","max-tries",-1824441792),(100)], null))):(cljs.core.truth_(self__.count)?cljs.spec.gen.alpha.vector.call(null,pgen,self__.count):(cljs.core.truth_((function (){var or__3922__auto__ = self__.min_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return self__.max_count; +} +})())?cljs.spec.gen.alpha.vector.call(null,pgen,(function (){var or__3922__auto__ = self__.min_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(),(function (){var or__3922__auto__ = self__.max_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var x__4006__auto__ = self__.gen_max; +var y__4007__auto__ = ((2) * (function (){var or__3922__auto____$1 = self__.min_count; +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return (0); +} +})()); +return ((x__4006__auto__ > y__4007__auto__) ? x__4006__auto__ : y__4007__auto__); +} +})()):cljs.spec.gen.alpha.vector.call(null,pgen,(0),self__.gen_max) +)))); +});})(pgen,___$1,conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +); +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.every_impl.call(null,self__.form,self__.pred,self__.opts,gfn__$1); +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (_){ +var self__ = this; +var ___$1 = this; +var or__3922__auto__ = self__.describe_form; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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.mapcat.call(null,cljs.core.identity,self__.opts)))); +} +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.getBasis = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (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,"p__26197","p__26197",1672474252,null),new cljs.core.Symbol(null,"pred","pred",-727012372,null),new cljs.core.Symbol(null,"cpred","cpred",-540353554,null),new cljs.core.Symbol(null,"map__26198","map__26198",1468839215,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,"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,"conform-into","conform-into",-1039113729,null),new cljs.core.Symbol(null,"meta26201","meta26201",-678637733,null)], null); +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26200.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26200.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26200"; + +cljs.spec.alpha.t_cljs$spec$alpha26200.cljs$lang$ctorPrWriter = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26200"); +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26200. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26200 = ((function (conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all){ +return (function cljs$spec$alpha$__GT_t_cljs$spec$alpha26200(form__$1,max_count__$1,check_QMARK___$1,gfn__$1,gen_max__$1,p__26197__$1,pred__$1,cpred__$1,map__26198__$2,conform_keys__$1,kind_form__$1,addcv__$1,cfns__$1,describe_form__$1,distinct__$1,spec__$1,kfn__$2,gen_into__$1,count__$1,min_count__$1,opts__$1,kind__$1,conform_all__$1,conform_into__$1,meta26201){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26200(form__$1,max_count__$1,check_QMARK___$1,gfn__$1,gen_max__$1,p__26197__$1,pred__$1,cpred__$1,map__26198__$2,conform_keys__$1,kind_form__$1,addcv__$1,cfns__$1,describe_form__$1,distinct__$1,spec__$1,kfn__$2,gen_into__$1,count__$1,min_count__$1,opts__$1,kind__$1,conform_all__$1,conform_into__$1,meta26201)); +});})(conform_into,spec,check_QMARK_,kfn__$1,addcv,cfns,map__26198,map__26198__$1,opts,max_count,kind_form,gen_max,cpred,conform_keys,describe_form,distinct,kfn,gen_into,count,min_count,kind,conform_all)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26200(form,max_count,check_QMARK_,gfn,gen_max,p__26197,pred,cpred,map__26198__$1,conform_keys,kind_form,addcv,cfns,describe_form,distinct,spec,kfn__$1,gen_into,count,min_count,opts,kind,conform_all,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__26249){ +var map__26250 = p__26249; +var map__26250__$1 = ((((!((map__26250 == null)))?(((((map__26250.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26250.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26250):map__26250); +var op = cljs.core.get.call(null,map__26250__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +return cljs.core._EQ_.call(null,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__26252){ +var map__26253 = p__26252; +var map__26253__$1 = ((((!((map__26253 == null)))?(((((map__26253.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26253.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26253):map__26253); +var vec__26254 = cljs.core.get.call(null,map__26253__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__26255 = cljs.core.seq.call(null,vec__26254); +var first__26256 = cljs.core.first.call(null,seq__26255); +var seq__26255__$1 = cljs.core.next.call(null,seq__26255); +var p1 = first__26256; +var pr = seq__26255__$1; +var ps = vec__26254; +var vec__26257 = cljs.core.get.call(null,map__26253__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var seq__26258 = cljs.core.seq.call(null,vec__26257); +var first__26259 = cljs.core.first.call(null,seq__26258); +var seq__26258__$1 = cljs.core.next.call(null,seq__26258); +var k1 = first__26259; +var kr = seq__26258__$1; +var ks = vec__26257; +var vec__26260 = cljs.core.get.call(null,map__26253__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var seq__26261 = cljs.core.seq.call(null,vec__26260); +var first__26262 = cljs.core.first.call(null,seq__26261); +var seq__26261__$1 = cljs.core.next.call(null,seq__26261); +var f1 = first__26262; +var fr = seq__26261__$1; +var forms = vec__26260; +var ret = cljs.core.get.call(null,map__26253__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var rep_PLUS_ = cljs.core.get.call(null,map__26253__$1,new cljs.core.Keyword(null,"rep+","rep+",-281382396)); +if(cljs.core.every_QMARK_.call(null,cljs.core.identity,ps)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_QMARK_.call(null,p1))){ +var rp = new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(p1); +var ret__$1 = cljs.core.conj.call(null,ret,(cljs.core.truth_(ks)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k1,rp]):rp)); +if(pr){ +return cljs.spec.alpha.pcat_STAR_.call(null,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)); +} else { +return cljs.spec.alpha.accept.call(null,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__4502__auto__ = []; +var len__4499__auto___26265 = arguments.length; +var i__4500__auto___26266 = (0); +while(true){ +if((i__4500__auto___26266 < len__4499__auto___26265)){ +args__4502__auto__.push((arguments[i__4500__auto___26266])); + +var G__26267 = (i__4500__auto___26266 + (1)); +i__4500__auto___26266 = G__26267; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.alpha.pcat.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.spec.alpha.pcat.cljs$core$IFn$_invoke$arity$variadic = (function (ps){ +return cljs.spec.alpha.pcat_STAR_.call(null,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 (seq26264){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq26264)); +}); + +/** + * 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_.call(null,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.call(null)], null); +if(cljs.core.truth_(cljs.spec.alpha.accept_QMARK_.call(null,p1))){ +return cljs.core.assoc.call(null,r,new cljs.core.Keyword(null,"p1","p1",-936759954),p2,new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.core.conj.call(null,ret,new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(p1))); +} else { +return cljs.core.assoc.call(null,r,new cljs.core.Keyword(null,"p1","p1",-936759954),p1,new cljs.core.Keyword(null,"ret","ret",-468222814),ret); +} +} 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_.call(null,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_.call(null,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_.call(null,p,p,cljs.core.PersistentVector.EMPTY,true,form)], null),new cljs.core.Keyword(null,"forms","forms",2045992350),cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(new cljs.core.List(null,form,null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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,preds,pred_forms){ +return 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","amp","cljs.spec.alpha/amp",831147508),new cljs.core.Keyword(null,"p1","p1",-936759954),re,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__3922__auto__ = ks; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return forms; +} +})())){ +var pks = cljs.core.filter.call(null,(function (p1__26268_SHARP_){ +return f.call(null,cljs.core.first.call(null,p1__26268_SHARP_)); +}),cljs.core.map.call(null,cljs.core.vector,ps,(function (){var or__3922__auto__ = cljs.core.seq.call(null,ks); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})(),(function (){var or__3922__auto__ = cljs.core.seq.call(null,forms); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})())); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.seq.call(null,cljs.core.map.call(null,cljs.core.first,pks)),(cljs.core.truth_(ks)?cljs.core.seq.call(null,cljs.core.map.call(null,cljs.core.second,pks)):null),(cljs.core.truth_(forms)?cljs.core.seq.call(null,cljs.core.map.call(null,((function (pks){ +return (function (p1__26269_SHARP_){ +return cljs.core.nth.call(null,p1__26269_SHARP_,(2)); +});})(pks)) +,pks)):null)], null); +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.seq.call(null,cljs.core.filter.call(null,f,ps)),ks,forms], null); +} +}); +cljs.spec.alpha.alt_STAR_ = (function cljs$spec$alpha$alt_STAR_(ps,ks,forms){ +var vec__26270 = cljs.spec.alpha.filter_alt.call(null,ps,ks,forms,cljs.core.identity); +var vec__26273 = cljs.core.nth.call(null,vec__26270,(0),null); +var seq__26274 = cljs.core.seq.call(null,vec__26273); +var first__26275 = cljs.core.first.call(null,seq__26274); +var seq__26274__$1 = cljs.core.next.call(null,seq__26274); +var p1 = first__26275; +var pr = seq__26274__$1; +var ps__$1 = vec__26273; +var vec__26276 = cljs.core.nth.call(null,vec__26270,(1),null); +var k1 = cljs.core.nth.call(null,vec__26276,(0),null); +var ks__$1 = vec__26276; +var forms__$1 = cljs.core.nth.call(null,vec__26270,(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.core.truth_(cljs.spec.alpha.accept_QMARK_.call(null,p1))){ +return cljs.spec.alpha.accept.call(null,cljs.spec.alpha.tagged_ret.call(null,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__4502__auto__ = []; +var len__4499__auto___26280 = arguments.length; +var i__4500__auto___26281 = (0); +while(true){ +if((i__4500__auto___26281 < len__4499__auto___26280)){ +args__4502__auto__.push((arguments[i__4500__auto___26281])); + +var G__26282 = (i__4500__auto___26281 + (1)); +i__4500__auto___26281 = G__26282; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.alpha.alts.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.spec.alpha.alts.cljs$core$IFn$_invoke$arity$variadic = (function (ps){ +return cljs.spec.alpha.alt_STAR_.call(null,ps,null,null); +}); + +cljs.spec.alpha.alts.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.alpha.alts.cljs$lang$applyTo = (function (seq26279){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq26279)); +}); + +cljs.spec.alpha.alt2 = (function cljs$spec$alpha$alt2(p1,p2){ +if(cljs.core.truth_((function (){var and__3911__auto__ = p1; +if(cljs.core.truth_(and__3911__auto__)){ +return p2; +} else { +return and__3911__auto__; +} +})())){ +return cljs.spec.alpha.alts.call(null,p1,p2); +} else { +var or__3922__auto__ = p1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__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.call(null,cljs.spec.alpha.alt_STAR_.call(null,ps,ks,forms),new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.random_uuid.call(null)); +}); +/** + * Do not call this directly, use '?' + */ +cljs.spec.alpha.maybe_impl = (function cljs$spec$alpha$maybe_impl(p,form){ +return cljs.core.assoc.call(null,cljs.spec.alpha.alt_STAR_.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p,cljs.spec.alpha.accept.call(null,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__3922__auto__ = cljs.core._EQ_.call(null,pret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950)); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = (function (){var and__3911__auto__ = 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).call(null,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_.call(null,p1))); +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.empty_QMARK_.call(null,pret); +} else { +return and__3911__auto__; +} +})(); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return null; +} +} +}); +cljs.spec.alpha.accept_nil_QMARK_ = (function cljs$spec$alpha$accept_nil_QMARK_(p){ +var map__26283 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26283__$1 = ((((!((map__26283 == null)))?(((((map__26283.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26283.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26283):map__26283); +var p__$1 = map__26283__$1; +var op = cljs.core.get.call(null,map__26283__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.call(null,map__26283__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var p1 = cljs.core.get.call(null,map__26283__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var p2 = cljs.core.get.call(null,map__26283__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var forms = cljs.core.get.call(null,map__26283__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var G__26285 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26285)){ +return true; +} else { +if(cljs.core._EQ_.call(null,null,G__26285)){ +return null; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26285)){ +var and__3911__auto__ = cljs.spec.alpha.accept_nil_QMARK_.call(null,p1); +if(cljs.core.truth_(and__3911__auto__)){ +var or__3922__auto__ = cljs.spec.alpha.noret_QMARK_.call(null,p1,cljs.spec.alpha.preturn.call(null,p1)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var ret = cljs.spec.alpha.and_preds.call(null,cljs.spec.alpha.preturn.call(null,p1),ps,cljs.core.next.call(null,forms)); +return cljs.core.not.call(null,cljs.spec.alpha.invalid_QMARK_.call(null,ret)); +} +} else { +return and__3911__auto__; +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26285)){ +var or__3922__auto__ = (p1 === p2); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.spec.alpha.accept_nil_QMARK_.call(null,p1); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26285)){ +return cljs.core.every_QMARK_.call(null,cljs.spec.alpha.accept_nil_QMARK_,ps); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26285)){ +return cljs.core.some.call(null,cljs.spec.alpha.accept_nil_QMARK_,ps); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26285)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.preturn = (function cljs$spec$alpha$preturn(p){ +var map__26286 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26286__$1 = ((((!((map__26286 == null)))?(((((map__26286.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26286.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26286):map__26286); +var p__$1 = map__26286__$1; +var vec__26287 = cljs.core.get.call(null,map__26286__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__26288 = cljs.core.seq.call(null,vec__26287); +var first__26289 = cljs.core.first.call(null,seq__26288); +var seq__26288__$1 = cljs.core.next.call(null,seq__26288); +var p0 = first__26289; +var pr = seq__26288__$1; +var ps = vec__26287; +var vec__26290 = cljs.core.get.call(null,map__26286__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var k = cljs.core.nth.call(null,vec__26290,(0),null); +var ks = vec__26290; +var op = cljs.core.get.call(null,map__26286__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var p1 = cljs.core.get.call(null,map__26286__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var ret = cljs.core.get.call(null,map__26286__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var forms = cljs.core.get.call(null,map__26286__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var G__26294 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26294)){ +return ret; +} else { +if(cljs.core._EQ_.call(null,null,G__26294)){ +return null; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26294)){ +var pret = cljs.spec.alpha.preturn.call(null,p1); +if(cljs.core.truth_(cljs.spec.alpha.noret_QMARK_.call(null,p1,pret))){ +return new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950); +} else { +return cljs.spec.alpha.and_preds.call(null,pret,ps,forms); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26294)){ +return cljs.spec.alpha.add_ret.call(null,p1,ret,k); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26294)){ +return cljs.spec.alpha.add_ret.call(null,p0,ret,k); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26294)){ +var vec__26295 = cljs.spec.alpha.filter_alt.call(null,ps,ks,forms,cljs.spec.alpha.accept_nil_QMARK_); +var vec__26298 = cljs.core.nth.call(null,vec__26295,(0),null); +var p0__$1 = cljs.core.nth.call(null,vec__26298,(0),null); +var vec__26301 = cljs.core.nth.call(null,vec__26295,(1),null); +var k0 = cljs.core.nth.call(null,vec__26301,(0),null); +var r = (((p0__$1 == null))?new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950):cljs.spec.alpha.preturn.call(null,p0__$1)); +if(cljs.core.truth_(k0)){ +return cljs.spec.alpha.tagged_ret.call(null,k0,r); +} else { +return r; +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26294)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.op_unform = (function cljs$spec$alpha$op_unform(p,x){ +var map__26308 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26308__$1 = ((((!((map__26308 == null)))?(((((map__26308.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26308.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26308):map__26308); +var p__$1 = map__26308__$1; +var vec__26309 = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__26310 = cljs.core.seq.call(null,vec__26309); +var first__26311 = cljs.core.first.call(null,seq__26310); +var seq__26310__$1 = cljs.core.next.call(null,seq__26310); +var p0 = first__26311; +var pr = seq__26310__$1; +var ps = vec__26309; +var vec__26312 = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var k = cljs.core.nth.call(null,vec__26312,(0),null); +var ks = vec__26312; +var op = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var p1 = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var ret = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var forms = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var rep_PLUS_ = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"rep+","rep+",-281382396)); +var maybe = cljs.core.get.call(null,map__26308__$1,new cljs.core.Keyword(null,"maybe","maybe",-314397560)); +var kps = cljs.core.zipmap.call(null,ks,ps); +var G__26316 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26316)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [ret], null); +} else { +if(cljs.core._EQ_.call(null,null,G__26316)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.alpha.unform.call(null,p__$1,x)], null); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26316)){ +var px = cljs.core.reduce.call(null,((function (G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps){ +return (function (p1__26305_SHARP_,p2__26304_SHARP_){ +return cljs.spec.alpha.unform.call(null,p2__26304_SHARP_,p1__26305_SHARP_); +});})(G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps)) +,x,cljs.core.reverse.call(null,ps)); +return cljs.spec.alpha.op_unform.call(null,p1,px); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26316)){ +return cljs.core.mapcat.call(null,((function (G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps){ +return (function (p1__26306_SHARP_){ +return cljs.spec.alpha.op_unform.call(null,p1,p1__26306_SHARP_); +});})(G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps)) +,x); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26316)){ +if(cljs.core.truth_(rep_PLUS_)){ +return cljs.core.mapcat.call(null,((function (G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps){ +return (function (p1__26307_SHARP_){ +return cljs.spec.alpha.op_unform.call(null,p0,p1__26307_SHARP_); +});})(G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps)) +,x); +} else { +return cljs.core.mapcat.call(null,((function (G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps){ +return (function (k__$1){ +if(cljs.core.contains_QMARK_.call(null,x,k__$1)){ +return cljs.spec.alpha.op_unform.call(null,kps.call(null,k__$1),cljs.core.get.call(null,x,k__$1)); +} else { +return null; +} +});})(G__26316,map__26308,map__26308__$1,p__$1,vec__26309,seq__26310,first__26311,seq__26310__$1,p0,pr,ps,vec__26312,k,ks,op,p1,ret,forms,rep_PLUS_,maybe,kps)) +,ks); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26316)){ +if(cljs.core.truth_(maybe)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.alpha.unform.call(null,p0,x)], null); +} else { +var vec__26317 = x; +var k__$1 = cljs.core.nth.call(null,vec__26317,(0),null); +var v = cljs.core.nth.call(null,vec__26317,(1),null); +return cljs.spec.alpha.op_unform.call(null,kps.call(null,k__$1),v); +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26316)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.add_ret = (function cljs$spec$alpha$add_ret(p,r,k){ +var map__26320 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26320__$1 = ((((!((map__26320 == null)))?(((((map__26320.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26320.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26320):map__26320); +var p__$1 = map__26320__$1; +var op = cljs.core.get.call(null,map__26320__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.call(null,map__26320__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var splice = cljs.core.get.call(null,map__26320__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var prop = ((function (map__26320,map__26320__$1,p__$1,op,ps,splice){ +return (function (){ +var ret = cljs.spec.alpha.preturn.call(null,p__$1); +if(cljs.core.empty_QMARK_.call(null,ret)){ +return r; +} else { +return (cljs.core.truth_(splice)?cljs.core.into:cljs.core.conj).call(null,r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +});})(map__26320,map__26320__$1,p__$1,op,ps,splice)) +; +var G__26322 = op; +if(cljs.core._EQ_.call(null,null,G__26322)){ +return r; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26322)){ +var ret = cljs.spec.alpha.preturn.call(null,p__$1); +if(cljs.core._EQ_.call(null,ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return r; +} else { +return cljs.core.conj.call(null,r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26322)){ +var ret = cljs.spec.alpha.preturn.call(null,p__$1); +if(cljs.core._EQ_.call(null,ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return r; +} else { +return cljs.core.conj.call(null,r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26322)){ +var ret = cljs.spec.alpha.preturn.call(null,p__$1); +if(cljs.core._EQ_.call(null,ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return r; +} else { +return cljs.core.conj.call(null,r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26322)){ +return prop.call(null); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26322)){ +return prop.call(null); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26322)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.deriv = (function cljs$spec$alpha$deriv(p,x){ +var map__26324 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26324__$1 = ((((!((map__26324 == null)))?(((((map__26324.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26324.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26324):map__26324); +var p__$1 = map__26324__$1; +var vec__26325 = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__26326 = cljs.core.seq.call(null,vec__26325); +var first__26327 = cljs.core.first.call(null,seq__26326); +var seq__26326__$1 = cljs.core.next.call(null,seq__26326); +var p0 = first__26327; +var pr = seq__26326__$1; +var ps = vec__26325; +var vec__26328 = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var seq__26329 = cljs.core.seq.call(null,vec__26328); +var first__26330 = cljs.core.first.call(null,seq__26329); +var seq__26329__$1 = cljs.core.next.call(null,seq__26329); +var k0 = first__26330; +var kr = seq__26329__$1; +var ks = vec__26328; +var op = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var p1 = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var p2 = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var ret = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var splice = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var forms = cljs.core.get.call(null,map__26324__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +if(cljs.core.truth_(p__$1)){ +var G__26332 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26332)){ +return null; +} else { +if(cljs.core._EQ_.call(null,null,G__26332)){ +var ret__$1 = cljs.spec.alpha.dt.call(null,p__$1,x,p__$1); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret__$1))){ +return null; +} else { +return cljs.spec.alpha.accept.call(null,ret__$1); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26332)){ +var temp__4657__auto__ = cljs.spec.alpha.deriv.call(null,p1,x); +if(cljs.core.truth_(temp__4657__auto__)){ +var p1__$1 = temp__4657__auto__; +if(cljs.core._EQ_.call(null,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.call(null,cljs.spec.alpha.preturn.call(null,p1__$1),ps,cljs.core.next.call(null,forms)); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret__$1))){ +return null; +} else { +return cljs.spec.alpha.accept.call(null,ret__$1); +} +} else { +return cljs.spec.alpha.amp_impl.call(null,p1__$1,ps,forms); +} +} else { +return null; +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26332)){ +return cljs.spec.alpha.alt2.call(null,cljs.spec.alpha.pcat_STAR_.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ps","ps",292358046),cljs.core.cons.call(null,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_.call(null,p0))?cljs.spec.alpha.deriv.call(null,cljs.spec.alpha.pcat_STAR_.call(null,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.call(null,forms),new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.spec.alpha.add_ret.call(null,p0,ret,k0)], null)),x):null)); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26332)){ +return cljs.spec.alpha.alt_STAR_.call(null,cljs.core.map.call(null,((function (G__26332,map__26324,map__26324__$1,p__$1,vec__26325,seq__26326,first__26327,seq__26326__$1,p0,pr,ps,vec__26328,seq__26329,first__26330,seq__26329__$1,k0,kr,ks,op,p1,p2,ret,splice,forms){ +return (function (p1__26323_SHARP_){ +return cljs.spec.alpha.deriv.call(null,p1__26323_SHARP_,x); +});})(G__26332,map__26324,map__26324__$1,p__$1,vec__26325,seq__26326,first__26327,seq__26326__$1,p0,pr,ps,vec__26328,seq__26329,first__26330,seq__26329__$1,k0,kr,ks,op,p1,p2,ret,splice,forms)) +,ps),ks,forms); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26332)){ +return cljs.spec.alpha.alt2.call(null,cljs.spec.alpha.rep_STAR_.call(null,cljs.spec.alpha.deriv.call(null,p1,x),p2,ret,splice,forms),(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_.call(null,p1))?cljs.spec.alpha.deriv.call(null,cljs.spec.alpha.rep_STAR_.call(null,p2,p2,cljs.spec.alpha.add_ret.call(null,p1,ret,null),splice,forms),x):null)); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26332)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +}); +cljs.spec.alpha.op_describe = (function cljs$spec$alpha$op_describe(p){ +var map__26333 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26333__$1 = ((((!((map__26333 == null)))?(((((map__26333.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26333.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26333):map__26333); +var p__$1 = map__26333__$1; +var op = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var ks = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var forms = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var splice = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var p1 = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var rep_PLUS_ = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"rep+","rep+",-281382396)); +var maybe = cljs.core.get.call(null,map__26333__$1,new cljs.core.Keyword(null,"maybe","maybe",-314397560)); +if(cljs.core.truth_(p__$1)){ +var G__26335 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26335)){ +return null; +} else { +if(cljs.core._EQ_.call(null,null,G__26335)){ +return p__$1; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26335)){ +return cljs.core.list_STAR_.call(null,new cljs.core.Symbol("cljs.spec.alpha","&","cljs.spec.alpha/&",1635809823,null),cljs.spec.alpha.op_describe.call(null,p1),forms); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26335)){ +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.call(null,new cljs.core.Symbol("cljs.spec.alpha","cat","cljs.spec.alpha/cat",-1471398329,null),cljs.core.mapcat.call(null,cljs.core.vector,(function (){var or__3922__auto__ = cljs.core.seq.call(null,ks); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,new cljs.core.Keyword(null,"_","_",1453416199)); +} +})(),forms)); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26335)){ +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.call(null,new cljs.core.Symbol("cljs.spec.alpha","alt","cljs.spec.alpha/alt",-2130750332,null),cljs.core.mapcat.call(null,cljs.core.vector,ks,forms)); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26335)){ +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__26335)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +}); +cljs.spec.alpha.op_explain = (function cljs$spec$alpha$op_explain(form,p,path,via,in$,input){ +var vec__26336 = input; +var x = cljs.core.nth.call(null,vec__26336,(0),null); +var input__$1 = vec__26336; +var map__26339 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26339__$1 = ((((!((map__26339 == null)))?(((((map__26339.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26339.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26339):map__26339); +var p__$1 = map__26339__$1; +var op = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var ks = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var forms = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var splice = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var p1 = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var p2 = cljs.core.get.call(null,map__26339__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var via__$1 = (function (){var temp__4655__auto__ = cljs.spec.alpha.spec_name.call(null,p__$1); +if(cljs.core.truth_(temp__4655__auto__)){ +var name = temp__4655__auto__; +return cljs.core.conj.call(null,via,name); +} else { +return via; +} +})(); +var insufficient = ((function (vec__26336,x,input__$1,map__26339,map__26339__$1,p__$1,op,ps,ks,forms,splice,p1,p2,via__$1){ +return (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); +});})(vec__26336,x,input__$1,map__26339,map__26339__$1,p__$1,op,ps,ks,forms,splice,p1,p2,via__$1)) +; +if(cljs.core.truth_(p__$1)){ +var G__26341 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26341)){ +return null; +} else { +if(cljs.core._EQ_.call(null,null,G__26341)){ +if(cljs.core.empty_QMARK_.call(null,input__$1)){ +return insufficient.call(null,path,form); +} else { +return cljs.spec.alpha.explain_1.call(null,form,p__$1,path,via__$1,in$,x); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26341)){ +if(cljs.core.empty_QMARK_.call(null,input__$1)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_.call(null,p1))){ +return cljs.spec.alpha.explain_pred_list.call(null,forms,ps,path,via__$1,in$,cljs.spec.alpha.preturn.call(null,p1)); +} else { +return insufficient.call(null,path,cljs.spec.alpha.op_describe.call(null,p1)); +} +} else { +var temp__4655__auto__ = cljs.spec.alpha.deriv.call(null,p1,x); +if(cljs.core.truth_(temp__4655__auto__)){ +var p1__$1 = temp__4655__auto__; +return cljs.spec.alpha.explain_pred_list.call(null,forms,ps,path,via__$1,in$,cljs.spec.alpha.preturn.call(null,p1__$1)); +} else { +return cljs.spec.alpha.op_explain.call(null,cljs.spec.alpha.op_describe.call(null,p1),p1,path,via__$1,in$,input__$1); +} +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26341)){ +var pkfs = cljs.core.map.call(null,cljs.core.vector,ps,(function (){var or__3922__auto__ = cljs.core.seq.call(null,ks); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})(),(function (){var or__3922__auto__ = cljs.core.seq.call(null,forms); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})()); +var vec__26342 = ((cljs.core._EQ_.call(null,(1),cljs.core.count.call(null,pkfs)))?cljs.core.first.call(null,pkfs):cljs.core.first.call(null,cljs.core.remove.call(null,((function (pkfs,G__26341,vec__26336,x,input__$1,map__26339,map__26339__$1,p__$1,op,ps,ks,forms,splice,p1,p2,via__$1,insufficient){ +return (function (p__26345){ +var vec__26346 = p__26345; +var p__$2 = cljs.core.nth.call(null,vec__26346,(0),null); +return cljs.spec.alpha.accept_nil_QMARK_.call(null,p__$2); +});})(pkfs,G__26341,vec__26336,x,input__$1,map__26339,map__26339__$1,p__$1,op,ps,ks,forms,splice,p1,p2,via__$1,insufficient)) +,pkfs))); +var pred = cljs.core.nth.call(null,vec__26342,(0),null); +var k = cljs.core.nth.call(null,vec__26342,(1),null); +var form__$1 = cljs.core.nth.call(null,vec__26342,(2),null); +var path__$1 = (cljs.core.truth_(k)?cljs.core.conj.call(null,path,k):path); +var form__$2 = (function (){var or__3922__auto__ = form__$1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.spec.alpha.op_describe.call(null,pred); +} +})(); +if(((cljs.core.empty_QMARK_.call(null,input__$1)) && (cljs.core.not.call(null,pred)))){ +return insufficient.call(null,path__$1,form__$2); +} else { +return cljs.spec.alpha.op_explain.call(null,form__$2,pred,path__$1,via__$1,in$,input__$1); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26341)){ +if(cljs.core.empty_QMARK_.call(null,input__$1)){ +return insufficient.call(null,path,cljs.spec.alpha.op_describe.call(null,p__$1)); +} else { +return cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,((function (G__26341,vec__26336,x,input__$1,map__26339,map__26339__$1,p__$1,op,ps,ks,forms,splice,p1,p2,via__$1,insufficient){ +return (function (k,form__$1,pred){ +return cljs.spec.alpha.op_explain.call(null,(function (){var or__3922__auto__ = form__$1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.spec.alpha.op_describe.call(null,pred); +} +})(),pred,(cljs.core.truth_(k)?cljs.core.conj.call(null,path,k):path),via__$1,in$,input__$1); +});})(G__26341,vec__26336,x,input__$1,map__26339,map__26339__$1,p__$1,op,ps,ks,forms,splice,p1,p2,via__$1,insufficient)) +,(function (){var or__3922__auto__ = cljs.core.seq.call(null,ks); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})(),(function (){var or__3922__auto__ = cljs.core.seq.call(null,forms); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})(),ps)); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26341)){ +return cljs.spec.alpha.op_explain.call(null,(((p1 === p2))?forms:cljs.spec.alpha.op_describe.call(null,p1)),p1,path,via__$1,in$,input__$1); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26341)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +}); +cljs.spec.alpha.re_gen = (function cljs$spec$alpha$re_gen(p,overrides,path,rmap,f){ +var map__26350 = cljs.spec.alpha.reg_resolve_BANG_.call(null,p); +var map__26350__$1 = ((((!((map__26350 == null)))?(((((map__26350.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26350.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26350):map__26350); +var p__$1 = map__26350__$1; +var ps = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var forms = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var p2 = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var ret = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var gfn = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword("cljs.spec.alpha","gfn","cljs.spec.alpha/gfn",-593120375)); +var op = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var splice = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var ks = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var p1 = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var id = cljs.core.get.call(null,map__26350__$1,new cljs.core.Keyword(null,"id","id",-1388402092)); +var rmap__$1 = (cljs.core.truth_(id)?cljs.spec.alpha.inck.call(null,rmap,id):rmap); +var ggens = ((function (map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1){ +return (function (ps__$1,ks__$1,forms__$1){ +var gen = ((function (map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1){ +return (function (p__$2,k,f__$1){ +if(cljs.core.truth_((function (){var and__3911__auto__ = rmap__$1; +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = id; +if(cljs.core.truth_(and__3911__auto____$1)){ +var and__3911__auto____$2 = k; +if(cljs.core.truth_(and__3911__auto____$2)){ +return cljs.spec.alpha.recur_limit_QMARK_.call(null,rmap__$1,id,path,k); +} else { +return and__3911__auto____$2; +} +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())){ +return null; +} else { +if(cljs.core.truth_(id)){ +return cljs.spec.gen.alpha.delay_impl.call(null,(new cljs.core.Delay(((function (map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1){ +return (function (){ +return cljs.spec.alpha.re_gen.call(null,p__$2,overrides,(cljs.core.truth_(k)?cljs.core.conj.call(null,path,k):path),rmap__$1,(function (){var or__3922__auto__ = f__$1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return p__$2; +} +})()); +});})(map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1)) +,null))); +} else { +return cljs.spec.alpha.re_gen.call(null,p__$2,overrides,(cljs.core.truth_(k)?cljs.core.conj.call(null,path,k):path),rmap__$1,(function (){var or__3922__auto__ = f__$1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return p__$2; +} +})()); +} +} +});})(map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1)) +; +return cljs.core.map.call(null,gen,ps__$1,(function (){var or__3922__auto__ = cljs.core.seq.call(null,ks__$1); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})(),(function (){var or__3922__auto__ = cljs.core.seq.call(null,forms__$1); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +return cljs.core.repeat.call(null,null); +} +})()); +});})(map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1)) +; +var or__3922__auto__ = (function (){var temp__4657__auto__ = cljs.core.get.call(null,overrides,path); +if(cljs.core.truth_(temp__4657__auto__)){ +var g = temp__4657__auto__; +var G__26353 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"accept","accept",1874130431),G__26353)){ +return cljs.spec.gen.alpha.fmap.call(null,cljs.core.vector,g); +} else { +if(cljs.core._EQ_.call(null,null,G__26353)){ +return cljs.spec.gen.alpha.fmap.call(null,cljs.core.vector,g); +} else { +return g; + +} +} +} else { +return null; +} +})(); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = (cljs.core.truth_(gfn)?gfn.call(null):null); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +if(cljs.core.truth_(p__$1)){ +var G__26354 = op; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__26354)){ +if(cljs.core._EQ_.call(null,ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return cljs.spec.gen.alpha.return$.call(null,cljs.core.PersistentVector.EMPTY); +} else { +return cljs.spec.gen.alpha.return$.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [ret], null)); +} +} else { +if(cljs.core._EQ_.call(null,null,G__26354)){ +var temp__4657__auto__ = cljs.spec.alpha.gensub.call(null,p__$1,overrides,path,rmap__$1,f); +if(cljs.core.truth_(temp__4657__auto__)){ +var g = temp__4657__auto__; +return cljs.spec.gen.alpha.fmap.call(null,cljs.core.vector,g); +} else { +return null; +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__26354)){ +return cljs.spec.alpha.re_gen.call(null,p1,overrides,path,rmap__$1,cljs.spec.alpha.op_describe.call(null,p1)); +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__26354)){ +var gens = ggens.call(null,ps,ks,forms); +if(cljs.core.every_QMARK_.call(null,cljs.core.identity,gens)){ +return cljs.core.apply.call(null,cljs.spec.gen.alpha.cat,gens); +} else { +return null; +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__26354)){ +var gens = cljs.core.remove.call(null,cljs.core.nil_QMARK_,ggens.call(null,ps,ks,forms)); +if(cljs.core.empty_QMARK_.call(null,gens)){ +return null; +} else { +return cljs.spec.gen.alpha.one_of.call(null,gens); +} +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__26354)){ +if(cljs.core.truth_(cljs.spec.alpha.recur_limit_QMARK_.call(null,rmap__$1,id,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [id], null),id))){ +return cljs.spec.gen.alpha.return$.call(null,cljs.core.PersistentVector.EMPTY); +} else { +var temp__4657__auto__ = cljs.spec.alpha.re_gen.call(null,p2,overrides,path,rmap__$1,forms); +if(cljs.core.truth_(temp__4657__auto__)){ +var g = temp__4657__auto__; +return cljs.spec.gen.alpha.fmap.call(null,((function (g,temp__4657__auto__,G__26354,or__3922__auto____$1,or__3922__auto__,map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1,ggens){ +return (function (p1__26349_SHARP_){ +return cljs.core.apply.call(null,cljs.core.concat,p1__26349_SHARP_); +});})(g,temp__4657__auto__,G__26354,or__3922__auto____$1,or__3922__auto__,map__26350,map__26350__$1,p__$1,ps,forms,p2,ret,gfn,op,splice,ks,p1,id,rmap__$1,ggens)) +,cljs.spec.gen.alpha.vector.call(null,g)); +} else { +return null; +} +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26354)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +} +} +}); +cljs.spec.alpha.re_conform = (function cljs$spec$alpha$re_conform(p,p__26355){ +while(true){ +var vec__26356 = p__26355; +var seq__26357 = cljs.core.seq.call(null,vec__26356); +var first__26358 = cljs.core.first.call(null,seq__26357); +var seq__26357__$1 = cljs.core.next.call(null,seq__26357); +var x = first__26358; +var xs = seq__26357__$1; +var data = vec__26356; +if(cljs.core.empty_QMARK_.call(null,data)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_.call(null,p))){ +var ret = cljs.spec.alpha.preturn.call(null,p); +if(cljs.core._EQ_.call(null,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__4655__auto__ = cljs.spec.alpha.deriv.call(null,p,x); +if(cljs.core.truth_(temp__4655__auto__)){ +var dp = temp__4655__auto__; +var G__26359 = dp; +var G__26360 = xs; +p = G__26359; +p__26355 = G__26360; +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__26364 = input; +var vec__26365 = G__26364; +var seq__26366 = cljs.core.seq.call(null,vec__26365); +var first__26367 = cljs.core.first.call(null,seq__26366); +var seq__26366__$1 = cljs.core.next.call(null,seq__26366); +var x = first__26367; +var xs = seq__26366__$1; +var data = vec__26365; +var i = (0); +var p__$1 = p; +var G__26364__$1 = G__26364; +var i__$1 = i; +while(true){ +var p__$2 = p__$1; +var vec__26368 = G__26364__$1; +var seq__26369 = cljs.core.seq.call(null,vec__26368); +var first__26370 = cljs.core.first.call(null,seq__26369); +var seq__26369__$1 = cljs.core.next.call(null,seq__26369); +var x__$1 = first__26370; +var xs__$1 = seq__26369__$1; +var data__$1 = vec__26368; +var i__$2 = i__$1; +if(cljs.core.empty_QMARK_.call(null,data__$1)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_.call(null,p__$2))){ +return null; +} else { +return cljs.spec.alpha.op_explain.call(null,cljs.spec.alpha.op_describe.call(null,p__$2),p__$2,path,via,in$,null); +} +} else { +var temp__4655__auto__ = cljs.spec.alpha.deriv.call(null,p__$2,x__$1); +if(cljs.core.truth_(temp__4655__auto__)){ +var dp = temp__4655__auto__; +var G__26371 = dp; +var G__26372 = xs__$1; +var G__26373 = (i__$2 + (1)); +p__$1 = G__26371; +G__26364__$1 = G__26372; +i__$1 = G__26373; +continue; +} else { +if(cljs.core.truth_(cljs.spec.alpha.accept_QMARK_.call(null,p__$2))){ +if(cljs.core._EQ_.call(null,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.call(null,cljs.spec.alpha.op_describe.call(null,p__$2),p__$2,path,via,cljs.core.conj.call(null,in$,i__$2),cljs.core.seq.call(null,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.call(null,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.call(null,in$,i__$2)], null)], null); +} +} else { +var or__3922__auto__ = cljs.spec.alpha.op_explain.call(null,cljs.spec.alpha.op_describe.call(null,p__$2),p__$2,path,via,cljs.core.conj.call(null,in$,i__$2),cljs.core.seq.call(null,data__$1)); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__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.call(null,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.call(null,in$,i__$2)], null)], null); +} +} +} +} +break; +} +}); +/** + * 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){ +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26374 !== 'undefined'){ +} else { + +/** +* @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$alpha26374 = (function (re,gfn,meta26375){ +this.re = re; +this.gfn = gfn; +this.meta26375 = meta26375; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26374.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_26376,meta26375__$1){ +var self__ = this; +var _26376__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26374(self__.re,self__.gfn,meta26375__$1)); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_26376){ +var self__ = this; +var _26376__$1 = this; +return self__.meta26375; +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26374.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$alpha26374.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$alpha26374.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26374.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if((((x == null)) || (cljs.core.coll_QMARK_.call(null,x)))){ +return cljs.spec.alpha.re_conform.call(null,self__.re,cljs.core.seq.call(null,x)); +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.op_unform.call(null,self__.re,x); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.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.coll_QMARK_.call(null,x)))){ +return cljs.spec.alpha.re_explain.call(null,path,via,in$,self__.re,cljs.core.seq.call(null,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.spec.alpha.op_describe.call(null,self__.re),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$alpha26374.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.call(null); +} else { +return cljs.spec.alpha.re_gen.call(null,self__.re,overrides,path,rmap,cljs.spec.alpha.op_describe.call(null,self__.re)); +} +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.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.call(null,self__.re,gfn__$1); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.op_describe.call(null,self__.re); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.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,"meta26375","meta26375",238638509,null)], null); +}); + +cljs.spec.alpha.t_cljs$spec$alpha26374.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26374.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26374"; + +cljs.spec.alpha.t_cljs$spec$alpha26374.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26374"); +}); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26374. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26374 = (function cljs$spec$alpha$regex_spec_impl_$___GT_t_cljs$spec$alpha26374(re__$1,gfn__$1,meta26375){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26374(re__$1,gfn__$1,meta26375)); +}); + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26374(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.call(null,new cljs.core.Keyword(null,"args","args",1315556576).cljs$core$IFn$_invoke$arity$1(specs),args); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,cargs))){ +return null; +} else { +var ret = cljs.core.apply.call(null,f,args); +var cret = cljs.spec.alpha.conform.call(null,new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(specs),ret); +var and__3911__auto__ = cljs.core.not.call(null,cljs.spec.alpha.invalid_QMARK_.call(null,cret)); +if(and__3911__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_.call(null,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__3911__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.call(null,new cljs.core.Keyword(null,"args","args",1315556576).cljs$core$IFn$_invoke$arity$1(specs)); +var prop = cljs.spec.gen.alpha.for_all_STAR_.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [g], null),((function (g){ +return (function (p1__26377_SHARP_){ +return cljs.spec.alpha.call_valid_QMARK_.call(null,f,specs,p1__26377_SHARP_); +});})(g)) +); +var ret = cljs.spec.gen.alpha.quick_check.call(null,iters,prop); +var temp__4655__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__4655__auto__)){ +var vec__26378 = temp__4655__auto__; +var smallest = cljs.core.nth.call(null,vec__26378,(0),null); +return smallest; +} else { +return f; +} +}); +/** + * 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); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26381 !== 'undefined'){ +} else { + +/** +* @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$alpha26381 = (function (argspec,aform,retspec,rform,fnspec,fform,gfn,specs,meta26382){ +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.meta26382 = meta26382; +this.cljs$lang$protocol_mask$partition0$ = 393472; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (specs){ +return (function (_26383,meta26382__$1){ +var self__ = this; +var _26383__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26381(self__.argspec,self__.aform,self__.retspec,self__.rform,self__.fnspec,self__.fform,self__.gfn,self__.specs,meta26382__$1)); +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (specs){ +return (function (_26383){ +var self__ = this; +var _26383__$1 = this; +return self__.meta26382; +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$core$ILookup$_lookup$arity$2 = ((function (specs){ +return (function (this$,k){ +var self__ = this; +var this$__$1 = this; +return cljs.core.get.call(null,self__.specs,k); +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$core$ILookup$_lookup$arity$3 = ((function (specs){ +return (function (_,k,not_found){ +var self__ = this; +var ___$1 = this; +return cljs.core.get.call(null,self__.specs,k,not_found); +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (specs){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (specs){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (specs){ +return (function (_,f){ +var self__ = this; +var ___$1 = this; +if(cljs.core.ifn_QMARK_.call(null,f)){ +if((f === cljs.spec.alpha.validate_fn.call(null,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); +} +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (specs){ +return (function (_,f){ +var self__ = this; +var ___$1 = this; +return f; +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (specs){ +return (function (_,path,via,in$,f){ +var self__ = this; +var ___$1 = this; +if(cljs.core.ifn_QMARK_.call(null,f)){ +var args = cljs.spec.alpha.validate_fn.call(null,f,self__.specs,(100)); +if((f === args)){ +return null; +} else { +var ret = (function (){try{return cljs.core.apply.call(null,f,args); +}catch (e26384){if((e26384 instanceof Error)){ +var t = e26384; +return t; +} else { +throw e26384; + +} +}})(); +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.call(null,self__.retspec,ret,self__.rform); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,cret))){ +return cljs.spec.alpha.explain_1.call(null,self__.rform,self__.retspec,cljs.core.conj.call(null,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.call(null,self__.argspec,args); +return cljs.spec.alpha.explain_1.call(null,self__.fform,self__.fnspec,cljs.core.conj.call(null,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); +} +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (specs){ +return (function (_,overrides,___$1,___$2){ +var self__ = this; +var ___$3 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +return cljs.spec.gen.alpha.return$.call(null,((function (___$3,specs){ +return (function() { +var G__26387__delegate = function (args){ +if(cljs.core.truth_(cljs.spec.alpha.pvalid_QMARK_.call(null,self__.argspec,args))){ +} else { +throw (new Error(["Assert failed: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var sb__4430__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR_26385_26388 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR_26386_26389 = cljs.core._STAR_print_fn_STAR_; +cljs.core._STAR_print_newline_STAR_ = true; + +cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_26385_26388,_STAR_print_fn_STAR_26386_26389,sb__4430__auto__,___$3,specs){ +return (function (x__4431__auto__){ +return sb__4430__auto__.append(x__4431__auto__); +});})(_STAR_print_newline_STAR_26385_26388,_STAR_print_fn_STAR_26386_26389,sb__4430__auto__,___$3,specs)) +; + +try{cljs.spec.alpha.explain.call(null,self__.argspec,args); +}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_26386_26389; + +cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_26385_26388; +} +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__4430__auto__)].join(''); +})()),"\n","(pvalid? argspec args)"].join(''))); +} + +return cljs.spec.gen.alpha.generate.call(null,cljs.spec.alpha.gen.call(null,self__.retspec,overrides)); +}; +var G__26387 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__26390__i = 0, G__26390__a = new Array(arguments.length - 0); +while (G__26390__i < G__26390__a.length) {G__26390__a[G__26390__i] = arguments[G__26390__i + 0]; ++G__26390__i;} + args = new cljs.core.IndexedSeq(G__26390__a,0,null); +} +return G__26387__delegate.call(this,args);}; +G__26387.cljs$lang$maxFixedArity = 0; +G__26387.cljs$lang$applyTo = (function (arglist__26391){ +var args = cljs.core.seq(arglist__26391); +return G__26387__delegate(args); +}); +G__26387.cljs$core$IFn$_invoke$arity$variadic = G__26387__delegate; +return G__26387; +})() +;})(___$3,specs)) +); +} +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (specs){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.fspec_impl.call(null,self__.argspec,self__.aform,self__.retspec,self__.rform,self__.fnspec,self__.fform,gfn__$1); +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (specs){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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)),(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))))); +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.getBasis = ((function (specs){ +return (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,"meta26382","meta26382",-81596300,null)], null); +});})(specs)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26381.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26381.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26381"; + +cljs.spec.alpha.t_cljs$spec$alpha26381.cljs$lang$ctorPrWriter = ((function (specs){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26381"); +});})(specs)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26381. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26381 = ((function (specs){ +return (function cljs$spec$alpha$fspec_impl_$___GT_t_cljs$spec$alpha26381(argspec__$1,aform__$1,retspec__$1,rform__$1,fnspec__$1,fform__$1,gfn__$1,specs__$1,meta26382){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26381(argspec__$1,aform__$1,retspec__$1,rform__$1,fnspec__$1,fform__$1,gfn__$1,specs__$1,meta26382)); +});})(specs)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26381(argspec,aform,retspec,rform,fnspec,fform,gfn,specs,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.spec.alpha.def_impl.call(null,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__26392#","p1__26392#",-1444103641,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__26392#","p1__26392#",-1444103641,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__26392#","p1__26392#",-1444103641,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__26393#","p1__26393#",-1431709632,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__26393#","p1__26393#",-1431709632,null)))),cljs.spec.alpha.spec_impl.call(null,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__26392_SHARP_){ +return cljs.core.zipmap.call(null,cljs.core.map.call(null,new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),p1__26392_SHARP_),cljs.core.map.call(null,new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),p1__26392_SHARP_)); +}),null,true,(function (p1__26393_SHARP_){ +return cljs.core.map.call(null,(function (p__26394){ +var vec__26395 = p__26394; +var k = cljs.core.nth.call(null,vec__26395,(0),null); +var v = cljs.core.nth.call(null,vec__26395,(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__26393_SHARP_); +}))); +/** + * 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 = cljs.spec.alpha.specize.call(null,spec); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26398 !== 'undefined'){ +} else { + +/** +* @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$alpha26398 = (function (spec,meta26399){ +this.spec = spec; +this.meta26399 = meta26399; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (spec__$1){ +return (function (_26400,meta26399__$1){ +var self__ = this; +var _26400__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26398(self__.spec,meta26399__$1)); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (spec__$1){ +return (function (_26400){ +var self__ = this; +var _26400__$1 = this; +return self__.meta26399; +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (spec__$1){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (spec__$1){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (spec__$1){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +var ret = cljs.spec.alpha.conform_STAR_.call(null,self__.spec,x); +if(cljs.core.truth_(cljs.spec.alpha.invalid_QMARK_.call(null,ret))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return x; +} +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (spec__$1){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.unform_STAR_.call(null,self__.spec,x); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (spec__$1){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.explain_STAR_.call(null,self__.spec,path,via,in$,x); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (spec__$1){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.gen_STAR_.call(null,self__.spec,overrides,path,rmap); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (spec__$1){ +return (function (_,gfn){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.nonconforming.call(null,cljs.spec.alpha.with_gen_STAR_.call(null,self__.spec,gfn)); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (spec__$1){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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_.call(null,self__.spec),null,(1),null))))); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.getBasis = ((function (spec__$1){ +return (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,"meta26399","meta26399",-655968941,null)], null); +});})(spec__$1)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26398.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26398.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26398"; + +cljs.spec.alpha.t_cljs$spec$alpha26398.cljs$lang$ctorPrWriter = ((function (spec__$1){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26398"); +});})(spec__$1)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26398. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26398 = ((function (spec__$1){ +return (function cljs$spec$alpha$nonconforming_$___GT_t_cljs$spec$alpha26398(spec__$2,meta26399){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26398(spec__$2,meta26399)); +});})(spec__$1)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26398(spec__$1,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * Do not call this directly, use 'nilable' + */ +cljs.spec.alpha.nilable_impl = (function cljs$spec$alpha$nilable_impl(form,pred,gfn){ +var spec = cljs.spec.alpha.specize.call(null,pred,form); +if(typeof cljs.spec.alpha.t_cljs$spec$alpha26401 !== 'undefined'){ +} else { + +/** +* @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$alpha26401 = (function (form,pred,gfn,spec,meta26402){ +this.form = form; +this.pred = pred; +this.gfn = gfn; +this.spec = spec; +this.meta26402 = meta26402; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (spec){ +return (function (_26403,meta26402__$1){ +var self__ = this; +var _26403__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha26401(self__.form,self__.pred,self__.gfn,self__.spec,meta26402__$1)); +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (spec){ +return (function (_26403){ +var self__ = this; +var _26403__$1 = this; +return self__.meta26402; +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = ((function (spec){ +return (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = ((function (spec){ +return (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = ((function (spec){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +if((x == null)){ +return null; +} else { +return cljs.spec.alpha.conform_STAR_.call(null,self__.spec,x); +} +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = ((function (spec){ +return (function (_,x){ +var self__ = this; +var ___$1 = this; +if((x == null)){ +return null; +} else { +return cljs.spec.alpha.unform_STAR_.call(null,self__.spec,x); +} +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = ((function (spec){ +return (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.spec.alpha.pvalid_QMARK_.call(null,self__.spec,x); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (x == null); +} +})())){ +return null; +} else { +return cljs.core.conj.call(null,cljs.spec.alpha.explain_1.call(null,self__.form,self__.pred,cljs.core.conj.call(null,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.call(null,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)); +} +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = ((function (spec){ +return (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return self__.gfn.call(null); +} else { +return cljs.spec.gen.alpha.frequency.call(null,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.call(null,(new cljs.core.Delay(((function (___$1,spec){ +return (function (){ +return cljs.spec.gen.alpha.return$.call(null,null); +});})(___$1,spec)) +,null)))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(9),cljs.spec.gen.alpha.delay_impl.call(null,(new cljs.core.Delay(((function (___$1,spec){ +return (function (){ +return cljs.spec.alpha.gensub.call(null,self__.pred,overrides,cljs.core.conj.call(null,path,new cljs.core.Keyword("cljs.spec.alpha","pred","cljs.spec.alpha/pred",-798342594)),rmap,self__.form); +});})(___$1,spec)) +,null)))], null)], null)); +} +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = ((function (spec){ +return (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.nilable_impl.call(null,self__.form,self__.pred,gfn__$1); +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = ((function (spec){ +return (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(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))))); +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.getBasis = ((function (spec){ +return (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,"meta26402","meta26402",-1410258390,null)], null); +});})(spec)) +; + +cljs.spec.alpha.t_cljs$spec$alpha26401.cljs$lang$type = true; + +cljs.spec.alpha.t_cljs$spec$alpha26401.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha26401"; + +cljs.spec.alpha.t_cljs$spec$alpha26401.cljs$lang$ctorPrWriter = ((function (spec){ +return (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.spec.alpha/t_cljs$spec$alpha26401"); +});})(spec)) +; + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha26401. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha26401 = ((function (spec){ +return (function cljs$spec$alpha$nilable_impl_$___GT_t_cljs$spec$alpha26401(form__$1,pred__$1,gfn__$1,spec__$1,meta26402){ +return (new cljs.spec.alpha.t_cljs$spec$alpha26401(form__$1,pred__$1,gfn__$1,spec__$1,meta26402)); +});})(spec)) +; + +} + +return (new cljs.spec.alpha.t_cljs$spec$alpha26401(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__26406 = arguments.length; +switch (G__26406) { +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.call(null,spec,(10)); +}); + +cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$2 = (function (spec,n){ +return cljs.spec.alpha.exercise.call(null,spec,n,null); +}); + +cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$3 = (function (spec,n,overrides){ +return cljs.core.map.call(null,(function (p1__26404_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__26404_SHARP_,cljs.spec.alpha.conform.call(null,spec,p1__26404_SHARP_)],null)); +}),cljs.spec.gen.alpha.sample.call(null,cljs.spec.alpha.gen.call(null,spec,overrides),n)); +}); + +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__3911__auto__ = cljs.core.inst_QMARK_.call(null,inst); +if(and__3911__auto__){ +var t = cljs.core.inst_ms.call(null,inst); +return (((cljs.core.inst_ms.call(null,start) <= t)) && ((t < cljs.core.inst_ms.call(null,end)))); +} else { +return and__3911__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_.call(null,val)){ +return (((start <= val)) && ((val < end))); +} else { +if((val instanceof goog.math.Long)){ +var and__3911__auto__ = start.lessThanOrEqual(val); +if(cljs.core.truth_(and__3911__auto__)){ +return val.lessThan(end); +} else { +return and__3911__auto__; +} +} else { +if((val instanceof goog.math.Integer)){ +var and__3911__auto__ = start.lessThanOrEqual(val); +if(cljs.core.truth_(and__3911__auto__)){ +return val.lessThan(end); +} else { +return and__3911__auto__; +} +} else { +return false; + +} +} +} +}); +if(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.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.core.truth_(cljs.spec.alpha.valid_QMARK_.call(null,spec,x))){ +return x; +} else { +var ed = cljs.core.merge.call(null,cljs.core.assoc.call(null,cljs.spec.alpha.explain_data_STAR_.call(null,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))); +throw (new Error(["Spec assertion failed\n",cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var sb__4430__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR_26408_26410 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR_26409_26411 = cljs.core._STAR_print_fn_STAR_; +cljs.core._STAR_print_newline_STAR_ = true; + +cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_26408_26410,_STAR_print_fn_STAR_26409_26411,sb__4430__auto__,ed){ +return (function (x__4431__auto__){ +return sb__4430__auto__.append(x__4431__auto__); +});})(_STAR_print_newline_STAR_26408_26410,_STAR_print_fn_STAR_26409_26411,sb__4430__auto__,ed)) +; + +try{cljs.spec.alpha.explain_out.call(null,ed); +}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_26409_26411; + +cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_26408_26410; +} +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__4430__auto__)].join(''); +})())].join(''))); +} +}); + +//# sourceMappingURL=alpha.js.map?rel=1628501146158 diff --git a/examples/resources/public/js/out/cljs/spec/alpha.js.map b/examples/resources/public/js/out/cljs/spec/alpha.js.map new file mode 100644 index 0000000..6c9d0bc --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/alpha.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/spec\/alpha.js","sources":["alpha.cljs?rel=1628501146186"],"lineCount":5545,"mappings":";AAQA;;;;;;;AAUA,0BAAA,1BAAaA;AAEb;;;;;8CAAA,9CAAeC;AAMf;;;+CAAA,\/CAAeC;AAIf;;;+CAAA,\/CAAeC;AAIf;;;+CAAA,\/CAAeC;AAIf,AAAA;AAAA;;;uBAAA,vBAAaW;;AAAb,gCAAA,hCACGC,wEAAUC,KAAKC;AADlB,AAAA,GAAA,EAAA,EAAA,SAAA,YAAA,EAAA,CAAA,mDAAA,1EACaD,uBAAAA;AADb,OACaA,gDAAAA,KAAKC;;AADlB,IAAAb,kBAAA,EAAA,SAAA,OAAA,fACa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AAW,iCAAAmkB;;AAAA,AAAArkB,sCAAAokB;;AAAA,oDAAAvkB","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*","x__4211__auto__","m__4212__auto__","cljs\/spec.alpha.conform*","goog\/typeOf","cljs.core\/missing-protocol","cljs\/spec.alpha.unform*","cljs\/spec.alpha.explain*","cljs\/spec.alpha.gen*","cljs\/spec.alpha.with-gen*","cljs\/spec.alpha.describe*","cljs.spec.alpha\/Spec","cljs.spec.alpha\/conform*","spec","x","cljs.spec.alpha\/unform*","y","cljs.spec.alpha\/explain*","path","via","in","cljs.spec.alpha\/gen*","overrides","rmap","cljs.spec.alpha\/with-gen*","gfn","cljs.spec.alpha\/describe*","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__3922__auto__","js\/Error","cljs.spec.alpha\/spec?","cljs.core\/PROTOCOL_SENTINEL","cljs.spec.alpha\/regex?","and__3911__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","var_args","G__25845","cljs.spec.alpha\/specize*","cljs\/spec.alpha.specize*","cljs.spec.alpha\/Specize","_","form","goog.object\/set","cljs.core\/Keyword","cljs.core\/Symbol","o","cljs.spec.alpha\/spec-impl","G__25849","cljs.spec.alpha\/specize","cljs.spec.alpha\/invalid?","ret","cljs.core\/keyword-identical?","cljs.spec.alpha\/conform","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\/symbol","cljs.core\/=","cljs.core\/first","cljs.core\/second","cljs.core\/last","cljs.spec.alpha\/describe","cljs.spec.alpha\/with-gen","gen-fn","cljs.spec.alpha\/explain-data*","temp__4657__auto__","probs","cljs.core\/empty?","cljs.spec.alpha\/explain-data","temp__4655__auto__","cljs.spec.alpha\/explain-printer","ed","problems","p1__25851#","cljs.core\/sort-by","cljs.core\/count","cljs.core\/print","sb__4430__auto__","js\/goog.string.StringBuffer","*print-newline*25852","cljs.core\/*print-newline*","*print-fn*25853","cljs.core\/*print-fn*","x__4431__auto__","seq__25854","cljs.core\/seq","chunk__25855","count__25856","i__25857","map__25858","cljs.core\/-nth","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","map__25870","cljs.core\/next","pred","val","reason","prob","cljs.core\/pr-str","cljs.core\/pr","seq__25860","chunk__25861","count__25862","i__25863","vec__25864","cljs.core\/nth","vec__25867","seq__25872","chunk__25873","count__25874","i__25875","vec__25876","vec__25879","v","cljs.core\/newline","seq__25882","chunk__25883","count__25884","i__25885","vec__25886","vec__25889","cljs.core\/println","cljs.spec.alpha\/*explain-out*","cljs.spec.alpha\/explain-out","cljs.spec.alpha\/explain","cljs.spec.alpha\/explain-str","*print-newline*26006","*print-fn*26007","cljs.spec.alpha\/gensub","g","p1__26010#","cljs.spec.gen.alpha\/such-that","cljs.spec.alpha\/valid?","G__26012","cljs.spec.alpha\/gen","cljs.spec.alpha\/def-impl","cljs.core\/swap!","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","*print-newline*26014","*print-fn*26015","cljs.spec.alpha\/recur-limit?","id","cljs.core\/contains?","cljs.core\/set","cljs.spec.alpha\/inck","m","G__26019","cljs.spec.alpha\/dt","cpred?","cljs.core\/ifn?","G__26022","cljs.core\/not","G__26025","cljs.spec.alpha\/pvalid?","cljs.spec.alpha\/explain-1","cljs.core\/conj","p__26030","map__26031","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__26027#","k->s","cljs.core\/zipmap","cljs.core\/concat","keys->specnames","cljs.core\/random-uuid","cljs.spec.alpha\/t_cljs$spec$alpha26033","_26035","meta26034","this__4161__auto__","writer__4162__auto__","opt__4163__auto__","cljs.core\/-write","cljs.spec.alpha\/->t_cljs$spec$alpha26033","G__26042","vec__26043","seq__26044","first__26045","vec__26046","vec__26049","seq__26050","first__26051","vec__26052","ks","keys","sname","cv","G__26058","vec__26059","seq__26060","first__26061","vec__26062","seq__26063","first__26064","cljs.core\/keys","cljs.core\/map?","cljs.core\/map","cljs.core\/keep","cljs.core\/identity","p1__26028#","p__26065","vec__26066","gen","ogen","cljs.spec.gen.alpha\/delay-impl","cljs.core\/Delay","req-gens","opt-gens","cljs.core\/remove","cljs.core\/nil?","cljs.core\/every?","reqs","opts","cljs.core\/into","p1__26029#","cljs.spec.gen.alpha\/bind","cljs.spec.gen.alpha\/choose","cljs.core\/shuffle","cljs.core\/take","cljs.spec.gen.alpha\/hash-map","cljs.core\/cons","G__26069","G__26079","unc","G__26080","G__26081","cljs.spec.alpha\/t_cljs$spec$alpha26082","_26084","meta26083","cljs.spec.alpha\/->t_cljs$spec$alpha26082","cljs.spec.gen.alpha\/gen-for-pred","G__26092","cljs.spec.alpha\/multi-spec-impl","mmvar","retag","p1__26086#","p1__26087#","predx","mm","cljs.core\/-get-method","cljs.core\/-dispatch-fn","dval","tag","p1__26088#","p2__26089#","cljs.spec.alpha\/t_cljs$spec$alpha26093","_26095","meta26094","cljs.core\/sequence","cljs.core\/List","cljs.spec.alpha\/->t_cljs$spec$alpha26093","dv","p__26096","vec__26097","f","p","p1__26090#","cljs.spec.gen.alpha\/fmap","gs","cljs.core\/methods","p__26100","vec__26101","cljs.spec.gen.alpha\/one-of","G__26106","cljs.spec.alpha\/tuple-impl","forms","preds","cljs.core\/mapv","cnt","cljs.spec.alpha\/t_cljs$spec$alpha26107","_26109","meta26108","cljs.spec.alpha\/->t_cljs$spec$alpha26107","cljs.core\/vector?","i","cljs.core\/not=","cljs.core\/range","cljs.spec.gen.alpha\/tuple","cljs.spec.alpha\/tagged-ret","cljs.core\/MapEntry","cljs.spec.alpha\/or-spec-impl","kps","cform","G__26115","cljs.spec.alpha\/t_cljs$spec$alpha26116","_26118","meta26117","p__26119","vec__26120","cljs.spec.alpha\/->t_cljs$spec$alpha26116","this","cljs.core\/mapcat","cljs.core\/vector","cljs.spec.alpha\/and-preds","G__26131","vec__26133","seq__26134","first__26135","G__26132","vec__26136","seq__26137","first__26138","vec__26139","seq__26140","first__26141","vec__26142","seq__26143","first__26144","nret","cljs.spec.alpha\/explain-pred-list","G__26154","vec__26156","seq__26157","first__26158","G__26155","vec__26159","seq__26160","first__26161","vec__26162","seq__26163","first__26164","vec__26165","seq__26166","first__26167","cljs.spec.alpha\/and-spec-impl","G__26173","cljs.spec.alpha\/t_cljs$spec$alpha26174","_26176","meta26175","cljs.spec.alpha\/->t_cljs$spec$alpha26174","p1__26172#","p2__26171#","cljs.core\/reduce","cljs.core\/reverse","cljs.spec.alpha\/coll-prob","kfn","kform","distinct","count","min-count","max-count","cljs.core\/coll?","cljs.core\/bounded-count","cljs.core\/distinct?","cljs.spec.alpha\/merge-spec-impl","cljs.spec.alpha\/t_cljs$spec$alpha26188","_26190","meta26189","cljs.spec.alpha\/->t_cljs$spec$alpha26188","ms","p1__26180#","p2__26181#","cljs.core\/some","cljs.core\/merge","p1__26182#","p1__26183#","p2__26184#","p1__26185#","p1__26186#","p2__26187#","G__26196","cljs.spec.alpha\/every-impl","p__26197","map__26198","kind-form","cpred","conform-all","gen-into","describe-form","kind","gen-max","conform-keys","p1__26191#","conform-into","check?","addcv","cfns","p1__26192#","cljs.core\/empty","cljs.core\/list?","cljs.spec.alpha\/t_cljs$spec$alpha26200","_26202","meta26201","cljs.spec.alpha\/->t_cljs$spec$alpha26200","vec__26203","init","add","complete","G__26209","vec__26210","seq__26211","first__26212","vec__26213","seq__26214","first__26215","vs","vseq","cljs.core\/indexed?","step","x__4006__auto__","y__4007__auto__","cljs.core\/long","limit","G__26219","vec__26220","seq__26221","first__26222","vec__26223","seq__26224","first__26225","vec__26226","G__26232","vec__26233","seq__26234","first__26235","vec__26236","seq__26237","first__26238","cljs.core\/partial","pgen","cljs.spec.gen.alpha\/return","p1__26193#","p1__26194#","cljs.spec.gen.alpha\/vector-distinct","cljs.spec.gen.alpha\/vector","cljs.spec.alpha\/accept","p__26249","map__26250","op","cljs.spec.alpha\/accept?","p__26252","map__26253","vec__26254","seq__26255","first__26256","vec__26257","seq__26258","first__26259","vec__26260","seq__26261","first__26262","cljs.spec.alpha\/pcat*","p1","pr","ps","k1","kr","f1","fr","rep+","rp","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.spec.alpha\/pcat","seq26264","self__4487__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","cljs.spec.alpha\/filter-alt","pks","cljs.core\/repeat","p1__26268#","cljs.core\/filter","p1__26269#","cljs.spec.alpha\/alt*","vec__26270","vec__26273","seq__26274","first__26275","vec__26276","cljs.spec.alpha\/alts","seq26279","cljs.spec.alpha\/alt2","cljs.spec.alpha\/alt-impl","cljs.spec.alpha\/maybe-impl","cljs.spec.alpha\/noret?","pret","cljs.spec.alpha\/accept-nil?","map__26283","G__26285","cljs.spec.alpha\/preturn","map__26286","vec__26287","seq__26288","first__26289","vec__26290","p0","G__26294","cljs.spec.alpha\/add-ret","vec__26295","vec__26298","vec__26301","k0","cljs.spec.alpha\/op-unform","map__26308","vec__26309","seq__26310","first__26311","vec__26312","maybe","G__26316","px","p1__26305#","p2__26304#","p1__26306#","p1__26307#","vec__26317","map__26320","prop","G__26322","cljs.spec.alpha\/deriv","map__26324","vec__26325","seq__26326","first__26327","vec__26328","seq__26329","first__26330","G__26332","p1__26323#","cljs.spec.alpha\/op-describe","map__26333","G__26335","cljs.core\/list*","cljs.spec.alpha\/op-explain","input","vec__26336","map__26339","insufficient","G__26341","vec__26342","pkfs","p__26345","vec__26346","cljs.spec.alpha\/re-gen","map__26350","ggens","G__26353","G__26354","gens","cljs.spec.gen.alpha\/cat","p1__26349#","p__26355","vec__26356","seq__26357","first__26358","cljs.spec.alpha\/re-conform","xs","data","dp","cljs.spec.alpha\/re-explain","G__26364","vec__26365","seq__26366","first__26367","vec__26368","seq__26369","first__26370","cljs.spec.alpha\/t_cljs$spec$alpha26374","_26376","meta26375","cljs.spec.alpha\/->t_cljs$spec$alpha26374","cljs.spec.alpha\/call-valid?","cargs","cret","cljs.spec.alpha\/validate-fn","iters","p1__26377#","cljs.spec.gen.alpha\/for-all*","cljs.spec.gen.alpha\/quick-check","vec__26378","smallest","cljs.spec.alpha\/fspec-impl","argspec","aform","retspec","rform","fnspec","fform","cljs.spec.alpha\/t_cljs$spec$alpha26381","_26383","meta26382","cljs.spec.alpha\/->t_cljs$spec$alpha26381","not-found","e26384","t","*print-newline*26385","*print-fn*26386","cljs.spec.gen.alpha\/generate","p1__26392#","p1__26393#","p__26394","vec__26395","cljs.spec.alpha\/nonconforming","cljs.spec.alpha\/t_cljs$spec$alpha26398","_26400","meta26399","cljs.spec.alpha\/->t_cljs$spec$alpha26398","cljs.spec.alpha\/nilable-impl","cljs.spec.alpha\/t_cljs$spec$alpha26401","_26403","meta26402","cljs.spec.alpha\/->t_cljs$spec$alpha26401","cljs.spec.gen.alpha\/frequency","G__26406","cljs.spec.alpha\/exercise","n","p1__26404#","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?","goog\/math.Long","goog\/math.Integer","cljs.spec.alpha\/*compile-asserts*","cljs.spec.alpha\/*runtime-asserts*","cljs.spec.alpha\/check-asserts?","cljs.spec.alpha\/check-asserts","flag","cljs.spec.alpha\/assert*","*print-newline*26408","*print-fn*26409"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs b/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs new file mode 100644 index 0000000..27cedfc --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs @@ -0,0 +1,180 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns cljs.spec.gen.alpha + (:refer-clojure :exclude [boolean cat hash-map list map not-empty set vector + char double int keyword symbol string uuid delay]) + (:require-macros [cljs.core :as c] + [cljs.spec.gen.alpha :as gen :refer [dynaload lazy-combinators lazy-prims]]) + (:require [cljs.core :as c])) + +(deftype LazyVar [f ^:mutable cached] + IDeref + (-deref [this] + (if-not (nil? cached) + cached + (let [x (f)] + (when-not (nil? x) + (set! cached x)) + x)))) + +(def ^:private quick-check-ref + (dynaload 'clojure.test.check/quick-check)) + +(defn quick-check + [& args] + (apply @quick-check-ref args)) + +(def ^:private for-all*-ref + (dynaload 'clojure.test.check.properties/for-all*)) + +(defn for-all* + "Dynamically loaded clojure.test.check.properties/for-all*." + [& args] + (apply @for-all*-ref args)) + +(let [g? (dynaload 'clojure.test.check.generators/generator?) + g (dynaload 'clojure.test.check.generators/generate) + mkg (dynaload 'clojure.test.check.generators/->Generator)] + (defn- generator? + [x] + (@g? x)) + (defn- generator + [gfn] + (@mkg gfn)) + (defn generate + "Generate a single value using generator." + [generator] + (@g generator))) + +(defn ^:skip-wiki delay-impl + [gfnd] + ;;N.B. depends on test.check impl details + (generator (fn [rnd size] + ((:gen @gfnd) rnd size)))) + +;(defn gen-for-name +; "Dynamically loads test.check generator named s." +; [s] +; (let [g (dynaload s)] +; (if (generator? g) +; g +; (throw (js/Error. (str "Var " s " is not a generator")))))) + +(lazy-combinators hash-map list map not-empty set vector vector-distinct fmap elements + bind choose one-of such-that tuple sample return + large-integer* double* frequency) + +(lazy-prims any any-printable boolean char char-alpha char-alphanumeric char-ascii double + int keyword keyword-ns large-integer ratio simple-type simple-type-printable + string string-ascii string-alphanumeric symbol symbol-ns uuid) + +(defn cat + "Returns a generator of a sequence catenated from results of +gens, each of which should generate something sequential." + [& gens] + (fmap #(apply concat %) + (apply tuple gens))) + +(defn- ^boolean qualified? [ident] (not (nil? (namespace ident)))) + +(def ^:private +gen-builtins + (c/delay + (let [simple (simple-type-printable)] + {any? (one-of [(return nil) (any-printable)]) + number? (one-of [(large-integer) (double)]) + integer? (large-integer) + int? (large-integer) + pos-int? (large-integer* {:min 1}) + neg-int? (large-integer* {:max -1}) + nat-int? (large-integer* {:min 0}) + float? (double) + double? (double) + string? (string-alphanumeric) + ident? (one-of [(keyword-ns) (symbol-ns)]) + simple-ident? (one-of [(keyword) (symbol)]) + qualified-ident? (such-that qualified? (one-of [(keyword-ns) (symbol-ns)])) + keyword? (keyword-ns) + simple-keyword? (keyword) + qualified-keyword? (such-that qualified? (keyword-ns)) + symbol? (symbol-ns) + simple-symbol? (symbol) + qualified-symbol? (such-that qualified? (symbol-ns)) + uuid? (uuid) + inst? (fmap #(js/Date. %) + (large-integer)) + seqable? (one-of [(return nil) + (list simple) + (vector simple) + (map simple simple) + (set simple) + (string-alphanumeric)]) + indexed? (vector simple) + map? (map simple simple) + vector? (vector simple) + list? (list simple) + seq? (list simple) + char? (char) + set? (set simple) + nil? (return nil) + false? (return false) + true? (return true) + boolean? (boolean) + zero? (return 0) + ;rational? (one-of [(large-integer) (ratio)]) + coll? (one-of [(map simple simple) + (list simple) + (vector simple) + (set simple)]) + empty? (elements [nil '() [] {} #{}]) + associative? (one-of [(map simple simple) (vector simple)]) + sequential? (one-of [(list simple) (vector simple)]) + ;ratio? (such-that ratio? (ratio)) + }))) + +(defn gen-for-pred + "Given a predicate, returns a built-in generator if one exists." + [pred] + (if (set? pred) + (elements pred) + (get @gen-builtins pred))) + +(comment + (require 'clojure.test.check) + (require 'clojure.test.check.properties) + (require 'cljs.spec.gen) + (in-ns 'cljs.spec.gen) + + ;; combinators, see call to lazy-combinators above for complete list + (generate (one-of [(gen-for-pred integer?) (gen-for-pred string?)])) + (generate (such-that #(< 10000 %) (gen-for-pred integer?))) + (let [reqs {:a (gen-for-pred number?) + :b (gen-for-pred keyword?)} + opts {:c (gen-for-pred string?)}] + (generate (bind (choose 0 (count opts)) + #(let [args (concat (seq reqs) (shuffle (seq opts)))] + (->> args + (take (+ % (count reqs))) + (mapcat identity) + (apply hash-map)))))) + (generate (cat (list (gen-for-pred string?)) + (list (gen-for-pred integer?)))) + + ;; load your own generator + ;(gen-for-name 'clojure.test.check.generators/int) + + ;; failure modes + ;(gen-for-name 'unqualified) + ;(gen-for-name 'clojure.core/+) + ;(gen-for-name 'clojure.core/name-does-not-exist) + ;(gen-for-name 'ns.does.not.exist/f) + + ) + + diff --git a/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs.cache.json b/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs.cache.json new file mode 100644 index 0000000..a31edd5 --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$Date",["^ "]],"~:use-macros",["^ ","~$lazy-prims","~$cljs.spec.gen.alpha","~$dynaload","^7","~$lazy-combinators","^7"],"~:excludes",["~#set",["~$uuid","~$set","~$boolean","~$map","~$delay","~$char","~$cat","~$double","~$int","~$symbol","~$string","~$vector","~$not-empty","~$list","~$keyword","~$hash-map"]],"~:name","^7","~:imports",null,"~:requires",["^ ","~$c","~$cljs.core","^O","^O"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","^<",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","~:line",75,"~:column",60,"~:end-line",75,"~:end-column",64,"~:arglists",["~#list",["~$quote",["^[",[["~$&","~$args"]]]]],"~:doc","Fn returning clojure.test.check.generators/uuid","~:top-fn",["^ ","~:variadic",true,"~:max-fixed-arity",0,"~:method-params",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"~:arglists-meta",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/uuid","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",64,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"~:protocol-impl",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",75,"^15",0,"~:fn-var",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/uuid"],"~$gen-for-pred",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",141,"^W",7,"^X",141,"^Y",19,"^Z",["^[",["^10",["^[",[["~$pred"]]]]],"^12","Given a predicate, returns a built-in generator if one exists."],"^L","~$cljs.spec.gen.alpha/gen-for-pred","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",19,"^16",["^[",[["^1<"]]],"^19",null,"^17",["^[",[null,null]],"^W",1,"^V",141,"^X",141,"^15",1,"^1:",true,"^Z",["^[",["^10",["^[",[["^1<"]]]]],"^12","Given a predicate, returns a built-in generator if one exists."],"^=",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",47,"^X",69,"^Y",50,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/set","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/set","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",50,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/set"],"~$one-of",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",15,"^X",70,"^Y",21,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/one-of","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/one-of","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",21,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/one-of"],"~$any-printable",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",17,"^X",73,"^Y",30,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/any-printable","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/any-printable","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",30,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/any-printable"],"~$vector-distinct",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",58,"^X",69,"^Y",73,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/vector-distinct","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/vector-distinct","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",73,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/vector-distinct"],"^>",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",31,"^X",73,"^Y",38,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/boolean","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/boolean","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",38,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/boolean"],"~$string-alphanumeric",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",75,"^W",23,"^X",75,"^Y",42,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/string-alphanumeric","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/string-alphanumeric","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",42,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",75,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/string-alphanumeric"],"~$qualified?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",84,"^W",17,"^X",84,"^Y",27,"~:tag","^>","~:private",true,"^Z",["^[",["^10",["^[",[["~$ident"]]]]]],"^1J",true,"^L","~$cljs.spec.gen.alpha/qualified?","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",27,"^16",["^[",[["^1K"]]],"^19",null,"^17",["^[",[null,null]],"^W",1,"^V",84,"~:ret-tag","^>","^X",84,"^15",1,"^1I","^>","^1:",true,"^Z",["^[",["^10",["^[",[["^1K"]]]]]],"^?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",33,"^X",69,"^Y",36,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/map","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/map","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",36,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/map"],"~$simple-type",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",46,"^X",74,"^Y",57,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/simple-type","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/simple-type","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",57,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/simple-type"],"^A",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",39,"^X",73,"^Y",43,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/char","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/char","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",43,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/char"],"~$bind",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",3,"^X",70,"^Y",7,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/bind","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/bind","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",7,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/bind"],"~$symbol-ns",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",75,"^W",50,"^X",75,"^Y",59,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/symbol-ns","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/symbol-ns","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",59,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",75,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/symbol-ns"],"~$any",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",13,"^X",73,"^Y",16,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/any","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/any","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",16,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/any"],"^B",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",77,"^W",7,"^X",77,"^Y",10,"^Z",["^[",["^10",["^[",[["~$&","~$gens"]]]]],"^12","Returns a generator of a sequence catenated from results of\ngens, each of which should generate something sequential.","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^1X"]]],"^Z",["^[",[["~$&","^1X"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/cat","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",10,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^1X"]]],"^Z",["^[",[["~$&","^1X"]]],"^17",["^[",[null]]],"^16",[["^[",["^1X"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",77,"^X",77,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^1X"]]],"^12","Returns a generator of a sequence catenated from results of\ngens, each of which should generate something sequential."],"~$LazyVar",["^ ","~:num-fields",2,"~:protocols",["^;",["~$cljs.core/IDeref"]],"^L","~$cljs.spec.gen.alpha/LazyVar","^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",17,"~:type",true,"^W",10,"^V",16,"~:record",false,"^X",16,"~:skip-protocol-flag",["^;",["^21"]]],"^C",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",84,"^X",73,"^Y",90,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/double","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/double","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",90,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/double"],"~$char-alpha",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",44,"^X",73,"^Y",54,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/char-alpha","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/char-alpha","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",54,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/char-alpha"],"~$generator?",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",44,"^W",10,"^X",44,"^Y",20,"^1J",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]]],"^1J",true,"^L","~$cljs.spec.gen.alpha/generator?","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",20,"^16",["^[",[["~$x"]]],"^19",null,"^17",["^[",[null,null]],"^W",3,"^V",44,"^X",44,"^15",1,"^1:",true,"^Z",["^[",["^10",["^[",[["~$x"]]]]]],"^D",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",3,"^X",74,"^Y",6,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/int","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/int","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",6,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/int"],"~$for-all*-ref",["^ ","^L","~$cljs.spec.gen.alpha/for-all*-ref","^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",33,"^W",1,"^X",33,"^Y",28,"^1J",true,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",33,"^W",16,"^X",33,"^Y",28,"^1J",true],"^1I","^22"],"~$->LazyVar",["^ ","^S",null,"^T",["^ ","^20",["^;",["^21"]],"^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",17,"^W",10,"~:factory","~:positional","^V",16,"^X",16,"^Z",["^[",["^10",["^[",[["~$f","~$cached"]]]]],"^25",["^;",["^21"]],"^12","Positional factory function for cljs.spec.gen.alpha/LazyVar."],"^20",["^;",["^21"]],"^L","~$cljs.spec.gen.alpha/->LazyVar","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",17,"^16",["^[",[["~$f","^2A"]]],"^19",null,"^17",["^[",[null,null]],"^W",1,"^2?","^2@","^V",16,"^X",16,"^15",2,"^1:",true,"^Z",["^[",["^10",["^[",[["~$f","^2A"]]]]],"^25",["^;",["^21"]],"^12","Positional factory function for cljs.spec.gen.alpha/LazyVar."],"~$return",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",45,"^X",70,"^Y",51,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/return","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/return","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",51,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/return"],"^E",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",75,"^W",43,"^X",75,"^Y",49,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/symbol","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/symbol","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",49,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",75,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/symbol"],"~$quick-check",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",29,"^W",7,"^X",29,"^Y",18,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/quick-check","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",18,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",29,"^X",29,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]]],"~$char-alphanumeric",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",55,"^X",73,"^Y",72,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/char-alphanumeric","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/char-alphanumeric","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",72,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/char-alphanumeric"],"~$choose",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",8,"^X",70,"^Y",14,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/choose","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/choose","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",14,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/choose"],"~$for-all*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",36,"^W",7,"^X",36,"^Y",15,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Dynamically loaded clojure.test.check.properties/for-all*.","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/for-all*","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",15,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",36,"^X",36,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Dynamically loaded clojure.test.check.properties/for-all*."],"~$string-ascii",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",75,"^W",10,"^X",75,"^Y",22,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/string-ascii","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/string-ascii","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",22,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",75,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/string-ascii"],"~$frequency",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",71,"^W",26,"^X",71,"^Y",35,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/frequency","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/frequency","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",35,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",71,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/frequency"],"~$double*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",71,"^W",18,"^X",71,"^Y",25,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/double*","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/double*","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",25,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",71,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/double*"],"~$generate",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",50,"^W",9,"^X",50,"^Y",17,"^Z",["^[",["^10",["^[",[["~$generator"]]]]],"^12","Generate a single value using generator."],"^L","~$cljs.spec.gen.alpha/generate","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",17,"^16",["^[",[["^2U"]]],"^19",null,"^17",["^[",[null,null]],"^W",3,"^V",50,"^X",50,"^15",1,"^1:",true,"^Z",["^[",["^10",["^[",[["^2U"]]]]],"^12","Generate a single value using generator."],"~$delay-impl",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",55,"^W",19,"^X",55,"^Y",29,"~:skip-wiki",true,"^Z",["^[",["^10",["^[",[["~$gfnd"]]]]]],"^L","~$cljs.spec.gen.alpha/delay-impl","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",29,"^16",["^[",[["^2Y"]]],"^19",null,"^2X",true,"^17",["^[",[null,null]],"^W",1,"^V",55,"^X",55,"^15",1,"^1:",true,"^Z",["^[",["^10",["^[",[["^2Y"]]]]]],"~$gen-builtins",["^ ","^L","~$cljs.spec.gen.alpha/gen-builtins","^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",86,"^W",1,"^X",87,"^Y",13,"^1J",true,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",87,"^W",1,"^X",87,"^Y",13,"^1J",true],"^1I","~$cljs.core/Delay"],"~$tuple",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",32,"^X",70,"^Y",37,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/tuple","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/tuple","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",37,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/tuple"],"^F",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",75,"^W",3,"^X",75,"^Y",9,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/string","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/string","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",9,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",75,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/string"],"~$quick-check-ref",["^ ","^L","~$cljs.spec.gen.alpha/quick-check-ref","^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",26,"^W",1,"^X",26,"^Y",31,"^1J",true,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",26,"^W",16,"^X",26,"^Y",31,"^1J",true],"^1I","^22"],"^G",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",51,"^X",69,"^Y",57,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/vector","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/vector","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",57,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/vector"],"~$large-integer",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",26,"^X",74,"^Y",39,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/large-integer","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/large-integer","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",39,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/large-integer"],"~$keyword-ns",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",15,"^X",74,"^Y",25,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/keyword-ns","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/keyword-ns","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",25,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/keyword-ns"],"^H",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",37,"^X",69,"^Y",46,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/not-empty","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/not-empty","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",46,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/not-empty"],"~$elements",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",79,"^X",69,"^Y",87,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/elements","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/elements","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",87,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/elements"],"~$sample",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",38,"^X",70,"^Y",44,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/sample","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/sample","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",44,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/sample"],"^I",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",28,"^X",69,"^Y",32,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/list","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/list","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",32,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/list"],"~$large-integer*",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",71,"^W",3,"^X",71,"^Y",17,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/large-integer*","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/large-integer*","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",17,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",71,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/large-integer*"],"^J",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",7,"^X",74,"^Y",14,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/keyword","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/keyword","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",14,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/keyword"],"^K",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",19,"^X",69,"^Y",27,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/hash-map","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/hash-map","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",27,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/hash-map"],"~$ratio",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",40,"^X",74,"^Y",45,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/ratio","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/ratio","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",45,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/ratio"],"~$such-that",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",70,"^W",22,"^X",70,"^Y",31,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/such-that","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/such-that","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",31,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",70,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/such-that"],"~$fmap",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",69,"^W",74,"^X",69,"^Y",78,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Lazy loaded version of clojure.test.check.generators/fmap","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/fmap","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",78,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",69,"^X",69,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Lazy loaded version of clojure.test.check.generators/fmap"],"^2U",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",47,"^W",10,"^X",47,"^Y",19,"^1J",true,"^Z",["^[",["^10",["^[",[["~$gfn"]]]]]],"^1J",true,"^L","~$cljs.spec.gen.alpha/generator","^14",false,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",19,"^16",["^[",[["^3L"]]],"^19",null,"^17",["^[",[null,null]],"^W",3,"^V",47,"^X",47,"^15",1,"^1:",true,"^Z",["^[",["^10",["^[",[["^3L"]]]]]],"~$char-ascii",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",73,"^W",73,"^X",73,"^Y",83,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/char-ascii","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/char-ascii","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",83,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",73,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/char-ascii"],"~$simple-type-printable",["^ ","^S",null,"^T",["^ ","^U","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/spec/gen/alpha.cljs","^V",74,"^W",58,"^X",74,"^Y",79,"^Z",["^[",["^10",["^[",[["~$&","^11"]]]]],"^12","Fn returning clojure.test.check.generators/simple-type-printable","^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]]],"^L","~$cljs.spec.gen.alpha/simple-type-printable","^14",true,"^U","resources/public/js/out/cljs/spec/gen/alpha.cljs","^Y",79,"^13",["^ ","^14",true,"^15",0,"^16",[["^[",["^11"]]],"^Z",["^[",[["~$&","^11"]]],"^17",["^[",[null]]],"^16",[["^[",["^11"]]],"^19",null,"^17",["^[",[null]],"^W",1,"^V",73,"^X",74,"^15",0,"^1:",true,"^Z",["^[",[["~$&","^11"]]],"^12","Fn returning clojure.test.check.generators/simple-type-printable"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$c","^O","^O","^O","~$gen","^7","^7","^7"],"~:cljs.analyzer/constants",["^ ","~:seen",["^;",["~$clojure.test.check.generators/sample","~:min","~$clojure.test.check.generators/hash-map","~$clojure.test.check.generators/keyword","~$clojure.test.check.generators/ratio","~$clojure.test.check.generators/char-alpha","~$clojure.test.check.generators/generator?","~$clojure.test.check.generators/fmap","~$clojure.test.check/quick-check","~$clojure.test.check.generators/char-ascii","~:gen","~$clojure.test.check.generators/char-alphanumeric","^2A","~$clojure.test.check.generators/choose","~$clojure.test.check.generators/frequency","~$clojure.test.check.generators/generate","~$clojure.test.check.generators/set","~$clojure.test.check.generators/one-of","~$clojure.test.check.generators/vector-distinct","~$clojure.test.check.generators/map","~$clojure.test.check.properties/for-all*","~$clojure.test.check.generators/bind","~$clojure.test.check.generators/symbol-ns","~$clojure.test.check.generators/double","~$clojure.test.check.generators/list","~$clojure.test.check.generators/large-integer*","~:max","~$clojure.test.check.generators/such-that","~$clojure.test.check.generators/int","~$clojure.test.check.generators/->Generator","~$clojure.test.check.generators/return","~$clojure.test.check.generators/simple-type-printable","~$clojure.test.check.generators/symbol","~$clojure.test.check.generators/uuid","~$clojure.test.check.generators/string-ascii","~$clojure.test.check.generators/any-printable","~$clojure.test.check.generators/double*","~:mutable","~$clojure.test.check.generators/boolean","~$clojure.test.check.generators/string-alphanumeric","~$clojure.test.check.generators/tuple","~$clojure.test.check.generators/simple-type","~$clojure.test.check.generators/string","~$clojure.test.check.generators/vector","~$clojure.test.check.generators/char","~$clojure.test.check.generators/any","~$clojure.test.check.generators/elements","~$clojure.test.check.generators/not-empty","~$clojure.test.check.generators/large-integer","~$clojure.test.check.generators/keyword-ns","~$f"]],"~:order",["~$f","^2A","^4O","^43","^4>","^41","^49","^4G","^45","^3Y","^4B","^4=","^4Y","^4:","^4U","^4<","^42","^4X","^4?","^47","^4;","^4E","^4R","^3W","^4H","^4C","^4N","^48","^4W","^4M","^4P","^4V","^40","^46","^44","^4A","^4F","^3Z","^4[","^4Z","^3[","^4S","^4I","^4T","^4L","^4Q","^4J","^4@","^4K","^4D","^3X"]],"^12",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/spec/gen/alpha.js b/examples/resources/public/js/out/cljs/spec/gen/alpha.js new file mode 100644 index 0000000..e30367c --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/gen/alpha.js @@ -0,0 +1,2200 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.spec.gen.alpha'); +goog.require('cljs.core'); +goog.require('cljs.core'); + +/** +* @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.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__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__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.test !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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__4502__auto__ = []; +var len__4499__auto___25620 = arguments.length; +var i__4500__auto___25621 = (0); +while(true){ +if((i__4500__auto___25621 < len__4499__auto___25620)){ +args__4502__auto__.push((arguments[i__4500__auto___25621])); + +var G__25622 = (i__4500__auto___25621 + (1)); +i__4500__auto___25621 = G__25622; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.quick_check.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.spec.gen.alpha.quick_check.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,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 (seq25619){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25619)); +}); + +cljs.spec.gen.alpha.for_all_STAR__ref = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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__4502__auto__ = []; +var len__4499__auto___25624 = arguments.length; +var i__4500__auto___25625 = (0); +while(true){ +if((i__4500__auto___25625 < len__4499__auto___25624)){ +args__4502__auto__.push((arguments[i__4500__auto___25625])); + +var G__25626 = (i__4500__auto___25625 + (1)); +i__4500__auto___25625 = G__25626; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.for_all_STAR_.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.spec.gen.alpha.for_all_STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,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 (seq25623){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25623)); +}); + +var g_QMARK__25627 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,new cljs.core.Symbol("clojure.test.check.generators","generator?","clojure.test.check.generators/generator?",-1378210460,null)))," never required"].join(''))); +} +}),null)); +var g_25628 = (new cljs.spec.gen.alpha.LazyVar(((function (g_QMARK__25627){ +return (function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,new cljs.core.Symbol("clojure.test.check.generators","generate","clojure.test.check.generators/generate",-690390711,null)))," never required"].join(''))); +} +});})(g_QMARK__25627)) +,null)); +var mkg_25629 = (new cljs.spec.gen.alpha.LazyVar(((function (g_QMARK__25627,g_25628){ +return (function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,new cljs.core.Symbol("clojure.test.check.generators","->Generator","clojure.test.check.generators/->Generator",-1179475051,null)))," never required"].join(''))); +} +});})(g_QMARK__25627,g_25628)) +,null)); +cljs.spec.gen.alpha.generator_QMARK_ = ((function (g_QMARK__25627,g_25628,mkg_25629){ +return (function cljs$spec$gen$alpha$generator_QMARK_(x){ +return cljs.core.deref.call(null,g_QMARK__25627).call(null,x); +});})(g_QMARK__25627,g_25628,mkg_25629)) +; + +cljs.spec.gen.alpha.generator = ((function (g_QMARK__25627,g_25628,mkg_25629){ +return (function cljs$spec$gen$alpha$generator(gfn){ +return cljs.core.deref.call(null,mkg_25629).call(null,gfn); +});})(g_QMARK__25627,g_25628,mkg_25629)) +; + +/** + * Generate a single value using generator. + */ +cljs.spec.gen.alpha.generate = ((function (g_QMARK__25627,g_25628,mkg_25629){ +return (function cljs$spec$gen$alpha$generate(generator){ +return cljs.core.deref.call(null,g_25628).call(null,generator); +});})(g_QMARK__25627,g_25628,mkg_25629)) +; +cljs.spec.gen.alpha.delay_impl = (function cljs$spec$gen$alpha$delay_impl(gfnd){ +return cljs.spec.gen.alpha.generator.call(null,(function (rnd,size){ +return new cljs.core.Keyword(null,"gen","gen",142575302).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,gfnd)).call(null,rnd,size); +})); +}); +var g__19093__auto___25649 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25649){ +return (function cljs$spec$gen$alpha$hash_map(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25650 = arguments.length; +var i__4500__auto___25651 = (0); +while(true){ +if((i__4500__auto___25651 < len__4499__auto___25650)){ +args__4502__auto__.push((arguments[i__4500__auto___25651])); + +var G__25652 = (i__4500__auto___25651 + (1)); +i__4500__auto___25651 = G__25652; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.hash_map.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25649)) +; + +cljs.spec.gen.alpha.hash_map.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25649){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25649),args); +});})(g__19093__auto___25649)) +; + +cljs.spec.gen.alpha.hash_map.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.hash_map.cljs$lang$applyTo = ((function (g__19093__auto___25649){ +return (function (seq25630){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25630)); +});})(g__19093__auto___25649)) +; + + +var g__19093__auto___25653 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25653){ +return (function cljs$spec$gen$alpha$list(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25654 = arguments.length; +var i__4500__auto___25655 = (0); +while(true){ +if((i__4500__auto___25655 < len__4499__auto___25654)){ +args__4502__auto__.push((arguments[i__4500__auto___25655])); + +var G__25656 = (i__4500__auto___25655 + (1)); +i__4500__auto___25655 = G__25656; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25653)) +; + +cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25653){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25653),args); +});})(g__19093__auto___25653)) +; + +cljs.spec.gen.alpha.list.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.list.cljs$lang$applyTo = ((function (g__19093__auto___25653){ +return (function (seq25631){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25631)); +});})(g__19093__auto___25653)) +; + + +var g__19093__auto___25657 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25657){ +return (function cljs$spec$gen$alpha$map(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25658 = arguments.length; +var i__4500__auto___25659 = (0); +while(true){ +if((i__4500__auto___25659 < len__4499__auto___25658)){ +args__4502__auto__.push((arguments[i__4500__auto___25659])); + +var G__25660 = (i__4500__auto___25659 + (1)); +i__4500__auto___25659 = G__25660; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25657)) +; + +cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25657){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25657),args); +});})(g__19093__auto___25657)) +; + +cljs.spec.gen.alpha.map.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.map.cljs$lang$applyTo = ((function (g__19093__auto___25657){ +return (function (seq25632){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25632)); +});})(g__19093__auto___25657)) +; + + +var g__19093__auto___25661 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25661){ +return (function cljs$spec$gen$alpha$not_empty(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25662 = arguments.length; +var i__4500__auto___25663 = (0); +while(true){ +if((i__4500__auto___25663 < len__4499__auto___25662)){ +args__4502__auto__.push((arguments[i__4500__auto___25663])); + +var G__25664 = (i__4500__auto___25663 + (1)); +i__4500__auto___25663 = G__25664; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.not_empty.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25661)) +; + +cljs.spec.gen.alpha.not_empty.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25661){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25661),args); +});})(g__19093__auto___25661)) +; + +cljs.spec.gen.alpha.not_empty.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.not_empty.cljs$lang$applyTo = ((function (g__19093__auto___25661){ +return (function (seq25633){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25633)); +});})(g__19093__auto___25661)) +; + + +var g__19093__auto___25665 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25665){ +return (function cljs$spec$gen$alpha$set(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25666 = arguments.length; +var i__4500__auto___25667 = (0); +while(true){ +if((i__4500__auto___25667 < len__4499__auto___25666)){ +args__4502__auto__.push((arguments[i__4500__auto___25667])); + +var G__25668 = (i__4500__auto___25667 + (1)); +i__4500__auto___25667 = G__25668; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25665)) +; + +cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25665){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25665),args); +});})(g__19093__auto___25665)) +; + +cljs.spec.gen.alpha.set.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.set.cljs$lang$applyTo = ((function (g__19093__auto___25665){ +return (function (seq25634){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25634)); +});})(g__19093__auto___25665)) +; + + +var g__19093__auto___25669 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25669){ +return (function cljs$spec$gen$alpha$vector(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25670 = arguments.length; +var i__4500__auto___25671 = (0); +while(true){ +if((i__4500__auto___25671 < len__4499__auto___25670)){ +args__4502__auto__.push((arguments[i__4500__auto___25671])); + +var G__25672 = (i__4500__auto___25671 + (1)); +i__4500__auto___25671 = G__25672; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25669)) +; + +cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25669){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25669),args); +});})(g__19093__auto___25669)) +; + +cljs.spec.gen.alpha.vector.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.vector.cljs$lang$applyTo = ((function (g__19093__auto___25669){ +return (function (seq25635){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25635)); +});})(g__19093__auto___25669)) +; + + +var g__19093__auto___25673 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25673){ +return (function cljs$spec$gen$alpha$vector_distinct(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25674 = arguments.length; +var i__4500__auto___25675 = (0); +while(true){ +if((i__4500__auto___25675 < len__4499__auto___25674)){ +args__4502__auto__.push((arguments[i__4500__auto___25675])); + +var G__25676 = (i__4500__auto___25675 + (1)); +i__4500__auto___25675 = G__25676; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.vector_distinct.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25673)) +; + +cljs.spec.gen.alpha.vector_distinct.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25673){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25673),args); +});})(g__19093__auto___25673)) +; + +cljs.spec.gen.alpha.vector_distinct.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.vector_distinct.cljs$lang$applyTo = ((function (g__19093__auto___25673){ +return (function (seq25636){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25636)); +});})(g__19093__auto___25673)) +; + + +var g__19093__auto___25677 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25677){ +return (function cljs$spec$gen$alpha$fmap(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25678 = arguments.length; +var i__4500__auto___25679 = (0); +while(true){ +if((i__4500__auto___25679 < len__4499__auto___25678)){ +args__4502__auto__.push((arguments[i__4500__auto___25679])); + +var G__25680 = (i__4500__auto___25679 + (1)); +i__4500__auto___25679 = G__25680; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25677)) +; + +cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25677){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25677),args); +});})(g__19093__auto___25677)) +; + +cljs.spec.gen.alpha.fmap.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.fmap.cljs$lang$applyTo = ((function (g__19093__auto___25677){ +return (function (seq25637){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25637)); +});})(g__19093__auto___25677)) +; + + +var g__19093__auto___25681 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25681){ +return (function cljs$spec$gen$alpha$elements(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25682 = arguments.length; +var i__4500__auto___25683 = (0); +while(true){ +if((i__4500__auto___25683 < len__4499__auto___25682)){ +args__4502__auto__.push((arguments[i__4500__auto___25683])); + +var G__25684 = (i__4500__auto___25683 + (1)); +i__4500__auto___25683 = G__25684; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.elements.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25681)) +; + +cljs.spec.gen.alpha.elements.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25681){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25681),args); +});})(g__19093__auto___25681)) +; + +cljs.spec.gen.alpha.elements.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.elements.cljs$lang$applyTo = ((function (g__19093__auto___25681){ +return (function (seq25638){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25638)); +});})(g__19093__auto___25681)) +; + + +var g__19093__auto___25685 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25685){ +return (function cljs$spec$gen$alpha$bind(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25686 = arguments.length; +var i__4500__auto___25687 = (0); +while(true){ +if((i__4500__auto___25687 < len__4499__auto___25686)){ +args__4502__auto__.push((arguments[i__4500__auto___25687])); + +var G__25688 = (i__4500__auto___25687 + (1)); +i__4500__auto___25687 = G__25688; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25685)) +; + +cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25685){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25685),args); +});})(g__19093__auto___25685)) +; + +cljs.spec.gen.alpha.bind.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.bind.cljs$lang$applyTo = ((function (g__19093__auto___25685){ +return (function (seq25639){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25639)); +});})(g__19093__auto___25685)) +; + + +var g__19093__auto___25689 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25689){ +return (function cljs$spec$gen$alpha$choose(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25690 = arguments.length; +var i__4500__auto___25691 = (0); +while(true){ +if((i__4500__auto___25691 < len__4499__auto___25690)){ +args__4502__auto__.push((arguments[i__4500__auto___25691])); + +var G__25692 = (i__4500__auto___25691 + (1)); +i__4500__auto___25691 = G__25692; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.choose.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25689)) +; + +cljs.spec.gen.alpha.choose.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25689){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25689),args); +});})(g__19093__auto___25689)) +; + +cljs.spec.gen.alpha.choose.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.choose.cljs$lang$applyTo = ((function (g__19093__auto___25689){ +return (function (seq25640){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25640)); +});})(g__19093__auto___25689)) +; + + +var g__19093__auto___25693 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25693){ +return (function cljs$spec$gen$alpha$one_of(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25694 = arguments.length; +var i__4500__auto___25695 = (0); +while(true){ +if((i__4500__auto___25695 < len__4499__auto___25694)){ +args__4502__auto__.push((arguments[i__4500__auto___25695])); + +var G__25696 = (i__4500__auto___25695 + (1)); +i__4500__auto___25695 = G__25696; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25693)) +; + +cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25693){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25693),args); +});})(g__19093__auto___25693)) +; + +cljs.spec.gen.alpha.one_of.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.one_of.cljs$lang$applyTo = ((function (g__19093__auto___25693){ +return (function (seq25641){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25641)); +});})(g__19093__auto___25693)) +; + + +var g__19093__auto___25697 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25697){ +return (function cljs$spec$gen$alpha$such_that(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25698 = arguments.length; +var i__4500__auto___25699 = (0); +while(true){ +if((i__4500__auto___25699 < len__4499__auto___25698)){ +args__4502__auto__.push((arguments[i__4500__auto___25699])); + +var G__25700 = (i__4500__auto___25699 + (1)); +i__4500__auto___25699 = G__25700; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25697)) +; + +cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25697){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25697),args); +});})(g__19093__auto___25697)) +; + +cljs.spec.gen.alpha.such_that.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.such_that.cljs$lang$applyTo = ((function (g__19093__auto___25697){ +return (function (seq25642){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25642)); +});})(g__19093__auto___25697)) +; + + +var g__19093__auto___25701 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25701){ +return (function cljs$spec$gen$alpha$tuple(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25702 = arguments.length; +var i__4500__auto___25703 = (0); +while(true){ +if((i__4500__auto___25703 < len__4499__auto___25702)){ +args__4502__auto__.push((arguments[i__4500__auto___25703])); + +var G__25704 = (i__4500__auto___25703 + (1)); +i__4500__auto___25703 = G__25704; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.tuple.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25701)) +; + +cljs.spec.gen.alpha.tuple.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25701){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25701),args); +});})(g__19093__auto___25701)) +; + +cljs.spec.gen.alpha.tuple.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.tuple.cljs$lang$applyTo = ((function (g__19093__auto___25701){ +return (function (seq25643){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25643)); +});})(g__19093__auto___25701)) +; + + +var g__19093__auto___25705 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25705){ +return (function cljs$spec$gen$alpha$sample(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25706 = arguments.length; +var i__4500__auto___25707 = (0); +while(true){ +if((i__4500__auto___25707 < len__4499__auto___25706)){ +args__4502__auto__.push((arguments[i__4500__auto___25707])); + +var G__25708 = (i__4500__auto___25707 + (1)); +i__4500__auto___25707 = G__25708; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.sample.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25705)) +; + +cljs.spec.gen.alpha.sample.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25705){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25705),args); +});})(g__19093__auto___25705)) +; + +cljs.spec.gen.alpha.sample.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.sample.cljs$lang$applyTo = ((function (g__19093__auto___25705){ +return (function (seq25644){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25644)); +});})(g__19093__auto___25705)) +; + + +var g__19093__auto___25709 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25709){ +return (function cljs$spec$gen$alpha$return(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25710 = arguments.length; +var i__4500__auto___25711 = (0); +while(true){ +if((i__4500__auto___25711 < len__4499__auto___25710)){ +args__4502__auto__.push((arguments[i__4500__auto___25711])); + +var G__25712 = (i__4500__auto___25711 + (1)); +i__4500__auto___25711 = G__25712; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25709)) +; + +cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25709){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25709),args); +});})(g__19093__auto___25709)) +; + +cljs.spec.gen.alpha.return$.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.return$.cljs$lang$applyTo = ((function (g__19093__auto___25709){ +return (function (seq25645){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25645)); +});})(g__19093__auto___25709)) +; + + +var g__19093__auto___25713 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25713){ +return (function cljs$spec$gen$alpha$large_integer_STAR_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25714 = arguments.length; +var i__4500__auto___25715 = (0); +while(true){ +if((i__4500__auto___25715 < len__4499__auto___25714)){ +args__4502__auto__.push((arguments[i__4500__auto___25715])); + +var G__25716 = (i__4500__auto___25715 + (1)); +i__4500__auto___25715 = G__25716; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25713)) +; + +cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25713){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25713),args); +});})(g__19093__auto___25713)) +; + +cljs.spec.gen.alpha.large_integer_STAR_.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.large_integer_STAR_.cljs$lang$applyTo = ((function (g__19093__auto___25713){ +return (function (seq25646){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25646)); +});})(g__19093__auto___25713)) +; + + +var g__19093__auto___25717 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25717){ +return (function cljs$spec$gen$alpha$double_STAR_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25718 = arguments.length; +var i__4500__auto___25719 = (0); +while(true){ +if((i__4500__auto___25719 < len__4499__auto___25718)){ +args__4502__auto__.push((arguments[i__4500__auto___25719])); + +var G__25720 = (i__4500__auto___25719 + (1)); +i__4500__auto___25719 = G__25720; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.double_STAR_.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25717)) +; + +cljs.spec.gen.alpha.double_STAR_.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25717){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25717),args); +});})(g__19093__auto___25717)) +; + +cljs.spec.gen.alpha.double_STAR_.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.double_STAR_.cljs$lang$applyTo = ((function (g__19093__auto___25717){ +return (function (seq25647){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25647)); +});})(g__19093__auto___25717)) +; + + +var g__19093__auto___25721 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19093__auto___25721){ +return (function cljs$spec$gen$alpha$frequency(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25722 = arguments.length; +var i__4500__auto___25723 = (0); +while(true){ +if((i__4500__auto___25723 < len__4499__auto___25722)){ +args__4502__auto__.push((arguments[i__4500__auto___25723])); + +var G__25724 = (i__4500__auto___25723 + (1)); +i__4500__auto___25723 = G__25724; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.frequency.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19093__auto___25721)) +; + +cljs.spec.gen.alpha.frequency.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19093__auto___25721){ +return (function (args){ +return cljs.core.apply.call(null,cljs.core.deref.call(null,g__19093__auto___25721),args); +});})(g__19093__auto___25721)) +; + +cljs.spec.gen.alpha.frequency.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.frequency.cljs$lang$applyTo = ((function (g__19093__auto___25721){ +return (function (seq25648){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25648)); +});})(g__19093__auto___25721)) +; + +var g__19106__auto___25746 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25746){ +return (function cljs$spec$gen$alpha$any(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25747 = arguments.length; +var i__4500__auto___25748 = (0); +while(true){ +if((i__4500__auto___25748 < len__4499__auto___25747)){ +args__4502__auto__.push((arguments[i__4500__auto___25748])); + +var G__25749 = (i__4500__auto___25748 + (1)); +i__4500__auto___25748 = G__25749; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.any.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25746)) +; + +cljs.spec.gen.alpha.any.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25746){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25746); +});})(g__19106__auto___25746)) +; + +cljs.spec.gen.alpha.any.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.any.cljs$lang$applyTo = ((function (g__19106__auto___25746){ +return (function (seq25725){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25725)); +});})(g__19106__auto___25746)) +; + + +var g__19106__auto___25750 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25750){ +return (function cljs$spec$gen$alpha$any_printable(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25751 = arguments.length; +var i__4500__auto___25752 = (0); +while(true){ +if((i__4500__auto___25752 < len__4499__auto___25751)){ +args__4502__auto__.push((arguments[i__4500__auto___25752])); + +var G__25753 = (i__4500__auto___25752 + (1)); +i__4500__auto___25752 = G__25753; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.any_printable.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25750)) +; + +cljs.spec.gen.alpha.any_printable.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25750){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25750); +});})(g__19106__auto___25750)) +; + +cljs.spec.gen.alpha.any_printable.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.any_printable.cljs$lang$applyTo = ((function (g__19106__auto___25750){ +return (function (seq25726){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25726)); +});})(g__19106__auto___25750)) +; + + +var g__19106__auto___25754 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25754){ +return (function cljs$spec$gen$alpha$boolean(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25755 = arguments.length; +var i__4500__auto___25756 = (0); +while(true){ +if((i__4500__auto___25756 < len__4499__auto___25755)){ +args__4502__auto__.push((arguments[i__4500__auto___25756])); + +var G__25757 = (i__4500__auto___25756 + (1)); +i__4500__auto___25756 = G__25757; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.boolean$.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25754)) +; + +cljs.spec.gen.alpha.boolean$.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25754){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25754); +});})(g__19106__auto___25754)) +; + +cljs.spec.gen.alpha.boolean$.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.boolean$.cljs$lang$applyTo = ((function (g__19106__auto___25754){ +return (function (seq25727){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25727)); +});})(g__19106__auto___25754)) +; + + +var g__19106__auto___25758 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25758){ +return (function cljs$spec$gen$alpha$char(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25759 = arguments.length; +var i__4500__auto___25760 = (0); +while(true){ +if((i__4500__auto___25760 < len__4499__auto___25759)){ +args__4502__auto__.push((arguments[i__4500__auto___25760])); + +var G__25761 = (i__4500__auto___25760 + (1)); +i__4500__auto___25760 = G__25761; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char$.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25758)) +; + +cljs.spec.gen.alpha.char$.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25758){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25758); +});})(g__19106__auto___25758)) +; + +cljs.spec.gen.alpha.char$.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.char$.cljs$lang$applyTo = ((function (g__19106__auto___25758){ +return (function (seq25728){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25728)); +});})(g__19106__auto___25758)) +; + + +var g__19106__auto___25762 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25762){ +return (function cljs$spec$gen$alpha$char_alpha(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25763 = arguments.length; +var i__4500__auto___25764 = (0); +while(true){ +if((i__4500__auto___25764 < len__4499__auto___25763)){ +args__4502__auto__.push((arguments[i__4500__auto___25764])); + +var G__25765 = (i__4500__auto___25764 + (1)); +i__4500__auto___25764 = G__25765; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char_alpha.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25762)) +; + +cljs.spec.gen.alpha.char_alpha.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25762){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25762); +});})(g__19106__auto___25762)) +; + +cljs.spec.gen.alpha.char_alpha.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.char_alpha.cljs$lang$applyTo = ((function (g__19106__auto___25762){ +return (function (seq25729){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25729)); +});})(g__19106__auto___25762)) +; + + +var g__19106__auto___25766 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25766){ +return (function cljs$spec$gen$alpha$char_alphanumeric(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25767 = arguments.length; +var i__4500__auto___25768 = (0); +while(true){ +if((i__4500__auto___25768 < len__4499__auto___25767)){ +args__4502__auto__.push((arguments[i__4500__auto___25768])); + +var G__25769 = (i__4500__auto___25768 + (1)); +i__4500__auto___25768 = G__25769; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char_alphanumeric.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25766)) +; + +cljs.spec.gen.alpha.char_alphanumeric.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25766){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25766); +});})(g__19106__auto___25766)) +; + +cljs.spec.gen.alpha.char_alphanumeric.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.char_alphanumeric.cljs$lang$applyTo = ((function (g__19106__auto___25766){ +return (function (seq25730){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25730)); +});})(g__19106__auto___25766)) +; + + +var g__19106__auto___25770 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25770){ +return (function cljs$spec$gen$alpha$char_ascii(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25771 = arguments.length; +var i__4500__auto___25772 = (0); +while(true){ +if((i__4500__auto___25772 < len__4499__auto___25771)){ +args__4502__auto__.push((arguments[i__4500__auto___25772])); + +var G__25773 = (i__4500__auto___25772 + (1)); +i__4500__auto___25772 = G__25773; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char_ascii.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25770)) +; + +cljs.spec.gen.alpha.char_ascii.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25770){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25770); +});})(g__19106__auto___25770)) +; + +cljs.spec.gen.alpha.char_ascii.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.char_ascii.cljs$lang$applyTo = ((function (g__19106__auto___25770){ +return (function (seq25731){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25731)); +});})(g__19106__auto___25770)) +; + + +var g__19106__auto___25774 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25774){ +return (function cljs$spec$gen$alpha$double(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25775 = arguments.length; +var i__4500__auto___25776 = (0); +while(true){ +if((i__4500__auto___25776 < len__4499__auto___25775)){ +args__4502__auto__.push((arguments[i__4500__auto___25776])); + +var G__25777 = (i__4500__auto___25776 + (1)); +i__4500__auto___25776 = G__25777; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.double$.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25774)) +; + +cljs.spec.gen.alpha.double$.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25774){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25774); +});})(g__19106__auto___25774)) +; + +cljs.spec.gen.alpha.double$.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.double$.cljs$lang$applyTo = ((function (g__19106__auto___25774){ +return (function (seq25732){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25732)); +});})(g__19106__auto___25774)) +; + + +var g__19106__auto___25778 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25778){ +return (function cljs$spec$gen$alpha$int(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25779 = arguments.length; +var i__4500__auto___25780 = (0); +while(true){ +if((i__4500__auto___25780 < len__4499__auto___25779)){ +args__4502__auto__.push((arguments[i__4500__auto___25780])); + +var G__25781 = (i__4500__auto___25780 + (1)); +i__4500__auto___25780 = G__25781; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.int$.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25778)) +; + +cljs.spec.gen.alpha.int$.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25778){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25778); +});})(g__19106__auto___25778)) +; + +cljs.spec.gen.alpha.int$.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.int$.cljs$lang$applyTo = ((function (g__19106__auto___25778){ +return (function (seq25733){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25733)); +});})(g__19106__auto___25778)) +; + + +var g__19106__auto___25782 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25782){ +return (function cljs$spec$gen$alpha$keyword(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25783 = arguments.length; +var i__4500__auto___25784 = (0); +while(true){ +if((i__4500__auto___25784 < len__4499__auto___25783)){ +args__4502__auto__.push((arguments[i__4500__auto___25784])); + +var G__25785 = (i__4500__auto___25784 + (1)); +i__4500__auto___25784 = G__25785; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.keyword.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25782)) +; + +cljs.spec.gen.alpha.keyword.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25782){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25782); +});})(g__19106__auto___25782)) +; + +cljs.spec.gen.alpha.keyword.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.keyword.cljs$lang$applyTo = ((function (g__19106__auto___25782){ +return (function (seq25734){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25734)); +});})(g__19106__auto___25782)) +; + + +var g__19106__auto___25786 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25786){ +return (function cljs$spec$gen$alpha$keyword_ns(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25787 = arguments.length; +var i__4500__auto___25788 = (0); +while(true){ +if((i__4500__auto___25788 < len__4499__auto___25787)){ +args__4502__auto__.push((arguments[i__4500__auto___25788])); + +var G__25789 = (i__4500__auto___25788 + (1)); +i__4500__auto___25788 = G__25789; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.keyword_ns.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25786)) +; + +cljs.spec.gen.alpha.keyword_ns.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25786){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25786); +});})(g__19106__auto___25786)) +; + +cljs.spec.gen.alpha.keyword_ns.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.keyword_ns.cljs$lang$applyTo = ((function (g__19106__auto___25786){ +return (function (seq25735){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25735)); +});})(g__19106__auto___25786)) +; + + +var g__19106__auto___25790 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25790){ +return (function cljs$spec$gen$alpha$large_integer(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25791 = arguments.length; +var i__4500__auto___25792 = (0); +while(true){ +if((i__4500__auto___25792 < len__4499__auto___25791)){ +args__4502__auto__.push((arguments[i__4500__auto___25792])); + +var G__25793 = (i__4500__auto___25792 + (1)); +i__4500__auto___25792 = G__25793; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.large_integer.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25790)) +; + +cljs.spec.gen.alpha.large_integer.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25790){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25790); +});})(g__19106__auto___25790)) +; + +cljs.spec.gen.alpha.large_integer.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.large_integer.cljs$lang$applyTo = ((function (g__19106__auto___25790){ +return (function (seq25736){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25736)); +});})(g__19106__auto___25790)) +; + + +var g__19106__auto___25794 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25794){ +return (function cljs$spec$gen$alpha$ratio(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25795 = arguments.length; +var i__4500__auto___25796 = (0); +while(true){ +if((i__4500__auto___25796 < len__4499__auto___25795)){ +args__4502__auto__.push((arguments[i__4500__auto___25796])); + +var G__25797 = (i__4500__auto___25796 + (1)); +i__4500__auto___25796 = G__25797; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.ratio.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25794)) +; + +cljs.spec.gen.alpha.ratio.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25794){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25794); +});})(g__19106__auto___25794)) +; + +cljs.spec.gen.alpha.ratio.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.ratio.cljs$lang$applyTo = ((function (g__19106__auto___25794){ +return (function (seq25737){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25737)); +});})(g__19106__auto___25794)) +; + + +var g__19106__auto___25798 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25798){ +return (function cljs$spec$gen$alpha$simple_type(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25799 = arguments.length; +var i__4500__auto___25800 = (0); +while(true){ +if((i__4500__auto___25800 < len__4499__auto___25799)){ +args__4502__auto__.push((arguments[i__4500__auto___25800])); + +var G__25801 = (i__4500__auto___25800 + (1)); +i__4500__auto___25800 = G__25801; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.simple_type.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25798)) +; + +cljs.spec.gen.alpha.simple_type.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25798){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25798); +});})(g__19106__auto___25798)) +; + +cljs.spec.gen.alpha.simple_type.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.simple_type.cljs$lang$applyTo = ((function (g__19106__auto___25798){ +return (function (seq25738){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25738)); +});})(g__19106__auto___25798)) +; + + +var g__19106__auto___25802 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25802){ +return (function cljs$spec$gen$alpha$simple_type_printable(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25803 = arguments.length; +var i__4500__auto___25804 = (0); +while(true){ +if((i__4500__auto___25804 < len__4499__auto___25803)){ +args__4502__auto__.push((arguments[i__4500__auto___25804])); + +var G__25805 = (i__4500__auto___25804 + (1)); +i__4500__auto___25804 = G__25805; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.simple_type_printable.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25802)) +; + +cljs.spec.gen.alpha.simple_type_printable.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25802){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25802); +});})(g__19106__auto___25802)) +; + +cljs.spec.gen.alpha.simple_type_printable.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.simple_type_printable.cljs$lang$applyTo = ((function (g__19106__auto___25802){ +return (function (seq25739){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25739)); +});})(g__19106__auto___25802)) +; + + +var g__19106__auto___25806 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25806){ +return (function cljs$spec$gen$alpha$string(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25807 = arguments.length; +var i__4500__auto___25808 = (0); +while(true){ +if((i__4500__auto___25808 < len__4499__auto___25807)){ +args__4502__auto__.push((arguments[i__4500__auto___25808])); + +var G__25809 = (i__4500__auto___25808 + (1)); +i__4500__auto___25808 = G__25809; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.string.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25806)) +; + +cljs.spec.gen.alpha.string.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25806){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25806); +});})(g__19106__auto___25806)) +; + +cljs.spec.gen.alpha.string.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.string.cljs$lang$applyTo = ((function (g__19106__auto___25806){ +return (function (seq25740){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25740)); +});})(g__19106__auto___25806)) +; + + +var g__19106__auto___25810 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25810){ +return (function cljs$spec$gen$alpha$string_ascii(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25811 = arguments.length; +var i__4500__auto___25812 = (0); +while(true){ +if((i__4500__auto___25812 < len__4499__auto___25811)){ +args__4502__auto__.push((arguments[i__4500__auto___25812])); + +var G__25813 = (i__4500__auto___25812 + (1)); +i__4500__auto___25812 = G__25813; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.string_ascii.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25810)) +; + +cljs.spec.gen.alpha.string_ascii.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25810){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25810); +});})(g__19106__auto___25810)) +; + +cljs.spec.gen.alpha.string_ascii.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.string_ascii.cljs$lang$applyTo = ((function (g__19106__auto___25810){ +return (function (seq25741){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25741)); +});})(g__19106__auto___25810)) +; + + +var g__19106__auto___25814 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25814){ +return (function cljs$spec$gen$alpha$string_alphanumeric(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25815 = arguments.length; +var i__4500__auto___25816 = (0); +while(true){ +if((i__4500__auto___25816 < len__4499__auto___25815)){ +args__4502__auto__.push((arguments[i__4500__auto___25816])); + +var G__25817 = (i__4500__auto___25816 + (1)); +i__4500__auto___25816 = G__25817; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.string_alphanumeric.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25814)) +; + +cljs.spec.gen.alpha.string_alphanumeric.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25814){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25814); +});})(g__19106__auto___25814)) +; + +cljs.spec.gen.alpha.string_alphanumeric.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.string_alphanumeric.cljs$lang$applyTo = ((function (g__19106__auto___25814){ +return (function (seq25742){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25742)); +});})(g__19106__auto___25814)) +; + + +var g__19106__auto___25818 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25818){ +return (function cljs$spec$gen$alpha$symbol(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25819 = arguments.length; +var i__4500__auto___25820 = (0); +while(true){ +if((i__4500__auto___25820 < len__4499__auto___25819)){ +args__4502__auto__.push((arguments[i__4500__auto___25820])); + +var G__25821 = (i__4500__auto___25820 + (1)); +i__4500__auto___25820 = G__25821; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.symbol.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25818)) +; + +cljs.spec.gen.alpha.symbol.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25818){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25818); +});})(g__19106__auto___25818)) +; + +cljs.spec.gen.alpha.symbol.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.symbol.cljs$lang$applyTo = ((function (g__19106__auto___25818){ +return (function (seq25743){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25743)); +});})(g__19106__auto___25818)) +; + + +var g__19106__auto___25822 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25822){ +return (function cljs$spec$gen$alpha$symbol_ns(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25823 = arguments.length; +var i__4500__auto___25824 = (0); +while(true){ +if((i__4500__auto___25824 < len__4499__auto___25823)){ +args__4502__auto__.push((arguments[i__4500__auto___25824])); + +var G__25825 = (i__4500__auto___25824 + (1)); +i__4500__auto___25824 = G__25825; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.symbol_ns.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25822)) +; + +cljs.spec.gen.alpha.symbol_ns.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25822){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25822); +});})(g__19106__auto___25822)) +; + +cljs.spec.gen.alpha.symbol_ns.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.symbol_ns.cljs$lang$applyTo = ((function (g__19106__auto___25822){ +return (function (seq25744){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25744)); +});})(g__19106__auto___25822)) +; + + +var g__19106__auto___25826 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if(((typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== '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.str.cljs$core$IFn$_invoke$arity$1(cljs.core.namespace.call(null,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 (g__19106__auto___25826){ +return (function cljs$spec$gen$alpha$uuid(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___25827 = arguments.length; +var i__4500__auto___25828 = (0); +while(true){ +if((i__4500__auto___25828 < len__4499__auto___25827)){ +args__4502__auto__.push((arguments[i__4500__auto___25828])); + +var G__25829 = (i__4500__auto___25828 + (1)); +i__4500__auto___25828 = G__25829; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.uuid.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +});})(g__19106__auto___25826)) +; + +cljs.spec.gen.alpha.uuid.cljs$core$IFn$_invoke$arity$variadic = ((function (g__19106__auto___25826){ +return (function (args){ +return cljs.core.deref.call(null,g__19106__auto___25826); +});})(g__19106__auto___25826)) +; + +cljs.spec.gen.alpha.uuid.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.uuid.cljs$lang$applyTo = ((function (g__19106__auto___25826){ +return (function (seq25745){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25745)); +});})(g__19106__auto___25826)) +; + +/** + * 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__4502__auto__ = []; +var len__4499__auto___25832 = arguments.length; +var i__4500__auto___25833 = (0); +while(true){ +if((i__4500__auto___25833 < len__4499__auto___25832)){ +args__4502__auto__.push((arguments[i__4500__auto___25833])); + +var G__25834 = (i__4500__auto___25833 + (1)); +i__4500__auto___25833 = G__25834; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.cat.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +cljs.spec.gen.alpha.cat.cljs$core$IFn$_invoke$arity$variadic = (function (gens){ +return cljs.spec.gen.alpha.fmap.call(null,(function (p1__25830_SHARP_){ +return cljs.core.apply.call(null,cljs.core.concat,p1__25830_SHARP_); +}),cljs.core.apply.call(null,cljs.spec.gen.alpha.tuple,gens)); +}); + +cljs.spec.gen.alpha.cat.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +cljs.spec.gen.alpha.cat.cljs$lang$applyTo = (function (seq25831){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq25831)); +}); + +cljs.spec.gen.alpha.qualified_QMARK_ = (function cljs$spec$gen$alpha$qualified_QMARK_(ident){ +return !((cljs.core.namespace.call(null,ident) == null)); +}); +cljs.spec.gen.alpha.gen_builtins = (new cljs.core.Delay((function (){ +var simple = cljs.spec.gen.alpha.simple_type_printable.call(null); +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.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.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.call(null,cljs.spec.gen.alpha.qualified_QMARK_,cljs.spec.gen.alpha.keyword_ns.call(null)),cljs.spec.gen.alpha.list.call(null,simple),cljs.spec.gen.alpha.vector.call(null,simple),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.return$.call(null,null),cljs.spec.gen.alpha.any_printable.call(null)], null)),cljs.spec.gen.alpha.boolean$.call(null),cljs.spec.gen.alpha.char$.call(null),cljs.spec.gen.alpha.fmap.call(null,((function (simple){ +return (function (p1__25835_SHARP_){ +return (new Date(p1__25835_SHARP_)); +});})(simple)) +,cljs.spec.gen.alpha.large_integer.call(null)),cljs.spec.gen.alpha.symbol.call(null),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.list.call(null,simple),cljs.spec.gen.alpha.vector.call(null,simple)], null)),cljs.spec.gen.alpha.double$.call(null),cljs.spec.gen.alpha.set.call(null,simple),cljs.spec.gen.alpha.map.call(null,simple,simple),cljs.spec.gen.alpha.elements.call(null,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)),cljs.spec.gen.alpha.string_alphanumeric.call(null),cljs.spec.gen.alpha.double$.call(null),cljs.spec.gen.alpha.large_integer.call(null),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.map.call(null,simple,simple),cljs.spec.gen.alpha.vector.call(null,simple)], null)),cljs.spec.gen.alpha.keyword_ns.call(null),cljs.spec.gen.alpha.vector.call(null,simple),cljs.spec.gen.alpha.return$.call(null,(0)),cljs.spec.gen.alpha.keyword.call(null),cljs.spec.gen.alpha.large_integer_STAR_.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"max","max",61366548),(-1)], null)),cljs.spec.gen.alpha.return$.call(null,null),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.keyword_ns.call(null),cljs.spec.gen.alpha.symbol_ns.call(null)], null)),cljs.spec.gen.alpha.such_that.call(null,cljs.spec.gen.alpha.qualified_QMARK_,cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.keyword_ns.call(null),cljs.spec.gen.alpha.symbol_ns.call(null)], null))),cljs.spec.gen.alpha.return$.call(null,true),cljs.spec.gen.alpha.large_integer.call(null),cljs.spec.gen.alpha.large_integer_STAR_.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"min","min",444991522),(0)], null)),cljs.spec.gen.alpha.large_integer_STAR_.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"min","min",444991522),(1)], null)),cljs.spec.gen.alpha.uuid.call(null),cljs.spec.gen.alpha.return$.call(null,false),cljs.spec.gen.alpha.list.call(null,simple),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.keyword.call(null),cljs.spec.gen.alpha.symbol.call(null)], null)),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.large_integer.call(null),cljs.spec.gen.alpha.double$.call(null)], null)),cljs.spec.gen.alpha.such_that.call(null,cljs.spec.gen.alpha.qualified_QMARK_,cljs.spec.gen.alpha.symbol_ns.call(null)),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.return$.call(null,null),cljs.spec.gen.alpha.list.call(null,simple),cljs.spec.gen.alpha.vector.call(null,simple),cljs.spec.gen.alpha.map.call(null,simple,simple),cljs.spec.gen.alpha.set.call(null,simple),cljs.spec.gen.alpha.string_alphanumeric.call(null)], null)),cljs.spec.gen.alpha.symbol_ns.call(null),cljs.spec.gen.alpha.one_of.call(null,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.map.call(null,simple,simple),cljs.spec.gen.alpha.list.call(null,simple),cljs.spec.gen.alpha.vector.call(null,simple),cljs.spec.gen.alpha.set.call(null,simple)], null))]); +}),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_.call(null,pred)){ +return cljs.spec.gen.alpha.elements.call(null,pred); +} else { +return cljs.core.get.call(null,cljs.core.deref.call(null,cljs.spec.gen.alpha.gen_builtins),pred); +} +}); + +//# sourceMappingURL=alpha.js.map?rel=1628501145053 diff --git a/examples/resources/public/js/out/cljs/spec/gen/alpha.js.map b/examples/resources/public/js/out/cljs/spec/gen/alpha.js.map new file mode 100644 index 0000000..a9ecec7 --- /dev/null +++ b/examples/resources/public/js/out/cljs/spec/gen/alpha.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/spec\/gen\/alpha.js","sources":["alpha.cljs?rel=1628501145061"],"lineCount":2200,"mappings":";AAQA;;;AAOA,AAAA;;;;;;;;;;;AAAA,AAAA,AAAA,AAAA,wEAAA,xEAASI,mFAEEI;;AAFX,AAAA,gBAAA,ZAEWA;AAFX,AAGI,GAAA,EAAQ,kBAAA,jBAAMD;AACZA;;AACA,IAAME,IAAE,AAACH;AAAT,AACE,GAAU,MAAA,LAAMG;AAA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AAAClH,qCAAOkH,n7BACtC,qCAAA,rCAAChG,wHAAQ,AAAC9B,mCAAK8H,QAAQ,AAAClH,qCAAOkH;GAjDhD;AAqDF;;;mCAAA,nCAAMyC,8EAEHC;AAFH,AAGE,GAAI,AAACX,+BAAKW;AACR,OAACnJ,uCAASmJ;;AACV,+BAAA,AAAAnM,xBAACoM,kDAAK7C,kCAAa4C;;;AAEvB","names":["this__4161__auto__","writer__4162__auto__","opt__4163__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","clojure\/test","js\/Error","cljs.core\/namespace","clojure.test.check\/quick-check","var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.spec.gen.alpha\/quick-check","seq25619","self__4487__auto__","cljs.core\/seq","args","cljs.core\/deref","cljs.core\/apply","cljs.spec.gen.alpha\/for-all*-ref","clojure\/test.check","clojure.test.check.properties\/for-all*","cljs.spec.gen.alpha\/for-all*","seq25623","g?","clojure.test.check.generators\/generator?","g","clojure.test.check.generators\/generate","mkg","clojure.test.check.generators\/->Generator","cljs.spec.gen.alpha\/generator?","cljs.spec.gen.alpha\/generator","gfn","cljs.spec.gen.alpha\/generate","generator","cljs.spec.gen.alpha\/delay-impl","gfnd","rnd","size","g__19093__auto__","clojure.test.check.generators\/hash-map","cljs.spec.gen.alpha\/hash-map","seq25630","clojure.test.check.generators\/list","cljs.spec.gen.alpha\/list","seq25631","clojure.test.check.generators\/map","cljs.spec.gen.alpha\/map","seq25632","clojure.test.check.generators\/not-empty","cljs.spec.gen.alpha\/not-empty","seq25633","clojure.test.check.generators\/set","cljs.spec.gen.alpha\/set","seq25634","clojure.test.check.generators\/vector","cljs.spec.gen.alpha\/vector","seq25635","clojure.test.check.generators\/vector-distinct","cljs.spec.gen.alpha\/vector-distinct","seq25636","clojure.test.check.generators\/fmap","cljs.spec.gen.alpha\/fmap","seq25637","clojure.test.check.generators\/elements","cljs.spec.gen.alpha\/elements","seq25638","clojure.test.check.generators\/bind","cljs.spec.gen.alpha\/bind","seq25639","clojure.test.check.generators\/choose","cljs.spec.gen.alpha\/choose","seq25640","clojure.test.check.generators\/one-of","cljs.spec.gen.alpha\/one-of","seq25641","clojure.test.check.generators\/such-that","cljs.spec.gen.alpha\/such-that","seq25642","clojure.test.check.generators\/tuple","cljs.spec.gen.alpha\/tuple","seq25643","clojure.test.check.generators\/sample","cljs.spec.gen.alpha\/sample","seq25644","clojure.test.check.generators\/return","cljs.spec.gen.alpha\/return","seq25645","clojure.test.check.generators\/large-integer*","cljs.spec.gen.alpha\/large-integer*","seq25646","clojure.test.check.generators\/double*","cljs.spec.gen.alpha\/double*","seq25647","clojure.test.check.generators\/frequency","cljs.spec.gen.alpha\/frequency","seq25648","g__19106__auto__","clojure.test.check.generators\/any","cljs.spec.gen.alpha\/any","seq25725","clojure.test.check.generators\/any-printable","cljs.spec.gen.alpha\/any-printable","seq25726","clojure.test.check.generators\/boolean","cljs.spec.gen.alpha\/boolean","seq25727","clojure.test.check.generators\/char","cljs.spec.gen.alpha\/char","seq25728","clojure.test.check.generators\/char-alpha","cljs.spec.gen.alpha\/char-alpha","seq25729","clojure.test.check.generators\/char-alphanumeric","cljs.spec.gen.alpha\/char-alphanumeric","seq25730","clojure.test.check.generators\/char-ascii","cljs.spec.gen.alpha\/char-ascii","seq25731","clojure.test.check.generators\/double","cljs.spec.gen.alpha\/double","seq25732","clojure.test.check.generators\/int","cljs.spec.gen.alpha\/int","seq25733","clojure.test.check.generators\/keyword","cljs.spec.gen.alpha\/keyword","seq25734","clojure.test.check.generators\/keyword-ns","cljs.spec.gen.alpha\/keyword-ns","seq25735","clojure.test.check.generators\/large-integer","cljs.spec.gen.alpha\/large-integer","seq25736","clojure.test.check.generators\/ratio","cljs.spec.gen.alpha\/ratio","seq25737","clojure.test.check.generators\/simple-type","cljs.spec.gen.alpha\/simple-type","seq25738","clojure.test.check.generators\/simple-type-printable","cljs.spec.gen.alpha\/simple-type-printable","seq25739","clojure.test.check.generators\/string","cljs.spec.gen.alpha\/string","seq25740","clojure.test.check.generators\/string-ascii","cljs.spec.gen.alpha\/string-ascii","seq25741","clojure.test.check.generators\/string-alphanumeric","cljs.spec.gen.alpha\/string-alphanumeric","seq25742","clojure.test.check.generators\/symbol","cljs.spec.gen.alpha\/symbol","seq25743","clojure.test.check.generators\/symbol-ns","cljs.spec.gen.alpha\/symbol-ns","seq25744","clojure.test.check.generators\/uuid","cljs.spec.gen.alpha\/uuid","seq25745","cljs.spec.gen.alpha\/cat","seq25831","gens","p1__25830#","cljs.core\/concat","cljs.spec.gen.alpha\/qualified?","ident","cljs.spec.gen.alpha\/gen-builtins","cljs.core\/Delay","simple","cljs.core\/any?","cljs.core\/number?","cljs.core\/integer?","cljs.core\/int?","cljs.core\/pos-int?","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\/inst?","p1__25835#","js\/Date","cljs.core\/seqable?","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.core\/associative?","cljs.core\/sequential?","cljs.spec.gen.alpha\/gen-for-pred","pred","cljs.core\/get"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader.cljs b/examples/resources/public/js/out/cljs/tools/reader.cljs new file mode 100644 index 0000000..4a89700 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader.cljs @@ -0,0 +1,956 @@ +;; Copyright (c) Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns ^{:doc "A clojure reader in clojure" + :author "Bronsa"} + cljs.tools.reader + (:refer-clojure :exclude [read read-line read-string char read+string + default-data-readers *default-data-reader-fn* + *data-readers* *suppress-read*]) + (:require-macros [cljs.tools.reader.reader-types :refer [log-source]]) + (:require [cljs.tools.reader.reader-types :refer + [read-char unread peek-char indexing-reader? + get-line-number get-column-number get-file-name + string-push-back-reader]] + [cljs.tools.reader.impl.utils :refer + [char ex-info? whitespace? numeric? desugar-meta next-id namespace-keys second' + ReaderConditional reader-conditional reader-conditional?]] + [cljs.tools.reader.impl.commons :refer + [number-literal? read-past match-number parse-symbol read-comment throwing-reader]] + [cljs.tools.reader.impl.errors :as err] + [goog.array :as garray] + [goog.string :as gstring]) + (:import goog.string.StringBuffer)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; helpers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(declare ^:private read* + macros dispatch-macros + ^:dynamic *data-readers* + ^:dynamic *default-data-reader-fn* + ^:dynamic *suppress-read* + default-data-readers) + +(defn- ^boolean macro-terminating? [ch] + (case ch + (\" \; \@ \^ \` \~ \( \) \[ \] \{ \} \\) true + false)) + +(def sb (StringBuffer.)) + +(defn- read-token + "Read in a single logical token from the reader" + [^not-native rdr kind initch] + (if (nil? initch) + (err/throw-eof-at-start rdr kind) + (do + (.clear sb) + (loop [ch initch] + (if (or (whitespace? ch) + (macro-terminating? ch) + (nil? ch)) + (do + (when-not (nil? ch) + (unread rdr ch)) + (.toString sb)) + (do + (.append sb ch) + (recur (read-char rdr)))))))) + +(declare read-tagged) + +(defn- read-dispatch + [^not-native rdr _ opts pending-forms] + (if-let [ch (read-char rdr)] + (if-let [dm (dispatch-macros ch)] + (dm rdr ch opts pending-forms) + (read-tagged (doto rdr (unread ch)) ch opts pending-forms)) ;; ctor reader is implemented as a tagged literal + (err/throw-eof-at-dispatch rdr))) + +(defn- read-unmatched-delimiter + [rdr ch opts pending-forms] + (err/throw-unmatch-delimiter rdr ch)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; readers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn read-regex + [^not-native rdr ch opts pending-forms] + (let [sb (StringBuffer.)] + (loop [ch (read-char rdr)] + (if (identical? \" ch) + (re-pattern (str sb)) + (if (nil? ch) + (err/throw-eof-reading rdr :regex sb) + (do + (.append sb ch ) + (when (identical? \\ ch) + (let [ch (read-char rdr)] + (if (nil? ch) + (err/throw-eof-reading rdr :regex sb)) + (.append sb ch))) + (recur (read-char rdr)))))))) + +(defn- char-code [ch base] + (let [code (js/parseInt ch base)] + (if (js/isNaN code) + -1 + code))) + +(defn- read-unicode-char + ([token offset length base] + (let [l (+ offset length)] + (when-not (== (count token) l) + (err/throw-invalid-unicode-literal nil token)) + (loop [i offset uc 0] + (if (== i l) + (js/String.fromCharCode uc) + (let [d (char-code (nth token i) base)] + (if (== d -1) + (err/throw-invalid-unicode-digit-in-token nil (nth token i) token) + (recur (inc i) (+ d (* uc base))))))))) + + ([^not-native rdr initch base length exact?] + (loop [i 1 uc (char-code initch base)] + (if (== uc -1) + (err/throw-invalid-unicode-digit rdr initch) + (if-not (== i length) + (let [ch (peek-char rdr)] + (if (or (whitespace? ch) + (macros ch) + (nil? ch)) + (if exact? + (err/throw-invalid-unicode-len rdr i length) + (js/String.fromCharCode uc)) + (let [d (char-code ch base)] + (read-char rdr) + (if (== d -1) + (err/throw-invalid-unicode-digit rdr ch) + (recur (inc i) (+ d (* uc base))))))) + (js/String.fromCharCode uc)))))) + +(def ^:private ^:const upper-limit (.charCodeAt \uD7ff 0)) +(def ^:private ^:const lower-limit (.charCodeAt \uE000 0)) + +(defn- valid-octal? [token base] + (<= (js/parseInt token base) 0377)) + +(defn- read-char* + "Read in a character literal" + [^not-native rdr backslash opts pending-forms] + (let [ch (read-char rdr)] + (if-not (nil? ch) + (let [token (if (or (macro-terminating? ch) + (whitespace? ch)) + (str ch) + (read-token rdr :character ch)) + token-len (. token -length)] + (cond + + (== 1 token-len) (.charAt token 0) ;;; no char type - so can't ensure/cache char + + (= token "newline") \newline + (= token "space") \space + (= token "tab") \tab + (= token "backspace") \backspace + (= token "formfeed") \formfeed + (= token "return") \return + + (gstring/startsWith token "u") + (let [c (read-unicode-char token 1 4 16) + ic (.charCodeAt c 0)] + (if (and (> ic upper-limit) + (< ic lower-limit)) + (err/throw-invalid-character-literal rdr (.toString ic 16)) + c)) + + (gstring/startsWith token "o") + (let [len (dec token-len)] + (if (> len 3) + (err/throw-invalid-octal-len rdr token) + (let [offset 1 + base 8 + uc (read-unicode-char token offset len base)] + (if-not (valid-octal? (subs token offset) base) + (err/throw-bad-octal-number rdr) + uc)))) + + :else (err/throw-unsupported-character rdr token))) + (err/throw-eof-in-character rdr)))) + +(defn- starting-line-col-info [^not-native rdr] + (when (indexing-reader? rdr) + [(get-line-number rdr) (int (dec (get-column-number rdr)))])) + +(defn- ending-line-col-info [^not-native rdr] + (when (indexing-reader? rdr) + [(get-line-number rdr) (get-column-number rdr)])) + +(defonce ^:private READ_EOF (js/Object.)) +(defonce ^:private READ_FINISHED (js/Object.)) + +(def ^:dynamic *read-delim* false) + +(defn- read-delimited-internal [kind delim rdr opts pending-forms] + (let [[start-line start-column] (starting-line-col-info rdr) + delim (char delim)] + (loop [a (transient [])] + (let [form (read* rdr false READ_EOF delim opts pending-forms)] + (if (identical? form READ_FINISHED) + (persistent! a) + (if (identical? form READ_EOF) + (err/throw-eof-delimited rdr kind start-line start-column (count a)) + (recur (conj! a form)))))))) + +(defn- read-delimited + "Reads and returns a collection ended with delim" + [kind delim rdr opts pending-forms] + (binding [*read-delim* true] + (read-delimited-internal kind delim rdr opts pending-forms))) + +(defn- read-list + "Read in a list, including its location if the reader is an indexing reader" + [rdr _ opts pending-forms] + (let [[start-line start-column] (starting-line-col-info rdr) + the-list (read-delimited :list \) rdr opts pending-forms) + [end-line end-column] (ending-line-col-info rdr)] + (with-meta (if (empty? the-list) + '() + (apply list the-list)) + (when start-line + (merge + (when-let [file (get-file-name rdr)] + {:file file}) + {:line start-line + :column start-column + :end-line end-line + :end-column end-column}))))) + +(defn- read-vector + "Read in a vector, including its location if the reader is an indexing reader" + [rdr _ opts pending-forms] + (let [[start-line start-column] (starting-line-col-info rdr) + the-vector (read-delimited :vector \] rdr opts pending-forms) + [end-line end-column] (ending-line-col-info rdr)] + (with-meta the-vector + (when start-line + (merge + (when-let [file (get-file-name rdr)] + {:file file}) + {:line start-line + :column start-column + :end-line end-line + :end-column end-column}))))) + +(defn- read-map + "Read in a map, including its location if the reader is an indexing reader" + [rdr _ opts pending-forms] + (let [[start-line start-column] (starting-line-col-info rdr) + the-map (read-delimited :map \} rdr opts pending-forms) + map-count (count the-map) + ks (take-nth 2 the-map) + key-set (set ks) + [end-line end-column] (ending-line-col-info rdr)] + (when (odd? map-count) + (err/throw-odd-map rdr start-line start-column the-map)) + (when-not (= (count key-set) (count ks)) + (err/throw-dup-keys rdr :map ks)) + (with-meta + (if (<= map-count (* 2 (.-HASHMAP-THRESHOLD cljs.core/PersistentArrayMap))) + (.fromArray cljs.core/PersistentArrayMap (to-array the-map) true true) + (.fromArray cljs.core/PersistentHashMap (to-array the-map) true)) + (when start-line + (merge + (when-let [file (get-file-name rdr)] + {:file file}) + {:line start-line + :column start-column + :end-line end-line + :end-column end-column}))))) + +(defn- read-number + [^not-native rdr initch] + (loop [sb (doto (StringBuffer.) (.append initch)) + ch (read-char rdr)] + (if (or (whitespace? ch) (macros ch) (nil? ch)) + (let [s (str sb)] + (unread rdr ch) + (or (match-number s) + (err/throw-invalid-number rdr s))) + (recur (doto sb (.append ch)) (read-char rdr))))) + +(defn- escape-char [sb ^not-native rdr] + (let [ch (read-char rdr)] + (case ch + \t "\t" + \r "\r" + \n "\n" + \\ "\\" + \" "\"" + \b "\b" + \f "\f" + \u (let [ch (read-char rdr)] + (if (== -1 (js/parseInt (int ch) 16)) + (err/throw-invalid-unicode-escape rdr ch) + (read-unicode-char rdr ch 16 4 true))) + (if (numeric? ch) + (let [ch (read-unicode-char rdr ch 8 3 false)] + (if (> (int ch) 0377) + (err/throw-bad-octal-number rdr) + ch)) + (err/throw-bad-escape-char rdr ch))))) + +(defn- read-string* + [^not-native reader _ opts pending-forms] + (loop [sb (StringBuffer.) + ch (read-char reader)] + (if (nil? ch) + (err/throw-eof-reading reader :string \" sb) + (case ch + \\ (recur (doto sb (.append (escape-char sb reader))) + (read-char reader)) + \" (str sb) + (recur (doto sb (.append ch)) (read-char reader)))))) + +(defn- loc-info [rdr line column] + (when-not (nil? line) + (let [file (get-file-name rdr) + filem (when-not (nil? file) {:file file}) + [end-line end-column] (ending-line-col-info rdr) + lcm {:line line + :column column + :end-line end-line + :end-column end-column}] + (merge filem lcm)))) + +(defn- read-symbol + [rdr initch] + (let [[line column] (starting-line-col-info rdr) + token (read-token rdr :symbol initch)] + (when-not (nil? token) + (case token + + ;; special symbols + "nil" nil + "true" true + "false" false + "/" '/ + + (let [^not-native p (parse-symbol token)] + (if-not (nil? p) + (let [^not-native sym (symbol (-nth p 0) (-nth p 1))] + (-with-meta sym (loc-info rdr line column))) + (err/throw-invalid rdr :symbol token))))))) + +(def ^:dynamic *alias-map* + "Map from ns alias to ns, if non-nil, it will be used to resolve read-time + ns aliases. + + Defaults to nil" + nil) + +(defn- resolve-alias [sym] + (get *alias-map* sym)) + +(defn- resolve-ns [sym] + (or (resolve-alias sym) + (when-let [ns (find-ns sym)] + (symbol (ns-name ns))))) + +(defn- read-keyword + [^not-native reader initch opts pending-forms] + (let [ch (read-char reader)] + (if-not (whitespace? ch) + (let [token (read-token reader :keyword ch) + ^not-native s (parse-symbol token)] + (if-not (nil? s) + (let [ns (-nth s 0) + name (-nth s 1)] + (if (identical? \: (.charAt token 0)) + (if-not (nil? ns) + (if-let [ns (resolve-alias (symbol (subs ns 1)))] + (keyword (str ns) name) + (err/throw-invalid reader :keyword (str \: token))) + (if-let [ns *ns*] + (keyword (str ns) (subs name 1)) + (err/reader-error reader "Invalid token: :" token))) + (keyword ns name))) + (err/throw-invalid reader :keyword (str \: token)))) + (err/throw-single-colon reader)))) + +(defn- wrapping-reader + "Returns a function which wraps a reader in a call to sym" + [sym] + (fn [rdr _ opts pending-forms] + (list sym (read* rdr true nil opts pending-forms)))) + +(defn- read-meta + "Read metadata and return the following object with the metadata applied" + [rdr _ opts pending-forms] + (log-source rdr + (let [[line column] (starting-line-col-info rdr) + m (desugar-meta (read* rdr true nil opts pending-forms))] + (when-not (map? m) + (err/throw-bad-metadata rdr m)) + (let [o (read* rdr true nil opts pending-forms)] + (if (implements? IMeta o) + (let [m (if (and line (seq? o)) + (assoc m :line line :column column) + m)] + (if (implements? IWithMeta o) + (with-meta o (merge (meta o) m)) + (reset-meta! o m))) + (err/throw-bad-metadata-target rdr o)))))) + +(defn- read-set + [rdr _ opts pending-forms] + (let [[start-line start-column] (starting-line-col-info rdr) + ;; subtract 1 from start-column so it includes the # in the leading #{ + start-column (if start-column (int (dec start-column))) + coll (read-delimited :set \} rdr opts pending-forms) + the-set (set coll) + [end-line end-column] (ending-line-col-info rdr)] + (when-not (= (count coll) (count the-set)) + (err/reader-error rdr (err/throw-dup-keys rdr :set coll))) + (with-meta the-set + (when start-line + (merge + (when-let [file (get-file-name rdr)] + {:file file}) + {:line start-line + :column start-column + :end-line end-line + :end-column end-column}))))) + +(defn- read-discard + "Read and discard the first object from rdr" + [rdr _ opts pending-forms] + (doto rdr + (read* true nil opts pending-forms))) + +(defn- read-symbolic-value + [rdr _ opts pending-forms] + (let [sym (read* rdr true nil opts pending-forms)] + (case sym + + NaN js/Number.NaN + -Inf js/Number.NEGATIVE_INFINITY + Inf js/Number.POSITIVE_INFINITY + + (err/reader-error rdr (str "Invalid token: ##" sym))))) + +(def ^:private RESERVED_FEATURES #{:else :none}) + +(defn- has-feature? + [rdr feature opts] + (if (keyword? feature) + (or (= :default feature) (contains? (get opts :features) feature)) + (err/reader-error rdr "Feature should be a keyword: " feature))) + +(defn- check-eof-error + [form rdr first-line] + (when (identical? form READ_EOF) + (err/throw-eof-error rdr (and (< first-line 0) first-line)))) + +(defn- check-reserved-features + [rdr form] + (when (get RESERVED_FEATURES form) + (err/reader-error rdr "Feature name " form " is reserved"))) + +(defn- check-invalid-read-cond + [form rdr first-line] + (when (identical? form READ_FINISHED) + (if (< first-line 0) + (err/reader-error rdr "read-cond requires an even number of forms") + (err/reader-error rdr "read-cond starting on line " first-line " requires an even number of forms")))) + +(defn- read-suppress + "Read next form and suppress. Return nil or READ_FINISHED." + [first-line rdr opts pending-forms] + (binding [*suppress-read* true] + (let [form (read* rdr false READ_EOF \) opts pending-forms)] + (check-eof-error form rdr first-line) + (when (identical? form READ_FINISHED) + READ_FINISHED)))) + +(defonce ^:private NO_MATCH (js/Object.)) + +(defn- match-feature + "Read next feature. If matched, read next form and return. + Otherwise, read and skip next form, returning READ_FINISHED or nil." + [first-line rdr opts pending-forms] + (let [feature (read* rdr false READ_EOF \) opts pending-forms)] + (check-eof-error feature rdr first-line) + (if (= feature READ_FINISHED) + READ_FINISHED + (do + (check-reserved-features rdr feature) + (if (has-feature? rdr feature opts) + ;; feature matched, read selected form + (doto (read* rdr false READ_EOF \) opts pending-forms) + (check-eof-error rdr first-line) + (check-invalid-read-cond rdr first-line)) + ;; feature not matched, ignore next form + (or (read-suppress first-line rdr opts pending-forms) + NO_MATCH)))))) + +(defn- read-cond-delimited + [rdr splicing opts pending-forms] + (let [first-line (if (indexing-reader? rdr) (get-line-number rdr) -1) + result (loop [matched NO_MATCH + finished nil] + (cond + ;; still looking for match, read feature+form + (identical? matched NO_MATCH) + (let [match (match-feature first-line rdr opts pending-forms)] + (if (identical? match READ_FINISHED) + READ_FINISHED + (recur match nil))) + + ;; found match, just read and ignore the rest + (not (identical? finished READ_FINISHED)) + (recur matched (read-suppress first-line rdr opts pending-forms)) + + :else + matched))] + (if (identical? result READ_FINISHED) + rdr + (if splicing + (do + (if (implements? ISequential result) + (do + (garray/insertArrayAt pending-forms (to-array result) 0) + rdr) + (err/reader-error rdr "Spliced form list in read-cond-splicing must implement ISequential"))) + result)))) + +(defn- read-cond + [^not-native rdr _ opts pending-forms] + (when (not (and opts (#{:allow :preserve} (:read-cond opts)))) + (throw (ex-info "Conditional read not allowed" + {:type :runtime-exception}))) + (if-let [ch (read-char rdr)] + (let [splicing (= ch \@) + ch (if splicing (read-char rdr) ch)] + (when splicing + (when-not *read-delim* + (err/reader-error rdr "cond-splice not in list"))) + (if-let [ch (if (whitespace? ch) (read-past whitespace? rdr) ch)] + (if (not= ch \() + (throw (ex-info "read-cond body must be a list" + {:type :runtime-exception})) + (binding [*suppress-read* (or *suppress-read* (= :preserve (:read-cond opts)))] + (if *suppress-read* + (reader-conditional (read-list rdr ch opts pending-forms) splicing) + (read-cond-delimited rdr splicing opts pending-forms)))) + (err/throw-eof-in-character rdr))) + (err/throw-eof-in-character rdr))) + +(def ^:private ^:dynamic arg-env nil) + +(defn- garg + "Get a symbol for an anonymous ?argument?" + [n] + (symbol (str (if (== -1 n) "rest" (str "p" n)) + "__" (next-id) "#"))) + +(defn- read-fn + [rdr _ opts pending-forms] + (if arg-env + (throw (ex-info "Nested #()s are not allowed" {:type :illegal-state}))) + (binding [arg-env (sorted-map)] + (let [form (read* (doto rdr (unread \()) true nil opts pending-forms) ;; this sets bindings + rargs (rseq arg-env) + args (if rargs + (let [higharg (key (first rargs))] + (let [args (loop [i 1 args (transient [])] + (if (> i higharg) + (persistent! args) + (recur (inc i) (conj! args (or (get arg-env i) + (garg i)))))) + args (if (arg-env -1) + (conj args '& (arg-env -1)) + args)] + args)) + [])] + (list 'fn* args form)))) + +(defn- register-arg + "Registers an argument to the arg-env" + [n] + (if arg-env + (if-let [ret (arg-env n)] + ret + (let [g (garg n)] + (set! arg-env (assoc arg-env n g)) + g)) + (throw (ex-info "Arg literal not in #()" + {:type :illegal-state})))) ;; should never hit this + +(declare read-symbol) + +(defn- read-arg + [^not-native rdr pct opts pending-forms] + (if (nil? arg-env) + (read-symbol rdr pct) + (let [ch (peek-char rdr)] + (cond + (or (whitespace? ch) + (macro-terminating? ch) + (nil? ch)) + (register-arg 1) + + (= ch \&) + (do (read-char rdr) + (register-arg -1)) + + :else + (let [n (read* rdr true nil opts pending-forms)] + (if-not (integer? n) + (throw (ex-info "Arg literal must be %, %& or %integer" + {:type :illegal-state})) + (register-arg n))))))) + +(def ^:private ^:dynamic gensym-env nil) + +(defn- read-unquote + [^not-native rdr comma opts pending-forms] + (if-let [ch (peek-char rdr)] + (if (= \@ ch) + ((wrapping-reader 'clojure.core/unquote-splicing) (doto rdr read-char) \@ opts pending-forms) + ((wrapping-reader 'clojure.core/unquote) rdr \~ opts pending-forms)))) + +(declare syntax-quote*) + +(defn- unquote-splicing? [form] + (and (seq? form) + (= (first form) 'clojure.core/unquote-splicing))) + +(defn- unquote? [form] + (and (seq? form) + (= (first form) 'clojure.core/unquote))) + +(defn- expand-list + "Expand a list by resolving its syntax quotes and unquotes" + [s] + (loop [s (seq s) r (transient [])] + (if s + (let [item (first s) + ret (conj! r + (cond + (unquote? item) (list 'clojure.core/list (second item)) + (unquote-splicing? item) (second item) + :else (list 'clojure.core/list (syntax-quote* item))))] + (recur (next s) ret)) + (seq (persistent! r))))) + +(defn- flatten-map + "Flatten a map into a seq of alternate keys and values" + [form] + (loop [s (seq form) key-vals (transient [])] + (if s + (let [e (first s)] + (recur (next s) (-> key-vals + (conj! (key e)) + (conj! (val e))))) + (seq (persistent! key-vals))))) + +(defn- register-gensym [sym] + (if-not gensym-env + (throw (ex-info "Gensym literal not in syntax-quote" + {:type :illegal-state}))) + (or (get gensym-env sym) + (let [gs (symbol (str (subs (name sym) + 0 (dec (count (name sym)))) + "__" (next-id) "__auto__"))] + (set! gensym-env (assoc gensym-env sym gs)) + gs))) + +(defn- add-meta [form ret] + (if (and (implements? IWithMeta form) + (seq (dissoc (meta form) :line :column :end-line :end-column :file :source))) + (list 'cljs.core/with-meta ret (syntax-quote* (meta form))) + ret)) + +(defn- syntax-quote-coll [type coll] + (let [res (list 'cljs.core/sequence + (cons 'cljs.core/concat + (expand-list coll)))] + (if type + (list 'cljs.core/apply type res) + res))) + +(defn map-func + "Decide which map type to use, array-map if less than 16 elements" + [coll] + (if (>= (count coll) 16) + 'cljs.core/hash-map + 'cljs.core/array-map)) + +(defn bool? [x] + (or (instance? js/Boolean x) + (true? x) + (false? x))) + +(defn ^:dynamic resolve-symbol + "Resolve a symbol s into its fully qualified namespace version" + [s] + (throw (ex-info "resolve-symbol is not implemented" {:sym s}))) + +(defn- syntax-quote* [form] + (->> + (cond + (special-symbol? form) (list 'quote form) + + (symbol? form) + (list 'quote + (if (and (not (namespace form)) + (gstring/endsWith (name form) "#")) + (register-gensym form) + (let [sym (str form)] + (if (gstring/endsWith sym ".") + (let [csym (symbol (subs sym 0 (dec (count sym))))] + (symbol (str (resolve-symbol csym) "."))) + (resolve-symbol form))))) + + (unquote? form) (second form) + (unquote-splicing? form) (throw (ex-info "unquote-splice not in list" + {:type :illegal-state})) + + (coll? form) + (cond + + (implements? IRecord form) form + (map? form) (syntax-quote-coll (map-func form) (flatten-map form)) + (vector? form) (list 'cljs.core/vec (syntax-quote-coll nil form)) + (set? form) (syntax-quote-coll 'cljs.core/hash-set form) + (or (seq? form) (list? form)) + (let [seq (seq form)] + (if seq + (syntax-quote-coll nil seq) + '(cljs.core/list))) + + :else (throw (ex-info "Unknown Collection type" + {:type :unsupported-operation}))) + + (or (keyword? form) + (number? form) + (string? form) + (nil? form) + (bool? form) + (instance? js/RegExp form)) + form + + :else (list 'quote form)) + (add-meta form))) + +(defn- read-syntax-quote + [rdr backquote opts pending-forms] + (binding [gensym-env {}] + (-> (read* rdr true nil opts pending-forms) + syntax-quote*))) + +(defn- read-namespaced-map + [rdr _ opts pending-forms] + (let [token (read-token rdr :namespaced-map (read-char rdr))] + (if-let [ns (cond + (= token ":") + (ns-name *ns*) + + (= \: (first token)) + (some-> token (subs 1) parse-symbol second' symbol resolve-ns) + + :else + (some-> token parse-symbol second'))] + + (let [ch (read-past whitespace? rdr)] + (if (identical? ch \{) + (let [items (read-delimited :namespaced-map \} rdr opts pending-forms)] + (when (odd? (count items)) + (err/throw-odd-map rdr nil nil items)) + (let [keys (namespace-keys (str ns) (take-nth 2 items)) + vals (take-nth 2 (rest items))] + (when-not (= (count (set keys)) (count keys)) + (err/throw-dup-keys rdr :namespaced-map keys)) + (zipmap keys vals))) + (err/throw-ns-map-no-map rdr token))) + (err/throw-bad-ns rdr token)))) + +(defn- macros [ch] + (case ch + \" read-string* + \: read-keyword + \; read-comment + \' (wrapping-reader 'quote) + \@ (wrapping-reader 'clojure.core/deref) + \^ read-meta + \` read-syntax-quote + \~ read-unquote + \( read-list + \) read-unmatched-delimiter + \[ read-vector + \] read-unmatched-delimiter + \{ read-map + \} read-unmatched-delimiter + \\ read-char* + \% read-arg + \# read-dispatch + nil)) + +(defn- dispatch-macros [ch] + (case ch + \^ read-meta ;; deprecated + \' (wrapping-reader 'var) + \( read-fn + \{ read-set + \< (throwing-reader "Unreadable form") + \= (throwing-reader "read-eval not supported") + \" read-regex + \! read-comment + \_ read-discard + \? read-cond + \: read-namespaced-map + \# read-symbolic-value + nil)) + +(defn- read-tagged [^not-native rdr initch opts pending-forms] + (let [tag (read* rdr true nil opts pending-forms)] + (if-not (symbol? tag) + (err/throw-bad-reader-tag rdr tag)) + (if *suppress-read* + (tagged-literal tag (read* rdr true nil opts pending-forms)) + (if-let [f (or (*data-readers* tag) + (default-data-readers tag))] + (f (read* rdr true nil opts pending-forms)) + (if-let [f *default-data-reader-fn*] + (f tag (read* rdr true nil opts pending-forms)) + (err/throw-unknown-reader-tag rdr tag)))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Public API +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def ^:dynamic *data-readers* + "Map from reader tag symbols to data reader Vars. + Reader tags without namespace qualifiers are reserved for Clojure. + This light version of tools.reader has no implementation for default + reader tags such as #inst and #uuid." + {}) + +(def ^:dynamic *default-data-reader-fn* + "When no data reader is found for a tag and *default-data-reader-fn* + is non-nil, it will be called with two arguments, the tag and the value. + If *default-data-reader-fn* is nil (the default value), an exception + will be thrown for the unknown tag." + nil) + +(def ^:dynamic *suppress-read* false) + +(def default-data-readers + "Default map of data reader functions provided by Clojure. + May be overridden by binding *data-readers*" + {}) + +(defn- read*-internal + [^not-native reader ^boolean eof-error? sentinel return-on opts pending-forms] + (loop [] + (log-source reader + (if-not ^boolean (garray/isEmpty pending-forms) + (let [form (aget pending-forms 0)] + (garray/removeAt pending-forms 0) + form) + (let [ch (read-char reader)] + (cond + (whitespace? ch) (recur) + (nil? ch) (if eof-error? (err/throw-eof-error reader nil) sentinel) + (identical? ch return-on) READ_FINISHED + (number-literal? reader ch) (read-number reader ch) + :else (let [f (macros ch)] + (if-not (nil? f) + (let [res (f reader ch opts pending-forms)] + (if (identical? res reader) + (recur) + res)) + (read-symbol reader ch))))))))) + +(defn- read* + ([reader eof-error? sentinel opts pending-forms] + (read* reader eof-error? sentinel nil opts pending-forms)) + ([^not-native reader eof-error? sentinel return-on opts pending-forms] + (try + (read*-internal reader eof-error? sentinel return-on opts pending-forms) + (catch js/Error e + (if (ex-info? e) + (let [d (ex-data e)] + (if (= :reader-exception (:type d)) + (throw e) + (throw (ex-info (.-message e) + (merge {:type :reader-exception} + d + (if (indexing-reader? reader) + {:line (get-line-number reader) + :column (get-column-number reader) + :file (get-file-name reader)})) + e)))) + (throw (ex-info (.-message e) + (merge {:type :reader-exception} + (if (indexing-reader? reader) + {:line (get-line-number reader) + :column (get-column-number reader) + :file (get-file-name reader)})) + e))))))) + +(defn read + "Reads the first object from an IPushbackReader. + Returns the object read. If EOF, throws if eof-error? is true. + Otherwise returns sentinel. If no stream is providen, *in* will be used. + + Opts is a persistent map with valid keys: + :read-cond - :allow to process reader conditionals, or + :preserve to keep all branches + :features - persistent set of feature keywords for reader conditionals + :eof - on eof, return value unless :eofthrow, then throw. + if not specified, will throw + + To read data structures only, use clojure.tools.reader.edn/read + + Note that the function signature of clojure.tools.reader/read and + clojure.tools.reader.edn/read is not the same for eof-handling" + {:arglists '([reader] [opts reader] [reader eof-error? eof-value])} + ([reader] (read reader true nil)) + ([{eof :eof :as opts :or {eof :eofthrow}} reader] (read* reader (= eof :eofthrow) eof nil opts (to-array []))) + ([reader eof-error? sentinel] (read* reader eof-error? sentinel nil {} (to-array [])))) + +(defn read-string + "Reads one object from the string s. + Returns nil when s is nil or empty. + + To read data structures only, use clojure.tools.reader.edn/read-string + + Note that the function signature of clojure.tools.reader/read-string and + clojure.tools.reader.edn/read-string is not the same for eof-handling" + ([s] + (read-string {} s)) + ([opts s] + (when (and s (not (identical? s ""))) + (read opts (string-push-back-reader s))))) + +(defn read+string + "Like read, and taking the same args. reader must be a SourceLoggingPushbackReader. + Returns a vector containing the object read and the (whitespace-trimmed) string read." + ([reader & args] + (let [buf (fn [reader] (str (:buffer @(.-frames reader)))) + offset (count (buf reader)) + o (log-source reader (if (= 1 (count args)) + (read (first args) reader) + (apply read reader args))) + s (.trim (subs (buf reader) offset))] + [o s]))) diff --git a/examples/resources/public/js/out/cljs/tools/reader.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader.cljs.cache.json new file mode 100644 index 0000000..0dc88dc --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$parseInt",["^ "],"~$isNaN",["^ "],"~$Error",["^ "],"~$String",["^ ","~$fromCharCode",["^ "]],"~$Object",["^ "],"~$Number",["^ ","~$NaN",["^ "],"~$NEGATIVE_INFINITY",["^ "],"~$POSITIVE_INFINITY",["^ "]],"~$Boolean",["^ "],"~$RegExp",["^ "]],"~:use-macros",["^ ","~$log-source","~$cljs.tools.reader.reader-types"],"~:excludes",["~#set",["~$read+string","~$char","~$*suppress-read*","~$*default-data-reader-fn*","~$read","~$default-data-readers","~$*data-readers*","~$read-line","~$read-string"]],"~:name","~$cljs.tools.reader","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$cljs.tools.reader.impl.commons","^S","~$gstring","~$goog.string","^U","^U","~$cljs.tools.reader.impl.errors","^V","~$garray","~$goog.array","^A","^A","~$err","^V","^P","^Q","~$cljs.tools.reader.impl.utils","^Z","^X","^X"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$match-number","^S","~$reader-conditional","^Z","~$whitespace?","^Z","~$read-comment","^S","^E","^Z","~$numeric?","^Z","~$ReaderConditional","^Z","~$unread","^A","~$peek-char","^A","~$parse-symbol","^S","~$second'","^Z","~$desugar-meta","^Z","~$next-id","^Z","~$number-literal?","^S","~$read-past","^S","~$indexing-reader?","^A","~$read-char","^A","~$get-column-number","^A","~$ex-info?","^Z","~$get-file-name","^A","~$reader-conditional?","^Z","~$throwing-reader","^S","~$string-push-back-reader","^A","~$namespace-keys","^Z","~$get-line-number","^A"],"~:defs",["^ ","~$NO_MATCH",["^ ","^M","~$cljs.tools.reader/NO_MATCH","~:file","resources/public/js/out/cljs/tools/reader.cljs","~:line",484,"~:column",1,"~:end-line",484,"~:end-column",28,"~:private",true,"~:meta",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",484,"^1N",20,"^1O",484,"^1P",28,"^1Q",true],"~:tag","~$object"],"~$READ_EOF",["^ ","^M","~$cljs.tools.reader/READ_EOF","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",197,"^1N",1,"^1O",197,"^1P",28,"^1Q",true,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",197,"^1N",20,"^1O",197,"^1P",28,"^1Q",true],"^1S","^1T"],"~$unquote-splicing?",["^ ","~:protocol-inline",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",633,"^1N",8,"^1O",633,"^1P",25,"^1Q",true,"~:arglists",["~#list",["~$quote",["^1Z",[["~$form"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/unquote-splicing?","~:variadic",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",25,"~:method-params",["^1Z",[["^20"]]],"~:protocol-impl",null,"~:arglists-meta",["^1Z",[null,null]],"^1N",1,"^1M",633,"^1O",633,"~:max-fixed-arity",1,"~:fn-var",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]]],"~$read-symbolic-value",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",439,"^1N",8,"^1O",439,"^1P",27,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$rdr","~$_","~$opts","~$pending-forms"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-symbolic-value","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",27,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",439,"^1O",439,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"~$read-tagged",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",824,"^1N",8,"^1O",824,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$initch","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-tagged","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["^29","^2>","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",824,"^1O",824,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2>","^2:","^2;"]]]]]],"~$starting-line-col-info",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",189,"^1N",8,"^1O",189,"^1P",30,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/starting-line-col-info","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",30,"^23",["^1Z",[["^29"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",189,"^1O",189,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29"]]]]]],"~$wrapping-reader",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",389,"^1N",8,"^1O",389,"^1P",23,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$sym"]]]]],"~:doc","Returns a function which wraps a reader in a call to sym"],"^1Q",true,"^M","~$cljs.tools.reader/wrapping-reader","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",23,"^23",["^1Z",[["^2C"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",389,"^1O",389,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]],"^2D","Returns a function which wraps a reader in a call to sym"],"~$resolve-alias",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",360,"^1N",8,"^1O",360,"^1P",21,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/resolve-alias","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",21,"^23",["^1Z",[["^2C"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",360,"^1O",360,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]]],"^D",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",946,"^1N",7,"^1O",946,"^1P",18,"^1Y",["^1Z",["^1[",["^1Z",[["~$reader","~$&","~$args"]]]]],"^2D","Like read, and taking the same args. reader must be a SourceLoggingPushbackReader.\n Returns a vector containing the object read and the (whitespace-trimmed) string read.","~:top-fn",["^ ","^22",true,"^26",1,"^23",[["^1Z",["^2H","^2I"]]],"^1Y",["^1Z",[["^2H","~$&","^2I"]]],"^25",["^1Z",[null]]]],"^M","~$cljs.tools.reader/read+string","^22",true,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",18,"^2J",["^ ","^22",true,"^26",1,"^23",[["^1Z",["^2H","^2I"]]],"^1Y",["^1Z",[["^2H","~$&","^2I"]]],"^25",["^1Z",[null]]],"^23",[["^1Z",["^2H","^2I"]]],"^24",null,"^25",["^1Z",[null]],"^1N",1,"^1M",946,"^1O",946,"^26",1,"^27",true,"^1Y",["^1Z",[["^2H","~$&","^2I"]]],"^2D","Like read, and taking the same args. reader must be a SourceLoggingPushbackReader.\n Returns a vector containing the object read and the (whitespace-trimmed) string read."],"~$read-meta",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",395,"^1N",8,"^1O",395,"^1P",17,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read metadata and return the following object with the metadata applied"],"^1Q",true,"^M","~$cljs.tools.reader/read-meta","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",17,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",395,"^1O",395,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read metadata and return the following object with the metadata applied"],"~$read-unicode-char",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",108,"^1N",8,"^1O",108,"^1P",25,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$token","~$offset","~$length","~$base"],["^29","^2>","^2R","^2Q","~$exact?"]]]]],"^2J",["^ ","^22",false,"^26",5,"^23",["^1Z",[["^2O","^2P","^2Q","^2R"],["^29","^2>","^2R","^2Q","^2S"]]],"^1Y",["^1Z",[["^2O","^2P","^2Q","^2R"],["^29","^2>","^2R","^2Q","^2S"]]],"^25",["^1Z",[null,null]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-unicode-char","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",25,"^2J",["^ ","^22",false,"^26",5,"^23",["^1Z",[["^2O","^2P","^2Q","^2R"],["^29","^2>","^2R","^2Q","^2S"]]],"^1Y",["^1Z",[["^2O","^2P","^2Q","^2R"],["^29","^2>","^2R","^2Q","^2S"]]],"^25",["^1Z",[null,null]]],"^23",["^1Z",[["^2O","^2P","^2Q","^2R"],["^29","^2>","^2R","^2Q","^2S"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",108,"^1O",108,"^26",5,"^27",true,"^1Y",["^1Z",[["^2O","^2P","^2Q","^2R"],["^29","^2>","^2R","^2Q","^2S"]]]],"~$char-code",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",102,"^1N",8,"^1O",102,"^1P",17,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$ch","^2R"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/char-code","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",17,"^23",["^1Z",[["^2V","^2R"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",102,"^1O",102,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V","^2R"]]]]]],"~$read-unmatched-delimiter",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",77,"^1N",8,"^1O",77,"^1P",32,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2V","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-unmatched-delimiter","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",32,"^23",["^1Z",[["^29","^2V","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",77,"^1O",77,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2V","^2:","^2;"]]]]]],"~$read-fn",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",565,"^1N",8,"^1O",565,"^1P",15,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-fn","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",15,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",565,"^1O",565,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"~$syntax-quote*",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",708,"^1N",8,"^1O",708,"^1P",21,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/syntax-quote*","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",21,"^23",["^1Z",[["^20"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",708,"^1O",708,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]]],"~$bool?",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",698,"^1N",7,"^1O",698,"^1P",12,"^1Y",["^1Z",["^1[",["^1Z",[["~$x"]]]]]],"^M","~$cljs.tools.reader/bool?","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",12,"^23",["^1Z",[["~$x"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",698,"^1O",698,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$x"]]]]]],"~$arg-env",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",557,"^1N",26,"^1O",557,"^1P",33,"~:dynamic",true,"^1Q",true],"^1Q",true,"^M","~$cljs.tools.reader/arg-env","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",33,"^1N",1,"^35",true,"^1M",557,"^1O",557,"^1S","~$clj-nil"],"~$read-suppress",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",475,"^1N",8,"^1O",475,"^1P",21,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$first-line","^29","^2:","^2;"]]]]],"^2D","Read next form and suppress. Return nil or READ_FINISHED."],"^1Q",true,"^M","~$cljs.tools.reader/read-suppress","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",21,"^23",["^1Z",[["^39","^29","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",475,"^1O",475,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^39","^29","^2:","^2;"]]]]],"^2D","Read next form and suppress. Return nil or READ_FINISHED."],"^F",["^ ","^M","~$cljs.tools.reader/*suppress-read*","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",855,"^1N",1,"^1O",855,"^1P",31,"^35",true,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",855,"^1N",16,"^1O",855,"^1P",31,"^35",true],"^1S","~$boolean"],"~$flatten-map",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",655,"^1N",8,"^1O",655,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]],"^2D","Flatten a map into a seq of alternate keys and values"],"^1Q",true,"^M","~$cljs.tools.reader/flatten-map","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["^20"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",655,"^1O",655,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]],"^2D","Flatten a map into a seq of alternate keys and values"],"^G",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",848,"^1N",16,"^1O",848,"^1P",40,"^35",true],"^M","~$cljs.tools.reader/*default-data-reader-fn*","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",40,"^1N",1,"^35",true,"^1M",848,"^1O",848,"^1S","^37","^2D","When no data reader is found for a tag and *default-data-reader-fn*\n is non-nil, it will be called with two arguments, the tag and the value.\n If *default-data-reader-fn* is nil (the default value), an exception\n will be thrown for the unknown tag."],"^H",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",911,"^1N",7,"^1O",911,"^1P",11,"^1Y",["^1Z",["^1[",["^1Z",[["^2H"],["^2:","^2H"],["^2H","~$eof-error?","~$eof-value"]]]]],"^2D","Reads the first object from an IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true.\n Otherwise returns sentinel. If no stream is providen, *in* will be used.\n\n Opts is a persistent map with valid keys:\n :read-cond - :allow to process reader conditionals, or\n :preserve to keep all branches\n :features - persistent set of feature keywords for reader conditionals\n :eof - on eof, return value unless :eofthrow, then throw.\n if not specified, will throw\n\n To read data structures only, use clojure.tools.reader.edn/read\n\n Note that the function signature of clojure.tools.reader/read and\n clojure.tools.reader.edn/read is not the same for eof-handling","^2J",["^ ","^22",false,"^26",3,"^23",["^1Z",[["^2H"],[["^ ","~$eof","~:eof","~:as","^2:","~:or",["^ ","^3B","~:eofthrow"]],"^2H"],["^2H","^3@","~$sentinel"]]],"^1Y",["^1Z",[["^2H"],[["^ ","^3B","^3C","^3D","^2:","^3E",["^ ","^3B","^3F"]],"^2H"],["^2H","^3@","^3G"]]],"^25",["^1Z",[null,null,null]]]],"^M","~$cljs.tools.reader/read","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",11,"^2J",["^ ","^22",false,"^26",3,"^23",["^1Z",[["^2H"],[["^ ","^3B","^3C","^3D","^2:","^3E",["^ ","^3B","^3F"]],"^2H"],["^2H","^3@","^3G"]]],"^1Y",["^1Z",[["^2H"],[["^ ","^3B","^3C","^3D","^2:","^3E",["^ ","^3B","^3F"]],"^2H"],["^2H","^3@","^3G"]]],"^25",["^1Z",[null,null,null]]],"^23",["^1Z",[["^2H"],[["^ ","^3B","^3C","^3D","^2:","^3E",["^ ","^3B","^3F"]],"^2H"],["^2H","^3@","^3G"]]],"^24",null,"^25",["^1Z",[null,null,null]],"^1N",1,"^1M",911,"^1O",911,"^26",3,"^27",true,"^1Y",["^1Z",[["^2H"],[["^ ","^3B","^3C","^3D","^2:","^3E",["^ ","^3B","^3F"]],"^2H"],["^2H","^3@","^3G"]]],"^2D","Reads the first object from an IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true.\n Otherwise returns sentinel. If no stream is providen, *in* will be used.\n\n Opts is a persistent map with valid keys:\n :read-cond - :allow to process reader conditionals, or\n :preserve to keep all branches\n :features - persistent set of feature keywords for reader conditionals\n :eof - on eof, return value unless :eofthrow, then throw.\n if not specified, will throw\n\n To read data structures only, use clojure.tools.reader.edn/read\n\n Note that the function signature of clojure.tools.reader/read and\n clojure.tools.reader.edn/read is not the same for eof-handling"],"~$read-set",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",413,"^1N",8,"^1O",413,"^1P",16,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-set","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",16,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",413,"^1O",413,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"~$read-symbol",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",334,"^1N",8,"^1O",334,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2>"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-symbol","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["^29","^2>"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",334,"^1O",334,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2>"]]]]]],"~$read-unquote",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",624,"^1N",8,"^1O",624,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$comma","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-unquote","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["^29","^3N","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",624,"^1O",624,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^3N","^2:","^2;"]]]]]],"~$read-map",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",253,"^1N",8,"^1O",253,"^1P",16,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read in a map, including its location if the reader is an indexing reader"],"^1Q",true,"^M","~$cljs.tools.reader/read-map","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",16,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",253,"^1O",253,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read in a map, including its location if the reader is an indexing reader"],"~$read*-internal",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",862,"^1N",8,"^1O",862,"^1P",22,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","^3@","^3G","~$return-on","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read*-internal","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",22,"^23",["^1Z",[["^2H","^3@","^3G","^3S","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",862,"^1O",862,"^26",6,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","^3@","^3G","^3S","^2:","^2;"]]]]]],"~$unquote?",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",637,"^1N",8,"^1O",637,"^1P",16,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/unquote?","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",16,"^23",["^1Z",[["^20"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",637,"^1O",637,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20"]]]]]],"^I",["^ ","^M","~$cljs.tools.reader/default-data-readers","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",857,"^1N",1,"^1O",857,"^1P",26,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",857,"^1N",6,"^1O",857,"^1P",26],"^2D","Default map of data reader functions provided by Clojure.\n May be overridden by binding *data-readers*","^1S","~$cljs.core/IMap"],"~$macros",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",787,"^1N",8,"^1O",787,"^1P",14,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/macros","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",14,"^23",["^1Z",[["^2V"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",787,"^1O",787,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V"]]]]]],"~$read-arg",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",600,"^1N",8,"^1O",600,"^1P",16,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$pct","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-arg","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",16,"^23",["^1Z",[["^29","^40","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",600,"^1O",600,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^40","^2:","^2;"]]]]]],"~$match-feature",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",486,"^1N",8,"^1O",486,"^1P",21,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^39","^29","^2:","^2;"]]]]],"^2D","Read next feature. If matched, read next form and return.\n Otherwise, read and skip next form, returning READ_FINISHED or nil."],"^1Q",true,"^M","~$cljs.tools.reader/match-feature","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",21,"^23",["^1Z",[["^39","^29","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",486,"^1O",486,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^39","^29","^2:","^2;"]]]]],"^2D","Read next feature. If matched, read next form and return.\n Otherwise, read and skip next form, returning READ_FINISHED or nil."],"~$read-namespaced-map",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",761,"^1N",8,"^1O",761,"^1P",27,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-namespaced-map","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",27,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",761,"^1O",761,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"~$read-syntax-quote",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",755,"^1N",8,"^1O",755,"^1P",25,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$backquote","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-syntax-quote","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",25,"^23",["^1Z",[["^29","^47","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",755,"^1O",755,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^47","^2:","^2;"]]]]]],"~$READ_FINISHED",["^ ","^M","~$cljs.tools.reader/READ_FINISHED","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",198,"^1N",1,"^1O",198,"^1P",33,"^1Q",true,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",198,"^1N",20,"^1O",198,"^1P",33,"^1Q",true],"^1S","^1T"],"~$read-list",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",219,"^1N",8,"^1O",219,"^1P",17,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read in a list, including its location if the reader is an indexing reader"],"^1Q",true,"^M","~$cljs.tools.reader/read-list","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",17,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",219,"^1O",219,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read in a list, including its location if the reader is an indexing reader"],"~$read-cond-delimited",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",505,"^1N",8,"^1O",505,"^1P",27,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$splicing","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-cond-delimited","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",27,"^23",["^1Z",[["^29","^4>","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",505,"^1O",505,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^4>","^2:","^2;"]]]]]],"~$RESERVED_FEATURES",["^ ","^M","~$cljs.tools.reader/RESERVED_FEATURES","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",450,"^1N",1,"^1O",450,"^1P",33,"^1Q",true,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",450,"^1N",16,"^1O",450,"^1P",33,"^1Q",true],"^1S","~$cljs.core/ISet"],"~$dispatch-macros",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",808,"^1N",8,"^1O",808,"^1P",23,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/dispatch-macros","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",23,"^23",["^1Z",[["^2V"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",808,"^1O",808,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V"]]]]]],"~$read*",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",884,"^1N",8,"^1O",884,"^1P",13,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]]]],"^2J",["^ ","^22",false,"^26",6,"^23",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]],"^1Y",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]],"^25",["^1Z",[null,null]]]],"^1Q",true,"^M","~$cljs.tools.reader/read*","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",13,"^2J",["^ ","^22",false,"^26",6,"^23",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]],"^1Y",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]],"^25",["^1Z",[null,null]]],"^23",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",884,"^1O",884,"^26",6,"^27",true,"^1Y",["^1Z",[["^2H","^3@","^3G","^2:","^2;"],["^2H","^3@","^3G","^3S","^2:","^2;"]]]],"^J",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",841,"^1N",16,"^1O",841,"^1P",30,"^35",true],"^M","~$cljs.tools.reader/*data-readers*","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",30,"^1N",1,"^35",true,"^1M",841,"^1O",841,"^1S","^3X","^2D","Map from reader tag symbols to data reader Vars.\n Reader tags without namespace qualifiers are reserved for Clojure.\n This light version of tools.reader has no implementation for default\n reader tags such as #inst and #uuid."],"~$syntax-quote-coll",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",683,"^1N",8,"^1O",683,"^1P",25,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$type","~$coll"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/syntax-quote-coll","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",25,"^23",["^1Z",[["^4I","^4J"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",683,"^1O",683,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^4I","^4J"]]]]]],"~$*read-delim*",["^ ","^M","~$cljs.tools.reader/*read-delim*","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",200,"^1N",1,"^1O",200,"^1P",28,"^35",true,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",200,"^1N",16,"^1O",200,"^1P",28,"^35",true],"^1S","^3<"],"~$resolve-symbol",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",703,"^1N",17,"^1O",703,"^1P",31,"^35",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$s"]]]]],"^2D","Resolve a symbol s into its fully qualified namespace version"],"^M","~$cljs.tools.reader/resolve-symbol","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",31,"^23",["^1Z",[["~$s"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^35",true,"^1M",703,"^1O",703,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$s"]]]]],"^2D","Resolve a symbol s into its fully qualified namespace version"],"~$read-delimited",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",213,"^1N",8,"^1O",213,"^1P",22,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$kind","~$delim","^29","^2:","^2;"]]]]],"^2D","Reads and returns a collection ended with delim"],"^1Q",true,"^M","~$cljs.tools.reader/read-delimited","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",22,"^23",["^1Z",[["^4Q","^4R","^29","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",213,"^1O",213,"^26",5,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^4Q","^4R","^29","^2:","^2;"]]]]],"^2D","Reads and returns a collection ended with delim"],"~$read-token",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",48,"^1N",8,"^1O",48,"^1P",18,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^4Q","^2>"]]]]],"^2D","Read in a single logical token from the reader"],"^1Q",true,"^M","~$cljs.tools.reader/read-token","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",18,"^23",["^1Z",[["^29","^4Q","^2>"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",48,"^1O",48,"^26",3,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^4Q","^2>"]]]]],"^2D","Read in a single logical token from the reader"],"~$read-cond",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",535,"^1N",8,"^1O",535,"^1P",17,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-cond","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",17,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",535,"^1O",535,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"~$upper-limit",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",140,"^1N",24,"^1O",140,"^1P",35,"~:const",true,"^1Q",true],"^1Q",true,"^M","~$cljs.tools.reader/upper-limit","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",35,"^1N",1,"^4Y",true,"^1M",140,"^1O",140,"^1S","~$any"],"~$loc-info",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",323,"^1N",8,"^1O",323,"^1P",16,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$line","~$column"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/loc-info","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",16,"^23",["^1Z",[["^29","^51","^52"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",323,"^1O",323,"^26",3,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^51","^52"]]]]]],"~$gensym-env",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",622,"^1N",26,"^1O",622,"^1P",36,"^35",true,"^1Q",true],"^1Q",true,"^M","~$cljs.tools.reader/gensym-env","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",36,"^1N",1,"^35",true,"^1M",622,"^1O",622,"^1S","^37"],"~$*alias-map*",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",353,"^1N",16,"^1O",353,"^1P",27,"^35",true],"^M","~$cljs.tools.reader/*alias-map*","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",27,"^1N",1,"^35",true,"^1M",353,"^1O",353,"^1S","^37","^2D","Map from ns alias to ns, if non-nil, it will be used to resolve read-time\n ns aliases.\n\n Defaults to nil"],"~$read-regex",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",85,"^1N",7,"^1O",85,"^1P",17,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2V","^2:","^2;"]]]]]],"^M","~$cljs.tools.reader/read-regex","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",17,"^23",["^1Z",[["^29","^2V","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",85,"^1O",85,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2V","^2:","^2;"]]]]]],"~$sb",["^ ","^M","~$cljs.tools.reader/sb","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1M",46,"^1N",1,"^1O",46,"^1P",8,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",46,"^1N",6,"^1O",46,"^1P",8],"^1S","~$goog/string.StringBuffer"],"~$read-dispatch",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",69,"^1N",8,"^1O",69,"^1P",21,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-dispatch","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",21,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",69,"^1O",69,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]]],"~$check-eof-error",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",458,"^1N",8,"^1O",458,"^1P",23,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20","^29","^39"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/check-eof-error","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",23,"^23",["^1Z",[["^20","^29","^39"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",458,"^1O",458,"^26",3,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20","^29","^39"]]]]]],"~$check-invalid-read-cond",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",468,"^1N",8,"^1O",468,"^1P",31,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20","^29","^39"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/check-invalid-read-cond","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",31,"^23",["^1Z",[["^20","^29","^39"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",468,"^1O",468,"^26",3,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20","^29","^39"]]]]]],"^L",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",932,"^1N",7,"^1O",932,"^1P",18,"^1Y",["^1Z",["^1[",["^1Z",[["~$s"],["^2:","~$s"]]]]],"^2D","Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n To read data structures only, use clojure.tools.reader.edn/read-string\n\n Note that the function signature of clojure.tools.reader/read-string and\n clojure.tools.reader.edn/read-string is not the same for eof-handling","^2J",["^ ","^22",false,"^26",2,"^23",["^1Z",[["~$s"],["^2:","~$s"]]],"^1Y",["^1Z",[["~$s"],["^2:","~$s"]]],"^25",["^1Z",[null,null]]]],"^M","~$cljs.tools.reader/read-string","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",18,"^2J",["^ ","^22",false,"^26",2,"^23",["^1Z",[["~$s"],["^2:","~$s"]]],"^1Y",["^1Z",[["~$s"],["^2:","~$s"]]],"^25",["^1Z",[null,null]]],"^23",["^1Z",[["~$s"],["^2:","~$s"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",932,"^1O",932,"^26",2,"^27",true,"^1Y",["^1Z",[["~$s"],["^2:","~$s"]]],"^2D","Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n To read data structures only, use clojure.tools.reader.edn/read-string\n\n Note that the function signature of clojure.tools.reader/read-string and\n clojure.tools.reader.edn/read-string is not the same for eof-handling"],"~$check-reserved-features",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",463,"^1N",8,"^1O",463,"^1P",31,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^20"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/check-reserved-features","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",31,"^23",["^1Z",[["^29","^20"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",463,"^1O",463,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^20"]]]]]],"~$has-feature?",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",452,"^1N",8,"^1O",452,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$feature","^2:"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/has-feature?","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["^29","^5G","^2:"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",452,"^1O",452,"^26",3,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^5G","^2:"]]]]]],"~$valid-octal?",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",143,"^1N",8,"^1O",143,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2O","^2R"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/valid-octal?","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["^2O","^2R"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",143,"^1O",143,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2O","^2R"]]]]]],"~$escape-char",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",290,"^1N",8,"^1O",290,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^5:","^29"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/escape-char","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["^5:","^29"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",290,"^1O",290,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^5:","^29"]]]]]],"~$read-char*",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",146,"^1N",8,"^1O",146,"^1P",18,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$backslash","^2:","^2;"]]]]],"^2D","Read in a character literal"],"^1Q",true,"^M","~$cljs.tools.reader/read-char*","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",18,"^23",["^1Z",[["^29","^5N","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",146,"^1O",146,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^5N","^2:","^2;"]]]]],"^2D","Read in a character literal"],"~$resolve-ns",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",363,"^1N",8,"^1O",363,"^1P",18,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/resolve-ns","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",18,"^23",["^1Z",[["^2C"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",363,"^1O",363,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]]],"~$read-delimited-internal",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",202,"^1N",8,"^1O",202,"^1P",31,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^4Q","^4R","^29","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-delimited-internal","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",31,"^23",["^1Z",[["^4Q","^4R","^29","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",202,"^1O",202,"^26",5,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^4Q","^4R","^29","^2:","^2;"]]]]]],"~$read-string*",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",311,"^1N",8,"^1O",311,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","~$_","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-string*","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["^2H","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",311,"^1O",311,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","~$_","^2:","^2;"]]]]]],"~$macro-terminating?",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",41,"^1N",17,"^1O",41,"^1P",35,"^1S","^3<","^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/macro-terminating?","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",35,"^23",["^1Z",[["^2V"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",41,"~:ret-tag","^3<","^1O",41,"^26",1,"^1S","^3<","^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2V"]]]]]],"~$map-func",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",691,"^1N",7,"^1O",691,"^1P",15,"^1Y",["^1Z",["^1[",["^1Z",[["^4J"]]]]],"^2D","Decide which map type to use, array-map if less than 16 elements"],"^M","~$cljs.tools.reader/map-func","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",15,"^23",["^1Z",[["^4J"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",691,"^1O",691,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^4J"]]]]],"^2D","Decide which map type to use, array-map if less than 16 elements"],"~$lower-limit",["^ ","^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",141,"^1N",24,"^1O",141,"^1P",35,"^4Y",true,"^1Q",true],"^1Q",true,"^M","~$cljs.tools.reader/lower-limit","^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",35,"^1N",1,"^4Y",true,"^1M",141,"^1O",141,"^1S","^4["],"~$ending-line-col-info",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",193,"^1N",8,"^1O",193,"^1P",28,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/ending-line-col-info","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",28,"^23",["^1Z",[["^29"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",193,"^1O",193,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29"]]]]]],"~$register-arg",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",586,"^1N",8,"^1O",586,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$n"]]]]],"^2D","Registers an argument to the arg-env"],"^1Q",true,"^M","~$cljs.tools.reader/register-arg","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["~$n"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",586,"^1O",586,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$n"]]]]],"^2D","Registers an argument to the arg-env"],"~$read-keyword",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",368,"^1N",8,"^1O",368,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","^2>","^2:","^2;"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-keyword","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["^2H","^2>","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",368,"^1O",368,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2H","^2>","^2:","^2;"]]]]]],"~$read-discard",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",433,"^1N",8,"^1O",433,"^1P",20,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read and discard the first object from rdr"],"^1Q",true,"^M","~$cljs.tools.reader/read-discard","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",20,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",433,"^1O",433,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read and discard the first object from rdr"],"~$garg",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",559,"^1N",8,"^1O",559,"^1P",12,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$n"]]]]],"^2D","Get a symbol for an anonymous ?argument?"],"^1Q",true,"^M","~$cljs.tools.reader/garg","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",12,"^23",["^1Z",[["~$n"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",559,"^1O",559,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$n"]]]]],"^2D","Get a symbol for an anonymous ?argument?"],"~$read-vector",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",237,"^1N",8,"^1O",237,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read in a vector, including its location if the reader is an indexing reader"],"^1Q",true,"^M","~$cljs.tools.reader/read-vector","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["^29","~$_","^2:","^2;"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",237,"^1O",237,"^26",4,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","~$_","^2:","^2;"]]]]],"^2D","Read in a vector, including its location if the reader is an indexing reader"],"~$read-number",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",279,"^1N",8,"^1O",279,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2>"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/read-number","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["^29","^2>"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",279,"^1O",279,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^29","^2>"]]]]]],"~$add-meta",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",677,"^1N",8,"^1O",677,"^1P",16,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20","~$ret"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/add-meta","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",16,"^23",["^1Z",[["^20","^6@"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",677,"^1O",677,"^26",2,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^20","^6@"]]]]]],"~$register-gensym",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",666,"^1N",8,"^1O",666,"^1P",23,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]]],"^1Q",true,"^M","~$cljs.tools.reader/register-gensym","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",23,"^23",["^1Z",[["^2C"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",666,"^1O",666,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["^2C"]]]]]],"~$expand-list",["^ ","^1X",null,"^1R",["^ ","^1L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader.cljs","^1M",641,"^1N",8,"^1O",641,"^1P",19,"^1Q",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$s"]]]]],"^2D","Expand a list by resolving its syntax quotes and unquotes"],"^1Q",true,"^M","~$cljs.tools.reader/expand-list","^22",false,"^1L","resources/public/js/out/cljs/tools/reader.cljs","^1P",19,"^23",["^1Z",[["~$s"]]],"^24",null,"^25",["^1Z",[null,null]],"^1N",1,"^1M",641,"^1O",641,"^26",1,"^27",true,"^1Y",["^1Z",["^1[",["^1Z",[["~$s"]]]]],"^2D","Expand a list by resolving its syntax quotes and unquotes"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^A","^A"],"~:cljs.analyzer/constants",["^ ","~:seen",["^C",["~$&","~:features","~$clojure.core/list","~:namespaced-map","~$cljs.core/array-map","~:reader-exception","~:else","~$cljs.core/hash-map","~$cljs.core/apply","~:default","~:symbol","^:","^1L","~$cljs.core/concat","^1P","~:read-cond","~:type","~:preserve","~$Inf","~:source","~:string","~:vector","~$cljs.core/with-meta","~:allow","~:sym","^1N","~:illegal-state","~$clojure.core/unquote-splicing","^1M","~:list","~$fn*","~:keyword","~$clojure.core/deref","~$/","~$clojure.core/unquote","^1O","~$cljs.core/vec","~$-Inf","~$cljs.core/sequence","~:regex","~:unsupported-operation","~$var","^1[","~:set","^3C","~$cljs.core/hash-set","~:character","~:map","~$cljs.core/list","^3F","~:runtime-exception","~:none","~:buffer"]],"~:order",["^7=","^7B","^6O","^75","^1L","^1M","^1N","^1O","^1P","^6[","^7C","^6Z","^6S","~$/","^77","^7@","^:","^7;","^6X","^7F","^6R","^6J","^6W","^71","^6U","^6V","^7E","^73","~$&","^76","^74","^79","^6K","^6Y","^70","^7<","^6T","^6Q","^6P","^6M","^72","^1[","^7:","^7A","^7D","^7>","^6L","^78","^7?","^6N","^3C","^3F","^7G"]],"^2D","A clojure reader in clojure"] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader.js b/examples/resources/public/js/out/cljs/tools/reader.js new file mode 100644 index 0000000..e9edb6f --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader.js @@ -0,0 +1,1782 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader'); +goog.require('cljs.core'); +goog.require('cljs.tools.reader.reader_types'); +goog.require('cljs.tools.reader.impl.utils'); +goog.require('cljs.tools.reader.impl.commons'); +goog.require('cljs.tools.reader.impl.errors'); +goog.require('goog.array'); +goog.require('goog.string'); +goog.require('goog.string.StringBuffer'); + + + + + + +cljs.tools.reader.macro_terminating_QMARK_ = (function cljs$tools$reader$macro_terminating_QMARK_(ch){ +var G__24345 = ch; +switch (G__24345) { +case "\"": +case ";": +case "@": +case "^": +case "`": +case "~": +case "(": +case ")": +case "[": +case "]": +case "{": +case "}": +case "\\": +return true; + +break; +default: +return false; + +} +}); +cljs.tools.reader.sb = (new goog.string.StringBuffer()); +/** + * Read in a single logical token from the reader + */ +cljs.tools.reader.read_token = (function cljs$tools$reader$read_token(rdr,kind,initch){ +if((initch == null)){ +return cljs.tools.reader.impl.errors.throw_eof_at_start.call(null,rdr,kind); +} else { +cljs.tools.reader.sb.clear(); + +var ch = initch; +while(true){ +if(((cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch)) || (cljs.tools.reader.macro_terminating_QMARK_.call(null,ch)) || ((ch == null)))){ +if((ch == null)){ +} else { +cljs.tools.reader.reader_types.unread.call(null,rdr,ch); +} + +return cljs.tools.reader.sb.toString(); +} else { +cljs.tools.reader.sb.append(ch); + +var G__24347 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +ch = G__24347; +continue; +} +break; +} +} +}); +cljs.tools.reader.read_dispatch = (function cljs$tools$reader$read_dispatch(rdr,_,opts,pending_forms){ +var temp__4655__auto__ = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(cljs.core.truth_(temp__4655__auto__)){ +var ch = temp__4655__auto__; +var temp__4655__auto____$1 = cljs.tools.reader.dispatch_macros.call(null,ch); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var dm = temp__4655__auto____$1; +return dm.call(null,rdr,ch,opts,pending_forms); +} else { +return cljs.tools.reader.read_tagged.call(null,(function (){var G__24348 = rdr; +cljs.tools.reader.reader_types.unread.call(null,G__24348,ch); + +return G__24348; +})(),ch,opts,pending_forms); +} +} else { +return cljs.tools.reader.impl.errors.throw_eof_at_dispatch.call(null,rdr); +} +}); +cljs.tools.reader.read_unmatched_delimiter = (function cljs$tools$reader$read_unmatched_delimiter(rdr,ch,opts,pending_forms){ +return cljs.tools.reader.impl.errors.throw_unmatch_delimiter.call(null,rdr,ch); +}); +cljs.tools.reader.read_regex = (function cljs$tools$reader$read_regex(rdr,ch,opts,pending_forms){ +var sb = (new goog.string.StringBuffer()); +var ch__$1 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +while(true){ +if(("\"" === ch__$1)){ +return cljs.core.re_pattern.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join('')); +} else { +if((ch__$1 == null)){ +return cljs.tools.reader.impl.errors.throw_eof_reading.call(null,rdr,new cljs.core.Keyword(null,"regex","regex",939488856),sb); +} else { +sb.append(ch__$1); + +if(("\\" === ch__$1)){ +var ch_24349__$2 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if((ch_24349__$2 == null)){ +cljs.tools.reader.impl.errors.throw_eof_reading.call(null,rdr,new cljs.core.Keyword(null,"regex","regex",939488856),sb); +} else { +} + +sb.append(ch_24349__$2); +} else { +} + +var G__24350 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +ch__$1 = G__24350; +continue; +} +} +break; +} +}); +cljs.tools.reader.char_code = (function cljs$tools$reader$char_code(ch,base){ +var code = parseInt(ch,base); +if(cljs.core.truth_(isNaN(code))){ +return (-1); +} else { +return code; +} +}); +cljs.tools.reader.read_unicode_char = (function cljs$tools$reader$read_unicode_char(var_args){ +var G__24352 = arguments.length; +switch (G__24352) { +case 4: +return cljs.tools.reader.read_unicode_char.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.tools.reader.read_unicode_char.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.tools.reader.read_unicode_char.cljs$core$IFn$_invoke$arity$4 = (function (token,offset,length,base){ +var l = (offset + length); +if((cljs.core.count.call(null,token) === l)){ +} else { +cljs.tools.reader.impl.errors.throw_invalid_unicode_literal.call(null,null,token); +} + +var i = offset; +var uc = (0); +while(true){ +if((i === l)){ +return String.fromCharCode(uc); +} else { +var d = cljs.tools.reader.char_code.call(null,cljs.core.nth.call(null,token,i),base); +if((d === (-1))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_digit_in_token.call(null,null,cljs.core.nth.call(null,token,i),token); +} else { +var G__24354 = (i + (1)); +var G__24355 = (d + (uc * base)); +i = G__24354; +uc = G__24355; +continue; +} +} +break; +} +}); + +cljs.tools.reader.read_unicode_char.cljs$core$IFn$_invoke$arity$5 = (function (rdr,initch,base,length,exact_QMARK_){ +var i = (1); +var uc = cljs.tools.reader.char_code.call(null,initch,base); +while(true){ +if((uc === (-1))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_digit.call(null,rdr,initch); +} else { +if(!((i === length))){ +var ch = cljs.tools.reader.reader_types.peek_char.call(null,rdr); +if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.tools.reader.macros.call(null,ch); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return (ch == null); +} +} +})())){ +if(cljs.core.truth_(exact_QMARK_)){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_len.call(null,rdr,i,length); +} else { +return String.fromCharCode(uc); +} +} else { +var d = cljs.tools.reader.char_code.call(null,ch,base); +cljs.tools.reader.reader_types.read_char.call(null,rdr); + +if((d === (-1))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_digit.call(null,rdr,ch); +} else { +var G__24356 = (i + (1)); +var G__24357 = (d + (uc * base)); +i = G__24356; +uc = G__24357; +continue; +} +} +} else { +return String.fromCharCode(uc); +} +} +break; +} +}); + +cljs.tools.reader.read_unicode_char.cljs$lang$maxFixedArity = 5; + +cljs.tools.reader.upper_limit = "\uD7FF".charCodeAt((0)); +cljs.tools.reader.lower_limit = "\uE000".charCodeAt((0)); +cljs.tools.reader.valid_octal_QMARK_ = (function cljs$tools$reader$valid_octal_QMARK_(token,base){ +return (parseInt(token,base) <= (255)); +}); +/** + * Read in a character literal + */ +cljs.tools.reader.read_char_STAR_ = (function cljs$tools$reader$read_char_STAR_(rdr,backslash,opts,pending_forms){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(!((ch == null))){ +var token = ((((cljs.tools.reader.macro_terminating_QMARK_.call(null,ch)) || (cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch))))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ch)].join(''):cljs.tools.reader.read_token.call(null,rdr,new cljs.core.Keyword(null,"character","character",380652989),ch)); +var token_len = token.length; +if(((1) === token_len)){ +return token.charAt((0)); +} else { +if(cljs.core._EQ_.call(null,token,"newline")){ +return "\n"; +} else { +if(cljs.core._EQ_.call(null,token,"space")){ +return " "; +} else { +if(cljs.core._EQ_.call(null,token,"tab")){ +return "\t"; +} else { +if(cljs.core._EQ_.call(null,token,"backspace")){ +return "\b"; +} else { +if(cljs.core._EQ_.call(null,token,"formfeed")){ +return "\f"; +} else { +if(cljs.core._EQ_.call(null,token,"return")){ +return "\r"; +} else { +if(cljs.core.truth_(goog.string.startsWith(token,"u"))){ +var c = cljs.tools.reader.read_unicode_char.call(null,token,(1),(4),(16)); +var ic = c.charCodeAt((0)); +if((((ic > cljs.tools.reader.upper_limit)) && ((ic < cljs.tools.reader.lower_limit)))){ +return cljs.tools.reader.impl.errors.throw_invalid_character_literal.call(null,rdr,ic.toString((16))); +} else { +return c; +} +} else { +if(cljs.core.truth_(goog.string.startsWith(token,"o"))){ +var len = (token_len - (1)); +if((len > (3))){ +return cljs.tools.reader.impl.errors.throw_invalid_octal_len.call(null,rdr,token); +} else { +var offset = (1); +var base = (8); +var uc = cljs.tools.reader.read_unicode_char.call(null,token,offset,len,base); +if(cljs.core.not.call(null,cljs.tools.reader.valid_octal_QMARK_.call(null,cljs.core.subs.call(null,token,offset),base))){ +return cljs.tools.reader.impl.errors.throw_bad_octal_number.call(null,rdr); +} else { +return uc; +} +} +} else { +return cljs.tools.reader.impl.errors.throw_unsupported_character.call(null,rdr,token); + +} +} +} +} +} +} +} +} +} +} else { +return cljs.tools.reader.impl.errors.throw_eof_in_character.call(null,rdr); +} +}); +cljs.tools.reader.starting_line_col_info = (function cljs$tools$reader$starting_line_col_info(rdr){ +if(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,rdr))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.tools.reader.reader_types.get_line_number.call(null,rdr),((cljs.tools.reader.reader_types.get_column_number.call(null,rdr) - (1)) | (0))], null); +} else { +return null; +} +}); +cljs.tools.reader.ending_line_col_info = (function cljs$tools$reader$ending_line_col_info(rdr){ +if(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,rdr))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.tools.reader.reader_types.get_line_number.call(null,rdr),cljs.tools.reader.reader_types.get_column_number.call(null,rdr)], null); +} else { +return null; +} +}); +if(typeof cljs.tools.reader.READ_EOF !== 'undefined'){ +} else { +cljs.tools.reader.READ_EOF = (new Object()); +} +if(typeof cljs.tools.reader.READ_FINISHED !== 'undefined'){ +} else { +cljs.tools.reader.READ_FINISHED = (new Object()); +} +cljs.tools.reader._STAR_read_delim_STAR_ = false; +cljs.tools.reader.read_delimited_internal = (function cljs$tools$reader$read_delimited_internal(kind,delim,rdr,opts,pending_forms){ +var vec__24358 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24358,(0),null); +var start_column = cljs.core.nth.call(null,vec__24358,(1),null); +var delim__$1 = cljs.tools.reader.impl.utils.char$.call(null,delim); +var a = cljs.core.transient$.call(null,cljs.core.PersistentVector.EMPTY); +while(true){ +var form = cljs.tools.reader.read_STAR_.call(null,rdr,false,cljs.tools.reader.READ_EOF,delim__$1,opts,pending_forms); +if((form === cljs.tools.reader.READ_FINISHED)){ +return cljs.core.persistent_BANG_.call(null,a); +} else { +if((form === cljs.tools.reader.READ_EOF)){ +return cljs.tools.reader.impl.errors.throw_eof_delimited.call(null,rdr,kind,start_line,start_column,cljs.core.count.call(null,a)); +} else { +var G__24361 = cljs.core.conj_BANG_.call(null,a,form); +a = G__24361; +continue; +} +} +break; +} +}); +/** + * Reads and returns a collection ended with delim + */ +cljs.tools.reader.read_delimited = (function cljs$tools$reader$read_delimited(kind,delim,rdr,opts,pending_forms){ +var _STAR_read_delim_STAR_24362 = cljs.tools.reader._STAR_read_delim_STAR_; +cljs.tools.reader._STAR_read_delim_STAR_ = true; + +try{return cljs.tools.reader.read_delimited_internal.call(null,kind,delim,rdr,opts,pending_forms); +}finally {cljs.tools.reader._STAR_read_delim_STAR_ = _STAR_read_delim_STAR_24362; +}}); +/** + * Read in a list, including its location if the reader is an indexing reader + */ +cljs.tools.reader.read_list = (function cljs$tools$reader$read_list(rdr,_,opts,pending_forms){ +var vec__24363 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24363,(0),null); +var start_column = cljs.core.nth.call(null,vec__24363,(1),null); +var the_list = cljs.tools.reader.read_delimited.call(null,new cljs.core.Keyword(null,"list","list",765357683),")",rdr,opts,pending_forms); +var vec__24366 = cljs.tools.reader.ending_line_col_info.call(null,rdr); +var end_line = cljs.core.nth.call(null,vec__24366,(0),null); +var end_column = cljs.core.nth.call(null,vec__24366,(1),null); +return cljs.core.with_meta.call(null,((cljs.core.empty_QMARK_.call(null,the_list))?cljs.core.List.EMPTY:cljs.core.apply.call(null,cljs.core.list,the_list)),(cljs.core.truth_(start_line)?cljs.core.merge.call(null,(function (){var temp__4657__auto__ = cljs.tools.reader.reader_types.get_file_name.call(null,rdr); +if(cljs.core.truth_(temp__4657__auto__)){ +var file = temp__4657__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"file","file",-1269645878),file], null); +} else { +return null; +} +})(),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"line","line",212345235),start_line,new cljs.core.Keyword(null,"column","column",2078222095),start_column,new cljs.core.Keyword(null,"end-line","end-line",1837326455),end_line,new cljs.core.Keyword(null,"end-column","end-column",1425389514),end_column], null)):null)); +}); +/** + * Read in a vector, including its location if the reader is an indexing reader + */ +cljs.tools.reader.read_vector = (function cljs$tools$reader$read_vector(rdr,_,opts,pending_forms){ +var vec__24369 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24369,(0),null); +var start_column = cljs.core.nth.call(null,vec__24369,(1),null); +var the_vector = cljs.tools.reader.read_delimited.call(null,new cljs.core.Keyword(null,"vector","vector",1902966158),"]",rdr,opts,pending_forms); +var vec__24372 = cljs.tools.reader.ending_line_col_info.call(null,rdr); +var end_line = cljs.core.nth.call(null,vec__24372,(0),null); +var end_column = cljs.core.nth.call(null,vec__24372,(1),null); +return cljs.core.with_meta.call(null,the_vector,(cljs.core.truth_(start_line)?cljs.core.merge.call(null,(function (){var temp__4657__auto__ = cljs.tools.reader.reader_types.get_file_name.call(null,rdr); +if(cljs.core.truth_(temp__4657__auto__)){ +var file = temp__4657__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"file","file",-1269645878),file], null); +} else { +return null; +} +})(),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"line","line",212345235),start_line,new cljs.core.Keyword(null,"column","column",2078222095),start_column,new cljs.core.Keyword(null,"end-line","end-line",1837326455),end_line,new cljs.core.Keyword(null,"end-column","end-column",1425389514),end_column], null)):null)); +}); +/** + * Read in a map, including its location if the reader is an indexing reader + */ +cljs.tools.reader.read_map = (function cljs$tools$reader$read_map(rdr,_,opts,pending_forms){ +var vec__24375 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24375,(0),null); +var start_column = cljs.core.nth.call(null,vec__24375,(1),null); +var the_map = cljs.tools.reader.read_delimited.call(null,new cljs.core.Keyword(null,"map","map",1371690461),"}",rdr,opts,pending_forms); +var map_count = cljs.core.count.call(null,the_map); +var ks = cljs.core.take_nth.call(null,(2),the_map); +var key_set = cljs.core.set.call(null,ks); +var vec__24378 = cljs.tools.reader.ending_line_col_info.call(null,rdr); +var end_line = cljs.core.nth.call(null,vec__24378,(0),null); +var end_column = cljs.core.nth.call(null,vec__24378,(1),null); +if(cljs.core.odd_QMARK_.call(null,map_count)){ +cljs.tools.reader.impl.errors.throw_odd_map.call(null,rdr,start_line,start_column,the_map); +} else { +} + +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,key_set),cljs.core.count.call(null,ks))){ +} else { +cljs.tools.reader.impl.errors.throw_dup_keys.call(null,rdr,new cljs.core.Keyword(null,"map","map",1371690461),ks); +} + +return cljs.core.with_meta.call(null,(((map_count <= ((2) * cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD)))?cljs.core.PersistentArrayMap.fromArray(cljs.core.to_array.call(null,the_map),true,true):cljs.core.PersistentHashMap.fromArray(cljs.core.to_array.call(null,the_map),true)),(cljs.core.truth_(start_line)?cljs.core.merge.call(null,(function (){var temp__4657__auto__ = cljs.tools.reader.reader_types.get_file_name.call(null,rdr); +if(cljs.core.truth_(temp__4657__auto__)){ +var file = temp__4657__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"file","file",-1269645878),file], null); +} else { +return null; +} +})(),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"line","line",212345235),start_line,new cljs.core.Keyword(null,"column","column",2078222095),start_column,new cljs.core.Keyword(null,"end-line","end-line",1837326455),end_line,new cljs.core.Keyword(null,"end-column","end-column",1425389514),end_column], null)):null)); +}); +cljs.tools.reader.read_number = (function cljs$tools$reader$read_number(rdr,initch){ +var sb = (function (){var G__24381 = (new goog.string.StringBuffer()); +G__24381.append(initch); + +return G__24381; +})(); +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +while(true){ +if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.tools.reader.macros.call(null,ch); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return (ch == null); +} +} +})())){ +var s = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); +cljs.tools.reader.reader_types.unread.call(null,rdr,ch); + +var or__3922__auto__ = cljs.tools.reader.impl.commons.match_number.call(null,s); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.impl.errors.throw_invalid_number.call(null,rdr,s); +} +} else { +var G__24383 = (function (){var G__24382 = sb; +G__24382.append(ch); + +return G__24382; +})(); +var G__24384 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +sb = G__24383; +ch = G__24384; +continue; +} +break; +} +}); +cljs.tools.reader.escape_char = (function cljs$tools$reader$escape_char(sb,rdr){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +var G__24385 = ch; +switch (G__24385) { +case "t": +return "\t"; + +break; +case "r": +return "\r"; + +break; +case "n": +return "\n"; + +break; +case "\\": +return "\\"; + +break; +case "\"": +return "\""; + +break; +case "b": +return "\b"; + +break; +case "f": +return "\f"; + +break; +case "u": +var ch__$1 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(((-1) === parseInt((ch__$1 | (0)),(16)))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_escape.call(null,rdr,ch__$1); +} else { +return cljs.tools.reader.read_unicode_char.call(null,rdr,ch__$1,(16),(4),true); +} + +break; +default: +if(cljs.tools.reader.impl.utils.numeric_QMARK_.call(null,ch)){ +var ch__$1 = cljs.tools.reader.read_unicode_char.call(null,rdr,ch,(8),(3),false); +if(((ch__$1 | (0)) > (255))){ +return cljs.tools.reader.impl.errors.throw_bad_octal_number.call(null,rdr); +} else { +return ch__$1; +} +} else { +return cljs.tools.reader.impl.errors.throw_bad_escape_char.call(null,rdr,ch); +} + +} +}); +cljs.tools.reader.read_string_STAR_ = (function cljs$tools$reader$read_string_STAR_(reader,_,opts,pending_forms){ +var sb = (new goog.string.StringBuffer()); +var ch = cljs.tools.reader.reader_types.read_char.call(null,reader); +while(true){ +if((ch == null)){ +return cljs.tools.reader.impl.errors.throw_eof_reading.call(null,reader,new cljs.core.Keyword(null,"string","string",-1989541586),"\"",sb); +} else { +var G__24387 = ch; +switch (G__24387) { +case "\\": +var G__24391 = (function (){var G__24388 = sb; +G__24388.append(cljs.tools.reader.escape_char.call(null,sb,reader)); + +return G__24388; +})(); +var G__24392 = cljs.tools.reader.reader_types.read_char.call(null,reader); +sb = G__24391; +ch = G__24392; +continue; + +break; +case "\"": +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); + +break; +default: +var G__24393 = (function (){var G__24389 = sb; +G__24389.append(ch); + +return G__24389; +})(); +var G__24394 = cljs.tools.reader.reader_types.read_char.call(null,reader); +sb = G__24393; +ch = G__24394; +continue; + +} +} +break; +} +}); +cljs.tools.reader.loc_info = (function cljs$tools$reader$loc_info(rdr,line,column){ +if((line == null)){ +return null; +} else { +var file = cljs.tools.reader.reader_types.get_file_name.call(null,rdr); +var filem = (((file == null))?null:new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"file","file",-1269645878),file], null)); +var vec__24395 = cljs.tools.reader.ending_line_col_info.call(null,rdr); +var end_line = cljs.core.nth.call(null,vec__24395,(0),null); +var end_column = cljs.core.nth.call(null,vec__24395,(1),null); +var lcm = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"line","line",212345235),line,new cljs.core.Keyword(null,"column","column",2078222095),column,new cljs.core.Keyword(null,"end-line","end-line",1837326455),end_line,new cljs.core.Keyword(null,"end-column","end-column",1425389514),end_column], null); +return cljs.core.merge.call(null,filem,lcm); +} +}); +cljs.tools.reader.read_symbol = (function cljs$tools$reader$read_symbol(rdr,initch){ +var vec__24398 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var line = cljs.core.nth.call(null,vec__24398,(0),null); +var column = cljs.core.nth.call(null,vec__24398,(1),null); +var token = cljs.tools.reader.read_token.call(null,rdr,new cljs.core.Keyword(null,"symbol","symbol",-1038572696),initch); +if((token == null)){ +return null; +} else { +var G__24401 = token; +switch (G__24401) { +case "nil": +return null; + +break; +case "true": +return true; + +break; +case "false": +return false; + +break; +case "/": +return new cljs.core.Symbol(null,"/","/",-1371932971,null); + +break; +default: +var p = cljs.tools.reader.impl.commons.parse_symbol.call(null,token); +if(!((p == null))){ +var sym = cljs.core.symbol.call(null,cljs.core._nth.call(null,p,(0)),cljs.core._nth.call(null,p,(1))); +return cljs.core._with_meta.call(null,sym,cljs.tools.reader.loc_info.call(null,rdr,line,column)); +} else { +return cljs.tools.reader.impl.errors.throw_invalid.call(null,rdr,new cljs.core.Keyword(null,"symbol","symbol",-1038572696),token); +} + +} +} +}); +/** + * Map from ns alias to ns, if non-nil, it will be used to resolve read-time + * ns aliases. + * + * Defaults to nil + */ +cljs.tools.reader._STAR_alias_map_STAR_ = null; +cljs.tools.reader.resolve_alias = (function cljs$tools$reader$resolve_alias(sym){ +return cljs.core.get.call(null,cljs.tools.reader._STAR_alias_map_STAR_,sym); +}); +cljs.tools.reader.resolve_ns = (function cljs$tools$reader$resolve_ns(sym){ +var or__3922__auto__ = cljs.tools.reader.resolve_alias.call(null,sym); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var temp__4657__auto__ = cljs.core.find_ns.call(null,sym); +if(cljs.core.truth_(temp__4657__auto__)){ +var ns = temp__4657__auto__; +return cljs.core.symbol.call(null,cljs.core.ns_name.call(null,ns)); +} else { +return null; +} +} +}); +cljs.tools.reader.read_keyword = (function cljs$tools$reader$read_keyword(reader,initch,opts,pending_forms){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,reader); +if(!(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch))){ +var token = cljs.tools.reader.read_token.call(null,reader,new cljs.core.Keyword(null,"keyword","keyword",811389747),ch); +var s = cljs.tools.reader.impl.commons.parse_symbol.call(null,token); +if(!((s == null))){ +var ns = cljs.core._nth.call(null,s,(0)); +var name = cljs.core._nth.call(null,s,(1)); +if((":" === token.charAt((0)))){ +if(!((ns == null))){ +var temp__4655__auto__ = cljs.tools.reader.resolve_alias.call(null,cljs.core.symbol.call(null,cljs.core.subs.call(null,ns,(1)))); +if(cljs.core.truth_(temp__4655__auto__)){ +var ns__$1 = temp__4655__auto__; +return cljs.core.keyword.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns__$1)].join(''),name); +} else { +return cljs.tools.reader.impl.errors.throw_invalid.call(null,reader,new cljs.core.Keyword(null,"keyword","keyword",811389747),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(":"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(token)].join('')); +} +} else { +var temp__4655__auto__ = cljs.core._STAR_ns_STAR_; +if(cljs.core.truth_(temp__4655__auto__)){ +var ns__$1 = temp__4655__auto__; +return cljs.core.keyword.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns__$1)].join(''),cljs.core.subs.call(null,name,(1))); +} else { +return cljs.tools.reader.impl.errors.reader_error.call(null,reader,"Invalid token: :",token); +} +} +} else { +return cljs.core.keyword.call(null,ns,name); +} +} else { +return cljs.tools.reader.impl.errors.throw_invalid.call(null,reader,new cljs.core.Keyword(null,"keyword","keyword",811389747),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(":"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(token)].join('')); +} +} else { +return cljs.tools.reader.impl.errors.throw_single_colon.call(null,reader); +} +}); +/** + * Returns a function which wraps a reader in a call to sym + */ +cljs.tools.reader.wrapping_reader = (function cljs$tools$reader$wrapping_reader(sym){ +return (function (rdr,_,opts,pending_forms){ +return (new cljs.core.List(null,sym,(new cljs.core.List(null,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms),null,(1),null)),(2),null)); +}); +}); +/** + * Read metadata and return the following object with the metadata applied + */ +cljs.tools.reader.read_meta = (function cljs$tools$reader$read_meta(rdr,_,opts,pending_forms){ +if(((cljs.tools.reader.reader_types.source_logging_reader_QMARK_.call(null,rdr)) && (!(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,cljs.tools.reader.reader_types.peek_char.call(null,rdr)))))){ +return cljs.tools.reader.reader_types.log_source_STAR_.call(null,rdr,(function (){ +var vec__24403 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var line = cljs.core.nth.call(null,vec__24403,(0),null); +var column = cljs.core.nth.call(null,vec__24403,(1),null); +var m = cljs.tools.reader.impl.utils.desugar_meta.call(null,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms)); +if(cljs.core.map_QMARK_.call(null,m)){ +} else { +cljs.tools.reader.impl.errors.throw_bad_metadata.call(null,rdr,m); +} + +var o = cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms); +if(((!((o == null)))?(((((o.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMeta$))))?true:false):false)){ +var m__$1 = (cljs.core.truth_((function (){var and__3911__auto__ = line; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.seq_QMARK_.call(null,o); +} else { +return and__3911__auto__; +} +})())?cljs.core.assoc.call(null,m,new cljs.core.Keyword(null,"line","line",212345235),line,new cljs.core.Keyword(null,"column","column",2078222095),column):m); +if(((!((o == null)))?(((((o.cljs$lang$protocol_mask$partition0$ & (262144))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IWithMeta$))))?true:false):false)){ +return cljs.core.with_meta.call(null,o,cljs.core.merge.call(null,cljs.core.meta.call(null,o),m__$1)); +} else { +return cljs.core.reset_meta_BANG_.call(null,o,m__$1); +} +} else { +return cljs.tools.reader.impl.errors.throw_bad_metadata_target.call(null,rdr,o); +} +})); +} else { +var vec__24408 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var line = cljs.core.nth.call(null,vec__24408,(0),null); +var column = cljs.core.nth.call(null,vec__24408,(1),null); +var m = cljs.tools.reader.impl.utils.desugar_meta.call(null,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms)); +if(cljs.core.map_QMARK_.call(null,m)){ +} else { +cljs.tools.reader.impl.errors.throw_bad_metadata.call(null,rdr,m); +} + +var o = cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms); +if(((!((o == null)))?(((((o.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMeta$))))?true:false):false)){ +var m__$1 = (cljs.core.truth_((function (){var and__3911__auto__ = line; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.seq_QMARK_.call(null,o); +} else { +return and__3911__auto__; +} +})())?cljs.core.assoc.call(null,m,new cljs.core.Keyword(null,"line","line",212345235),line,new cljs.core.Keyword(null,"column","column",2078222095),column):m); +if(((!((o == null)))?(((((o.cljs$lang$protocol_mask$partition0$ & (262144))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IWithMeta$))))?true:false):false)){ +return cljs.core.with_meta.call(null,o,cljs.core.merge.call(null,cljs.core.meta.call(null,o),m__$1)); +} else { +return cljs.core.reset_meta_BANG_.call(null,o,m__$1); +} +} else { +return cljs.tools.reader.impl.errors.throw_bad_metadata_target.call(null,rdr,o); +} +} +}); +cljs.tools.reader.read_set = (function cljs$tools$reader$read_set(rdr,_,opts,pending_forms){ +var vec__24413 = cljs.tools.reader.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24413,(0),null); +var start_column = cljs.core.nth.call(null,vec__24413,(1),null); +var start_column__$1 = (cljs.core.truth_(start_column)?((start_column - (1)) | (0)):null); +var coll = cljs.tools.reader.read_delimited.call(null,new cljs.core.Keyword(null,"set","set",304602554),"}",rdr,opts,pending_forms); +var the_set = cljs.core.set.call(null,coll); +var vec__24416 = cljs.tools.reader.ending_line_col_info.call(null,rdr); +var end_line = cljs.core.nth.call(null,vec__24416,(0),null); +var end_column = cljs.core.nth.call(null,vec__24416,(1),null); +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,coll),cljs.core.count.call(null,the_set))){ +} else { +cljs.tools.reader.impl.errors.reader_error.call(null,rdr,cljs.tools.reader.impl.errors.throw_dup_keys.call(null,rdr,new cljs.core.Keyword(null,"set","set",304602554),coll)); +} + +return cljs.core.with_meta.call(null,the_set,(cljs.core.truth_(start_line)?cljs.core.merge.call(null,(function (){var temp__4657__auto__ = cljs.tools.reader.reader_types.get_file_name.call(null,rdr); +if(cljs.core.truth_(temp__4657__auto__)){ +var file = temp__4657__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"file","file",-1269645878),file], null); +} else { +return null; +} +})(),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"line","line",212345235),start_line,new cljs.core.Keyword(null,"column","column",2078222095),start_column__$1,new cljs.core.Keyword(null,"end-line","end-line",1837326455),end_line,new cljs.core.Keyword(null,"end-column","end-column",1425389514),end_column], null)):null)); +}); +/** + * Read and discard the first object from rdr + */ +cljs.tools.reader.read_discard = (function cljs$tools$reader$read_discard(rdr,_,opts,pending_forms){ +var G__24419 = rdr; +cljs.tools.reader.read_STAR_.call(null,G__24419,true,null,opts,pending_forms); + +return G__24419; +}); +cljs.tools.reader.read_symbolic_value = (function cljs$tools$reader$read_symbolic_value(rdr,_,opts,pending_forms){ +var sym = cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms); +var G__24420 = sym; +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"NaN","NaN",666918153,null),G__24420)){ +return Number.NaN; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"-Inf","-Inf",-2123243689,null),G__24420)){ +return Number.NEGATIVE_INFINITY; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"Inf","Inf",647172781,null),G__24420)){ +return Number.POSITIVE_INFINITY; +} else { +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,["Invalid token: ##",cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)].join('')); + +} +} +} +}); +cljs.tools.reader.RESERVED_FEATURES = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"else","else",-1508377146),null,new cljs.core.Keyword(null,"none","none",1333468478),null], null), null); +cljs.tools.reader.has_feature_QMARK_ = (function cljs$tools$reader$has_feature_QMARK_(rdr,feature,opts){ +if((feature instanceof cljs.core.Keyword)){ +return ((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"default","default",-1987822328),feature)) || (cljs.core.contains_QMARK_.call(null,cljs.core.get.call(null,opts,new cljs.core.Keyword(null,"features","features",-1146962336)),feature))); +} else { +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Feature should be a keyword: ",feature); +} +}); +cljs.tools.reader.check_eof_error = (function cljs$tools$reader$check_eof_error(form,rdr,first_line){ +if((form === cljs.tools.reader.READ_EOF)){ +return cljs.tools.reader.impl.errors.throw_eof_error.call(null,rdr,(function (){var and__3911__auto__ = (first_line < (0)); +if(and__3911__auto__){ +return first_line; +} else { +return and__3911__auto__; +} +})()); +} else { +return null; +} +}); +cljs.tools.reader.check_reserved_features = (function cljs$tools$reader$check_reserved_features(rdr,form){ +if(cljs.core.truth_(cljs.core.get.call(null,cljs.tools.reader.RESERVED_FEATURES,form))){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Feature name ",form," is reserved"); +} else { +return null; +} +}); +cljs.tools.reader.check_invalid_read_cond = (function cljs$tools$reader$check_invalid_read_cond(form,rdr,first_line){ +if((form === cljs.tools.reader.READ_FINISHED)){ +if((first_line < (0))){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"read-cond requires an even number of forms"); +} else { +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"read-cond starting on line ",first_line," requires an even number of forms"); +} +} else { +return null; +} +}); +/** + * Read next form and suppress. Return nil or READ_FINISHED. + */ +cljs.tools.reader.read_suppress = (function cljs$tools$reader$read_suppress(first_line,rdr,opts,pending_forms){ +var _STAR_suppress_read_STAR_24421 = cljs.tools.reader._STAR_suppress_read_STAR_; +cljs.tools.reader._STAR_suppress_read_STAR_ = true; + +try{var form = cljs.tools.reader.read_STAR_.call(null,rdr,false,cljs.tools.reader.READ_EOF,")",opts,pending_forms); +cljs.tools.reader.check_eof_error.call(null,form,rdr,first_line); + +if((form === cljs.tools.reader.READ_FINISHED)){ +return cljs.tools.reader.READ_FINISHED; +} else { +return null; +} +}finally {cljs.tools.reader._STAR_suppress_read_STAR_ = _STAR_suppress_read_STAR_24421; +}}); +if(typeof cljs.tools.reader.NO_MATCH !== 'undefined'){ +} else { +cljs.tools.reader.NO_MATCH = (new Object()); +} +/** + * Read next feature. If matched, read next form and return. + * Otherwise, read and skip next form, returning READ_FINISHED or nil. + */ +cljs.tools.reader.match_feature = (function cljs$tools$reader$match_feature(first_line,rdr,opts,pending_forms){ +var feature = cljs.tools.reader.read_STAR_.call(null,rdr,false,cljs.tools.reader.READ_EOF,")",opts,pending_forms); +cljs.tools.reader.check_eof_error.call(null,feature,rdr,first_line); + +if(cljs.core._EQ_.call(null,feature,cljs.tools.reader.READ_FINISHED)){ +return cljs.tools.reader.READ_FINISHED; +} else { +cljs.tools.reader.check_reserved_features.call(null,rdr,feature); + +if(cljs.core.truth_(cljs.tools.reader.has_feature_QMARK_.call(null,rdr,feature,opts))){ +var G__24422 = cljs.tools.reader.read_STAR_.call(null,rdr,false,cljs.tools.reader.READ_EOF,")",opts,pending_forms); +cljs.tools.reader.check_eof_error.call(null,G__24422,rdr,first_line); + +cljs.tools.reader.check_invalid_read_cond.call(null,G__24422,rdr,first_line); + +return G__24422; +} else { +var or__3922__auto__ = cljs.tools.reader.read_suppress.call(null,first_line,rdr,opts,pending_forms); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.NO_MATCH; +} +} +} +}); +cljs.tools.reader.read_cond_delimited = (function cljs$tools$reader$read_cond_delimited(rdr,splicing,opts,pending_forms){ +var first_line = (cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,rdr))?cljs.tools.reader.reader_types.get_line_number.call(null,rdr):(-1)); +var result = (function (){var matched = cljs.tools.reader.NO_MATCH; +var finished = null; +while(true){ +if((matched === cljs.tools.reader.NO_MATCH)){ +var match = cljs.tools.reader.match_feature.call(null,first_line,rdr,opts,pending_forms); +if((match === cljs.tools.reader.READ_FINISHED)){ +return cljs.tools.reader.READ_FINISHED; +} else { +var G__24424 = match; +var G__24425 = null; +matched = G__24424; +finished = G__24425; +continue; +} +} else { +if(!((finished === cljs.tools.reader.READ_FINISHED))){ +var G__24426 = matched; +var G__24427 = cljs.tools.reader.read_suppress.call(null,first_line,rdr,opts,pending_forms); +matched = G__24426; +finished = G__24427; +continue; +} else { +return matched; + +} +} +break; +} +})(); +if((result === cljs.tools.reader.READ_FINISHED)){ +return rdr; +} else { +if(cljs.core.truth_(splicing)){ +if(((!((result == null)))?(((((result.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === result.cljs$core$ISequential$))))?true:false):false)){ +goog.array.insertArrayAt(pending_forms,cljs.core.to_array.call(null,result),(0)); + +return rdr; +} else { +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Spliced form list in read-cond-splicing must implement ISequential"); +} +} else { +return result; +} +} +}); +cljs.tools.reader.read_cond = (function cljs$tools$reader$read_cond(rdr,_,opts,pending_forms){ +if(cljs.core.not.call(null,(function (){var and__3911__auto__ = opts; +if(cljs.core.truth_(and__3911__auto__)){ +return new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"preserve","preserve",1276846509),null,new cljs.core.Keyword(null,"allow","allow",-1857325745),null], null), null).call(null,new cljs.core.Keyword(null,"read-cond","read-cond",1056899244).cljs$core$IFn$_invoke$arity$1(opts)); +} else { +return and__3911__auto__; +} +})())){ +throw cljs.core.ex_info.call(null,"Conditional read not allowed",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"runtime-exception","runtime-exception",-1495664514)], null)); +} else { +} + +var temp__4655__auto__ = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(cljs.core.truth_(temp__4655__auto__)){ +var ch = temp__4655__auto__; +var splicing = cljs.core._EQ_.call(null,ch,"@"); +var ch__$1 = ((splicing)?cljs.tools.reader.reader_types.read_char.call(null,rdr):ch); +if(splicing){ +if(cljs.tools.reader._STAR_read_delim_STAR_){ +} else { +cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"cond-splice not in list"); +} +} else { +} + +var temp__4655__auto____$1 = ((cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch__$1))?cljs.tools.reader.impl.commons.read_past.call(null,cljs.tools.reader.impl.utils.whitespace_QMARK_,rdr):ch__$1); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var ch__$2 = temp__4655__auto____$1; +if(cljs.core.not_EQ_.call(null,ch__$2,"(")){ +throw cljs.core.ex_info.call(null,"read-cond body must be a list",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"runtime-exception","runtime-exception",-1495664514)], null)); +} else { +var _STAR_suppress_read_STAR_24428 = cljs.tools.reader._STAR_suppress_read_STAR_; +cljs.tools.reader._STAR_suppress_read_STAR_ = (function (){var or__3922__auto__ = cljs.tools.reader._STAR_suppress_read_STAR_; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"preserve","preserve",1276846509),new cljs.core.Keyword(null,"read-cond","read-cond",1056899244).cljs$core$IFn$_invoke$arity$1(opts)); +} +})(); + +try{if(cljs.core.truth_(cljs.tools.reader._STAR_suppress_read_STAR_)){ +return cljs.tools.reader.impl.utils.reader_conditional.call(null,cljs.tools.reader.read_list.call(null,rdr,ch__$2,opts,pending_forms),splicing); +} else { +return cljs.tools.reader.read_cond_delimited.call(null,rdr,splicing,opts,pending_forms); +} +}finally {cljs.tools.reader._STAR_suppress_read_STAR_ = _STAR_suppress_read_STAR_24428; +}} +} else { +return cljs.tools.reader.impl.errors.throw_eof_in_character.call(null,rdr); +} +} else { +return cljs.tools.reader.impl.errors.throw_eof_in_character.call(null,rdr); +} +}); +cljs.tools.reader.arg_env = null; +/** + * Get a symbol for an anonymous ?argument? + */ +cljs.tools.reader.garg = (function cljs$tools$reader$garg(n){ +return cljs.core.symbol.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(((((-1) === n))?"rest":["p",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)].join(''))),"__",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.tools.reader.impl.utils.next_id.call(null)),"#"].join('')); +}); +cljs.tools.reader.read_fn = (function cljs$tools$reader$read_fn(rdr,_,opts,pending_forms){ +if(cljs.core.truth_(cljs.tools.reader.arg_env)){ +throw cljs.core.ex_info.call(null,"Nested #()s are not allowed",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"illegal-state","illegal-state",-1519851182)], null)); +} else { +} + +var arg_env24429 = cljs.tools.reader.arg_env; +cljs.tools.reader.arg_env = cljs.core.sorted_map.call(null); + +try{var form = cljs.tools.reader.read_STAR_.call(null,(function (){var G__24430 = rdr; +cljs.tools.reader.reader_types.unread.call(null,G__24430,"("); + +return G__24430; +})(),true,null,opts,pending_forms); +var rargs = cljs.core.rseq.call(null,cljs.tools.reader.arg_env); +var args = ((rargs)?(function (){var higharg = cljs.core.key.call(null,cljs.core.first.call(null,rargs)); +var args = (function (){var i = (1); +var args = cljs.core.transient$.call(null,cljs.core.PersistentVector.EMPTY); +while(true){ +if((i > higharg)){ +return cljs.core.persistent_BANG_.call(null,args); +} else { +var G__24431 = (i + (1)); +var G__24432 = cljs.core.conj_BANG_.call(null,args,(function (){var or__3922__auto__ = cljs.core.get.call(null,cljs.tools.reader.arg_env,i); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.garg.call(null,i); +} +})()); +i = G__24431; +args = G__24432; +continue; +} +break; +} +})(); +var args__$1 = (cljs.core.truth_(cljs.tools.reader.arg_env.call(null,(-1)))?cljs.core.conj.call(null,args,new cljs.core.Symbol(null,"&","&",-2144855648,null),cljs.tools.reader.arg_env.call(null,(-1))):args); +return args__$1; +})():cljs.core.PersistentVector.EMPTY); +return (new cljs.core.List(null,new cljs.core.Symbol(null,"fn*","fn*",-752876845,null),(new cljs.core.List(null,args,(new cljs.core.List(null,form,null,(1),null)),(2),null)),(3),null)); +}finally {cljs.tools.reader.arg_env = arg_env24429; +}}); +/** + * Registers an argument to the arg-env + */ +cljs.tools.reader.register_arg = (function cljs$tools$reader$register_arg(n){ +if(cljs.core.truth_(cljs.tools.reader.arg_env)){ +var temp__4655__auto__ = cljs.tools.reader.arg_env.call(null,n); +if(cljs.core.truth_(temp__4655__auto__)){ +var ret = temp__4655__auto__; +return ret; +} else { +var g = cljs.tools.reader.garg.call(null,n); +cljs.tools.reader.arg_env = cljs.core.assoc.call(null,cljs.tools.reader.arg_env,n,g); + +return g; +} +} else { +throw cljs.core.ex_info.call(null,"Arg literal not in #()",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"illegal-state","illegal-state",-1519851182)], null)); +} +}); +cljs.tools.reader.read_arg = (function cljs$tools$reader$read_arg(rdr,pct,opts,pending_forms){ +if((cljs.tools.reader.arg_env == null)){ +return cljs.tools.reader.read_symbol.call(null,rdr,pct); +} else { +var ch = cljs.tools.reader.reader_types.peek_char.call(null,rdr); +if(((cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch)) || (cljs.tools.reader.macro_terminating_QMARK_.call(null,ch)) || ((ch == null)))){ +return cljs.tools.reader.register_arg.call(null,(1)); +} else { +if(cljs.core._EQ_.call(null,ch,"&")){ +cljs.tools.reader.reader_types.read_char.call(null,rdr); + +return cljs.tools.reader.register_arg.call(null,(-1)); +} else { +var n = cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms); +if(!(cljs.core.integer_QMARK_.call(null,n))){ +throw cljs.core.ex_info.call(null,"Arg literal must be %, %& or %integer",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"illegal-state","illegal-state",-1519851182)], null)); +} else { +return cljs.tools.reader.register_arg.call(null,n); +} + +} +} +} +}); +cljs.tools.reader.gensym_env = null; +cljs.tools.reader.read_unquote = (function cljs$tools$reader$read_unquote(rdr,comma,opts,pending_forms){ +var temp__4655__auto__ = cljs.tools.reader.reader_types.peek_char.call(null,rdr); +if(cljs.core.truth_(temp__4655__auto__)){ +var ch = temp__4655__auto__; +if(cljs.core._EQ_.call(null,"@",ch)){ +return cljs.tools.reader.wrapping_reader.call(null,new cljs.core.Symbol("clojure.core","unquote-splicing","clojure.core/unquote-splicing",-552003150,null)).call(null,(function (){var G__24433 = rdr; +cljs.tools.reader.reader_types.read_char.call(null,G__24433); + +return G__24433; +})(),"@",opts,pending_forms); +} else { +return cljs.tools.reader.wrapping_reader.call(null,new cljs.core.Symbol("clojure.core","unquote","clojure.core/unquote",843087510,null)).call(null,rdr,"~",opts,pending_forms); +} +} else { +return null; +} +}); +cljs.tools.reader.unquote_splicing_QMARK_ = (function cljs$tools$reader$unquote_splicing_QMARK_(form){ +return ((cljs.core.seq_QMARK_.call(null,form)) && (cljs.core._EQ_.call(null,cljs.core.first.call(null,form),new cljs.core.Symbol("clojure.core","unquote-splicing","clojure.core/unquote-splicing",-552003150,null)))); +}); +cljs.tools.reader.unquote_QMARK_ = (function cljs$tools$reader$unquote_QMARK_(form){ +return ((cljs.core.seq_QMARK_.call(null,form)) && (cljs.core._EQ_.call(null,cljs.core.first.call(null,form),new cljs.core.Symbol("clojure.core","unquote","clojure.core/unquote",843087510,null)))); +}); +/** + * Expand a list by resolving its syntax quotes and unquotes + */ +cljs.tools.reader.expand_list = (function cljs$tools$reader$expand_list(s){ +var s__$1 = cljs.core.seq.call(null,s); +var r = cljs.core.transient$.call(null,cljs.core.PersistentVector.EMPTY); +while(true){ +if(s__$1){ +var item = cljs.core.first.call(null,s__$1); +var ret = cljs.core.conj_BANG_.call(null,r,(cljs.core.truth_(cljs.tools.reader.unquote_QMARK_.call(null,item))?(new cljs.core.List(null,new cljs.core.Symbol("clojure.core","list","clojure.core/list",-1119203325,null),(new cljs.core.List(null,cljs.core.second.call(null,item),null,(1),null)),(2),null)):(cljs.core.truth_(cljs.tools.reader.unquote_splicing_QMARK_.call(null,item))?cljs.core.second.call(null,item):(new cljs.core.List(null,new cljs.core.Symbol("clojure.core","list","clojure.core/list",-1119203325,null),(new cljs.core.List(null,cljs.tools.reader.syntax_quote_STAR_.call(null,item),null,(1),null)),(2),null)) +))); +var G__24434 = cljs.core.next.call(null,s__$1); +var G__24435 = ret; +s__$1 = G__24434; +r = G__24435; +continue; +} else { +return cljs.core.seq.call(null,cljs.core.persistent_BANG_.call(null,r)); +} +break; +} +}); +/** + * Flatten a map into a seq of alternate keys and values + */ +cljs.tools.reader.flatten_map = (function cljs$tools$reader$flatten_map(form){ +var s = cljs.core.seq.call(null,form); +var key_vals = cljs.core.transient$.call(null,cljs.core.PersistentVector.EMPTY); +while(true){ +if(s){ +var e = cljs.core.first.call(null,s); +var G__24436 = cljs.core.next.call(null,s); +var G__24437 = cljs.core.conj_BANG_.call(null,cljs.core.conj_BANG_.call(null,key_vals,cljs.core.key.call(null,e)),cljs.core.val.call(null,e)); +s = G__24436; +key_vals = G__24437; +continue; +} else { +return cljs.core.seq.call(null,cljs.core.persistent_BANG_.call(null,key_vals)); +} +break; +} +}); +cljs.tools.reader.register_gensym = (function cljs$tools$reader$register_gensym(sym){ +if(cljs.core.not.call(null,cljs.tools.reader.gensym_env)){ +throw cljs.core.ex_info.call(null,"Gensym literal not in syntax-quote",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"illegal-state","illegal-state",-1519851182)], null)); +} else { +} + +var or__3922__auto__ = cljs.core.get.call(null,cljs.tools.reader.gensym_env,sym); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var gs = cljs.core.symbol.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.subs.call(null,cljs.core.name.call(null,sym),(0),(cljs.core.count.call(null,cljs.core.name.call(null,sym)) - (1)))),"__",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.tools.reader.impl.utils.next_id.call(null)),"__auto__"].join('')); +cljs.tools.reader.gensym_env = cljs.core.assoc.call(null,cljs.tools.reader.gensym_env,sym,gs); + +return gs; +} +}); +cljs.tools.reader.add_meta = (function cljs$tools$reader$add_meta(form,ret){ +if((function (){var and__3911__auto__ = ((!((form == null)))?(((((form.cljs$lang$protocol_mask$partition0$ & (262144))) || ((cljs.core.PROTOCOL_SENTINEL === form.cljs$core$IWithMeta$))))?true:false):false); +if(and__3911__auto__){ +return cljs.core.seq.call(null,cljs.core.dissoc.call(null,cljs.core.meta.call(null,form),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"source","source",-433931539))); +} else { +return and__3911__auto__; +} +})()){ +return (new cljs.core.List(null,new cljs.core.Symbol("cljs.core","with-meta","cljs.core/with-meta",749126446,null),(new cljs.core.List(null,ret,(new cljs.core.List(null,cljs.tools.reader.syntax_quote_STAR_.call(null,cljs.core.meta.call(null,form)),null,(1),null)),(2),null)),(3),null)); +} else { +return ret; +} +}); +cljs.tools.reader.syntax_quote_coll = (function cljs$tools$reader$syntax_quote_coll(type,coll){ +var res = (new cljs.core.List(null,new cljs.core.Symbol("cljs.core","sequence","cljs.core/sequence",1908459032,null),(new cljs.core.List(null,cljs.core.cons.call(null,new cljs.core.Symbol("cljs.core","concat","cljs.core/concat",-1133584918,null),cljs.tools.reader.expand_list.call(null,coll)),null,(1),null)),(2),null)); +if(cljs.core.truth_(type)){ +return (new cljs.core.List(null,new cljs.core.Symbol("cljs.core","apply","cljs.core/apply",1757277831,null),(new cljs.core.List(null,type,(new cljs.core.List(null,res,null,(1),null)),(2),null)),(3),null)); +} else { +return res; +} +}); +/** + * Decide which map type to use, array-map if less than 16 elements + */ +cljs.tools.reader.map_func = (function cljs$tools$reader$map_func(coll){ +if((cljs.core.count.call(null,coll) >= (16))){ +return new cljs.core.Symbol("cljs.core","hash-map","cljs.core/hash-map",303385767,null); +} else { +return new cljs.core.Symbol("cljs.core","array-map","cljs.core/array-map",-1519210683,null); +} +}); +cljs.tools.reader.bool_QMARK_ = (function cljs$tools$reader$bool_QMARK_(x){ +return (((x instanceof Boolean)) || (x === true) || (x === false)); +}); +/** + * Resolve a symbol s into its fully qualified namespace version + */ +cljs.tools.reader.resolve_symbol = (function cljs$tools$reader$resolve_symbol(s){ +throw cljs.core.ex_info.call(null,"resolve-symbol is not implemented",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"sym","sym",-1444860305),s], null)); +}); +cljs.tools.reader.syntax_quote_STAR_ = (function cljs$tools$reader$syntax_quote_STAR_(form){ +return cljs.tools.reader.add_meta.call(null,form,((cljs.core.special_symbol_QMARK_.call(null,form))?(new cljs.core.List(null,new cljs.core.Symbol(null,"quote","quote",1377916282,null),(new cljs.core.List(null,form,null,(1),null)),(2),null)):(((form instanceof cljs.core.Symbol))?(new cljs.core.List(null,new cljs.core.Symbol(null,"quote","quote",1377916282,null),(new cljs.core.List(null,(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.not.call(null,cljs.core.namespace.call(null,form)); +if(and__3911__auto__){ +return goog.string.endsWith(cljs.core.name.call(null,form),"#"); +} else { +return and__3911__auto__; +} +})())?cljs.tools.reader.register_gensym.call(null,form):(function (){var sym = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(form)].join(''); +if(cljs.core.truth_(goog.string.endsWith(sym,"."))){ +var csym = cljs.core.symbol.call(null,cljs.core.subs.call(null,sym,(0),(cljs.core.count.call(null,sym) - (1)))); +return cljs.core.symbol.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.tools.reader.resolve_symbol.call(null,csym)),"."].join('')); +} else { +return cljs.tools.reader.resolve_symbol.call(null,form); +} +})()),null,(1),null)),(2),null)):(cljs.core.truth_(cljs.tools.reader.unquote_QMARK_.call(null,form))?cljs.core.second.call(null,form):(cljs.core.truth_(cljs.tools.reader.unquote_splicing_QMARK_.call(null,form))?(function(){throw cljs.core.ex_info.call(null,"unquote-splice not in list",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"illegal-state","illegal-state",-1519851182)], null))})():((cljs.core.coll_QMARK_.call(null,form))?((((!((form == null)))?(((((form.cljs$lang$protocol_mask$partition0$ & (67108864))) || ((cljs.core.PROTOCOL_SENTINEL === form.cljs$core$IRecord$))))?true:false):false))?form:((cljs.core.map_QMARK_.call(null,form))?cljs.tools.reader.syntax_quote_coll.call(null,cljs.tools.reader.map_func.call(null,form),cljs.tools.reader.flatten_map.call(null,form)):((cljs.core.vector_QMARK_.call(null,form))?(new cljs.core.List(null,new cljs.core.Symbol("cljs.core","vec","cljs.core/vec",307622519,null),(new cljs.core.List(null,cljs.tools.reader.syntax_quote_coll.call(null,null,form),null,(1),null)),(2),null)):((cljs.core.set_QMARK_.call(null,form))?cljs.tools.reader.syntax_quote_coll.call(null,new cljs.core.Symbol("cljs.core","hash-set","cljs.core/hash-set",1130426749,null),form):((((cljs.core.seq_QMARK_.call(null,form)) || (cljs.core.list_QMARK_.call(null,form))))?(function (){var seq = cljs.core.seq.call(null,form); +if(seq){ +return cljs.tools.reader.syntax_quote_coll.call(null,null,seq); +} else { +return cljs.core.list(new cljs.core.Symbol("cljs.core","list","cljs.core/list",-1331406371,null)); +} +})():(function(){throw cljs.core.ex_info.call(null,"Unknown Collection type",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"unsupported-operation","unsupported-operation",1890540953)], null))})() +))))):(cljs.core.truth_((function (){var or__3922__auto__ = (form instanceof cljs.core.Keyword); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = typeof form === 'number'; +if(or__3922__auto____$1){ +return or__3922__auto____$1; +} else { +var or__3922__auto____$2 = typeof form === 'string'; +if(or__3922__auto____$2){ +return or__3922__auto____$2; +} else { +var or__3922__auto____$3 = (form == null); +if(or__3922__auto____$3){ +return or__3922__auto____$3; +} else { +var or__3922__auto____$4 = cljs.tools.reader.bool_QMARK_.call(null,form); +if(cljs.core.truth_(or__3922__auto____$4)){ +return or__3922__auto____$4; +} else { +return (form instanceof RegExp); +} +} +} +} +} +})())?form:(new cljs.core.List(null,new cljs.core.Symbol(null,"quote","quote",1377916282,null),(new cljs.core.List(null,form,null,(1),null)),(2),null)) +))))))); +}); +cljs.tools.reader.read_syntax_quote = (function cljs$tools$reader$read_syntax_quote(rdr,backquote,opts,pending_forms){ +var gensym_env24441 = cljs.tools.reader.gensym_env; +cljs.tools.reader.gensym_env = cljs.core.PersistentArrayMap.EMPTY; + +try{return cljs.tools.reader.syntax_quote_STAR_.call(null,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms)); +}finally {cljs.tools.reader.gensym_env = gensym_env24441; +}}); +cljs.tools.reader.read_namespaced_map = (function cljs$tools$reader$read_namespaced_map(rdr,_,opts,pending_forms){ +var token = cljs.tools.reader.read_token.call(null,rdr,new cljs.core.Keyword(null,"namespaced-map","namespaced-map",1235665380),cljs.tools.reader.reader_types.read_char.call(null,rdr)); +var temp__4655__auto__ = ((cljs.core._EQ_.call(null,token,":"))?cljs.core.ns_name.call(null,cljs.core._STAR_ns_STAR_):((cljs.core._EQ_.call(null,":",cljs.core.first.call(null,token)))?(function (){var G__24442 = token; +var G__24442__$1 = (((G__24442 == null))?null:cljs.core.subs.call(null,G__24442,(1))); +var G__24442__$2 = (((G__24442__$1 == null))?null:cljs.tools.reader.impl.commons.parse_symbol.call(null,G__24442__$1)); +var G__24442__$3 = (((G__24442__$2 == null))?null:cljs.tools.reader.impl.utils.second_SINGLEQUOTE_.call(null,G__24442__$2)); +var G__24442__$4 = (((G__24442__$3 == null))?null:cljs.core.symbol.call(null,G__24442__$3)); +if((G__24442__$4 == null)){ +return null; +} else { +return cljs.tools.reader.resolve_ns.call(null,G__24442__$4); +} +})():(function (){var G__24443 = token; +var G__24443__$1 = (((G__24443 == null))?null:cljs.tools.reader.impl.commons.parse_symbol.call(null,G__24443)); +if((G__24443__$1 == null)){ +return null; +} else { +return cljs.tools.reader.impl.utils.second_SINGLEQUOTE_.call(null,G__24443__$1); +} +})() +)); +if(cljs.core.truth_(temp__4655__auto__)){ +var ns = temp__4655__auto__; +var ch = cljs.tools.reader.impl.commons.read_past.call(null,cljs.tools.reader.impl.utils.whitespace_QMARK_,rdr); +if((ch === "{")){ +var items = cljs.tools.reader.read_delimited.call(null,new cljs.core.Keyword(null,"namespaced-map","namespaced-map",1235665380),"}",rdr,opts,pending_forms); +if(cljs.core.odd_QMARK_.call(null,cljs.core.count.call(null,items))){ +cljs.tools.reader.impl.errors.throw_odd_map.call(null,rdr,null,null,items); +} else { +} + +var keys = cljs.tools.reader.impl.utils.namespace_keys.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''),cljs.core.take_nth.call(null,(2),items)); +var vals = cljs.core.take_nth.call(null,(2),cljs.core.rest.call(null,items)); +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,cljs.core.set.call(null,keys)),cljs.core.count.call(null,keys))){ +} else { +cljs.tools.reader.impl.errors.throw_dup_keys.call(null,rdr,new cljs.core.Keyword(null,"namespaced-map","namespaced-map",1235665380),keys); +} + +return cljs.core.zipmap.call(null,keys,vals); +} else { +return cljs.tools.reader.impl.errors.throw_ns_map_no_map.call(null,rdr,token); +} +} else { +return cljs.tools.reader.impl.errors.throw_bad_ns.call(null,rdr,token); +} +}); +cljs.tools.reader.macros = (function cljs$tools$reader$macros(ch){ +var G__24444 = ch; +switch (G__24444) { +case "\"": +return cljs.tools.reader.read_string_STAR_; + +break; +case ":": +return cljs.tools.reader.read_keyword; + +break; +case ";": +return cljs.tools.reader.impl.commons.read_comment; + +break; +case "'": +return cljs.tools.reader.wrapping_reader.call(null,new cljs.core.Symbol(null,"quote","quote",1377916282,null)); + +break; +case "@": +return cljs.tools.reader.wrapping_reader.call(null,new cljs.core.Symbol("clojure.core","deref","clojure.core/deref",188719157,null)); + +break; +case "^": +return cljs.tools.reader.read_meta; + +break; +case "`": +return cljs.tools.reader.read_syntax_quote; + +break; +case "~": +return cljs.tools.reader.read_unquote; + +break; +case "(": +return cljs.tools.reader.read_list; + +break; +case ")": +return cljs.tools.reader.read_unmatched_delimiter; + +break; +case "[": +return cljs.tools.reader.read_vector; + +break; +case "]": +return cljs.tools.reader.read_unmatched_delimiter; + +break; +case "{": +return cljs.tools.reader.read_map; + +break; +case "}": +return cljs.tools.reader.read_unmatched_delimiter; + +break; +case "\\": +return cljs.tools.reader.read_char_STAR_; + +break; +case "%": +return cljs.tools.reader.read_arg; + +break; +case "#": +return cljs.tools.reader.read_dispatch; + +break; +default: +return null; + +} +}); +cljs.tools.reader.dispatch_macros = (function cljs$tools$reader$dispatch_macros(ch){ +var G__24446 = ch; +switch (G__24446) { +case "^": +return cljs.tools.reader.read_meta; + +break; +case "'": +return cljs.tools.reader.wrapping_reader.call(null,new cljs.core.Symbol(null,"var","var",870848730,null)); + +break; +case "(": +return cljs.tools.reader.read_fn; + +break; +case "{": +return cljs.tools.reader.read_set; + +break; +case "<": +return cljs.tools.reader.impl.commons.throwing_reader.call(null,"Unreadable form"); + +break; +case "=": +return cljs.tools.reader.impl.commons.throwing_reader.call(null,"read-eval not supported"); + +break; +case "\"": +return cljs.tools.reader.read_regex; + +break; +case "!": +return cljs.tools.reader.impl.commons.read_comment; + +break; +case "_": +return cljs.tools.reader.read_discard; + +break; +case "?": +return cljs.tools.reader.read_cond; + +break; +case ":": +return cljs.tools.reader.read_namespaced_map; + +break; +case "#": +return cljs.tools.reader.read_symbolic_value; + +break; +default: +return null; + +} +}); +cljs.tools.reader.read_tagged = (function cljs$tools$reader$read_tagged(rdr,initch,opts,pending_forms){ +var tag = cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms); +if(!((tag instanceof cljs.core.Symbol))){ +cljs.tools.reader.impl.errors.throw_bad_reader_tag.call(null,rdr,tag); +} else { +} + +if(cljs.core.truth_(cljs.tools.reader._STAR_suppress_read_STAR_)){ +return cljs.core.tagged_literal.call(null,tag,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms)); +} else { +var temp__4655__auto__ = (function (){var or__3922__auto__ = cljs.tools.reader._STAR_data_readers_STAR_.call(null,tag); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.default_data_readers.call(null,tag); +} +})(); +if(cljs.core.truth_(temp__4655__auto__)){ +var f = temp__4655__auto__; +return f.call(null,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms)); +} else { +var temp__4655__auto____$1 = cljs.tools.reader._STAR_default_data_reader_fn_STAR_; +if(cljs.core.truth_(temp__4655__auto____$1)){ +var f = temp__4655__auto____$1; +return f.call(null,tag,cljs.tools.reader.read_STAR_.call(null,rdr,true,null,opts,pending_forms)); +} else { +return cljs.tools.reader.impl.errors.throw_unknown_reader_tag.call(null,rdr,tag); +} +} +} +}); +/** + * Map from reader tag symbols to data reader Vars. + * Reader tags without namespace qualifiers are reserved for Clojure. + * This light version of tools.reader has no implementation for default + * reader tags such as #inst and #uuid. + */ +cljs.tools.reader._STAR_data_readers_STAR_ = cljs.core.PersistentArrayMap.EMPTY; +/** + * When no data reader is found for a tag and *default-data-reader-fn* + * is non-nil, it will be called with two arguments, the tag and the value. + * If *default-data-reader-fn* is nil (the default value), an exception + * will be thrown for the unknown tag. + */ +cljs.tools.reader._STAR_default_data_reader_fn_STAR_ = null; +cljs.tools.reader._STAR_suppress_read_STAR_ = false; +/** + * Default map of data reader functions provided by Clojure. + * May be overridden by binding *data-readers* + */ +cljs.tools.reader.default_data_readers = cljs.core.PersistentArrayMap.EMPTY; +cljs.tools.reader.read_STAR__internal = (function cljs$tools$reader$read_STAR__internal(reader,eof_error_QMARK_,sentinel,return_on,opts,pending_forms){ +while(true){ +if(((cljs.tools.reader.reader_types.source_logging_reader_QMARK_.call(null,reader)) && (!(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,cljs.tools.reader.reader_types.peek_char.call(null,reader)))))){ +return cljs.tools.reader.reader_types.log_source_STAR_.call(null,reader,(function (){ +while(true){ +if(!(goog.array.isEmpty(pending_forms))){ +var form = (pending_forms[(0)]); +goog.array.removeAt(pending_forms,(0)); + +return form; +} else { +var ch = cljs.tools.reader.reader_types.read_char.call(null,reader); +if(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch)){ +continue; +} else { +if((ch == null)){ +if(eof_error_QMARK_){ +return cljs.tools.reader.impl.errors.throw_eof_error.call(null,reader,null); +} else { +return sentinel; +} +} else { +if((ch === return_on)){ +return cljs.tools.reader.READ_FINISHED; +} else { +if(cljs.tools.reader.impl.commons.number_literal_QMARK_.call(null,reader,ch)){ +return cljs.tools.reader.read_number.call(null,reader,ch); +} else { +var f = cljs.tools.reader.macros.call(null,ch); +if(!((f == null))){ +var res = f.call(null,reader,ch,opts,pending_forms); +if((res === reader)){ +continue; +} else { +return res; +} +} else { +return cljs.tools.reader.read_symbol.call(null,reader,ch); +} + +} +} +} +} +} +break; +} +})); +} else { +if(!(goog.array.isEmpty(pending_forms))){ +var form = (pending_forms[(0)]); +goog.array.removeAt(pending_forms,(0)); + +return form; +} else { +var ch = cljs.tools.reader.reader_types.read_char.call(null,reader); +if(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch)){ +continue; +} else { +if((ch == null)){ +if(eof_error_QMARK_){ +return cljs.tools.reader.impl.errors.throw_eof_error.call(null,reader,null); +} else { +return sentinel; +} +} else { +if((ch === return_on)){ +return cljs.tools.reader.READ_FINISHED; +} else { +if(cljs.tools.reader.impl.commons.number_literal_QMARK_.call(null,reader,ch)){ +return cljs.tools.reader.read_number.call(null,reader,ch); +} else { +var f = cljs.tools.reader.macros.call(null,ch); +if(!((f == null))){ +var res = f.call(null,reader,ch,opts,pending_forms); +if((res === reader)){ +continue; +} else { +return res; +} +} else { +return cljs.tools.reader.read_symbol.call(null,reader,ch); +} + +} +} +} +} +} +} +break; +} +}); +cljs.tools.reader.read_STAR_ = (function cljs$tools$reader$read_STAR_(var_args){ +var G__24449 = arguments.length; +switch (G__24449) { +case 5: +return cljs.tools.reader.read_STAR_.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.tools.reader.read_STAR_.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.tools.reader.read_STAR_.cljs$core$IFn$_invoke$arity$5 = (function (reader,eof_error_QMARK_,sentinel,opts,pending_forms){ +return cljs.tools.reader.read_STAR_.call(null,reader,eof_error_QMARK_,sentinel,null,opts,pending_forms); +}); + +cljs.tools.reader.read_STAR_.cljs$core$IFn$_invoke$arity$6 = (function (reader,eof_error_QMARK_,sentinel,return_on,opts,pending_forms){ +try{return cljs.tools.reader.read_STAR__internal.call(null,reader,eof_error_QMARK_,sentinel,return_on,opts,pending_forms); +}catch (e24450){if((e24450 instanceof Error)){ +var e = e24450; +if(cljs.tools.reader.impl.utils.ex_info_QMARK_.call(null,e)){ +var d = cljs.core.ex_data.call(null,e); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(d))){ +throw e; +} else { +throw cljs.core.ex_info.call(null,e.message,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098)], null),d,(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,reader))?new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"line","line",212345235),cljs.tools.reader.reader_types.get_line_number.call(null,reader),new cljs.core.Keyword(null,"column","column",2078222095),cljs.tools.reader.reader_types.get_column_number.call(null,reader),new cljs.core.Keyword(null,"file","file",-1269645878),cljs.tools.reader.reader_types.get_file_name.call(null,reader)], null):null)),e); +} +} else { +throw cljs.core.ex_info.call(null,e.message,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098)], null),(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,reader))?new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"line","line",212345235),cljs.tools.reader.reader_types.get_line_number.call(null,reader),new cljs.core.Keyword(null,"column","column",2078222095),cljs.tools.reader.reader_types.get_column_number.call(null,reader),new cljs.core.Keyword(null,"file","file",-1269645878),cljs.tools.reader.reader_types.get_file_name.call(null,reader)], null):null)),e); +} +} else { +throw e24450; + +} +}}); + +cljs.tools.reader.read_STAR_.cljs$lang$maxFixedArity = 6; + +/** + * Reads the first object from an IPushbackReader. + * Returns the object read. If EOF, throws if eof-error? is true. + * Otherwise returns sentinel. If no stream is providen, *in* will be used. + * + * Opts is a persistent map with valid keys: + * :read-cond - :allow to process reader conditionals, or + * :preserve to keep all branches + * :features - persistent set of feature keywords for reader conditionals + * :eof - on eof, return value unless :eofthrow, then throw. + * if not specified, will throw + * + * To read data structures only, use clojure.tools.reader.edn/read + * + * Note that the function signature of clojure.tools.reader/read and + * clojure.tools.reader.edn/read is not the same for eof-handling + */ +cljs.tools.reader.read = (function cljs$tools$reader$read(var_args){ +var G__24453 = arguments.length; +switch (G__24453) { +case 1: +return cljs.tools.reader.read.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.read.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.tools.reader.read.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.tools.reader.read.cljs$core$IFn$_invoke$arity$1 = (function (reader){ +return cljs.tools.reader.read.call(null,reader,true,null); +}); + +cljs.tools.reader.read.cljs$core$IFn$_invoke$arity$2 = (function (p__24454,reader){ +var map__24455 = p__24454; +var map__24455__$1 = ((((!((map__24455 == null)))?(((((map__24455.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24455.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24455):map__24455); +var opts = map__24455__$1; +var eof = cljs.core.get.call(null,map__24455__$1,new cljs.core.Keyword(null,"eof","eof",-489063237),new cljs.core.Keyword(null,"eofthrow","eofthrow",-334166531)); +return cljs.tools.reader.read_STAR_.call(null,reader,cljs.core._EQ_.call(null,eof,new cljs.core.Keyword(null,"eofthrow","eofthrow",-334166531)),eof,null,opts,cljs.core.to_array.call(null,cljs.core.PersistentVector.EMPTY)); +}); + +cljs.tools.reader.read.cljs$core$IFn$_invoke$arity$3 = (function (reader,eof_error_QMARK_,sentinel){ +return cljs.tools.reader.read_STAR_.call(null,reader,eof_error_QMARK_,sentinel,null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.to_array.call(null,cljs.core.PersistentVector.EMPTY)); +}); + +cljs.tools.reader.read.cljs$lang$maxFixedArity = 3; + +/** + * Reads one object from the string s. + * Returns nil when s is nil or empty. + * + * To read data structures only, use clojure.tools.reader.edn/read-string + * + * Note that the function signature of clojure.tools.reader/read-string and + * clojure.tools.reader.edn/read-string is not the same for eof-handling + */ +cljs.tools.reader.read_string = (function cljs$tools$reader$read_string(var_args){ +var G__24459 = arguments.length; +switch (G__24459) { +case 1: +return cljs.tools.reader.read_string.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.read_string.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.tools.reader.read_string.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return cljs.tools.reader.read_string.call(null,cljs.core.PersistentArrayMap.EMPTY,s); +}); + +cljs.tools.reader.read_string.cljs$core$IFn$_invoke$arity$2 = (function (opts,s){ +if(cljs.core.truth_((function (){var and__3911__auto__ = s; +if(cljs.core.truth_(and__3911__auto__)){ +return !((s === "")); +} else { +return and__3911__auto__; +} +})())){ +return cljs.tools.reader.read.call(null,opts,cljs.tools.reader.reader_types.string_push_back_reader.call(null,s)); +} else { +return null; +} +}); + +cljs.tools.reader.read_string.cljs$lang$maxFixedArity = 2; + +/** + * Like read, and taking the same args. reader must be a SourceLoggingPushbackReader. + * Returns a vector containing the object read and the (whitespace-trimmed) string read. + */ +cljs.tools.reader.read_PLUS_string = (function cljs$tools$reader$read_PLUS_string(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24463 = arguments.length; +var i__4500__auto___24464 = (0); +while(true){ +if((i__4500__auto___24464 < len__4499__auto___24463)){ +args__4502__auto__.push((arguments[i__4500__auto___24464])); + +var G__24465 = (i__4500__auto___24464 + (1)); +i__4500__auto___24464 = G__24465; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.tools.reader.read_PLUS_string.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.tools.reader.read_PLUS_string.cljs$core$IFn$_invoke$arity$variadic = (function (reader,args){ +var buf = (function (reader__$1){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,reader__$1.frames)))].join(''); +}); +var offset = cljs.core.count.call(null,buf.call(null,reader)); +var o = ((((cljs.tools.reader.reader_types.source_logging_reader_QMARK_.call(null,reader)) && (!(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,cljs.tools.reader.reader_types.peek_char.call(null,reader))))))?cljs.tools.reader.reader_types.log_source_STAR_.call(null,reader,((function (buf,offset){ +return (function (){ +if(cljs.core._EQ_.call(null,(1),cljs.core.count.call(null,args))){ +return cljs.tools.reader.read.call(null,cljs.core.first.call(null,args),reader); +} else { +return cljs.core.apply.call(null,cljs.tools.reader.read,reader,args); +} +});})(buf,offset)) +):((cljs.core._EQ_.call(null,(1),cljs.core.count.call(null,args)))?cljs.tools.reader.read.call(null,cljs.core.first.call(null,args),reader):cljs.core.apply.call(null,cljs.tools.reader.read,reader,args))); +var s = cljs.core.subs.call(null,buf.call(null,reader),offset).trim(); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [o,s], null); +}); + +cljs.tools.reader.read_PLUS_string.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.tools.reader.read_PLUS_string.cljs$lang$applyTo = (function (seq24461){ +var G__24462 = cljs.core.first.call(null,seq24461); +var seq24461__$1 = cljs.core.next.call(null,seq24461); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24462,seq24461__$1); +}); + + +//# sourceMappingURL=reader.js.map?rel=1628501143418 diff --git a/examples/resources/public/js/out/cljs/tools/reader.js.map b/examples/resources/public/js/out/cljs/tools/reader.js.map new file mode 100644 index 0000000..98a5fcc --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader.js","sources":["reader.cljs?rel=1628501143429"],"lineCount":1782,"mappings":";AAQA;;;;;;;;;AAyBA,AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,AAOA,6CAAA,7CAAgBA,kGAAoBC;AAApC,AACE,IAAAC,WAAMD;AAAN,AAAA,QAAAC;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;AAAA;;;;AAAA;;;;AAIF,AAAKC,uBAAG,KAAAC;AAER;;;+BAAA,\/BAAOC,sEAEQC,IAAIC,KAAKC;AAFxB,AAGE,GAAI,WAAA,VAAMA;AACR,OAACC,2DAAuBH,IAAIC;;AAC5B,AACE,AAAQJ;;AACR,IAAOF,KAAGO;;AAAV,AACE,GAAI,EAAI,AAACE,yDAAYT,SACb,AAACD,qDAAmBC,SACpB,OAAA,NAAMA;AACZ,AACE,GAAU,OAAA,NAAMA;AAAhB;AAAA,AACE,AAACU,gDAAOL,IAAIL;;;AACd,OAAWE;;AACb,AACE,AAASA,4BAAGF;;AACZ,eAAO,AAACW,mDAAUN;;;;;;;;AAE9B,AAAA,AAEA,kCAAA,lCAAOO,4EACQP,IAAIQ,EAAEC,KAAKC;AAD1B,AAEE,IAAAC,qBAAY,AAACL,mDAAUN;AAAvB,AAAA,oBAAAW;AAAA,SAAAA,LAAShB;AAAT,AACE,IAAAgB,yBAAY,AAACE,4CAAgBlB;A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A,AAAAH,4BAAA,AAAA,KAAAI,qBAAA,AAAAJ,yBAAA,KAAA,IAAA,OAAA;AAAA,AAAA,OAAAK,wEAAA,CAAA,UAAA,MAAAF;;;AAAA,AAAA,AAAA,AAAAE,0EAAA,WAGIhN,OAASuG;AAHb,AAIG,IAAM6G,MAAI,WAAKpN;AAAL,AAAa,oDAAK,AAAA,sFAAA,AAAAqN,0BAAU,AAAUrN;;IAC1CxG,SAAO,AAACG,0BAAM,AAACyT,cAAIpN;IACnB4C,IAAE,EAAA,EAAA,AAAAR,mFAAA,EAAA,AAAAzK,yDAAA,AAAA0C,gEAAA,AAAAgI,iEAAA,zMAAYrC,2HAAAA,uEAAAA;;AAAZ,AAAmB,GAAI,yBAAA,zBAACjF,6BAAI,AAACpB,0BAAM4M;AACd,OAAC4F,iCAAK,AAACzF,0BAAMH,MAAMvG;;AACnB,OAACrC,0BAAMwO,uBAAKnM,OAAOuG;;;EAFxC,AAAmB,EAAI,yBAAA,zBAACxL,6BAAI,AAACpB,0BAAM4M,QACd,AAAC4F,iCAAK,AAACzF,0BAAMH,MAAMvG,QACnB,AAACrC,0BAAMwO,uBAAKnM,OAAOuG;IAC1CjH,IAAE,AAAO,AAAC\/D,yBAAK,AAAC6R,cAAIpN,QAAQxG;AALlC,AAAA,0FAMGoJ,EAAEtD;;;AAVR,AAAA,AAAA0N,6DAAA;;AAAA;AAAA,AAAA,AAAAA,uDAAA,WAAAC;AAAA,AAAA,IAAAC,WAAA,AAAAxG,0BAAAuG;IAAAA,eAAA,AAAAnF,yBAAAmF;AAAA,AAAA,IAAAE,qBAAA;AAAA,AAAA,OAAAA,wDAAAD,SAAAD;;;AAAA","names":["cljs.tools.reader\/macro-terminating?","ch","G__24345","cljs.tools.reader\/sb","goog\/string.StringBuffer","cljs.tools.reader\/read-token","rdr","kind","initch","cljs.tools.reader.impl.errors\/throw-eof-at-start","cljs.tools.reader.impl.utils\/whitespace?","cljs.tools.reader.reader-types\/unread","cljs.tools.reader.reader-types\/read-char","cljs.tools.reader\/read-dispatch","_","opts","pending-forms","temp__4655__auto__","dm","cljs.tools.reader\/dispatch-macros","cljs.tools.reader\/read-tagged","G__24348","cljs.tools.reader.impl.errors\/throw-eof-at-dispatch","cljs.tools.reader\/read-unmatched-delimiter","cljs.tools.reader.impl.errors\/throw-unmatch-delimiter","cljs.tools.reader\/read-regex","sb","cljs.core\/re-pattern","cljs.tools.reader.impl.errors\/throw-eof-reading","cljs.tools.reader\/char-code","base","code","js\/parseInt","js\/isNaN","var_args","G__24352","cljs.tools.reader\/read-unicode-char","js\/Error","token","offset","length","l","cljs.core\/count","cljs.tools.reader.impl.errors\/throw-invalid-unicode-literal","i","uc","js\/String.fromCharCode","d","cljs.core\/nth","cljs.tools.reader.impl.errors\/throw-invalid-unicode-digit-in-token","exact?","cljs.tools.reader.impl.errors\/throw-invalid-unicode-digit","cljs.tools.reader.reader-types\/peek-char","or__3922__auto__","cljs.tools.reader\/macros","cljs.tools.reader.impl.errors\/throw-invalid-unicode-len","cljs.tools.reader\/upper-limit","cljs.tools.reader\/lower-limit","cljs.tools.reader\/valid-octal?","cljs.tools.reader\/read-char*","backslash","token-len","cljs.core\/=","goog.string\/startsWith","c","ic","cljs.tools.reader.impl.errors\/throw-invalid-character-literal","len","cljs.tools.reader.impl.errors\/throw-invalid-octal-len","cljs.core\/not","cljs.core\/subs","cljs.tools.reader.impl.errors\/throw-bad-octal-number","cljs.tools.reader.impl.errors\/throw-unsupported-character","cljs.tools.reader.impl.errors\/throw-eof-in-character","cljs.tools.reader\/starting-line-col-info","cljs.tools.reader.reader-types\/indexing-reader?","cljs.tools.reader.reader-types\/get-line-number","cljs.tools.reader.reader-types\/get-column-number","cljs.tools.reader\/ending-line-col-info","cljs.tools.reader\/READ_EOF","js\/Object","cljs.tools.reader\/READ_FINISHED","cljs.tools.reader\/*read-delim*","cljs.tools.reader\/read-delimited-internal","delim","vec__24358","start-line","start-column","cljs.tools.reader.impl.utils\/char","a","cljs.core\/transient","form","cljs.tools.reader\/read*","cljs.core\/persistent!","cljs.tools.reader.impl.errors\/throw-eof-delimited","cljs.core\/conj!","cljs.tools.reader\/read-delimited","*read-delim*24362","cljs.tools.reader\/read-list","vec__24363","vec__24366","the-list","end-line","end-column","cljs.core\/with-meta","cljs.core\/empty?","cljs.core\/apply","cljs.core\/list","cljs.core\/merge","temp__4657__auto__","file","cljs.tools.reader.reader-types\/get-file-name","cljs.tools.reader\/read-vector","vec__24369","vec__24372","the-vector","cljs.tools.reader\/read-map","vec__24375","vec__24378","the-map","map-count","ks","cljs.core\/take-nth","key-set","cljs.core\/set","cljs.core\/odd?","cljs.tools.reader.impl.errors\/throw-odd-map","cljs.tools.reader.impl.errors\/throw-dup-keys","cljs.core\/PersistentArrayMap","cljs.core\/to-array","cljs.core\/PersistentHashMap","cljs.tools.reader\/read-number","G__24381","s","cljs.tools.reader.impl.commons\/match-number","cljs.tools.reader.impl.errors\/throw-invalid-number","G__24382","cljs.tools.reader\/escape-char","G__24385","cljs.tools.reader.impl.errors\/throw-invalid-unicode-escape","cljs.tools.reader.impl.utils\/numeric?","cljs.tools.reader.impl.errors\/throw-bad-escape-char","cljs.tools.reader\/read-string*","reader","G__24387","G__24388","G__24389","cljs.tools.reader\/loc-info","line","column","vec__24395","filem","lcm","cljs.tools.reader\/read-symbol","vec__24398","G__24401","p","cljs.tools.reader.impl.commons\/parse-symbol","sym","cljs.core\/symbol","cljs.core\/-nth","cljs.core\/-with-meta","cljs.tools.reader.impl.errors\/throw-invalid","cljs.tools.reader\/*alias-map*","cljs.tools.reader\/resolve-alias","cljs.core\/get","cljs.tools.reader\/resolve-ns","ns","cljs.core\/find-ns","cljs.core\/ns-name","cljs.tools.reader\/read-keyword","name","cljs.core\/keyword","cljs.core\/*ns*","cljs.tools.reader.impl.errors\/reader-error","cljs.tools.reader.impl.errors\/throw-single-colon","cljs.tools.reader\/wrapping-reader","cljs.core\/List","cljs.tools.reader\/read-meta","cljs.tools.reader.reader-types\/source-logging-reader?","cljs.tools.reader.reader-types\/log-source*","vec__24403","vec__24408","m","cljs.tools.reader.impl.utils\/desugar-meta","cljs.core\/map?","cljs.tools.reader.impl.errors\/throw-bad-metadata","o","cljs.core\/PROTOCOL_SENTINEL","and__3911__auto__","cljs.core\/seq?","cljs.core\/assoc","cljs.core\/meta","cljs.core\/reset-meta!","cljs.tools.reader.impl.errors\/throw-bad-metadata-target","cljs.tools.reader\/read-set","vec__24413","vec__24416","coll","the-set","cljs.tools.reader\/read-discard","G__24419","cljs.tools.reader\/read-symbolic-value","G__24420","js\/Number.NaN","js\/Number.NEGATIVE_INFINITY","js\/Number.POSITIVE_INFINITY","cljs.tools.reader\/RESERVED_FEATURES","cljs.tools.reader\/has-feature?","feature","cljs.core\/Keyword","cljs.core\/contains?","cljs.tools.reader\/check-eof-error","first-line","cljs.tools.reader.impl.errors\/throw-eof-error","cljs.tools.reader\/check-reserved-features","cljs.tools.reader\/check-invalid-read-cond","cljs.tools.reader\/read-suppress","*suppress-read*24421","cljs.tools.reader\/*suppress-read*","cljs.tools.reader\/NO_MATCH","cljs.tools.reader\/match-feature","G__24422","cljs.tools.reader\/read-cond-delimited","splicing","result","matched","finished","match","goog.array\/insertArrayAt","cljs.tools.reader\/read-cond","cljs.core\/ex-info","cljs.tools.reader.impl.commons\/read-past","cljs.core\/not=","*suppress-read*24428","cljs.tools.reader.impl.utils\/reader-conditional","cljs.tools.reader\/arg-env","cljs.tools.reader\/garg","n","cljs.tools.reader.impl.utils\/next-id","cljs.tools.reader\/read-fn","arg-env24429","cljs.core\/sorted-map","G__24430","rargs","cljs.core\/rseq","args","higharg","cljs.core\/key","cljs.core\/first","cljs.core\/conj","cljs.tools.reader\/register-arg","ret","g","cljs.tools.reader\/read-arg","pct","cljs.core\/integer?","cljs.tools.reader\/gensym-env","cljs.tools.reader\/read-unquote","comma","G__24433","cljs.tools.reader\/unquote-splicing?","cljs.tools.reader\/unquote?","cljs.tools.reader\/expand-list","cljs.core\/seq","r","item","cljs.core\/second","cljs.tools.reader\/syntax-quote*","cljs.core\/next","cljs.tools.reader\/flatten-map","key-vals","e","cljs.core\/val","cljs.tools.reader\/register-gensym","gs","cljs.core\/name","cljs.tools.reader\/add-meta","cljs.core\/dissoc","cljs.tools.reader\/syntax-quote-coll","type","res","cljs.core\/cons","cljs.tools.reader\/map-func","cljs.tools.reader\/bool?","x","js\/Boolean","cljs.tools.reader\/resolve-symbol","cljs.core\/special-symbol?","cljs.core\/Symbol","cljs.core\/namespace","goog.string\/endsWith","csym","cljs.core\/coll?","cljs.core\/vector?","cljs.core\/set?","cljs.core\/list?","seq","js\/RegExp","cljs.tools.reader\/read-syntax-quote","backquote","gensym-env24441","cljs.tools.reader\/read-namespaced-map","G__24442","cljs.tools.reader.impl.utils\/second'","G__24443","items","keys","cljs.tools.reader.impl.utils\/namespace-keys","vals","cljs.core\/rest","cljs.core\/zipmap","cljs.tools.reader.impl.errors\/throw-ns-map-no-map","cljs.tools.reader.impl.errors\/throw-bad-ns","G__24444","cljs.tools.reader.impl.commons\/read-comment","G__24446","cljs.tools.reader.impl.commons\/throwing-reader","tag","cljs.tools.reader.impl.errors\/throw-bad-reader-tag","cljs.core\/tagged-literal","f","cljs.tools.reader\/*data-readers*","cljs.tools.reader\/default-data-readers","cljs.tools.reader\/*default-data-reader-fn*","cljs.tools.reader.impl.errors\/throw-unknown-reader-tag","cljs.tools.reader\/read*-internal","eof-error?","sentinel","return-on","goog.array\/isEmpty","goog.array\/removeAt","cljs.tools.reader.impl.commons\/number-literal?","G__24449","e24450","cljs.tools.reader.impl.utils\/ex-info?","cljs.core\/ex-data","G__24453","cljs.tools.reader\/read","p__24454","map__24455","cljs.core\/hash-map","eof","G__24459","cljs.tools.reader\/read-string","cljs.tools.reader.reader-types\/string-push-back-reader","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.tools.reader\/read+string","seq24461","G__24462","self__4486__auto__","buf","cljs.core\/deref"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/edn.cljs b/examples/resources/public/js/out/cljs/tools/reader/edn.cljs new file mode 100644 index 0000000..735eea4 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/edn.cljs @@ -0,0 +1,448 @@ +;; Copyright (c) Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns ^{:doc "An EDN reader in clojure" + :author "Bronsa"} + cljs.tools.reader.edn + (:refer-clojure :exclude [read read-string char default-data-readers]) + (:require [cljs.tools.reader.impl.errors :as err] + [cljs.tools.reader.reader-types :refer + [read-char unread peek-char indexing-reader? + get-line-number get-column-number get-file-name string-push-back-reader]] + [cljs.tools.reader.impl.utils :refer + [char ex-info? whitespace? numeric? desugar-meta namespace-keys second']] + [cljs.tools.reader.impl.commons :refer + [number-literal? read-past match-number parse-symbol read-comment throwing-reader]] + [cljs.tools.reader :refer [default-data-readers char-code]] + [goog.string :as gstring]) + (:import goog.string.StringBuffer)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; helpers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(declare read macros dispatch-macros) + +(defn- ^boolean macro-terminating? [ch] + (and (not (identical? \# ch)) + (not (identical? \' ch)) + (not (identical? \: ch)) + (macros ch))) + +(defn- ^boolean not-constituent? [ch] + (or (identical? \@ ch) + (identical? \` ch) + (identical? \~ ch))) + +(defn- read-token + ([rdr kind initch] + (read-token rdr kind initch true)) + ([rdr kind initch validate-leading?] + (cond + (not initch) + (err/throw-eof-at-start rdr kind) + + (and validate-leading? + (not-constituent? initch)) + (err/throw-bad-char rdr kind initch) + + :else + (loop [sb (StringBuffer.) + ch (do (unread rdr initch) initch)] + (if (or (whitespace? ch) + (macro-terminating? ch) + (nil? ch)) + (str sb) + (if (not-constituent? ch) + (err/throw-bad-char rdr kind ch) + (recur (doto sb (.append (read-char rdr))) (peek-char rdr)))))))) + +(declare read-tagged) + +(defn- read-dispatch + [rdr _ opts] + (if-let [ch (read-char rdr)] + (if-let [dm (dispatch-macros ch)] + (dm rdr ch opts) + (if-let [obj (read-tagged (doto rdr (unread ch)) ch opts)] + obj + (err/throw-no-dispatch rdr ch))) + (err/throw-eof-at-dispatch rdr))) + +(defn- read-unmatched-delimiter + [rdr ch opts] + (err/throw-unmatch-delimiter rdr ch)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; readers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn- read-unicode-char + ([token offset length base] + (let [l (+ offset length)] + (when-not (== (count token) l) + (err/throw-invalid-unicode-literal nil token)) + (loop [i offset uc 0] + (if (== i l) + (js/String.fromCharCode uc) + (let [d (char-code (nth token i) base)] + (if (== d -1) + (err/throw-invalid-unicode-digit-in-token nil (nth token i) token) + (recur (inc i) (+ d (* uc base))))))))) + + ([rdr initch base length exact?] + (loop [i 1 uc (char-code initch base)] + (if (== uc -1) + (err/throw-invalid-unicode-digit rdr initch) + (if-not (== i length) + (let [ch (peek-char rdr)] + (if (or (whitespace? ch) + (macros ch) + (nil? ch)) + (if exact? + (err/throw-invalid-unicode-len rdr i length) + (js/String.fromCharCode uc)) + (let [d (char-code ch base)] + (read-char rdr) + (if (== d -1) + (err/throw-invalid-unicode-digit rdr ch) + (recur (inc i) (+ d (* uc base))))))) + (js/String.fromCharCode uc)))))) + +(def ^:private ^:const upper-limit (.charCodeAt \uD7ff 0)) +(def ^:private ^:const lower-limit (.charCodeAt \uE000 0)) + +(defn- read-char* + [rdr backslash opts] + (let [ch (read-char rdr)] + (if-not (nil? ch) + (let [token (if (or (macro-terminating? ch) + (not-constituent? ch) + (whitespace? ch)) + (str ch) + (read-token rdr :character ch false)) + token-len (count token)] + (cond + + (== 1 token-len) (nth token 0) + + (identical? token "newline") \newline + (identical? token "space") \space + (identical? token "tab") \tab + (identical? token "backspace") \backspace + (identical? token "formfeed") \formfeed + (identical? token "return") \return + + (gstring/startsWith token "u") + (let [c (read-unicode-char token 1 4 16) + ic (.charCodeAt c)] + (if (and (> ic upper-limit) + (< ic lower-limit)) + (err/throw-invalid-character-literal rdr (.toString ic 16)) + c)) + + (gstring/startsWith token "o") + (let [len (dec token-len)] + (if (> len 3) + (err/throw-invalid-octal-len rdr token) + (let [uc (read-unicode-char token 1 len 8)] + (if (> (int uc) 0377) + (err/throw-bad-octal-number rdr) + uc)))) + + :else (err/throw-unsupported-character rdr token))) + (err/throw-eof-in-character rdr)))) + +(defn ^:private starting-line-col-info [rdr] + (when (indexing-reader? rdr) + [(get-line-number rdr) (int (dec (int (get-column-number rdr))))])) + +(defn- read-delimited + [kind delim rdr opts] + (let [[start-line start-column] (starting-line-col-info rdr) + delim (char delim)] + (loop [a (transient [])] + (let [ch (read-past whitespace? rdr)] + (when-not ch + (err/throw-eof-delimited rdr kind start-line start-column (count a))) + (if (= delim (char ch)) + (persistent! a) + (if-let [macrofn (macros ch)] + (let [mret (macrofn rdr ch opts)] + (recur (if-not (identical? mret rdr) (conj! a mret) a))) + (let [o (read (doto rdr (unread ch)) true nil opts)] + (recur (if-not (identical? o rdr) (conj! a o) a))))))))) + +(defn- read-list + [rdr _ opts] + (let [the-list (read-delimited :list \) rdr opts)] + (if (empty? the-list) + '() + (apply list the-list)))) + +(defn- read-vector + [rdr _ opts] + (read-delimited :vector \] rdr opts)) + + +(defn- read-map + [rdr _ opts] + (let [[start-line start-column] (starting-line-col-info rdr) + the-map (read-delimited :map \} rdr opts) + map-count (count the-map) + ks (take-nth 2 the-map) + key-set (set ks)] + (when (odd? map-count) + (err/throw-odd-map rdr start-line start-column the-map)) + (when-not (= (count key-set) (count ks)) + (err/throw-dup-keys rdr :map ks)) + (if (<= map-count (* 2 (.-HASHMAP-THRESHOLD cljs.core/PersistentArrayMap))) + (.fromArray cljs.core/PersistentArrayMap (to-array the-map) true true) + (.fromArray cljs.core/PersistentHashMap (to-array the-map) true)))) + +(defn- read-number + [rdr initch opts] + (loop [sb (doto (StringBuffer.) (.append initch)) + ch (read-char rdr)] + (if (or (whitespace? ch) (macros ch) (nil? ch)) + (let [s (str sb)] + (unread rdr ch) + (or (match-number s) + (err/throw-invalid-number rdr s))) + (recur (doto sb (.append ch)) (read-char rdr))))) + +(defn- escape-char [sb rdr] + (let [ch (read-char rdr)] + (case ch + \t "\t" + \r "\r" + \n "\n" + \\ "\\" + \" "\"" + \b "\b" + \f "\f" + \u (let [ch (read-char rdr)] + (if (== -1 (js/parseInt (int ch) 16)) + (err/throw-invalid-unicode-escape rdr ch) + (read-unicode-char rdr ch 16 4 true))) + (if (numeric? ch) + (let [ch (read-unicode-char rdr ch 8 3 false)] + (if (> (int ch) 0377) + (err/throw-bad-octal-number rdr) + ch)) + (err/throw-bad-escape-char rdr ch))))) + +(defn- read-string* + [rdr _ opts] + (loop [sb (StringBuffer.) + ch (read-char rdr)] + (case ch + nil (err/throw-eof-reading rdr :string \" sb) + \\ (recur (doto sb (.append (escape-char sb rdr))) + (read-char rdr)) + \" (str sb) + (recur (doto sb (.append ch)) (read-char rdr))))) + +(defn- read-symbol + [rdr initch] + (when-let [token (read-token rdr :symbol initch)] + (case token + + ;; special symbols + "nil" nil + "true" true + "false" false + "/" '/ + + (or (when-let [p (parse-symbol token)] + (symbol (p 0) (p 1))) + (err/throw-invalid rdr :symbol token))))) + +(defn- read-keyword + [reader initch opts] + (let [ch (read-char reader)] + (if-not (whitespace? ch) + (let [token (read-token reader :keyword ch) + s (parse-symbol token)] + (if (and s (== -1 (.indexOf token "::"))) + (let [ns (s 0) + name (s 1)] + (if (identical? \: (nth token 0)) + (err/throw-invalid reader :keyword token) ;; no ::keyword in edn + (keyword ns name))) + (err/throw-invalid reader :keyword token))) + (err/throw-single-colon reader)))) + +(defn- wrapping-reader + [sym] + (fn [rdr _ opts] + (list sym (read rdr true nil opts)))) + +(defn- read-meta + [rdr _ opts] + (let [m (desugar-meta (read rdr true nil opts))] + (when-not (map? m) + (err/throw-bad-metadata rdr m)) + (let [o (read rdr true nil opts)] + (if (implements? IMeta o) + (with-meta o (merge (meta o) m)) + (err/throw-bad-metadata-target rdr o))))) + +(defn- read-set + [rdr _ opts] + (let [coll (read-delimited :set \} rdr opts) + the-set (set coll)] + (when-not (= (count coll) (count the-set)) + (err/throw-dup-keys rdr :set coll)) + the-set)) + +(defn- read-discard + [rdr _ opts] + (doto rdr + (read true nil true))) + +(defn- read-namespaced-map + [rdr _ opts] + (let [token (read-token rdr :namespaced-map (read-char rdr))] + (if-let [ns (some-> token parse-symbol second')] + (let [ch (read-past whitespace? rdr)] + (if (identical? ch \{) + (let [items (read-delimited :namespaced-map \} rdr opts)] + (when (odd? (count items)) + (err/throw-odd-map rdr nil nil items)) + (let [keys (namespace-keys (str ns) (take-nth 2 items)) + vals (take-nth 2 (rest items))] + (when-not (= (count (set keys)) (count keys)) + (err/throw-dup-keys rdr :namespaced-map keys)) + (zipmap keys vals))) + (err/throw-ns-map-no-map rdr token))) + (err/throw-bad-ns rdr token)))) + +(defn- read-symbolic-value + [rdr _ opts] + (let [sym (read rdr true nil opts)] + (case sym + + NaN js/Number.NaN + -Inf js/Number.NEGATIVE_INFINITY + Inf js/Number.POSITIVE_INFINITY + + (err/reader-error rdr (str "Invalid token: ##" sym))))) + +(defn- macros [ch] + (case ch + \" read-string* + \: read-keyword + \; read-comment + \^ read-meta + \( read-list + \) read-unmatched-delimiter + \[ read-vector + \] read-unmatched-delimiter + \{ read-map + \} read-unmatched-delimiter + \\ read-char* + \# read-dispatch + nil)) + +(defn- dispatch-macros [ch] + (case ch + \^ read-meta ;deprecated + \{ read-set + \< (throwing-reader "Unreadable form") + \! read-comment + \_ read-discard + \: read-namespaced-map + \# read-symbolic-value + nil)) + +(defn- read-tagged [rdr initch opts] + (let [tag (read rdr true nil opts) + object (read rdr true nil opts)] + (if-not (symbol? tag) + (err/throw-bad-reader-tag rdr "Reader tag must be a symbol")) + (if-let [f (or (get (:readers opts) tag) + (default-data-readers tag))] + (f object) + (if-let [d (:default opts)] + (d tag object) + (err/throw-unknown-reader-tag rdr tag))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Public API +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn read + "Reads the first object from an IPushbackReader. + Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof. + If no reader is provided, *in* will be used. + + Reads data in the edn format (subset of Clojure data): + http://edn-format.org + + clojure.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration + is done by passing an opt map. + + opts is a map that can include the following keys: + :eof - value to return on end-of-file. When not supplied, eof throws an exception. + :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers. + When not supplied, only the default-data-readers will be used. + :default - A function of two args, that will, if present and no reader is found for a tag, + be called with the tag and the value." + ([reader] (read {} reader)) + ([{:keys [eof] :as opts} reader] + (let [eof-error? (not (contains? opts :eof))] + (read reader eof-error? eof opts))) + ([reader eof-error? eof opts] + (try + (loop [] + (let [ch (read-char reader)] + (cond + (whitespace? ch) (recur) + (nil? ch) (if eof-error? (err/throw-eof-error reader nil) eof) + (number-literal? reader ch) (read-number reader ch opts) + :else (let [f (macros ch)] + (if f + (let [res (f reader ch opts)] + (if (identical? res reader) + (recur) + res)) + (read-symbol reader ch)))))) + (catch js/Error e + (if (ex-info? e) + (let [d (ex-data e)] + (if (= :reader-exception (:type d)) + (throw e) + (throw (ex-info (.-message e) + (merge {:type :reader-exception} + d + (if (indexing-reader? reader) + {:line (get-line-number reader) + :column (get-column-number reader) + :file (get-file-name reader)})) + e)))) + (throw (ex-info (.-message e) + (merge {:type :reader-exception} + (if (indexing-reader? reader) + {:line (get-line-number reader) + :column (get-column-number reader) + :file (get-file-name reader)})) + e))))))) + +(defn read-string + "Reads one object from the string s. + Returns nil when s is nil or empty. + + Reads data in the edn format (subset of Clojure data): + http://edn-format.org + + opts is a map as per clojure.tools.reader.edn/read" + ([s] (read-string {:eof nil} s)) + ([opts s] + (when (and s (not= s "")) + (read opts (string-push-back-reader s))))) diff --git a/examples/resources/public/js/out/cljs/tools/reader/edn.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader/edn.cljs.cache.json new file mode 100644 index 0000000..259b204 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/edn.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$String",["^ ","~$fromCharCode",["^ "]],"~$parseInt",["^ "],"~$Number",["^ ","~$NaN",["^ "],"~$NEGATIVE_INFINITY",["^ "],"~$POSITIVE_INFINITY",["^ "]]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$char","~$read","~$default-data-readers","~$read-string"]],"~:name","~$cljs.tools.reader.edn","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$err","~$cljs.tools.reader.impl.errors","^I","^I","~$cljs.tools.reader.reader-types","^J","~$cljs.tools.reader.impl.utils","^K","~$cljs.tools.reader.impl.commons","^L","~$cljs.tools.reader","^M","~$gstring","~$goog.string","^O","^O","^E","^F"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$match-number","^L","~$whitespace?","^K","~$read-comment","^L","~$char-code","^M","^>","^K","~$numeric?","^K","~$unread","^J","~$peek-char","^J","~$parse-symbol","^L","~$second'","^K","~$desugar-meta","^K","^@","^M","~$number-literal?","^L","~$read-past","^L","~$indexing-reader?","^J","~$read-char","^J","~$get-column-number","^J","~$ex-info?","^K","~$get-file-name","^J","~$throwing-reader","^L","~$string-push-back-reader","^J","~$namespace-keys","^K","~$get-line-number","^J"],"~:defs",["^ ","~$read-symbolic-value",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","~:line",326,"~:column",8,"~:end-line",326,"~:end-column",27,"~:private",true,"~:arglists",["~#list",["~$quote",["^1F",[["~$rdr","~$_","~$opts"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-symbolic-value","~:variadic",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",27,"~:method-params",["^1F",[["^1H","~$_","^1I"]]],"~:protocol-impl",null,"~:arglists-meta",["^1F",[null,null]],"^1A",1,"^1@",326,"^1B",326,"~:max-fixed-arity",3,"~:fn-var",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$read-tagged",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",364,"^1A",8,"^1B",364,"^1C",19,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$initch","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-tagged","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",19,"^1L",["^1F",[["^1H","^1R","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",364,"^1B",364,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^1R","^1I"]]]]]],"~$starting-line-col-info",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",161,"^1A",17,"^1B",161,"^1C",39,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/starting-line-col-info","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",39,"^1L",["^1F",[["^1H"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",161,"^1B",161,"^1O",1,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H"]]]]]],"~$wrapping-reader",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",281,"^1A",8,"^1B",281,"^1C",23,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["~$sym"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/wrapping-reader","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",23,"^1L",["^1F",[["^1W"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",281,"^1B",281,"^1O",1,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1W"]]]]]],"~$read-meta",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",286,"^1A",8,"^1B",286,"^1C",17,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-meta","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",17,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",286,"^1B",286,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$read-unicode-char",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",85,"^1A",8,"^1B",85,"^1C",25,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["~$token","~$offset","~$length","~$base"],["^1H","^1R","^23","^22","~$exact?"]]]]],"~:top-fn",["^ ","^1K",false,"^1O",5,"^1L",["^1F",[["^20","^21","^22","^23"],["^1H","^1R","^23","^22","^24"]]],"^1E",["^1F",[["^20","^21","^22","^23"],["^1H","^1R","^23","^22","^24"]]],"^1N",["^1F",[null,null]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-unicode-char","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",25,"^25",["^ ","^1K",false,"^1O",5,"^1L",["^1F",[["^20","^21","^22","^23"],["^1H","^1R","^23","^22","^24"]]],"^1E",["^1F",[["^20","^21","^22","^23"],["^1H","^1R","^23","^22","^24"]]],"^1N",["^1F",[null,null]]],"^1L",["^1F",[["^20","^21","^22","^23"],["^1H","^1R","^23","^22","^24"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",85,"^1B",85,"^1O",5,"^1P",true,"^1E",["^1F",[["^20","^21","^22","^23"],["^1H","^1R","^23","^22","^24"]]]],"~$read-unmatched-delimiter",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",77,"^1A",8,"^1B",77,"^1C",32,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$ch","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-unmatched-delimiter","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",32,"^1L",["^1F",[["^1H","^28","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",77,"^1B",77,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^28","^1I"]]]]]],"~$not-constituent?",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",37,"^1A",17,"^1B",37,"^1C",33,"~:tag","~$boolean","^1D",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/not-constituent?","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",33,"^1L",["^1F",[["^28"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",37,"~:ret-tag","^2<","^1B",37,"^1O",1,"^2;","^2<","^1P",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"^?",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",380,"^1A",7,"^1B",380,"^1C",11,"^1E",["^1F",["^1G",["^1F",[["~$reader"],[["^ ","~:keys",["~$eof"],"~:as","^1I"],"^2?"],["^2?","~$eof-error?","^2A","^1I"]]]]],"~:doc","Reads the first object from an IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.\n If no reader is provided, *in* will be used.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n clojure.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration\n is done by passing an opt map.\n\n opts is a map that can include the following keys:\n :eof - value to return on end-of-file. When not supplied, eof throws an exception.\n :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers.\n When not supplied, only the default-data-readers will be used.\n :default - A function of two args, that will, if present and no reader is found for a tag,\n be called with the tag and the value.","^25",["^ ","^1K",false,"^1O",4,"^1L",["^1F",[["^2?"],[["^ ","^2@",["^2A"],"^2B","^1I"],"^2?"],["^2?","^2C","^2A","^1I"]]],"^1E",["^1F",[["^2?"],[["^ ","^2@",["^2A"],"^2B","^1I"],"^2?"],["^2?","^2C","^2A","^1I"]]],"^1N",["^1F",[null,null,null]]]],"^B","~$cljs.tools.reader.edn/read","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",11,"^25",["^ ","^1K",false,"^1O",4,"^1L",["^1F",[["^2?"],[["^ ","^2@",["^2A"],"^2B","^1I"],"^2?"],["^2?","^2C","^2A","^1I"]]],"^1E",["^1F",[["^2?"],[["^ ","^2@",["^2A"],"^2B","^1I"],"^2?"],["^2?","^2C","^2A","^1I"]]],"^1N",["^1F",[null,null,null]]],"^1L",["^1F",[["^2?"],[["^ ","^2@",["^2A"],"^2B","^1I"],"^2?"],["^2?","^2C","^2A","^1I"]]],"^1M",null,"^1N",["^1F",[null,null,null]],"^1A",1,"^1@",380,"^1B",380,"^1O",4,"^1P",true,"^1E",["^1F",[["^2?"],[["^ ","^2@",["^2A"],"^2B","^1I"],"^2?"],["^2?","^2C","^2A","^1I"]]],"^2D","Reads the first object from an IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.\n If no reader is provided, *in* will be used.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n clojure.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration\n is done by passing an opt map.\n\n opts is a map that can include the following keys:\n :eof - value to return on end-of-file. When not supplied, eof throws an exception.\n :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers.\n When not supplied, only the default-data-readers will be used.\n :default - A function of two args, that will, if present and no reader is found for a tag,\n be called with the tag and the value."],"~$read-set",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",296,"^1A",8,"^1B",296,"^1C",16,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-set","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",16,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",296,"^1B",296,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$read-symbol",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",251,"^1A",8,"^1B",251,"^1C",19,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^1R"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-symbol","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",19,"^1L",["^1F",[["^1H","^1R"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",251,"^1B",251,"^1O",2,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^1R"]]]]]],"~$read-map",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",193,"^1A",8,"^1B",193,"^1C",16,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-map","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",16,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",193,"^1B",193,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$macros",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",337,"^1A",8,"^1B",337,"^1C",14,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/macros","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",14,"^1L",["^1F",[["^28"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",337,"^1B",337,"^1O",1,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"~$read-namespaced-map",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",309,"^1A",8,"^1B",309,"^1C",27,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-namespaced-map","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",27,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",309,"^1B",309,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$read-list",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",181,"^1A",8,"^1B",181,"^1C",17,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-list","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",17,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",181,"^1B",181,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$dispatch-macros",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",353,"^1A",8,"^1B",353,"^1C",23,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/dispatch-macros","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",23,"^1L",["^1F",[["^28"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",353,"^1B",353,"^1O",1,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"~$read-delimited",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",165,"^1A",8,"^1B",165,"^1C",22,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["~$kind","~$delim","^1H","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-delimited","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",22,"^1L",["^1F",[["^2U","^2V","^1H","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",165,"^1B",165,"^1O",4,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^2U","^2V","^1H","^1I"]]]]]],"~$read-token",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",42,"^1A",8,"^1B",42,"^1C",18,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","~$validate-leading?"]]]]],"^25",["^ ","^1K",false,"^1O",4,"^1L",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","^2Y"]]],"^1E",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","^2Y"]]],"^1N",["^1F",[null,null]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-token","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",18,"^25",["^ ","^1K",false,"^1O",4,"^1L",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","^2Y"]]],"^1E",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","^2Y"]]],"^1N",["^1F",[null,null]]],"^1L",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","^2Y"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",42,"^1B",42,"^1O",4,"^1P",true,"^1E",["^1F",[["^1H","^2U","^1R"],["^1H","^2U","^1R","^2Y"]]]],"~$upper-limit",["^ ","^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",117,"^1A",24,"^1B",117,"^1C",35,"~:const",true,"^1D",true],"^1D",true,"^B","~$cljs.tools.reader.edn/upper-limit","^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",35,"^1A",1,"^30",true,"^1@",117,"^1B",117,"^2;","~$any"],"~$read-dispatch",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",67,"^1A",8,"^1B",67,"^1C",21,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-dispatch","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",21,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",67,"^1B",67,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^A",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",437,"^1A",7,"^1B",437,"^1C",18,"^1E",["^1F",["^1G",["^1F",[["~$s"],["^1I","~$s"]]]]],"^2D","Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per clojure.tools.reader.edn/read","^25",["^ ","^1K",false,"^1O",2,"^1L",["^1F",[["~$s"],["^1I","~$s"]]],"^1E",["^1F",[["~$s"],["^1I","~$s"]]],"^1N",["^1F",[null,null]]]],"^B","~$cljs.tools.reader.edn/read-string","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",18,"^25",["^ ","^1K",false,"^1O",2,"^1L",["^1F",[["~$s"],["^1I","~$s"]]],"^1E",["^1F",[["~$s"],["^1I","~$s"]]],"^1N",["^1F",[null,null]]],"^1L",["^1F",[["~$s"],["^1I","~$s"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",437,"^1B",437,"^1O",2,"^1P",true,"^1E",["^1F",[["~$s"],["^1I","~$s"]]],"^2D","Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per clojure.tools.reader.edn/read"],"~$escape-char",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",219,"^1A",8,"^1B",219,"^1C",19,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["~$sb","^1H"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/escape-char","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",19,"^1L",["^1F",[["^37","^1H"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",219,"^1B",219,"^1O",2,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^37","^1H"]]]]]],"~$read-char*",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",120,"^1A",8,"^1B",120,"^1C",18,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$backslash","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-char*","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",18,"^1L",["^1F",[["^1H","^3:","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",120,"^1B",120,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^3:","^1I"]]]]]],"~$read-string*",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",240,"^1A",8,"^1B",240,"^1C",20,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-string*","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",20,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",240,"^1B",240,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$macro-terminating?",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",31,"^1A",17,"^1B",31,"^1C",35,"^2;","^2<","^1D",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/macro-terminating?","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",35,"^1L",["^1F",[["^28"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",31,"^2>","^2<","^1B",31,"^1O",1,"^2;","^2<","^1P",true,"^1E",["^1F",["^1G",["^1F",[["^28"]]]]]],"~$lower-limit",["^ ","^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",118,"^1A",24,"^1B",118,"^1C",35,"^30",true,"^1D",true],"^1D",true,"^B","~$cljs.tools.reader.edn/lower-limit","^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",35,"^1A",1,"^30",true,"^1@",118,"^1B",118,"^2;","^32"],"~$read-keyword",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",266,"^1A",8,"^1B",266,"^1C",20,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^2?","^1R","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-keyword","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",20,"^1L",["^1F",[["^2?","^1R","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",266,"^1B",266,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^2?","^1R","^1I"]]]]]],"~$read-discard",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",304,"^1A",8,"^1B",304,"^1C",20,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-discard","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",20,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",304,"^1B",304,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$read-vector",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",188,"^1A",8,"^1B",188,"^1C",19,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-vector","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",19,"^1L",["^1F",[["^1H","~$_","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",188,"^1B",188,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","~$_","^1I"]]]]]],"~$read-number",["^ ","^1=",null,"^1>",["^ ","^1?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/edn.cljs","^1@",208,"^1A",8,"^1B",208,"^1C",19,"^1D",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^1R","^1I"]]]]]],"^1D",true,"^B","~$cljs.tools.reader.edn/read-number","^1K",false,"^1?","resources/public/js/out/cljs/tools/reader/edn.cljs","^1C",19,"^1L",["^1F",[["^1H","^1R","^1I"]]],"^1M",null,"^1N",["^1F",[null,null]],"^1A",1,"^1@",208,"^1B",208,"^1O",3,"^1P",true,"^1E",["^1F",["^1G",["^1F",[["^1H","^1R","^1I"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^=",["~:namespaced-map","~:reader-exception","~:else","~:default","~:symbol","^8","^1?","~:readers","~:type","~$Inf","~:string","~:vector","^1A","^1@","~:list","~:keyword","~$/","~$-Inf","~:set","~:eof","~:character","~:map"]],"~:order",["^3P","^41","^3X","^3W","^42","^3V","^3R","~$/","^3Y","^3[","^3N","^8","^3Z","^3U","^3S","^3Q","^40","^3O","^3T","^1@","^1A","^1?"]],"^2D","An EDN reader in clojure"] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/edn.js b/examples/resources/public/js/out/cljs/tools/reader/edn.js new file mode 100644 index 0000000..41c1c8a --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/edn.js @@ -0,0 +1,933 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader.edn'); +goog.require('cljs.core'); +goog.require('cljs.tools.reader.impl.errors'); +goog.require('cljs.tools.reader.reader_types'); +goog.require('cljs.tools.reader.impl.utils'); +goog.require('cljs.tools.reader.impl.commons'); +goog.require('cljs.tools.reader'); +goog.require('goog.string'); +goog.require('goog.string.StringBuffer'); + + +cljs.tools.reader.edn.macro_terminating_QMARK_ = (function cljs$tools$reader$edn$macro_terminating_QMARK_(ch){ +var and__3911__auto__ = !(("#" === ch)); +if(and__3911__auto__){ +var and__3911__auto____$1 = !(("'" === ch)); +if(and__3911__auto____$1){ +var and__3911__auto____$2 = !((":" === ch)); +if(and__3911__auto____$2){ +return cljs.tools.reader.edn.macros.call(null,ch); +} else { +return and__3911__auto____$2; +} +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +}); +cljs.tools.reader.edn.not_constituent_QMARK_ = (function cljs$tools$reader$edn$not_constituent_QMARK_(ch){ +return ((("@" === ch)) || (("`" === ch)) || (("~" === ch))); +}); +cljs.tools.reader.edn.read_token = (function cljs$tools$reader$edn$read_token(var_args){ +var G__24469 = arguments.length; +switch (G__24469) { +case 3: +return cljs.tools.reader.edn.read_token.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.tools.reader.edn.read_token.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.tools.reader.edn.read_token.cljs$core$IFn$_invoke$arity$3 = (function (rdr,kind,initch){ +return cljs.tools.reader.edn.read_token.call(null,rdr,kind,initch,true); +}); + +cljs.tools.reader.edn.read_token.cljs$core$IFn$_invoke$arity$4 = (function (rdr,kind,initch,validate_leading_QMARK_){ +if(cljs.core.not.call(null,initch)){ +return cljs.tools.reader.impl.errors.throw_eof_at_start.call(null,rdr,kind); +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = validate_leading_QMARK_; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.tools.reader.edn.not_constituent_QMARK_.call(null,initch); +} else { +return and__3911__auto__; +} +})())){ +return cljs.tools.reader.impl.errors.throw_bad_char.call(null,rdr,kind,initch); +} else { +var sb = (new goog.string.StringBuffer()); +var ch = (function (){ +cljs.tools.reader.reader_types.unread.call(null,rdr,initch); + +return initch; +})() +; +while(true){ +if(((cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch)) || (cljs.tools.reader.edn.macro_terminating_QMARK_.call(null,ch)) || ((ch == null)))){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); +} else { +if(cljs.tools.reader.edn.not_constituent_QMARK_.call(null,ch)){ +return cljs.tools.reader.impl.errors.throw_bad_char.call(null,rdr,kind,ch); +} else { +var G__24472 = (function (){var G__24470 = sb; +G__24470.append(cljs.tools.reader.reader_types.read_char.call(null,rdr)); + +return G__24470; +})(); +var G__24473 = cljs.tools.reader.reader_types.peek_char.call(null,rdr); +sb = G__24472; +ch = G__24473; +continue; +} +} +break; +} + +} +} +}); + +cljs.tools.reader.edn.read_token.cljs$lang$maxFixedArity = 4; + +cljs.tools.reader.edn.read_dispatch = (function cljs$tools$reader$edn$read_dispatch(rdr,_,opts){ +var temp__4655__auto__ = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(cljs.core.truth_(temp__4655__auto__)){ +var ch = temp__4655__auto__; +var temp__4655__auto____$1 = cljs.tools.reader.edn.dispatch_macros.call(null,ch); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var dm = temp__4655__auto____$1; +return dm.call(null,rdr,ch,opts); +} else { +var temp__4655__auto____$2 = cljs.tools.reader.edn.read_tagged.call(null,(function (){var G__24474 = rdr; +cljs.tools.reader.reader_types.unread.call(null,G__24474,ch); + +return G__24474; +})(),ch,opts); +if(cljs.core.truth_(temp__4655__auto____$2)){ +var obj = temp__4655__auto____$2; +return obj; +} else { +return cljs.tools.reader.impl.errors.throw_no_dispatch.call(null,rdr,ch); +} +} +} else { +return cljs.tools.reader.impl.errors.throw_eof_at_dispatch.call(null,rdr); +} +}); +cljs.tools.reader.edn.read_unmatched_delimiter = (function cljs$tools$reader$edn$read_unmatched_delimiter(rdr,ch,opts){ +return cljs.tools.reader.impl.errors.throw_unmatch_delimiter.call(null,rdr,ch); +}); +cljs.tools.reader.edn.read_unicode_char = (function cljs$tools$reader$edn$read_unicode_char(var_args){ +var G__24476 = arguments.length; +switch (G__24476) { +case 4: +return cljs.tools.reader.edn.read_unicode_char.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.tools.reader.edn.read_unicode_char.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.tools.reader.edn.read_unicode_char.cljs$core$IFn$_invoke$arity$4 = (function (token,offset,length,base){ +var l = (offset + length); +if((cljs.core.count.call(null,token) === l)){ +} else { +cljs.tools.reader.impl.errors.throw_invalid_unicode_literal.call(null,null,token); +} + +var i = offset; +var uc = (0); +while(true){ +if((i === l)){ +return String.fromCharCode(uc); +} else { +var d = cljs.tools.reader.char_code.call(null,cljs.core.nth.call(null,token,i),base); +if((d === (-1))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_digit_in_token.call(null,null,cljs.core.nth.call(null,token,i),token); +} else { +var G__24478 = (i + (1)); +var G__24479 = (d + (uc * base)); +i = G__24478; +uc = G__24479; +continue; +} +} +break; +} +}); + +cljs.tools.reader.edn.read_unicode_char.cljs$core$IFn$_invoke$arity$5 = (function (rdr,initch,base,length,exact_QMARK_){ +var i = (1); +var uc = cljs.tools.reader.char_code.call(null,initch,base); +while(true){ +if((uc === (-1))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_digit.call(null,rdr,initch); +} else { +if(!((i === length))){ +var ch = cljs.tools.reader.reader_types.peek_char.call(null,rdr); +if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.tools.reader.edn.macros.call(null,ch); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return (ch == null); +} +} +})())){ +if(cljs.core.truth_(exact_QMARK_)){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_len.call(null,rdr,i,length); +} else { +return String.fromCharCode(uc); +} +} else { +var d = cljs.tools.reader.char_code.call(null,ch,base); +cljs.tools.reader.reader_types.read_char.call(null,rdr); + +if((d === (-1))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_digit.call(null,rdr,ch); +} else { +var G__24480 = (i + (1)); +var G__24481 = (d + (uc * base)); +i = G__24480; +uc = G__24481; +continue; +} +} +} else { +return String.fromCharCode(uc); +} +} +break; +} +}); + +cljs.tools.reader.edn.read_unicode_char.cljs$lang$maxFixedArity = 5; + +cljs.tools.reader.edn.upper_limit = "\uD7FF".charCodeAt((0)); +cljs.tools.reader.edn.lower_limit = "\uE000".charCodeAt((0)); +cljs.tools.reader.edn.read_char_STAR_ = (function cljs$tools$reader$edn$read_char_STAR_(rdr,backslash,opts){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(!((ch == null))){ +var token = ((((cljs.tools.reader.edn.macro_terminating_QMARK_.call(null,ch)) || (cljs.tools.reader.edn.not_constituent_QMARK_.call(null,ch)) || (cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch))))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ch)].join(''):cljs.tools.reader.edn.read_token.call(null,rdr,new cljs.core.Keyword(null,"character","character",380652989),ch,false)); +var token_len = cljs.core.count.call(null,token); +if(((1) === token_len)){ +return cljs.core.nth.call(null,token,(0)); +} else { +if((token === "newline")){ +return "\n"; +} else { +if((token === "space")){ +return " "; +} else { +if((token === "tab")){ +return "\t"; +} else { +if((token === "backspace")){ +return "\b"; +} else { +if((token === "formfeed")){ +return "\f"; +} else { +if((token === "return")){ +return "\r"; +} else { +if(cljs.core.truth_(goog.string.startsWith(token,"u"))){ +var c = cljs.tools.reader.edn.read_unicode_char.call(null,token,(1),(4),(16)); +var ic = c.charCodeAt(); +if((((ic > cljs.tools.reader.edn.upper_limit)) && ((ic < cljs.tools.reader.edn.lower_limit)))){ +return cljs.tools.reader.impl.errors.throw_invalid_character_literal.call(null,rdr,ic.toString((16))); +} else { +return c; +} +} else { +if(cljs.core.truth_(goog.string.startsWith(token,"o"))){ +var len = (token_len - (1)); +if((len > (3))){ +return cljs.tools.reader.impl.errors.throw_invalid_octal_len.call(null,rdr,token); +} else { +var uc = cljs.tools.reader.edn.read_unicode_char.call(null,token,(1),len,(8)); +if(((uc | (0)) > (255))){ +return cljs.tools.reader.impl.errors.throw_bad_octal_number.call(null,rdr); +} else { +return uc; +} +} +} else { +return cljs.tools.reader.impl.errors.throw_unsupported_character.call(null,rdr,token); + +} +} +} +} +} +} +} +} +} +} else { +return cljs.tools.reader.impl.errors.throw_eof_in_character.call(null,rdr); +} +}); +cljs.tools.reader.edn.starting_line_col_info = (function cljs$tools$reader$edn$starting_line_col_info(rdr){ +if(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,rdr))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.tools.reader.reader_types.get_line_number.call(null,rdr),(((cljs.tools.reader.reader_types.get_column_number.call(null,rdr) | (0)) - (1)) | (0))], null); +} else { +return null; +} +}); +cljs.tools.reader.edn.read_delimited = (function cljs$tools$reader$edn$read_delimited(kind,delim,rdr,opts){ +var vec__24482 = cljs.tools.reader.edn.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24482,(0),null); +var start_column = cljs.core.nth.call(null,vec__24482,(1),null); +var delim__$1 = cljs.tools.reader.impl.utils.char$.call(null,delim); +var a = cljs.core.transient$.call(null,cljs.core.PersistentVector.EMPTY); +while(true){ +var ch = cljs.tools.reader.impl.commons.read_past.call(null,cljs.tools.reader.impl.utils.whitespace_QMARK_,rdr); +if(cljs.core.truth_(ch)){ +} else { +cljs.tools.reader.impl.errors.throw_eof_delimited.call(null,rdr,kind,start_line,start_column,cljs.core.count.call(null,a)); +} + +if(cljs.core._EQ_.call(null,delim__$1,cljs.tools.reader.impl.utils.char$.call(null,ch))){ +return cljs.core.persistent_BANG_.call(null,a); +} else { +var temp__4655__auto__ = cljs.tools.reader.edn.macros.call(null,ch); +if(cljs.core.truth_(temp__4655__auto__)){ +var macrofn = temp__4655__auto__; +var mret = macrofn.call(null,rdr,ch,opts); +var G__24486 = ((!((mret === rdr)))?cljs.core.conj_BANG_.call(null,a,mret):a); +a = G__24486; +continue; +} else { +var o = cljs.tools.reader.edn.read.call(null,(function (){var G__24485 = rdr; +cljs.tools.reader.reader_types.unread.call(null,G__24485,ch); + +return G__24485; +})(),true,null,opts); +var G__24487 = ((!((o === rdr)))?cljs.core.conj_BANG_.call(null,a,o):a); +a = G__24487; +continue; +} +} +break; +} +}); +cljs.tools.reader.edn.read_list = (function cljs$tools$reader$edn$read_list(rdr,_,opts){ +var the_list = cljs.tools.reader.edn.read_delimited.call(null,new cljs.core.Keyword(null,"list","list",765357683),")",rdr,opts); +if(cljs.core.empty_QMARK_.call(null,the_list)){ +return cljs.core.List.EMPTY; +} else { +return cljs.core.apply.call(null,cljs.core.list,the_list); +} +}); +cljs.tools.reader.edn.read_vector = (function cljs$tools$reader$edn$read_vector(rdr,_,opts){ +return cljs.tools.reader.edn.read_delimited.call(null,new cljs.core.Keyword(null,"vector","vector",1902966158),"]",rdr,opts); +}); +cljs.tools.reader.edn.read_map = (function cljs$tools$reader$edn$read_map(rdr,_,opts){ +var vec__24488 = cljs.tools.reader.edn.starting_line_col_info.call(null,rdr); +var start_line = cljs.core.nth.call(null,vec__24488,(0),null); +var start_column = cljs.core.nth.call(null,vec__24488,(1),null); +var the_map = cljs.tools.reader.edn.read_delimited.call(null,new cljs.core.Keyword(null,"map","map",1371690461),"}",rdr,opts); +var map_count = cljs.core.count.call(null,the_map); +var ks = cljs.core.take_nth.call(null,(2),the_map); +var key_set = cljs.core.set.call(null,ks); +if(cljs.core.odd_QMARK_.call(null,map_count)){ +cljs.tools.reader.impl.errors.throw_odd_map.call(null,rdr,start_line,start_column,the_map); +} else { +} + +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,key_set),cljs.core.count.call(null,ks))){ +} else { +cljs.tools.reader.impl.errors.throw_dup_keys.call(null,rdr,new cljs.core.Keyword(null,"map","map",1371690461),ks); +} + +if((map_count <= ((2) * cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD))){ +return cljs.core.PersistentArrayMap.fromArray(cljs.core.to_array.call(null,the_map),true,true); +} else { +return cljs.core.PersistentHashMap.fromArray(cljs.core.to_array.call(null,the_map),true); +} +}); +cljs.tools.reader.edn.read_number = (function cljs$tools$reader$edn$read_number(rdr,initch,opts){ +var sb = (function (){var G__24491 = (new goog.string.StringBuffer()); +G__24491.append(initch); + +return G__24491; +})(); +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +while(true){ +if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = cljs.tools.reader.edn.macros.call(null,ch); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return (ch == null); +} +} +})())){ +var s = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); +cljs.tools.reader.reader_types.unread.call(null,rdr,ch); + +var or__3922__auto__ = cljs.tools.reader.impl.commons.match_number.call(null,s); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.impl.errors.throw_invalid_number.call(null,rdr,s); +} +} else { +var G__24493 = (function (){var G__24492 = sb; +G__24492.append(ch); + +return G__24492; +})(); +var G__24494 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +sb = G__24493; +ch = G__24494; +continue; +} +break; +} +}); +cljs.tools.reader.edn.escape_char = (function cljs$tools$reader$edn$escape_char(sb,rdr){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +var G__24495 = ch; +switch (G__24495) { +case "t": +return "\t"; + +break; +case "r": +return "\r"; + +break; +case "n": +return "\n"; + +break; +case "\\": +return "\\"; + +break; +case "\"": +return "\""; + +break; +case "b": +return "\b"; + +break; +case "f": +return "\f"; + +break; +case "u": +var ch__$1 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +if(((-1) === parseInt((ch__$1 | (0)),(16)))){ +return cljs.tools.reader.impl.errors.throw_invalid_unicode_escape.call(null,rdr,ch__$1); +} else { +return cljs.tools.reader.edn.read_unicode_char.call(null,rdr,ch__$1,(16),(4),true); +} + +break; +default: +if(cljs.tools.reader.impl.utils.numeric_QMARK_.call(null,ch)){ +var ch__$1 = cljs.tools.reader.edn.read_unicode_char.call(null,rdr,ch,(8),(3),false); +if(((ch__$1 | (0)) > (255))){ +return cljs.tools.reader.impl.errors.throw_bad_octal_number.call(null,rdr); +} else { +return ch__$1; +} +} else { +return cljs.tools.reader.impl.errors.throw_bad_escape_char.call(null,rdr,ch); +} + +} +}); +cljs.tools.reader.edn.read_string_STAR_ = (function cljs$tools$reader$edn$read_string_STAR_(rdr,_,opts){ +var sb = (new goog.string.StringBuffer()); +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +while(true){ +var G__24497 = ch; +if(cljs.core._EQ_.call(null,null,G__24497)){ +return cljs.tools.reader.impl.errors.throw_eof_reading.call(null,rdr,new cljs.core.Keyword(null,"string","string",-1989541586),"\"",sb); +} else { +if(cljs.core._EQ_.call(null,"\\",G__24497)){ +var G__24500 = (function (){var G__24498 = sb; +G__24498.append(cljs.tools.reader.edn.escape_char.call(null,sb,rdr)); + +return G__24498; +})(); +var G__24501 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +sb = G__24500; +ch = G__24501; +continue; +} else { +if(cljs.core._EQ_.call(null,"\"",G__24497)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''); +} else { +var G__24502 = (function (){var G__24499 = sb; +G__24499.append(ch); + +return G__24499; +})(); +var G__24503 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +sb = G__24502; +ch = G__24503; +continue; + +} +} +} +break; +} +}); +cljs.tools.reader.edn.read_symbol = (function cljs$tools$reader$edn$read_symbol(rdr,initch){ +var temp__4657__auto__ = cljs.tools.reader.edn.read_token.call(null,rdr,new cljs.core.Keyword(null,"symbol","symbol",-1038572696),initch); +if(cljs.core.truth_(temp__4657__auto__)){ +var token = temp__4657__auto__; +var G__24504 = token; +switch (G__24504) { +case "nil": +return null; + +break; +case "true": +return true; + +break; +case "false": +return false; + +break; +case "/": +return new cljs.core.Symbol(null,"/","/",-1371932971,null); + +break; +default: +var or__3922__auto__ = (function (){var temp__4657__auto____$1 = cljs.tools.reader.impl.commons.parse_symbol.call(null,token); +if(cljs.core.truth_(temp__4657__auto____$1)){ +var p = temp__4657__auto____$1; +return cljs.core.symbol.call(null,p.call(null,(0)),p.call(null,(1))); +} else { +return null; +} +})(); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.impl.errors.throw_invalid.call(null,rdr,new cljs.core.Keyword(null,"symbol","symbol",-1038572696),token); +} + +} +} else { +return null; +} +}); +cljs.tools.reader.edn.read_keyword = (function cljs$tools$reader$edn$read_keyword(reader,initch,opts){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,reader); +if(!(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch))){ +var token = cljs.tools.reader.edn.read_token.call(null,reader,new cljs.core.Keyword(null,"keyword","keyword",811389747),ch); +var s = cljs.tools.reader.impl.commons.parse_symbol.call(null,token); +if(cljs.core.truth_((function (){var and__3911__auto__ = s; +if(cljs.core.truth_(and__3911__auto__)){ +return ((-1) === token.indexOf("::")); +} else { +return and__3911__auto__; +} +})())){ +var ns = s.call(null,(0)); +var name = s.call(null,(1)); +if((":" === cljs.core.nth.call(null,token,(0)))){ +return cljs.tools.reader.impl.errors.throw_invalid.call(null,reader,new cljs.core.Keyword(null,"keyword","keyword",811389747),token); +} else { +return cljs.core.keyword.call(null,ns,name); +} +} else { +return cljs.tools.reader.impl.errors.throw_invalid.call(null,reader,new cljs.core.Keyword(null,"keyword","keyword",811389747),token); +} +} else { +return cljs.tools.reader.impl.errors.throw_single_colon.call(null,reader); +} +}); +cljs.tools.reader.edn.wrapping_reader = (function cljs$tools$reader$edn$wrapping_reader(sym){ +return (function (rdr,_,opts){ +return (new cljs.core.List(null,sym,(new cljs.core.List(null,cljs.tools.reader.edn.read.call(null,rdr,true,null,opts),null,(1),null)),(2),null)); +}); +}); +cljs.tools.reader.edn.read_meta = (function cljs$tools$reader$edn$read_meta(rdr,_,opts){ +var m = cljs.tools.reader.impl.utils.desugar_meta.call(null,cljs.tools.reader.edn.read.call(null,rdr,true,null,opts)); +if(cljs.core.map_QMARK_.call(null,m)){ +} else { +cljs.tools.reader.impl.errors.throw_bad_metadata.call(null,rdr,m); +} + +var o = cljs.tools.reader.edn.read.call(null,rdr,true,null,opts); +if(((!((o == null)))?(((((o.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMeta$))))?true:false):false)){ +return cljs.core.with_meta.call(null,o,cljs.core.merge.call(null,cljs.core.meta.call(null,o),m)); +} else { +return cljs.tools.reader.impl.errors.throw_bad_metadata_target.call(null,rdr,o); +} +}); +cljs.tools.reader.edn.read_set = (function cljs$tools$reader$edn$read_set(rdr,_,opts){ +var coll = cljs.tools.reader.edn.read_delimited.call(null,new cljs.core.Keyword(null,"set","set",304602554),"}",rdr,opts); +var the_set = cljs.core.set.call(null,coll); +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,coll),cljs.core.count.call(null,the_set))){ +} else { +cljs.tools.reader.impl.errors.throw_dup_keys.call(null,rdr,new cljs.core.Keyword(null,"set","set",304602554),coll); +} + +return the_set; +}); +cljs.tools.reader.edn.read_discard = (function cljs$tools$reader$edn$read_discard(rdr,_,opts){ +var G__24507 = rdr; +cljs.tools.reader.edn.read.call(null,G__24507,true,null,true); + +return G__24507; +}); +cljs.tools.reader.edn.read_namespaced_map = (function cljs$tools$reader$edn$read_namespaced_map(rdr,_,opts){ +var token = cljs.tools.reader.edn.read_token.call(null,rdr,new cljs.core.Keyword(null,"namespaced-map","namespaced-map",1235665380),cljs.tools.reader.reader_types.read_char.call(null,rdr)); +var temp__4655__auto__ = (function (){var G__24508 = token; +var G__24508__$1 = (((G__24508 == null))?null:cljs.tools.reader.impl.commons.parse_symbol.call(null,G__24508)); +if((G__24508__$1 == null)){ +return null; +} else { +return cljs.tools.reader.impl.utils.second_SINGLEQUOTE_.call(null,G__24508__$1); +} +})(); +if(cljs.core.truth_(temp__4655__auto__)){ +var ns = temp__4655__auto__; +var ch = cljs.tools.reader.impl.commons.read_past.call(null,cljs.tools.reader.impl.utils.whitespace_QMARK_,rdr); +if((ch === "{")){ +var items = cljs.tools.reader.edn.read_delimited.call(null,new cljs.core.Keyword(null,"namespaced-map","namespaced-map",1235665380),"}",rdr,opts); +if(cljs.core.odd_QMARK_.call(null,cljs.core.count.call(null,items))){ +cljs.tools.reader.impl.errors.throw_odd_map.call(null,rdr,null,null,items); +} else { +} + +var keys = cljs.tools.reader.impl.utils.namespace_keys.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''),cljs.core.take_nth.call(null,(2),items)); +var vals = cljs.core.take_nth.call(null,(2),cljs.core.rest.call(null,items)); +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,cljs.core.set.call(null,keys)),cljs.core.count.call(null,keys))){ +} else { +cljs.tools.reader.impl.errors.throw_dup_keys.call(null,rdr,new cljs.core.Keyword(null,"namespaced-map","namespaced-map",1235665380),keys); +} + +return cljs.core.zipmap.call(null,keys,vals); +} else { +return cljs.tools.reader.impl.errors.throw_ns_map_no_map.call(null,rdr,token); +} +} else { +return cljs.tools.reader.impl.errors.throw_bad_ns.call(null,rdr,token); +} +}); +cljs.tools.reader.edn.read_symbolic_value = (function cljs$tools$reader$edn$read_symbolic_value(rdr,_,opts){ +var sym = cljs.tools.reader.edn.read.call(null,rdr,true,null,opts); +var G__24509 = sym; +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"NaN","NaN",666918153,null),G__24509)){ +return Number.NaN; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"-Inf","-Inf",-2123243689,null),G__24509)){ +return Number.NEGATIVE_INFINITY; +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"Inf","Inf",647172781,null),G__24509)){ +return Number.POSITIVE_INFINITY; +} else { +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,["Invalid token: ##",cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)].join('')); + +} +} +} +}); +cljs.tools.reader.edn.macros = (function cljs$tools$reader$edn$macros(ch){ +var G__24510 = ch; +switch (G__24510) { +case "\"": +return cljs.tools.reader.edn.read_string_STAR_; + +break; +case ":": +return cljs.tools.reader.edn.read_keyword; + +break; +case ";": +return cljs.tools.reader.impl.commons.read_comment; + +break; +case "^": +return cljs.tools.reader.edn.read_meta; + +break; +case "(": +return cljs.tools.reader.edn.read_list; + +break; +case ")": +return cljs.tools.reader.edn.read_unmatched_delimiter; + +break; +case "[": +return cljs.tools.reader.edn.read_vector; + +break; +case "]": +return cljs.tools.reader.edn.read_unmatched_delimiter; + +break; +case "{": +return cljs.tools.reader.edn.read_map; + +break; +case "}": +return cljs.tools.reader.edn.read_unmatched_delimiter; + +break; +case "\\": +return cljs.tools.reader.edn.read_char_STAR_; + +break; +case "#": +return cljs.tools.reader.edn.read_dispatch; + +break; +default: +return null; + +} +}); +cljs.tools.reader.edn.dispatch_macros = (function cljs$tools$reader$edn$dispatch_macros(ch){ +var G__24512 = ch; +switch (G__24512) { +case "^": +return cljs.tools.reader.edn.read_meta; + +break; +case "{": +return cljs.tools.reader.edn.read_set; + +break; +case "<": +return cljs.tools.reader.impl.commons.throwing_reader.call(null,"Unreadable form"); + +break; +case "!": +return cljs.tools.reader.impl.commons.read_comment; + +break; +case "_": +return cljs.tools.reader.edn.read_discard; + +break; +case ":": +return cljs.tools.reader.edn.read_namespaced_map; + +break; +case "#": +return cljs.tools.reader.edn.read_symbolic_value; + +break; +default: +return null; + +} +}); +cljs.tools.reader.edn.read_tagged = (function cljs$tools$reader$edn$read_tagged(rdr,initch,opts){ +var tag = cljs.tools.reader.edn.read.call(null,rdr,true,null,opts); +var object = cljs.tools.reader.edn.read.call(null,rdr,true,null,opts); +if(!((tag instanceof cljs.core.Symbol))){ +cljs.tools.reader.impl.errors.throw_bad_reader_tag.call(null,rdr,"Reader tag must be a symbol"); +} else { +} + +var temp__4655__auto__ = (function (){var or__3922__auto__ = cljs.core.get.call(null,new cljs.core.Keyword(null,"readers","readers",-2118263030).cljs$core$IFn$_invoke$arity$1(opts),tag); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.tools.reader.default_data_readers.call(null,tag); +} +})(); +if(cljs.core.truth_(temp__4655__auto__)){ +var f = temp__4655__auto__; +return f.call(null,object); +} else { +var temp__4655__auto____$1 = new cljs.core.Keyword(null,"default","default",-1987822328).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var d = temp__4655__auto____$1; +return d.call(null,tag,object); +} else { +return cljs.tools.reader.impl.errors.throw_unknown_reader_tag.call(null,rdr,tag); +} +} +}); +/** + * Reads the first object from an IPushbackReader. + * Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof. + * If no reader is provided, *in* will be used. + * + * Reads data in the edn format (subset of Clojure data): + * http://edn-format.org + * + * clojure.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration + * is done by passing an opt map. + * + * opts is a map that can include the following keys: + * :eof - value to return on end-of-file. When not supplied, eof throws an exception. + * :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers. + * When not supplied, only the default-data-readers will be used. + * :default - A function of two args, that will, if present and no reader is found for a tag, + * be called with the tag and the value. + */ +cljs.tools.reader.edn.read = (function cljs$tools$reader$edn$read(var_args){ +var G__24515 = arguments.length; +switch (G__24515) { +case 1: +return cljs.tools.reader.edn.read.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.edn.read.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 4: +return cljs.tools.reader.edn.read.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.tools.reader.edn.read.cljs$core$IFn$_invoke$arity$1 = (function (reader){ +return cljs.tools.reader.edn.read.call(null,cljs.core.PersistentArrayMap.EMPTY,reader); +}); + +cljs.tools.reader.edn.read.cljs$core$IFn$_invoke$arity$2 = (function (p__24516,reader){ +var map__24517 = p__24516; +var map__24517__$1 = ((((!((map__24517 == null)))?(((((map__24517.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24517.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24517):map__24517); +var opts = map__24517__$1; +var eof = cljs.core.get.call(null,map__24517__$1,new cljs.core.Keyword(null,"eof","eof",-489063237)); +var eof_error_QMARK_ = !(cljs.core.contains_QMARK_.call(null,opts,new cljs.core.Keyword(null,"eof","eof",-489063237))); +return cljs.tools.reader.edn.read.call(null,reader,eof_error_QMARK_,eof,opts); +}); + +cljs.tools.reader.edn.read.cljs$core$IFn$_invoke$arity$4 = (function (reader,eof_error_QMARK_,eof,opts){ +try{while(true){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,reader); +if(cljs.tools.reader.impl.utils.whitespace_QMARK_.call(null,ch)){ +continue; +} else { +if((ch == null)){ +if(cljs.core.truth_(eof_error_QMARK_)){ +return cljs.tools.reader.impl.errors.throw_eof_error.call(null,reader,null); +} else { +return eof; +} +} else { +if(cljs.tools.reader.impl.commons.number_literal_QMARK_.call(null,reader,ch)){ +return cljs.tools.reader.edn.read_number.call(null,reader,ch,opts); +} else { +var f = cljs.tools.reader.edn.macros.call(null,ch); +if(cljs.core.truth_(f)){ +var res = f.call(null,reader,ch,opts); +if((res === reader)){ +continue; +} else { +return res; +} +} else { +return cljs.tools.reader.edn.read_symbol.call(null,reader,ch); +} + +} +} +} +break; +} +}catch (e24519){if((e24519 instanceof Error)){ +var e = e24519; +if(cljs.tools.reader.impl.utils.ex_info_QMARK_.call(null,e)){ +var d = cljs.core.ex_data.call(null,e); +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(d))){ +throw e; +} else { +throw cljs.core.ex_info.call(null,e.message,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098)], null),d,(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,reader))?new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"line","line",212345235),cljs.tools.reader.reader_types.get_line_number.call(null,reader),new cljs.core.Keyword(null,"column","column",2078222095),cljs.tools.reader.reader_types.get_column_number.call(null,reader),new cljs.core.Keyword(null,"file","file",-1269645878),cljs.tools.reader.reader_types.get_file_name.call(null,reader)], null):null)),e); +} +} else { +throw cljs.core.ex_info.call(null,e.message,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098)], null),(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,reader))?new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"line","line",212345235),cljs.tools.reader.reader_types.get_line_number.call(null,reader),new cljs.core.Keyword(null,"column","column",2078222095),cljs.tools.reader.reader_types.get_column_number.call(null,reader),new cljs.core.Keyword(null,"file","file",-1269645878),cljs.tools.reader.reader_types.get_file_name.call(null,reader)], null):null)),e); +} +} else { +throw e24519; + +} +}}); + +cljs.tools.reader.edn.read.cljs$lang$maxFixedArity = 4; + +/** + * Reads one object from the string s. + * Returns nil when s is nil or empty. + * + * Reads data in the edn format (subset of Clojure data): + * http://edn-format.org + * + * opts is a map as per clojure.tools.reader.edn/read + */ +cljs.tools.reader.edn.read_string = (function cljs$tools$reader$edn$read_string(var_args){ +var G__24522 = arguments.length; +switch (G__24522) { +case 1: +return cljs.tools.reader.edn.read_string.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.edn.read_string.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.tools.reader.edn.read_string.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return cljs.tools.reader.edn.read_string.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"eof","eof",-489063237),null], null),s); +}); + +cljs.tools.reader.edn.read_string.cljs$core$IFn$_invoke$arity$2 = (function (opts,s){ +if(cljs.core.truth_((function (){var and__3911__auto__ = s; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not_EQ_.call(null,s,""); +} else { +return and__3911__auto__; +} +})())){ +return cljs.tools.reader.edn.read.call(null,opts,cljs.tools.reader.reader_types.string_push_back_reader.call(null,s)); +} else { +return null; +} +}); + +cljs.tools.reader.edn.read_string.cljs$lang$maxFixedArity = 2; + + +//# sourceMappingURL=edn.js.map?rel=1628501143618 diff --git a/examples/resources/public/js/out/cljs/tools/reader/edn.js.map b/examples/resources/public/js/out/cljs/tools/reader/edn.js.map new file mode 100644 index 0000000..abe826b --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/edn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader\/edn.js","sources":["edn.cljs?rel=1628501143623"],"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FrL,KAAKyF;AATT,AAUK,oBAAM,iBAAAhH,oBAAKgH;AAAL,AAAA,oBAAAhH;AAAO,qCAAA,9BAAC6M,4BAAK7F;;AAAbhH;;;AAAN,AACE,OAACwF,qCAAKjE,KAAK,AAACuL,iEAAwB9F;;AADtC;;;;AAVL,AAAA,4DAAA,5DAAM4F;;AAAN","names":["cljs.tools.reader.edn\/macro-terminating?","ch","and__3911__auto__","cljs.tools.reader.edn\/macros","cljs.tools.reader.edn\/not-constituent?","var_args","G__24469","cljs.tools.reader.edn\/read-token","js\/Error","rdr","kind","initch","validate-leading?","cljs.core\/not","cljs.tools.reader.impl.errors\/throw-eof-at-start","cljs.tools.reader.impl.errors\/throw-bad-char","sb","goog\/string.StringBuffer","cljs.tools.reader.reader-types\/unread","cljs.tools.reader.impl.utils\/whitespace?","G__24470","cljs.tools.reader.reader-types\/read-char","cljs.tools.reader.reader-types\/peek-char","cljs.tools.reader.edn\/read-dispatch","_","opts","temp__4655__auto__","dm","cljs.tools.reader.edn\/dispatch-macros","obj","cljs.tools.reader.edn\/read-tagged","G__24474","cljs.tools.reader.impl.errors\/throw-no-dispatch","cljs.tools.reader.impl.errors\/throw-eof-at-dispatch","cljs.tools.reader.edn\/read-unmatched-delimiter","cljs.tools.reader.impl.errors\/throw-unmatch-delimiter","G__24476","cljs.tools.reader.edn\/read-unicode-char","token","offset","length","base","l","cljs.core\/count","cljs.tools.reader.impl.errors\/throw-invalid-unicode-literal","i","uc","js\/String.fromCharCode","d","cljs.tools.reader\/char-code","cljs.core\/nth","cljs.tools.reader.impl.errors\/throw-invalid-unicode-digit-in-token","exact?","cljs.tools.reader.impl.errors\/throw-invalid-unicode-digit","or__3922__auto__","cljs.tools.reader.impl.errors\/throw-invalid-unicode-len","cljs.tools.reader.edn\/upper-limit","cljs.tools.reader.edn\/lower-limit","cljs.tools.reader.edn\/read-char*","backslash","token-len","goog.string\/startsWith","c","ic","cljs.tools.reader.impl.errors\/throw-invalid-character-literal","len","cljs.tools.reader.impl.errors\/throw-invalid-octal-len","cljs.tools.reader.impl.errors\/throw-bad-octal-number","cljs.tools.reader.impl.errors\/throw-unsupported-character","cljs.tools.reader.impl.errors\/throw-eof-in-character","cljs.tools.reader.edn\/starting-line-col-info","cljs.tools.reader.reader-types\/indexing-reader?","cljs.tools.reader.reader-types\/get-line-number","cljs.tools.reader.reader-types\/get-column-number","cljs.tools.reader.edn\/read-delimited","delim","vec__24482","start-line","start-column","cljs.tools.reader.impl.utils\/char","a","cljs.core\/transient","cljs.tools.reader.impl.commons\/read-past","cljs.tools.reader.impl.errors\/throw-eof-delimited","cljs.core\/=","cljs.core\/persistent!","macrofn","mret","cljs.core\/conj!","o","cljs.tools.reader.edn\/read","G__24485","cljs.tools.reader.edn\/read-list","the-list","cljs.core\/empty?","cljs.core\/apply","cljs.core\/list","cljs.tools.reader.edn\/read-vector","cljs.tools.reader.edn\/read-map","vec__24488","the-map","map-count","ks","cljs.core\/take-nth","key-set","cljs.core\/set","cljs.core\/odd?","cljs.tools.reader.impl.errors\/throw-odd-map","cljs.tools.reader.impl.errors\/throw-dup-keys","cljs.core\/PersistentArrayMap","cljs.core\/to-array","cljs.core\/PersistentHashMap","cljs.tools.reader.edn\/read-number","G__24491","s","cljs.tools.reader.impl.commons\/match-number","cljs.tools.reader.impl.errors\/throw-invalid-number","G__24492","cljs.tools.reader.edn\/escape-char","G__24495","js\/parseInt","cljs.tools.reader.impl.errors\/throw-invalid-unicode-escape","cljs.tools.reader.impl.utils\/numeric?","cljs.tools.reader.impl.errors\/throw-bad-escape-char","cljs.tools.reader.edn\/read-string*","G__24497","cljs.tools.reader.impl.errors\/throw-eof-reading","G__24498","G__24499","cljs.tools.reader.edn\/read-symbol","temp__4657__auto__","G__24504","p","cljs.tools.reader.impl.commons\/parse-symbol","cljs.core\/symbol","cljs.tools.reader.impl.errors\/throw-invalid","cljs.tools.reader.edn\/read-keyword","reader","ns","name","cljs.core\/keyword","cljs.tools.reader.impl.errors\/throw-single-colon","cljs.tools.reader.edn\/wrapping-reader","sym","cljs.core\/List","cljs.tools.reader.edn\/read-meta","m","cljs.tools.reader.impl.utils\/desugar-meta","cljs.core\/map?","cljs.tools.reader.impl.errors\/throw-bad-metadata","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/with-meta","cljs.core\/merge","cljs.core\/meta","cljs.tools.reader.impl.errors\/throw-bad-metadata-target","cljs.tools.reader.edn\/read-set","coll","the-set","cljs.tools.reader.edn\/read-discard","G__24507","cljs.tools.reader.edn\/read-namespaced-map","G__24508","cljs.tools.reader.impl.utils\/second'","items","keys","cljs.tools.reader.impl.utils\/namespace-keys","vals","cljs.core\/rest","cljs.core\/zipmap","cljs.tools.reader.impl.errors\/throw-ns-map-no-map","cljs.tools.reader.impl.errors\/throw-bad-ns","cljs.tools.reader.edn\/read-symbolic-value","G__24509","js\/Number.NaN","js\/Number.NEGATIVE_INFINITY","js\/Number.POSITIVE_INFINITY","cljs.tools.reader.impl.errors\/reader-error","G__24510","cljs.tools.reader.impl.commons\/read-comment","G__24512","cljs.tools.reader.impl.commons\/throwing-reader","tag","object","cljs.core\/Symbol","cljs.tools.reader.impl.errors\/throw-bad-reader-tag","f","cljs.core\/get","cljs.tools.reader\/default-data-readers","cljs.tools.reader.impl.errors\/throw-unknown-reader-tag","G__24515","p__24516","map__24517","cljs.core\/hash-map","eof","eof-error?","cljs.core\/contains?","e24519","cljs.tools.reader.impl.errors\/throw-eof-error","cljs.tools.reader.impl.commons\/number-literal?","res","e","cljs.tools.reader.impl.utils\/ex-info?","cljs.core\/ex-data","cljs.core\/ex-info","cljs.tools.reader.reader-types\/get-file-name","G__24522","cljs.tools.reader.edn\/read-string","cljs.core\/not=","cljs.tools.reader.reader-types\/string-push-back-reader"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs new file mode 100644 index 0000000..bb81955 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs @@ -0,0 +1,131 @@ +;; Copyright (c) Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.tools.reader.impl.commons + (:refer-clojure :exclude [char]) + (:require + [cljs.tools.reader.impl.errors :refer [reader-error]] + [cljs.tools.reader.reader-types :refer [peek-char read-char]] + [cljs.tools.reader.impl.utils :refer [numeric? newline? char]])) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; helpers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn ^boolean number-literal? + "Checks whether the reader is at the start of a number literal" + [^not-native reader initch] + (or (numeric? initch) + (and (or (identical? \+ initch) (identical? \- initch)) + (numeric? (peek-char reader))))) + +(defn read-past + "Read until first character that doesn't match pred, returning + char." + [pred ^not-native rdr] + (loop [ch (read-char rdr)] + (if ^boolean (pred ch) + (recur (read-char rdr)) + ch))) + +(defn skip-line + "Advances the reader to the end of a line. Returns the reader" + [^not-native reader] + (loop [] + (when-not (newline? (read-char reader)) + (recur))) + reader) + +(def int-pattern #"^([-+]?)(?:(0)|([1-9][0-9]*)|0[xX]([0-9A-Fa-f]+)|0([0-7]+)|([1-9][0-9]?)[rR]([0-9A-Za-z]+)|0[0-9]+)(N)?$") +(def ratio-pattern #"([-+]?[0-9]+)/([0-9]+)") +(def float-pattern #"([-+]?[0-9]+(\.[0-9]*)?([eE][-+]?[0-9]+)?)(M)?") + +(defn- match-int + [s] + (let [m (vec (re-find int-pattern s))] + (if-not (nil? (m 2)) + 0 + (let [^boolean negate? (identical? "-" (m 1)) + a (cond + (not (nil? (m 3))) [(m 3) 10] + (not (nil? (m 4))) [(m 4) 16] + (not (nil? (m 5))) [(m 5) 8] + (not (nil? (m 7))) [(m 7) (js/parseInt (m 6))] + :else [nil nil]) + n (a 0)] + (when-not (nil? n) + (let [bn (js/parseInt n (a 1)) + bn (if negate? (* -1 bn) bn)] + (when-not (js/isNaN bn) + bn))))))) + +(defn- match-ratio + [s] + (let [m (vec (re-find ratio-pattern s)) + numerator (m 1) + denominator (m 2) + numerator (if (re-find #"^\+" numerator) + (subs numerator 1) + numerator)] + (/ (-> numerator js/parseInt) ;;; No ratio type in cljs + (-> denominator js/parseInt)))); So will convert to js/Number + +(defn- match-float + [s] + (let [m (vec (re-find float-pattern s))] + (if-not (nil? (m 4)) ;; for BigDecimal "10.03M", as all parsed to js/Number + (js/parseFloat (m 1)) + (js/parseFloat s)))) + +(defn ^boolean matches? [pattern s] + (let [[match] (re-find pattern s)] + (identical? match s))) + +(defn match-number [s] + (if (matches? int-pattern s) + (match-int s) + (if (matches? float-pattern s) + (match-float s) + (when (matches? ratio-pattern s) + (match-ratio s))))) + +(defn parse-symbol + "Parses a string into a vector of the namespace and symbol" + [token] + (when-not (or (identical? "" token) + (true? (.test #":$" token)) + (true? (.test #"^::" token))) + (let [ns-idx (.indexOf token "/") + ns (when (pos? ns-idx) + (subs token 0 ns-idx))] + (if-not (nil? ns) + (let [ns-idx (inc ns-idx)] + (when-not (== ns-idx (count token)) + (let [sym (subs token ns-idx)] + (when (and (not (numeric? (nth sym 0))) + (not (identical? "" sym)) + (false? (.test #":$" ns)) + (or (identical? sym "/") + (== -1 (.indexOf sym "/")))) + [ns sym])))) + (when (or (identical? token "/") + (== -1 (.indexOf token "/"))) + [nil token]))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; readers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defn read-comment + [rdr & _] + (skip-line rdr)) + +(defn throwing-reader + [msg] + (fn [rdr & _] + (reader-error rdr msg))) diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs.cache.json new file mode 100644 index 0000000..589c141 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$parseInt",["^ "],"~$isNaN",["^ "],"~$parseFloat",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$char"]],"~:name","~$cljs.tools.reader.impl.commons","~:imports",null,"~:requires",["^ ","~$cljs.tools.reader.impl.errors","^>","~$cljs.tools.reader.reader-types","^?","~$cljs.tools.reader.impl.utils","^@"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","^9","^@","~$numeric?","^@","~$reader-error","^>","~$peek-char","^?","~$read-char","^?","~$newline?","^@"],"~:defs",["^ ","~$match-number",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","~:line",89,"~:column",7,"~:end-line",89,"~:end-column",19,"~:arglists",["~#list",["~$quote",["^R",[["~$s"]]]]]],"^:","~$cljs.tools.reader.impl.commons/match-number","~:variadic",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",19,"~:method-params",["^R",[["~$s"]]],"~:protocol-impl",null,"~:arglists-meta",["^R",[null,null]],"^N",1,"^M",89,"^O",89,"~:max-fixed-arity",1,"~:fn-var",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"~$skip-line",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",36,"^N",7,"^O",36,"^P",16,"^Q",["^R",["^S",["^R",[["~$reader"]]]]],"~:doc","Advances the reader to the end of a line. Returns the reader"],"^:","~$cljs.tools.reader.impl.commons/skip-line","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",16,"^V",["^R",[["^10"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",36,"^O",36,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["^10"]]]]],"^11","Advances the reader to the end of a line. Returns the reader"],"~$int-pattern",["^ ","^:","~$cljs.tools.reader.impl.commons/int-pattern","^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",44,"^N",1,"^O",44,"^P",17,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",44,"^N",6,"^O",44,"^P",17],"~:tag","~$any"],"~$read-comment",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",124,"^N",7,"^O",124,"^P",19,"^Q",["^R",["^S",["^R",[["~$rdr","~$&","~$_"]]]]],"~:top-fn",["^ ","^U",true,"^Y",1,"^V",[["^R",["^18","~$_"]]],"^Q",["^R",[["^18","~$&","~$_"]]],"^X",["^R",[null]]]],"^:","~$cljs.tools.reader.impl.commons/read-comment","^U",true,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",19,"^19",["^ ","^U",true,"^Y",1,"^V",[["^R",["^18","~$_"]]],"^Q",["^R",[["^18","~$&","~$_"]]],"^X",["^R",[null]]],"^V",[["^R",["^18","~$_"]]],"^W",null,"^X",["^R",[null]],"^N",1,"^M",124,"^O",124,"^Y",1,"^Z",true,"^Q",["^R",[["^18","~$&","~$_"]]]],"~$match-ratio",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",67,"^N",8,"^O",67,"^P",19,"~:private",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"^1<",true,"^:","~$cljs.tools.reader.impl.commons/match-ratio","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",19,"^V",["^R",[["~$s"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",67,"^O",67,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"~$match-int",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",48,"^N",8,"^O",48,"^P",17,"^1<",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"^1<",true,"^:","~$cljs.tools.reader.impl.commons/match-int","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",17,"^V",["^R",[["~$s"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",48,"^O",48,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"~$parse-symbol",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",97,"^N",7,"^O",97,"^P",19,"^Q",["^R",["^S",["^R",[["~$token"]]]]],"^11","Parses a string into a vector of the namespace and symbol"],"^:","~$cljs.tools.reader.impl.commons/parse-symbol","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",19,"^V",["^R",[["^1A"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",97,"^O",97,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["^1A"]]]]],"^11","Parses a string into a vector of the namespace and symbol"],"~$number-literal?",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",20,"^N",16,"^O",20,"^P",31,"^15","~$boolean","^Q",["^R",["^S",["^R",[["^10","~$initch"]]]]],"^11","Checks whether the reader is at the start of a number literal"],"^:","~$cljs.tools.reader.impl.commons/number-literal?","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",31,"^V",["^R",[["^10","^1E"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",20,"~:ret-tag","^1D","^O",20,"^Y",2,"^15","^1D","^Z",true,"^Q",["^R",["^S",["^R",[["^10","^1E"]]]]],"^11","Checks whether the reader is at the start of a number literal"],"~$read-past",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",27,"^N",7,"^O",27,"^P",16,"^Q",["^R",["^S",["^R",[["~$pred","^18"]]]]],"^11","Read until first character that doesn't match pred, returning\n char."],"^:","~$cljs.tools.reader.impl.commons/read-past","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",16,"^V",["^R",[["^1I","^18"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",27,"^O",27,"^Y",2,"^Z",true,"^Q",["^R",["^S",["^R",[["^1I","^18"]]]]],"^11","Read until first character that doesn't match pred, returning\n char."],"~$float-pattern",["^ ","^:","~$cljs.tools.reader.impl.commons/float-pattern","^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",46,"^N",1,"^O",46,"^P",19,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",46,"^N",6,"^O",46,"^P",19],"^15","^16"],"~$matches?",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",85,"^N",16,"^O",85,"^P",24,"^15","^1D","^Q",["^R",["^S",["^R",[["~$pattern","~$s"]]]]]],"^:","~$cljs.tools.reader.impl.commons/matches?","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",24,"^V",["^R",[["^1N","~$s"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",85,"^1G","^1D","^O",85,"^Y",2,"^15","^1D","^Z",true,"^Q",["^R",["^S",["^R",[["^1N","~$s"]]]]]],"~$throwing-reader",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",128,"^N",7,"^O",128,"^P",22,"^Q",["^R",["^S",["^R",[["~$msg"]]]]]],"^:","~$cljs.tools.reader.impl.commons/throwing-reader","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",22,"^V",["^R",[["^1Q"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",128,"^O",128,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["^1Q"]]]]]],"~$match-float",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",78,"^N",8,"^O",78,"^P",19,"^1<",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"^1<",true,"^:","~$cljs.tools.reader.impl.commons/match-float","^U",false,"^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^P",19,"^V",["^R",[["~$s"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",78,"^O",78,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["~$s"]]]]]],"~$ratio-pattern",["^ ","^:","~$cljs.tools.reader.impl.commons/ratio-pattern","^L","resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",45,"^N",1,"^O",45,"^P",19,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/commons.cljs","^M",45,"^N",6,"^O",45,"^P",19],"^15","^16"]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^8",["~:else"]],"~:order",["^1["]],"^11",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/commons.js b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.js new file mode 100644 index 0000000..97818a4 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.js @@ -0,0 +1,193 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader.impl.commons'); +goog.require('cljs.core'); +goog.require('cljs.tools.reader.impl.errors'); +goog.require('cljs.tools.reader.reader_types'); +goog.require('cljs.tools.reader.impl.utils'); +/** + * Checks whether the reader is at the start of a number literal + */ +cljs.tools.reader.impl.commons.number_literal_QMARK_ = (function cljs$tools$reader$impl$commons$number_literal_QMARK_(reader,initch){ +return ((cljs.tools.reader.impl.utils.numeric_QMARK_.call(null,initch)) || (((((("+" === initch)) || (("-" === initch)))) && (cljs.tools.reader.impl.utils.numeric_QMARK_.call(null,cljs.tools.reader.reader_types.peek_char.call(null,reader)))))); +}); +/** + * Read until first character that doesn't match pred, returning + * char. + */ +cljs.tools.reader.impl.commons.read_past = (function cljs$tools$reader$impl$commons$read_past(pred,rdr){ +var ch = cljs.tools.reader.reader_types.read_char.call(null,rdr); +while(true){ +if(pred.call(null,ch)){ +var G__24316 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +ch = G__24316; +continue; +} else { +return ch; +} +break; +} +}); +/** + * Advances the reader to the end of a line. Returns the reader + */ +cljs.tools.reader.impl.commons.skip_line = (function cljs$tools$reader$impl$commons$skip_line(reader){ +while(true){ +if(cljs.tools.reader.impl.utils.newline_QMARK_.call(null,cljs.tools.reader.reader_types.read_char.call(null,reader))){ +} else { +continue; +} +break; +} + +return reader; +}); +cljs.tools.reader.impl.commons.int_pattern = /^([-+]?)(?:(0)|([1-9][0-9]*)|0[xX]([0-9A-Fa-f]+)|0([0-7]+)|([1-9][0-9]?)[rR]([0-9A-Za-z]+)|0[0-9]+)(N)?$/; +cljs.tools.reader.impl.commons.ratio_pattern = /([-+]?[0-9]+)\/([0-9]+)/; +cljs.tools.reader.impl.commons.float_pattern = /([-+]?[0-9]+(\.[0-9]*)?([eE][-+]?[0-9]+)?)(M)?/; +cljs.tools.reader.impl.commons.match_int = (function cljs$tools$reader$impl$commons$match_int(s){ +var m = cljs.core.vec.call(null,cljs.core.re_find.call(null,cljs.tools.reader.impl.commons.int_pattern,s)); +if(!((m.call(null,(2)) == null))){ +return (0); +} else { +var negate_QMARK_ = ("-" === m.call(null,(1))); +var a = ((!((m.call(null,(3)) == null)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [m.call(null,(3)),(10)], null):((!((m.call(null,(4)) == null)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [m.call(null,(4)),(16)], null):((!((m.call(null,(5)) == null)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [m.call(null,(5)),(8)], null):((!((m.call(null,(7)) == null)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [m.call(null,(7)),parseInt(m.call(null,(6)))], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null], null) +)))); +var n = a.call(null,(0)); +if((n == null)){ +return null; +} else { +var bn = parseInt(n,a.call(null,(1))); +var bn__$1 = ((negate_QMARK_)?((-1) * bn):bn); +if(cljs.core.truth_(isNaN(bn__$1))){ +return null; +} else { +return bn__$1; +} +} +} +}); +cljs.tools.reader.impl.commons.match_ratio = (function cljs$tools$reader$impl$commons$match_ratio(s){ +var m = cljs.core.vec.call(null,cljs.core.re_find.call(null,cljs.tools.reader.impl.commons.ratio_pattern,s)); +var numerator = m.call(null,(1)); +var denominator = m.call(null,(2)); +var numerator__$1 = (cljs.core.truth_(cljs.core.re_find.call(null,/^\+/,numerator))?cljs.core.subs.call(null,numerator,(1)):numerator); +return (parseInt(numerator__$1) / parseInt(denominator)); +}); +cljs.tools.reader.impl.commons.match_float = (function cljs$tools$reader$impl$commons$match_float(s){ +var m = cljs.core.vec.call(null,cljs.core.re_find.call(null,cljs.tools.reader.impl.commons.float_pattern,s)); +if(!((m.call(null,(4)) == null))){ +return parseFloat(m.call(null,(1))); +} else { +return parseFloat(s); +} +}); +cljs.tools.reader.impl.commons.matches_QMARK_ = (function cljs$tools$reader$impl$commons$matches_QMARK_(pattern,s){ +var vec__24317 = cljs.core.re_find.call(null,pattern,s); +var match = cljs.core.nth.call(null,vec__24317,(0),null); +return (match === s); +}); +cljs.tools.reader.impl.commons.match_number = (function cljs$tools$reader$impl$commons$match_number(s){ +if(cljs.tools.reader.impl.commons.matches_QMARK_.call(null,cljs.tools.reader.impl.commons.int_pattern,s)){ +return cljs.tools.reader.impl.commons.match_int.call(null,s); +} else { +if(cljs.tools.reader.impl.commons.matches_QMARK_.call(null,cljs.tools.reader.impl.commons.float_pattern,s)){ +return cljs.tools.reader.impl.commons.match_float.call(null,s); +} else { +if(cljs.tools.reader.impl.commons.matches_QMARK_.call(null,cljs.tools.reader.impl.commons.ratio_pattern,s)){ +return cljs.tools.reader.impl.commons.match_ratio.call(null,s); +} else { +return null; +} +} +} +}); +/** + * Parses a string into a vector of the namespace and symbol + */ +cljs.tools.reader.impl.commons.parse_symbol = (function cljs$tools$reader$impl$commons$parse_symbol(token){ +if(((("" === token)) || (/:$/.test(token) === true) || (/^::/.test(token) === true))){ +return null; +} else { +var ns_idx = token.indexOf("/"); +var ns = (((ns_idx > (0)))?cljs.core.subs.call(null,token,(0),ns_idx):null); +if(!((ns == null))){ +var ns_idx__$1 = (ns_idx + (1)); +if((ns_idx__$1 === cljs.core.count.call(null,token))){ +return null; +} else { +var sym = cljs.core.subs.call(null,token,ns_idx__$1); +if(((!(cljs.tools.reader.impl.utils.numeric_QMARK_.call(null,cljs.core.nth.call(null,sym,(0))))) && (!(("" === sym))) && (/:$/.test(ns) === false) && ((((sym === "/")) || (((-1) === sym.indexOf("/"))))))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ns,sym], null); +} else { +return null; +} +} +} else { +if((((token === "/")) || (((-1) === token.indexOf("/"))))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,token], null); +} else { +return null; +} +} +} +}); +cljs.tools.reader.impl.commons.read_comment = (function cljs$tools$reader$impl$commons$read_comment(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24322 = arguments.length; +var i__4500__auto___24323 = (0); +while(true){ +if((i__4500__auto___24323 < len__4499__auto___24322)){ +args__4502__auto__.push((arguments[i__4500__auto___24323])); + +var G__24324 = (i__4500__auto___24323 + (1)); +i__4500__auto___24323 = G__24324; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.tools.reader.impl.commons.read_comment.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.tools.reader.impl.commons.read_comment.cljs$core$IFn$_invoke$arity$variadic = (function (rdr,_){ +return cljs.tools.reader.impl.commons.skip_line.call(null,rdr); +}); + +cljs.tools.reader.impl.commons.read_comment.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.tools.reader.impl.commons.read_comment.cljs$lang$applyTo = (function (seq24320){ +var G__24321 = cljs.core.first.call(null,seq24320); +var seq24320__$1 = cljs.core.next.call(null,seq24320); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24321,seq24320__$1); +}); + +cljs.tools.reader.impl.commons.throwing_reader = (function cljs$tools$reader$impl$commons$throwing_reader(msg){ +return (function() { +var G__24325__delegate = function (rdr,_){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,msg); +}; +var G__24325 = function (rdr,var_args){ +var _ = null; +if (arguments.length > 1) { +var G__24326__i = 0, G__24326__a = new Array(arguments.length - 1); +while (G__24326__i < G__24326__a.length) {G__24326__a[G__24326__i] = arguments[G__24326__i + 1]; ++G__24326__i;} + _ = new cljs.core.IndexedSeq(G__24326__a,0,null); +} +return G__24325__delegate.call(this,rdr,_);}; +G__24325.cljs$lang$maxFixedArity = 1; +G__24325.cljs$lang$applyTo = (function (arglist__24327){ +var rdr = cljs.core.first(arglist__24327); +var _ = cljs.core.rest(arglist__24327); +return G__24325__delegate(rdr,_); +}); +G__24325.cljs$core$IFn$_invoke$arity$variadic = G__24325__delegate; +return G__24325; +})() +; +}); + +//# sourceMappingURL=commons.js.map?rel=1628501143042 diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/commons.js.map b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.js.map new file mode 100644 index 0000000..5c73162 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/commons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader\/impl\/commons.js","sources":["commons.cljs?rel=1628501143043"],"lineCount":193,"mappings":";AAQA;;;;;AAWA;;;uDAAA,vDAAeA,sHAEAC,OAAOC;AAFtB,AAGE,SAAI,AAACC,sDAASD,aACV,EAAK,EAAI,CAAA,QAAeA,aAAQ,CAAA,QAAgBA,eAC3C,AAACC,sDAAS,AAACC,mDAAUH;;AAEhC;;;;2CAAA,3CAAMI,8FAGHC,KAAiBC;AAHpB,AAIE,IAAOC,KAAG,AAACC,mDAAUF;;AAArB,AACE,GAAI,AAAUD,eAAKE;AACjB,eAAO,AAACC,mDAAUF;;;;AAClBC;;;;;AAEN;;;2CAAA,3CAAME,8FAEST;AAFf,AAGE;AAAA,AACE,GAAU,AAACU,sDAAS,AAACF,mDAAUR;AAA\/B;AAAA,AACE;;;;;AACJA;;AAEF,6CAAA,7CAAKW;AACL,+CAAA,\/CAAKC;AACL,+CAAA,\/CAAKC;AAEL,2CAAA,3CAAOC,8FACJC;AADH,AAEE,IAAMC,IAAE,AAACC,wBAAI,AAACC,4BAAQP,2CAAYI;AAAlC,AACE,GAAA,EAAQ,qBAAA,pBAAM,YAAA,ZAACC;AAAf;;AAEE,IA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AAAE;;AAAA,eAAA,CAAAA,wBAAA;;;;AAAA;;;;AAAA,IAAAC,uBAAA,EAAA,CAAA,MAAA,AAAAH,4BAAA,AAAA,KAAAI,qBAAA,AAAAJ,yBAAA,KAAA,IAAA,OAAA;AAAA,AAAA,OAAAK,iFAAA,CAAA,UAAA,MAAAF;;;AAAA,AAAA,AAAA,AAAAE,mFAAA,WACG3C,IAAMiD;AADT,AAEE,OAAC9C,mDAAUH;;;AAFb,AAAA,AAAA2C,sEAAA;;AAAA;AAAA,AAAA,AAAAA,gEAAA,WAAAC;AAAA,AAAA,IAAAC,WAAA,AAAAC,0BAAAF;IAAAA,eAAA,AAAAG,yBAAAH;AAAA,AAAA,IAAAI,qBAAA;AAAA,AAAA,OAAAA,wDAAAH,SAAAD;;;AAAA,AAIA,iDAAA,jDAAMM,0GACHC;AADH,AAEE;mCAAKnD,IAAMiD;AAAX,AACE,OAACG,qDAAapD,IAAImD;;yBADfnD;IAAMiD;;;;EAAAA;;oCAANjD,IAAMiD;;;IAANjD;IAAMiD;0BAANjD,IAAMiD","names":["cljs.tools.reader.impl.commons\/number-literal?","reader","initch","cljs.tools.reader.impl.utils\/numeric?","cljs.tools.reader.reader-types\/peek-char","cljs.tools.reader.impl.commons\/read-past","pred","rdr","ch","cljs.tools.reader.reader-types\/read-char","cljs.tools.reader.impl.commons\/skip-line","cljs.tools.reader.impl.utils\/newline?","cljs.tools.reader.impl.commons\/int-pattern","cljs.tools.reader.impl.commons\/ratio-pattern","cljs.tools.reader.impl.commons\/float-pattern","cljs.tools.reader.impl.commons\/match-int","s","m","cljs.core\/vec","cljs.core\/re-find","negate?","a","js\/parseInt","n","bn","js\/isNaN","cljs.tools.reader.impl.commons\/match-ratio","numerator","denominator","cljs.core\/subs","cljs.tools.reader.impl.commons\/match-float","js\/parseFloat","cljs.tools.reader.impl.commons\/matches?","pattern","vec__24317","cljs.core\/nth","match","cljs.tools.reader.impl.commons\/match-number","cljs.tools.reader.impl.commons\/parse-symbol","token","ns-idx","ns","cljs.core\/count","sym","var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.tools.reader.impl.commons\/read-comment","seq24320","G__24321","cljs.core\/first","cljs.core\/next","self__4486__auto__","_","cljs.tools.reader.impl.commons\/throwing-reader","msg","cljs.tools.reader.impl.errors\/reader-error"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs new file mode 100644 index 0000000..104e662 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs @@ -0,0 +1,253 @@ +;; Copyright (c) Russ Olsen, Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.tools.reader.impl.errors + (:require [cljs.tools.reader.reader-types :as types] + [clojure.string :as s] + [cljs.tools.reader.impl.inspect :as i])) + +(defn- ex-details + [rdr ex-type] + (let [details {:type :reader-exception + :ex-kind ex-type}] + (if (types/indexing-reader? rdr) + (assoc + details + :file (types/get-file-name rdr) + :line (types/get-line-number rdr) + :col (types/get-column-number rdr)) + details))) + +(defn- throw-ex + "Throw an ex-info error." + [rdr ex-type & msg] + (let [details (ex-details rdr ex-type) + file (:file details) + line (:line details) + col (:col details) + msg1 (if file (str file " ")) + msg2 (if line (str "[line " line ", col " col "]")) + msg3 (if (or msg1 msg2) " ") + full-msg (apply str msg1 msg2 msg3 msg)] + (throw (ex-info full-msg details)))) + +(defn reader-error + "Throws an ExceptionInfo with the given message. + If rdr is an IndexingReader, additional information about column and line number is provided" + [rdr & msgs] + (throw-ex rdr :reader-error (apply str msgs))) + +(defn illegal-arg-error + "Throws an ExceptionInfo with the given message. + If rdr is an IndexingReader, additional information about column and line number is provided" + [rdr & msgs] + (throw-ex rdr :illegal-argument (apply str msgs))) + +(defn eof-error + "Throws an ExceptionInfo with the given message. + If rdr is an IndexingReader, additional information about column and line number is provided" + [rdr & msgs] + (throw-ex rdr :eof (apply str msgs))) + +(defn throw-eof-delimited + ([rdr kind column line] (throw-eof-delimited rdr kind line column nil)) + ([rdr kind line column n] + (eof-error + rdr + "Unexpected EOF while reading " + (if n + (str "item " n " of ")) + (name kind) + (if line + (str ", starting at line " line " and column " column)) + "."))) + +(defn throw-odd-map [rdr line col elements] + (reader-error + rdr + "The map literal starting with " + (i/inspect (first elements)) + (if line (str " on line " line " column " col)) + " contains " + (count elements) + " form(s). Map literals must contain an even number of forms.")) + +(defn throw-invalid-number [rdr token] + (reader-error + rdr + "Invalid number: " + token + ".")) + +(defn throw-invalid-unicode-literal [rdr token] + (throw + (illegal-arg-error + rdr + "Invalid unicode literal: \\" + token + "."))) + +(defn throw-invalid-unicode-escape [rdr ch] + (reader-error + rdr + "Invalid unicode escape: \\u" + ch + ".")) + +(defn throw-invalid [rdr kind token] + (reader-error rdr "Invalid " (name kind) ": " token ".")) + +(defn throw-eof-at-start [rdr kind] + (eof-error rdr "Unexpected EOF while reading start of " (name kind) ".")) + +(defn throw-bad-char [rdr kind ch] + (reader-error rdr "Invalid character: " ch " found while reading " (name kind) ".")) + +(defn throw-eof-at-dispatch [rdr] + (eof-error rdr "Unexpected EOF while reading dispatch character.")) + +(defn throw-bad-dispatch [rdr ch] + (reader-error rdr "No dispatch macro for " ch ".")) + +(defn throw-unmatch-delimiter [rdr ch] + (reader-error rdr "Unmatched delimiter " ch ".")) + +(defn throw-eof-reading [rdr kind & start] + (let [init (case kind :regex "#\"" :string \")] + (eof-error rdr "Unexpected EOF reading " (name kind) " starting " (apply str init start) "."))) + +(defn throw-no-dispatch [rdr ch] + (throw-bad-dispatch rdr ch)) + +(defn throw-invalid-unicode-char[rdr token] + (reader-error + rdr + "Invalid unicode character \\" + token + ".")) + +(defn throw-invalid-unicode-digit-in-token[rdr ch token] + (illegal-arg-error + rdr + "Invalid digit " + ch + " in unicode character \\" + token + ".")) + +(defn throw-invalid-unicode-digit[rdr ch] + (illegal-arg-error + rdr + "Invalid digit " + ch + " in unicode character.")) + +(defn throw-invalid-unicode-len[rdr actual expected] + (illegal-arg-error + rdr + "Invalid unicode literal. Unicode literals should be " + expected + "characters long. " + "value suppled is " + actual + "characters long.")) + +(defn throw-invalid-character-literal[rdr token] + (reader-error rdr "Invalid character literal \\u" token ".")) + +(defn throw-invalid-octal-len[rdr token] + (reader-error + rdr + "Invalid octal escape sequence in a character literal:" + token + ". Octal escape sequences must be 3 or fewer digits.")) + +(defn throw-bad-octal-number [rdr] + (reader-error rdr "Octal escape sequence must be in range [0, 377].")) + +(defn throw-unsupported-character[rdr token] + (reader-error + rdr + "Unsupported character: " + token + ".")) + +(defn throw-eof-in-character [rdr] + (eof-error + rdr + "Unexpected EOF while reading character.")) + +(defn throw-bad-escape-char [rdr ch] + (reader-error rdr "Unsupported escape character: \\" ch ".")) + +(defn throw-single-colon [rdr] + (reader-error rdr "A single colon is not a valid keyword.")) + +(defn throw-bad-metadata [rdr x] + (reader-error + rdr + "Metadata cannot be " + (i/inspect x) + ". Metadata must be a Symbol, Keyword, String or Map.")) + +(defn throw-bad-metadata-target [rdr target] + (reader-error + rdr + "Metadata can not be applied to " + (i/inspect target) + ". " + "Metadata can only be applied to IMetas.")) + +(defn throw-feature-not-keyword [rdr feature] + (reader-error + rdr + "Feature cannot be " + (i/inspect feature) + " Features must be keywords.")) + +(defn throw-ns-map-no-map [rdr ns-name] + (reader-error rdr "Namespaced map with namespace " ns-name " does not specify a map.")) + +(defn throw-bad-ns [rdr ns-name] + (reader-error rdr "Invalid value used as namespace in namespaced map: " ns-name ".")) + +(defn throw-bad-reader-tag [rdr tag] + (reader-error + rdr + "Invalid reader tag: " + (i/inspect tag) + ". Reader tags must be symbols.")) + +(defn throw-unknown-reader-tag [rdr tag] + (reader-error + rdr + "No reader function for tag " + (i/inspect tag) + ".")) + +(defn- duplicate-keys-error [msg coll] + (letfn [(duplicates [seq] + (for [[id freq] (frequencies seq) + :when (> freq 1)] + id))] + (let [dups (duplicates coll)] + (apply str msg + (when (> (count dups) 1) "s") + ": " (interpose ", " dups))))) + +(defn throw-dup-keys [rdr kind ks] + (reader-error + rdr + (duplicate-keys-error + (str (s/capitalize (name kind)) " literal contains duplicate key") + ks))) + +(defn throw-eof-error [rdr line] + (if line + (eof-error rdr "EOF while reading, starting at line " line ".") + (eof-error rdr "EOF while reading."))) diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs.cache.json new file mode 100644 index 0000000..3f4d469 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.tools.reader.impl.errors","~:imports",null,"~:requires",["^ ","~$types","~$cljs.tools.reader.reader-types","^<","^<","~$s","~$clojure.string","^=","^=","~$i","~$cljs.tools.reader.impl.inspect","^>","^>"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$throw-bad-dispatch",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","~:line",114,"~:column",7,"~:end-line",114,"~:end-column",25,"~:arglists",["~#list",["~$quote",["^K",[["~$rdr","~$ch"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-dispatch","~:variadic",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",25,"~:method-params",["^K",[["^M","^N"]]],"~:protocol-impl",null,"~:arglists-meta",["^K",[null,null]],"^G",1,"^F",114,"^H",114,"~:max-fixed-arity",2,"~:fn-var",true,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"~$throw-invalid-unicode-escape",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",95,"^G",7,"^H",95,"^I",35,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-unicode-escape","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",35,"^Q",["^K",[["^M","^N"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",95,"^H",95,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"~$throw-dup-keys",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",243,"^G",7,"^H",243,"^I",21,"^J",["^K",["^L",["^K",[["^M","~$kind","~$ks"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-dup-keys","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",21,"^Q",["^K",[["^M","^Y","^Z"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",243,"^H",243,"^T",3,"^U",true,"^J",["^K",["^L",["^K",[["^M","^Y","^Z"]]]]]],"~$throw-bad-ns",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",216,"^G",7,"^H",216,"^I",19,"^J",["^K",["^L",["^K",[["^M","~$ns-name"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-ns","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",19,"^Q",["^K",[["^M","^11"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",216,"^H",216,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^11"]]]]]],"~$duplicate-keys-error",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",233,"^G",8,"^H",233,"^I",28,"~:private",true,"^J",["^K",["^L",["^K",[["~$msg","~$coll"]]]]]],"^14",true,"^7","~$cljs.tools.reader.impl.errors/duplicate-keys-error","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",28,"^Q",["^K",[["^15","^16"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",233,"^H",233,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^15","^16"]]]]]],"~$throw-unknown-reader-tag",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",226,"^G",7,"^H",226,"^I",31,"^J",["^K",["^L",["^K",[["^M","~$tag"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-unknown-reader-tag","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",31,"^Q",["^K",[["^M","^19"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",226,"^H",226,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^19"]]]]]],"~$throw-eof-at-dispatch",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",111,"^G",7,"^H",111,"^I",28,"^J",["^K",["^L",["^K",[["^M"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-eof-at-dispatch","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",28,"^Q",["^K",[["^M"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",111,"^H",111,"^T",1,"^U",true,"^J",["^K",["^L",["^K",[["^M"]]]]]],"~$throw-bad-metadata-target",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",198,"^G",7,"^H",198,"^I",32,"^J",["^K",["^L",["^K",[["^M","~$target"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-metadata-target","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",32,"^Q",["^K",[["^M","^1>"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",198,"^H",198,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1>"]]]]]],"~$throw-invalid-number",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",80,"^G",7,"^H",80,"^I",27,"^J",["^K",["^L",["^K",[["^M","~$token"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-number","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",27,"^Q",["^K",[["^M","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",80,"^H",80,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"~$reader-error",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",39,"^G",7,"^H",39,"^I",19,"^J",["^K",["^L",["^K",[["^M","~$&","~$msgs"]]]]],"~:doc","Throws an ExceptionInfo with the given message.\n If rdr is an IndexingReader, additional information about column and line number is provided","~:top-fn",["^ ","^P",true,"^T",1,"^Q",[["^K",["^M","^1D"]]],"^J",["^K",[["^M","~$&","^1D"]]],"^S",["^K",[null]]]],"^7","~$cljs.tools.reader.impl.errors/reader-error","^P",true,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",19,"^1F",["^ ","^P",true,"^T",1,"^Q",[["^K",["^M","^1D"]]],"^J",["^K",[["^M","~$&","^1D"]]],"^S",["^K",[null]]],"^Q",[["^K",["^M","^1D"]]],"^R",null,"^S",["^K",[null]],"^G",1,"^F",39,"^H",39,"^T",1,"^U",true,"^J",["^K",[["^M","~$&","^1D"]]],"^1E","Throws an ExceptionInfo with the given message.\n If rdr is an IndexingReader, additional information about column and line number is provided"],"~$throw-invalid-unicode-literal",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",87,"^G",7,"^H",87,"^I",36,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-unicode-literal","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",36,"^Q",["^K",[["^M","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",87,"^H",87,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"~$throw-ns-map-no-map",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",213,"^G",7,"^H",213,"^I",26,"^J",["^K",["^L",["^K",[["^M","^11"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-ns-map-no-map","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",26,"^Q",["^K",[["^M","^11"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",213,"^H",213,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^11"]]]]]],"~$throw-unsupported-character",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",173,"^G",7,"^H",173,"^I",34,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-unsupported-character","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",34,"^Q",["^K",[["^M","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",173,"^H",173,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"~$throw-feature-not-keyword",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",206,"^G",7,"^H",206,"^I",32,"^J",["^K",["^L",["^K",[["^M","~$feature"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-feature-not-keyword","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",32,"^Q",["^K",[["^M","^1O"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",206,"^H",206,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1O"]]]]]],"~$throw-eof-delimited",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",57,"^G",7,"^H",57,"^I",26,"^J",["^K",["^L",["^K",[["^M","^Y","~$column","~$line"],["^M","^Y","^1S","^1R","~$n"]]]]],"^1F",["^ ","^P",false,"^T",5,"^Q",["^K",[["^M","^Y","^1R","^1S"],["^M","^Y","^1S","^1R","~$n"]]],"^J",["^K",[["^M","^Y","^1R","^1S"],["^M","^Y","^1S","^1R","~$n"]]],"^S",["^K",[null,null]]]],"^7","~$cljs.tools.reader.impl.errors/throw-eof-delimited","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",26,"^1F",["^ ","^P",false,"^T",5,"^Q",["^K",[["^M","^Y","^1R","^1S"],["^M","^Y","^1S","^1R","~$n"]]],"^J",["^K",[["^M","^Y","^1R","^1S"],["^M","^Y","^1S","^1R","~$n"]]],"^S",["^K",[null,null]]],"^Q",["^K",[["^M","^Y","^1R","^1S"],["^M","^Y","^1S","^1R","~$n"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",57,"^H",57,"^T",5,"^U",true,"^J",["^K",[["^M","^Y","^1R","^1S"],["^M","^Y","^1S","^1R","~$n"]]]],"~$throw-eof-in-character",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",180,"^G",7,"^H",180,"^I",29,"^J",["^K",["^L",["^K",[["^M"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-eof-in-character","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",29,"^Q",["^K",[["^M"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",180,"^H",180,"^T",1,"^U",true,"^J",["^K",["^L",["^K",[["^M"]]]]]],"~$throw-bad-char",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",108,"^G",7,"^H",108,"^I",21,"^J",["^K",["^L",["^K",[["^M","^Y","^N"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-char","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",21,"^Q",["^K",[["^M","^Y","^N"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",108,"^H",108,"^T",3,"^U",true,"^J",["^K",["^L",["^K",[["^M","^Y","^N"]]]]]],"~$eof-error",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",51,"^G",7,"^H",51,"^I",16,"^J",["^K",["^L",["^K",[["^M","~$&","^1D"]]]]],"^1E","Throws an ExceptionInfo with the given message.\n If rdr is an IndexingReader, additional information about column and line number is provided","^1F",["^ ","^P",true,"^T",1,"^Q",[["^K",["^M","^1D"]]],"^J",["^K",[["^M","~$&","^1D"]]],"^S",["^K",[null]]]],"^7","~$cljs.tools.reader.impl.errors/eof-error","^P",true,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",16,"^1F",["^ ","^P",true,"^T",1,"^Q",[["^K",["^M","^1D"]]],"^J",["^K",[["^M","~$&","^1D"]]],"^S",["^K",[null]]],"^Q",[["^K",["^M","^1D"]]],"^R",null,"^S",["^K",[null]],"^G",1,"^F",51,"^H",51,"^T",1,"^U",true,"^J",["^K",[["^M","~$&","^1D"]]],"^1E","Throws an ExceptionInfo with the given message.\n If rdr is an IndexingReader, additional information about column and line number is provided"],"~$throw-bad-metadata",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",191,"^G",7,"^H",191,"^I",25,"^J",["^K",["^L",["^K",[["^M","~$x"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-metadata","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",25,"^Q",["^K",[["^M","~$x"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",191,"^H",191,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","~$x"]]]]]],"~$throw-eof-reading",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",120,"^G",7,"^H",120,"^I",24,"^J",["^K",["^L",["^K",[["^M","^Y","~$&","~$start"]]]]],"^1F",["^ ","^P",true,"^T",2,"^Q",[["^K",["^M","^Y","^22"]]],"^J",["^K",[["^M","^Y","~$&","^22"]]],"^S",["^K",[null]]]],"^7","~$cljs.tools.reader.impl.errors/throw-eof-reading","^P",true,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",24,"^1F",["^ ","^P",true,"^T",2,"^Q",[["^K",["^M","^Y","^22"]]],"^J",["^K",[["^M","^Y","~$&","^22"]]],"^S",["^K",[null]]],"^Q",[["^K",["^M","^Y","^22"]]],"^R",null,"^S",["^K",[null]],"^G",1,"^F",120,"^H",120,"^T",2,"^U",true,"^J",["^K",[["^M","^Y","~$&","^22"]]]],"~$throw-eof-error",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",250,"^G",7,"^H",250,"^I",22,"^J",["^K",["^L",["^K",[["^M","^1S"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-eof-error","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",22,"^Q",["^K",[["^M","^1S"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",250,"^H",250,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1S"]]]]]],"~$illegal-arg-error",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",45,"^G",7,"^H",45,"^I",24,"^J",["^K",["^L",["^K",[["^M","~$&","^1D"]]]]],"^1E","Throws an ExceptionInfo with the given message.\n If rdr is an IndexingReader, additional information about column and line number is provided","^1F",["^ ","^P",true,"^T",1,"^Q",[["^K",["^M","^1D"]]],"^J",["^K",[["^M","~$&","^1D"]]],"^S",["^K",[null]]]],"^7","~$cljs.tools.reader.impl.errors/illegal-arg-error","^P",true,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",24,"^1F",["^ ","^P",true,"^T",1,"^Q",[["^K",["^M","^1D"]]],"^J",["^K",[["^M","~$&","^1D"]]],"^S",["^K",[null]]],"^Q",[["^K",["^M","^1D"]]],"^R",null,"^S",["^K",[null]],"^G",1,"^F",45,"^H",45,"^T",1,"^U",true,"^J",["^K",[["^M","~$&","^1D"]]],"^1E","Throws an ExceptionInfo with the given message.\n If rdr is an IndexingReader, additional information about column and line number is provided"],"~$throw-invalid-octal-len",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",163,"^G",7,"^H",163,"^I",30,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-octal-len","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",30,"^Q",["^K",[["^M","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",163,"^H",163,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"~$throw-invalid-unicode-digit",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",143,"^G",7,"^H",143,"^I",34,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-unicode-digit","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",34,"^Q",["^K",[["^M","^N"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",143,"^H",143,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"~$throw-invalid-unicode-digit-in-token",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",134,"^G",7,"^H",134,"^I",43,"^J",["^K",["^L",["^K",[["^M","^N","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-unicode-digit-in-token","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",43,"^Q",["^K",[["^M","^N","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",134,"^H",134,"^T",3,"^U",true,"^J",["^K",["^L",["^K",[["^M","^N","^1A"]]]]]],"~$throw-invalid-unicode-len",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",150,"^G",7,"^H",150,"^I",32,"^J",["^K",["^L",["^K",[["^M","~$actual","~$expected"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-unicode-len","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",32,"^Q",["^K",[["^M","^2?","^2@"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",150,"^H",150,"^T",3,"^U",true,"^J",["^K",["^L",["^K",[["^M","^2?","^2@"]]]]]],"~$throw-single-colon",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",188,"^G",7,"^H",188,"^I",25,"^J",["^K",["^L",["^K",[["^M"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-single-colon","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",25,"^Q",["^K",[["^M"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",188,"^H",188,"^T",1,"^U",true,"^J",["^K",["^L",["^K",[["^M"]]]]]],"~$throw-odd-map",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",70,"^G",7,"^H",70,"^I",20,"^J",["^K",["^L",["^K",[["^M","^1S","~$col","~$elements"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-odd-map","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",20,"^Q",["^K",[["^M","^1S","^2E","^2F"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",70,"^H",70,"^T",4,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1S","^2E","^2F"]]]]]],"~$throw-bad-octal-number",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",170,"^G",7,"^H",170,"^I",29,"^J",["^K",["^L",["^K",[["^M"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-octal-number","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",29,"^Q",["^K",[["^M"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",170,"^H",170,"^T",1,"^U",true,"^J",["^K",["^L",["^K",[["^M"]]]]]],"~$throw-bad-reader-tag",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",219,"^G",7,"^H",219,"^I",27,"^J",["^K",["^L",["^K",[["^M","^19"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-reader-tag","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",27,"^Q",["^K",[["^M","^19"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",219,"^H",219,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^19"]]]]]],"~$throw-unmatch-delimiter",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",117,"^G",7,"^H",117,"^I",30,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-unmatch-delimiter","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",30,"^Q",["^K",[["^M","^N"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",117,"^H",117,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"~$throw-invalid-character-literal",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",160,"^G",7,"^H",160,"^I",38,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-character-literal","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",38,"^Q",["^K",[["^M","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",160,"^H",160,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"~$throw-invalid-unicode-char",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",127,"^G",7,"^H",127,"^I",33,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid-unicode-char","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",33,"^Q",["^K",[["^M","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",127,"^H",127,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^1A"]]]]]],"~$throw-bad-escape-char",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",185,"^G",7,"^H",185,"^I",28,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-bad-escape-char","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",28,"^Q",["^K",[["^M","^N"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",185,"^H",185,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"~$throw-no-dispatch",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",124,"^G",7,"^H",124,"^I",24,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-no-dispatch","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",24,"^Q",["^K",[["^M","^N"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",124,"^H",124,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^N"]]]]]],"~$throw-eof-at-start",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",105,"^G",7,"^H",105,"^I",25,"^J",["^K",["^L",["^K",[["^M","^Y"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-eof-at-start","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",25,"^Q",["^K",[["^M","^Y"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",105,"^H",105,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^Y"]]]]]],"~$ex-details",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",14,"^G",8,"^H",14,"^I",18,"^14",true,"^J",["^K",["^L",["^K",[["^M","~$ex-type"]]]]]],"^14",true,"^7","~$cljs.tools.reader.impl.errors/ex-details","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",18,"^Q",["^K",[["^M","^2Y"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",14,"^H",14,"^T",2,"^U",true,"^J",["^K",["^L",["^K",[["^M","^2Y"]]]]]],"~$throw-ex",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",26,"^G",8,"^H",26,"^I",16,"^14",true,"^J",["^K",["^L",["^K",[["^M","^2Y","~$&","^15"]]]]],"^1E","Throw an ex-info error.","^1F",["^ ","^P",true,"^T",2,"^Q",[["^K",["^M","^2Y","^15"]]],"^J",["^K",[["^M","^2Y","~$&","^15"]]],"^S",["^K",[null]]]],"^14",true,"^7","~$cljs.tools.reader.impl.errors/throw-ex","^P",true,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",16,"^1F",["^ ","^P",true,"^T",2,"^Q",[["^K",["^M","^2Y","^15"]]],"^J",["^K",[["^M","^2Y","~$&","^15"]]],"^S",["^K",[null]]],"^Q",[["^K",["^M","^2Y","^15"]]],"^R",null,"^S",["^K",[null]],"^G",1,"^F",26,"^H",26,"^T",2,"^U",true,"^J",["^K",[["^M","^2Y","~$&","^15"]]],"^1E","Throw an ex-info error."],"~$throw-invalid",["^ ","^C",null,"^D",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^F",102,"^G",7,"^H",102,"^I",20,"^J",["^K",["^L",["^K",[["^M","^Y","^1A"]]]]]],"^7","~$cljs.tools.reader.impl.errors/throw-invalid","^P",false,"^E","resources/public/js/out/cljs/tools/reader/impl/errors.cljs","^I",20,"^Q",["^K",[["^M","^Y","^1A"]]],"^R",null,"^S",["^K",[null,null]],"^G",1,"^F",102,"^H",102,"^T",3,"^U",true,"^J",["^K",["^L",["^K",[["^M","^Y","^1A"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^6",["~:ex-kind","~:reader-error","~:reader-exception","^E","~:type","~:illegal-argument","^F","~:col","~:eof"]],"~:order",["^3:","^37","^39","^E","^F","^3<","^38","^3;","^3="]],"^1E",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/errors.js b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.js new file mode 100644 index 0000000..475c7ae --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.js @@ -0,0 +1,423 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader.impl.errors'); +goog.require('cljs.core'); +goog.require('cljs.tools.reader.reader_types'); +goog.require('clojure.string'); +goog.require('cljs.tools.reader.impl.inspect'); +cljs.tools.reader.impl.errors.ex_details = (function cljs$tools$reader$impl$errors$ex_details(rdr,ex_type){ +var details = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098),new cljs.core.Keyword(null,"ex-kind","ex-kind",1581199296),ex_type], null); +if(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,rdr))){ +return cljs.core.assoc.call(null,details,new cljs.core.Keyword(null,"file","file",-1269645878),cljs.tools.reader.reader_types.get_file_name.call(null,rdr),new cljs.core.Keyword(null,"line","line",212345235),cljs.tools.reader.reader_types.get_line_number.call(null,rdr),new cljs.core.Keyword(null,"col","col",-1959363084),cljs.tools.reader.reader_types.get_column_number.call(null,rdr)); +} else { +return details; +} +}); +/** + * Throw an ex-info error. + */ +cljs.tools.reader.impl.errors.throw_ex = (function cljs$tools$reader$impl$errors$throw_ex(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24262 = arguments.length; +var i__4500__auto___24263 = (0); +while(true){ +if((i__4500__auto___24263 < len__4499__auto___24262)){ +args__4502__auto__.push((arguments[i__4500__auto___24263])); + +var G__24264 = (i__4500__auto___24263 + (1)); +i__4500__auto___24263 = G__24264; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return cljs.tools.reader.impl.errors.throw_ex.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +cljs.tools.reader.impl.errors.throw_ex.cljs$core$IFn$_invoke$arity$variadic = (function (rdr,ex_type,msg){ +var details = cljs.tools.reader.impl.errors.ex_details.call(null,rdr,ex_type); +var file = new cljs.core.Keyword(null,"file","file",-1269645878).cljs$core$IFn$_invoke$arity$1(details); +var line = new cljs.core.Keyword(null,"line","line",212345235).cljs$core$IFn$_invoke$arity$1(details); +var col = new cljs.core.Keyword(null,"col","col",-1959363084).cljs$core$IFn$_invoke$arity$1(details); +var msg1 = (cljs.core.truth_(file)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)," "].join(''):null); +var msg2 = (cljs.core.truth_(line)?["[line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line),", col ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(col),"]"].join(''):null); +var msg3 = (cljs.core.truth_((function (){var or__3922__auto__ = msg1; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return msg2; +} +})())?" ":null); +var full_msg = cljs.core.apply.call(null,cljs.core.str,msg1,msg2,msg3,msg); +throw cljs.core.ex_info.call(null,full_msg,details); +}); + +cljs.tools.reader.impl.errors.throw_ex.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +cljs.tools.reader.impl.errors.throw_ex.cljs$lang$applyTo = (function (seq24259){ +var G__24260 = cljs.core.first.call(null,seq24259); +var seq24259__$1 = cljs.core.next.call(null,seq24259); +var G__24261 = cljs.core.first.call(null,seq24259__$1); +var seq24259__$2 = cljs.core.next.call(null,seq24259__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24260,G__24261,seq24259__$2); +}); + +/** + * Throws an ExceptionInfo with the given message. + * If rdr is an IndexingReader, additional information about column and line number is provided + */ +cljs.tools.reader.impl.errors.reader_error = (function cljs$tools$reader$impl$errors$reader_error(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24267 = arguments.length; +var i__4500__auto___24268 = (0); +while(true){ +if((i__4500__auto___24268 < len__4499__auto___24267)){ +args__4502__auto__.push((arguments[i__4500__auto___24268])); + +var G__24269 = (i__4500__auto___24268 + (1)); +i__4500__auto___24268 = G__24269; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.tools.reader.impl.errors.reader_error.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.tools.reader.impl.errors.reader_error.cljs$core$IFn$_invoke$arity$variadic = (function (rdr,msgs){ +return cljs.tools.reader.impl.errors.throw_ex.call(null,rdr,new cljs.core.Keyword(null,"reader-error","reader-error",1610253121),cljs.core.apply.call(null,cljs.core.str,msgs)); +}); + +cljs.tools.reader.impl.errors.reader_error.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.tools.reader.impl.errors.reader_error.cljs$lang$applyTo = (function (seq24265){ +var G__24266 = cljs.core.first.call(null,seq24265); +var seq24265__$1 = cljs.core.next.call(null,seq24265); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24266,seq24265__$1); +}); + +/** + * Throws an ExceptionInfo with the given message. + * If rdr is an IndexingReader, additional information about column and line number is provided + */ +cljs.tools.reader.impl.errors.illegal_arg_error = (function cljs$tools$reader$impl$errors$illegal_arg_error(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24272 = arguments.length; +var i__4500__auto___24273 = (0); +while(true){ +if((i__4500__auto___24273 < len__4499__auto___24272)){ +args__4502__auto__.push((arguments[i__4500__auto___24273])); + +var G__24274 = (i__4500__auto___24273 + (1)); +i__4500__auto___24273 = G__24274; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.tools.reader.impl.errors.illegal_arg_error.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.tools.reader.impl.errors.illegal_arg_error.cljs$core$IFn$_invoke$arity$variadic = (function (rdr,msgs){ +return cljs.tools.reader.impl.errors.throw_ex.call(null,rdr,new cljs.core.Keyword(null,"illegal-argument","illegal-argument",-1845493170),cljs.core.apply.call(null,cljs.core.str,msgs)); +}); + +cljs.tools.reader.impl.errors.illegal_arg_error.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.tools.reader.impl.errors.illegal_arg_error.cljs$lang$applyTo = (function (seq24270){ +var G__24271 = cljs.core.first.call(null,seq24270); +var seq24270__$1 = cljs.core.next.call(null,seq24270); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24271,seq24270__$1); +}); + +/** + * Throws an ExceptionInfo with the given message. + * If rdr is an IndexingReader, additional information about column and line number is provided + */ +cljs.tools.reader.impl.errors.eof_error = (function cljs$tools$reader$impl$errors$eof_error(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24277 = arguments.length; +var i__4500__auto___24278 = (0); +while(true){ +if((i__4500__auto___24278 < len__4499__auto___24277)){ +args__4502__auto__.push((arguments[i__4500__auto___24278])); + +var G__24279 = (i__4500__auto___24278 + (1)); +i__4500__auto___24278 = G__24279; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((1)),(0),null)):null); +return cljs.tools.reader.impl.errors.eof_error.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); +}); + +cljs.tools.reader.impl.errors.eof_error.cljs$core$IFn$_invoke$arity$variadic = (function (rdr,msgs){ +return cljs.tools.reader.impl.errors.throw_ex.call(null,rdr,new cljs.core.Keyword(null,"eof","eof",-489063237),cljs.core.apply.call(null,cljs.core.str,msgs)); +}); + +cljs.tools.reader.impl.errors.eof_error.cljs$lang$maxFixedArity = (1); + +/** @this {Function} */ +cljs.tools.reader.impl.errors.eof_error.cljs$lang$applyTo = (function (seq24275){ +var G__24276 = cljs.core.first.call(null,seq24275); +var seq24275__$1 = cljs.core.next.call(null,seq24275); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24276,seq24275__$1); +}); + +cljs.tools.reader.impl.errors.throw_eof_delimited = (function cljs$tools$reader$impl$errors$throw_eof_delimited(var_args){ +var G__24281 = arguments.length; +switch (G__24281) { +case 4: +return cljs.tools.reader.impl.errors.throw_eof_delimited.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.tools.reader.impl.errors.throw_eof_delimited.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.tools.reader.impl.errors.throw_eof_delimited.cljs$core$IFn$_invoke$arity$4 = (function (rdr,kind,column,line){ +return cljs.tools.reader.impl.errors.throw_eof_delimited.call(null,rdr,kind,line,column,null); +}); + +cljs.tools.reader.impl.errors.throw_eof_delimited.cljs$core$IFn$_invoke$arity$5 = (function (rdr,kind,line,column,n){ +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"Unexpected EOF while reading ",(cljs.core.truth_(n)?["item ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," of "].join(''):null),cljs.core.name.call(null,kind),(cljs.core.truth_(line)?[", starting at line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)," and column ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(column)].join(''):null),"."); +}); + +cljs.tools.reader.impl.errors.throw_eof_delimited.cljs$lang$maxFixedArity = 5; + +cljs.tools.reader.impl.errors.throw_odd_map = (function cljs$tools$reader$impl$errors$throw_odd_map(rdr,line,col,elements){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"The map literal starting with ",cljs.tools.reader.impl.inspect.inspect.call(null,cljs.core.first.call(null,elements)),(cljs.core.truth_(line)?[" on line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)," column ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(col)].join(''):null)," contains ",cljs.core.count.call(null,elements)," form(s). Map literals must contain an even number of forms."); +}); +cljs.tools.reader.impl.errors.throw_invalid_number = (function cljs$tools$reader$impl$errors$throw_invalid_number(rdr,token){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid number: ",token,"."); +}); +cljs.tools.reader.impl.errors.throw_invalid_unicode_literal = (function cljs$tools$reader$impl$errors$throw_invalid_unicode_literal(rdr,token){ +throw cljs.tools.reader.impl.errors.illegal_arg_error.call(null,rdr,"Invalid unicode literal: \\",token,"."); +}); +cljs.tools.reader.impl.errors.throw_invalid_unicode_escape = (function cljs$tools$reader$impl$errors$throw_invalid_unicode_escape(rdr,ch){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid unicode escape: \\u",ch,"."); +}); +cljs.tools.reader.impl.errors.throw_invalid = (function cljs$tools$reader$impl$errors$throw_invalid(rdr,kind,token){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid ",cljs.core.name.call(null,kind),": ",token,"."); +}); +cljs.tools.reader.impl.errors.throw_eof_at_start = (function cljs$tools$reader$impl$errors$throw_eof_at_start(rdr,kind){ +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"Unexpected EOF while reading start of ",cljs.core.name.call(null,kind),"."); +}); +cljs.tools.reader.impl.errors.throw_bad_char = (function cljs$tools$reader$impl$errors$throw_bad_char(rdr,kind,ch){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid character: ",ch," found while reading ",cljs.core.name.call(null,kind),"."); +}); +cljs.tools.reader.impl.errors.throw_eof_at_dispatch = (function cljs$tools$reader$impl$errors$throw_eof_at_dispatch(rdr){ +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"Unexpected EOF while reading dispatch character."); +}); +cljs.tools.reader.impl.errors.throw_bad_dispatch = (function cljs$tools$reader$impl$errors$throw_bad_dispatch(rdr,ch){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"No dispatch macro for ",ch,"."); +}); +cljs.tools.reader.impl.errors.throw_unmatch_delimiter = (function cljs$tools$reader$impl$errors$throw_unmatch_delimiter(rdr,ch){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Unmatched delimiter ",ch,"."); +}); +cljs.tools.reader.impl.errors.throw_eof_reading = (function cljs$tools$reader$impl$errors$throw_eof_reading(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24287 = arguments.length; +var i__4500__auto___24288 = (0); +while(true){ +if((i__4500__auto___24288 < len__4499__auto___24287)){ +args__4502__auto__.push((arguments[i__4500__auto___24288])); + +var G__24289 = (i__4500__auto___24288 + (1)); +i__4500__auto___24288 = G__24289; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return cljs.tools.reader.impl.errors.throw_eof_reading.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +cljs.tools.reader.impl.errors.throw_eof_reading.cljs$core$IFn$_invoke$arity$variadic = (function (rdr,kind,start){ +var init = (function (){var G__24286 = kind; +var G__24286__$1 = (((G__24286 instanceof cljs.core.Keyword))?G__24286.fqn:null); +switch (G__24286__$1) { +case "regex": +return "#\""; + +break; +case "string": +return "\""; + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__24286__$1)].join(''))); + +} +})(); +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"Unexpected EOF reading ",cljs.core.name.call(null,kind)," starting ",cljs.core.apply.call(null,cljs.core.str,init,start),"."); +}); + +cljs.tools.reader.impl.errors.throw_eof_reading.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +cljs.tools.reader.impl.errors.throw_eof_reading.cljs$lang$applyTo = (function (seq24283){ +var G__24284 = cljs.core.first.call(null,seq24283); +var seq24283__$1 = cljs.core.next.call(null,seq24283); +var G__24285 = cljs.core.first.call(null,seq24283__$1); +var seq24283__$2 = cljs.core.next.call(null,seq24283__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24284,G__24285,seq24283__$2); +}); + +cljs.tools.reader.impl.errors.throw_no_dispatch = (function cljs$tools$reader$impl$errors$throw_no_dispatch(rdr,ch){ +return cljs.tools.reader.impl.errors.throw_bad_dispatch.call(null,rdr,ch); +}); +cljs.tools.reader.impl.errors.throw_invalid_unicode_char = (function cljs$tools$reader$impl$errors$throw_invalid_unicode_char(rdr,token){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid unicode character \\",token,"."); +}); +cljs.tools.reader.impl.errors.throw_invalid_unicode_digit_in_token = (function cljs$tools$reader$impl$errors$throw_invalid_unicode_digit_in_token(rdr,ch,token){ +return cljs.tools.reader.impl.errors.illegal_arg_error.call(null,rdr,"Invalid digit ",ch," in unicode character \\",token,"."); +}); +cljs.tools.reader.impl.errors.throw_invalid_unicode_digit = (function cljs$tools$reader$impl$errors$throw_invalid_unicode_digit(rdr,ch){ +return cljs.tools.reader.impl.errors.illegal_arg_error.call(null,rdr,"Invalid digit ",ch," in unicode character."); +}); +cljs.tools.reader.impl.errors.throw_invalid_unicode_len = (function cljs$tools$reader$impl$errors$throw_invalid_unicode_len(rdr,actual,expected){ +return cljs.tools.reader.impl.errors.illegal_arg_error.call(null,rdr,"Invalid unicode literal. Unicode literals should be ",expected,"characters long. ","value suppled is ",actual,"characters long."); +}); +cljs.tools.reader.impl.errors.throw_invalid_character_literal = (function cljs$tools$reader$impl$errors$throw_invalid_character_literal(rdr,token){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid character literal \\u",token,"."); +}); +cljs.tools.reader.impl.errors.throw_invalid_octal_len = (function cljs$tools$reader$impl$errors$throw_invalid_octal_len(rdr,token){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid octal escape sequence in a character literal:",token,". Octal escape sequences must be 3 or fewer digits."); +}); +cljs.tools.reader.impl.errors.throw_bad_octal_number = (function cljs$tools$reader$impl$errors$throw_bad_octal_number(rdr){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Octal escape sequence must be in range [0, 377]."); +}); +cljs.tools.reader.impl.errors.throw_unsupported_character = (function cljs$tools$reader$impl$errors$throw_unsupported_character(rdr,token){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Unsupported character: ",token,"."); +}); +cljs.tools.reader.impl.errors.throw_eof_in_character = (function cljs$tools$reader$impl$errors$throw_eof_in_character(rdr){ +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"Unexpected EOF while reading character."); +}); +cljs.tools.reader.impl.errors.throw_bad_escape_char = (function cljs$tools$reader$impl$errors$throw_bad_escape_char(rdr,ch){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Unsupported escape character: \\",ch,"."); +}); +cljs.tools.reader.impl.errors.throw_single_colon = (function cljs$tools$reader$impl$errors$throw_single_colon(rdr){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"A single colon is not a valid keyword."); +}); +cljs.tools.reader.impl.errors.throw_bad_metadata = (function cljs$tools$reader$impl$errors$throw_bad_metadata(rdr,x){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Metadata cannot be ",cljs.tools.reader.impl.inspect.inspect.call(null,x),". Metadata must be a Symbol, Keyword, String or Map."); +}); +cljs.tools.reader.impl.errors.throw_bad_metadata_target = (function cljs$tools$reader$impl$errors$throw_bad_metadata_target(rdr,target){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Metadata can not be applied to ",cljs.tools.reader.impl.inspect.inspect.call(null,target),". ","Metadata can only be applied to IMetas."); +}); +cljs.tools.reader.impl.errors.throw_feature_not_keyword = (function cljs$tools$reader$impl$errors$throw_feature_not_keyword(rdr,feature){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Feature cannot be ",cljs.tools.reader.impl.inspect.inspect.call(null,feature)," Features must be keywords."); +}); +cljs.tools.reader.impl.errors.throw_ns_map_no_map = (function cljs$tools$reader$impl$errors$throw_ns_map_no_map(rdr,ns_name){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Namespaced map with namespace ",ns_name," does not specify a map."); +}); +cljs.tools.reader.impl.errors.throw_bad_ns = (function cljs$tools$reader$impl$errors$throw_bad_ns(rdr,ns_name){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid value used as namespace in namespaced map: ",ns_name,"."); +}); +cljs.tools.reader.impl.errors.throw_bad_reader_tag = (function cljs$tools$reader$impl$errors$throw_bad_reader_tag(rdr,tag){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"Invalid reader tag: ",cljs.tools.reader.impl.inspect.inspect.call(null,tag),". Reader tags must be symbols."); +}); +cljs.tools.reader.impl.errors.throw_unknown_reader_tag = (function cljs$tools$reader$impl$errors$throw_unknown_reader_tag(rdr,tag){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,"No reader function for tag ",cljs.tools.reader.impl.inspect.inspect.call(null,tag),"."); +}); +cljs.tools.reader.impl.errors.duplicate_keys_error = (function cljs$tools$reader$impl$errors$duplicate_keys_error(msg,coll){ +var duplicates = (function cljs$tools$reader$impl$errors$duplicate_keys_error_$_duplicates(seq){ +var iter__4292__auto__ = (function cljs$tools$reader$impl$errors$duplicate_keys_error_$_duplicates_$_iter__24301(s__24302){ +return (new cljs.core.LazySeq(null,(function (){ +var s__24302__$1 = s__24302; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__24302__$1); +if(temp__4657__auto__){ +var s__24302__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__24302__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__24302__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__24304 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__24303 = (0); +while(true){ +if((i__24303 < size__4291__auto__)){ +var vec__24305 = cljs.core._nth.call(null,c__4290__auto__,i__24303); +var id = cljs.core.nth.call(null,vec__24305,(0),null); +var freq = cljs.core.nth.call(null,vec__24305,(1),null); +if((freq > (1))){ +cljs.core.chunk_append.call(null,b__24304,id); + +var G__24311 = (i__24303 + (1)); +i__24303 = G__24311; +continue; +} else { +var G__24312 = (i__24303 + (1)); +i__24303 = G__24312; +continue; +} +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24304),cljs$tools$reader$impl$errors$duplicate_keys_error_$_duplicates_$_iter__24301.call(null,cljs.core.chunk_rest.call(null,s__24302__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24304),null); +} +} else { +var vec__24308 = cljs.core.first.call(null,s__24302__$2); +var id = cljs.core.nth.call(null,vec__24308,(0),null); +var freq = cljs.core.nth.call(null,vec__24308,(1),null); +if((freq > (1))){ +return cljs.core.cons.call(null,id,cljs$tools$reader$impl$errors$duplicate_keys_error_$_duplicates_$_iter__24301.call(null,cljs.core.rest.call(null,s__24302__$2))); +} else { +var G__24313 = cljs.core.rest.call(null,s__24302__$2); +s__24302__$1 = G__24313; +continue; +} +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,cljs.core.frequencies.call(null,seq)); +}); +var dups = duplicates.call(null,coll); +return cljs.core.apply.call(null,cljs.core.str,msg,(((cljs.core.count.call(null,dups) > (1)))?"s":null),": ",cljs.core.interpose.call(null,", ",dups)); +}); +cljs.tools.reader.impl.errors.throw_dup_keys = (function cljs$tools$reader$impl$errors$throw_dup_keys(rdr,kind,ks){ +return cljs.tools.reader.impl.errors.reader_error.call(null,rdr,cljs.tools.reader.impl.errors.duplicate_keys_error.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.capitalize.call(null,cljs.core.name.call(null,kind)))," literal contains duplicate key"].join(''),ks)); +}); +cljs.tools.reader.impl.errors.throw_eof_error = (function cljs$tools$reader$impl$errors$throw_eof_error(rdr,line){ +if(cljs.core.truth_(line)){ +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"EOF while reading, starting at line ",line,"."); +} else { +return cljs.tools.reader.impl.errors.eof_error.call(null,rdr,"EOF while reading."); +} +}); + +//# sourceMappingURL=errors.js.map?rel=1628501142979 diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/errors.js.map b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.js.map new file mode 100644 index 0000000..d3c92f7 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/errors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader\/impl\/errors.js","sources":["errors.cljs?rel=1628501142982"],"lineCount":423,"mappings":";AAQA;;;;;AAKA,2CAAA,3CAAOA,8FACJC,IAAIC;AADP,AAEE,cAAA,2CAAA,qDAAA,8EAAA,xLAAMC,mPACkBD;AADxB,AAEE,oBAAI,AAACE,gEAAuBH;AAC1B,yCAAA,kHAAA,kHAAA,tQAACI,0BACAF,8DACM,AAACG,uDAAoBL,yDACrB,AAACM,yDAAsBN,yDACxB,AAACO,2DAAwBP;;AAC\/BE;;;AAEN,AAAA;;;yCAAA,iDAAAM,1FAAOM;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,4EAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAAF;;;AAAA,AAAA,AAAA,AAAAE,8EAAA,WAEGd,IAAIC,QAAUoB;AAFjB,AAGE,IAAMnB,UAAQ,AAACH,mDAAWC,IAAIC;IACxBqB,OAAK,AAAA,oFAAOpB;IACZqB,OAAK,AAAA,kFAAOrB;IACZsB,MAAI,AAAA,kFAAMtB;IACVuB,OAAK,yFAAA,vEAAIH,MAAK,mDAAA,NAAKA;IACnBI,OAAK,4JAAA,1IAAIH,MAAK,CAAA,2DAAA,0DAAA,hEAAcA,2DAAcC;IAC1CG,OAAK,kBAAI,iBAAAC,mBAAIH;AAAJ,AAAA,oBAAAG;AAAAA;;AAASF;;M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IE,IAAM0B,OAAK,AAACC,qBAAW5B;AAAvB,AACE,wGAAA,jGAACtE,0BAAMC,cAAIV,IACJ,2CAAA,AAAA,IAAA,7CAAM,mCAAA,lCAAG,AAACgC,0BAAM0E,6BACX,8BAAA,9BAACE,mCAAeF;;AAElC,+CAAA,\/CAAMG,sGAAgBlI,IAAI8C,KAAKqF;AAA\/B,AACE,OAAClG,qDACAjC,IACA,AAACmG,6DACA,kHAAA,rEAAK,AAACiC,oCAAa,AAACnF,yBAAKH,oDACzBqF;;AAEJ,gDAAA,hDAAME,wGAAiBrI,IAAIuB;AAA3B,AACE,oBAAIA;AACF,6DAAA,4CAAA,lGAACiB,kDAAUxC,2CAA2CuB;;AACtD,6DAAA,tDAACiB,kDAAUxC","names":["cljs.tools.reader.impl.errors\/ex-details","rdr","ex-type","details","cljs.tools.reader.reader-types\/indexing-reader?","cljs.core\/assoc","cljs.tools.reader.reader-types\/get-file-name","cljs.tools.reader.reader-types\/get-line-number","cljs.tools.reader.reader-types\/get-column-number","var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","cljs.tools.reader.impl.errors\/throw-ex","seq24259","G__24260","cljs.core\/first","cljs.core\/next","G__24261","self__4486__auto__","msg","file","line","col","msg1","msg2","msg3","or__3922__auto__","full-msg","cljs.core\/apply","cljs.core\/str","cljs.core\/ex-info","cljs.tools.reader.impl.errors\/reader-error","seq24265","G__24266","msgs","cljs.tools.reader.impl.errors\/illegal-arg-error","seq24270","G__24271","cljs.tools.reader.impl.errors\/eof-error","seq24275","G__24276","G__24281","cljs.tools.reader.impl.errors\/throw-eof-delimited","js\/Error","kind","column","n","cljs.core\/name","cljs.tools.reader.impl.errors\/throw-odd-map","elements","cljs.tools.reader.impl.inspect\/inspect","cljs.core\/count","cljs.tools.reader.impl.errors\/throw-invalid-number","token","cljs.tools.reader.impl.errors\/throw-invalid-unicode-literal","cljs.tools.reader.impl.errors\/throw-invalid-unicode-escape","ch","cljs.tools.reader.impl.errors\/throw-invalid","cljs.tools.reader.impl.errors\/throw-eof-at-start","cljs.tools.reader.impl.errors\/throw-bad-char","cljs.tools.reader.impl.errors\/throw-eof-at-dispatch","cljs.tools.reader.impl.errors\/throw-bad-dispatch","cljs.tools.reader.impl.errors\/throw-unmatch-delimiter","cljs.tools.reader.impl.errors\/throw-eof-reading","seq24283","G__24284","G__24285","start","init","G__24286","cljs.core\/Keyword","cljs.tools.reader.impl.errors\/throw-no-dispatch","cljs.tools.reader.impl.errors\/throw-invalid-unicode-char","cljs.tools.reader.impl.errors\/throw-invalid-unicode-digit-in-token","cljs.tools.reader.impl.errors\/throw-invalid-unicode-digit","cljs.tools.reader.impl.errors\/throw-invalid-unicode-len","actual","expected","cljs.tools.reader.impl.errors\/throw-invalid-character-literal","cljs.tools.reader.impl.errors\/throw-invalid-octal-len","cljs.tools.reader.impl.errors\/throw-bad-octal-number","cljs.tools.reader.impl.errors\/throw-unsupported-character","cljs.tools.reader.impl.errors\/throw-eof-in-character","cljs.tools.reader.impl.errors\/throw-bad-escape-char","cljs.tools.reader.impl.errors\/throw-single-colon","cljs.tools.reader.impl.errors\/throw-bad-metadata","x","cljs.tools.reader.impl.errors\/throw-bad-metadata-target","target","cljs.tools.reader.impl.errors\/throw-feature-not-keyword","feature","cljs.tools.reader.impl.errors\/throw-ns-map-no-map","ns-name","cljs.tools.reader.impl.errors\/throw-bad-ns","cljs.tools.reader.impl.errors\/throw-bad-reader-tag","tag","cljs.tools.reader.impl.errors\/throw-unknown-reader-tag","cljs.tools.reader.impl.errors\/duplicate-keys-error","coll","seq","iter__4292__auto__","s__24302","cljs.core\/LazySeq","temp__4657__auto__","cljs.core\/seq","cljs.core\/chunked-seq?","c__4290__auto__","size__4291__auto__","b__24304","cljs.core\/chunk-buffer","i__24303","vec__24305","cljs.core\/-nth","cljs.core\/nth","cljs.core\/chunk-append","cljs.core\/chunk-cons","cljs.core\/chunk","iter__24301","cljs.core\/chunk-rest","vec__24308","cljs.core\/cons","cljs.core\/rest","id","freq","cljs.core\/frequencies","dups","duplicates","cljs.core\/interpose","cljs.tools.reader.impl.errors\/throw-dup-keys","ks","clojure.string\/capitalize","cljs.tools.reader.impl.errors\/throw-eof-error","cljs.core\/chunk-first"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs new file mode 100644 index 0000000..ae1711e --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs @@ -0,0 +1,90 @@ +;; Copyright (c) Russ Olsen, Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.tools.reader.impl.inspect) + +(declare inspect*) + +(defn- inspect*-col [truncate col start end] + (let [n (count col) + l (if truncate 0 (min 10 n)) + elements (map (partial inspect* true) (take l col)) + content (apply str (interpose " " elements)) + suffix (if (< l n) "...")] + (str start content suffix end))) + +(defn- dispatch-inspect + [_ x] + (cond + (nil? x) :nil + (string? x) :string + (keyword? x) :strable + (number? x) :strable + (symbol? x) :strable + (vector? x) :vector + (list? x) :list + (map? x) :map + (set? x) :set + (= x true) :strable + (= x false) :strable + :default (type x))) + +(defmulti inspect* dispatch-inspect) + +(defmethod inspect* :string [truncate ^String x] + (let [n (if truncate 5 20) + suffix (if (> (.-length x) n) "...\"" "\"")] + (str + \" + (.substring ^String x 0 (min n (.-length x))) + suffix))) + +(defmethod inspect* :strable [truncate x] (str x)) + +(defmethod inspect* cljs.core/IndexedSeq [truncate x] + "") + +(defmethod inspect* cljs.core/PersistentArrayMapSeq [truncate x] + "") + +(defmethod inspect* cljs.core/NodeSeq [truncate x] + "") + +(defmethod inspect* cljs.core/Cons [truncate x] "") + +(defmethod inspect* cljs.core/LazySeq [truncate x] "") + +(defmethod inspect* :nil [_ _] "nil") + +(defmethod inspect* :list [truncate col] + (inspect*-col truncate col \( \))) + +(defmethod inspect* :map [truncate m] + (let [len (count m) + n-shown (if truncate 0 len) + contents (apply concat (take n-shown m)) + suffix (if (> len n-shown) "...}" \})] + (inspect*-col truncate contents \{ suffix))) + +(defmethod inspect* :set [truncate col] + (inspect*-col truncate col "#{" \})) + +(defmethod inspect* :vector [truncate col] + (inspect*-col truncate col \[ \])) + +(defmethod inspect* :default [truncate x] + (pr-str (type x))) + +(defn inspect + "Return a string description of the value supplied. + May be the a string version of the value itself (e.g. \"true\") + or it may be a description (e.g. \"an instance of Foo\"). + If truncate is true then return a very terse version of + the inspection." + ([x] (inspect* false x)) + ([truncate x] (inspect* truncate x))) diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs.cache.json new file mode 100644 index 0000000..b497730 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.tools.reader.impl.inspect","~:imports",null,"~:requires",null,"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$inspect*",["^ ","^7","~$cljs.tools.reader.impl.inspect/inspect*","~:file","resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","~:line",37,"~:column",1,"~:end-line",37,"~:end-column",19,"~:meta",["^ ","^@","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^A",37,"^B",11,"^C",37,"^D",19],"~:tag","~$cljs.core/MultiFn"],"~$inspect*-col",["^ ","~:protocol-inline",null,"^E",["^ ","^@","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^A",13,"^B",8,"^C",13,"^D",20,"~:private",true,"~:arglists",["~#list",["~$quote",["^L",[["~$truncate","~$col","~$start","~$end"]]]]]],"^J",true,"^7","~$cljs.tools.reader.impl.inspect/inspect*-col","~:variadic",false,"^@","resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^D",20,"~:method-params",["^L",[["^N","^O","^P","^Q"]]],"~:protocol-impl",null,"~:arglists-meta",["^L",[null,null]],"^B",1,"^A",13,"^C",13,"~:max-fixed-arity",4,"~:fn-var",true,"^K",["^L",["^M",["^L",[["^N","^O","^P","^Q"]]]]]],"~$dispatch-inspect",["^ ","^I",null,"^E",["^ ","^@","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^A",21,"^B",8,"^C",21,"^D",24,"^J",true,"^K",["^L",["^M",["^L",[["~$_","~$x"]]]]]],"^J",true,"^7","~$cljs.tools.reader.impl.inspect/dispatch-inspect","^S",false,"^@","resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^D",24,"^T",["^L",[["~$_","~$x"]]],"^U",null,"^V",["^L",[null,null]],"^B",1,"^A",21,"^C",21,"^W",2,"^X",true,"^K",["^L",["^M",["^L",[["~$_","~$x"]]]]]],"~$inspect",["^ ","^I",null,"^E",["^ ","^@","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^A",83,"^B",7,"^C",83,"^D",14,"^K",["^L",["^M",["^L",[["~$x"],["^N","~$x"]]]]],"~:doc","Return a string description of the value supplied.\n May be the a string version of the value itself (e.g. \"true\")\n or it may be a description (e.g. \"an instance of Foo\").\n If truncate is true then return a very terse version of\n the inspection.","~:top-fn",["^ ","^S",false,"^W",2,"^T",["^L",[["~$x"],["^N","~$x"]]],"^K",["^L",[["~$x"],["^N","~$x"]]],"^V",["^L",[null,null]]]],"^7","~$cljs.tools.reader.impl.inspect/inspect","^S",false,"^@","resources/public/js/out/cljs/tools/reader/impl/inspect.cljs","^D",14,"^11",["^ ","^S",false,"^W",2,"^T",["^L",[["~$x"],["^N","~$x"]]],"^K",["^L",[["~$x"],["^N","~$x"]]],"^V",["^L",[null,null]]],"^T",["^L",[["~$x"],["^N","~$x"]]],"^U",null,"^V",["^L",[null,null]],"^B",1,"^A",83,"^C",83,"^W",2,"^X",true,"^K",["^L",[["~$x"],["^N","~$x"]]],"^10","Return a string description of the value supplied.\n May be the a string version of the value itself (e.g. \"true\")\n or it may be a description (e.g. \"an instance of Foo\").\n If truncate is true then return a very terse version of\n the inspection."]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^6",["~:default","~:string","~:vector","~:strable","~:list","~:nil","~:set","~:hierarchy","~:map"]],"~:order",["^1<","^18","^1:","^19","^1;","^1?","^1=","^17","^1>"]],"^10",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js new file mode 100644 index 0000000..14a80db --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js @@ -0,0 +1,156 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader.impl.inspect'); +goog.require('cljs.core'); +cljs.tools.reader.impl.inspect.inspect_STAR__col = (function cljs$tools$reader$impl$inspect$inspect_STAR__col(truncate,col,start,end){ +var n = cljs.core.count.call(null,col); +var l = (cljs.core.truth_(truncate)?(0):(function (){var x__4009__auto__ = (10); +var y__4010__auto__ = n; +return ((x__4009__auto__ < y__4010__auto__) ? x__4009__auto__ : y__4010__auto__); +})()); +var elements = cljs.core.map.call(null,cljs.core.partial.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,true),cljs.core.take.call(null,l,col)); +var content = cljs.core.apply.call(null,cljs.core.str,cljs.core.interpose.call(null," ",elements)); +var suffix = (((l < n))?"...":null); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(start),cljs.core.str.cljs$core$IFn$_invoke$arity$1(content),cljs.core.str.cljs$core$IFn$_invoke$arity$1(suffix),cljs.core.str.cljs$core$IFn$_invoke$arity$1(end)].join(''); +}); +cljs.tools.reader.impl.inspect.dispatch_inspect = (function cljs$tools$reader$impl$inspect$dispatch_inspect(_,x){ +if((x == null)){ +return new cljs.core.Keyword(null,"nil","nil",99600501); +} else { +if(typeof x === 'string'){ +return new cljs.core.Keyword(null,"string","string",-1989541586); +} else { +if((x instanceof cljs.core.Keyword)){ +return new cljs.core.Keyword(null,"strable","strable",1877668047); +} else { +if(typeof x === 'number'){ +return new cljs.core.Keyword(null,"strable","strable",1877668047); +} else { +if((x instanceof cljs.core.Symbol)){ +return new cljs.core.Keyword(null,"strable","strable",1877668047); +} else { +if(cljs.core.vector_QMARK_.call(null,x)){ +return new cljs.core.Keyword(null,"vector","vector",1902966158); +} else { +if(cljs.core.list_QMARK_.call(null,x)){ +return new cljs.core.Keyword(null,"list","list",765357683); +} else { +if(cljs.core.map_QMARK_.call(null,x)){ +return new cljs.core.Keyword(null,"map","map",1371690461); +} else { +if(cljs.core.set_QMARK_.call(null,x)){ +return new cljs.core.Keyword(null,"set","set",304602554); +} else { +if(cljs.core._EQ_.call(null,x,true)){ +return new cljs.core.Keyword(null,"strable","strable",1877668047); +} else { +if(cljs.core._EQ_.call(null,x,false)){ +return new cljs.core.Keyword(null,"strable","strable",1877668047); +} else { +return cljs.core.type.call(null,x); + +} +} +} +} +} +} +} +} +} +} +} +}); +if(typeof cljs.tools.reader.impl.inspect.inspect_STAR_ !== 'undefined'){ +} else { +cljs.tools.reader.impl.inspect.inspect_STAR_ = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"cljs.tools.reader.impl.inspect","inspect*"),cljs.tools.reader.impl.inspect.dispatch_inspect,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"string","string",-1989541586),(function (truncate,x){ +var n = (cljs.core.truth_(truncate)?(5):(20)); +var suffix = (((x.length > n))?"...\"":"\""); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1("\""),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x.substring((0),(function (){var x__4009__auto__ = n; +var y__4010__auto__ = x.length; +return ((x__4009__auto__ < y__4010__auto__) ? x__4009__auto__ : y__4010__auto__); +})())),cljs.core.str.cljs$core$IFn$_invoke$arity$1(suffix)].join(''); +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"strable","strable",1877668047),(function (truncate,x){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''); +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,cljs.core.IndexedSeq,(function (truncate,x){ +return ""; +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,cljs.core.PersistentArrayMapSeq,(function (truncate,x){ +return ""; +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,cljs.core.NodeSeq,(function (truncate,x){ +return ""; +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,cljs.core.Cons,(function (truncate,x){ +return ""; +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,cljs.core.LazySeq,(function (truncate,x){ +return ""; +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"nil","nil",99600501),(function (_,___$1){ +return "nil"; +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"list","list",765357683),(function (truncate,col){ +return cljs.tools.reader.impl.inspect.inspect_STAR__col.call(null,truncate,col,"(",")"); +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"map","map",1371690461),(function (truncate,m){ +var len = cljs.core.count.call(null,m); +var n_shown = (cljs.core.truth_(truncate)?(0):len); +var contents = cljs.core.apply.call(null,cljs.core.concat,cljs.core.take.call(null,n_shown,m)); +var suffix = (((len > n_shown))?"...}":"}"); +return cljs.tools.reader.impl.inspect.inspect_STAR__col.call(null,truncate,contents,"{",suffix); +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"set","set",304602554),(function (truncate,col){ +return cljs.tools.reader.impl.inspect.inspect_STAR__col.call(null,truncate,col,"#{","}"); +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"vector","vector",1902966158),(function (truncate,col){ +return cljs.tools.reader.impl.inspect.inspect_STAR__col.call(null,truncate,col,"[","]"); +})); +cljs.core._add_method.call(null,cljs.tools.reader.impl.inspect.inspect_STAR_,new cljs.core.Keyword(null,"default","default",-1987822328),(function (truncate,x){ +return cljs.core.pr_str.call(null,cljs.core.type.call(null,x)); +})); +/** + * Return a string description of the value supplied. + * May be the a string version of the value itself (e.g. "true") + * or it may be a description (e.g. "an instance of Foo"). + * If truncate is true then return a very terse version of + * the inspection. + */ +cljs.tools.reader.impl.inspect.inspect = (function cljs$tools$reader$impl$inspect$inspect(var_args){ +var G__24255 = arguments.length; +switch (G__24255) { +case 1: +return cljs.tools.reader.impl.inspect.inspect.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.impl.inspect.inspect.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.tools.reader.impl.inspect.inspect.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return cljs.tools.reader.impl.inspect.inspect_STAR_.call(null,false,x); +}); + +cljs.tools.reader.impl.inspect.inspect.cljs$core$IFn$_invoke$arity$2 = (function (truncate,x){ +return cljs.tools.reader.impl.inspect.inspect_STAR_.call(null,truncate,x); +}); + +cljs.tools.reader.impl.inspect.inspect.cljs$lang$maxFixedArity = 2; + + +//# sourceMappingURL=inspect.js.map?rel=1628501142883 diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js.map b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js.map new file mode 100644 index 0000000..6aa7a87 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/inspect.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader\/impl\/inspect.js","sources":["inspect.cljs?rel=1628501142884"],"lineCount":156,"mappings":";AAQA;;AAEA,AAAA,AAEA,mDAAA,nDAAOA,8GAAcC,SAASC,IAAIC,MAAMC;AAAxC,AACE,IAAMC,IAAE,AAACC,0BAAMJ;IACTK,IAAE,4BAAA,VAAIN,cAAW,iBAAAO,kBAAA;IAAAC,kBAAQJ;AAAR,AAAA,SAAAG,kBAAAC,mBAAAD,kBAAAC;;IACjBC,WAAS,AAACC,wBAAI,yEAAA,zEAACC,4BAAQC,mDAAe,AAACC,yBAAKP,EAAEL;IAC9Ca,UAAQ,AAACC,0BAAMC,cAAI,8B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yCAAA,iDAAA+B,1FAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,qEAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,qEAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,AAAA,uEAAA,vEAAMD,kFAMFjC;AANJ,AAMO,8DAAA,vDAACT,6DAAeS;;;AANvB,AAAA,uEAAA,vEAAMiC,kFAOFtD,SAASqB;AAPb,AAOgB,OAACT,uDAASZ,SAASqB;;;AAPnC,AAAA,iEAAA,jEAAMiC;;AAAN","names":["cljs.tools.reader.impl.inspect\/inspect*-col","truncate","col","start","end","n","cljs.core\/count","l","x__4009__auto__","y__4010__auto__","elements","cljs.core\/map","cljs.core\/partial","cljs.tools.reader.impl.inspect\/inspect*","cljs.core\/take","content","cljs.core\/apply","cljs.core\/str","cljs.core\/interpose","suffix","cljs.tools.reader.impl.inspect\/dispatch-inspect","_","x","cljs.core\/Keyword","cljs.core\/Symbol","cljs.core\/vector?","cljs.core\/list?","cljs.core\/map?","cljs.core\/set?","cljs.core\/=","cljs.core\/type","method-table__4382__auto__","cljs.core\/atom","prefer-table__4383__auto__","method-cache__4384__auto__","cached-hierarchy__4385__auto__","hierarchy__4386__auto__","cljs.core\/get","cljs.core\/get-global-hierarchy","cljs.core\/MultiFn","cljs.core\/symbol","cljs.core\/-add-method","cljs.core\/IndexedSeq","cljs.core\/PersistentArrayMapSeq","cljs.core\/NodeSeq","cljs.core\/Cons","cljs.core\/LazySeq","m","len","n-shown","contents","cljs.core\/concat","cljs.core\/pr-str","var_args","G__24255","cljs.tools.reader.impl.inspect\/inspect","js\/Error"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs new file mode 100644 index 0000000..46e2d99 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs @@ -0,0 +1,97 @@ +;; Copyright (c) Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns cljs.tools.reader.impl.utils + (:refer-clojure :exclude [char]) + (:require + [clojure.string :as string] + [goog.string :as gstring])) + +(defn char [x] + (when-not (nil? x) + (cljs.core/char x))) + +(defn ^boolean ex-info? [ex] + (instance? cljs.core.ExceptionInfo ex)) + +(defrecord ReaderConditional [splicing? form]) + +(defn ^boolean reader-conditional? + "Return true if the value is the data representation of a reader conditional" + [value] + (instance? ReaderConditional value)) + +(defn reader-conditional + "Construct a data representation of a reader conditional. + If true, splicing? indicates read-cond-splicing." + [form splicing?] + (ReaderConditional. splicing? form)) + +(extend-protocol IPrintWithWriter + ReaderConditional + (-pr-writer [coll writer opts] + (-write writer (str "#?" (when (:splicing? coll) "@"))) + (pr-writer (:form coll) writer opts))) + +(def ws-rx #"[\s]") + +(defn ^boolean whitespace? + "Checks whether a given character is whitespace" + [ch] + (when-not (nil? ch) + (if (identical? ch \,) + true + (.test ws-rx ch)))) + +(defn ^boolean numeric? + "Checks whether a given character is numeric" + [ch] + (when-not (nil? ch) + (gstring/isNumeric ch))) + +(defn ^boolean newline? + "Checks whether the character is a newline" + [c] + (or (identical? \newline c) + (identical? "\n" c) + (nil? c))) + +(defn desugar-meta + "Resolves syntactical sugar in metadata" ;; could be combined with some other desugar? + [f] + (cond + (keyword? f) {f true} + (symbol? f) {:tag f} + (string? f) {:tag f} + :else f)) + +(def last-id (atom 0)) + +(defn next-id + [] + (swap! last-id inc)) + +(defn namespace-keys [ns keys] + (for [key keys] + (if (or (symbol? key) + (keyword? key)) + (let [[key-ns key-name] ((juxt namespace name) key) + ->key (if (symbol? key) symbol keyword)] + (cond + (nil? key-ns) + (->key ns key-name) + + (= "_" key-ns) + (->key key-name) + + :else + key)) + key))) + +(defn second' [[a b]] + (when-not a b)) diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs.cache.json new file mode 100644 index 0000000..a732823 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ "],"~:excludes",["~#set",["~$char"]],"~:name","~$cljs.tools.reader.impl.utils","~:imports",null,"~:requires",["^ ","~$string","~$clojure.string","^;","^;","~$gstring","~$goog.string","^=","^="],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$reader-conditional",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","~:line",29,"~:column",7,"~:end-line",29,"~:end-column",25,"~:arglists",["~#list",["~$quote",["^J",[["~$form","~$splicing?"]]]]],"~:doc","Construct a data representation of a reader conditional.\n If true, splicing? indicates read-cond-splicing."],"^6","~$cljs.tools.reader.impl.utils/reader-conditional","~:variadic",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",25,"~:method-params",["^J",[["^L","^M"]]],"~:protocol-impl",null,"~:arglists-meta",["^J",[null,null]],"^F",1,"^E",29,"^G",29,"~:max-fixed-arity",2,"~:fn-var",true,"^I",["^J",["^K",["^J",[["^L","^M"]]]]],"^N","Construct a data representation of a reader conditional.\n If true, splicing? indicates read-cond-splicing."],"~$whitespace?",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",43,"^F",16,"^G",43,"^H",27,"~:tag","~$boolean","^I",["^J",["^K",["^J",[["~$ch"]]]]],"^N","Checks whether a given character is whitespace"],"^6","~$cljs.tools.reader.impl.utils/whitespace?","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",27,"^Q",["^J",[["^Y"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",43,"~:ret-tag","^X","^G",43,"^T",1,"^W","^X","^U",true,"^I",["^J",["^K",["^J",[["^Y"]]]]],"^N","Checks whether a given character is whitespace"],"~$last-id",["^ ","^6","~$cljs.tools.reader.impl.utils/last-id","^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",73,"^F",1,"^G",73,"^H",13,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",73,"^F",6,"^G",73,"^H",13],"^W","~$any"],"^5",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",15,"^F",7,"^G",15,"^H",11,"^I",["^J",["^K",["^J",[["~$x"]]]]]],"^6","~$cljs.tools.reader.impl.utils/char","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",11,"^Q",["^J",[["~$x"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",15,"^G",15,"^T",1,"^U",true,"^I",["^J",["^K",["^J",[["~$x"]]]]]],"~$numeric?",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",51,"^F",16,"^G",51,"^H",24,"^W","^X","^I",["^J",["^K",["^J",[["^Y"]]]]],"^N","Checks whether a given character is numeric"],"^6","~$cljs.tools.reader.impl.utils/numeric?","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",24,"^Q",["^J",[["^Y"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",51,"^[","^X","^G",51,"^T",1,"^W","^X","^U",true,"^I",["^J",["^K",["^J",[["^Y"]]]]],"^N","Checks whether a given character is numeric"],"~$ReaderConditional",["^ ","~:num-fields",2,"~:protocols",["^4",["~$cljs.core/IRecord","~$cljs.core/IEquiv","~$cljs.core/IHash","~$cljs.core/ICollection","~$cljs.core/ICounted","~$cljs.core/ISeqable","~$cljs.core/IMeta","~$cljs.core/ICloneable","~$cljs.core/IPrintWithWriter","~$cljs.core/IIterable","~$cljs.core/IWithMeta","~$cljs.core/IAssociative","~$cljs.core/IMap","~$cljs.core/ILookup"]],"^6","~$cljs.tools.reader.impl.utils/ReaderConditional","^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",29,"~:type",true,"^F",12,"~:internal-ctor",true,"^E",22,"~:record",true,"^G",22,"~:skip-protocol-flag",["^4",["^19","^1:","^1;","^1<","^1=","^1>","^1?","^1@","^1A","^1B","^1C","^1D","^1E","^1F"]]],"~$second'",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",96,"^F",7,"^G",96,"^H",14,"^I",["^J",["^K",["^J",[[["~$a","~$b"]]]]]]],"^6","~$cljs.tools.reader.impl.utils/second'","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",14,"^Q",["^J",[["~$p__24233"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",96,"^G",96,"^T",1,"^U",true,"^I",["^J",["^K",["^J",[[["~$a","~$b"]]]]]]],"~$desugar-meta",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",64,"^F",7,"^G",64,"^H",19,"^I",["^J",["^K",["^J",[["~$f"]]]]],"^N","Resolves syntactical sugar in metadata"],"^6","~$cljs.tools.reader.impl.utils/desugar-meta","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",19,"^Q",["^J",[["~$f"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",64,"^G",64,"^T",1,"^U",true,"^I",["^J",["^K",["^J",[["~$f"]]]]],"^N","Resolves syntactical sugar in metadata"],"~$->ReaderConditional",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",22,"^F",12,"^G",22,"^H",29,"^1I",true,"~:factory","~:positional","^I",["^J",["^K",["^J",[["^M","^L"]]]]],"^N","Positional factory function for cljs.tools.reader.impl.utils/ReaderConditional."],"^6","~$cljs.tools.reader.impl.utils/->ReaderConditional","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",29,"^Q",["^J",[["^M","^L"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^1I",true,"^1R","^1S","^E",22,"^G",22,"^T",2,"^U",true,"^I",["^J",["^K",["^J",[["^M","^L"]]]]],"^N","Positional factory function for cljs.tools.reader.impl.utils/ReaderConditional."],"~$next-id",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",75,"^F",7,"^G",75,"^H",14,"^I",["^J",["^K",["^J",[[]]]]]],"^6","~$cljs.tools.reader.impl.utils/next-id","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",14,"^Q",["^J",[[]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",75,"^G",75,"^T",0,"^U",true,"^I",["^J",["^K",["^J",[[]]]]]],"~$map->ReaderConditional",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",22,"^F",12,"^G",22,"^H",29,"^1I",true,"^1R","~:map","^I",["^J",["^K",["^J",[["~$G__24216"]]]]],"^N","Factory function for cljs.tools.reader.impl.utils/ReaderConditional, taking a map of keywords to field values."],"^6","~$cljs.tools.reader.impl.utils/map->ReaderConditional","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",29,"^Q",["^J",[["^1Y"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^1I",true,"^1R","^1X","^E",22,"^G",22,"^T",1,"^U",true,"^I",["^J",["^K",["^J",[["^1Y"]]]]],"^N","Factory function for cljs.tools.reader.impl.utils/ReaderConditional, taking a map of keywords to field values."],"~$ex-info?",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",19,"^F",16,"^G",19,"^H",24,"^W","^X","^I",["^J",["^K",["^J",[["~$ex"]]]]]],"^6","~$cljs.tools.reader.impl.utils/ex-info?","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",24,"^Q",["^J",[["^20"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",19,"^[","^X","^G",19,"^T",1,"^W","^X","^U",true,"^I",["^J",["^K",["^J",[["^20"]]]]]],"~$reader-conditional?",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",24,"^F",16,"^G",24,"^H",35,"^W","^X","^I",["^J",["^K",["^J",[["~$value"]]]]],"^N","Return true if the value is the data representation of a reader conditional"],"^6","~$cljs.tools.reader.impl.utils/reader-conditional?","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",35,"^Q",["^J",[["^23"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",24,"^[","^X","^G",24,"^T",1,"^W","^X","^U",true,"^I",["^J",["^K",["^J",[["^23"]]]]],"^N","Return true if the value is the data representation of a reader conditional"],"~$newline?",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",57,"^F",16,"^G",57,"^H",24,"^W","^X","^I",["^J",["^K",["^J",[["~$c"]]]]],"^N","Checks whether the character is a newline"],"^6","~$cljs.tools.reader.impl.utils/newline?","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",24,"^Q",["^J",[["~$c"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",57,"^[","^X","^G",57,"^T",1,"^W","^X","^U",true,"^I",["^J",["^K",["^J",[["~$c"]]]]],"^N","Checks whether the character is a newline"],"~$namespace-keys",["^ ","^B",null,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",79,"^F",7,"^G",79,"^H",21,"^I",["^J",["^K",["^J",[["~$ns","~$keys"]]]]]],"^6","~$cljs.tools.reader.impl.utils/namespace-keys","^P",false,"^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^H",21,"^Q",["^J",[["^28","^29"]]],"^R",null,"^S",["^J",[null,null]],"^F",1,"^E",79,"^G",79,"^T",2,"^U",true,"^I",["^J",["^K",["^J",[["^28","^29"]]]]]],"~$ws-rx",["^ ","^6","~$cljs.tools.reader.impl.utils/ws-rx","^D","resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",41,"^F",1,"^G",41,"^H",11,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/impl/utils.cljs","^E",41,"^F",6,"^G",41,"^H",11],"^W","^12"]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^4",["^L","~:else","~:splicing?","^M","~:form","^W"]],"~:order",["^2B","^2C","^M","^L","^W","^2A"]],"^N",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/utils.js b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.js new file mode 100644 index 0000000..f77a194 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.js @@ -0,0 +1,362 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader.impl.utils'); +goog.require('cljs.core'); +goog.require('clojure.string'); +goog.require('goog.string'); +cljs.tools.reader.impl.utils.char$ = (function cljs$tools$reader$impl$utils$char(x){ +if((x == null)){ +return null; +} else { +return cljs.core.char$.call(null,x); +} +}); +cljs.tools.reader.impl.utils.ex_info_QMARK_ = (function cljs$tools$reader$impl$utils$ex_info_QMARK_(ex){ +return (ex instanceof cljs.core.ExceptionInfo); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @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.tools.reader.impl.utils.ReaderConditional = (function (splicing_QMARK_,form,__meta,__extmap,__hash){ +this.splicing_QMARK_ = splicing_QMARK_; +this.form = form; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2229667594; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4172__auto__,k__4173__auto__){ +var self__ = this; +var this__4172__auto____$1 = this; +return this__4172__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4173__auto__,null); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4174__auto__,k24213,else__4175__auto__){ +var self__ = this; +var this__4174__auto____$1 = this; +var G__24217 = k24213; +var G__24217__$1 = (((G__24217 instanceof cljs.core.Keyword))?G__24217.fqn:null); +switch (G__24217__$1) { +case "splicing?": +return self__.splicing_QMARK_; + +break; +case "form": +return self__.form; + +break; +default: +return cljs.core.get.call(null,self__.__extmap,k24213,else__4175__auto__); + +} +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4186__auto__,writer__4187__auto__,opts__4188__auto__){ +var self__ = this; +var this__4186__auto____$1 = this; +var pr_pair__4189__auto__ = ((function (this__4186__auto____$1){ +return (function (keyval__4190__auto__){ +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,cljs.core.pr_writer,""," ","",opts__4188__auto__,keyval__4190__auto__); +});})(this__4186__auto____$1)) +; +return cljs.core.pr_sequential_writer.call(null,writer__4187__auto__,pr_pair__4189__auto__,"#cljs.tools.reader.impl.utils.ReaderConditional{",", ","}",opts__4188__auto__,cljs.core.concat.call(null,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,"splicing?","splicing?",-428596366),self__.splicing_QMARK_],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"form","form",-1624062471),self__.form],null))], null),self__.__extmap)); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__24212){ +var self__ = this; +var G__24212__$1 = this; +return (new cljs.core.RecordIter((0),G__24212__$1,2,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"splicing?","splicing?",-428596366),new cljs.core.Keyword(null,"form","form",-1624062471)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator.call(null,self__.__extmap):cljs.core.nil_iter.call(null)))); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4170__auto__){ +var self__ = this; +var this__4170__auto____$1 = this; +return self__.__meta; +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4167__auto__){ +var self__ = this; +var this__4167__auto____$1 = this; +return (new cljs.tools.reader.impl.utils.ReaderConditional(self__.splicing_QMARK_,self__.form,self__.__meta,self__.__extmap,self__.__hash)); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__4176__auto__){ +var self__ = this; +var this__4176__auto____$1 = this; +return (2 + cljs.core.count.call(null,self__.__extmap)); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4168__auto__){ +var self__ = this; +var this__4168__auto____$1 = this; +var h__4030__auto__ = self__.__hash; +if(!((h__4030__auto__ == null))){ +return h__4030__auto__; +} else { +var h__4030__auto____$1 = ((function (h__4030__auto__,this__4168__auto____$1){ +return (function (coll__4169__auto__){ +return (-209062840 ^ cljs.core.hash_unordered_coll.call(null,coll__4169__auto__)); +});})(h__4030__auto__,this__4168__auto____$1)) +.call(null,this__4168__auto____$1); +self__.__hash = h__4030__auto____$1; + +return h__4030__auto____$1; +} +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this24214,other24215){ +var self__ = this; +var this24214__$1 = this; +return ((!((other24215 == null))) && ((this24214__$1.constructor === other24215.constructor)) && (cljs.core._EQ_.call(null,this24214__$1.splicing_QMARK_,other24215.splicing_QMARK_)) && (cljs.core._EQ_.call(null,this24214__$1.form,other24215.form)) && (cljs.core._EQ_.call(null,this24214__$1.__extmap,other24215.__extmap))); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4181__auto__,k__4182__auto__){ +var self__ = this; +var this__4181__auto____$1 = this; +if(cljs.core.contains_QMARK_.call(null,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"splicing?","splicing?",-428596366),null,new cljs.core.Keyword(null,"form","form",-1624062471),null], null), null),k__4182__auto__)){ +return cljs.core.dissoc.call(null,cljs.core._with_meta.call(null,cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,this__4181__auto____$1),self__.__meta),k__4182__auto__); +} else { +return (new cljs.tools.reader.impl.utils.ReaderConditional(self__.splicing_QMARK_,self__.form,self__.__meta,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,self__.__extmap,k__4182__auto__)),null)); +} +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4179__auto__,k__4180__auto__,G__24212){ +var self__ = this; +var this__4179__auto____$1 = this; +var pred__24218 = cljs.core.keyword_identical_QMARK_; +var expr__24219 = k__4180__auto__; +if(cljs.core.truth_(pred__24218.call(null,new cljs.core.Keyword(null,"splicing?","splicing?",-428596366),expr__24219))){ +return (new cljs.tools.reader.impl.utils.ReaderConditional(G__24212,self__.form,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_(pred__24218.call(null,new cljs.core.Keyword(null,"form","form",-1624062471),expr__24219))){ +return (new cljs.tools.reader.impl.utils.ReaderConditional(self__.splicing_QMARK_,G__24212,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.tools.reader.impl.utils.ReaderConditional(self__.splicing_QMARK_,self__.form,self__.__meta,cljs.core.assoc.call(null,self__.__extmap,k__4180__auto__,G__24212),null)); +} +} +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4184__auto__){ +var self__ = this; +var this__4184__auto____$1 = this; +return cljs.core.seq.call(null,cljs.core.concat.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"splicing?","splicing?",-428596366),self__.splicing_QMARK_,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"form","form",-1624062471),self__.form,null))], null),self__.__extmap)); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__4171__auto__,G__24212){ +var self__ = this; +var this__4171__auto____$1 = this; +return (new cljs.tools.reader.impl.utils.ReaderConditional(self__.splicing_QMARK_,self__.form,G__24212,self__.__extmap,self__.__hash)); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4177__auto__,entry__4178__auto__){ +var self__ = this; +var this__4177__auto____$1 = this; +if(cljs.core.vector_QMARK_.call(null,entry__4178__auto__)){ +return this__4177__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.call(null,entry__4178__auto__,(0)),cljs.core._nth.call(null,entry__4178__auto__,(1))); +} else { +return cljs.core.reduce.call(null,cljs.core._conj,this__4177__auto____$1,entry__4178__auto__); +} +}); + +cljs.tools.reader.impl.utils.ReaderConditional.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"splicing?","splicing?",1211935161,null),new cljs.core.Symbol(null,"form","form",16469056,null)], null); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.cljs$lang$type = true; + +cljs.tools.reader.impl.utils.ReaderConditional.cljs$lang$ctorPrSeq = (function (this__4208__auto__){ +return (new cljs.core.List(null,"cljs.tools.reader.impl.utils/ReaderConditional",null,(1),null)); +}); + +cljs.tools.reader.impl.utils.ReaderConditional.cljs$lang$ctorPrWriter = (function (this__4208__auto__,writer__4209__auto__){ +return cljs.core._write.call(null,writer__4209__auto__,"cljs.tools.reader.impl.utils/ReaderConditional"); +}); + +/** + * Positional factory function for cljs.tools.reader.impl.utils/ReaderConditional. + */ +cljs.tools.reader.impl.utils.__GT_ReaderConditional = (function cljs$tools$reader$impl$utils$__GT_ReaderConditional(splicing_QMARK_,form){ +return (new cljs.tools.reader.impl.utils.ReaderConditional(splicing_QMARK_,form,null,null,null)); +}); + +/** + * Factory function for cljs.tools.reader.impl.utils/ReaderConditional, taking a map of keywords to field values. + */ +cljs.tools.reader.impl.utils.map__GT_ReaderConditional = (function cljs$tools$reader$impl$utils$map__GT_ReaderConditional(G__24216){ +return (new cljs.tools.reader.impl.utils.ReaderConditional(new cljs.core.Keyword(null,"splicing?","splicing?",-428596366).cljs$core$IFn$_invoke$arity$1(G__24216),new cljs.core.Keyword(null,"form","form",-1624062471).cljs$core$IFn$_invoke$arity$1(G__24216),null,cljs.core.not_empty.call(null,cljs.core.dissoc.call(null,G__24216,new cljs.core.Keyword(null,"splicing?","splicing?",-428596366),new cljs.core.Keyword(null,"form","form",-1624062471))),null)); +}); + +/** + * Return true if the value is the data representation of a reader conditional + */ +cljs.tools.reader.impl.utils.reader_conditional_QMARK_ = (function cljs$tools$reader$impl$utils$reader_conditional_QMARK_(value){ +return (value instanceof cljs.tools.reader.impl.utils.ReaderConditional); +}); +/** + * Construct a data representation of a reader conditional. + * If true, splicing? indicates read-cond-splicing. + */ +cljs.tools.reader.impl.utils.reader_conditional = (function cljs$tools$reader$impl$utils$reader_conditional(form,splicing_QMARK_){ +return (new cljs.tools.reader.impl.utils.ReaderConditional(splicing_QMARK_,form,null,null,null)); +}); +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.impl.utils.ReaderConditional.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +cljs.core._write.call(null,writer,["#?",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(new cljs.core.Keyword(null,"splicing?","splicing?",-428596366).cljs$core$IFn$_invoke$arity$1(coll__$1))?"@":null))].join('')); + +return cljs.core.pr_writer.call(null,new cljs.core.Keyword(null,"form","form",-1624062471).cljs$core$IFn$_invoke$arity$1(coll__$1),writer,opts); +}); +cljs.tools.reader.impl.utils.ws_rx = /[\s]/; +/** + * Checks whether a given character is whitespace + */ +cljs.tools.reader.impl.utils.whitespace_QMARK_ = (function cljs$tools$reader$impl$utils$whitespace_QMARK_(ch){ +if((ch == null)){ +return null; +} else { +if((ch === ",")){ +return true; +} else { +return cljs.tools.reader.impl.utils.ws_rx.test(ch); +} +} +}); +/** + * Checks whether a given character is numeric + */ +cljs.tools.reader.impl.utils.numeric_QMARK_ = (function cljs$tools$reader$impl$utils$numeric_QMARK_(ch){ +if((ch == null)){ +return null; +} else { +return goog.string.isNumeric(ch); +} +}); +/** + * Checks whether the character is a newline + */ +cljs.tools.reader.impl.utils.newline_QMARK_ = (function cljs$tools$reader$impl$utils$newline_QMARK_(c){ +return ((("\n" === c)) || (("\n" === c)) || ((c == null))); +}); +/** + * Resolves syntactical sugar in metadata + */ +cljs.tools.reader.impl.utils.desugar_meta = (function cljs$tools$reader$impl$utils$desugar_meta(f){ +if((f instanceof cljs.core.Keyword)){ +return cljs.core.PersistentArrayMap.createAsIfByAssoc([f,true]); +} else { +if((f instanceof cljs.core.Symbol)){ +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),f], null); +} else { +if(typeof f === 'string'){ +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),f], null); +} else { +return f; + +} +} +} +}); +cljs.tools.reader.impl.utils.last_id = cljs.core.atom.call(null,(0)); +cljs.tools.reader.impl.utils.next_id = (function cljs$tools$reader$impl$utils$next_id(){ +return cljs.core.swap_BANG_.call(null,cljs.tools.reader.impl.utils.last_id,cljs.core.inc); +}); +cljs.tools.reader.impl.utils.namespace_keys = (function cljs$tools$reader$impl$utils$namespace_keys(ns,keys){ +var iter__4292__auto__ = (function cljs$tools$reader$impl$utils$namespace_keys_$_iter__24222(s__24223){ +return (new cljs.core.LazySeq(null,(function (){ +var s__24223__$1 = s__24223; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__24223__$1); +if(temp__4657__auto__){ +var s__24223__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__24223__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__24223__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__24225 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__24224 = (0); +while(true){ +if((i__24224 < size__4291__auto__)){ +var key = cljs.core._nth.call(null,c__4290__auto__,i__24224); +cljs.core.chunk_append.call(null,b__24225,(((((key instanceof cljs.core.Symbol)) || ((key instanceof cljs.core.Keyword))))?(function (){var vec__24226 = cljs.core.juxt.call(null,cljs.core.namespace,cljs.core.name).call(null,key); +var key_ns = cljs.core.nth.call(null,vec__24226,(0),null); +var key_name = cljs.core.nth.call(null,vec__24226,(1),null); +var __GT_key = (((key instanceof cljs.core.Symbol))?cljs.core.symbol:cljs.core.keyword); +if((key_ns == null)){ +return __GT_key.call(null,ns,key_name); +} else { +if(cljs.core._EQ_.call(null,"_",key_ns)){ +return __GT_key.call(null,key_name); +} else { +return key; + +} +} +})():key)); + +var G__24232 = (i__24224 + (1)); +i__24224 = G__24232; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24225),cljs$tools$reader$impl$utils$namespace_keys_$_iter__24222.call(null,cljs.core.chunk_rest.call(null,s__24223__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__24225),null); +} +} else { +var key = cljs.core.first.call(null,s__24223__$2); +return cljs.core.cons.call(null,(((((key instanceof cljs.core.Symbol)) || ((key instanceof cljs.core.Keyword))))?(function (){var vec__24229 = cljs.core.juxt.call(null,cljs.core.namespace,cljs.core.name).call(null,key); +var key_ns = cljs.core.nth.call(null,vec__24229,(0),null); +var key_name = cljs.core.nth.call(null,vec__24229,(1),null); +var __GT_key = (((key instanceof cljs.core.Symbol))?cljs.core.symbol:cljs.core.keyword); +if((key_ns == null)){ +return __GT_key.call(null,ns,key_name); +} else { +if(cljs.core._EQ_.call(null,"_",key_ns)){ +return __GT_key.call(null,key_name); +} else { +return key; + +} +} +})():key),cljs$tools$reader$impl$utils$namespace_keys_$_iter__24222.call(null,cljs.core.rest.call(null,s__24223__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__4292__auto__.call(null,keys); +}); +cljs.tools.reader.impl.utils.second_SINGLEQUOTE_ = (function cljs$tools$reader$impl$utils$second_SINGLEQUOTE_(p__24233){ +var vec__24234 = p__24233; +var a = cljs.core.nth.call(null,vec__24234,(0),null); +var b = cljs.core.nth.call(null,vec__24234,(1),null); +if(cljs.core.truth_(a)){ +return null; +} else { +return b; +} +}); + +//# sourceMappingURL=utils.js.map?rel=1628501142700 diff --git a/examples/resources/public/js/out/cljs/tools/reader/impl/utils.js.map b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.js.map new file mode 100644 index 0000000..a0a8e1a --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/impl/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader\/impl\/utils.js","sources":["utils.cljs?rel=1628501142702"],"lineCount":362,"mappings":";AAQA;;;;AAMA,qCAAA,rCAAMA,iFAAMC;AAAZ,AACE,GAAU,MAAA,LAAMA;AAAhB;;AAAA,AACE,OAACC,0BAAeD;;;AAEpB,8CAAA,9CAAeE,oGAAUC;AAAzB,AACE,sBAAWC,dAAwBD;;AAErC,AAAA,AAAA,AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,AAAA,AAAA,AAAA,6FAAA,WAAAE,mBAAAC,3HAAW2D;;AAAX,AAAA,IAAA5D,yBAAA;AAAA,AAAA,OAAAA,8DAAAC,gBAAA;;;AAAA,AAAA,AAAA,6FAAA,WAAAC,mBAAAC,OAAAC,lIAAWwD;;AAAX,AAAA,IAAA1D,yBAAA;AAAA,AAAA,IAAAG,WAAAF;IAAAE,eAAA,EAAA,CAAAA,oBAAAC,oBAAA,AAAAD,aAAA;AAAA,AAAA,QAAAA;KA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;AAgBZ,mDAAA,2DAAA+B,9GAAME;AAAN,AAAA,IAAAD,aAAAD;QAAA,AAAAV,wBAAAW,WAAA,IAAA,3CAAgBE;QAAhB,AAAAb,wBAAAW,WAAA,IAAA,3CAAkBG;AAAlB,AACE,oBAAUD;AAAV;;AAAA,AAAYC","names":["cljs.tools.reader.impl.utils\/char","x","cljs.core\/char","cljs.tools.reader.impl.utils\/ex-info?","ex","cljs\/core.ExceptionInfo","this__4172__auto__","k__4173__auto__","this__4174__auto__","k24213","else__4175__auto__","G__24217","cljs.core\/Keyword","splicing?","form","cljs.core\/get","__extmap","this__4186__auto__","writer__4187__auto__","opts__4188__auto__","pr-pair__4189__auto__","keyval__4190__auto__","cljs.core\/pr-sequential-writer","cljs.core\/pr-writer","cljs.core\/concat","cljs.core\/PersistentVector","G__24212","cljs.core\/RecordIter","cljs.core\/-iterator","cljs.core\/nil-iter","this__4170__auto__","__meta","this__4167__auto__","__hash","this__4176__auto__","cljs.core\/count","this__4168__auto__","h__4030__auto__","coll__4169__auto__","cljs.core\/hash-unordered-coll","this24214","other24215","cljs.core\/=","this__4181__auto__","k__4182__auto__","cljs.core\/contains?","cljs.core\/dissoc","cljs.core\/-with-meta","cljs.core\/into","cljs.core\/not-empty","this__4179__auto__","k__4180__auto__","pred__24218","cljs.core\/keyword-identical?","expr__24219","cljs.core\/assoc","this__4184__auto__","cljs.core\/seq","cljs\/core.MapEntry","this__4171__auto__","this__4177__auto__","entry__4178__auto__","cljs.core\/vector?","cljs.core\/-nth","cljs.core\/reduce","cljs.core\/-conj","cljs.tools.reader.impl.utils\/ReaderConditional","this__4208__auto__","cljs.core\/List","writer__4209__auto__","cljs.core\/-write","G__24216","cljs.tools.reader.impl.utils\/->ReaderConditional","cljs.tools.reader.impl.utils\/map->ReaderConditional","cljs.tools.reader.impl.utils\/reader-conditional?","value","cljs.tools.reader.impl.utils\/reader-conditional","cljs.core\/PROTOCOL_SENTINEL","coll","writer","opts","cljs.tools.reader.impl.utils\/ws-rx","cljs.tools.reader.impl.utils\/whitespace?","ch","cljs.tools.reader.impl.utils\/numeric?","goog.string\/isNumeric","cljs.tools.reader.impl.utils\/newline?","c","cljs.tools.reader.impl.utils\/desugar-meta","f","cljs.core\/Symbol","cljs.tools.reader.impl.utils\/last-id","cljs.core\/atom","cljs.tools.reader.impl.utils\/next-id","cljs.core\/swap!","cljs.core\/inc","cljs.tools.reader.impl.utils\/namespace-keys","ns","keys","iter__4292__auto__","s__24223","cljs.core\/LazySeq","temp__4657__auto__","cljs.core\/chunked-seq?","c__4290__auto__","size__4291__auto__","b__24225","cljs.core\/chunk-buffer","i__24224","cljs.core\/chunk-append","cljs.core\/chunk-cons","cljs.core\/chunk","iter__24222","cljs.core\/chunk-rest","cljs.core\/first","cljs.core\/cons","cljs.core\/rest","key","vec__24226","cljs.core\/nth","vec__24229","key-ns","key-name","cljs.core\/juxt","cljs.core\/namespace","cljs.core\/name","->key","cljs.core\/symbol","cljs.core\/keyword","p__24233","vec__24234","cljs.tools.reader.impl.utils\/second'","a","b","cljs.core\/chunk-first"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs b/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs new file mode 100644 index 0000000..ec51be2 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs @@ -0,0 +1,283 @@ +;; Copyright (c) Nicola Mometto, Rich Hickey & contributors. +;; The use and distribution terms for this software are covered by the +;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +;; which can be found in the file epl-v10.html at the root of this distribution. +;; By using this software in any fashion, you are agreeing to be bound by +;; the terms of this license. +;; You must not remove this notice, or any other, from this software. + +(ns ^{:doc "Protocols and default Reader types implementation" + :author "Bronsa"} + cljs.tools.reader.reader-types + (:refer-clojure :exclude [char read-line]) + (:require [cljs.tools.reader.impl.utils :refer [char whitespace? newline?]] + [goog.string]) + (:import goog.string.StringBuffer)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; reader protocols +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defprotocol Reader + (read-char [reader] + "Returns the next char from the Reader, nil if the end of stream has been reached") + (peek-char [reader] + "Returns the next char from the Reader without removing it from the reader stream")) + +(defprotocol IPushbackReader + (unread [reader ch] + "Pushes back a single character on to the stream")) + +(defprotocol IndexingReader + (get-line-number [reader] + "Returns the line number of the next character to be read from the stream") + (get-column-number [reader] + "Returns the column number of the next character to be read from the stream") + (get-file-name [reader] + "Returns the file name the reader is reading from, or nil")) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; reader deftypes +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(deftype StringReader + [s s-len ^:mutable s-pos] + Reader + (read-char [reader] + (when (> s-len s-pos) + (let [r (.charAt s s-pos)] + (set! s-pos (inc s-pos)) + r))) + (peek-char [reader] + (when (> s-len s-pos) + (.charAt s s-pos)))) + +(deftype NodeReadableReader [readable ^:mutable buf] + Reader + (read-char [reader] + (if buf + (let [c (aget buf 0)] + (set! buf nil) + (char c)) + (let [c (str (.read readable 1))] + (when c + (char c))))) + (peek-char [reader] + (when-not buf + (set! buf (str (.read readable 1)))) + (when buf + (char (aget buf 0))))) + +(deftype PushbackReader + [^not-native rdr buf buf-len ^:mutable buf-pos] + Reader + (read-char [reader] + (let [c (if (< buf-pos buf-len) + (aget buf buf-pos) + (read-char rdr))] + (when (< buf-pos buf-len) + (set! buf-pos (inc buf-pos))) + (char c))) + (peek-char [reader] + (let [c (if (< buf-pos buf-len) + (aget buf buf-pos) + (peek-char rdr))] + (char c))) + IPushbackReader + (unread [reader ch] + (when ch + (if (zero? buf-pos) (throw (js/Error. "Pushback buffer is full"))) + (set! buf-pos (dec buf-pos)) + (aset buf buf-pos ch)))) + +(defn- normalize-newline [^not-native rdr ch] + (if (identical? \return ch) + (let [c (peek-char rdr)] + (when (or (identical? \formfeed c) + (identical? \newline c)) + (read-char rdr)) + \newline) + ch)) + +(deftype IndexingPushbackReader + [^not-native rdr ^:mutable line ^:mutable column + ^:mutable line-start? ^:mutable prev + ^:mutable prev-column file-name] + Reader + (read-char [reader] + (when-let [ch (read-char rdr)] + (let [ch (normalize-newline rdr ch)] + (set! prev line-start?) + (set! line-start? (newline? ch)) + (when line-start? + (set! prev-column column) + (set! column 0) + (set! line (inc line))) + (set! column (inc column)) + ch))) + + (peek-char [reader] + (peek-char rdr)) + + IPushbackReader + (unread [reader ch] + (if line-start? + (do (set! line (dec line)) + (set! column prev-column)) + (set! column (dec column))) + (set! line-start? prev) + (unread rdr ch)) + + IndexingReader + (get-line-number [reader] (int line)) + (get-column-number [reader] (int column)) + (get-file-name [reader] file-name)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Source Logging support +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(defn merge-meta + "Returns an object of the same type and value as `obj`, with its +metadata merged over `m`." + [obj m] + (let [orig-meta (meta obj)] + (with-meta obj (merge m (dissoc orig-meta :source))))) + +(defn- peek-source-log + "Returns a string containing the contents of the top most source +logging frame." + [frames] + (subs (str (:buffer frames)) (first (:offset frames)))) + +(defn- log-source-char + "Logs `char` to all currently active source logging frames." + [frames char] + (when-let [buffer (:buffer frames)] + (.append buffer char))) + +(defn- drop-last-logged-char + "Removes the last logged character from all currently active source +logging frames. Called when pushing a character back." + [frames] + (when-let [buffer (:buffer frames)] + (.set buffer (subs (str buffer) 0 (dec (.getLength buffer)))))) + +(deftype SourceLoggingPushbackReader + [^not-native rdr ^:mutable line ^:mutable column + ^:mutable line-start? ^:mutable prev + ^:mutable prev-column file-name frames] + Reader + (read-char [reader] + (when-let [ch (read-char rdr)] + (let [ch (normalize-newline rdr ch)] + (set! prev line-start?) + (set! line-start? (newline? ch)) + (when line-start? + (set! prev-column column) + (set! column 0) + (set! line (inc line))) + (set! column (inc column)) + (log-source-char @frames ch) + ch))) + + (peek-char [reader] + (peek-char rdr)) + + IPushbackReader + (unread [reader ch] + (if line-start? + (do (set! line (dec line)) + (set! column prev-column)) + (set! column (dec column))) + (set! line-start? prev) + (when ch + (drop-last-logged-char @frames)) + (unread rdr ch)) + + IndexingReader + (get-line-number [reader] (int line)) + (get-column-number [reader] (int column)) + (get-file-name [reader] file-name)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Public API +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; fast check for provided implementations +(defn indexing-reader? + "Returns true if the reader satisfies IndexingReader" + [rdr] + (implements? IndexingReader rdr)) + +(defn string-reader + "Creates a StringReader from a given string" + ([s] + (StringReader. s (count s) 0))) + +(defn string-push-back-reader + "Creates a PushbackReader from a given string" + ([s] + (string-push-back-reader s 1)) + ([s buf-len] + (PushbackReader. (string-reader s) (object-array buf-len) buf-len buf-len))) + +(defn node-readable-push-back-reader [readable] + (PushbackReader. (NodeReadableReader. readable nil) (object-array 1) 1 1)) + +(defn indexing-push-back-reader + "Creates an IndexingPushbackReader from a given string or PushbackReader" + ([s-or-rdr] + (indexing-push-back-reader s-or-rdr 1)) + ([s-or-rdr buf-len] + (indexing-push-back-reader s-or-rdr buf-len nil)) + ([s-or-rdr buf-len file-name] + (IndexingPushbackReader. + (if (string? s-or-rdr) (string-push-back-reader s-or-rdr buf-len) s-or-rdr) 1 1 true nil 0 file-name))) + +(defn source-logging-push-back-reader + "Creates a SourceLoggingPushbackReader from a given string or PushbackReader" + ([s-or-rdr] + (source-logging-push-back-reader s-or-rdr 1)) + ([s-or-rdr buf-len] + (source-logging-push-back-reader s-or-rdr buf-len nil)) + ([s-or-rdr buf-len file-name] + (SourceLoggingPushbackReader. + (if (string? s-or-rdr) (string-push-back-reader s-or-rdr buf-len) s-or-rdr) + 1 + 1 + true + nil + 0 + file-name + (atom {:buffer (StringBuffer.) :offset '(0)})))) + +(defn read-line + "Reads a line from the reader or from *in* if no reader is specified" + ([^not-native rdr] + (loop [c (read-char rdr) s (StringBuffer.)] + (if (newline? c) + (str s) + (recur (read-char rdr) (.append s c)))))) + +(defn ^boolean source-logging-reader? + [rdr] + (instance? SourceLoggingPushbackReader rdr)) + +(defn ^boolean line-start? + "Returns true if rdr is an IndexingReader and the current char starts a new line" + [^not-native rdr] + (when (indexing-reader? rdr) + (== 1 (get-column-number rdr)))) + +(defn log-source* + [reader f] + (let [buffer (:buffer @(.-frames reader))] + (try + (swap! (.-frames reader) update-in [:offset] conj (.getLength buffer)) + (let [ret (f)] + (if (implements? IMeta ret) + (merge-meta ret {:source (peek-source-log @ (.-frames reader))}) + ret)) + (finally + (swap! (.-frames reader) update-in [:offset] rest))))) + diff --git a/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs.cache.json b/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs.cache.json new file mode 100644 index 0000000..b847667 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$char","~$read-line"]],"~:name","~$cljs.tools.reader.reader-types","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$cljs.tools.reader.impl.utils","^?","~$goog.string","^@","^<","^="],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$whitespace?","^?","^7","^?","~$newline?","^?"],"~:defs",["^ ","~$indexing-push-back-reader",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","~:line",227,"~:column",7,"~:end-line",227,"~:end-column",32,"~:arglists",["~#list",["~$quote",["^O",[["~$s-or-rdr"],["^Q","~$buf-len"],["^Q","^R","~$file-name"]]]]],"~:doc","Creates an IndexingPushbackReader from a given string or PushbackReader","~:top-fn",["^ ","~:variadic",false,"~:max-fixed-arity",3,"~:method-params",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^N",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"~:arglists-meta",["^O",[null,null,null]]]],"^9","~$cljs.tools.reader.reader-types/indexing-push-back-reader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",32,"^U",["^ ","^V",false,"^W",3,"^X",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^N",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^Y",["^O",[null,null,null]]],"^X",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"~:protocol-impl",null,"^Y",["^O",[null,null,null]],"^K",1,"^J",227,"^L",227,"^W",3,"~:fn-var",true,"^N",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^T","Creates an IndexingPushbackReader from a given string or PushbackReader"],"~$log-source*",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",272,"^K",7,"^L",272,"^M",18,"^N",["^O",["^P",["^O",[["~$reader","~$f"]]]]]],"^9","~$cljs.tools.reader.reader-types/log-source*","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",18,"^X",["^O",[["^12","~$f"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",272,"^L",272,"^W",2,"^10",true,"^N",["^O",["^P",["^O",[["^12","~$f"]]]]]],"~$merge-meta",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",139,"^K",7,"^L",139,"^M",17,"^N",["^O",["^P",["^O",[["~$obj","~$m"]]]]],"^T","Returns an object of the same type and value as `obj`, with its\nmetadata merged over `m`."],"^9","~$cljs.tools.reader.reader-types/merge-meta","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",17,"^X",["^O",[["^15","~$m"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",139,"^L",139,"^W",2,"^10",true,"^N",["^O",["^P",["^O",[["^15","~$m"]]]]],"^T","Returns an object of the same type and value as `obj`, with its\nmetadata merged over `m`."],"~$PushbackReader",["^ ","~:num-fields",4,"~:protocols",["^6",["~$cljs.tools.reader.reader-types/Reader","~$cljs.tools.reader.reader-types/IPushbackReader"]],"^9","~$cljs.tools.reader.reader-types/PushbackReader","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",24,"~:type",true,"^K",10,"^J",71,"~:record",false,"^L",71,"~:skip-protocol-flag",null],"~$->StringReader",["^ ","^G",null,"^H",["^ ","^19",["^6",["^1:"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",22,"^K",10,"~:factory","~:positional","^J",43,"^L",43,"^N",["^O",["^P",["^O",[["~$s","~$s-len","~$s-pos"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/StringReader."],"^19",["^6",["^1:"]],"^9","~$cljs.tools.reader.reader-types/->StringReader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",22,"^X",["^O",[["~$s","^1C","^1D"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^1A","^1B","^J",43,"^L",43,"^W",3,"^10",true,"^N",["^O",["^P",["^O",[["~$s","^1C","^1D"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/StringReader."],"~$normalize-newline",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",93,"^K",8,"^L",93,"^M",25,"~:private",true,"^N",["^O",["^P",["^O",[["~$rdr","~$ch"]]]]]],"^1G",true,"^9","~$cljs.tools.reader.reader-types/normalize-newline","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",25,"^X",["^O",[["^1H","^1I"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",93,"^L",93,"^W",2,"^10",true,"^N",["^O",["^P",["^O",[["^1H","^1I"]]]]]],"~$peek-source-log",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",146,"^K",8,"^L",146,"^M",23,"^1G",true,"^N",["^O",["^P",["^O",[["~$frames"]]]]],"^T","Returns a string containing the contents of the top most source\nlogging frame."],"^1G",true,"^9","~$cljs.tools.reader.reader-types/peek-source-log","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",23,"^X",["^O",[["^1L"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",146,"^L",146,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^1L"]]]]],"^T","Returns a string containing the contents of the top most source\nlogging frame."],"~$IndexingPushbackReader",["^ ","^18",7,"^19",["^6",["~$cljs.tools.reader.reader-types/IndexingReader","^1:","^1;"]],"^9","~$cljs.tools.reader.reader-types/IndexingPushbackReader","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",32,"^1=",true,"^K",10,"^J",102,"^1>",false,"^L",102,"^1?",null],"~$StringReader",["^ ","^18",3,"^19",["^6",["^1:"]],"^9","~$cljs.tools.reader.reader-types/StringReader","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",22,"^1=",true,"^K",10,"^J",43,"^1>",false,"^L",43,"^1?",null],"~$Reader",["^ ","^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",21,"^K",14,"^L",21,"^M",20,"^T",null,"~:protocol-symbol",true,"~:jsdoc",["^O",["@interface"]],"~:protocol-info",["^ ","~:methods",["^ ","~$read-char",[["^12"]],"~$peek-char",[["^12"]]]]],"^1T",true,"^9","^1:","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",20,"^K",1,"^J",21,"^1V",["^ ","^1W",["^ ","^1X",[["^12"]],"^1Y",[["^12"]]]],"~:info",null,"^L",21,"~:tag","~$any","~:impls",["^6",["~$cljs.tools.reader.reader-types/SourceLoggingPushbackReader","^1P","~$cljs.tools.reader.reader-types/NodeReadableReader","^1R","^1<"]],"^T",null,"^1U",["^O",["@interface"]]],"~$source-logging-push-back-reader",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",237,"^K",7,"^L",237,"^M",38,"^N",["^O",["^P",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]]]],"^T","Creates a SourceLoggingPushbackReader from a given string or PushbackReader","^U",["^ ","^V",false,"^W",3,"^X",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^N",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^Y",["^O",[null,null,null]]]],"^9","~$cljs.tools.reader.reader-types/source-logging-push-back-reader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",38,"^U",["^ ","^V",false,"^W",3,"^X",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^N",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^Y",["^O",[null,null,null]]],"^X",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^[",null,"^Y",["^O",[null,null,null]],"^K",1,"^J",237,"^L",237,"^W",3,"^10",true,"^N",["^O",[["^Q"],["^Q","^R"],["^Q","^R","^S"]]],"^T","Creates a SourceLoggingPushbackReader from a given string or PushbackReader"],"~$unread",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",28,"^K",4,"^L",28,"^M",10,"~:protocol","^1;","^T","Pushes back a single character on to the stream","^N",["^O",["^P",["^O",[["^12","^1I"]]]]]],"^27","^1;","^9","~$cljs.tools.reader.reader-types/unread","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",10,"^X",["^O",[["^12","^1I"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",27,"^L",28,"^W",2,"^10",true,"^N",["^O",["^P",["^O",[["^12","^1I"]]]]],"^T","Pushes back a single character on to the stream"],"^1Y",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",24,"^K",4,"^L",24,"^M",13,"^27","^1:","^T","Returns the next char from the Reader without removing it from the reader stream","^N",["^O",["^P",["^O",[["^12"]]]]]],"^27","^1:","^9","~$cljs.tools.reader.reader-types/peek-char","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",13,"^X",["^O",[["^12"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",21,"^L",24,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^12"]]]]],"^T","Returns the next char from the Reader without removing it from the reader stream"],"~$IPushbackReader",["^ ","^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",27,"^K",14,"^L",27,"^M",29,"^T",null,"^1T",true,"^1U",["^O",["@interface"]],"^1V",["^ ","^1W",["^ ","^26",[["^12","^1I"]]]]],"^1T",true,"^9","^1;","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",29,"^K",1,"^J",27,"^1V",["^ ","^1W",["^ ","^26",[["^12","^1I"]]]],"^1Z",null,"^L",27,"^1[","^20","^21",["^6",["^22","^1P","^1<"]],"^T",null,"^1U",["^O",["@interface"]]],"~$->NodeReadableReader",["^ ","^G",null,"^H",["^ ","^19",["^6",["^1:"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",28,"^K",10,"^1A","^1B","^J",55,"^L",55,"^N",["^O",["^P",["^O",[["~$readable","~$buf"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/NodeReadableReader."],"^19",["^6",["^1:"]],"^9","~$cljs.tools.reader.reader-types/->NodeReadableReader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",28,"^X",["^O",[["^2<","^2="]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^1A","^1B","^J",55,"^L",55,"^W",2,"^10",true,"^N",["^O",["^P",["^O",[["^2<","^2="]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/NodeReadableReader."],"~$indexing-reader?",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",207,"^K",7,"^L",207,"^M",23,"^N",["^O",["^P",["^O",[["^1H"]]]]],"^T","Returns true if the reader satisfies IndexingReader"],"^9","~$cljs.tools.reader.reader-types/indexing-reader?","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",23,"^X",["^O",[["^1H"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",207,"^L",207,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^1H"]]]]],"^T","Returns true if the reader satisfies IndexingReader"],"~$string-reader",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",212,"^K",7,"^L",212,"^M",20,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^T","Creates a StringReader from a given string"],"^9","~$cljs.tools.reader.reader-types/string-reader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",20,"^X",["^O",[["~$s"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",212,"^L",212,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^T","Creates a StringReader from a given string"],"^1X",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",22,"^K",4,"^L",22,"^M",13,"^27","^1:","^T","Returns the next char from the Reader, nil if the end of stream has been reached","^N",["^O",["^P",["^O",[["^12"]]]]]],"^27","^1:","^9","~$cljs.tools.reader.reader-types/read-char","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",13,"^X",["^O",[["^12"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",21,"^L",22,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^12"]]]]],"^T","Returns the next char from the Reader, nil if the end of stream has been reached"],"~$get-column-number",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",34,"^K",4,"^L",34,"^M",21,"^27","^1O","^T","Returns the column number of the next character to be read from the stream","^N",["^O",["^P",["^O",[["^12"]]]]]],"^27","^1O","^9","~$cljs.tools.reader.reader-types/get-column-number","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",21,"^X",["^O",[["^12"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",31,"^L",34,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^12"]]]]],"^T","Returns the column number of the next character to be read from the stream"],"~$get-file-name",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",36,"^K",4,"^L",36,"^M",17,"^27","^1O","^T","Returns the file name the reader is reading from, or nil","^N",["^O",["^P",["^O",[["^12"]]]]]],"^27","^1O","^9","~$cljs.tools.reader.reader-types/get-file-name","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",17,"^X",["^O",[["^12"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",31,"^L",36,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^12"]]]]],"^T","Returns the file name the reader is reading from, or nil"],"^8",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",254,"^K",7,"^L",254,"^M",16,"^N",["^O",["^P",["^O",[["^1H"]]]]],"^T","Reads a line from the reader or from *in* if no reader is specified"],"^9","~$cljs.tools.reader.reader-types/read-line","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",16,"^X",["^O",[["^1H"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",254,"^L",254,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^1H"]]]]],"^T","Reads a line from the reader or from *in* if no reader is specified"],"~$->PushbackReader",["^ ","^G",null,"^H",["^ ","^19",["^6",["^1:","^1;"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",24,"^K",10,"^1A","^1B","^J",71,"^L",71,"^N",["^O",["^P",["^O",[["^1H","^2=","^R","~$buf-pos"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/PushbackReader."],"^19",["^6",["^1:","^1;"]],"^9","~$cljs.tools.reader.reader-types/->PushbackReader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",24,"^X",["^O",[["^1H","^2=","^R","^2J"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^1A","^1B","^J",71,"^L",71,"^W",4,"^10",true,"^N",["^O",["^P",["^O",[["^1H","^2=","^R","^2J"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/PushbackReader."],"~$log-source-char",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",152,"^K",8,"^L",152,"^M",23,"^1G",true,"^N",["^O",["^P",["^O",[["^1L","^7"]]]]],"^T","Logs `char` to all currently active source logging frames."],"^1G",true,"^9","~$cljs.tools.reader.reader-types/log-source-char","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",23,"^X",["^O",[["^1L","^7"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",152,"^L",152,"^W",2,"^10",true,"^N",["^O",["^P",["^O",[["^1L","^7"]]]]],"^T","Logs `char` to all currently active source logging frames."],"~$string-push-back-reader",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",217,"^K",7,"^L",217,"^M",30,"^N",["^O",["^P",["^O",[["~$s"],["~$s","^R"]]]]],"^T","Creates a PushbackReader from a given string","^U",["^ ","^V",false,"^W",2,"^X",["^O",[["~$s"],["~$s","^R"]]],"^N",["^O",[["~$s"],["~$s","^R"]]],"^Y",["^O",[null,null]]]],"^9","~$cljs.tools.reader.reader-types/string-push-back-reader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",30,"^U",["^ ","^V",false,"^W",2,"^X",["^O",[["~$s"],["~$s","^R"]]],"^N",["^O",[["~$s"],["~$s","^R"]]],"^Y",["^O",[null,null]]],"^X",["^O",[["~$s"],["~$s","^R"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",217,"^L",217,"^W",2,"^10",true,"^N",["^O",[["~$s"],["~$s","^R"]]],"^T","Creates a PushbackReader from a given string"],"~$drop-last-logged-char",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",158,"^K",8,"^L",158,"^M",29,"^1G",true,"^N",["^O",["^P",["^O",[["^1L"]]]]],"^T","Removes the last logged character from all currently active source\nlogging frames. Called when pushing a character back."],"^1G",true,"^9","~$cljs.tools.reader.reader-types/drop-last-logged-char","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",29,"^X",["^O",[["^1L"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",158,"^L",158,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^1L"]]]]],"^T","Removes the last logged character from all currently active source\nlogging frames. Called when pushing a character back."],"~$->SourceLoggingPushbackReader",["^ ","^G",null,"^H",["^ ","^19",["^6",["^1O","^1:","^1;"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",37,"^K",10,"^1A","^1B","^J",165,"^L",165,"^N",["^O",["^P",["^O",[["^1H","~$line","~$column","~$line-start?","~$prev","~$prev-column","^S","^1L"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/SourceLoggingPushbackReader."],"^19",["^6",["^1O","^1:","^1;"]],"^9","~$cljs.tools.reader.reader-types/->SourceLoggingPushbackReader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",37,"^X",["^O",[["^1H","^2S","^2T","^2U","^2V","^2W","^S","^1L"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^1A","^1B","^J",165,"^L",165,"^W",8,"^10",true,"^N",["^O",["^P",["^O",[["^1H","^2S","^2T","^2U","^2V","^2W","^S","^1L"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/SourceLoggingPushbackReader."],"^2U",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",266,"^K",16,"^L",266,"^M",27,"^1[","~$boolean","^N",["^O",["^P",["^O",[["^1H"]]]]],"^T","Returns true if rdr is an IndexingReader and the current char starts a new line"],"^9","~$cljs.tools.reader.reader-types/line-start?","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",27,"^X",["^O",[["^1H"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",266,"~:ret-tag","^2Y","^L",266,"^W",1,"^1[","^2Y","^10",true,"^N",["^O",["^P",["^O",[["^1H"]]]]],"^T","Returns true if rdr is an IndexingReader and the current char starts a new line"],"~$source-logging-reader?",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",262,"^K",16,"^L",262,"^M",38,"^1[","^2Y","^N",["^O",["^P",["^O",[["^1H"]]]]]],"^9","~$cljs.tools.reader.reader-types/source-logging-reader?","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",38,"^X",["^O",[["^1H"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",262,"^2[","^2Y","^L",262,"^W",1,"^1[","^2Y","^10",true,"^N",["^O",["^P",["^O",[["^1H"]]]]]],"~$IndexingReader",["^ ","^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",31,"^K",14,"^L",31,"^M",28,"^T",null,"^1T",true,"^1U",["^O",["@interface"]],"^1V",["^ ","^1W",["^ ","~$get-line-number",[["^12"]],"^2D",[["^12"]],"^2F",[["^12"]]]]],"^1T",true,"^9","^1O","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",28,"^K",1,"^J",31,"^1V",["^ ","^1W",["^ ","^33",[["^12"]],"^2D",[["^12"]],"^2F",[["^12"]]]],"^1Z",null,"^L",31,"^1[","^20","^21",["^6",["^22","^1P"]],"^T",null,"^1U",["^O",["@interface"]]],"~$node-readable-push-back-reader",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",224,"^K",7,"^L",224,"^M",37,"^N",["^O",["^P",["^O",[["^2<"]]]]]],"^9","~$cljs.tools.reader.reader-types/node-readable-push-back-reader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",37,"^X",["^O",[["^2<"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",224,"^L",224,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^2<"]]]]]],"~$SourceLoggingPushbackReader",["^ ","^18",8,"^19",["^6",["^1O","^1:","^1;"]],"^9","^22","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",37,"^1=",true,"^K",10,"^J",165,"^1>",false,"^L",165,"^1?",null],"^33",["^ ","^G",null,"^H",["^ ","^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^J",32,"^K",4,"^L",32,"^M",19,"^27","^1O","^T","Returns the line number of the next character to be read from the stream","^N",["^O",["^P",["^O",[["^12"]]]]]],"^27","^1O","^9","~$cljs.tools.reader.reader-types/get-line-number","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",19,"^X",["^O",[["^12"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^J",31,"^L",32,"^W",1,"^10",true,"^N",["^O",["^P",["^O",[["^12"]]]]],"^T","Returns the line number of the next character to be read from the stream"],"~$NodeReadableReader",["^ ","^18",2,"^19",["^6",["^1:"]],"^9","^23","^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",28,"^1=",true,"^K",10,"^J",55,"^1>",false,"^L",55,"^1?",null],"~$->IndexingPushbackReader",["^ ","^G",null,"^H",["^ ","^19",["^6",["^1O","^1:","^1;"]],"^I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",32,"^K",10,"^1A","^1B","^J",102,"^L",102,"^N",["^O",["^P",["^O",[["^1H","^2S","^2T","^2U","^2V","^2W","^S"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/IndexingPushbackReader."],"^19",["^6",["^1O","^1:","^1;"]],"^9","~$cljs.tools.reader.reader-types/->IndexingPushbackReader","^V",false,"^I","resources/public/js/out/cljs/tools/reader/reader_types.cljs","^M",32,"^X",["^O",[["^1H","^2S","^2T","^2U","^2V","^2W","^S"]]],"^[",null,"^Y",["^O",[null,null]],"^K",1,"^1A","^1B","^J",102,"^L",102,"^W",7,"^10",true,"^N",["^O",["^P",["^O",[["^1H","^2S","^2T","^2U","^2V","^2W","^S"]]]]],"^1?",null,"^T","Positional factory function for cljs.tools.reader.reader-types/IndexingPushbackReader."]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^6",["^1D","^2W","~:offset","^1H","^2=","~:source","^2<","^1L","~$not-native","~$s","^2T","^2J","^1[","~:mutable","^2U","^2S","^1C","^S","^2V","^R","~:buffer"]],"~:order",["~$s","^1C","^1D","^3B","^2<","^2=","^1H","^1[","^3A","^R","^2J","^2S","^2T","^2U","^2V","^2W","^S","^3@","^3C","^3?","^1L"]],"^T","Protocols and default Reader types implementation"] \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs/tools/reader/reader_types.js b/examples/resources/public/js/out/cljs/tools/reader/reader_types.js new file mode 100644 index 0000000..132db23 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/reader_types.js @@ -0,0 +1,798 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('cljs.tools.reader.reader_types'); +goog.require('cljs.core'); +goog.require('cljs.tools.reader.impl.utils'); +goog.require('goog.string'); +goog.require('goog.string.StringBuffer'); + +/** + * @interface + */ +cljs.tools.reader.reader_types.Reader = function(){}; + +/** + * Returns the next char from the Reader, nil if the end of stream has been reached + */ +cljs.tools.reader.reader_types.read_char = (function cljs$tools$reader$reader_types$read_char(reader){ +if(((!((reader == null))) && (!((reader.cljs$tools$reader$reader_types$Reader$read_char$arity$1 == null))))){ +return reader.cljs$tools$reader$reader_types$Reader$read_char$arity$1(reader); +} else { +var x__4211__auto__ = (((reader == null))?null:reader); +var m__4212__auto__ = (cljs.tools.reader.reader_types.read_char[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,reader); +} else { +var m__4212__auto____$1 = (cljs.tools.reader.reader_types.read_char["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,reader); +} else { +throw cljs.core.missing_protocol.call(null,"Reader.read-char",reader); +} +} +} +}); + +/** + * Returns the next char from the Reader without removing it from the reader stream + */ +cljs.tools.reader.reader_types.peek_char = (function cljs$tools$reader$reader_types$peek_char(reader){ +if(((!((reader == null))) && (!((reader.cljs$tools$reader$reader_types$Reader$peek_char$arity$1 == null))))){ +return reader.cljs$tools$reader$reader_types$Reader$peek_char$arity$1(reader); +} else { +var x__4211__auto__ = (((reader == null))?null:reader); +var m__4212__auto__ = (cljs.tools.reader.reader_types.peek_char[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,reader); +} else { +var m__4212__auto____$1 = (cljs.tools.reader.reader_types.peek_char["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,reader); +} else { +throw cljs.core.missing_protocol.call(null,"Reader.peek-char",reader); +} +} +} +}); + + +/** + * @interface + */ +cljs.tools.reader.reader_types.IPushbackReader = function(){}; + +/** + * Pushes back a single character on to the stream + */ +cljs.tools.reader.reader_types.unread = (function cljs$tools$reader$reader_types$unread(reader,ch){ +if(((!((reader == null))) && (!((reader.cljs$tools$reader$reader_types$IPushbackReader$unread$arity$2 == null))))){ +return reader.cljs$tools$reader$reader_types$IPushbackReader$unread$arity$2(reader,ch); +} else { +var x__4211__auto__ = (((reader == null))?null:reader); +var m__4212__auto__ = (cljs.tools.reader.reader_types.unread[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,reader,ch); +} else { +var m__4212__auto____$1 = (cljs.tools.reader.reader_types.unread["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,reader,ch); +} else { +throw cljs.core.missing_protocol.call(null,"IPushbackReader.unread",reader); +} +} +} +}); + + +/** + * @interface + */ +cljs.tools.reader.reader_types.IndexingReader = function(){}; + +/** + * Returns the line number of the next character to be read from the stream + */ +cljs.tools.reader.reader_types.get_line_number = (function cljs$tools$reader$reader_types$get_line_number(reader){ +if(((!((reader == null))) && (!((reader.cljs$tools$reader$reader_types$IndexingReader$get_line_number$arity$1 == null))))){ +return reader.cljs$tools$reader$reader_types$IndexingReader$get_line_number$arity$1(reader); +} else { +var x__4211__auto__ = (((reader == null))?null:reader); +var m__4212__auto__ = (cljs.tools.reader.reader_types.get_line_number[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,reader); +} else { +var m__4212__auto____$1 = (cljs.tools.reader.reader_types.get_line_number["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,reader); +} else { +throw cljs.core.missing_protocol.call(null,"IndexingReader.get-line-number",reader); +} +} +} +}); + +/** + * Returns the column number of the next character to be read from the stream + */ +cljs.tools.reader.reader_types.get_column_number = (function cljs$tools$reader$reader_types$get_column_number(reader){ +if(((!((reader == null))) && (!((reader.cljs$tools$reader$reader_types$IndexingReader$get_column_number$arity$1 == null))))){ +return reader.cljs$tools$reader$reader_types$IndexingReader$get_column_number$arity$1(reader); +} else { +var x__4211__auto__ = (((reader == null))?null:reader); +var m__4212__auto__ = (cljs.tools.reader.reader_types.get_column_number[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,reader); +} else { +var m__4212__auto____$1 = (cljs.tools.reader.reader_types.get_column_number["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,reader); +} else { +throw cljs.core.missing_protocol.call(null,"IndexingReader.get-column-number",reader); +} +} +} +}); + +/** + * Returns the file name the reader is reading from, or nil + */ +cljs.tools.reader.reader_types.get_file_name = (function cljs$tools$reader$reader_types$get_file_name(reader){ +if(((!((reader == null))) && (!((reader.cljs$tools$reader$reader_types$IndexingReader$get_file_name$arity$1 == null))))){ +return reader.cljs$tools$reader$reader_types$IndexingReader$get_file_name$arity$1(reader); +} else { +var x__4211__auto__ = (((reader == null))?null:reader); +var m__4212__auto__ = (cljs.tools.reader.reader_types.get_file_name[goog.typeOf(x__4211__auto__)]); +if(!((m__4212__auto__ == null))){ +return m__4212__auto__.call(null,reader); +} else { +var m__4212__auto____$1 = (cljs.tools.reader.reader_types.get_file_name["_"]); +if(!((m__4212__auto____$1 == null))){ +return m__4212__auto____$1.call(null,reader); +} else { +throw cljs.core.missing_protocol.call(null,"IndexingReader.get-file-name",reader); +} +} +} +}); + + +/** +* @constructor + * @implements {cljs.tools.reader.reader_types.Reader} +*/ +cljs.tools.reader.reader_types.StringReader = (function (s,s_len,s_pos){ +this.s = s; +this.s_len = s_len; +this.s_pos = s_pos; +}); +cljs.tools.reader.reader_types.StringReader.prototype.cljs$tools$reader$reader_types$Reader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.StringReader.prototype.cljs$tools$reader$reader_types$Reader$read_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +if((self__.s_len > self__.s_pos)){ +var r = self__.s.charAt(self__.s_pos); +self__.s_pos = (self__.s_pos + (1)); + +return r; +} else { +return null; +} +}); + +cljs.tools.reader.reader_types.StringReader.prototype.cljs$tools$reader$reader_types$Reader$peek_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +if((self__.s_len > self__.s_pos)){ +return self__.s.charAt(self__.s_pos); +} else { +return null; +} +}); + +cljs.tools.reader.reader_types.StringReader.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.Symbol(null,"s-len","s-len",1869978331,null),cljs.core.with_meta(new cljs.core.Symbol(null,"s-pos","s-pos",-540562492,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +}); + +cljs.tools.reader.reader_types.StringReader.cljs$lang$type = true; + +cljs.tools.reader.reader_types.StringReader.cljs$lang$ctorStr = "cljs.tools.reader.reader-types/StringReader"; + +cljs.tools.reader.reader_types.StringReader.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.tools.reader.reader-types/StringReader"); +}); + +/** + * Positional factory function for cljs.tools.reader.reader-types/StringReader. + */ +cljs.tools.reader.reader_types.__GT_StringReader = (function cljs$tools$reader$reader_types$__GT_StringReader(s,s_len,s_pos){ +return (new cljs.tools.reader.reader_types.StringReader(s,s_len,s_pos)); +}); + + +/** +* @constructor + * @implements {cljs.tools.reader.reader_types.Reader} +*/ +cljs.tools.reader.reader_types.NodeReadableReader = (function (readable,buf){ +this.readable = readable; +this.buf = buf; +}); +cljs.tools.reader.reader_types.NodeReadableReader.prototype.cljs$tools$reader$reader_types$Reader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.NodeReadableReader.prototype.cljs$tools$reader$reader_types$Reader$read_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +if(cljs.core.truth_(self__.buf)){ +var c = (self__.buf[(0)]); +self__.buf = null; + +return cljs.tools.reader.impl.utils.char$.call(null,c); +} else { +var c = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.readable.read((1)))].join(''); +if(cljs.core.truth_(c)){ +return cljs.tools.reader.impl.utils.char$.call(null,c); +} else { +return null; +} +} +}); + +cljs.tools.reader.reader_types.NodeReadableReader.prototype.cljs$tools$reader$reader_types$Reader$peek_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +if(cljs.core.truth_(self__.buf)){ +} else { +self__.buf = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.readable.read((1)))].join(''); +} + +if(cljs.core.truth_(self__.buf)){ +return cljs.tools.reader.impl.utils.char$.call(null,(self__.buf[(0)])); +} else { +return null; +} +}); + +cljs.tools.reader.reader_types.NodeReadableReader.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"readable","readable",2113054478,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,"mutable","mutable",875778266),true], null))], null); +}); + +cljs.tools.reader.reader_types.NodeReadableReader.cljs$lang$type = true; + +cljs.tools.reader.reader_types.NodeReadableReader.cljs$lang$ctorStr = "cljs.tools.reader.reader-types/NodeReadableReader"; + +cljs.tools.reader.reader_types.NodeReadableReader.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.tools.reader.reader-types/NodeReadableReader"); +}); + +/** + * Positional factory function for cljs.tools.reader.reader-types/NodeReadableReader. + */ +cljs.tools.reader.reader_types.__GT_NodeReadableReader = (function cljs$tools$reader$reader_types$__GT_NodeReadableReader(readable,buf){ +return (new cljs.tools.reader.reader_types.NodeReadableReader(readable,buf)); +}); + + +/** +* @constructor + * @implements {cljs.tools.reader.reader_types.Reader} + * @implements {cljs.tools.reader.reader_types.IPushbackReader} +*/ +cljs.tools.reader.reader_types.PushbackReader = (function (rdr,buf,buf_len,buf_pos){ +this.rdr = rdr; +this.buf = buf; +this.buf_len = buf_len; +this.buf_pos = buf_pos; +}); +cljs.tools.reader.reader_types.PushbackReader.prototype.cljs$tools$reader$reader_types$Reader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.PushbackReader.prototype.cljs$tools$reader$reader_types$Reader$read_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +var c = (((self__.buf_pos < self__.buf_len))?(self__.buf[self__.buf_pos]):cljs.tools.reader.reader_types.read_char.call(null,self__.rdr)); +if((self__.buf_pos < self__.buf_len)){ +self__.buf_pos = (self__.buf_pos + (1)); +} else { +} + +return cljs.tools.reader.impl.utils.char$.call(null,c); +}); + +cljs.tools.reader.reader_types.PushbackReader.prototype.cljs$tools$reader$reader_types$Reader$peek_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +var c = (((self__.buf_pos < self__.buf_len))?(self__.buf[self__.buf_pos]):cljs.tools.reader.reader_types.peek_char.call(null,self__.rdr)); +return cljs.tools.reader.impl.utils.char$.call(null,c); +}); + +cljs.tools.reader.reader_types.PushbackReader.prototype.cljs$tools$reader$reader_types$IPushbackReader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.PushbackReader.prototype.cljs$tools$reader$reader_types$IPushbackReader$unread$arity$2 = (function (reader,ch){ +var self__ = this; +var reader__$1 = this; +if(cljs.core.truth_(ch)){ +if((self__.buf_pos === (0))){ +throw (new Error("Pushback buffer is full")); +} else { +} + +self__.buf_pos = (self__.buf_pos - (1)); + +return (self__.buf[self__.buf_pos] = ch); +} else { +return null; +} +}); + +cljs.tools.reader.reader_types.PushbackReader.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"rdr","rdr",190007785,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,"buf","buf",1426618187,null),new cljs.core.Symbol(null,"buf-len","buf-len",404510846,null),cljs.core.with_meta(new cljs.core.Symbol(null,"buf-pos","buf-pos",-807229033,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +}); + +cljs.tools.reader.reader_types.PushbackReader.cljs$lang$type = true; + +cljs.tools.reader.reader_types.PushbackReader.cljs$lang$ctorStr = "cljs.tools.reader.reader-types/PushbackReader"; + +cljs.tools.reader.reader_types.PushbackReader.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.tools.reader.reader-types/PushbackReader"); +}); + +/** + * Positional factory function for cljs.tools.reader.reader-types/PushbackReader. + */ +cljs.tools.reader.reader_types.__GT_PushbackReader = (function cljs$tools$reader$reader_types$__GT_PushbackReader(rdr,buf,buf_len,buf_pos){ +return (new cljs.tools.reader.reader_types.PushbackReader(rdr,buf,buf_len,buf_pos)); +}); + +cljs.tools.reader.reader_types.normalize_newline = (function cljs$tools$reader$reader_types$normalize_newline(rdr,ch){ +if(("\r" === ch)){ +var c = cljs.tools.reader.reader_types.peek_char.call(null,rdr); +if(((("\f" === c)) || (("\n" === c)))){ +cljs.tools.reader.reader_types.read_char.call(null,rdr); +} else { +} + +return "\n"; +} else { +return ch; +} +}); + +/** +* @constructor + * @implements {cljs.tools.reader.reader_types.IndexingReader} + * @implements {cljs.tools.reader.reader_types.Reader} + * @implements {cljs.tools.reader.reader_types.IPushbackReader} +*/ +cljs.tools.reader.reader_types.IndexingPushbackReader = (function (rdr,line,column,line_start_QMARK_,prev,prev_column,file_name){ +this.rdr = rdr; +this.line = line; +this.column = column; +this.line_start_QMARK_ = line_start_QMARK_; +this.prev = prev; +this.prev_column = prev_column; +this.file_name = file_name; +}); +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$Reader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$Reader$read_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +var temp__4657__auto__ = cljs.tools.reader.reader_types.read_char.call(null,self__.rdr); +if(cljs.core.truth_(temp__4657__auto__)){ +var ch = temp__4657__auto__; +var ch__$1 = cljs.tools.reader.reader_types.normalize_newline.call(null,self__.rdr,ch); +self__.prev = self__.line_start_QMARK_; + +self__.line_start_QMARK_ = cljs.tools.reader.impl.utils.newline_QMARK_.call(null,ch__$1); + +if(cljs.core.truth_(self__.line_start_QMARK_)){ +self__.prev_column = self__.column; + +self__.column = (0); + +self__.line = (self__.line + (1)); +} else { +} + +self__.column = (self__.column + (1)); + +return ch__$1; +} else { +return null; +} +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$Reader$peek_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return cljs.tools.reader.reader_types.peek_char.call(null,self__.rdr); +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$IPushbackReader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$IPushbackReader$unread$arity$2 = (function (reader,ch){ +var self__ = this; +var reader__$1 = this; +if(cljs.core.truth_(self__.line_start_QMARK_)){ +self__.line = (self__.line - (1)); + +self__.column = self__.prev_column; +} else { +self__.column = (self__.column - (1)); +} + +self__.line_start_QMARK_ = self__.prev; + +return cljs.tools.reader.reader_types.unread.call(null,self__.rdr,ch); +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$get_line_number$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return (self__.line | (0)); +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$get_column_number$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return (self__.column | (0)); +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$get_file_name$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return self__.file_name; +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"rdr","rdr",190007785,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,"line","line",1852876762,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,"column","column",-576213674,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,"line-start?","line-start?",1357012474,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,"prev","prev",43462301,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,"prev-column","prev-column",324083974,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"file-name","file-name",-13685732,null)], null); +}); + +cljs.tools.reader.reader_types.IndexingPushbackReader.cljs$lang$type = true; + +cljs.tools.reader.reader_types.IndexingPushbackReader.cljs$lang$ctorStr = "cljs.tools.reader.reader-types/IndexingPushbackReader"; + +cljs.tools.reader.reader_types.IndexingPushbackReader.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.tools.reader.reader-types/IndexingPushbackReader"); +}); + +/** + * Positional factory function for cljs.tools.reader.reader-types/IndexingPushbackReader. + */ +cljs.tools.reader.reader_types.__GT_IndexingPushbackReader = (function cljs$tools$reader$reader_types$__GT_IndexingPushbackReader(rdr,line,column,line_start_QMARK_,prev,prev_column,file_name){ +return (new cljs.tools.reader.reader_types.IndexingPushbackReader(rdr,line,column,line_start_QMARK_,prev,prev_column,file_name)); +}); + +/** + * Returns an object of the same type and value as `obj`, with its + * metadata merged over `m`. + */ +cljs.tools.reader.reader_types.merge_meta = (function cljs$tools$reader$reader_types$merge_meta(obj,m){ +var orig_meta = cljs.core.meta.call(null,obj); +return cljs.core.with_meta.call(null,obj,cljs.core.merge.call(null,m,cljs.core.dissoc.call(null,orig_meta,new cljs.core.Keyword(null,"source","source",-433931539)))); +}); +/** + * Returns a string containing the contents of the top most source + * logging frame. + */ +cljs.tools.reader.reader_types.peek_source_log = (function cljs$tools$reader$reader_types$peek_source_log(frames){ +return cljs.core.subs.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(frames))].join(''),cljs.core.first.call(null,new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(frames))); +}); +/** + * Logs `char` to all currently active source logging frames. + */ +cljs.tools.reader.reader_types.log_source_char = (function cljs$tools$reader$reader_types$log_source_char(frames,char$){ +var temp__4657__auto__ = new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(frames); +if(cljs.core.truth_(temp__4657__auto__)){ +var buffer = temp__4657__auto__; +return buffer.append(char$); +} else { +return null; +} +}); +/** + * Removes the last logged character from all currently active source + * logging frames. Called when pushing a character back. + */ +cljs.tools.reader.reader_types.drop_last_logged_char = (function cljs$tools$reader$reader_types$drop_last_logged_char(frames){ +var temp__4657__auto__ = new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(frames); +if(cljs.core.truth_(temp__4657__auto__)){ +var buffer = temp__4657__auto__; +return buffer.set(cljs.core.subs.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(buffer)].join(''),(0),(buffer.getLength() - (1)))); +} else { +return null; +} +}); + +/** +* @constructor + * @implements {cljs.tools.reader.reader_types.IndexingReader} + * @implements {cljs.tools.reader.reader_types.Reader} + * @implements {cljs.tools.reader.reader_types.IPushbackReader} +*/ +cljs.tools.reader.reader_types.SourceLoggingPushbackReader = (function (rdr,line,column,line_start_QMARK_,prev,prev_column,file_name,frames){ +this.rdr = rdr; +this.line = line; +this.column = column; +this.line_start_QMARK_ = line_start_QMARK_; +this.prev = prev; +this.prev_column = prev_column; +this.file_name = file_name; +this.frames = frames; +}); +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$Reader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$Reader$read_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +var temp__4657__auto__ = cljs.tools.reader.reader_types.read_char.call(null,self__.rdr); +if(cljs.core.truth_(temp__4657__auto__)){ +var ch = temp__4657__auto__; +var ch__$1 = cljs.tools.reader.reader_types.normalize_newline.call(null,self__.rdr,ch); +self__.prev = self__.line_start_QMARK_; + +self__.line_start_QMARK_ = cljs.tools.reader.impl.utils.newline_QMARK_.call(null,ch__$1); + +if(cljs.core.truth_(self__.line_start_QMARK_)){ +self__.prev_column = self__.column; + +self__.column = (0); + +self__.line = (self__.line + (1)); +} else { +} + +self__.column = (self__.column + (1)); + +cljs.tools.reader.reader_types.log_source_char.call(null,cljs.core.deref.call(null,self__.frames),ch__$1); + +return ch__$1; +} else { +return null; +} +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$Reader$peek_char$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return cljs.tools.reader.reader_types.peek_char.call(null,self__.rdr); +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$IPushbackReader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$IPushbackReader$unread$arity$2 = (function (reader,ch){ +var self__ = this; +var reader__$1 = this; +if(cljs.core.truth_(self__.line_start_QMARK_)){ +self__.line = (self__.line - (1)); + +self__.column = self__.prev_column; +} else { +self__.column = (self__.column - (1)); +} + +self__.line_start_QMARK_ = self__.prev; + +if(cljs.core.truth_(ch)){ +cljs.tools.reader.reader_types.drop_last_logged_char.call(null,cljs.core.deref.call(null,self__.frames)); +} else { +} + +return cljs.tools.reader.reader_types.unread.call(null,self__.rdr,ch); +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$get_line_number$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return (self__.line | (0)); +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$get_column_number$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return (self__.column | (0)); +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.prototype.cljs$tools$reader$reader_types$IndexingReader$get_file_name$arity$1 = (function (reader){ +var self__ = this; +var reader__$1 = this; +return self__.file_name; +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"rdr","rdr",190007785,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,"line","line",1852876762,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,"column","column",-576213674,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,"line-start?","line-start?",1357012474,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,"prev","prev",43462301,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,"prev-column","prev-column",324083974,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"file-name","file-name",-13685732,null),new cljs.core.Symbol(null,"frames","frames",-888748272,null)], null); +}); + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.cljs$lang$type = true; + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.cljs$lang$ctorStr = "cljs.tools.reader.reader-types/SourceLoggingPushbackReader"; + +cljs.tools.reader.reader_types.SourceLoggingPushbackReader.cljs$lang$ctorPrWriter = (function (this__4161__auto__,writer__4162__auto__,opt__4163__auto__){ +return cljs.core._write.call(null,writer__4162__auto__,"cljs.tools.reader.reader-types/SourceLoggingPushbackReader"); +}); + +/** + * Positional factory function for cljs.tools.reader.reader-types/SourceLoggingPushbackReader. + */ +cljs.tools.reader.reader_types.__GT_SourceLoggingPushbackReader = (function cljs$tools$reader$reader_types$__GT_SourceLoggingPushbackReader(rdr,line,column,line_start_QMARK_,prev,prev_column,file_name,frames){ +return (new cljs.tools.reader.reader_types.SourceLoggingPushbackReader(rdr,line,column,line_start_QMARK_,prev,prev_column,file_name,frames)); +}); + +/** + * Returns true if the reader satisfies IndexingReader + */ +cljs.tools.reader.reader_types.indexing_reader_QMARK_ = (function cljs$tools$reader$reader_types$indexing_reader_QMARK_(rdr){ +if(!((rdr == null))){ +if(((false) || ((cljs.core.PROTOCOL_SENTINEL === rdr.cljs$tools$reader$reader_types$IndexingReader$)))){ +return true; +} else { +return false; +} +} else { +return false; +} +}); +/** + * Creates a StringReader from a given string + */ +cljs.tools.reader.reader_types.string_reader = (function cljs$tools$reader$reader_types$string_reader(s){ +return (new cljs.tools.reader.reader_types.StringReader(s,cljs.core.count.call(null,s),(0))); +}); +/** + * Creates a PushbackReader from a given string + */ +cljs.tools.reader.reader_types.string_push_back_reader = (function cljs$tools$reader$reader_types$string_push_back_reader(var_args){ +var G__24241 = arguments.length; +switch (G__24241) { +case 1: +return cljs.tools.reader.reader_types.string_push_back_reader.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.reader_types.string_push_back_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(''))); + +} +}); + +cljs.tools.reader.reader_types.string_push_back_reader.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return cljs.tools.reader.reader_types.string_push_back_reader.call(null,s,(1)); +}); + +cljs.tools.reader.reader_types.string_push_back_reader.cljs$core$IFn$_invoke$arity$2 = (function (s,buf_len){ +return (new cljs.tools.reader.reader_types.PushbackReader(cljs.tools.reader.reader_types.string_reader.call(null,s),cljs.core.object_array.call(null,buf_len),buf_len,buf_len)); +}); + +cljs.tools.reader.reader_types.string_push_back_reader.cljs$lang$maxFixedArity = 2; + +cljs.tools.reader.reader_types.node_readable_push_back_reader = (function cljs$tools$reader$reader_types$node_readable_push_back_reader(readable){ +return (new cljs.tools.reader.reader_types.PushbackReader((new cljs.tools.reader.reader_types.NodeReadableReader(readable,null)),cljs.core.object_array.call(null,(1)),(1),(1))); +}); +/** + * Creates an IndexingPushbackReader from a given string or PushbackReader + */ +cljs.tools.reader.reader_types.indexing_push_back_reader = (function cljs$tools$reader$reader_types$indexing_push_back_reader(var_args){ +var G__24244 = arguments.length; +switch (G__24244) { +case 1: +return cljs.tools.reader.reader_types.indexing_push_back_reader.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.reader_types.indexing_push_back_reader.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.tools.reader.reader_types.indexing_push_back_reader.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.tools.reader.reader_types.indexing_push_back_reader.cljs$core$IFn$_invoke$arity$1 = (function (s_or_rdr){ +return cljs.tools.reader.reader_types.indexing_push_back_reader.call(null,s_or_rdr,(1)); +}); + +cljs.tools.reader.reader_types.indexing_push_back_reader.cljs$core$IFn$_invoke$arity$2 = (function (s_or_rdr,buf_len){ +return cljs.tools.reader.reader_types.indexing_push_back_reader.call(null,s_or_rdr,buf_len,null); +}); + +cljs.tools.reader.reader_types.indexing_push_back_reader.cljs$core$IFn$_invoke$arity$3 = (function (s_or_rdr,buf_len,file_name){ +return (new cljs.tools.reader.reader_types.IndexingPushbackReader(((typeof s_or_rdr === 'string')?cljs.tools.reader.reader_types.string_push_back_reader.call(null,s_or_rdr,buf_len):s_or_rdr),(1),(1),true,null,(0),file_name)); +}); + +cljs.tools.reader.reader_types.indexing_push_back_reader.cljs$lang$maxFixedArity = 3; + +/** + * Creates a SourceLoggingPushbackReader from a given string or PushbackReader + */ +cljs.tools.reader.reader_types.source_logging_push_back_reader = (function cljs$tools$reader$reader_types$source_logging_push_back_reader(var_args){ +var G__24247 = arguments.length; +switch (G__24247) { +case 1: +return cljs.tools.reader.reader_types.source_logging_push_back_reader.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.tools.reader.reader_types.source_logging_push_back_reader.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.tools.reader.reader_types.source_logging_push_back_reader.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.tools.reader.reader_types.source_logging_push_back_reader.cljs$core$IFn$_invoke$arity$1 = (function (s_or_rdr){ +return cljs.tools.reader.reader_types.source_logging_push_back_reader.call(null,s_or_rdr,(1)); +}); + +cljs.tools.reader.reader_types.source_logging_push_back_reader.cljs$core$IFn$_invoke$arity$2 = (function (s_or_rdr,buf_len){ +return cljs.tools.reader.reader_types.source_logging_push_back_reader.call(null,s_or_rdr,buf_len,null); +}); + +cljs.tools.reader.reader_types.source_logging_push_back_reader.cljs$core$IFn$_invoke$arity$3 = (function (s_or_rdr,buf_len,file_name){ +return (new cljs.tools.reader.reader_types.SourceLoggingPushbackReader(((typeof s_or_rdr === 'string')?cljs.tools.reader.reader_types.string_push_back_reader.call(null,s_or_rdr,buf_len):s_or_rdr),(1),(1),true,null,(0),file_name,cljs.core.atom.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"buffer","buffer",617295198),(new goog.string.StringBuffer()),new cljs.core.Keyword(null,"offset","offset",296498311),cljs.core.list((0))], null)))); +}); + +cljs.tools.reader.reader_types.source_logging_push_back_reader.cljs$lang$maxFixedArity = 3; + +/** + * Reads a line from the reader or from *in* if no reader is specified + */ +cljs.tools.reader.reader_types.read_line = (function cljs$tools$reader$reader_types$read_line(rdr){ +var c = cljs.tools.reader.reader_types.read_char.call(null,rdr); +var s = (new goog.string.StringBuffer()); +while(true){ +if(cljs.tools.reader.impl.utils.newline_QMARK_.call(null,c)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(s)].join(''); +} else { +var G__24249 = cljs.tools.reader.reader_types.read_char.call(null,rdr); +var G__24250 = s.append(c); +c = G__24249; +s = G__24250; +continue; +} +break; +} +}); +cljs.tools.reader.reader_types.source_logging_reader_QMARK_ = (function cljs$tools$reader$reader_types$source_logging_reader_QMARK_(rdr){ +return (rdr instanceof cljs.tools.reader.reader_types.SourceLoggingPushbackReader); +}); +/** + * Returns true if rdr is an IndexingReader and the current char starts a new line + */ +cljs.tools.reader.reader_types.line_start_QMARK_ = (function cljs$tools$reader$reader_types$line_start_QMARK_(rdr){ +if(cljs.core.truth_(cljs.tools.reader.reader_types.indexing_reader_QMARK_.call(null,rdr))){ +return ((1) === cljs.tools.reader.reader_types.get_column_number.call(null,rdr)); +} else { +return null; +} +}); +cljs.tools.reader.reader_types.log_source_STAR_ = (function cljs$tools$reader$reader_types$log_source_STAR_(reader,f){ +var buffer = new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,reader.frames)); +try{cljs.core.swap_BANG_.call(null,reader.frames,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"offset","offset",296498311)], null),cljs.core.conj,buffer.getLength()); + +var ret = f.call(null); +if(((!((ret == null)))?(((((ret.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === ret.cljs$core$IMeta$))))?true:false):false)){ +return cljs.tools.reader.reader_types.merge_meta.call(null,ret,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"source","source",-433931539),cljs.tools.reader.reader_types.peek_source_log.call(null,cljs.core.deref.call(null,reader.frames))], null)); +} else { +return ret; +} +}finally {cljs.core.swap_BANG_.call(null,reader.frames,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"offset","offset",296498311)], null),cljs.core.rest); +}}); + +//# sourceMappingURL=reader_types.js.map?rel=1628501142831 diff --git a/examples/resources/public/js/out/cljs/tools/reader/reader_types.js.map b/examples/resources/public/js/out/cljs/tools/reader/reader_types.js.map new file mode 100644 index 0000000..4dd0375 --- /dev/null +++ b/examples/resources/public/js/out/cljs/tools/reader/reader_types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/cljs\/tools\/reader\/reader_types.js","sources":["reader_types.cljs?rel=1628501142835"],"lineCount":798,"mappings":";AAQA;;;;;AAYA,AAAA;AAAA;;;wCAAA,xCAAaM;;AAAb;;;2CAAA,3CACGC,8FAAWC;AADd,AAAA,GAAA,EAAA,EAAA,WAAA,YAAA,EAAA,CAAA,kEAAA,3FACcA,yBAAAA;AADd,OACcA,+DAAAA;;AADd,IAAAR,kBAAA,EAAA,WAAA,OAAA,jBACcQ,sBAAAA;IADdP,kBAAA,CAAAC,yCAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,EAAA,CAAAC,mBAAA;AAAA,OAAAA,0BACcO;;AADd,IAAAP,sBAAA,CAAAC,yCAAA;AAAA,AAAA,GAAA,EAAA,CAAAD,uBAAA;AAAA,OAAAA,8BACcO;;AADd,MAAA,AAAAJ,qCAAA,mBACcI;;;;;;AADd;;;2CAAA,3CAGGC,8FAAWD;AAHd,AAAA,GAAA,EAAA,EAAA,WAAA,YAAA,EAAA,CAAA,kEAAA,3FAGcA,yBAAAA;AAHd,OAGcA,+DAAAA;;AAHd,IAAAR,kBAAA,EAAA,WAAA,OAAA,jBAGcQ,sBAAAA;IAHdP,kBAAA,CAAAI,yCAAA,AAAAF,YAAAH;AAAA,AAAA,GAAA,EAAA,CAAAC,mBAAA;AAAA,OAAAA,0BAGcO;;AAHd,IAAAP,sBAAA,CAAAI,yCAAA;AAAA,AAAA,GAAA,EAAA,CAAAJ,uBAAA;AAAA,OAAAA,8BAGcO;;AAHd,MAAA,AAAAJ,qCAAA,mBAGcI;;;;;;AAHd,AAMA,AAAA;AAAA;;;iDAAA,jDAAaG;;AAAb;;;wCAAA,xCACGC,wFAAQJ,OAAOK;AADlB,AAAA,GAAA,EAAA,EAAA,WAAA,YAA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AA,EAAA,EAAA,CAAA,0CAAA,eAAA,CAAAxE,gCAAA,yBAAA,KAAA,OAAA,nJAAmB4E,oBAAAA,0FAAAA;AACrB,+DAAA,2CAAA,nGAAC1C,oDAAW0C,wGAAa,yDAAA,AAAAxB,zDAACV,mFAAkB,AAAUvD;;AACtDyF;;UALN,AAOI,iEAAA,mFAAA,pJAACH,+BAAM,AAAUtF,cAAQuF,uKAAoBG","names":["x__4211__auto__","m__4212__auto__","cljs\/tools.reader.reader-types.read-char","goog\/typeOf","cljs.core\/missing-protocol","cljs\/tools.reader.reader-types.peek-char","cljs.tools.reader.reader-types\/Reader","cljs.tools.reader.reader-types\/read-char","reader","cljs.tools.reader.reader-types\/peek-char","cljs\/tools.reader.reader-types.unread","cljs.tools.reader.reader-types\/IPushbackReader","cljs.tools.reader.reader-types\/unread","ch","cljs\/tools.reader.reader-types.get-line-number","cljs\/tools.reader.reader-types.get-column-number","cljs\/tools.reader.reader-types.get-file-name","cljs.tools.reader.reader-types\/IndexingReader","cljs.tools.reader.reader-types\/get-line-number","cljs.tools.reader.reader-types\/get-column-number","cljs.tools.reader.reader-types\/get-file-name","cljs.core\/PROTOCOL_SENTINEL","this__4161__auto__","writer__4162__auto__","opt__4163__auto__","cljs.core\/-write","cljs.tools.reader.reader-types\/StringReader","cljs.tools.reader.reader-types\/->StringReader","s","s-len","s-pos","r","cljs.tools.reader.reader-types\/NodeReadableReader","cljs.tools.reader.reader-types\/->NodeReadableReader","readable","buf","c","cljs.tools.reader.impl.utils\/char","cljs.tools.reader.reader-types\/PushbackReader","cljs.tools.reader.reader-types\/->PushbackReader","rdr","buf-len","buf-pos","js\/Error","cljs.tools.reader.reader-types\/normalize-newline","cljs.tools.reader.reader-types\/IndexingPushbackReader","cljs.tools.reader.reader-types\/->IndexingPushbackReader","line","column","line-start?","prev","prev-column","file-name","temp__4657__auto__","cljs.tools.reader.impl.utils\/newline?","cljs.tools.reader.reader-types\/merge-meta","obj","m","orig-meta","cljs.core\/meta","cljs.core\/with-meta","cljs.core\/merge","cljs.core\/dissoc","cljs.tools.reader.reader-types\/peek-source-log","frames","cljs.core\/subs","cljs.core\/first","cljs.tools.reader.reader-types\/log-source-char","char","buffer","cljs.tools.reader.reader-types\/drop-last-logged-char","cljs.tools.reader.reader-types\/SourceLoggingPushbackReader","cljs.tools.reader.reader-types\/->SourceLoggingPushbackReader","cljs.core\/deref","cljs.tools.reader.reader-types\/indexing-reader?","cljs.tools.reader.reader-types\/string-reader","cljs.core\/count","var_args","G__24241","cljs.tools.reader.reader-types\/string-push-back-reader","cljs.core\/object-array","cljs.tools.reader.reader-types\/node-readable-push-back-reader","G__24244","cljs.tools.reader.reader-types\/indexing-push-back-reader","s-or-rdr","G__24247","cljs.tools.reader.reader-types\/source-logging-push-back-reader","cljs.core\/atom","goog\/string.StringBuffer","cljs.tools.reader.reader-types\/read-line","cljs.tools.reader.reader-types\/source-logging-reader?","cljs.tools.reader.reader-types\/line-start?","cljs.tools.reader.reader-types\/log-source*","f","cljs.core\/swap!","cljs.core\/update-in","cljs.core\/conj","ret","cljs.core\/rest"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/cljs_deps.js b/examples/resources/public/js/out/cljs_deps.js new file mode 100644 index 0000000..966a5d3 --- /dev/null +++ b/examples/resources/public/js/out/cljs_deps.js @@ -0,0 +1,43 @@ +goog.addDependency("base.js", ['goog'], []); +goog.addDependency("../cljs/core.js", ['cljs.core'], ['goog.string', 'goog.Uri', 'goog.object', 'goog.math.Integer', 'goog.string.StringBuffer', 'goog.array', 'goog.math.Long']); +goog.addDependency("../debux/cs/core.js", ['debux.cs.core'], ['cljs.core']); +goog.addDependency("../examples/preload.js", ['examples.preload'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../process/env.js", ['process.env'], ['cljs.core']); +goog.addDependency("../cljs/core/async/impl/protocols.js", ['cljs.core.async.impl.protocols'], ['cljs.core']); +goog.addDependency("../cljs/core/async/impl/ioc_helpers.js", ['cljs.core.async.impl.ioc_helpers'], ['cljs.core', 'cljs.core.async.impl.protocols']); +goog.addDependency("../clojure/string.js", ['clojure.string'], ['goog.string', 'cljs.core', 'goog.string.StringBuffer']); +goog.addDependency("../cljs/tools/reader/impl/utils.js", ['cljs.tools.reader.impl.utils'], ['goog.string', 'cljs.core', 'clojure.string']); +goog.addDependency("../cljs/tools/reader/reader_types.js", ['cljs.tools.reader.reader_types'], ['goog.string', 'cljs.core', 'goog.string.StringBuffer', 'cljs.tools.reader.impl.utils']); +goog.addDependency("../cljs/tools/reader/impl/inspect.js", ['cljs.tools.reader.impl.inspect'], ['cljs.core']); +goog.addDependency("../cljs/tools/reader/impl/errors.js", ['cljs.tools.reader.impl.errors'], ['cljs.core', 'cljs.tools.reader.reader_types', 'cljs.tools.reader.impl.inspect', 'clojure.string']); +goog.addDependency("../cljs/core/async/impl/buffers.js", ['cljs.core.async.impl.buffers'], ['cljs.core', 'cljs.core.async.impl.protocols']); +goog.addDependency("../cljs/core/async/impl/dispatch.js", ['cljs.core.async.impl.dispatch'], ['cljs.core', 'cljs.core.async.impl.buffers', 'goog.async.nextTick']); +goog.addDependency("../cljs/core/async/impl/channels.js", ['cljs.core.async.impl.channels'], ['cljs.core.async.impl.dispatch', 'cljs.core', 'cljs.core.async.impl.buffers', 'cljs.core.async.impl.protocols']); +goog.addDependency("../cljs/pprint.js", ['cljs.pprint'], ['goog.string', 'cljs.core', 'goog.string.StringBuffer', 'clojure.string']); +goog.addDependency("../cljs/tools/reader/impl/commons.js", ['cljs.tools.reader.impl.commons'], ['cljs.tools.reader.impl.errors', 'cljs.core', 'cljs.tools.reader.reader_types', 'cljs.tools.reader.impl.utils']); +goog.addDependency("../cljs/tools/reader.js", ['cljs.tools.reader'], ['cljs.tools.reader.impl.commons', 'goog.string', 'cljs.tools.reader.impl.errors', 'cljs.core', 'cljs.tools.reader.reader_types', 'goog.string.StringBuffer', 'cljs.tools.reader.impl.utils', 'goog.array']); +goog.addDependency("../cljs/tools/reader/edn.js", ['cljs.tools.reader.edn'], ['cljs.tools.reader.impl.commons', 'cljs.tools.reader', 'goog.string', 'cljs.tools.reader.impl.errors', 'cljs.core', 'cljs.tools.reader.reader_types', 'goog.string.StringBuffer', 'cljs.tools.reader.impl.utils']); +goog.addDependency("../cljs/reader.js", ['cljs.reader'], ['cljs.tools.reader.edn', 'cljs.tools.reader', 'cljs.core', 'goog.object', 'goog.string.StringBuffer']); +goog.addDependency("../figwheel/client/utils.js", ['figwheel.client.utils'], ['goog.userAgent.product', 'goog.string', 'cljs.core', 'goog.object', 'goog.string.StringBuffer', 'cljs.pprint', 'goog.async.Deferred', 'clojure.string', 'cljs.reader']); +goog.addDependency("../figwheel/client/socket.js", ['figwheel.client.socket'], ['cljs.core', 'goog.object', 'figwheel.client.utils', 'cljs.reader']); +goog.addDependency("../cljs/spec/gen/alpha.js", ['cljs.spec.gen.alpha'], ['cljs.core']); +goog.addDependency("../cljs/core/async/impl/timers.js", ['cljs.core.async.impl.timers'], ['cljs.core.async.impl.channels', 'cljs.core.async.impl.dispatch', 'cljs.core', 'cljs.core.async.impl.protocols']); +goog.addDependency("../cljs/core/async.js", ['cljs.core.async'], ['cljs.core.async.impl.channels', 'cljs.core.async.impl.dispatch', 'cljs.core', 'cljs.core.async.impl.buffers', 'cljs.core.async.impl.protocols', 'cljs.core.async.impl.ioc_helpers', 'cljs.core.async.impl.timers']); +goog.addDependency("../clojure/set.js", ['clojure.set'], ['cljs.core']); +goog.addDependency("../figwheel/client/file_reloading.js", ['figwheel.client.file_reloading'], ['goog.string', 'goog.net.jsloader', 'goog.Uri', 'cljs.core', 'goog.object', 'cljs.core.async', 'clojure.set', 'goog.html.legacyconversions', 'figwheel.client.utils', 'goog.async.Deferred', 'clojure.string']); +goog.addDependency("../figwheel/client/heads_up.js", ['figwheel.client.heads_up'], ['goog.dom', 'goog.string', 'cljs.core', 'goog.dom.dataset', 'goog.object', 'cljs.core.async', 'cljs.pprint', 'figwheel.client.utils', 'figwheel.client.socket', 'clojure.string']); +goog.addDependency("../clojure/walk.js", ['clojure.walk'], ['cljs.core']); +goog.addDependency("../cljs/spec/alpha.js", ['cljs.spec.alpha'], ['cljs.core', 'goog.object', 'clojure.string', 'clojure.walk', 'cljs.spec.gen.alpha']); +goog.addDependency("../cljs/repl.js", ['cljs.repl'], ['cljs.core', 'cljs.spec.alpha']); +goog.addDependency("../figwheel/client.js", ['figwheel.client'], ['goog.userAgent.product', 'goog.Uri', 'cljs.core', 'goog.object', 'cljs.core.async', 'figwheel.client.file_reloading', 'figwheel.client.utils', 'cljs.repl', 'figwheel.client.heads_up', 'figwheel.client.socket', 'clojure.string', 'cljs.reader']); +goog.addDependency("../figwheel/connect.js", ['figwheel.connect'], ['cljs.core', 'figwheel.client']); +goog.addDependency("../examples/etc.js", ['examples.etc'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/demo.js", ['examples.demo'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/options.js", ['examples.options'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/clog.js", ['examples.clog'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/dbgn.js", ['examples.dbgn'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/clogn.js", ['examples.clogn'], ['cljs.core', 'debux.cs.core', 'cljs.core.async']); +goog.addDependency("../examples/common.js", ['examples.common'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/dbg.js", ['examples.dbg'], ['cljs.core', 'debux.cs.core']); +goog.addDependency("../examples/core.js", ['examples.core'], ['examples.options', 'examples.clog', 'examples.dbgn', 'cljs.core', 'examples.clogn', 'examples.common', 'examples.etc', 'examples.dbg']); +goog.addDependency("../examples/lab.js", ['examples.lab'], ['cljs.core', 'debux.cs.core']); diff --git a/examples/resources/public/js/out/cljsc_opts.edn b/examples/resources/public/js/out/cljsc_opts.edn new file mode 100644 index 0000000..e5720cb --- /dev/null +++ b/examples/resources/public/js/out/cljsc_opts.edn @@ -0,0 +1 @@ +{:main examples.core, :preloads [examples.preload figwheel.connect], :asset-path "js/out", :output-to "resources/public/js/app.js", :output-dir "resources/public/js/out", :source-map true, :optimizations :none, :source-map-timestamp true, :external-config {:figwheel/config {:build-id "dev", :websocket-url "ws://localhost:3449/figwheel-ws"}}} \ No newline at end of file diff --git a/examples/resources/public/js/out/clojure/set.cljs b/examples/resources/public/js/out/clojure/set.cljs new file mode 100644 index 0000000..b9ba41f --- /dev/null +++ b/examples/resources/public/js/out/clojure/set.cljs @@ -0,0 +1,161 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns ^{:doc "Set operations such as union/intersection." + :author "Rich Hickey"} + clojure.set) + +(defn- bubble-max-key [k coll] + "Move a maximal element of coll according to fn k (which returns a number) + to the front of coll." + (let [max (apply max-key k coll)] + (cons max (remove #(identical? max %) coll)))) + +(defn union + "Return a set that is the union of the input sets" + ([] #{}) + ([s1] s1) + ([s1 s2] + (if (< (count s1) (count s2)) + (reduce conj s2 s1) + (reduce conj s1 s2))) + ([s1 s2 & sets] + (let [bubbled-sets (bubble-max-key count (conj sets s2 s1))] + (reduce into (first bubbled-sets) (rest bubbled-sets))))) + +(defn intersection + "Return a set that is the intersection of the input sets" + ([s1] s1) + ([s1 s2] + (if (< (count s2) (count s1)) + (recur s2 s1) + (reduce (fn [result item] + (if (contains? s2 item) + result + (disj result item))) + s1 s1))) + ([s1 s2 & sets] + (let [bubbled-sets (bubble-max-key #(- (count %)) (conj sets s2 s1))] + (reduce intersection (first bubbled-sets) (rest bubbled-sets))))) + +(defn difference + "Return a set that is the first set without elements of the remaining sets" + ([s1] s1) + ([s1 s2] + (if (< (count s1) (count s2)) + (reduce (fn [result item] + (if (contains? s2 item) + (disj result item) + result)) + s1 s1) + (reduce disj s1 s2))) + ([s1 s2 & sets] + (reduce difference s1 (conj sets s2)))) + + +(defn select + "Returns a set of the elements for which pred is true" + [pred xset] + (reduce (fn [s k] (if (pred k) s (disj s k))) + xset xset)) + +(defn project + "Returns a rel of the elements of xrel with only the keys in ks" + [xrel ks] + (set (map #(select-keys % ks) xrel))) + +(defn rename-keys + "Returns the map with the keys in kmap renamed to the vals in kmap" + [map kmap] + (reduce + (fn [m [old new]] + (if (contains? map old) + (assoc m new (get map old)) + m)) + (apply dissoc map (keys kmap)) kmap)) + +(defn rename + "Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap" + [xrel kmap] + (set (map #(rename-keys % kmap) xrel))) + +(defn index + "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." + [xrel ks] + (reduce + (fn [m x] + (let [ik (select-keys x ks)] + (assoc m ik (conj (get m ik #{}) x)))) + {} xrel)) + +(defn map-invert + "Returns the map with the vals mapped to the keys." + [m] (reduce (fn [m [k v]] (assoc m v k)) {} m)) + +(defn join + "When passed 2 rels, returns the rel corresponding to the natural + join. When passed an additional keymap, joins on the corresponding + keys." + ([xrel yrel] ;natural join + (if (and (seq xrel) (seq yrel)) + (let [ks (intersection (set (keys (first xrel))) (set (keys (first yrel)))) + [r s] (if (<= (count xrel) (count yrel)) + [xrel yrel] + [yrel xrel]) + idx (index r ks)] + (reduce (fn [ret x] + (let [found (idx (select-keys x ks))] + (if found + (reduce #(conj %1 (merge %2 x)) ret found) + ret))) + #{} s)) + #{})) + ([xrel yrel km] ;arbitrary key mapping + (let [[r s k] (if (<= (count xrel) (count yrel)) + [xrel yrel (map-invert km)] + [yrel xrel km]) + idx (index r (vals k))] + (reduce (fn [ret x] + (let [found (idx (rename-keys (select-keys x (keys k)) k))] + (if found + (reduce #(conj %1 (merge %2 x)) ret found) + ret))) + #{} s)))) + +(defn subset? + "Is set1 a subset of set2?" + [set1 set2] + (and (<= (count set1) (count set2)) + (every? #(contains? set2 %) set1))) + +(defn superset? + "Is set1 a superset of set2?" + [set1 set2] + (and (>= (count set1) (count set2)) + (every? #(contains? set1 %) set2))) + +(comment +(refer 'set) +(def xs #{{:a 11 :b 1 :c 1 :d 4} + {:a 2 :b 12 :c 2 :d 6} + {:a 3 :b 3 :c 3 :d 8 :f 42}}) + +(def ys #{{:a 11 :b 11 :c 11 :e 5} + {:a 12 :b 11 :c 12 :e 3} + {:a 3 :b 3 :c 3 :e 7 }}) + +(join xs ys) +(join xs (rename ys {:b :yb :c :yc}) {:a :a}) + +(union #{:a :b :c} #{:c :d :e }) +(difference #{:a :b :c} #{:c :d :e}) +(intersection #{:a :b :c} #{:c :d :e}) + +(index ys [:b])) + diff --git a/examples/resources/public/js/out/clojure/set.cljs.cache.json b/examples/resources/public/js/out/clojure/set.cljs.cache.json new file mode 100644 index 0000000..0d78993 --- /dev/null +++ b/examples/resources/public/js/out/clojure/set.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$clojure.set","~:imports",null,"~:requires",null,"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$union",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","~:line",19,"~:column",7,"~:end-line",19,"~:end-column",12,"~:arglists",["~#list",["~$quote",["^G",[[],["~$s1"],["^I","~$s2"],["^I","^J","~$&","~$sets"]]]]],"~:doc","Return a set that is the union of the input sets","~:top-fn",["^ ","~:variadic",true,"~:max-fixed-arity",2,"~:method-params",["^G",[[],["^I"],["^I","^J"]]],"^F",["^G",[[],["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"~:arglists-meta",["^G",[null,null,null,null]]]],"^7","~$clojure.set/union","^N",true,"^A","resources/public/js/out/clojure/set.cljs","^E",12,"^M",["^ ","^N",true,"^O",2,"^P",["^G",[[],["^I"],["^I","^J"]]],"^F",["^G",[[],["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null,null]]],"^P",["^G",[[],["^I"],["^I","^J"]]],"~:protocol-impl",null,"^Q",["^G",[null,null,null,null]],"^C",1,"^B",19,"^D",19,"^O",2,"~:fn-var",true,"^F",["^G",[[],["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^L","Return a set that is the union of the input sets"],"~$map-invert",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",97,"^C",7,"^D",97,"^E",17,"^F",["^G",["^H",["^G",[["~$m"]]]]],"^L","Returns the map with the vals mapped to the keys."],"^7","~$clojure.set/map-invert","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",17,"^P",["^G",[["~$m"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",97,"^D",97,"^O",1,"^T",true,"^F",["^G",["^H",["^G",[["~$m"]]]]],"^L","Returns the map with the vals mapped to the keys."],"~$join",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",101,"^C",7,"^D",101,"^E",11,"^F",["^G",["^H",["^G",[["~$xrel","~$yrel"],["^X","^Y","~$km"]]]]],"^L","When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys.","^M",["^ ","^N",false,"^O",3,"^P",["^G",[["^X","^Y"],["^X","^Y","^Z"]]],"^F",["^G",[["^X","^Y"],["^X","^Y","^Z"]]],"^Q",["^G",[null,null]]]],"^7","~$clojure.set/join","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",11,"^M",["^ ","^N",false,"^O",3,"^P",["^G",[["^X","^Y"],["^X","^Y","^Z"]]],"^F",["^G",[["^X","^Y"],["^X","^Y","^Z"]]],"^Q",["^G",[null,null]]],"^P",["^G",[["^X","^Y"],["^X","^Y","^Z"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",101,"^D",101,"^O",3,"^T",true,"^F",["^G",[["^X","^Y"],["^X","^Y","^Z"]]],"^L","When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys."],"~$select",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",61,"^C",7,"^D",61,"^E",13,"^F",["^G",["^H",["^G",[["~$pred","~$xset"]]]]],"^L","Returns a set of the elements for which pred is true"],"^7","~$clojure.set/select","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",13,"^P",["^G",[["^11","^12"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",61,"^D",61,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^11","^12"]]]]],"^L","Returns a set of the elements for which pred is true"],"~$intersection",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",31,"^C",7,"^D",31,"^E",19,"^F",["^G",["^H",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]]]],"^L","Return a set that is the intersection of the input sets","^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]]],"^7","~$clojure.set/intersection","^N",true,"^A","resources/public/js/out/clojure/set.cljs","^E",19,"^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]],"^P",["^G",[["^I"],["^I","^J"]]],"^S",null,"^Q",["^G",[null,null,null]],"^C",1,"^B",31,"^D",31,"^O",2,"^T",true,"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^L","Return a set that is the intersection of the input sets"],"~$superset?",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",137,"^C",7,"^D",137,"^E",16,"^F",["^G",["^H",["^G",[["~$set1","~$set2"]]]]],"^L","Is set1 a superset of set2?"],"^7","~$clojure.set/superset?","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",16,"^P",["^G",[["^17","^18"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",137,"^D",137,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^17","^18"]]]]],"^L","Is set1 a superset of set2?"],"~$index",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",87,"^C",7,"^D",87,"^E",12,"^F",["^G",["^H",["^G",[["^X","~$ks"]]]]],"^L","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."],"^7","~$clojure.set/index","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",12,"^P",["^G",[["^X","^1;"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",87,"^D",87,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^X","^1;"]]]]],"^L","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."],"~$bubble-max-key",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",13,"^C",8,"^D",13,"^E",22,"~:private",true,"^F",["^G",["^H",["^G",[["~$k","~$coll"]]]]]],"^1>",true,"^7","~$clojure.set/bubble-max-key","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",22,"^P",["^G",[["~$k","^1?"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",13,"^D",13,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["~$k","^1?"]]]]]],"~$subset?",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",131,"^C",7,"^D",131,"^E",14,"^F",["^G",["^H",["^G",[["^17","^18"]]]]],"^L","Is set1 a subset of set2?"],"^7","~$clojure.set/subset?","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",14,"^P",["^G",[["^17","^18"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",131,"^D",131,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^17","^18"]]]]],"^L","Is set1 a subset of set2?"],"~$rename",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",82,"^C",7,"^D",82,"^E",13,"^F",["^G",["^H",["^G",[["^X","~$kmap"]]]]],"^L","Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap"],"^7","~$clojure.set/rename","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",13,"^P",["^G",[["^X","^1D"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",82,"^D",82,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^X","^1D"]]]]],"^L","Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap"],"~$rename-keys",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",72,"^C",7,"^D",72,"^E",18,"^F",["^G",["^H",["^G",[["~$map","^1D"]]]]],"^L","Returns the map with the keys in kmap renamed to the vals in kmap"],"^7","~$clojure.set/rename-keys","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",18,"^P",["^G",[["^1G","^1D"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",72,"^D",72,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^1G","^1D"]]]]],"^L","Returns the map with the keys in kmap renamed to the vals in kmap"],"~$project",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",67,"^C",7,"^D",67,"^E",14,"^F",["^G",["^H",["^G",[["^X","^1;"]]]]],"^L","Returns a rel of the elements of xrel with only the keys in ks"],"^7","~$clojure.set/project","^N",false,"^A","resources/public/js/out/clojure/set.cljs","^E",14,"^P",["^G",[["^X","^1;"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^B",67,"^D",67,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^X","^1;"]]]]],"^L","Returns a rel of the elements of xrel with only the keys in ks"],"~$difference",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/set.cljs","^B",46,"^C",7,"^D",46,"^E",17,"^F",["^G",["^H",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]]]],"^L","Return a set that is the first set without elements of the remaining sets","^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]]],"^7","~$clojure.set/difference","^N",true,"^A","resources/public/js/out/clojure/set.cljs","^E",17,"^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]],"^P",["^G",[["^I"],["^I","^J"]]],"^S",null,"^Q",["^G",[null,null,null]],"^C",1,"^B",46,"^D",46,"^O",2,"^T",true,"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^L","Return a set that is the first set without elements of the remaining sets"]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"^L","Set operations such as union/intersection."] \ No newline at end of file diff --git a/examples/resources/public/js/out/clojure/set.js b/examples/resources/public/js/out/clojure/set.js new file mode 100644 index 0000000..39222a3 --- /dev/null +++ b/examples/resources/public/js/out/clojure/set.js @@ -0,0 +1,391 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('clojure.set'); +goog.require('cljs.core'); +clojure.set.bubble_max_key = (function clojure$set$bubble_max_key(k,coll){ + +var max = cljs.core.apply.call(null,cljs.core.max_key,k,coll); +return cljs.core.cons.call(null,max,cljs.core.remove.call(null,((function (max){ +return (function (p1__24881_SHARP_){ +return (max === p1__24881_SHARP_); +});})(max)) +,coll)); +}); +/** + * Return a set that is the union of the input sets + */ +clojure.set.union = (function clojure$set$union(var_args){ +var G__24886 = arguments.length; +switch (G__24886) { +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__4514__auto__ = []; +var len__4499__auto___24888 = arguments.length; +var i__4500__auto___24889 = (0); +while(true){ +if((i__4500__auto___24889 < len__4499__auto___24888)){ +args_arr__4514__auto__.push((arguments[i__4500__auto___24889])); + +var G__24890 = (i__4500__auto___24889 + (1)); +i__4500__auto___24889 = G__24890; +continue; +} else { +} +break; +} + +var argseq__4515__auto__ = (new cljs.core.IndexedSeq(args_arr__4514__auto__.slice((2)),(0),null)); +return clojure.set.union.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4515__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.call(null,s1) < cljs.core.count.call(null,s2))){ +return cljs.core.reduce.call(null,cljs.core.conj,s2,s1); +} else { +return cljs.core.reduce.call(null,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.call(null,cljs.core.count,cljs.core.conj.call(null,sets,s2,s1)); +return cljs.core.reduce.call(null,cljs.core.into,cljs.core.first.call(null,bubbled_sets),cljs.core.rest.call(null,bubbled_sets)); +}); + +/** @this {Function} */ +clojure.set.union.cljs$lang$applyTo = (function (seq24883){ +var G__24884 = cljs.core.first.call(null,seq24883); +var seq24883__$1 = cljs.core.next.call(null,seq24883); +var G__24885 = cljs.core.first.call(null,seq24883__$1); +var seq24883__$2 = cljs.core.next.call(null,seq24883__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24884,G__24885,seq24883__$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__24896 = arguments.length; +switch (G__24896) { +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__4514__auto__ = []; +var len__4499__auto___24898 = arguments.length; +var i__4500__auto___24899 = (0); +while(true){ +if((i__4500__auto___24899 < len__4499__auto___24898)){ +args_arr__4514__auto__.push((arguments[i__4500__auto___24899])); + +var G__24900 = (i__4500__auto___24899 + (1)); +i__4500__auto___24899 = G__24900; +continue; +} else { +} +break; +} + +var argseq__4515__auto__ = (new cljs.core.IndexedSeq(args_arr__4514__auto__.slice((2)),(0),null)); +return clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4515__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.call(null,s2) < cljs.core.count.call(null,s1))){ +var G__24901 = s2; +var G__24902 = s1; +s1 = G__24901; +s2 = G__24902; +continue; +} else { +return cljs.core.reduce.call(null,((function (s1,s2){ +return (function (result,item){ +if(cljs.core.contains_QMARK_.call(null,s2,item)){ +return result; +} else { +return cljs.core.disj.call(null,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.call(null,(function (p1__24891_SHARP_){ +return (- cljs.core.count.call(null,p1__24891_SHARP_)); +}),cljs.core.conj.call(null,sets,s2,s1)); +return cljs.core.reduce.call(null,clojure.set.intersection,cljs.core.first.call(null,bubbled_sets),cljs.core.rest.call(null,bubbled_sets)); +}); + +/** @this {Function} */ +clojure.set.intersection.cljs$lang$applyTo = (function (seq24893){ +var G__24894 = cljs.core.first.call(null,seq24893); +var seq24893__$1 = cljs.core.next.call(null,seq24893); +var G__24895 = cljs.core.first.call(null,seq24893__$1); +var seq24893__$2 = cljs.core.next.call(null,seq24893__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24894,G__24895,seq24893__$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__24907 = arguments.length; +switch (G__24907) { +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__4514__auto__ = []; +var len__4499__auto___24909 = arguments.length; +var i__4500__auto___24910 = (0); +while(true){ +if((i__4500__auto___24910 < len__4499__auto___24909)){ +args_arr__4514__auto__.push((arguments[i__4500__auto___24910])); + +var G__24911 = (i__4500__auto___24910 + (1)); +i__4500__auto___24910 = G__24911; +continue; +} else { +} +break; +} + +var argseq__4515__auto__ = (new cljs.core.IndexedSeq(args_arr__4514__auto__.slice((2)),(0),null)); +return clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4515__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.call(null,s1) < cljs.core.count.call(null,s2))){ +return cljs.core.reduce.call(null,(function (result,item){ +if(cljs.core.contains_QMARK_.call(null,s2,item)){ +return cljs.core.disj.call(null,result,item); +} else { +return result; +} +}),s1,s1); +} else { +return cljs.core.reduce.call(null,cljs.core.disj,s1,s2); +} +}); + +clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ +return cljs.core.reduce.call(null,clojure.set.difference,s1,cljs.core.conj.call(null,sets,s2)); +}); + +/** @this {Function} */ +clojure.set.difference.cljs$lang$applyTo = (function (seq24904){ +var G__24905 = cljs.core.first.call(null,seq24904); +var seq24904__$1 = cljs.core.next.call(null,seq24904); +var G__24906 = cljs.core.first.call(null,seq24904__$1); +var seq24904__$2 = cljs.core.next.call(null,seq24904__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24905,G__24906,seq24904__$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.call(null,(function (s,k){ +if(cljs.core.truth_(pred.call(null,k))){ +return s; +} else { +return cljs.core.disj.call(null,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.call(null,cljs.core.map.call(null,(function (p1__24912_SHARP_){ +return cljs.core.select_keys.call(null,p1__24912_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.call(null,(function (m,p__24913){ +var vec__24914 = p__24913; +var old = cljs.core.nth.call(null,vec__24914,(0),null); +var new$ = cljs.core.nth.call(null,vec__24914,(1),null); +if(cljs.core.contains_QMARK_.call(null,map,old)){ +return cljs.core.assoc.call(null,m,new$,cljs.core.get.call(null,map,old)); +} else { +return m; +} +}),cljs.core.apply.call(null,cljs.core.dissoc,map,cljs.core.keys.call(null,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.call(null,cljs.core.map.call(null,(function (p1__24917_SHARP_){ +return clojure.set.rename_keys.call(null,p1__24917_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.call(null,(function (m,x){ +var ik = cljs.core.select_keys.call(null,x,ks); +return cljs.core.assoc.call(null,m,ik,cljs.core.conj.call(null,cljs.core.get.call(null,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.reduce.call(null,(function (m__$1,p__24918){ +var vec__24919 = p__24918; +var k = cljs.core.nth.call(null,vec__24919,(0),null); +var v = cljs.core.nth.call(null,vec__24919,(1),null); +return cljs.core.assoc.call(null,m__$1,v,k); +}),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__24927 = arguments.length; +switch (G__24927) { +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.call(null,xrel)) && (cljs.core.seq.call(null,yrel)))){ +var ks = clojure.set.intersection.call(null,cljs.core.set.call(null,cljs.core.keys.call(null,cljs.core.first.call(null,xrel))),cljs.core.set.call(null,cljs.core.keys.call(null,cljs.core.first.call(null,yrel)))); +var vec__24928 = (((cljs.core.count.call(null,xrel) <= cljs.core.count.call(null,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.call(null,vec__24928,(0),null); +var s = cljs.core.nth.call(null,vec__24928,(1),null); +var idx = clojure.set.index.call(null,r,ks); +return cljs.core.reduce.call(null,((function (ks,vec__24928,r,s,idx){ +return (function (ret,x){ +var found = idx.call(null,cljs.core.select_keys.call(null,x,ks)); +if(cljs.core.truth_(found)){ +return cljs.core.reduce.call(null,((function (found,ks,vec__24928,r,s,idx){ +return (function (p1__24922_SHARP_,p2__24923_SHARP_){ +return cljs.core.conj.call(null,p1__24922_SHARP_,cljs.core.merge.call(null,p2__24923_SHARP_,x)); +});})(found,ks,vec__24928,r,s,idx)) +,ret,found); +} else { +return ret; +} +});})(ks,vec__24928,r,s,idx)) +,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__24931 = (((cljs.core.count.call(null,xrel) <= cljs.core.count.call(null,yrel)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [xrel,yrel,clojure.set.map_invert.call(null,km)], null):new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [yrel,xrel,km], null)); +var r = cljs.core.nth.call(null,vec__24931,(0),null); +var s = cljs.core.nth.call(null,vec__24931,(1),null); +var k = cljs.core.nth.call(null,vec__24931,(2),null); +var idx = clojure.set.index.call(null,r,cljs.core.vals.call(null,k)); +return cljs.core.reduce.call(null,((function (vec__24931,r,s,k,idx){ +return (function (ret,x){ +var found = idx.call(null,clojure.set.rename_keys.call(null,cljs.core.select_keys.call(null,x,cljs.core.keys.call(null,k)),k)); +if(cljs.core.truth_(found)){ +return cljs.core.reduce.call(null,((function (found,vec__24931,r,s,k,idx){ +return (function (p1__24924_SHARP_,p2__24925_SHARP_){ +return cljs.core.conj.call(null,p1__24924_SHARP_,cljs.core.merge.call(null,p2__24925_SHARP_,x)); +});})(found,vec__24931,r,s,k,idx)) +,ret,found); +} else { +return ret; +} +});})(vec__24931,r,s,k,idx)) +,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.call(null,set1) <= cljs.core.count.call(null,set2))) && (cljs.core.every_QMARK_.call(null,(function (p1__24935_SHARP_){ +return cljs.core.contains_QMARK_.call(null,set2,p1__24935_SHARP_); +}),set1))); +}); +/** + * Is set1 a superset of set2? + */ +clojure.set.superset_QMARK_ = (function clojure$set$superset_QMARK_(set1,set2){ +return (((cljs.core.count.call(null,set1) >= cljs.core.count.call(null,set2))) && (cljs.core.every_QMARK_.call(null,(function (p1__24936_SHARP_){ +return cljs.core.contains_QMARK_.call(null,set1,p1__24936_SHARP_); +}),set2))); +}); + +//# sourceMappingURL=set.js.map?rel=1628501144168 diff --git a/examples/resources/public/js/out/clojure/set.js.map b/examples/resources/public/js/out/clojure/set.js.map new file mode 100644 index 0000000..c068598 --- /dev/null +++ b/examples/resources/public/js/out/clojure/set.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\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,AAGE,SAAK,CAAI,AAAC3E,0BAAM0E,SAAM,AAAC1E,0BAAM2E,YACxB,iCAAA,WAAAC,5CAACC;AAAD,AAAS,gDAAAD,zCAAC9D,oCAAU6D;GAAQD;;AAEnC;;;8BAAA,9BAAMI,oEAEHJ,KAAKC;AAFR,AAGE,SAAK,CAAI,AAAC3E,0BAAM0E,SAAM,AAAC1E,0BAAM2E,YACxB,iCAAA,WAAAI,5CAACF;AAAD,AAAS,gDAAAE,zCAACjE,oCAAU4D;GAAQC;;AAEnC","names":["clojure.set\/bubble-max-key","k","coll","max","cljs.core\/apply","cljs.core\/max-key","cljs.core\/cons","p1__24881#","cljs.core\/remove","var_args","G__24886","clojure.set\/union","args-arr__4514__auto__","len__4499__auto__","i__4500__auto__","argseq__4515__auto__","cljs.core\/IndexedSeq","seq24883","G__24884","cljs.core\/first","cljs.core\/next","G__24885","self__4486__auto__","s1","s2","cljs.core\/count","cljs.core\/reduce","cljs.core\/conj","sets","bubbled-sets","cljs.core\/into","cljs.core\/rest","G__24896","clojure.set\/intersection","seq24893","G__24894","G__24895","result","item","cljs.core\/contains?","cljs.core\/disj","p1__24891#","G__24907","clojure.set\/difference","seq24904","G__24905","G__24906","clojure.set\/select","pred","xset","s","clojure.set\/project","xrel","ks","cljs.core\/set","p1__24912#","cljs.core\/map","cljs.core\/select-keys","clojure.set\/rename-keys","map","kmap","p__24913","vec__24914","cljs.core\/nth","m","old","new","cljs.core\/assoc","cljs.core\/get","cljs.core\/dissoc","cljs.core\/keys","clojure.set\/rename","p1__24917#","clojure.set\/index","x","ik","clojure.set\/map-invert","p__24918","vec__24919","v","G__24927","clojure.set\/join","js\/Error","yrel","cljs.core\/seq","vec__24928","r","idx","ret","found","p1__24922#","p2__24923#","cljs.core\/merge","km","vec__24931","cljs.core\/vals","p1__24924#","p2__24925#","clojure.set\/subset?","set1","set2","p1__24935#","cljs.core\/every?","clojure.set\/superset?","p1__24936#"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/clojure/string.cljs b/examples/resources/public/js/out/clojure/string.cljs new file mode 100644 index 0000000..26f63f2 --- /dev/null +++ b/examples/resources/public/js/out/clojure/string.cljs @@ -0,0 +1,289 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns clojure.string + (:refer-clojure :exclude [replace reverse]) + (:require [goog.string :as gstring]) + (:import [goog.string StringBuffer])) + +(defn- seq-reverse + [coll] + (reduce conj () coll)) + +(def ^:private re-surrogate-pair + (js/RegExp. "([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])" "g")) + +(defn reverse + "Returns s with its characters reversed." + [s] + (-> (.replace s re-surrogate-pair "$2$1") + (.. (split "") (reverse) (join "")))) + +(defn- replace-all + [s re replacement] + (let [r (js/RegExp. (.-source re) + (cond-> "g" + (.-ignoreCase re) (str "i") + (.-multiline re) (str "m") + (.-unicode re) (str "u")))] + (.replace s r replacement))) + +(defn- replace-with + [f] + (fn [& args] + (let [matches (drop-last 2 args)] + (if (= (count matches) 1) + (f (first matches)) + (f (vec matches)))))) + +(defn replace + "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\"" + [s match replacement] + (cond + (string? match) + (.replace s (js/RegExp. (gstring/regExpEscape match) "g") replacement) + + (instance? js/RegExp match) + (if (string? replacement) + (replace-all s match replacement) + (replace-all s match (replace-with replacement))) + + :else (throw (str "Invalid match arg: " match)))) + +(defn replace-first + "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\"" + [s match replacement] + (.replace s match replacement)) + +(defn join + "Returns a string of all elements in coll, as returned by (seq coll), + separated by an optional separator." + ([coll] + (loop [sb (StringBuffer.) coll (seq coll)] + (if-not (nil? coll) + (recur (. sb (append (str (first coll)))) (next coll)) + (.toString sb)))) + ([separator coll] + (loop [sb (StringBuffer.) coll (seq coll)] + (if-not (nil? coll) + (do + (. sb (append (str (first coll)))) + (let [coll (next coll)] + (when-not (nil? coll) + (. sb (append separator))) + (recur sb coll))) + (.toString sb))))) + +(defn upper-case + "Converts string to all upper-case." + [s] + (.toUpperCase s)) + +(defn lower-case + "Converts string to all lower-case." + [s] + (.toLowerCase s)) + +(defn capitalize + "Converts first character of the string to upper-case, all other + characters to lower-case." + [s] + (gstring/capitalize s)) + +;; The JavaScript split function takes a limit argument but the return +;; value is not the same as the Java split function. +;; +;; Java: (.split "a-b-c" #"-" 2) => ["a" "b-c"] +;; JavaScript: (.split "a-b-c" #"-" 2) => ["a" "b"] +;; +;; For consistency, the three arg version has been implemented to +;; mimic Java's behavior. + +(defn- pop-last-while-empty + [v] + (loop [v v] + (if (identical? "" (peek v)) + (recur (pop v)) + v))) + +(defn- discard-trailing-if-needed + [limit v] + (if (and (== 0 limit) (< 1 (count v))) + (pop-last-while-empty v) + v)) + +(defn- split-with-empty-regex + [s limit] + (if (or (<= limit 0) (>= limit (+ 2 (count s)))) + (conj (vec (cons "" (map str (seq s)))) "") + (condp == limit + 1 (vector s) + 2 (vector "" s) + (let [c (- limit 2)] + (conj (vec (cons "" (subvec (vec (map str (seq s))) 0 c))) (subs s c)))))) + +(defn split + "Splits string on a regular expression. Optional argument limit is + the maximum number of splits. Not lazy. Returns vector of the splits." + ([s re] + (split s re 0)) + ([s re limit] + (discard-trailing-if-needed limit + (if (identical? "/(?:)/" (str re)) + (split-with-empty-regex s limit) + (if (< limit 1) + (vec (.split (str s) re)) + (loop [s s + limit limit + parts []] + (if (== 1 limit) + (conj parts s) + (let [m (re-find re s)] + (if-not (nil? m) + (let [index (.indexOf s m)] + (recur (.substring s (+ index (count m))) + (dec limit) + (conj parts (.substring s 0 index)))) + (conj parts s)))))))))) + +(defn split-lines + "Splits s on \\n or \\r\\n." + [s] + (split s #"\n|\r\n")) + +(defn trim + "Removes whitespace from both ends of string." + [s] + (gstring/trim s)) + +(defn triml + "Removes whitespace from the left side of string." + [s] + (gstring/trimLeft s)) + +(defn trimr + "Removes whitespace from the right side of string." + [s] + (gstring/trimRight s)) + +(defn trim-newline + "Removes all trailing newline \\n or return \\r characters from + string. Similar to Perl's chomp." + [s] + (loop [index (.-length s)] + (if (zero? index) + "" + (let [ch (get s (dec index))] + (if (or (identical? \newline ch) + (identical? \return ch)) + (recur (dec index)) + (.substring s 0 index)))))) + +(defn ^boolean blank? + "True is s is nil, empty, or contains only whitespace." + [s] + (gstring/isEmptySafe s)) + +(defn escape + "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." + [s cmap] + (let [buffer (StringBuffer.) + length (.-length s)] + (loop [index 0] + (if (== length index) + (. buffer (toString)) + (let [ch (.charAt s index) + replacement (get cmap ch)] + (if-not (nil? replacement) + (.append buffer (str replacement)) + (.append buffer ch)) + (recur (inc index))))))) + +(defn index-of + "Return index of value (string or char) in s, optionally searching + forward from from-index or nil if not found." + ([s value] + (let [result (.indexOf s value)] + (if (neg? result) + nil + result))) + ([s value from-index] + (let [result (.indexOf s value from-index)] + (if (neg? result) + nil + result)))) + +(defn last-index-of + "Return last index of value (string or char) in s, optionally + searching backward from from-index or nil if not found." + ([s value] + (let [result (.lastIndexOf s value)] + (if (neg? result) + nil + result))) + ([s value from-index] + (let [result (.lastIndexOf s value from-index)] + (if (neg? result) + nil + result)))) + +(defn ^boolean starts-with? + "True if s starts with substr." + [s substr] + (gstring/startsWith s substr)) + +(defn ^boolean ends-with? + "True if s ends with substr." + [s substr] + (gstring/endsWith s substr)) + +(defn ^boolean includes? + "True if s includes substr." + [s substr] + (gstring/contains s substr)) diff --git a/examples/resources/public/js/out/clojure/string.cljs.cache.json b/examples/resources/public/js/out/clojure/string.cljs.cache.json new file mode 100644 index 0000000..dcfb7e8 --- /dev/null +++ b/examples/resources/public/js/out/clojure/string.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$RegExp",["^ "],"~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$reverse","~$replace"]],"~:name","~$clojure.string","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$gstring","~$goog.string","^A","^A","^=","^>"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$ends-with?",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","~:line",281,"~:column",16,"~:end-line",281,"~:end-column",26,"~:tag","~$boolean","~:arglists",["~#list",["~$quote",["^P",[["~$s","~$substr"]]]]],"~:doc","True if s ends with substr."],"^:","~$clojure.string/ends-with?","~:variadic",false,"^H","resources/public/js/out/clojure/string.cljs","^L",26,"~:method-params",["^P",[["~$s","^R"]]],"~:protocol-impl",null,"~:arglists-meta",["^P",[null,null]],"^J",1,"^I",281,"~:ret-tag","^N","^K",281,"~:max-fixed-arity",2,"^M","^N","~:fn-var",true,"^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s ends with substr."],"~$seq-reverse",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",14,"^J",8,"^K",14,"^L",19,"~:private",true,"^O",["^P",["^Q",["^P",[["~$coll"]]]]]],"^11",true,"^:","~$clojure.string/seq-reverse","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",19,"^V",["^P",[["^12"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",14,"^K",14,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["^12"]]]]]],"~$replace-with",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",36,"^J",8,"^K",36,"^L",20,"^11",true,"^O",["^P",["^Q",["^P",[["~$f"]]]]]],"^11",true,"^:","~$clojure.string/replace-with","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",20,"^V",["^P",[["~$f"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",36,"^K",36,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$f"]]]]]],"~$capitalize",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",129,"^J",7,"^K",129,"^L",17,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts first character of the string to upper-case, all other\n characters to lower-case."],"^:","~$clojure.string/capitalize","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",17,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",129,"^K",129,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts first character of the string to upper-case, all other\n characters to lower-case."],"^8",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",21,"^J",7,"^K",21,"^L",14,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Returns s with its characters reversed."],"^:","~$clojure.string/reverse","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",14,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",21,"^K",21,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Returns s with its characters reversed."],"~$join",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",100,"^J",7,"^K",100,"^L",11,"^O",["^P",["^Q",["^P",[["^12"],["~$separator","^12"]]]]],"^S","Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator.","~:top-fn",["^ ","^U",false,"^Z",2,"^V",["^P",[["^12"],["^1:","^12"]]],"^O",["^P",[["^12"],["^1:","^12"]]],"^X",["^P",[null,null]]]],"^:","~$clojure.string/join","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",11,"^1;",["^ ","^U",false,"^Z",2,"^V",["^P",[["^12"],["^1:","^12"]]],"^O",["^P",[["^12"],["^1:","^12"]]],"^X",["^P",[null,null]]],"^V",["^P",[["^12"],["^1:","^12"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",100,"^K",100,"^Z",2,"^[",true,"^O",["^P",[["^12"],["^1:","^12"]]],"^S","Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator."],"~$replace-first",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",76,"^J",7,"^K",76,"^L",20,"^O",["^P",["^Q",["^P",[["~$s","~$match","~$replacement"]]]]],"^S","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\""],"^:","~$clojure.string/replace-first","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",20,"^V",["^P",[["~$s","^1>","^1?"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",76,"^K",76,"^Z",3,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1>","^1?"]]]]],"^S","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\""],"~$starts-with?",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",276,"^J",16,"^K",276,"^L",28,"^M","^N","^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s starts with substr."],"^:","~$clojure.string/starts-with?","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",28,"^V",["^P",[["~$s","^R"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",276,"^Y","^N","^K",276,"^Z",2,"^M","^N","^[",true,"^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s starts with substr."],"~$escape",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",229,"^J",7,"^K",229,"^L",13,"^O",["^P",["^Q",["^P",[["~$s","~$cmap"]]]]],"^S","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."],"^:","~$clojure.string/escape","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",13,"^V",["^P",[["~$s","^1D"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",229,"^K",229,"^Z",2,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1D"]]]]],"^S","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."],"~$replace-all",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",27,"^J",8,"^K",27,"^L",19,"^11",true,"^O",["^P",["^Q",["^P",[["~$s","~$re","^1?"]]]]]],"^11",true,"^:","~$clojure.string/replace-all","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",19,"^V",["^P",[["~$s","^1G","^1?"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",27,"^K",27,"^Z",3,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1G","^1?"]]]]]],"~$discard-trailing-if-needed",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",151,"^J",8,"^K",151,"^L",34,"^11",true,"^O",["^P",["^Q",["^P",[["~$limit","~$v"]]]]]],"^11",true,"^:","~$clojure.string/discard-trailing-if-needed","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",34,"^V",["^P",[["^1J","~$v"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",151,"^K",151,"^Z",2,"^[",true,"^O",["^P",["^Q",["^P",[["^1J","~$v"]]]]]],"~$last-index-of",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",262,"^J",7,"^K",262,"^L",20,"^O",["^P",["^Q",["^P",[["~$s","~$value"],["~$s","^1M","~$from-index"]]]]],"^S","Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found.","^1;",["^ ","^U",false,"^Z",3,"^V",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^O",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^X",["^P",[null,null]]]],"^:","~$clojure.string/last-index-of","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",20,"^1;",["^ ","^U",false,"^Z",3,"^V",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^O",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^X",["^P",[null,null]]],"^V",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",262,"^K",262,"^Z",3,"^[",true,"^O",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^S","Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found."],"~$pop-last-while-empty",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",144,"^J",8,"^K",144,"^L",28,"^11",true,"^O",["^P",["^Q",["^P",[["~$v"]]]]]],"^11",true,"^:","~$clojure.string/pop-last-while-empty","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",28,"^V",["^P",[["~$v"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",144,"^K",144,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$v"]]]]]],"~$includes?",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",286,"^J",16,"^K",286,"^L",25,"^M","^N","^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s includes substr."],"^:","~$clojure.string/includes?","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",25,"^V",["^P",[["~$s","^R"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",286,"^Y","^N","^K",286,"^Z",2,"^M","^N","^[",true,"^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s includes substr."],"^9",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",44,"^J",7,"^K",44,"^L",14,"^O",["^P",["^Q",["^P",[["~$s","^1>","^1?"]]]]],"^S","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\""],"^:","~$clojure.string/replace","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",14,"^V",["^P",[["~$s","^1>","^1?"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",44,"^K",44,"^Z",3,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1>","^1?"]]]]],"^S","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\""],"~$split-lines",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",191,"^J",7,"^K",191,"^L",18,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Splits s on \\n or \\r\\n."],"^:","~$clojure.string/split-lines","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",18,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",191,"^K",191,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Splits s on \\n or \\r\\n."],"~$lower-case",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",124,"^J",7,"^K",124,"^L",17,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all lower-case."],"^:","~$clojure.string/lower-case","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",17,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",124,"^K",124,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all lower-case."],"~$trim-newline",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",211,"^J",7,"^K",211,"^L",19,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."],"^:","~$clojure.string/trim-newline","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",19,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",211,"^K",211,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."],"~$upper-case",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",119,"^J",7,"^K",119,"^L",17,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all upper-case."],"^:","~$clojure.string/upper-case","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",17,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",119,"^K",119,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all upper-case."],"~$split",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",167,"^J",7,"^K",167,"^L",12,"^O",["^P",["^Q",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]]]],"^S","Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits.","^1;",["^ ","^U",false,"^Z",3,"^V",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]],"^O",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]],"^X",["^P",[null,null]]]],"^:","~$clojure.string/split","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",12,"^1;",["^ ","^U",false,"^Z",3,"^V",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]],"^O",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]],"^X",["^P",[null,null]]],"^V",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",167,"^K",167,"^Z",3,"^[",true,"^O",["^P",[["~$s","^1G"],["~$s","^1G","^1J"]]],"^S","Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits."],"~$trimr",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",206,"^J",7,"^K",206,"^L",12,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the right side of string."],"^:","~$clojure.string/trimr","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",12,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",206,"^K",206,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the right side of string."],"~$index-of",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",248,"^J",7,"^K",248,"^L",15,"^O",["^P",["^Q",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]]]],"^S","Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found.","^1;",["^ ","^U",false,"^Z",3,"^V",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^O",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^X",["^P",[null,null]]]],"^:","~$clojure.string/index-of","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",15,"^1;",["^ ","^U",false,"^Z",3,"^V",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^O",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^X",["^P",[null,null]]],"^V",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",248,"^K",248,"^Z",3,"^[",true,"^O",["^P",[["~$s","^1M"],["~$s","^1M","^1N"]]],"^S","Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found."],"~$trim",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",196,"^J",7,"^K",196,"^L",11,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from both ends of string."],"^:","~$clojure.string/trim","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",11,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",196,"^K",196,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from both ends of string."],"~$triml",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",201,"^J",7,"^K",201,"^L",12,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the left side of string."],"^:","~$clojure.string/triml","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",12,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",201,"^K",201,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the left side of string."],"~$blank?",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",224,"^J",16,"^K",224,"^L",22,"^M","^N","^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","True is s is nil, empty, or contains only whitespace."],"^:","~$clojure.string/blank?","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",22,"^V",["^P",[["~$s"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",224,"^Y","^N","^K",224,"^Z",1,"^M","^N","^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","True is s is nil, empty, or contains only whitespace."],"~$re-surrogate-pair",["^ ","^:","~$clojure.string/re-surrogate-pair","^H","resources/public/js/out/clojure/string.cljs","^I",18,"^J",1,"^K",18,"^L",33,"^11",true,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",18,"^J",16,"^K",18,"^L",33,"^11",true],"^M","~$js/RegExp"],"~$split-with-empty-regex",["^ ","^F",null,"^G",["^ ","^H","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/string.cljs","^I",157,"^J",8,"^K",157,"^L",30,"^11",true,"^O",["^P",["^Q",["^P",[["~$s","^1J"]]]]]],"^11",true,"^:","~$clojure.string/split-with-empty-regex","^U",false,"^H","resources/public/js/out/clojure/string.cljs","^L",30,"^V",["^P",[["~$s","^1J"]]],"^W",null,"^X",["^P",[null,null]],"^J",1,"^I",157,"^K",157,"^Z",2,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1J"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^7",["~:else"]],"~:order",["^2F"]],"^S",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/clojure/string.js b/examples/resources/public/js/out/clojure/string.js new file mode 100644 index 0000000..93487b2 --- /dev/null +++ b/examples/resources/public/js/out/clojure/string.js @@ -0,0 +1,477 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('clojure.string'); +goog.require('cljs.core'); +goog.require('goog.string'); +goog.require('goog.string.StringBuffer'); +clojure.string.seq_reverse = (function clojure$string$seq_reverse(coll){ +return cljs.core.reduce.call(null,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__23080 = "g"; +var G__23080__$1 = (cljs.core.truth_(re.ignoreCase)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__23080),"i"].join(''):G__23080); +var G__23080__$2 = (cljs.core.truth_(re.multiline)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__23080__$1),"m"].join(''):G__23080__$1); +if(cljs.core.truth_(re.unicode)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__23080__$2),"u"].join(''); +} else { +return G__23080__$2; +} +})())); +return s.replace(r,replacement); +}); +clojure.string.replace_with = (function clojure$string$replace_with(f){ +return (function() { +var G__23081__delegate = function (args){ +var matches = cljs.core.drop_last.call(null,(2),args); +if(cljs.core._EQ_.call(null,cljs.core.count.call(null,matches),(1))){ +return f.call(null,cljs.core.first.call(null,matches)); +} else { +return f.call(null,cljs.core.vec.call(null,matches)); +} +}; +var G__23081 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__23082__i = 0, G__23082__a = new Array(arguments.length - 0); +while (G__23082__i < G__23082__a.length) {G__23082__a[G__23082__i] = arguments[G__23082__i + 0]; ++G__23082__i;} + args = new cljs.core.IndexedSeq(G__23082__a,0,null); +} +return G__23081__delegate.call(this,args);}; +G__23081.cljs$lang$maxFixedArity = 0; +G__23081.cljs$lang$applyTo = (function (arglist__23083){ +var args = cljs.core.seq(arglist__23083); +return G__23081__delegate(args); +}); +G__23081.cljs$core$IFn$_invoke$arity$variadic = G__23081__delegate; +return G__23081; +})() +; +}); +/** + * 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.call(null,s,match,replacement); +} else { +return clojure.string.replace_all.call(null,s,match,clojure.string.replace_with.call(null,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__23085 = arguments.length; +switch (G__23085) { +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.call(null,coll); +while(true){ +if(!((coll__$1 == null))){ +var G__23087 = sb.append([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,coll__$1))].join('')); +var G__23088 = cljs.core.next.call(null,coll__$1); +sb = G__23087; +coll__$1 = G__23088; +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.call(null,coll); +while(true){ +if(!((coll__$1 == null))){ +sb.append([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,coll__$1))].join('')); + +var coll__$2 = cljs.core.next.call(null,coll__$1); +if((coll__$2 == null)){ +} else { +sb.append(separator); +} + +var G__23089 = sb; +var G__23090 = coll__$2; +sb = G__23089; +coll__$1 = G__23090; +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.call(null,v__$1))){ +var G__23091 = cljs.core.pop.call(null,v__$1); +v__$1 = G__23091; +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.call(null,v))))){ +return clojure.string.pop_last_while_empty.call(null,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.call(null,s)))))){ +return cljs.core.conj.call(null,cljs.core.vec.call(null,cljs.core.cons.call(null,"",cljs.core.map.call(null,cljs.core.str,cljs.core.seq.call(null,s)))),""); +} else { +var pred__23092 = cljs.core._EQ__EQ_; +var expr__23093 = limit; +if(cljs.core.truth_(pred__23092.call(null,(1),expr__23093))){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[s],null)); +} else { +if(cljs.core.truth_(pred__23092.call(null,(2),expr__23093))){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,["",s],null)); +} else { +var c = (limit - (2)); +return cljs.core.conj.call(null,cljs.core.vec.call(null,cljs.core.cons.call(null,"",cljs.core.subvec.call(null,cljs.core.vec.call(null,cljs.core.map.call(null,cljs.core.str,cljs.core.seq.call(null,s))),(0),c))),cljs.core.subs.call(null,s,c)); +} +} +} +}); +/** + * Splits string on a regular expression. Optional argument limit is + * the maximum number of splits. Not lazy. Returns vector of the splits. + */ +clojure.string.split = (function clojure$string$split(var_args){ +var G__23096 = arguments.length; +switch (G__23096) { +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.call(null,s,re,(0)); +}); + +clojure.string.split.cljs$core$IFn$_invoke$arity$3 = (function (s,re,limit){ +return clojure.string.discard_trailing_if_needed.call(null,limit,((("/(?:)/" === [cljs.core.str.cljs$core$IFn$_invoke$arity$1(re)].join('')))?clojure.string.split_with_empty_regex.call(null,s,limit):(((limit < (1)))?cljs.core.vec.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(s)].join('').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.call(null,parts,s__$1); +} else { +var m = cljs.core.re_find.call(null,re,s__$1); +if(!((m == null))){ +var index = s__$1.indexOf(m); +var G__23098 = s__$1.substring((index + cljs.core.count.call(null,m))); +var G__23099 = (limit__$1 - (1)); +var G__23100 = cljs.core.conj.call(null,parts,s__$1.substring((0),index)); +s__$1 = G__23098; +limit__$1 = G__23099; +parts = G__23100; +continue; +} else { +return cljs.core.conj.call(null,parts,s__$1); +} +} +break; +} +})()))); +}); + +clojure.string.split.cljs$lang$maxFixedArity = 3; + +/** + * Splits s on \n or \r\n. + */ +clojure.string.split_lines = (function clojure$string$split_lines(s){ +return clojure.string.split.call(null,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.call(null,s,(index - (1))); +if(((("\n" === ch)) || (("\r" === ch)))){ +var G__23101 = (index - (1)); +index = G__23101; +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.isEmptySafe(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.call(null,cmap,ch); +if(!((replacement == null))){ +buffer.append([cljs.core.str.cljs$core$IFn$_invoke$arity$1(replacement)].join('')); +} else { +buffer.append(ch); +} + +var G__23102 = (index + (1)); +index = G__23102; +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__23104 = arguments.length; +switch (G__23104) { +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__23107 = arguments.length; +switch (G__23107) { +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=string.js.map?rel=1628501140702 diff --git a/examples/resources/public/js/out/clojure/string.js.map b/examples/resources/public/js/out/clojure/string.js.map new file mode 100644 index 0000000..3dba000 --- /dev/null +++ b/examples/resources/public/js/out/clojure/string.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/clojure\/string.js","sources":["string.cljs?rel=1628501140704"],"lineCount":477,"mappings":";AAQA;;;;AAKA,6BAAA,7BAAOA,kEACJC;AADH,AAEE,iDAAA,1CAACC,2BAAOC,oCAAQF;;AAElB,AAAeG,mCACb,KAAAC,OAAA,yCAAA;AAEF;;;yBAAA,zBAAM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N,AAIG,IAAMC,SAAO,AAAc1E,cAAEyE;AAA7B,AACE,GAAI,UAAA,TAAMC;AAAV;;AAEEA;;;;AAPP,AAAA,6DAAA,7DAAMG,wEAQF7E,EAAEyE,MAAME;AARZ,AASG,IAAMD,SAAO,AAAc1E,cAAEyE,MAAME;AAAnC,AACE,GAAI,UAAA,TAAMD;AAAV;;AAEEA;;;;AAZP,AAAA,uDAAA,vDAAMG;;AAAN,AAcA;;;oCAAA,pCAAeC,gFAEZ9E,EAAE+E;AAFL,AAGE,OAACC,uBAAmBhF,EAAE+E;;AAExB;;;kCAAA,lCAAeE,4EAEZjF,EAAE+E;AAFL,AAGE,OAACG,qBAAiBlF,EAAE+E;;AAEtB;;;iCAAA,jCAAeI,0EAEZnF,EAAE+E;AAFL,AAGE,OAACK,qBAAiBpF,EAAE+E","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__23080","clojure.string\/replace-with","f","args","matches","cljs.core\/drop-last","cljs.core\/=","cljs.core\/count","cljs.core\/first","cljs.core\/vec","clojure.string\/replace","match","goog.string\/regExpEscape","clojure.string\/replace-first","var_args","G__23085","clojure.string\/join","js\/Error","sb","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\/cons","cljs.core\/map","cljs.core\/str","pred__23092","expr__23093","cljs.core\/==","cljs.core\/PersistentVector","c","cljs.core\/subvec","cljs.core\/subs","G__23096","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\/isEmptySafe","clojure.string\/escape","cmap","buffer","length","G__23104","clojure.string\/index-of","value","result","from-index","G__23107","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"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/clojure/walk.cljs b/examples/resources/public/js/out/clojure/walk.cljs new file mode 100644 index 0000000..ffbb6a7 --- /dev/null +++ b/examples/resources/public/js/out/clojure/walk.cljs @@ -0,0 +1,97 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +;;; walk.cljs - generic tree walker with replacement + +;; by Stuart Sierra +;; Jul5 17, 2011 + +;; CHANGE LOG: +;; +;; * July 17, 2011: Port to ClojureScript +;; +;; * December 15, 2008: replaced 'walk' with 'prewalk' & 'postwalk' +;; +;; * December 9, 2008: first version + + +(ns + ^{:author "Stuart Sierra", + :doc "This file defines a generic tree walker for Clojure data +structures. It takes any data structure (list, vector, map, set, +seq), calls a function on every element, and uses the return value +of the function in place of the original. This makes it fairly +easy to write recursive search-and-replace functions, as shown in +the examples. + +Note: \"walk\" supports all Clojure data structures EXCEPT maps +created with sorted-map-by. There is no (obvious) way to retrieve +the sorting function."} + clojure.walk) + +(defn 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." + + {:added "1.1"} + [inner outer form] + (cond + (list? form) (outer (apply list (map inner form))) + (map-entry? form) (outer (vec (map inner form))) + (seq? form) (outer (doall (map inner form))) + (record? form) (outer (reduce (fn [r x] (conj r (inner x))) form form)) + (coll? form) (outer (into (empty form) (map inner form))) + :else (outer form))) + +(defn postwalk + "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." + {:added "1.1"} + [f form] + (walk (partial postwalk f) f form)) + +(defn prewalk + "Like postwalk, but does pre-order traversal." + {:added "1.1"} + [f form] + (walk (partial prewalk f) identity (f form))) + +(defn keywordize-keys + "Recursively transforms all map keys from strings to keywords." + {:added "1.1"} + [m] + (let [f (fn [[k v]] (if (string? k) [(keyword k) v] [k v]))] + ;; only apply to maps + (postwalk (fn [x] (if (map? x) (into {} (map f x)) x)) m))) + +(defn stringify-keys + "Recursively transforms all map keys from keywords to strings." + {:added "1.1"} + [m] + (let [f (fn [[k v]] (if (keyword? k) [(name k) v] [k v]))] + ;; only apply to maps + (postwalk (fn [x] (if (map? x) (into {} (map f x)) x)) m))) + +(defn prewalk-replace + "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." + {:added "1.1"} + [smap form] + (prewalk (fn [x] (if (contains? smap x) (smap x) x)) form)) + +(defn postwalk-replace + "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." + {:added "1.1"} + [smap form] + (postwalk (fn [x] (if (contains? smap x) (smap x) x)) form)) diff --git a/examples/resources/public/js/out/clojure/walk.cljs.cache.json b/examples/resources/public/js/out/clojure/walk.cljs.cache.json new file mode 100644 index 0000000..37960b2 --- /dev/null +++ b/examples/resources/public/js/out/clojure/walk.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$clojure.walk","~:imports",null,"~:requires",null,"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$walk",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","~:line",37,"~:column",7,"~:end-line",37,"~:end-column",11,"~:arglists",["~#list",["~$quote",["^E",[["~$inner","~$outer","~$form"]]]]],"~:doc","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.","~:added","1.1"],"^K","1.1","^5","~$clojure.walk/walk","~:variadic",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",11,"~:method-params",["^E",[["^G","^H","^I"]]],"~:protocol-impl",null,"~:arglists-meta",["^E",[null,null]],"^A",1,"^@",37,"^B",37,"~:max-fixed-arity",3,"~:fn-var",true,"^D",["^E",["^F",["^E",[["^G","^H","^I"]]]]],"^J","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."],"~$postwalk",["^ ","^=",null,"^>",["^ ","^?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","^@",53,"^A",7,"^B",53,"^C",15,"^D",["^E",["^F",["^E",[["~$f","^I"]]]]],"^J","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.","^K","1.1"],"^K","1.1","^5","~$clojure.walk/postwalk","^M",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",15,"^N",["^E",[["~$f","^I"]]],"^O",null,"^P",["^E",[null,null]],"^A",1,"^@",53,"^B",53,"^Q",2,"^R",true,"^D",["^E",["^F",["^E",[["~$f","^I"]]]]],"^J","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."],"~$prewalk",["^ ","^=",null,"^>",["^ ","^?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","^@",61,"^A",7,"^B",61,"^C",14,"^D",["^E",["^F",["^E",[["~$f","^I"]]]]],"^J","Like postwalk, but does pre-order traversal.","^K","1.1"],"^K","1.1","^5","~$clojure.walk/prewalk","^M",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",14,"^N",["^E",[["~$f","^I"]]],"^O",null,"^P",["^E",[null,null]],"^A",1,"^@",61,"^B",61,"^Q",2,"^R",true,"^D",["^E",["^F",["^E",[["~$f","^I"]]]]],"^J","Like postwalk, but does pre-order traversal."],"~$keywordize-keys",["^ ","^=",null,"^>",["^ ","^?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","^@",67,"^A",7,"^B",67,"^C",22,"^D",["^E",["^F",["^E",[["~$m"]]]]],"^J","Recursively transforms all map keys from strings to keywords.","^K","1.1"],"^K","1.1","^5","~$clojure.walk/keywordize-keys","^M",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",22,"^N",["^E",[["~$m"]]],"^O",null,"^P",["^E",[null,null]],"^A",1,"^@",67,"^B",67,"^Q",1,"^R",true,"^D",["^E",["^F",["^E",[["~$m"]]]]],"^J","Recursively transforms all map keys from strings to keywords."],"~$stringify-keys",["^ ","^=",null,"^>",["^ ","^?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","^@",75,"^A",7,"^B",75,"^C",21,"^D",["^E",["^F",["^E",[["~$m"]]]]],"^J","Recursively transforms all map keys from keywords to strings.","^K","1.1"],"^K","1.1","^5","~$clojure.walk/stringify-keys","^M",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",21,"^N",["^E",[["~$m"]]],"^O",null,"^P",["^E",[null,null]],"^A",1,"^@",75,"^B",75,"^Q",1,"^R",true,"^D",["^E",["^F",["^E",[["~$m"]]]]],"^J","Recursively transforms all map keys from keywords to strings."],"~$prewalk-replace",["^ ","^=",null,"^>",["^ ","^?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","^@",83,"^A",7,"^B",83,"^C",22,"^D",["^E",["^F",["^E",[["~$smap","^I"]]]]],"^J","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.","^K","1.1"],"^K","1.1","^5","~$clojure.walk/prewalk-replace","^M",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",22,"^N",["^E",[["^10","^I"]]],"^O",null,"^P",["^E",[null,null]],"^A",1,"^@",83,"^B",83,"^Q",2,"^R",true,"^D",["^E",["^F",["^E",[["^10","^I"]]]]],"^J","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."],"~$postwalk-replace",["^ ","^=",null,"^>",["^ ","^?","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/clojure/walk.cljs","^@",91,"^A",7,"^B",91,"^C",23,"^D",["^E",["^F",["^E",[["^10","^I"]]]]],"^J","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.","^K","1.1"],"^K","1.1","^5","~$clojure.walk/postwalk-replace","^M",false,"^?","resources/public/js/out/clojure/walk.cljs","^C",23,"^N",["^E",[["^10","^I"]]],"^O",null,"^P",["^E",[null,null]],"^A",1,"^@",91,"^B",91,"^Q",2,"^R",true,"^D",["^E",["^F",["^E",[["^10","^I"]]]]],"^J","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."]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^4",["~:else"]],"~:order",["^18"]],"^J","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."] \ No newline at end of file diff --git a/examples/resources/public/js/out/clojure/walk.js b/examples/resources/public/js/out/clojure/walk.js new file mode 100644 index 0000000..699d3da --- /dev/null +++ b/examples/resources/public/js/out/clojure/walk.js @@ -0,0 +1,127 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('clojure.walk'); +goog.require('cljs.core'); +/** + * 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_.call(null,form)){ +return outer.call(null,cljs.core.apply.call(null,cljs.core.list,cljs.core.map.call(null,inner,form))); +} else { +if(cljs.core.map_entry_QMARK_.call(null,form)){ +return outer.call(null,cljs.core.vec.call(null,cljs.core.map.call(null,inner,form))); +} else { +if(cljs.core.seq_QMARK_.call(null,form)){ +return outer.call(null,cljs.core.doall.call(null,cljs.core.map.call(null,inner,form))); +} else { +if(cljs.core.record_QMARK_.call(null,form)){ +return outer.call(null,cljs.core.reduce.call(null,(function (r,x){ +return cljs.core.conj.call(null,r,inner.call(null,x)); +}),form,form)); +} else { +if(cljs.core.coll_QMARK_.call(null,form)){ +return outer.call(null,cljs.core.into.call(null,cljs.core.empty.call(null,form),cljs.core.map.call(null,inner,form))); +} else { +return 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.call(null,cljs.core.partial.call(null,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.call(null,cljs.core.partial.call(null,clojure.walk.prewalk,f),cljs.core.identity,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__25609){ +var vec__25610 = p__25609; +var k = cljs.core.nth.call(null,vec__25610,(0),null); +var v = cljs.core.nth.call(null,vec__25610,(1),null); +if(typeof k === 'string'){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.keyword.call(null,k),v], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v], null); +} +}); +return clojure.walk.postwalk.call(null,((function (f){ +return (function (x){ +if(cljs.core.map_QMARK_.call(null,x)){ +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,f,x)); +} else { +return x; +} +});})(f)) +,m); +}); +/** + * Recursively transforms all map keys from keywords to strings. + */ +clojure.walk.stringify_keys = (function clojure$walk$stringify_keys(m){ +var f = (function (p__25613){ +var vec__25614 = p__25613; +var k = cljs.core.nth.call(null,vec__25614,(0),null); +var v = cljs.core.nth.call(null,vec__25614,(1),null); +if((k instanceof cljs.core.Keyword)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.name.call(null,k),v], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v], null); +} +}); +return clojure.walk.postwalk.call(null,((function (f){ +return (function (x){ +if(cljs.core.map_QMARK_.call(null,x)){ +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,f,x)); +} else { +return x; +} +});})(f)) +,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.call(null,(function (x){ +if(cljs.core.contains_QMARK_.call(null,smap,x)){ +return 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.call(null,(function (x){ +if(cljs.core.contains_QMARK_.call(null,smap,x)){ +return smap.call(null,x); +} else { +return x; +} +}),form); +}); + +//# sourceMappingURL=walk.js.map?rel=1628501144699 diff --git a/examples/resources/public/js/out/clojure/walk.js.map b/examples/resources/public/js/out/clojure/walk.js.map new file mode 100644 index 0000000..93a495a --- /dev/null +++ b/examples/resources/public/js/out/clojure/walk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/clojure\/walk.js","sources":["walk.cljs?rel=1628501144700"],"lineCount":127,"mappings":";AAsBA;;AAcA;;;;;;oBAAA,pBAAMA,gDAOHC,MAAMC,MAAMC;AAPf,AAQE,GACE,AAACC,gCAAMD;AAAW,OAACD,gBAAM,AAACG,0BAAMC,eAAK,AAACC,wBAAIN,MAAME;;AADlD,GAEE,AAACK,qCAAWL;AAAM,OAACD,gBAAM,AAACO,wBAAI,AAACF,wBAAIN,MAAME;;AAF3C,GAGE,AAACO,+BAAKP;AAAY,OAACD,gBAAM,AAACS,0BAAM,AAACJ,wBAAIN,MAAME;;AAH7C,GAIE,AAACS,kCAAQT;AAAS,OAACD,gBAAM,AAACW,2BAAO,WAAKC,EAAEC;AAAP,AAAU,OAACC,yBAAKF,EAAE,AAACb,gBAAMc;GAAKZ,KAAKA;;AAJtE,GAKE,AAACc,gCAAMd;AAAW,OAACD,gBAAM,AAACgB,yBAAK,AAACC,0BAAMhB,MAAM,AAACI,wBAAIN,MAAME;;AALzD,AAMoB,OAACD,gBAAMC;;;;;;;;AAE7B;;;;;wBAAA,xBAAMiB,wDAKHC,EAAElB;AALL,AAME,OAACH,4BAAK,AAACsB,4BAAQF,sBAASC,GAAGA,EAAElB;;AAE\/B;;;uBAAA,vBAAMoB,sDAGHF,EAAElB;AAHL,AAIE,OAACH,4BAAK,AAACsB,4B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/apply","cljs.core\/list","cljs.core\/map","cljs.core\/map-entry?","cljs.core\/vec","cljs.core\/seq?","cljs.core\/doall","cljs.core\/record?","cljs.core\/reduce","r","x","cljs.core\/conj","cljs.core\/coll?","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__25609","vec__25610","cljs.core\/nth","k","v","cljs.core\/keyword","cljs.core\/map?","clojure.walk\/stringify-keys","p__25613","vec__25614","cljs.core\/Keyword","cljs.core\/name","clojure.walk\/prewalk-replace","smap","cljs.core\/contains?","clojure.walk\/postwalk-replace"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/debux/cs/core.cljc b/examples/resources/public/js/out/debux/cs/core.cljc new file mode 100644 index 0000000..ade9dc9 --- /dev/null +++ b/examples/resources/public/js/out/debux/cs/core.cljc @@ -0,0 +1,61 @@ +(ns debux.cs.core) + +;;; config APIS +(defn set-debug-mode! [val]) +(defn set-source-info-mode! [val]) +(defn set-print-length! [num]) +(defn set-line-bullet! [bulet]) +(defn set-cljs-devtools! [bool]) + +(defmacro set-ns-blacklist! [blacklist]) +(defmacro set-ns-whitelist! [whitelist]) + + +;;; debugging APIs +(defmacro dbg [form & opts] form) +(defmacro dbgn [form & opts] form) +(defmacro dbgt [form & opts] form) +(defmacro dbg-last [& args] (last args)) + +(defmacro clog [form & opts] form) +(defmacro clogn [form & opts] form) +(defmacro clogt [form & opts] form) +(defmacro clog-last [& args] (last args)) + +(defmacro with-level [debug-level & args] + `(when true ~@args)) + +(defmacro break [& opts]) + + +;;; turn-off versions +(defmacro dbg_ [form & opts] form) +(defmacro dbgn_ [form & opts] form) +(defmacro dbgt_ [form & opts] form) +(defmacro dbg-last_ [& args] (last args)) + +(defmacro clog_ [form & opts] form) +(defmacro clogn_ [form & opts] form) +(defmacro clogt_ [form & opts] form) +(defmacro clog-last_ [& args] (last args)) + +(defmacro break_ [& opts]) + + +;;; tag literals +(defn clog-tag [form] form) +(defn clogn-tag [form] form) +(defn clogt-tag [form] form) + + +;;; macro registering APIs +(defmacro register-macros! [macro-type symbols]) + +(defmacro show-macros + ([]) + ([macro-type])) + + +;;; style option API +(defn merge-styles [new-style]) + diff --git a/examples/resources/public/js/out/debux/cs/core.cljc.cache.json b/examples/resources/public/js/out/debux/cs/core.cljc.cache.json new file mode 100644 index 0000000..f0d5d4f --- /dev/null +++ b/examples/resources/public/js/out/debux/cs/core.cljc.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$debux.cs.core","~:imports",null,"~:requires",null,"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$set-ns-blacklist!",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","~:line",10,"~:column",11,"~:end-line",10,"~:end-column",28,"~:macro",true,"~:arglists",["~#list",["~$quote",["^H",[["~$blacklist"]]]]]],"^7","~$debux.cs.core/set-ns-blacklist!","~:variadic",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",28,"~:method-params",["^H",[["~$&form","~$&env","^J"]]],"~:protocol-impl",null,"~:arglists-meta",["^H",[null,null]],"^C",1,"^B",10,"^F",true,"^D",10,"~:max-fixed-arity",3,"~:fn-var",false,"^G",["^H",["^I",["^H",[["^J"]]]]]],"~$dbg-last_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",35,"^C",11,"^D",35,"^E",20,"^F",true,"^G",["^H",["^I",["^H",[["~$&","~$args"]]]]],"~:top-fn",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbg-last_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",20,"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^U"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",35,"^F",true,"^D",35,"^R",2,"^S",false,"^G",["^H",[["^N","^O","~$&","^U"]]]],"~$set-cljs-devtools!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",8,"^C",7,"^D",8,"^E",25,"^G",["^H",["^I",["^H",[["~$bool"]]]]]],"^7","~$debux.cs.core/set-cljs-devtools!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",25,"^M",["^H",[["^Y"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",8,"^D",8,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^Y"]]]]]],"~$clog",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",20,"^C",11,"^D",20,"^E",15,"^F",true,"^G",["^H",["^I",["^H",[["~$form","~$&","~$opts"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clog","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",15,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",20,"^F",true,"^D",20,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$dbgn",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",16,"^C",11,"^D",16,"^E",15,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbgn","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",15,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",16,"^F",true,"^D",16,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$clogt_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",39,"^C",11,"^D",39,"^E",17,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clogt_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",17,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",39,"^F",true,"^D",39,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$dbg",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",15,"^C",11,"^D",15,"^E",14,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbg","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",14,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",15,"^F",true,"^D",15,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$set-debug-mode!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",4,"^C",7,"^D",4,"^E",22,"^G",["^H",["^I",["^H",[["~$val"]]]]]],"^7","~$debux.cs.core/set-debug-mode!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",22,"^M",["^H",[["^1:"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",4,"^D",4,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^1:"]]]]]],"~$dbg-last",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",18,"^C",11,"^D",18,"^E",19,"^F",true,"^G",["^H",["^I",["^H",[["~$&","^U"]]]]],"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbg-last","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",19,"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^U"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",18,"^F",true,"^D",18,"^R",2,"^S",false,"^G",["^H",[["^N","^O","~$&","^U"]]]],"~$clogt",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",22,"^C",11,"^D",22,"^E",16,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clogt","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",22,"^F",true,"^D",22,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$set-ns-whitelist!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",11,"^C",11,"^D",11,"^E",28,"^F",true,"^G",["^H",["^I",["^H",[["~$whitelist"]]]]]],"^7","~$debux.cs.core/set-ns-whitelist!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",28,"^M",["^H",[["^N","^O","^1A"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",11,"^F",true,"^D",11,"^R",3,"^S",false,"^G",["^H",["^I",["^H",[["^1A"]]]]]],"~$clogt-tag",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",48,"^C",7,"^D",48,"^E",16,"^G",["^H",["^I",["^H",[["^10"]]]]]],"^7","~$debux.cs.core/clogt-tag","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^M",["^H",[["^10"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",48,"^D",48,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^10"]]]]]],"~$clog-last",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",23,"^C",11,"^D",23,"^E",20,"^F",true,"^G",["^H",["^I",["^H",[["~$&","^U"]]]]],"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clog-last","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",20,"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^U"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",23,"^F",true,"^D",23,"^R",2,"^S",false,"^G",["^H",[["^N","^O","~$&","^U"]]]],"~$set-source-info-mode!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",5,"^C",7,"^D",5,"^E",28,"^G",["^H",["^I",["^H",[["^1:"]]]]]],"^7","~$debux.cs.core/set-source-info-mode!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",28,"^M",["^H",[["^1:"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",5,"^D",5,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^1:"]]]]]],"~$show-macros",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",54,"^C",11,"^D",54,"^E",22,"^F",true,"^G",["^H",["^I",["^H",[[],["~$macro-type"]]]]],"^V",["^ ","^L",false,"^R",3,"^M",["^H",[["^N","^O"],["^N","^O","^1J"]]],"^G",["^H",[["^N","^O"],["^N","^O","^1J"]]],"^Q",["^H",[null,null]]]],"^7","~$debux.cs.core/show-macros","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",22,"^V",["^ ","^L",false,"^R",3,"^M",["^H",[["^N","^O"],["^N","^O","^1J"]]],"^G",["^H",[["^N","^O"],["^N","^O","^1J"]]],"^Q",["^H",[null,null]]],"^M",["^H",[["^N","^O"],["^N","^O","^1J"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",54,"^F",true,"^D",54,"^R",3,"^S",false,"^G",["^H",[["^N","^O"],["^N","^O","^1J"]]]],"~$with-level",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",25,"^C",11,"^D",25,"^E",21,"^F",true,"^G",["^H",["^I",["^H",[["~$debug-level","~$&","^U"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^1M","^U"]]],"^G",["^H",[["^N","^O","^1M","~$&","^U"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/with-level","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",21,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^1M","^U"]]],"^G",["^H",[["^N","^O","^1M","~$&","^U"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^1M","^U"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",25,"^F",true,"^D",25,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^1M","~$&","^U"]]]],"~$set-print-length!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",6,"^C",7,"^D",6,"^E",24,"^G",["^H",["^I",["^H",[["~$num"]]]]]],"^7","~$debux.cs.core/set-print-length!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",24,"^M",["^H",[["^1P"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",6,"^D",6,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^1P"]]]]]],"~$clogn_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",38,"^C",11,"^D",38,"^E",17,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clogn_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",17,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",38,"^F",true,"^D",38,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$clog-last_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",40,"^C",11,"^D",40,"^E",21,"^F",true,"^G",["^H",["^I",["^H",[["~$&","^U"]]]]],"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clog-last_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",21,"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^U"]]],"^G",["^H",[["^N","^O","~$&","^U"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^U"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",40,"^F",true,"^D",40,"^R",2,"^S",false,"^G",["^H",[["^N","^O","~$&","^U"]]]],"~$dbgn_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",33,"^C",11,"^D",33,"^E",16,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbgn_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",33,"^F",true,"^D",33,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$clogn",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",21,"^C",11,"^D",21,"^E",16,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clogn","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",21,"^F",true,"^D",21,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$register-macros!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",52,"^C",11,"^D",52,"^E",27,"^F",true,"^G",["^H",["^I",["^H",[["^1J","~$symbols"]]]]]],"^7","~$debux.cs.core/register-macros!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",27,"^M",["^H",[["^N","^O","^1J","^1["]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",52,"^F",true,"^D",52,"^R",4,"^S",false,"^G",["^H",["^I",["^H",[["^1J","^1["]]]]]],"~$clog-tag",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",46,"^C",7,"^D",46,"^E",15,"^G",["^H",["^I",["^H",[["^10"]]]]]],"^7","~$debux.cs.core/clog-tag","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",15,"^M",["^H",[["^10"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",46,"^D",46,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^10"]]]]]],"~$break_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",42,"^C",11,"^D",42,"^E",17,"^F",true,"^G",["^H",["^I",["^H",[["~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^11"]]],"^G",["^H",[["^N","^O","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/break_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",17,"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^11"]]],"^G",["^H",[["^N","^O","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",42,"^F",true,"^D",42,"^R",2,"^S",false,"^G",["^H",[["^N","^O","~$&","^11"]]]],"~$dbg_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",32,"^C",11,"^D",32,"^E",15,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbg_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",15,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",32,"^F",true,"^D",32,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$break",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",28,"^C",11,"^D",28,"^E",16,"^F",true,"^G",["^H",["^I",["^H",[["~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^11"]]],"^G",["^H",[["^N","^O","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/break","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^V",["^ ","^L",true,"^R",2,"^M",[["^H",["^N","^O","^11"]]],"^G",["^H",[["^N","^O","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",28,"^F",true,"^D",28,"^R",2,"^S",false,"^G",["^H",[["^N","^O","~$&","^11"]]]],"~$set-line-bullet!",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",7,"^C",7,"^D",7,"^E",23,"^G",["^H",["^I",["^H",[["~$bulet"]]]]]],"^7","~$debux.cs.core/set-line-bullet!","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",23,"^M",["^H",[["^2:"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",7,"^D",7,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^2:"]]]]]],"~$clog_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",37,"^C",11,"^D",37,"^E",16,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/clog_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",37,"^F",true,"^D",37,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$merge-styles",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",60,"^C",7,"^D",60,"^E",19,"^G",["^H",["^I",["^H",[["~$new-style"]]]]]],"^7","~$debux.cs.core/merge-styles","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",19,"^M",["^H",[["^2?"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",60,"^D",60,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^2?"]]]]]],"~$dbgt",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",17,"^C",11,"^D",17,"^E",15,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbgt","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",15,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",17,"^F",true,"^D",17,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]],"~$clogn-tag",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",47,"^C",7,"^D",47,"^E",16,"^G",["^H",["^I",["^H",[["^10"]]]]]],"^7","~$debux.cs.core/clogn-tag","^L",false,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^M",["^H",[["^10"]]],"^P",null,"^Q",["^H",[null,null]],"^C",1,"^B",47,"^D",47,"^R",1,"^S",true,"^G",["^H",["^I",["^H",[["^10"]]]]]],"~$dbgt_",["^ ","^?",null,"^@",["^ ","^A","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/debux/cs/core.cljc","^B",34,"^C",11,"^D",34,"^E",16,"^F",true,"^G",["^H",["^I",["^H",[["^10","~$&","^11"]]]]],"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]]],"^7","~$debux.cs.core/dbgt_","^L",true,"^A","resources/public/js/out/debux/cs/core.cljc","^E",16,"^V",["^ ","^L",true,"^R",3,"^M",[["^H",["^N","^O","^10","^11"]]],"^G",["^H",[["^N","^O","^10","~$&","^11"]]],"^Q",["^H",[null]]],"^M",[["^H",["^N","^O","^10","^11"]]],"^P",null,"^Q",["^H",[null]],"^C",1,"^B",34,"^F",true,"^D",34,"^R",3,"^S",false,"^G",["^H",[["^N","^O","^10","~$&","^11"]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^6",["~$cljs.core/when"]],"~:order",["^2K"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/debux/cs/core.js b/examples/resources/public/js/out/debux/cs/core.js new file mode 100644 index 0000000..cee511d --- /dev/null +++ b/examples/resources/public/js/out/debux/cs/core.js @@ -0,0 +1,904 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('debux.cs.core'); +goog.require('cljs.core'); +debux.cs.core.set_debug_mode_BANG_ = (function debux$cs$core$set_debug_mode_BANG_(val){ +return null; +}); +debux.cs.core.set_source_info_mode_BANG_ = (function debux$cs$core$set_source_info_mode_BANG_(val){ +return null; +}); +debux.cs.core.set_print_length_BANG_ = (function debux$cs$core$set_print_length_BANG_(num){ +return null; +}); +debux.cs.core.set_line_bullet_BANG_ = (function debux$cs$core$set_line_bullet_BANG_(bulet){ +return null; +}); +debux.cs.core.set_cljs_devtools_BANG_ = (function debux$cs$core$set_cljs_devtools_BANG_(bool){ +return null; +}); +var ret__4533__auto___19373 = debux.cs.core.set_ns_blacklist_BANG_ = (function debux$cs$core$set_ns_blacklist_BANG_(_AMPERSAND_form,_AMPERSAND_env,blacklist){ +return null; +}); +debux.cs.core.set_ns_blacklist_BANG_.cljs$lang$macro = true; + +var ret__4533__auto___19374 = debux.cs.core.set_ns_whitelist_BANG_ = (function debux$cs$core$set_ns_whitelist_BANG_(_AMPERSAND_form,_AMPERSAND_env,whitelist){ +return null; +}); +debux.cs.core.set_ns_whitelist_BANG_.cljs$lang$macro = true; + +var ret__4533__auto___19379 = (function (){ +debux.cs.core.dbg = (function debux$cs$core$dbg(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19380 = arguments.length; +var i__4500__auto___19381 = (0); +while(true){ +if((i__4500__auto___19381 < len__4499__auto___19380)){ +args__4502__auto__.push((arguments[i__4500__auto___19381])); + +var G__19382 = (i__4500__auto___19381 + (1)); +i__4500__auto___19381 = G__19382; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.dbg.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.dbg.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.dbg.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.dbg.cljs$lang$applyTo = (function (seq19375){ +var G__19376 = cljs.core.first.call(null,seq19375); +var seq19375__$1 = cljs.core.next.call(null,seq19375); +var G__19377 = cljs.core.first.call(null,seq19375__$1); +var seq19375__$2 = cljs.core.next.call(null,seq19375__$1); +var G__19378 = cljs.core.first.call(null,seq19375__$2); +var seq19375__$3 = cljs.core.next.call(null,seq19375__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19376,G__19377,G__19378,seq19375__$3); +}); + +return null; +})() +; +debux.cs.core.dbg.cljs$lang$macro = true; + +var ret__4533__auto___19387 = (function (){ +debux.cs.core.dbgn = (function debux$cs$core$dbgn(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19388 = arguments.length; +var i__4500__auto___19389 = (0); +while(true){ +if((i__4500__auto___19389 < len__4499__auto___19388)){ +args__4502__auto__.push((arguments[i__4500__auto___19389])); + +var G__19390 = (i__4500__auto___19389 + (1)); +i__4500__auto___19389 = G__19390; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.dbgn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.dbgn.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.dbgn.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.dbgn.cljs$lang$applyTo = (function (seq19383){ +var G__19384 = cljs.core.first.call(null,seq19383); +var seq19383__$1 = cljs.core.next.call(null,seq19383); +var G__19385 = cljs.core.first.call(null,seq19383__$1); +var seq19383__$2 = cljs.core.next.call(null,seq19383__$1); +var G__19386 = cljs.core.first.call(null,seq19383__$2); +var seq19383__$3 = cljs.core.next.call(null,seq19383__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19384,G__19385,G__19386,seq19383__$3); +}); + +return null; +})() +; +debux.cs.core.dbgn.cljs$lang$macro = true; + +var ret__4533__auto___19395 = (function (){ +debux.cs.core.dbgt = (function debux$cs$core$dbgt(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19396 = arguments.length; +var i__4500__auto___19397 = (0); +while(true){ +if((i__4500__auto___19397 < len__4499__auto___19396)){ +args__4502__auto__.push((arguments[i__4500__auto___19397])); + +var G__19398 = (i__4500__auto___19397 + (1)); +i__4500__auto___19397 = G__19398; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.dbgt.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.dbgt.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.dbgt.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.dbgt.cljs$lang$applyTo = (function (seq19391){ +var G__19392 = cljs.core.first.call(null,seq19391); +var seq19391__$1 = cljs.core.next.call(null,seq19391); +var G__19393 = cljs.core.first.call(null,seq19391__$1); +var seq19391__$2 = cljs.core.next.call(null,seq19391__$1); +var G__19394 = cljs.core.first.call(null,seq19391__$2); +var seq19391__$3 = cljs.core.next.call(null,seq19391__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19392,G__19393,G__19394,seq19391__$3); +}); + +return null; +})() +; +debux.cs.core.dbgt.cljs$lang$macro = true; + +var ret__4533__auto___19402 = (function (){ +debux.cs.core.dbg_last = (function debux$cs$core$dbg_last(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19403 = arguments.length; +var i__4500__auto___19404 = (0); +while(true){ +if((i__4500__auto___19404 < len__4499__auto___19403)){ +args__4502__auto__.push((arguments[i__4500__auto___19404])); + +var G__19405 = (i__4500__auto___19404 + (1)); +i__4500__auto___19404 = G__19405; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return debux.cs.core.dbg_last.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +debux.cs.core.dbg_last.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,args){ +return cljs.core.last.call(null,args); +}); + +debux.cs.core.dbg_last.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +debux.cs.core.dbg_last.cljs$lang$applyTo = (function (seq19399){ +var G__19400 = cljs.core.first.call(null,seq19399); +var seq19399__$1 = cljs.core.next.call(null,seq19399); +var G__19401 = cljs.core.first.call(null,seq19399__$1); +var seq19399__$2 = cljs.core.next.call(null,seq19399__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19400,G__19401,seq19399__$2); +}); + +return null; +})() +; +debux.cs.core.dbg_last.cljs$lang$macro = true; + +var ret__4533__auto___19410 = (function (){ +debux.cs.core.clog = (function debux$cs$core$clog(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19411 = arguments.length; +var i__4500__auto___19412 = (0); +while(true){ +if((i__4500__auto___19412 < len__4499__auto___19411)){ +args__4502__auto__.push((arguments[i__4500__auto___19412])); + +var G__19413 = (i__4500__auto___19412 + (1)); +i__4500__auto___19412 = G__19413; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.clog.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.clog.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.clog.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.clog.cljs$lang$applyTo = (function (seq19406){ +var G__19407 = cljs.core.first.call(null,seq19406); +var seq19406__$1 = cljs.core.next.call(null,seq19406); +var G__19408 = cljs.core.first.call(null,seq19406__$1); +var seq19406__$2 = cljs.core.next.call(null,seq19406__$1); +var G__19409 = cljs.core.first.call(null,seq19406__$2); +var seq19406__$3 = cljs.core.next.call(null,seq19406__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19407,G__19408,G__19409,seq19406__$3); +}); + +return null; +})() +; +debux.cs.core.clog.cljs$lang$macro = true; + +var ret__4533__auto___19418 = (function (){ +debux.cs.core.clogn = (function debux$cs$core$clogn(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19419 = arguments.length; +var i__4500__auto___19420 = (0); +while(true){ +if((i__4500__auto___19420 < len__4499__auto___19419)){ +args__4502__auto__.push((arguments[i__4500__auto___19420])); + +var G__19421 = (i__4500__auto___19420 + (1)); +i__4500__auto___19420 = G__19421; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.clogn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.clogn.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.clogn.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.clogn.cljs$lang$applyTo = (function (seq19414){ +var G__19415 = cljs.core.first.call(null,seq19414); +var seq19414__$1 = cljs.core.next.call(null,seq19414); +var G__19416 = cljs.core.first.call(null,seq19414__$1); +var seq19414__$2 = cljs.core.next.call(null,seq19414__$1); +var G__19417 = cljs.core.first.call(null,seq19414__$2); +var seq19414__$3 = cljs.core.next.call(null,seq19414__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19415,G__19416,G__19417,seq19414__$3); +}); + +return null; +})() +; +debux.cs.core.clogn.cljs$lang$macro = true; + +var ret__4533__auto___19426 = (function (){ +debux.cs.core.clogt = (function debux$cs$core$clogt(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19427 = arguments.length; +var i__4500__auto___19428 = (0); +while(true){ +if((i__4500__auto___19428 < len__4499__auto___19427)){ +args__4502__auto__.push((arguments[i__4500__auto___19428])); + +var G__19429 = (i__4500__auto___19428 + (1)); +i__4500__auto___19428 = G__19429; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.clogt.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.clogt.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.clogt.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.clogt.cljs$lang$applyTo = (function (seq19422){ +var G__19423 = cljs.core.first.call(null,seq19422); +var seq19422__$1 = cljs.core.next.call(null,seq19422); +var G__19424 = cljs.core.first.call(null,seq19422__$1); +var seq19422__$2 = cljs.core.next.call(null,seq19422__$1); +var G__19425 = cljs.core.first.call(null,seq19422__$2); +var seq19422__$3 = cljs.core.next.call(null,seq19422__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19423,G__19424,G__19425,seq19422__$3); +}); + +return null; +})() +; +debux.cs.core.clogt.cljs$lang$macro = true; + +var ret__4533__auto___19433 = (function (){ +debux.cs.core.clog_last = (function debux$cs$core$clog_last(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19434 = arguments.length; +var i__4500__auto___19435 = (0); +while(true){ +if((i__4500__auto___19435 < len__4499__auto___19434)){ +args__4502__auto__.push((arguments[i__4500__auto___19435])); + +var G__19436 = (i__4500__auto___19435 + (1)); +i__4500__auto___19435 = G__19436; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return debux.cs.core.clog_last.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +debux.cs.core.clog_last.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,args){ +return cljs.core.last.call(null,args); +}); + +debux.cs.core.clog_last.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +debux.cs.core.clog_last.cljs$lang$applyTo = (function (seq19430){ +var G__19431 = cljs.core.first.call(null,seq19430); +var seq19430__$1 = cljs.core.next.call(null,seq19430); +var G__19432 = cljs.core.first.call(null,seq19430__$1); +var seq19430__$2 = cljs.core.next.call(null,seq19430__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19431,G__19432,seq19430__$2); +}); + +return null; +})() +; +debux.cs.core.clog_last.cljs$lang$macro = true; + +var ret__4533__auto___19441 = (function (){ +debux.cs.core.with_level = (function debux$cs$core$with_level(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19442 = arguments.length; +var i__4500__auto___19443 = (0); +while(true){ +if((i__4500__auto___19443 < len__4499__auto___19442)){ +args__4502__auto__.push((arguments[i__4500__auto___19443])); + +var G__19444 = (i__4500__auto___19443 + (1)); +i__4500__auto___19443 = G__19444; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.with_level.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.with_level.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,debug_level,args){ +return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,(new cljs.core.List(null,new cljs.core.Symbol("cljs.core","when","cljs.core/when",120293186,null),null,(1),null)),(new cljs.core.List(null,true,null,(1),null)),args))); +}); + +debux.cs.core.with_level.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.with_level.cljs$lang$applyTo = (function (seq19437){ +var G__19438 = cljs.core.first.call(null,seq19437); +var seq19437__$1 = cljs.core.next.call(null,seq19437); +var G__19439 = cljs.core.first.call(null,seq19437__$1); +var seq19437__$2 = cljs.core.next.call(null,seq19437__$1); +var G__19440 = cljs.core.first.call(null,seq19437__$2); +var seq19437__$3 = cljs.core.next.call(null,seq19437__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19438,G__19439,G__19440,seq19437__$3); +}); + +return null; +})() +; +debux.cs.core.with_level.cljs$lang$macro = true; + +var ret__4533__auto___19448 = (function (){ +debux.cs.core.break$ = (function debux$cs$core$break(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19449 = arguments.length; +var i__4500__auto___19450 = (0); +while(true){ +if((i__4500__auto___19450 < len__4499__auto___19449)){ +args__4502__auto__.push((arguments[i__4500__auto___19450])); + +var G__19451 = (i__4500__auto___19450 + (1)); +i__4500__auto___19450 = G__19451; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return debux.cs.core.break$.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +debux.cs.core.break$.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,opts){ +return null; +}); + +debux.cs.core.break$.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +debux.cs.core.break$.cljs$lang$applyTo = (function (seq19445){ +var G__19446 = cljs.core.first.call(null,seq19445); +var seq19445__$1 = cljs.core.next.call(null,seq19445); +var G__19447 = cljs.core.first.call(null,seq19445__$1); +var seq19445__$2 = cljs.core.next.call(null,seq19445__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19446,G__19447,seq19445__$2); +}); + +return null; +})() +; +debux.cs.core.break$.cljs$lang$macro = true; + +var ret__4533__auto___19456 = (function (){ +debux.cs.core.dbg_ = (function debux$cs$core$dbg_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19457 = arguments.length; +var i__4500__auto___19458 = (0); +while(true){ +if((i__4500__auto___19458 < len__4499__auto___19457)){ +args__4502__auto__.push((arguments[i__4500__auto___19458])); + +var G__19459 = (i__4500__auto___19458 + (1)); +i__4500__auto___19458 = G__19459; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.dbg_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.dbg_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.dbg_.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.dbg_.cljs$lang$applyTo = (function (seq19452){ +var G__19453 = cljs.core.first.call(null,seq19452); +var seq19452__$1 = cljs.core.next.call(null,seq19452); +var G__19454 = cljs.core.first.call(null,seq19452__$1); +var seq19452__$2 = cljs.core.next.call(null,seq19452__$1); +var G__19455 = cljs.core.first.call(null,seq19452__$2); +var seq19452__$3 = cljs.core.next.call(null,seq19452__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19453,G__19454,G__19455,seq19452__$3); +}); + +return null; +})() +; +debux.cs.core.dbg_.cljs$lang$macro = true; + +var ret__4533__auto___19464 = (function (){ +debux.cs.core.dbgn_ = (function debux$cs$core$dbgn_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19465 = arguments.length; +var i__4500__auto___19466 = (0); +while(true){ +if((i__4500__auto___19466 < len__4499__auto___19465)){ +args__4502__auto__.push((arguments[i__4500__auto___19466])); + +var G__19467 = (i__4500__auto___19466 + (1)); +i__4500__auto___19466 = G__19467; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.dbgn_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.dbgn_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.dbgn_.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.dbgn_.cljs$lang$applyTo = (function (seq19460){ +var G__19461 = cljs.core.first.call(null,seq19460); +var seq19460__$1 = cljs.core.next.call(null,seq19460); +var G__19462 = cljs.core.first.call(null,seq19460__$1); +var seq19460__$2 = cljs.core.next.call(null,seq19460__$1); +var G__19463 = cljs.core.first.call(null,seq19460__$2); +var seq19460__$3 = cljs.core.next.call(null,seq19460__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19461,G__19462,G__19463,seq19460__$3); +}); + +return null; +})() +; +debux.cs.core.dbgn_.cljs$lang$macro = true; + +var ret__4533__auto___19472 = (function (){ +debux.cs.core.dbgt_ = (function debux$cs$core$dbgt_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19473 = arguments.length; +var i__4500__auto___19474 = (0); +while(true){ +if((i__4500__auto___19474 < len__4499__auto___19473)){ +args__4502__auto__.push((arguments[i__4500__auto___19474])); + +var G__19475 = (i__4500__auto___19474 + (1)); +i__4500__auto___19474 = G__19475; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.dbgt_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.dbgt_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.dbgt_.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.dbgt_.cljs$lang$applyTo = (function (seq19468){ +var G__19469 = cljs.core.first.call(null,seq19468); +var seq19468__$1 = cljs.core.next.call(null,seq19468); +var G__19470 = cljs.core.first.call(null,seq19468__$1); +var seq19468__$2 = cljs.core.next.call(null,seq19468__$1); +var G__19471 = cljs.core.first.call(null,seq19468__$2); +var seq19468__$3 = cljs.core.next.call(null,seq19468__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19469,G__19470,G__19471,seq19468__$3); +}); + +return null; +})() +; +debux.cs.core.dbgt_.cljs$lang$macro = true; + +var ret__4533__auto___19479 = (function (){ +debux.cs.core.dbg_last_ = (function debux$cs$core$dbg_last_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19480 = arguments.length; +var i__4500__auto___19481 = (0); +while(true){ +if((i__4500__auto___19481 < len__4499__auto___19480)){ +args__4502__auto__.push((arguments[i__4500__auto___19481])); + +var G__19482 = (i__4500__auto___19481 + (1)); +i__4500__auto___19481 = G__19482; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return debux.cs.core.dbg_last_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +debux.cs.core.dbg_last_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,args){ +return cljs.core.last.call(null,args); +}); + +debux.cs.core.dbg_last_.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +debux.cs.core.dbg_last_.cljs$lang$applyTo = (function (seq19476){ +var G__19477 = cljs.core.first.call(null,seq19476); +var seq19476__$1 = cljs.core.next.call(null,seq19476); +var G__19478 = cljs.core.first.call(null,seq19476__$1); +var seq19476__$2 = cljs.core.next.call(null,seq19476__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19477,G__19478,seq19476__$2); +}); + +return null; +})() +; +debux.cs.core.dbg_last_.cljs$lang$macro = true; + +var ret__4533__auto___19487 = (function (){ +debux.cs.core.clog_ = (function debux$cs$core$clog_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19488 = arguments.length; +var i__4500__auto___19489 = (0); +while(true){ +if((i__4500__auto___19489 < len__4499__auto___19488)){ +args__4502__auto__.push((arguments[i__4500__auto___19489])); + +var G__19490 = (i__4500__auto___19489 + (1)); +i__4500__auto___19489 = G__19490; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.clog_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.clog_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.clog_.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.clog_.cljs$lang$applyTo = (function (seq19483){ +var G__19484 = cljs.core.first.call(null,seq19483); +var seq19483__$1 = cljs.core.next.call(null,seq19483); +var G__19485 = cljs.core.first.call(null,seq19483__$1); +var seq19483__$2 = cljs.core.next.call(null,seq19483__$1); +var G__19486 = cljs.core.first.call(null,seq19483__$2); +var seq19483__$3 = cljs.core.next.call(null,seq19483__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19484,G__19485,G__19486,seq19483__$3); +}); + +return null; +})() +; +debux.cs.core.clog_.cljs$lang$macro = true; + +var ret__4533__auto___19495 = (function (){ +debux.cs.core.clogn_ = (function debux$cs$core$clogn_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19496 = arguments.length; +var i__4500__auto___19497 = (0); +while(true){ +if((i__4500__auto___19497 < len__4499__auto___19496)){ +args__4502__auto__.push((arguments[i__4500__auto___19497])); + +var G__19498 = (i__4500__auto___19497 + (1)); +i__4500__auto___19497 = G__19498; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.clogn_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.clogn_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.clogn_.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.clogn_.cljs$lang$applyTo = (function (seq19491){ +var G__19492 = cljs.core.first.call(null,seq19491); +var seq19491__$1 = cljs.core.next.call(null,seq19491); +var G__19493 = cljs.core.first.call(null,seq19491__$1); +var seq19491__$2 = cljs.core.next.call(null,seq19491__$1); +var G__19494 = cljs.core.first.call(null,seq19491__$2); +var seq19491__$3 = cljs.core.next.call(null,seq19491__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19492,G__19493,G__19494,seq19491__$3); +}); + +return null; +})() +; +debux.cs.core.clogn_.cljs$lang$macro = true; + +var ret__4533__auto___19503 = (function (){ +debux.cs.core.clogt_ = (function debux$cs$core$clogt_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19504 = arguments.length; +var i__4500__auto___19505 = (0); +while(true){ +if((i__4500__auto___19505 < len__4499__auto___19504)){ +args__4502__auto__.push((arguments[i__4500__auto___19505])); + +var G__19506 = (i__4500__auto___19505 + (1)); +i__4500__auto___19505 = G__19506; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((3)),(0),null)):null); +return debux.cs.core.clogt_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); +}); + +debux.cs.core.clogt_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,form,opts){ +return form; +}); + +debux.cs.core.clogt_.cljs$lang$maxFixedArity = (3); + +/** @this {Function} */ +debux.cs.core.clogt_.cljs$lang$applyTo = (function (seq19499){ +var G__19500 = cljs.core.first.call(null,seq19499); +var seq19499__$1 = cljs.core.next.call(null,seq19499); +var G__19501 = cljs.core.first.call(null,seq19499__$1); +var seq19499__$2 = cljs.core.next.call(null,seq19499__$1); +var G__19502 = cljs.core.first.call(null,seq19499__$2); +var seq19499__$3 = cljs.core.next.call(null,seq19499__$2); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19500,G__19501,G__19502,seq19499__$3); +}); + +return null; +})() +; +debux.cs.core.clogt_.cljs$lang$macro = true; + +var ret__4533__auto___19510 = (function (){ +debux.cs.core.clog_last_ = (function debux$cs$core$clog_last_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19511 = arguments.length; +var i__4500__auto___19512 = (0); +while(true){ +if((i__4500__auto___19512 < len__4499__auto___19511)){ +args__4502__auto__.push((arguments[i__4500__auto___19512])); + +var G__19513 = (i__4500__auto___19512 + (1)); +i__4500__auto___19512 = G__19513; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return debux.cs.core.clog_last_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +debux.cs.core.clog_last_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,args){ +return cljs.core.last.call(null,args); +}); + +debux.cs.core.clog_last_.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +debux.cs.core.clog_last_.cljs$lang$applyTo = (function (seq19507){ +var G__19508 = cljs.core.first.call(null,seq19507); +var seq19507__$1 = cljs.core.next.call(null,seq19507); +var G__19509 = cljs.core.first.call(null,seq19507__$1); +var seq19507__$2 = cljs.core.next.call(null,seq19507__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19508,G__19509,seq19507__$2); +}); + +return null; +})() +; +debux.cs.core.clog_last_.cljs$lang$macro = true; + +var ret__4533__auto___19517 = (function (){ +debux.cs.core.break_ = (function debux$cs$core$break_(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19518 = arguments.length; +var i__4500__auto___19519 = (0); +while(true){ +if((i__4500__auto___19519 < len__4499__auto___19518)){ +args__4502__auto__.push((arguments[i__4500__auto___19519])); + +var G__19520 = (i__4500__auto___19519 + (1)); +i__4500__auto___19519 = G__19520; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return debux.cs.core.break_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +debux.cs.core.break_.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,opts){ +return null; +}); + +debux.cs.core.break_.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +debux.cs.core.break_.cljs$lang$applyTo = (function (seq19514){ +var G__19515 = cljs.core.first.call(null,seq19514); +var seq19514__$1 = cljs.core.next.call(null,seq19514); +var G__19516 = cljs.core.first.call(null,seq19514__$1); +var seq19514__$2 = cljs.core.next.call(null,seq19514__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19515,G__19516,seq19514__$2); +}); + +return null; +})() +; +debux.cs.core.break_.cljs$lang$macro = true; + +debux.cs.core.clog_tag = (function debux$cs$core$clog_tag(form){ +return form; +}); +debux.cs.core.clogn_tag = (function debux$cs$core$clogn_tag(form){ +return form; +}); +debux.cs.core.clogt_tag = (function debux$cs$core$clogt_tag(form){ +return form; +}); +var ret__4533__auto___19521 = debux.cs.core.register_macros_BANG_ = (function debux$cs$core$register_macros_BANG_(_AMPERSAND_form,_AMPERSAND_env,macro_type,symbols){ +return null; +}); +debux.cs.core.register_macros_BANG_.cljs$lang$macro = true; + +var ret__4533__auto___19524 = (function (){ +debux.cs.core.show_macros = (function debux$cs$core$show_macros(var_args){ +var G__19523 = arguments.length; +switch (G__19523) { +case 2: +return debux.cs.core.show_macros.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return debux.cs.core.show_macros.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 - (2)))].join(''))); + +} +}); + +debux.cs.core.show_macros.cljs$core$IFn$_invoke$arity$2 = (function (_AMPERSAND_form,_AMPERSAND_env){ +return null; +}); + +debux.cs.core.show_macros.cljs$core$IFn$_invoke$arity$3 = (function (_AMPERSAND_form,_AMPERSAND_env,macro_type){ +return null; +}); + +debux.cs.core.show_macros.cljs$lang$maxFixedArity = 3; + +return null; +})() +; +debux.cs.core.show_macros.cljs$lang$macro = true; + +debux.cs.core.merge_styles = (function debux$cs$core$merge_styles(new_style){ +return null; +}); + +//# sourceMappingURL=core.js.map?rel=1628501138003 diff --git a/examples/resources/public/js/out/debux/cs/core.js.map b/examples/resources/public/js/out/debux/cs/core.js.map new file mode 100644 index 0000000..85914cf --- /dev/null +++ b/examples/resources/public/js/out/debux/cs/core.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/debux\/cs\/core.js","sources":["core.cljc?rel=1628501138011"],"lineCount":904,"mappings":";AAAA;;AAGA,qCAAA,rCAAMA,kFAAiBC;AAAvB,AAAA;;AACA,2CAAA,3CAAMC,8FAAuBD;AAA7B,AAAA;;AACA,uCAAA,vCAAME,sFAAmBC;AAAzB,AAAA;;AACA,sCAAA,tCAAMC,oFAAkBC;AAAxB,AAAA;;AACA,wCAAA,xCAAMC,wFAAoBC;AAA1B,AAAA;;AAEA,IAAAC,0BAAA,uCAAA,+CAAAC,gBAAAC,tGAAUC,qHAAmBC;AAA7B,AAAA;;AAAA,AAAA,AAAA,uDAAA,vDAAUD;;AAAVH,AACA,IAAAA,0BAAA,uCAAA,+CAAAC,gBAAAC,tGAAUG,qHAAmBC;AA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,OAAAA,wDAAA4F,SAAAC,SAAAF;;;AAAA;;;AAAA,AAAA,AAAA,uCAAA,vCAAUD;;AAAV9G,AAIA,yBAAA,zBAAMkH,0DAAU7F;AAAhB,AAAsBA;;AACtB,0BAAA,1BAAM8F,4DAAW9F;AAAjB,AAAuBA;;AACvB,0BAAA,1BAAM+F,4DAAW\/F;AAAjB,AAAuBA;;AAIvB,IAAArB,0BAAA,sCAAA,8CAAAC,gBAAAC,pGAAUmH,mHAAkBC,WAAWC;AAAvC,AAAA;;AAAA,AAAA,AAAA,sDAAA,tDAAUF;;AAAVrH,AAEA,IAAAA,0BAAA;AAAA,4BAAA,oCAAAO,hEAAUkH;AAAV,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,wDAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,wDAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,CAAA,AAAA,mBAAA;;;;;AAAA,AAAA,0DAAA,WAAAzH,gBAAAC,rFAAUuH;AAAV,AAAA;;;AAAA,AAAA,0DAAA,WAAAxH,gBAAAC,rFAAUuH,oGAENH;AAFJ,AAAA;;;AAAA,AAAA,oDAAA,pDAAUG;;AAAV;;;AAAA,AAAA,AAAA,4CAAA,5CAAUA;;AAAVzH,AAMA,6BAAA,7BAAM2H,kEAAcC;AAApB,AAAA","names":["debux.cs.core\/set-debug-mode!","val","debux.cs.core\/set-source-info-mode!","debux.cs.core\/set-print-length!","num","debux.cs.core\/set-line-bullet!","bulet","debux.cs.core\/set-cljs-devtools!","bool","ret__4533__auto__","&form","&env","debux.cs.core\/set-ns-blacklist!","blacklist","debux.cs.core\/set-ns-whitelist!","whitelist","var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","debux.cs.core\/dbg","seq19375","G__19376","cljs.core\/first","cljs.core\/next","G__19377","G__19378","self__4486__auto__","form","opts","debux.cs.core\/dbgn","seq19383","G__19384","G__19385","G__19386","debux.cs.core\/dbgt","seq19391","G__19392","G__19393","G__19394","debux.cs.core\/dbg-last","seq19399","G__19400","G__19401","args","cljs.core\/last","debux.cs.core\/clog","seq19406","G__19407","G__19408","G__19409","debux.cs.core\/clogn","seq19414","G__19415","G__19416","G__19417","debux.cs.core\/clogt","seq19422","G__19423","G__19424","G__19425","debux.cs.core\/clog-last","seq19430","G__19431","G__19432","debux.cs.core\/with-level","cljs.core\/sequence","cljs.core\/seq","cljs.core\/concat","cljs.core\/List","seq19437","G__19438","G__19439","G__19440","debug-level","debux.cs.core\/break","seq19445","G__19446","G__19447","debux.cs.core\/dbg_","seq19452","G__19453","G__19454","G__19455","debux.cs.core\/dbgn_","seq19460","G__19461","G__19462","G__19463","debux.cs.core\/dbgt_","seq19468","G__19469","G__19470","G__19471","debux.cs.core\/dbg-last_","seq19476","G__19477","G__19478","debux.cs.core\/clog_","seq19483","G__19484","G__19485","G__19486","debux.cs.core\/clogn_","seq19491","G__19492","G__19493","G__19494","debux.cs.core\/clogt_","seq19499","G__19500","G__19501","G__19502","debux.cs.core\/clog-last_","seq19507","G__19508","G__19509","debux.cs.core\/break_","seq19514","G__19515","G__19516","debux.cs.core\/clog-tag","debux.cs.core\/clogn-tag","debux.cs.core\/clogt-tag","debux.cs.core\/register-macros!","macro-type","symbols","G__19523","debux.cs.core\/show-macros","js\/Error","debux.cs.core\/merge-styles","new-style"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/clog.cljs b/examples/resources/public/js/out/examples/clog.cljs new file mode 100644 index 0000000..200ce5b --- /dev/null +++ b/examples/resources/public/js/out/examples/clog.cljs @@ -0,0 +1,110 @@ +(ns examples.clog + (:require [debux.cs.core :as d :refer-macros [clog clogn clog clogn clog-last break]])) + +;;;; clog examples + + +; ### Basic usage + +; This is a simple example. The macro *clog* prints an original form and pretty-prints +; the evaluated value on the REPL window. Then it returns the value without stopping +; code execution. + +(* 2 (clog (+ 10 20))) +; => 60 + + +; Sometimes you need to see several forms evaluated. To do so, a literal vector +; form can be used like this. + +(defn my-fun + [a {:keys [b c d] :or {d 10 b 20 c 30}} [e f g & h]] + (clog [a b c d e f g h])) + +(my-fun (take 5 (range)) {:c 50 :d 100} ["a" "b" "c" "d" "e"]) +; Notice that the printed value is a map, not a vector and the form +; is prepended with colon to differenciate the form from the evaluated value. + +; Further examples: +(def a 10) +(def b 20) + +(clog [a b [a b] :c]) + + +; (-> {:a [1 2]} +; (clog (get :a)) +; (conj 3)) +; java.lang.IllegalArgumentException +; Don't know how to create ISeq from: java.lang.Long + +(clog (-> "a b c d" + .toUpperCase + (.replace "A" "X") + (.split " ") + first)) + +(def five 5) +(clog (->> five (+ 3) (/ 2) (- 1))) + +; When debugging the threading macro `->' or `->>', don't do it like this. +; You will have some exception. + +; (-> {:a [1 2]} +; (clog (get :a)) +; (conj 3)) +; => java.lang.IllegalArgumentException +; Don't know how to create ISeq from: java.lang.Long + + +; Instead, do it like this. + +(-> {:a [1 2]} + (get :a) + clog + (conj 3)) +; => [1 2 3] + + +(->> [-1 0 1 2] + (filter pos?) + (map inc) + clog + (map str)) +; => ("2" "3") + +(->> [-1 0 1 2] + (filter pos?) + (map inc) + (clog-last "clog-last example") + (map str)) + +;; some->, some->> +(clog (some-> {:a 1} :b inc)) + +(clog (some->> {:y 3 :x 5} + (:y) + (- 2))) + +;; cond->, cond->> +(clog (cond-> 1 + true inc + false (* 42) + (= 2 2) (* 3))) + +(clog (cond->> 1 + true inc + false (- 42) + (= 2 2) (- 3))) + +;; let +(clog (let [a (take 5 (range)) + {:keys [b c d] :or {d 10 b 20 c 30}} {:c 50 :d 100} + [e f g & h] ["a" "b" "c" "d" "e"]] + [a b c d e f g h])) +; => [(0 1 2 3 4) 20 50 100 "a" "b" "c" ("d" "e")] + + +;; comp +(def c (clog (comp inc inc +))) +(c 10 20) diff --git a/examples/resources/public/js/out/examples/clog.cljs.cache.json b/examples/resources/public/js/out/examples/clog.cljs.cache.json new file mode 100644 index 0000000..7b4d2fb --- /dev/null +++ b/examples/resources/public/js/out/examples/clog.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$clog-last","^4","~$clogn","^4","~$break","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.clog","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$my-fun",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/clog.cljs","~:line",20,"~:column",7,"~:end-line",20,"~:end-column",13,"~:arglists",["~#list",["~$quote",["^J",[["~$a",["^ ","~:keys",["~$b","~$c","~$d"],"~:or",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"^:","~$examples.clog/my-fun","~:variadic",false,"^D","src/cljs/examples/clog.cljs","^H",13,"~:method-params",["^J",[["~$a","~$p__19791","~$p__19792"]]],"~:protocol-impl",null,"~:arglists-meta",["^J",[null,null]],"^F",1,"^E",20,"^G",20,"~:max-fixed-arity",3,"~:fn-var",true,"^I",["^J",["^K",["^J",[["~$a",["^ ","^L",["~$b","~$c","~$d"],"^M",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"~$a",["^ ","^:","~$examples.clog/a","^D","src/cljs/examples/clog.cljs","^E",29,"^F",1,"^G",29,"^H",7,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/clog.cljs","^E",29,"^F",6,"^G",29,"^H",7],"~:tag","~$number"],"~$b",["^ ","^:","~$examples.clog/b","^D","src/cljs/examples/clog.cljs","^E",30,"^F",1,"^G",30,"^H",7,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/clog.cljs","^E",30,"^F",6,"^G",30,"^H",7],"^X","^Y"],"~$five",["^ ","^:","~$examples.clog/five","^D","src/cljs/examples/clog.cljs","^E",47,"^F",1,"^G",47,"^H",10,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/clog.cljs","^E",47,"^F",6,"^G",47,"^H",10],"^X","^Y"],"~$c",["^ ","^:","~$examples.clog/c","^D","src/cljs/examples/clog.cljs","^E",109,"^F",1,"^G",109,"^H",7,"^C",["^ ","^D","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/clog.cljs","^E",109,"^F",6,"^G",109,"^H",7],"^X","~$any"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$d","^4","^4","^4"],"~:cljs.analyzer/constants",["^ ","~:seen",["^9",["~:y","~:c","~:b","~:d","~:x","~:a"]],"~:order",["~:b","~:c","~:d","~:a","~:y","~:x"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/clog.js b/examples/resources/public/js/out/examples/clog.js new file mode 100644 index 0000000..34ee6a2 --- /dev/null +++ b/examples/resources/public/js/out/examples/clog.js @@ -0,0 +1,88 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.clog'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +((2) * ((10) + (20))); +examples.clog.my_fun = (function examples$clog$my_fun(a,p__19791,p__19792){ +var map__19793 = p__19791; +var map__19793__$1 = ((((!((map__19793 == null)))?(((((map__19793.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__19793.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__19793):map__19793); +var b = cljs.core.get.call(null,map__19793__$1,new cljs.core.Keyword(null,"b","b",1482224470),(20)); +var c = cljs.core.get.call(null,map__19793__$1,new cljs.core.Keyword(null,"c","c",-1763192079),(30)); +var d = cljs.core.get.call(null,map__19793__$1,new cljs.core.Keyword(null,"d","d",1972142424),(10)); +var vec__19794 = p__19792; +var seq__19795 = cljs.core.seq.call(null,vec__19794); +var first__19796 = cljs.core.first.call(null,seq__19795); +var seq__19795__$1 = cljs.core.next.call(null,seq__19795); +var e = first__19796; +var first__19796__$1 = cljs.core.first.call(null,seq__19795__$1); +var seq__19795__$2 = cljs.core.next.call(null,seq__19795__$1); +var f = first__19796__$1; +var first__19796__$2 = cljs.core.first.call(null,seq__19795__$2); +var seq__19795__$3 = cljs.core.next.call(null,seq__19795__$2); +var g = first__19796__$2; +var h = seq__19795__$3; +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [a,b,c,d,e,f,g,h], null); +}); +examples.clog.my_fun.call(null,cljs.core.take.call(null,(5),cljs.core.range.call(null)),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"c","c",-1763192079),(50),new cljs.core.Keyword(null,"d","d",1972142424),(100)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, ["a","b","c","d","e"], null)); +examples.clog.a = (10); +examples.clog.b = (20); +new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [examples.clog.a,examples.clog.b,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [examples.clog.a,examples.clog.b], null),new cljs.core.Keyword(null,"c","c",-1763192079)], null); +cljs.core.first.call(null,"a b c d".toUpperCase().replace("A","X").split(" ")); +examples.clog.five = (5); +((1) - ((2) / ((3) + examples.clog.five))); +cljs.core.conj.call(null,cljs.core.get.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),(2)], null)], null),new cljs.core.Keyword(null,"a","a",-2123407586)),(3)); +cljs.core.map.call(null,cljs.core.str,cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.pos_QMARK_,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(-1),(0),(1),(2)], null)))); +cljs.core.map.call(null,cljs.core.str,cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.pos_QMARK_,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(-1),(0),(1),(2)], null)))); +var G__19798_19799 = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"a","a",-2123407586),(1)], null); +var G__19798_19800__$1 = (((G__19798_19799 == null))?null:new cljs.core.Keyword(null,"b","b",1482224470).cljs$core$IFn$_invoke$arity$1(G__19798_19799)); +if((G__19798_19800__$1 == null)){ +} else { +(G__19798_19800__$1 + (1)); +} +var G__19801_19802 = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"y","y",-1757859776),(3),new cljs.core.Keyword(null,"x","x",2099068185),(5)], null); +var G__19801_19803__$1 = (((G__19801_19802 == null))?null:new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(G__19801_19802)); +if((G__19801_19803__$1 == null)){ +} else { +((2) - G__19801_19803__$1); +} +var G__19804_19805 = (1); +var G__19804_19806__$1 = (G__19804_19805 + (1)) +; +var G__19804_19807__$2 = G__19804_19806__$1 +; +if(cljs.core._EQ_.call(null,(2),(2))){ +(G__19804_19807__$2 * (3)); +} else { +} +var G__19808_19809 = (1); +var G__19808_19810__$1 = (G__19808_19809 + (1)) +; +var G__19808_19811__$2 = G__19808_19810__$1 +; +if(cljs.core._EQ_.call(null,(2),(2))){ +((3) - G__19808_19811__$2); +} else { +} +var a_19817 = cljs.core.take.call(null,(5),cljs.core.range.call(null)); +var map__19812_19818 = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"c","c",-1763192079),(50),new cljs.core.Keyword(null,"d","d",1972142424),(100)], null); +var map__19812_19819__$1 = ((((!((map__19812_19818 == null)))?(((((map__19812_19818.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__19812_19818.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__19812_19818):map__19812_19818); +var b_19820 = cljs.core.get.call(null,map__19812_19819__$1,new cljs.core.Keyword(null,"b","b",1482224470),(20)); +var c_19821 = cljs.core.get.call(null,map__19812_19819__$1,new cljs.core.Keyword(null,"c","c",-1763192079),(30)); +var d_19822 = cljs.core.get.call(null,map__19812_19819__$1,new cljs.core.Keyword(null,"d","d",1972142424),(10)); +var vec__19813_19823 = new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, ["a","b","c","d","e"], null); +var seq__19814_19824 = cljs.core.seq.call(null,vec__19813_19823); +var first__19815_19825 = cljs.core.first.call(null,seq__19814_19824); +var seq__19814_19826__$1 = cljs.core.next.call(null,seq__19814_19824); +var e_19827 = first__19815_19825; +var first__19815_19828__$1 = cljs.core.first.call(null,seq__19814_19826__$1); +var seq__19814_19829__$2 = cljs.core.next.call(null,seq__19814_19826__$1); +var f_19830 = first__19815_19828__$1; +var first__19815_19831__$2 = cljs.core.first.call(null,seq__19814_19829__$2); +var seq__19814_19832__$3 = cljs.core.next.call(null,seq__19814_19829__$2); +var g_19833 = first__19815_19831__$2; +var h_19834 = seq__19814_19832__$3; +new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [a_19817,b_19820,c_19821,d_19822,e_19827,f_19830,g_19833,h_19834], null); +examples.clog.c = cljs.core.comp.call(null,cljs.core.inc,cljs.core.inc,cljs.core._PLUS_); +examples.clog.c.call(null,(10),(20)); + +//# sourceMappingURL=clog.js.map?rel=1628501138464 diff --git a/examples/resources/public/js/out/examples/clog.js.map b/examples/resources/public/js/out/examples/clog.js.map new file mode 100644 index 0000000..6f72139 --- /dev/null +++ b/examples/resources/public/js/out/examples/clog.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos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AAAgC,qBAAA,+CAAA,tGACiBrB;IADjBsB,mBAAA,mFAAA,IAAA,IAAA,IAAA,IAAA;IAAAC,mBAAA,AAAA\/B,wBAAA8B;IAAAE,qBAAA,AAAA9B,0BAAA6B;IAAAA,uBAAA,AAAA5B,yBAAA4B;cAAAC,VAEMvB;IAFNuB,yBAAA,AAAA9B,0BAAA6B;IAAAA,uBAAA,AAAA5B,yBAAA4B;cAAAC,VAEQtB;IAFRsB,yBAAA,AAAA9B,0BAAA6B;IAAAA,uBAAA,AAAA5B,yBAAA4B;cAAAC,VAEUrB;cAFVoB,VAEcnB;AAFd,AAAA,mFAGEP,QAAEC,QAAEC,QAAEC,QAAEC,QAAEC,QAAEC,QAAEC;AAKtB,AAAKqB,kBAAQ,AAACC,yBAAKZ,cAAIA,cAAIa;AAC3B,0BAAA,KAAA,\/BAACF","names":["p__19791","p__19792","map__19793","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","vec__19794","seq__19795","cljs.core\/seq","first__19796","cljs.core\/first","cljs.core\/next","examples.clog\/my-fun","a","b","c","d","e","f","g","h","cljs.core\/take","cljs.core\/range","examples.clog\/a","examples.clog\/b","examples.clog\/five","cljs.core\/conj","cljs.core\/filter","cljs.core\/pos?","cljs.core\/map","cljs.core\/inc","cljs.core\/str","G__19798","G__19801","G__19804","cljs.core\/=","G__19808","map__19812","vec__19813","seq__19814","first__19815","examples.clog\/c","cljs.core\/comp","cljs.core\/+"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/clogn.cljs b/examples/resources/public/js/out/examples/clogn.cljs new file mode 100644 index 0000000..411f63e --- /dev/null +++ b/examples/resources/public/js/out/examples/clogn.cljs @@ -0,0 +1,241 @@ +(ns examples.clogn + (:require [cljs.core.async :refer [ 0 n + (inc n) + (inc n))) + + +;;; :skip-arg-2-3-type example +(let [xs #js [1 2 3]] + (clogn (areduce xs i ret 0 (+ ret (aget xs i))))) + + +;;; :skip-arg-1-3-type example +(defmulti greeting + (fn [x] (:language x))) + +(clogn (defmethod greeting :english [map] + (str "English greeting: " (:greeting map)))) + +(clogn (defmethod greeting :french [map] + (str "French greeting: " (:greeting map)))) + +(def english-map {:language :english :greeting "Hello!"}) +(def french-map {:language :french :greeting "Bonjour!"}) + +(greeting english-map) +(greeting french-map) + + +;;; :skip-form-itself-type example +(clogn (-> "a b c d" + .toUpperCase + (.replace "A" "X") + (.split " ") + first)) + +(clogn (.. "a b c d" + toUpperCase + (replace "A" "X"))) + + +(let [x 1 y 2] + (clogn (cond-> [] + (odd? x) (conj "x is odd") + (zero? (rem y 3)) (conj "y is divisible by 3") + (even? y) (conj "y is even")))) + + +;;; :dot-type example +(clogn (. (js/Date.) getMonth)) + + +;;; etc example +(clogn (.-closed js/window)) + + +;;; the form which includes recur +(clogn (loop [acc 1 n 3] + (if (zero? n) + acc + (recur (* acc n) (dec n))))) + +(clogn (defn fact [num] + (loop [acc 1 n num] + (if (zero? n) + acc + (recur (* acc n) (dec n)))))) + +(fact 3) + +(clogn (defn factorial [acc n] + (if (zero? n) + acc + (factorial (* acc n) (dec n))))) + +(factorial 1 3) + + + +;;; Registering your own macros +(d/register-macros! :let-type [my-let]) +(d/register-macros! :loop-type [go-loop]) + +(clog (d/show-macros :let-type)) +(clog (d/show-macros)) + +(clogn (my-let [a 10 b (+ a 10)] (+ a b))) + +(doseq [n (range 10)] + (+ 20 (clogn (* n 10) :if (even? n)))) + +;; go-loop test +;; (clogn (go-loop [seconds 1] +;; (when (< seconds 3) +;; ( person :employer :address :city)) + +(clog (range 5)) + +(clog (str "Clojure " "language")) diff --git a/examples/resources/public/js/out/examples/clogn.cljs.cache.json b/examples/resources/public/js/out/examples/clogn.cljs.cache.json new file mode 100644 index 0000000..a7c5180 --- /dev/null +++ b/examples/resources/public/js/out/examples/clogn.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$Date",["^ ","~$prototype",["^ ","~$getMonth",["^ "]]],"~$window",["^ ","~$closed",["^ "]]],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^;","~$my-let","~$examples.macro","~$go","~$cljs.core.async.macros","~$dbg","^;","~$go-loop","^@","~$clogn","^;","~$break","^;"],"~:excludes",["~#set",[]],"~:name","~$examples.clogn","~:imports",null,"~:requires",["^ ","~$cljs.core.async","^K","~$d","^;","^;","^;"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$timeout","^K","~$","^>","^K","^K","~$d","^;","^;","^;"],"~:cljs.analyzer/constants",["^ ","~:seen",["^F",["~$x","~:address","~:employer","~$a","~:else","~$y","~:default","^G","~:city","~:state","~:examples.clogn/else","~:street","~:let-type","~:language","~:zip","~:english","~$z","~:hierarchy","~:greeting","~:french","~:examples.clogn/then"]],"~:order",["^2B","^2I","^2@","~$a","~$x","~$y","~$z","^2<","^2F","^2C","^2=","^2E","^2G","^2H","^G","^2:","^2;","^2A","^2>","^2?","^2D"]],"^10",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/clogn.js b/examples/resources/public/js/out/examples/clogn.js new file mode 100644 index 0000000..6cb84d8 --- /dev/null +++ b/examples/resources/public/js/out/examples/clogn.js @@ -0,0 +1,483 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.clogn'); +goog.require('cljs.core'); +goog.require('cljs.core.async'); +goog.require('debux.cs.core'); +examples.clogn.foo = (function examples$clogn$foo(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___22807 = arguments.length; +var i__4500__auto___22808 = (0); +while(true){ +if((i__4500__auto___22808 < len__4499__auto___22807)){ +args__4502__auto__.push((arguments[i__4500__auto___22808])); + +var G__22809 = (i__4500__auto___22808 + (1)); +i__4500__auto___22808 = G__22809; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return examples.clogn.foo.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +examples.clogn.foo.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,p__22803){ +var vec__22804 = p__22803; +var c = cljs.core.nth.call(null,vec__22804,(0),null); +if(cljs.core.truth_(c)){ +return ((a * b) * c); +} else { +return ((a * b) * (100)); +} +}); + +examples.clogn.foo.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +examples.clogn.foo.cljs$lang$applyTo = (function (seq22800){ +var G__22801 = cljs.core.first.call(null,seq22800); +var seq22800__$1 = cljs.core.next.call(null,seq22800); +var G__22802 = cljs.core.first.call(null,seq22800__$1); +var seq22800__$2 = cljs.core.next.call(null,seq22800__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__22801,G__22802,seq22800__$2); +}); + +examples.clogn.foo.call(null,(2),(3)); +examples.clogn.foo.call(null,(2),(3),(10)); +/** + * my-function doc string + */ +examples.clogn.my_function = (function examples$clogn$my_function(x){ +return ((x * x) * x); +}); +examples.clogn.my_function.call(null,(10)); +/** + * add doc string + */ +examples.clogn.add = (function examples$clogn$add(a,b){ +return (a + b); +}); +examples.clogn.add.call(null,(10),(20)); +/** + * my-add doc string + */ +examples.clogn.my_add = (function examples$clogn$my_add(var_args){ +var G__22814 = arguments.length; +switch (G__22814) { +case 0: +return examples.clogn.my_add.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return examples.clogn.my_add.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return examples.clogn.my_add.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__4514__auto__ = []; +var len__4499__auto___22816 = arguments.length; +var i__4500__auto___22817 = (0); +while(true){ +if((i__4500__auto___22817 < len__4499__auto___22816)){ +args_arr__4514__auto__.push((arguments[i__4500__auto___22817])); + +var G__22818 = (i__4500__auto___22817 + (1)); +i__4500__auto___22817 = G__22818; +continue; +} else { +} +break; +} + +var argseq__4515__auto__ = (new cljs.core.IndexedSeq(args_arr__4514__auto__.slice((2)),(0),null)); +return examples.clogn.my_add.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4515__auto__); + +} +}); + +examples.clogn.my_add.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (0); +}); + +examples.clogn.my_add.cljs$core$IFn$_invoke$arity$1 = (function (a){ +return a; +}); + +examples.clogn.my_add.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +return (a + b); +}); + +examples.clogn.my_add.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,more){ +return cljs.core.apply.call(null,cljs.core._PLUS_,a,b,more); +}); + +/** @this {Function} */ +examples.clogn.my_add.cljs$lang$applyTo = (function (seq22811){ +var G__22812 = cljs.core.first.call(null,seq22811); +var seq22811__$1 = cljs.core.next.call(null,seq22811); +var G__22813 = cljs.core.first.call(null,seq22811__$1); +var seq22811__$2 = cljs.core.next.call(null,seq22811__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__22812,G__22813,seq22811__$2); +}); + +examples.clogn.my_add.cljs$lang$maxFixedArity = (2); + +examples.clogn.my_add.call(null); +examples.clogn.my_add.call(null,(10)); +examples.clogn.my_add.call(null,(10),(20)); +examples.clogn.my_add.call(null,(10),(20),(30),(40)); +examples.clogn.calc1 = (function examples$clogn$calc1(a1,a2){ +return (a1 + a2); +}); +examples.clogn.calc2 = (function examples$clogn$calc2(s1,s2){ +return ((100) - examples.clogn.calc1.call(null,s1,s2)); +}); +examples.clogn.calc3 = (function examples$clogn$calc3(m1,m2){ +return ((10) * examples.clogn.calc2.call(null,m1,m2)); +}); +examples.clogn.calc3.call(null,(2),(5)); +/** + * attr-map-fn doc-string + */ +examples.clogn.add_pos = (function examples$clogn$add_pos(a,b){ +if((((a > (0))) && ((b > (0))))){ +} else { +throw (new Error("Assert failed: (and (pos? a) (pos? b))")); +} + +var _PERCENT_ = (a + b); +if((_PERCENT_ > (0))){ +} else { +throw (new Error("Assert failed: (pos? %)")); +} + +return _PERCENT_; +}); +examples.clogn.add_pos.call(null,(10),(20)); +/** + * attr-map-fn doc-string + */ +examples.clogn.add_pos2 = (function examples$clogn$add_pos2(var_args){ +var G__22820 = arguments.length; +switch (G__22820) { +case 1: +return examples.clogn.add_pos2.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return examples.clogn.add_pos2.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(''))); + +} +}); + +examples.clogn.add_pos2.cljs$core$IFn$_invoke$arity$1 = (function (a){ +if((a > (0))){ +} else { +throw (new Error("Assert failed: (pos? a)")); +} + +var _PERCENT_ = (a + (100)); +if((_PERCENT_ > (0))){ +} else { +throw (new Error("Assert failed: (pos? %)")); +} + +return _PERCENT_; +}); + +examples.clogn.add_pos2.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +if((((a > (0))) && ((b > (0))))){ +} else { +throw (new Error("Assert failed: (and (pos? a) (pos? b))")); +} + +var _PERCENT_ = (a + b); +if((_PERCENT_ > (0))){ +} else { +throw (new Error("Assert failed: (pos? %)")); +} + +return _PERCENT_; +}); + +examples.clogn.add_pos2.cljs$lang$maxFixedArity = 2; + +examples.clogn.add_pos2.call(null,(10)); +examples.clogn.add_pos2.call(null,(10),(20)); +cljs.core.reduce.call(null,(function (acc,i){ +return (acc + i); +}),(0),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),(5),(9)], null)); +cljs.core.map.call(null,(function (p1__22822_SHARP_){ +return (p1__22822_SHARP_ * (10)); +}),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),(5),(9)], null)); +var a_22826 = ((1) + (2)); +var vec__22823_22827 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(a_22826 + (10)),(a_22826 * (2))], null); +var b_22828 = cljs.core.nth.call(null,vec__22823_22827,(0),null); +var c_22829 = cljs.core.nth.call(null,vec__22823_22827,(1),null); +((a_22826 + b_22828) - c_22829); +var temp__4655__auto___22830 = null; +if(cljs.core.truth_(temp__4655__auto___22830)){ +var user_json_22831 = temp__4655__auto___22830; +} else { +} +var temp__4659__auto___22832 = null; +if((temp__4659__auto___22832 == null)){ +} else { +var user_json_22833 = temp__4659__auto___22832; +} +var twice = (function examples$clogn$twice(x){ +return (x * (2)); +}); +var six_times = (function examples$clogn$six_times(y){ +return (twice.call(null,y) * (3)); +}); +six_times.call(null,(15)); +var iter__4292__auto___22838 = (function examples$clogn$iter__22834(s__22835){ +return (new cljs.core.LazySeq(null,(function (){ +var s__22835__$1 = s__22835; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__22835__$1); +if(temp__4657__auto__){ +var s__22835__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__22835__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__22835__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__22837 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__22836 = (0); +while(true){ +if((i__22836 < size__4291__auto__)){ +var x = cljs.core._nth.call(null,c__4290__auto__,i__22836); +var y = (x * (3)); +if(cljs.core.even_QMARK_.call(null,y)){ +cljs.core.chunk_append.call(null,b__22837,y); + +var G__22839 = (i__22836 + (1)); +i__22836 = G__22839; +continue; +} else { +var G__22840 = (i__22836 + (1)); +i__22836 = G__22840; +continue; +} +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__22837),examples$clogn$iter__22834.call(null,cljs.core.chunk_rest.call(null,s__22835__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__22837),null); +} +} else { +var x = cljs.core.first.call(null,s__22835__$2); +var y = (x * (3)); +if(cljs.core.even_QMARK_.call(null,y)){ +return cljs.core.cons.call(null,y,examples$clogn$iter__22834.call(null,cljs.core.rest.call(null,s__22835__$2))); +} else { +var G__22841 = cljs.core.rest.call(null,s__22835__$2); +s__22835__$1 = G__22841; +continue; +} +} +} else { +return null; +} +break; +} +}),null,null)); +}); +iter__4292__auto___22838.call(null,new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(1),(2),(3),(4),(5)], null)); +var mystr_22843 = "hello"; +var G__22842_22844 = mystr_22843; +switch (G__22842_22844) { +case "": + +break; +case "hello": +cljs.core.count.call(null,mystr_22843); + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__22842_22844)].join(''))); + +} +var G__22846_22847 = new cljs.core.Symbol(null,"a","a",-482876059,null); +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"x","x",-555367584,null),G__22846_22847)){ +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"y","y",-117328249,null),G__22846_22847)){ +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"z","z",851004344,null),G__22846_22847)){ +} else { + +} +} +} +var n_22848 = (0); +var n_22849__$1 = (n_22848 + (1)); +(n_22849__$1 + (1)); +var xs_22850 = [(1),(2),(3)]; +var a__4373__auto___22851 = xs_22850; +var l__4374__auto___22852 = a__4373__auto___22851.length; +var i_22853 = (0); +var ret_22854 = (0); +while(true){ +if((i_22853 < l__4374__auto___22852)){ +var G__22855 = (i_22853 + (1)); +var G__22856 = (ret_22854 + (xs_22850[i_22853])); +i_22853 = G__22855; +ret_22854 = G__22856; +continue; +} else { +} +break; +} +if(typeof examples.clogn.greeting !== 'undefined'){ +} else { +examples.clogn.greeting = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"examples.clogn","greeting"),((function (method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__){ +return (function (x){ +return new cljs.core.Keyword(null,"language","language",-1591107564).cljs$core$IFn$_invoke$arity$1(x); +});})(method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__)) +,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.core._add_method.call(null,examples.clogn.greeting,new cljs.core.Keyword(null,"english","english",1087501909),(function (map){ +return ["English greeting: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"greeting","greeting",462222107).cljs$core$IFn$_invoke$arity$1(map))].join(''); +})); +cljs.core._add_method.call(null,examples.clogn.greeting,new cljs.core.Keyword(null,"french","french",203466333),(function (map){ +return ["French greeting: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"greeting","greeting",462222107).cljs$core$IFn$_invoke$arity$1(map))].join(''); +})); +examples.clogn.english_map = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"language","language",-1591107564),new cljs.core.Keyword(null,"english","english",1087501909),new cljs.core.Keyword(null,"greeting","greeting",462222107),"Hello!"], null); +examples.clogn.french_map = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"language","language",-1591107564),new cljs.core.Keyword(null,"french","french",203466333),new cljs.core.Keyword(null,"greeting","greeting",462222107),"Bonjour!"], null); +examples.clogn.greeting.call(null,examples.clogn.english_map); +examples.clogn.greeting.call(null,examples.clogn.french_map); +cljs.core.first.call(null,"a b c d".toUpperCase().replace("A","X").split(" ")); +"a b c d".toUpperCase().replace("A","X"); +var x_22858 = (1); +var y_22859 = (2); +var G__22857_22860 = cljs.core.PersistentVector.EMPTY; +var G__22857_22861__$1 = ((cljs.core.odd_QMARK_.call(null,x_22858))?cljs.core.conj.call(null,G__22857_22860,"x is odd"):G__22857_22860); +var G__22857_22862__$2 = (((cljs.core.rem.call(null,y_22859,(3)) === (0)))?cljs.core.conj.call(null,G__22857_22861__$1,"y is divisible by 3"):G__22857_22861__$1); +if(cljs.core.even_QMARK_.call(null,y_22859)){ +cljs.core.conj.call(null,G__22857_22862__$2,"y is even"); +} else { +} +(new Date()).getMonth(); +window.closed; +var acc_22863 = (1); +var n_22864 = (3); +while(true){ +if((n_22864 === (0))){ +} else { +var G__22865 = (acc_22863 * n_22864); +var G__22866 = (n_22864 - (1)); +acc_22863 = G__22865; +n_22864 = G__22866; +continue; +} +break; +} +examples.clogn.fact = (function examples$clogn$fact(num){ +var acc = (1); +var n = num; +while(true){ +if((n === (0))){ +return acc; +} else { +var G__22867 = (acc * n); +var G__22868 = (n - (1)); +acc = G__22867; +n = G__22868; +continue; +} +break; +} +}); +examples.clogn.fact.call(null,(3)); +examples.clogn.factorial = (function examples$clogn$factorial(acc,n){ +if((n === (0))){ +return acc; +} else { +return examples.clogn.factorial.call(null,(acc * n),(n - (1))); +} +}); +examples.clogn.factorial.call(null,(1),(3)); +var a_22869 = (10); +var b_22870 = (a_22869 + (10)); +(a_22869 + b_22870); +var seq__22871_22875 = cljs.core.seq.call(null,cljs.core.range.call(null,(10))); +var chunk__22872_22876 = null; +var count__22873_22877 = (0); +var i__22874_22878 = (0); +while(true){ +if((i__22874_22878 < count__22873_22877)){ +var n_22879 = cljs.core._nth.call(null,chunk__22872_22876,i__22874_22878); +((20) + (n_22879 * (10))); + + +var G__22880 = seq__22871_22875; +var G__22881 = chunk__22872_22876; +var G__22882 = count__22873_22877; +var G__22883 = (i__22874_22878 + (1)); +seq__22871_22875 = G__22880; +chunk__22872_22876 = G__22881; +count__22873_22877 = G__22882; +i__22874_22878 = G__22883; +continue; +} else { +var temp__4657__auto___22884 = cljs.core.seq.call(null,seq__22871_22875); +if(temp__4657__auto___22884){ +var seq__22871_22885__$1 = temp__4657__auto___22884; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__22871_22885__$1)){ +var c__4319__auto___22886 = cljs.core.chunk_first.call(null,seq__22871_22885__$1); +var G__22887 = cljs.core.chunk_rest.call(null,seq__22871_22885__$1); +var G__22888 = c__4319__auto___22886; +var G__22889 = cljs.core.count.call(null,c__4319__auto___22886); +var G__22890 = (0); +seq__22871_22875 = G__22887; +chunk__22872_22876 = G__22888; +count__22873_22877 = G__22889; +i__22874_22878 = G__22890; +continue; +} else { +var n_22891 = cljs.core.first.call(null,seq__22871_22885__$1); +((20) + (n_22891 * (10))); + + +var G__22892 = cljs.core.next.call(null,seq__22871_22885__$1); +var G__22893 = null; +var G__22894 = (0); +var G__22895 = (0); +seq__22871_22875 = G__22892; +chunk__22872_22876 = G__22893; +count__22873_22877 = G__22894; +i__22874_22878 = G__22895; +continue; +} +} else { +} +} +break; +} +examples.clogn.person = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"name","name",1843675177),"Mark Volkmann",new cljs.core.Keyword(null,"address","address",559499426),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"street","street",1870012303),"644 Glen Summit",new cljs.core.Keyword(null,"city","city",-393302614),"St. Charles",new cljs.core.Keyword(null,"state","state",-1988618099),"Missouri",new cljs.core.Keyword(null,"zip","zip",678448180),(63304)], null),new cljs.core.Keyword(null,"employer","employer",756886146),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"name","name",1843675177),"Object Computing, Inc.",new cljs.core.Keyword(null,"address","address",559499426),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"street","street",1870012303),"12140 Woodcrest Dr.",new cljs.core.Keyword(null,"city","city",-393302614),"Creve Coeur",new cljs.core.Keyword(null,"state","state",-1988618099),"Missouri",new cljs.core.Keyword(null,"zip","zip",678448180),(63141)], null)], null)], null); +new cljs.core.Keyword(null,"city","city",-393302614).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"address","address",559499426).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"employer","employer",756886146).cljs$core$IFn$_invoke$arity$1(examples.clogn.person))); +cljs.core.range.call(null,(5)); +["Clojure ","language"].join(''); + +//# sourceMappingURL=clogn.js.map?rel=1628501140416 diff --git a/examples/resources/public/js/out/examples/clogn.js.map b/examples/resources/public/js/out/examples/clogn.js.map new file mode 100644 index 0000000..97433c3 --- /dev/null +++ b/examples/resources/public/js/out/examples/clogn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/clogn.js","sources":["clogn.cljs?rel=1628501140418"],"lineCount":483,"mappings":";AAAA;;;;AAOO,AAAA,qBAAA,6BAAAA,lDAAMM;AAAN,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,wDAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAAF;;;AAAA,AAAA,AAAA,AAAAE,0DAAA,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AA;IAAAC,qBAAA;IAAAC,iBAAA;;AAAA,AAAA,GAAA,AAAA,CAAAA,iBAAAD;AAAA,cAAA,AAAA5C,yBAAA2C,mBAAAE,tDAAQhC;AAAR,AAAA,AACE,CAAA,OAAa,WAAA,VAAGA;;AADlB;AAAA,eAAA6B;eAAAC;eAAAC;eAAA,CAAAC,iBAAA;;;;;;;AAAA,IAAAtD,2BAAA,AAAAC,wBAAAkD;AAAA,AAAA,GAAAnD;AAAA,AAAA,IAAAmD,uBAAAnD;AAAA,AAAA,GAAA,AAAAE,uCAAAiD;AAAA,IAAAI,wBAAA,AAAAC,gCAAAL;AAAA,AAAA,eAAA,AAAArC,+BAAAqC;eAAAI;eAAA,AAAAlD,0BAAAkD;eAAA;;;;;;;AAAA,cAAA,AAAAxG,0BAAAoG,pCAAQ7B;AAAR,AAAA,AACE,CAAA,OAAa,WAAA,VAAGA;;AADlB;AAAA,eAAA,AAAAtE,yBAAAmG;eAAA;eAAA;eAAA;;;;;;;;AAAA;;;;AAUA,wBAAA,2CAAA,qDAAA,gBAAA,0DAAA,2CAAA,yDAAA,kBAAA,qDAAA,cAAA,wDAAA,WAAA,kDAAA,gBAAA,4DAAA,2CAAA,qDAAA,yBAAA,0DAAA,2CAAA,yDAAA,sBAAA,qDAAA,cAAA,wDAAA,WAAA,kDAAA,jiCAAKO;AAYC,AAAA,mFAAA,AAAA,wFAAA,AAAA,0FAAIA;AAEJ,0BAAA,1BAACD;AAED,CAAA,WAAA","names":["var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","examples.clogn\/foo","p__22803","vec__22804","cljs.core\/nth","seq22800","G__22801","cljs.core\/first","cljs.core\/next","G__22802","self__4486__auto__","a","b","c","examples.clogn\/my-function","x","examples.clogn\/add","G__22814","examples.clogn\/my-add","args-arr__4514__auto__","argseq__4515__auto__","seq22811","G__22812","G__22813","more","cljs.core\/apply","cljs.core\/+","examples.clogn\/calc1","a1","a2","examples.clogn\/calc2","s1","s2","examples.clogn\/calc3","m1","m2","js\/Error","%","examples.clogn\/add-pos","G__22820","examples.clogn\/add-pos2","cljs.core\/reduce","acc","i","p1__22822#","cljs.core\/map","vec__22823","temp__4655__auto__","user-json","temp__4659__auto__","y","twice","six-times","iter__4292__auto__","s__22835","cljs.core\/LazySeq","temp__4657__auto__","cljs.core\/seq","cljs.core\/chunked-seq?","c__4290__auto__","size__4291__auto__","cljs.core\/count","b__22837","cljs.core\/chunk-buffer","i__22836","cljs.core\/-nth","cljs.core\/chunk-append","cljs.core\/chunk-cons","cljs.core\/chunk","iter__22834","cljs.core\/chunk-rest","cljs.core\/cons","cljs.core\/rest","cljs.core\/even?","mystr","G__22842","G__22846","cljs.core\/=","n","xs","a__4373__auto__","l__4374__auto__","ret","method-table__4382__auto__","cljs.core\/atom","prefer-table__4383__auto__","method-cache__4384__auto__","cached-hierarchy__4385__auto__","hierarchy__4386__auto__","cljs.core\/get","cljs.core\/get-global-hierarchy","cljs.core\/MultiFn","cljs.core\/symbol","examples.clogn\/greeting","cljs.core\/-add-method","map","examples.clogn\/english-map","examples.clogn\/french-map","G__22857","cljs.core\/odd?","cljs.core\/conj","cljs.core\/rem","js\/Date","js\/window","examples.clogn\/fact","num","examples.clogn\/factorial","seq__22871","chunk__22872","count__22873","i__22874","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/range","examples.clogn\/person"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/common.cljc b/examples/resources/public/js/out/examples/common.cljc new file mode 100644 index 0000000..64323bf --- /dev/null +++ b/examples/resources/public/js/out/examples/common.cljc @@ -0,0 +1,31 @@ +(ns examples.common + #?(:cljs (:require [debux.cs.core :as d :refer-macros [clog clogn dbg dbgn break]])) + #?(:cljs (:require-macros [examples.macro2 :refer [my-add]]))) + +(comment + +#?(:clj (use 'debux.core)) + +(* 2 (dbg (+ 10 20))) + +(dbgn (def my-function "my-function doc string" + (fn [x] (* x x x)))) + +(my-function 10) + + +;; clojure macros +#?(:clj + (defmacro my-sub [a b] + (dbg-prn "" "a =" a "b =" b) + `(- ~a ~b))) + +#?(:clj (my-sub 100 10)) + +;; cljs macros +#?(:cljs (my-add 1 2)) + +) + + + diff --git a/examples/resources/public/js/out/examples/common.cljc.cache.json b/examples/resources/public/js/out/examples/common.cljc.cache.json new file mode 100644 index 0000000..25884e1 --- /dev/null +++ b/examples/resources/public/js/out/examples/common.cljc.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^4","~$my-add","~$examples.macro2","~$dbg","^4","~$clogn","^4","~$break","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.common","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ "],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^7","^7","~$d","^4","^4","^4"],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/common.js b/examples/resources/public/js/out/examples/common.js new file mode 100644 index 0000000..312391b --- /dev/null +++ b/examples/resources/public/js/out/examples/common.js @@ -0,0 +1,6 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.common'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); + +//# sourceMappingURL=common.js.map?rel=1628501140453 diff --git a/examples/resources/public/js/out/examples/common.js.map b/examples/resources/public/js/out/examples/common.js.map new file mode 100644 index 0000000..e487b2d --- /dev/null +++ b/examples/resources/public/js/out/examples/common.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/common.js","sources":["common.cljc?rel=1628501140454"],"lineCount":6,"mappings":";AAAA;;;AAIA","names":[]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/core.cljs b/examples/resources/public/js/out/examples/core.cljs new file mode 100644 index 0000000..842dc1e --- /dev/null +++ b/examples/resources/public/js/out/examples/core.cljs @@ -0,0 +1,12 @@ +(ns examples.core + (:require examples.common + examples.clogn + examples.clog + examples.dbgn + examples.dbg + examples.options + examples.etc + ;examples.demo + ;examples.lab +)) + diff --git a/examples/resources/public/js/out/examples/core.cljs.cache.json b/examples/resources/public/js/out/examples/core.cljs.cache.json new file mode 100644 index 0000000..6135c55 --- /dev/null +++ b/examples/resources/public/js/out/examples/core.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$examples.core","~:imports",null,"~:requires",["^ ","~$examples.common","^9","~$examples.clogn","^:","~$examples.clog","^;","~$examples.dbgn","^<","~$examples.dbg","^=","~$examples.options","^>","~$examples.etc","^?"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ "],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/core.js b/examples/resources/public/js/out/examples/core.js new file mode 100644 index 0000000..2f632d9 --- /dev/null +++ b/examples/resources/public/js/out/examples/core.js @@ -0,0 +1,12 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.core'); +goog.require('cljs.core'); +goog.require('examples.common'); +goog.require('examples.clogn'); +goog.require('examples.clog'); +goog.require('examples.dbgn'); +goog.require('examples.dbg'); +goog.require('examples.options'); +goog.require('examples.etc'); + +//# sourceMappingURL=core.js.map?rel=1628501140522 diff --git a/examples/resources/public/js/out/examples/core.js.map b/examples/resources/public/js/out/examples/core.js.map new file mode 100644 index 0000000..b8bf7fc --- /dev/null +++ b/examples/resources/public/js/out/examples/core.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/core.js","sources":["core.cljs?rel=1628501140523"],"lineCount":12,"mappings":";AAAA","names":[]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/dbg.cljs b/examples/resources/public/js/out/examples/dbg.cljs new file mode 100644 index 0000000..b1ff2a8 --- /dev/null +++ b/examples/resources/public/js/out/examples/dbg.cljs @@ -0,0 +1,110 @@ +(ns examples.dbg + (:require [debux.cs.core :as d :refer-macros [clog clogn dbg dbgn dbg-last break]])) + + +;;;; dbg examples + + +; ### Basic usage + +; This is a simple example. The macro *dbg* prints an original form and pretty-prints +; the evaluated value on the REPL window. Then it returns the value without stopping +; code execution. + +(* 2 (dbg (+ 10 20))) +; => 60 + + +; Sometimes you need to see several forms evaluated. To do so, a literal vector +; form can be used like this. + +(defn my-fun + [a {:keys [b c d] :or {d 10 b 20 c 30}} [e f g & h]] + (dbg [a b c d e f g h])) + +(my-fun (take 5 (range)) {:c 50 :d 100} ["a" "b" "c" "d" "e"]) +; => [(0 1 2 3 4) 20 50 100 "a" "b" "c" ("d" "e")] + + +; (-> {:a [1 2]} +; (dbg (get :a)) +; (conj 3)) +; java.lang.IllegalArgumentException +; Don't know how to create ISeq from: java.lang.Long + +(dbg (-> "a b c d" + .toUpperCase + (.replace "A" "X") + (.split " ") + first)) + +(def five 5) +(dbg (->> five (+ 3) (/ 2) (- 1))) + +; When debugging the threading macro `->' or `->>', don't do it like this. +; You will have some exception. + +; (-> {:a [1 2]} +; (dbg (get :a)) +; (conj 3)) +; => java.lang.IllegalArgumentException +; Don't know how to create ISeq from: java.lang.Long + + +; Instead, do it like this. + +(-> {:a [1 2]} + (get :a) + dbg + (conj 3)) +; => [1 2 3] + + +(->> [-1 0 1 2] + (filter pos?) + (map inc) + dbg + (map str)) +; => ("2" "3") + +(->> [-1 0 1 2] + (filter pos?) + (map inc) + (dbg-last "dbg-last example") + (map str)) + + +;; some->, some->> +(dbg (some-> {:a 1} :b inc)) + +(dbg (some->> {:y 3 :x 5} + (:y) + (- 2))) + + +;; cond->, cond->> +(dbg (cond-> 1 + true inc + false (* 42) + (= 2 2) (* 3))) + +(dbg (cond->> 1 + true inc + false (- 42) + (= 2 2) (- 3))) + + + +(dbg (let [a (take 5 (range)) + {:keys [b c d] :or {d 10 b 20 c 30}} {:c 50 :d 100} + [e f g & h] ["a" "b" "c" "d" "e"]] + [a b c d e f g h])) +; => [(0 1 2 3 4) 20 50 100 "a" "b" "c" ("d" "e")] + + +(def c (dbg (comp inc inc +))) +(c 10 20) + + +(doseq [i (range 10)] + (dbg i :if (even? i))) diff --git a/examples/resources/public/js/out/examples/dbg.cljs.cache.json b/examples/resources/public/js/out/examples/dbg.cljs.cache.json new file mode 100644 index 0000000..a973563 --- /dev/null +++ b/examples/resources/public/js/out/examples/dbg.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^4","~$dbg","^4","~$dbg-last","^4","~$clogn","^4","~$break","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.dbg","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$my-fun",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbg.cljs","~:line",21,"~:column",7,"~:end-line",21,"~:end-column",13,"~:arglists",["~#list",["~$quote",["^L",[["~$a",["^ ","~:keys",["~$b","~$c","~$d"],"~:or",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"^<","~$examples.dbg/my-fun","~:variadic",false,"^F","src/cljs/examples/dbg.cljs","^J",13,"~:method-params",["^L",[["~$a","~$p__23003","~$p__23004"]]],"~:protocol-impl",null,"~:arglists-meta",["^L",[null,null]],"^H",1,"^G",21,"^I",21,"~:max-fixed-arity",3,"~:fn-var",true,"^K",["^L",["^M",["^L",[["~$a",["^ ","^N",["~$b","~$c","~$d"],"^O",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"~$five",["^ ","^<","~$examples.dbg/five","^F","src/cljs/examples/dbg.cljs","^G",41,"^H",1,"^I",41,"^J",10,"^E",["^ ","^F","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbg.cljs","^G",41,"^H",6,"^I",41,"^J",10],"~:tag","~$number"],"~$c",["^ ","^<","~$examples.dbg/c","^F","src/cljs/examples/dbg.cljs","^G",105,"^H",1,"^I",105,"^J",7,"^E",["^ ","^F","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbg.cljs","^G",105,"^H",6,"^I",105,"^J",7],"^[","~$any"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$d","^4","^4","^4"],"~:cljs.analyzer/constants",["^ ","~:seen",["^;",["~:y","~:c","~:b","~:d","~:x","~:a"]],"~:order",["~:b","~:c","~:d","~:a","~:y","~:x"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/dbg.js b/examples/resources/public/js/out/examples/dbg.js new file mode 100644 index 0000000..e13a403 --- /dev/null +++ b/examples/resources/public/js/out/examples/dbg.js @@ -0,0 +1,137 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.dbg'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +((2) * ((10) + (20))); +examples.dbg.my_fun = (function examples$dbg$my_fun(a,p__23003,p__23004){ +var map__23005 = p__23003; +var map__23005__$1 = ((((!((map__23005 == null)))?(((((map__23005.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__23005.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__23005):map__23005); +var b = cljs.core.get.call(null,map__23005__$1,new cljs.core.Keyword(null,"b","b",1482224470),(20)); +var c = cljs.core.get.call(null,map__23005__$1,new cljs.core.Keyword(null,"c","c",-1763192079),(30)); +var d = cljs.core.get.call(null,map__23005__$1,new cljs.core.Keyword(null,"d","d",1972142424),(10)); +var vec__23006 = p__23004; +var seq__23007 = cljs.core.seq.call(null,vec__23006); +var first__23008 = cljs.core.first.call(null,seq__23007); +var seq__23007__$1 = cljs.core.next.call(null,seq__23007); +var e = first__23008; +var first__23008__$1 = cljs.core.first.call(null,seq__23007__$1); +var seq__23007__$2 = cljs.core.next.call(null,seq__23007__$1); +var f = first__23008__$1; +var first__23008__$2 = cljs.core.first.call(null,seq__23007__$2); +var seq__23007__$3 = cljs.core.next.call(null,seq__23007__$2); +var g = first__23008__$2; +var h = seq__23007__$3; +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [a,b,c,d,e,f,g,h], null); +}); +examples.dbg.my_fun.call(null,cljs.core.take.call(null,(5),cljs.core.range.call(null)),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"c","c",-1763192079),(50),new cljs.core.Keyword(null,"d","d",1972142424),(100)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, ["a","b","c","d","e"], null)); +cljs.core.first.call(null,"a b c d".toUpperCase().replace("A","X").split(" ")); +examples.dbg.five = (5); +((1) - ((2) / ((3) + examples.dbg.five))); +cljs.core.conj.call(null,cljs.core.get.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),(2)], null)], null),new cljs.core.Keyword(null,"a","a",-2123407586)),(3)); +cljs.core.map.call(null,cljs.core.str,cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.pos_QMARK_,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(-1),(0),(1),(2)], null)))); +cljs.core.map.call(null,cljs.core.str,cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.pos_QMARK_,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(-1),(0),(1),(2)], null)))); +var G__23010_23011 = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"a","a",-2123407586),(1)], null); +var G__23010_23012__$1 = (((G__23010_23011 == null))?null:new cljs.core.Keyword(null,"b","b",1482224470).cljs$core$IFn$_invoke$arity$1(G__23010_23011)); +if((G__23010_23012__$1 == null)){ +} else { +(G__23010_23012__$1 + (1)); +} +var G__23013_23014 = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"y","y",-1757859776),(3),new cljs.core.Keyword(null,"x","x",2099068185),(5)], null); +var G__23013_23015__$1 = (((G__23013_23014 == null))?null:new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(G__23013_23014)); +if((G__23013_23015__$1 == null)){ +} else { +((2) - G__23013_23015__$1); +} +var G__23016_23017 = (1); +var G__23016_23018__$1 = (G__23016_23017 + (1)) +; +var G__23016_23019__$2 = G__23016_23018__$1 +; +if(cljs.core._EQ_.call(null,(2),(2))){ +(G__23016_23019__$2 * (3)); +} else { +} +var G__23020_23021 = (1); +var G__23020_23022__$1 = (G__23020_23021 + (1)) +; +var G__23020_23023__$2 = G__23020_23022__$1 +; +if(cljs.core._EQ_.call(null,(2),(2))){ +((3) - G__23020_23023__$2); +} else { +} +var a_23029 = cljs.core.take.call(null,(5),cljs.core.range.call(null)); +var map__23024_23030 = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"c","c",-1763192079),(50),new cljs.core.Keyword(null,"d","d",1972142424),(100)], null); +var map__23024_23031__$1 = ((((!((map__23024_23030 == null)))?(((((map__23024_23030.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__23024_23030.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__23024_23030):map__23024_23030); +var b_23032 = cljs.core.get.call(null,map__23024_23031__$1,new cljs.core.Keyword(null,"b","b",1482224470),(20)); +var c_23033 = cljs.core.get.call(null,map__23024_23031__$1,new cljs.core.Keyword(null,"c","c",-1763192079),(30)); +var d_23034 = cljs.core.get.call(null,map__23024_23031__$1,new cljs.core.Keyword(null,"d","d",1972142424),(10)); +var vec__23025_23035 = new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, ["a","b","c","d","e"], null); +var seq__23026_23036 = cljs.core.seq.call(null,vec__23025_23035); +var first__23027_23037 = cljs.core.first.call(null,seq__23026_23036); +var seq__23026_23038__$1 = cljs.core.next.call(null,seq__23026_23036); +var e_23039 = first__23027_23037; +var first__23027_23040__$1 = cljs.core.first.call(null,seq__23026_23038__$1); +var seq__23026_23041__$2 = cljs.core.next.call(null,seq__23026_23038__$1); +var f_23042 = first__23027_23040__$1; +var first__23027_23043__$2 = cljs.core.first.call(null,seq__23026_23041__$2); +var seq__23026_23044__$3 = cljs.core.next.call(null,seq__23026_23041__$2); +var g_23045 = first__23027_23043__$2; +var h_23046 = seq__23026_23044__$3; +new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [a_23029,b_23032,c_23033,d_23034,e_23039,f_23042,g_23045,h_23046], null); +examples.dbg.c = cljs.core.comp.call(null,cljs.core.inc,cljs.core.inc,cljs.core._PLUS_); +examples.dbg.c.call(null,(10),(20)); +var seq__23047_23051 = cljs.core.seq.call(null,cljs.core.range.call(null,(10))); +var chunk__23048_23052 = null; +var count__23049_23053 = (0); +var i__23050_23054 = (0); +while(true){ +if((i__23050_23054 < count__23049_23053)){ +var i_23055 = cljs.core._nth.call(null,chunk__23048_23052,i__23050_23054); + + +var G__23056 = seq__23047_23051; +var G__23057 = chunk__23048_23052; +var G__23058 = count__23049_23053; +var G__23059 = (i__23050_23054 + (1)); +seq__23047_23051 = G__23056; +chunk__23048_23052 = G__23057; +count__23049_23053 = G__23058; +i__23050_23054 = G__23059; +continue; +} else { +var temp__4657__auto___23060 = cljs.core.seq.call(null,seq__23047_23051); +if(temp__4657__auto___23060){ +var seq__23047_23061__$1 = temp__4657__auto___23060; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__23047_23061__$1)){ +var c__4319__auto___23062 = cljs.core.chunk_first.call(null,seq__23047_23061__$1); +var G__23063 = cljs.core.chunk_rest.call(null,seq__23047_23061__$1); +var G__23064 = c__4319__auto___23062; +var G__23065 = cljs.core.count.call(null,c__4319__auto___23062); +var G__23066 = (0); +seq__23047_23051 = G__23063; +chunk__23048_23052 = G__23064; +count__23049_23053 = G__23065; +i__23050_23054 = G__23066; +continue; +} else { +var i_23067 = cljs.core.first.call(null,seq__23047_23061__$1); + + +var G__23068 = cljs.core.next.call(null,seq__23047_23061__$1); +var G__23069 = null; +var G__23070 = (0); +var G__23071 = (0); +seq__23047_23051 = G__23068; +chunk__23048_23052 = G__23069; +count__23049_23053 = G__23070; +i__23050_23054 = G__23071; +continue; +} +} else { +} +} +break; +} + +//# sourceMappingURL=dbg.js.map?rel=1628501140514 diff --git a/examples/resources/public/js/out/examples/dbg.js.map b/examples/resources/public/js/out/examples/dbg.js.map new file mode 100644 index 0000000..01596d2 --- /dev/null +++ b/examples/resources/public/js/out/examples/dbg.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/dbg.js","sources":["dbg.cljs?rel=1628501140516"],"lineCount":137,"mappings":";AAAA;;;AAaA,CAAA,MAAU,CAAA,OAAA;AAOV,sBAAA,gCAAAA,SAAAC,\/DAAMY,oDACHC;AADH,AAAA,IAAAZ,aAAAF;IAAAE,iBAAA,EAAA,EAAA,EAAA,CAAAA,cAAA,QAAA,EAAA,EAAA,CAAA,AAAAA,iDAAA,WAAA,CAAAC,gCAAA,AAAAD,+BAAA,KAAA,OAAA,QAAA,AAAAE,0BAAAC,mBAAAH,YAAAA;QAAA,AAAAI,wBAAAJ,eAAA,+CAAA,1FACaa;QADb,AAAAT,wBAAAJ,eAAA,gDAAA,3FACec;QADf,AAAAV,wBAAAJ,eAAA,+CAAA,1FACiBe;IADjBV,aAAAN;IAAAO,aAAA,AAAA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AA,AAAA,GAAA,AAAA,CAAAA,iBAAAD;AAAA,cAAA,AAAAE,yBAAAH,mBAAAE,tDAAQQ;AAAR,AAAA,AACOA;AADP;AAAA,eAAAX;eAAAC;eAAAC;eAAA,CAAAC,iBAAA;;;;;;;AAAA,IAAAE,2BAAA,AAAAvC,wBAAAkC;AAAA,AAAA,GAAAK;AAAA,AAAA,IAAAL,uBAAAK;AAAA,AAAA,GAAA,AAAAC,uCAAAN;AAAA,IAAAO,wBAAA,AAAAC,gCAAAR;AAAA,AAAA,eAAA,AAAAS,+BAAAT;eAAAO;eAAA,AAAAG,0BAAAH;eAAA;;;;;;;AAAA,cAAA,AAAAvC,0BAAAgC,pCAAQW;AAAR,AAAA,AACOA;AADP;AAAA,eAAA,AAAA1C,yBAAA+B;eAAA;eAAA;eAAA;;;;;;;;AAAA","names":["p__23003","p__23004","map__23005","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","vec__23006","seq__23007","cljs.core\/seq","first__23008","cljs.core\/first","cljs.core\/next","examples.dbg\/my-fun","a","b","c","d","e","f","g","h","cljs.core\/take","cljs.core\/range","examples.dbg\/five","cljs.core\/conj","cljs.core\/filter","cljs.core\/pos?","cljs.core\/map","cljs.core\/inc","cljs.core\/str","G__23010","G__23013","G__23016","cljs.core\/=","G__23020","map__23024","vec__23025","seq__23026","first__23027","examples.dbg\/c","cljs.core\/comp","cljs.core\/+","seq__23047","chunk__23048","count__23049","i__23050","cljs.core\/-nth","temp__4657__auto__","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/count","i"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/dbgn.cljs b/examples/resources/public/js/out/examples/dbgn.cljs new file mode 100644 index 0000000..72a8496 --- /dev/null +++ b/examples/resources/public/js/out/examples/dbgn.cljs @@ -0,0 +1,174 @@ +(ns examples.dbgn + (:require [debux.cs.core :as d :refer-macros [clog clogn dbg dbgn break]]) + (:require-macros [examples.macro :refer [my-let]])) + +;;; simple example +(dbgn (defn foo [a b & [c]] + (if c + (* a b c) + (* a b 100)))) + +(foo 2 3) +(foo 2 3 10) + + +;;; :def-type example +(dbgn (def my-function "my-function doc string" + (fn [x] (* x x x)))) + +(my-function 10) + +(dbgn (def my-function-2 "my-function doc string" + (fn [x] (* x x x))) :dup) + +(my-function-2 10) + +;;; :defn-type example +(dbgn (defn add + "add doc string" + [a b] + (+ a b))) + +(add 10 20) + + +(dbgn (defn my-add + "my-add doc string" + ([] 0) + ([a] a) + ([a b] (+ a b)) + ([a b & more] (apply + a b more)))) + + +(my-add) +(my-add 10) +(my-add 10 20) +(my-add 10 20 30 40) + +(dbgn (defn calc1 [a1 a2] (+ a1 a2))) +(dbgn (defn calc2 [s1 s2] (- 100 (calc1 s1 s2)))) +(dbgn (defn calc3 [m1 m2] (* 10 (calc2 m1 m2)))) + +(calc3 2 5) + + +;;; :fn-type example +(dbgn (reduce (fn [acc i] (+ acc i)) 0 [1 5 9])) +(dbgn (map #(* % 10) [1 5 9])) + + +;;; :let-type example +(dbgn (let [a (+ 1 2) + [b c] [(+ a 10) (* a 2)]] + (- (+ a b) c))) + + +;;; :letfn-type example +(dbgn (letfn [(twice [x] + (* x 2)) + (six-times [y] + (* (twice y) 3))] + (six-times 15))) + + +;;; :for-type example +(dbgn (for [x [0 1 2 3 4 5] + :let [y (* x 3)] + :when (even? y)] + y)) + + +;;; :case-type example +(dbgn (let [mystr "hello"] + (case mystr + "" 0 + "hello" (count mystr)))) + +(dbgn (case 'a + (x y z) "x, y, or z" + "default")) + + +;;; :skip-arg-1-type example + + +;;; :skip-arg-2-type example +(dbgn (as-> 0 n + (inc n) + (inc n))) + + +;;; :skip-arg-2-3-type example +(let [xs #js [1 2 3]] + (dbgn (areduce xs i ret 0 (+ ret (aget xs i))))) + + +;;; :skip-arg-1-3-type example +(defmulti greeting + (fn [x] (:language x))) + +(dbgn (defmethod greeting :english [map] + (str "English greeting: " (:greeting map)))) + +(dbgn (defmethod greeting :french [map] + (str "French greeting: " (:greeting map)))) + +(def english-map {:language :english :greeting "Hello!"}) +(def french-map {:language :french :greeting "Bonjour!"}) + +(greeting english-map) +(greeting french-map) + + +;;; :skip-form-itself-type example +(dbgn (-> "a b c d" + .toUpperCase + (.replace "A" "X") + (.split " ") + first)) + +(dbgn (.. "a b c d" + toUpperCase + (replace "A" "X"))) + + +(let [x 1 y 2] + (dbgn (cond-> [] + (odd? x) (conj "x is odd") + (zero? (rem y 3)) (conj "y is divisible by 3") + (even? y) (conj "y is even")))) + + +;;; :dot-type example +(dbgn (. (js/Date.) getMonth)) + + +;;; the form which includes recur +(dbgn (loop [acc 1 n 3] + (if (zero? n) + acc + (recur (* acc n) (dec n))))) + +(dbgn (defn fact [num] + (loop [acc 1 n num] + (if (zero? n) + acc + (recur (* acc n) (dec n)))))) + +(fact 3) + +(dbgn (defn factorial [acc n] + (if (zero? n) + acc + (factorial (* acc n) (dec n))))) + +(factorial 1 3) + + +;;; Registering your own macros +(d/register-macros! :let-type [my-let]) + +(dbg (d/show-macros :let-type)) +(dbg (d/show-macros)) + +(dbgn (my-let [a 10 b (+ a 10)] (+ a b))) diff --git a/examples/resources/public/js/out/examples/dbgn.cljs.cache.json b/examples/resources/public/js/out/examples/dbgn.cljs.cache.json new file mode 100644 index 0000000..ee577ad --- /dev/null +++ b/examples/resources/public/js/out/examples/dbgn.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$Date",["^ ","~$prototype",["^ ","~$getMonth",["^ "]]]],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^9","~$my-let","~$examples.macro","~$dbg","^9","~$clogn","^9","~$break","^9"],"~:excludes",["~#set",[]],"~:name","~$examples.dbgn","~:imports",null,"~:requires",["^ ","~$d","^9","^9","^9"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$my-function-2",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","~:line",21,"~:column",12,"~:end-line",21,"~:end-column",25],"^B","~$examples.dbgn/my-function-2","~:variadic",false,"^L","src/cljs/examples/dbgn.cljs","^P",25,"~:method-params",["~#list",[["~$x"]]],"~:protocol-impl",null,"~:arglists-meta",["^T",[]],"^N",7,"^M",21,"^O",21,"~:max-fixed-arity",1,"~:fn-var",true,"~:arglists",null,"~:doc","my-function doc string"],"~$greeting",["^ ","^B","~$examples.dbgn/greeting","^L","src/cljs/examples/dbgn.cljs","^M",107,"^N",1,"^O",107,"^P",19,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",107,"^N",11,"^O",107,"^P",19],"~:tag","~$cljs.core/MultiFn"],"~$add",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",27,"^N",13,"^O",27,"^P",16,"^Y",["^T",["~$quote",["^T",[["~$a","~$b"]]]]],"^Z","add doc string"],"^B","~$examples.dbgn/add","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",16,"^S",["^T",[["~$a","~$b"]]],"^U",null,"^V",["^T",[null,null]],"^N",7,"^M",27,"^O",27,"^W",2,"^X",true,"^Y",["^T",["^14",["^T",[["~$a","~$b"]]]]],"^Z","add doc string"],"~$english-map",["^ ","^B","~$examples.dbgn/english-map","^L","src/cljs/examples/dbgn.cljs","^M",116,"^N",1,"^O",116,"^P",17,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",116,"^N",6,"^O",116,"^P",17],"^11","~$cljs.core/IMap"],"~$my-add",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",35,"^N",13,"^O",35,"^P",19,"^Y",["^T",["^14",["^T",[[],["~$a"],["~$a","~$b"],["~$a","~$b","~$&","~$more"]]]]],"^Z","my-add doc string","~:top-fn",["^ ","^R",true,"^W",2,"^S",["^T",[[],["~$a"],["~$a","~$b"]]],"^Y",["^T",[[],["~$a"],["~$a","~$b"],["~$a","~$b","~$&","^1:"]]],"^V",["^T",[null,null,null,null]]]],"^B","~$examples.dbgn/my-add","^R",true,"^L","src/cljs/examples/dbgn.cljs","^P",19,"^1;",["^ ","^R",true,"^W",2,"^S",["^T",[[],["~$a"],["~$a","~$b"]]],"^Y",["^T",[[],["~$a"],["~$a","~$b"],["~$a","~$b","~$&","^1:"]]],"^V",["^T",[null,null,null,null]]],"^S",["^T",[[],["~$a"],["~$a","~$b"]]],"^U",null,"^V",["^T",[null,null,null,null]],"^N",7,"^M",35,"^O",35,"^W",2,"^X",true,"^Y",["^T",[[],["~$a"],["~$a","~$b"],["~$a","~$b","~$&","^1:"]]],"^Z","my-add doc string"],"~$calc2",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",49,"^N",13,"^O",49,"^P",18,"^Y",["^T",["^14",["^T",[["~$s1","~$s2"]]]]]],"^B","~$examples.dbgn/calc2","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",18,"^S",["^T",[["^1>","^1?"]]],"^U",null,"^V",["^T",[null,null]],"^N",7,"^M",49,"^O",49,"^W",2,"^X",true,"^Y",["^T",["^14",["^T",[["^1>","^1?"]]]]]],"~$calc3",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",50,"^N",13,"^O",50,"^P",18,"^Y",["^T",["^14",["^T",[["~$m1","~$m2"]]]]]],"^B","~$examples.dbgn/calc3","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",18,"^S",["^T",[["^1B","^1C"]]],"^U",null,"^V",["^T",[null,null]],"^N",7,"^M",50,"^O",50,"^W",2,"^X",true,"^Y",["^T",["^14",["^T",[["^1B","^1C"]]]]]],"~$factorial",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",160,"^N",13,"^O",160,"^P",22,"^Y",["^T",["^14",["^T",[["~$acc","~$n"]]]]]],"^B","~$examples.dbgn/factorial","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",22,"^S",["^T",[["^1F","~$n"]]],"^U",null,"^V",["^T",[null,null]],"^N",7,"^M",160,"^O",160,"^W",2,"^X",true,"^Y",["^T",["^14",["^T",[["^1F","~$n"]]]]]],"~$french-map",["^ ","^B","~$examples.dbgn/french-map","^L","src/cljs/examples/dbgn.cljs","^M",117,"^N",1,"^O",117,"^P",16,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",117,"^N",6,"^O",117,"^P",16],"^11","^18"],"~$fact",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",152,"^N",13,"^O",152,"^P",17,"^Y",["^T",["^14",["^T",[["~$num"]]]]]],"^B","~$examples.dbgn/fact","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",17,"^S",["^T",[["^1K"]]],"^U",null,"^V",["^T",[null,null]],"^N",7,"^M",152,"^O",152,"^W",1,"^X",true,"^Y",["^T",["^14",["^T",[["^1K"]]]]]],"~$my-function",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",16,"^N",12,"^O",16,"^P",23],"^B","~$examples.dbgn/my-function","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",23,"^S",["^T",[["~$x"]]],"^U",null,"^V",["^T",[]],"^N",7,"^M",16,"^O",16,"^W",1,"^X",true,"^Y",null,"^Z","my-function doc string"],"~$calc1",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",48,"^N",13,"^O",48,"^P",18,"^Y",["^T",["^14",["^T",[["~$a1","~$a2"]]]]]],"^B","~$examples.dbgn/calc1","^R",false,"^L","src/cljs/examples/dbgn.cljs","^P",18,"^S",["^T",[["^1P","^1Q"]]],"^U",null,"^V",["^T",[null,null]],"^N",7,"^M",48,"^O",48,"^W",2,"^X",true,"^Y",["^T",["^14",["^T",[["^1P","^1Q"]]]]]],"~$foo",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/dbgn.cljs","^M",6,"^N",13,"^O",6,"^P",16,"^Y",["^T",["^14",["^T",[["~$a","~$b","~$&",["~$c"]]]]]],"^1;",["^ ","^R",true,"^W",2,"^S",[["^T",["~$a","~$b",["~$c"]]]],"^Y",["^T",[["~$a","~$b","~$&",["~$c"]]]],"^V",["^T",[null]]]],"^B","~$examples.dbgn/foo","^R",true,"^L","src/cljs/examples/dbgn.cljs","^P",16,"^1;",["^ ","^R",true,"^W",2,"^S",[["^T",["~$a","~$b",["~$c"]]]],"^Y",["^T",[["~$a","~$b","~$&",["~$c"]]]],"^V",["^T",[null]]],"^S",[["^T",["~$a","~$b",["~$c"]]]],"^U",null,"^V",["^T",[null]],"^N",7,"^M",6,"^O",6,"^W",2,"^X",true,"^Y",["^T",[["~$a","~$b","~$&",["~$c"]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^<","^<","~$d","^9","^9","^9"],"~:cljs.analyzer/constants",["^ ","~:seen",["^A",["~$x","~$a","~:else","~$y","~:default","~:language","~:english","~$z","~:hierarchy","~:greeting","~:french"]],"~:order",["~$a","~$x","~$y","~$z","^1Y","^21","^1[","^1Z","^20","^22","^23"]],"^Z",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/dbgn.js b/examples/resources/public/js/out/examples/dbgn.js new file mode 100644 index 0000000..ca9cddf --- /dev/null +++ b/examples/resources/public/js/out/examples/dbgn.js @@ -0,0 +1,348 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.dbgn'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +examples.dbgn.foo = (function examples$dbgn$foo(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___19844 = arguments.length; +var i__4500__auto___19845 = (0); +while(true){ +if((i__4500__auto___19845 < len__4499__auto___19844)){ +args__4502__auto__.push((arguments[i__4500__auto___19845])); + +var G__19846 = (i__4500__auto___19845 + (1)); +i__4500__auto___19845 = G__19846; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return examples.dbgn.foo.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +examples.dbgn.foo.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,p__19840){ +var vec__19841 = p__19840; +var c = cljs.core.nth.call(null,vec__19841,(0),null); +if(cljs.core.truth_(c)){ +return ((a * b) * c); +} else { +return ((a * b) * (100)); +} +}); + +examples.dbgn.foo.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +examples.dbgn.foo.cljs$lang$applyTo = (function (seq19837){ +var G__19838 = cljs.core.first.call(null,seq19837); +var seq19837__$1 = cljs.core.next.call(null,seq19837); +var G__19839 = cljs.core.first.call(null,seq19837__$1); +var seq19837__$2 = cljs.core.next.call(null,seq19837__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19838,G__19839,seq19837__$2); +}); + +examples.dbgn.foo.call(null,(2),(3)); +examples.dbgn.foo.call(null,(2),(3),(10)); +/** + * my-function doc string + */ +examples.dbgn.my_function = (function examples$dbgn$my_function(x){ +return ((x * x) * x); +}); +examples.dbgn.my_function.call(null,(10)); +/** + * my-function doc string + */ +examples.dbgn.my_function_2 = (function examples$dbgn$my_function_2(x){ +return ((x * x) * x); +}); +examples.dbgn.my_function_2.call(null,(10)); +/** + * add doc string + */ +examples.dbgn.add = (function examples$dbgn$add(a,b){ +return (a + b); +}); +examples.dbgn.add.call(null,(10),(20)); +/** + * my-add doc string + */ +examples.dbgn.my_add = (function examples$dbgn$my_add(var_args){ +var G__19851 = arguments.length; +switch (G__19851) { +case 0: +return examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__4514__auto__ = []; +var len__4499__auto___19853 = arguments.length; +var i__4500__auto___19854 = (0); +while(true){ +if((i__4500__auto___19854 < len__4499__auto___19853)){ +args_arr__4514__auto__.push((arguments[i__4500__auto___19854])); + +var G__19855 = (i__4500__auto___19854 + (1)); +i__4500__auto___19854 = G__19855; +continue; +} else { +} +break; +} + +var argseq__4515__auto__ = (new cljs.core.IndexedSeq(args_arr__4514__auto__.slice((2)),(0),null)); +return examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4515__auto__); + +} +}); + +examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (0); +}); + +examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$1 = (function (a){ +return a; +}); + +examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +return (a + b); +}); + +examples.dbgn.my_add.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,more){ +return cljs.core.apply.call(null,cljs.core._PLUS_,a,b,more); +}); + +/** @this {Function} */ +examples.dbgn.my_add.cljs$lang$applyTo = (function (seq19848){ +var G__19849 = cljs.core.first.call(null,seq19848); +var seq19848__$1 = cljs.core.next.call(null,seq19848); +var G__19850 = cljs.core.first.call(null,seq19848__$1); +var seq19848__$2 = cljs.core.next.call(null,seq19848__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__19849,G__19850,seq19848__$2); +}); + +examples.dbgn.my_add.cljs$lang$maxFixedArity = (2); + +examples.dbgn.my_add.call(null); +examples.dbgn.my_add.call(null,(10)); +examples.dbgn.my_add.call(null,(10),(20)); +examples.dbgn.my_add.call(null,(10),(20),(30),(40)); +examples.dbgn.calc1 = (function examples$dbgn$calc1(a1,a2){ +return (a1 + a2); +}); +examples.dbgn.calc2 = (function examples$dbgn$calc2(s1,s2){ +return ((100) - examples.dbgn.calc1.call(null,s1,s2)); +}); +examples.dbgn.calc3 = (function examples$dbgn$calc3(m1,m2){ +return ((10) * examples.dbgn.calc2.call(null,m1,m2)); +}); +examples.dbgn.calc3.call(null,(2),(5)); +cljs.core.reduce.call(null,(function (acc,i){ +return (acc + i); +}),(0),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),(5),(9)], null)); +cljs.core.map.call(null,(function (p1__19856_SHARP_){ +return (p1__19856_SHARP_ * (10)); +}),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),(5),(9)], null)); +var a_19860 = ((1) + (2)); +var vec__19857_19861 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(a_19860 + (10)),(a_19860 * (2))], null); +var b_19862 = cljs.core.nth.call(null,vec__19857_19861,(0),null); +var c_19863 = cljs.core.nth.call(null,vec__19857_19861,(1),null); +((a_19860 + b_19862) - c_19863); +var twice = (function examples$dbgn$twice(x){ +return (x * (2)); +}); +var six_times = (function examples$dbgn$six_times(y){ +return (twice.call(null,y) * (3)); +}); +six_times.call(null,(15)); +var iter__4292__auto___19868 = (function examples$dbgn$iter__19864(s__19865){ +return (new cljs.core.LazySeq(null,(function (){ +var s__19865__$1 = s__19865; +while(true){ +var temp__4657__auto__ = cljs.core.seq.call(null,s__19865__$1); +if(temp__4657__auto__){ +var s__19865__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__19865__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__19865__$2); +var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); +var b__19867 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__19866 = (0); +while(true){ +if((i__19866 < size__4291__auto__)){ +var x = cljs.core._nth.call(null,c__4290__auto__,i__19866); +var y = (x * (3)); +if(cljs.core.even_QMARK_.call(null,y)){ +cljs.core.chunk_append.call(null,b__19867,y); + +var G__19869 = (i__19866 + (1)); +i__19866 = G__19869; +continue; +} else { +var G__19870 = (i__19866 + (1)); +i__19866 = G__19870; +continue; +} +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__19867),examples$dbgn$iter__19864.call(null,cljs.core.chunk_rest.call(null,s__19865__$2))); +} else { +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__19867),null); +} +} else { +var x = cljs.core.first.call(null,s__19865__$2); +var y = (x * (3)); +if(cljs.core.even_QMARK_.call(null,y)){ +return cljs.core.cons.call(null,y,examples$dbgn$iter__19864.call(null,cljs.core.rest.call(null,s__19865__$2))); +} else { +var G__19871 = cljs.core.rest.call(null,s__19865__$2); +s__19865__$1 = G__19871; +continue; +} +} +} else { +return null; +} +break; +} +}),null,null)); +}); +iter__4292__auto___19868.call(null,new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(1),(2),(3),(4),(5)], null)); +var mystr_19873 = "hello"; +var G__19872_19874 = mystr_19873; +switch (G__19872_19874) { +case "": + +break; +case "hello": +cljs.core.count.call(null,mystr_19873); + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__19872_19874)].join(''))); + +} +var G__19876_19877 = new cljs.core.Symbol(null,"a","a",-482876059,null); +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"x","x",-555367584,null),G__19876_19877)){ +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"y","y",-117328249,null),G__19876_19877)){ +} else { +if(cljs.core._EQ_.call(null,new cljs.core.Symbol(null,"z","z",851004344,null),G__19876_19877)){ +} else { + +} +} +} +var n_19878 = (0); +var n_19879__$1 = (n_19878 + (1)); +(n_19879__$1 + (1)); +var xs_19880 = [(1),(2),(3)]; +var a__4373__auto___19881 = xs_19880; +var l__4374__auto___19882 = a__4373__auto___19881.length; +var i_19883 = (0); +var ret_19884 = (0); +while(true){ +if((i_19883 < l__4374__auto___19882)){ +var G__19885 = (i_19883 + (1)); +var G__19886 = (ret_19884 + (xs_19880[i_19883])); +i_19883 = G__19885; +ret_19884 = G__19886; +continue; +} else { +} +break; +} +if(typeof examples.dbgn.greeting !== 'undefined'){ +} else { +examples.dbgn.greeting = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"examples.dbgn","greeting"),((function (method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__){ +return (function (x){ +return new cljs.core.Keyword(null,"language","language",-1591107564).cljs$core$IFn$_invoke$arity$1(x); +});})(method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__)) +,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.core._add_method.call(null,examples.dbgn.greeting,new cljs.core.Keyword(null,"english","english",1087501909),(function (map){ +return ["English greeting: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"greeting","greeting",462222107).cljs$core$IFn$_invoke$arity$1(map))].join(''); +})); +cljs.core._add_method.call(null,examples.dbgn.greeting,new cljs.core.Keyword(null,"french","french",203466333),(function (map){ +return ["French greeting: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"greeting","greeting",462222107).cljs$core$IFn$_invoke$arity$1(map))].join(''); +})); +examples.dbgn.english_map = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"language","language",-1591107564),new cljs.core.Keyword(null,"english","english",1087501909),new cljs.core.Keyword(null,"greeting","greeting",462222107),"Hello!"], null); +examples.dbgn.french_map = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"language","language",-1591107564),new cljs.core.Keyword(null,"french","french",203466333),new cljs.core.Keyword(null,"greeting","greeting",462222107),"Bonjour!"], null); +examples.dbgn.greeting.call(null,examples.dbgn.english_map); +examples.dbgn.greeting.call(null,examples.dbgn.french_map); +cljs.core.first.call(null,"a b c d".toUpperCase().replace("A","X").split(" ")); +"a b c d".toUpperCase().replace("A","X"); +var x_19888 = (1); +var y_19889 = (2); +var G__19887_19890 = cljs.core.PersistentVector.EMPTY; +var G__19887_19891__$1 = ((cljs.core.odd_QMARK_.call(null,x_19888))?cljs.core.conj.call(null,G__19887_19890,"x is odd"):G__19887_19890); +var G__19887_19892__$2 = (((cljs.core.rem.call(null,y_19889,(3)) === (0)))?cljs.core.conj.call(null,G__19887_19891__$1,"y is divisible by 3"):G__19887_19891__$1); +if(cljs.core.even_QMARK_.call(null,y_19889)){ +cljs.core.conj.call(null,G__19887_19892__$2,"y is even"); +} else { +} +(new Date()).getMonth(); +var acc_19893 = (1); +var n_19894 = (3); +while(true){ +if((n_19894 === (0))){ +} else { +var G__19895 = (acc_19893 * n_19894); +var G__19896 = (n_19894 - (1)); +acc_19893 = G__19895; +n_19894 = G__19896; +continue; +} +break; +} +examples.dbgn.fact = (function examples$dbgn$fact(num){ +var acc = (1); +var n = num; +while(true){ +if((n === (0))){ +return acc; +} else { +var G__19897 = (acc * n); +var G__19898 = (n - (1)); +acc = G__19897; +n = G__19898; +continue; +} +break; +} +}); +examples.dbgn.fact.call(null,(3)); +examples.dbgn.factorial = (function examples$dbgn$factorial(acc,n){ +if((n === (0))){ +return acc; +} else { +return examples.dbgn.factorial.call(null,(acc * n),(n - (1))); +} +}); +examples.dbgn.factorial.call(null,(1),(3)); +var a_19899 = (10); +var b_19900 = (a_19899 + (10)); +(a_19899 + b_19900); + +//# sourceMappingURL=dbgn.js.map?rel=1628501138538 diff --git a/examples/resources/public/js/out/examples/dbgn.js.map b/examples/resources/public/js/out/examples/dbgn.js.map new file mode 100644 index 0000000..9c91607 --- /dev/null +++ b/examples/resources/public/js/out/examples/dbgn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/dbgn.js","sources":["dbgn.cljs?rel=1628501138540"],"lineCount":348,"mappings":";AAAA;;;AAKM,AAAA,oBAAA,4BAAAA,hDAAMM;AAAN,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,uDAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAAF;;;AAAA,AAAA,AAAA,AAAAE,yDAAA,eAAAC,JAAWS,E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","argseq__4503__auto__","cljs.core\/IndexedSeq","examples.dbgn\/foo","p__19840","vec__19841","cljs.core\/nth","seq19837","G__19838","cljs.core\/first","cljs.core\/next","G__19839","self__4486__auto__","a","b","c","examples.dbgn\/my-function","x","examples.dbgn\/my-function-2","examples.dbgn\/add","G__19851","examples.dbgn\/my-add","args-arr__4514__auto__","argseq__4515__auto__","seq19848","G__19849","G__19850","more","cljs.core\/apply","cljs.core\/+","examples.dbgn\/calc1","a1","a2","examples.dbgn\/calc2","s1","s2","examples.dbgn\/calc3","m1","m2","cljs.core\/reduce","acc","i","p1__19856#","cljs.core\/map","vec__19857","y","twice","six-times","iter__4292__auto__","s__19865","cljs.core\/LazySeq","temp__4657__auto__","cljs.core\/seq","cljs.core\/chunked-seq?","c__4290__auto__","size__4291__auto__","cljs.core\/count","b__19867","cljs.core\/chunk-buffer","i__19866","cljs.core\/-nth","cljs.core\/chunk-append","cljs.core\/chunk-cons","cljs.core\/chunk","iter__19864","cljs.core\/chunk-rest","cljs.core\/cons","cljs.core\/rest","cljs.core\/even?","mystr","G__19872","js\/Error","G__19876","cljs.core\/=","n","xs","a__4373__auto__","l__4374__auto__","ret","method-table__4382__auto__","cljs.core\/atom","prefer-table__4383__auto__","method-cache__4384__auto__","cached-hierarchy__4385__auto__","hierarchy__4386__auto__","cljs.core\/get","cljs.core\/get-global-hierarchy","cljs.core\/MultiFn","cljs.core\/symbol","examples.dbgn\/greeting","cljs.core\/-add-method","map","examples.dbgn\/english-map","examples.dbgn\/french-map","G__19887","cljs.core\/odd?","cljs.core\/conj","cljs.core\/rem","js\/Date","examples.dbgn\/fact","num","examples.dbgn\/factorial","cljs.core\/chunk-first"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/demo.cljs b/examples/resources/public/js/out/examples/demo.cljs new file mode 100644 index 0000000..1f05ffb --- /dev/null +++ b/examples/resources/public/js/out/examples/demo.cljs @@ -0,0 +1,82 @@ +(ns examples.demo + (:require [debux.cs.core :as d :refer-macros [clog clogn dbg dbgn break]]) + (:require-macros [examples.macro :refer [my-let]])) + +;;; Registering your own macro +(d/register-macros! :let-type [my-let]) + +(clogn (my-let [a 10 b (+ a 10)] (+ a b))) + + +;;; Various options + +;; :style option (CSS Styling) +(clog (repeat 5 "x") "5 times repeat") +(clogn (repeat 5 (repeat 5 "x")) "25 times repeat") + + +; Predefined style keywords +(clog (+ 10 20) :style :error "error style") +(clog (+ 10 20) :style :warn "warn style") +(clog (+ 10 20) :style :info "info style") +(clog (+ 10 20) :style :debug "debug style") +(clog (+ 10 20) "debug style is default") + + +; User-defined style +(d/merge-styles {:warn "background: #9400D3; color: white" + :love "background: #FF1493; color: white"}) + +(clog (+ 10 20) :style :warn "warn style changed") +(clog (+ 10 20) :style :love "love style") + +;; You can style the form directly in string format in any way you want. +(clog (+ 10 20) :style "color:orange; background:blue; font-size: 14pt") + + +;; :once option +(def a (atom 10)) + +;;This will be printed. +(clog @a :once) + +; This will not be printed, +; because the evaluated value is the same as before. +(clog @a :once) + + +(reset! a 20) + +; This will be printed, +; because the evaluated value is not the same as before. +(clog @a :once) + +; This will not be printed, +; because the evaluated value is the same as before. +(clog @a :once) + + +;; :js option +(clog {:a 10 :b 20} :js) + + +;;; break examples +;;(break) +;;(break "hello world") +;;(break :if (> 10 20) "this will not be printed") +;;(break :if (< 10 20) "10 is less than 20") + +(defn my-fun2 + [a {:keys [b c d] :or {d 10 b 20 c 30}} [e f g & h]] + (break "in my-fun2") + (clog [a b c d e f g h])) + +(my-fun2 (take 5 (range)) {:c 50 :d 100} ["a" "b" "c" "d" "e"]) + +(defn my-fun3 [] + (let [a 10 + b 20] + (dotimes [i 1000] + (break :if (= i 999))))) + +(my-fun3) diff --git a/examples/resources/public/js/out/examples/demo.cljs.cache.json b/examples/resources/public/js/out/examples/demo.cljs.cache.json new file mode 100644 index 0000000..7ba1389 --- /dev/null +++ b/examples/resources/public/js/out/examples/demo.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^4","~$my-let","~$examples.macro","~$dbg","^4","~$clogn","^4","~$break","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.demo","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$a",["^ ","^=","~$examples.demo/a","~:file","src/cljs/examples/demo.cljs","~:line",38,"~:column",1,"~:end-line",38,"~:end-column",7,"~:meta",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/demo.cljs","^F",38,"^G",6,"^H",38,"^I",7],"~:tag","~$any"],"~$my-fun2",["^ ","~:protocol-inline",null,"^J",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/demo.cljs","^F",69,"^G",7,"^H",69,"^I",14,"~:arglists",["~#list",["~$quote",["^P",[["~$a",["^ ","~:keys",["~$b","~$c","~$d"],"~:or",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"^=","~$examples.demo/my-fun2","~:variadic",false,"^E","src/cljs/examples/demo.cljs","^I",14,"~:method-params",["^P",[["~$a","~$p__19679","~$p__19680"]]],"~:protocol-impl",null,"~:arglists-meta",["^P",[null,null]],"^G",1,"^F",69,"^H",69,"~:max-fixed-arity",3,"~:fn-var",true,"^O",["^P",["^Q",["^P",[["~$a",["^ ","^R",["~$b","~$c","~$d"],"^S",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"~$my-fun3",["^ ","^N",null,"^J",["^ ","^E","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/demo.cljs","^F",76,"^G",7,"^H",76,"^I",14,"^O",["^P",["^Q",["^P",[[]]]]]],"^=","~$examples.demo/my-fun3","^U",false,"^E","src/cljs/examples/demo.cljs","^I",14,"^V",["^P",[[]]],"^Y",null,"^Z",["^P",[null,null]],"^G",1,"^F",76,"^H",76,"^[",0,"^10",true,"^O",["^P",["^Q",["^P",[[]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^7","^7","~$d","^4","^4","^4"],"~:cljs.analyzer/constants",["^ ","~:seen",["^<",["~:warn","~:c","~:b","~:d","~:a","~:love"]],"~:order",["^17","^18","~:a","~:b","~:c","~:d"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/demo.js b/examples/resources/public/js/out/examples/demo.js new file mode 100644 index 0000000..9131e59 --- /dev/null +++ b/examples/resources/public/js/out/examples/demo.js @@ -0,0 +1,67 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.demo'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +var a_19677 = (10); +var b_19678 = (a_19677 + (10)); +(a_19677 + b_19678); +cljs.core.repeat.call(null,(5),"x"); +cljs.core.repeat.call(null,(5),cljs.core.repeat.call(null,(5),"x")); +((10) + (20)); +((10) + (20)); +((10) + (20)); +((10) + (20)); +((10) + (20)); +debux.cs.core.merge_styles.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"warn","warn",-436710552),"background: #9400D3; color: white",new cljs.core.Keyword(null,"love","love",-1345468865),"background: #FF1493; color: white"], null)); +((10) + (20)); +((10) + (20)); +((10) + (20)); +examples.demo.a = cljs.core.atom.call(null,(10)); +cljs.core.deref.call(null,examples.demo.a); +cljs.core.deref.call(null,examples.demo.a); +cljs.core.reset_BANG_.call(null,examples.demo.a,(20)); +cljs.core.deref.call(null,examples.demo.a); +cljs.core.deref.call(null,examples.demo.a); +new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"a","a",-2123407586),(10),new cljs.core.Keyword(null,"b","b",1482224470),(20)], null); +examples.demo.my_fun2 = (function examples$demo$my_fun2(a,p__19679,p__19680){ +var map__19681 = p__19679; +var map__19681__$1 = ((((!((map__19681 == null)))?(((((map__19681.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__19681.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__19681):map__19681); +var b = cljs.core.get.call(null,map__19681__$1,new cljs.core.Keyword(null,"b","b",1482224470),(20)); +var c = cljs.core.get.call(null,map__19681__$1,new cljs.core.Keyword(null,"c","c",-1763192079),(30)); +var d = cljs.core.get.call(null,map__19681__$1,new cljs.core.Keyword(null,"d","d",1972142424),(10)); +var vec__19682 = p__19680; +var seq__19683 = cljs.core.seq.call(null,vec__19682); +var first__19684 = cljs.core.first.call(null,seq__19683); +var seq__19683__$1 = cljs.core.next.call(null,seq__19683); +var e = first__19684; +var first__19684__$1 = cljs.core.first.call(null,seq__19683__$1); +var seq__19683__$2 = cljs.core.next.call(null,seq__19683__$1); +var f = first__19684__$1; +var first__19684__$2 = cljs.core.first.call(null,seq__19683__$2); +var seq__19683__$3 = cljs.core.next.call(null,seq__19683__$2); +var g = first__19684__$2; +var h = seq__19683__$3; + +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [a,b,c,d,e,f,g,h], null); +}); +examples.demo.my_fun2.call(null,cljs.core.take.call(null,(5),cljs.core.range.call(null)),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"c","c",-1763192079),(50),new cljs.core.Keyword(null,"d","d",1972142424),(100)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, ["a","b","c","d","e"], null)); +examples.demo.my_fun3 = (function examples$demo$my_fun3(){ +var a = (10); +var b = (20); +var n__4376__auto__ = (1000); +var i = (0); +while(true){ +if((i < n__4376__auto__)){ + +var G__19686 = (i + (1)); +i = G__19686; +continue; +} else { +return null; +} +break; +} +}); +examples.demo.my_fun3.call(null); + +//# sourceMappingURL=demo.js.map?rel=1628501138108 diff --git a/examples/resources/public/js/out/examples/demo.js.map b/examples/resources/public/js/out/examples/demo.js.map new file mode 100644 index 0000000..89b457f --- /dev/null +++ b/examples/resources/public/js/out/examples/demo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/demo.js","sources":["demo.cljs?rel=1628501138109"],"lineCount":67,"mappings":";AAAA;;;AAKA,AAEO,cAAA,VAASA;IAAKC,UAAE,WAAA,VAAGD;AAAnB,AAA0B,CAAGA,UAAEC;AAMhC,2BAAA,IAAA,\/BAACC;AACA,2BAAA,3BAACA,+BAAS,2BAAA,IAAA,\/BAACA;AAIZ,CAAA,OAAA;AACA,CAAA,OAAA;AACA,CAAA,OAAA;AACA,CAAA,OAAA;AACA,CAAA,OAAA;AAIN,qCAAA,2CAAA,qDAAA,oCAAA,sDAAA,\/NAACC;AAGK,CAAA,OAAA;AACA,CAAA,OAAA;AAGA,CAAA,OAAA;AAIN,AAAKC,kBAAE,yBAAA,zBAACC;AAGR,AAAAC,0BAAOF;AAIP,AAAAE,0BAAOF;AAGP,gDAAA,hDAACG,gCAAOH;AAIR,AAAAE,0BAAOF;AAIP,AAAAE,0BAAOF;AAIP,2CAAA,gDAAA,KAAA,+CAAA;AASA,wBAAA,kCAAAI,SAAAC,nEAAMY,wDACHrB;AADH,AAAA,IAAAU,aAAAF;IAAAE,iBAAA,EAAA,EAAA,EAAA,CAAAA,cAAA,QAAA,EAAA,EAAA,CAAA,AAAAA,iDAAA,WAAA,CAAAC,gCAAA,AAAAD,+BAAA,KAAA,OAAA,QAAA,AAAAE,0BAAAC,mBAAAH,YAAAA;QAAA,AAAAI,wBAAAJ,eAAA,+CAAA,1FACaT;QADb,AAAAa,wBAAAJ,eAAA,gDAAA,3FACeY;QADf,AAAAR,wBAAAJ,eAAA,+CAAA,1FACiBa;IADjBR,aAAAN;IAAAO,aAAA,AAAAC,wBAAAF;IAAAG,eAAA,AAAAC,0BAAAH;IAAAA,iBAAA,AAAAI,yBAAAJ;QAAAE,JAC2CM;IAD3CN,mBAAA,AAAAC,0BAAAH;IAAAA,iBAAA,AAAAI,yBAAAJ;QAAAE,JAC6CO;IAD7CP,mBAAA,AAAAC,0BAAAH;IAAAA,iBAAA,AAAAI,yBAAAJ;QAAAE,JAC+CQ;QAD\/CV,JACmDW;AADnD,AAEE;AACA,0FAAO3B,EAAEC,EAAEqB,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC;;AAEvB,yFAAA,2CAAA,gDAAA,KAAA,+CAAA,cAAA,mFAAA,IAAA,IAAA,IAAA,IAAA,zVAACN,gCAAQ,yBAAA,zBAACO,6BAAO,AAACC;AAElB,wBAAA,xBAAMC;AAAN,AACE,QAAA,JAAM9B;QAAN,JACMC;AADN,AAEE,IAAA8B,kBAAA;AAAA,AAAA,QAAA,JAAUC;;AAAV,AAAA,GAAA,KAAAD,JAAUC;AAAV,AACE;AADF,eAAA,KAAA,JAAUA;;;;AAAV;;;;;AAGJ,AAACF","names":["a","b","cljs.core\/repeat","debux.cs.core\/merge-styles","examples.demo\/a","cljs.core\/atom","cljs.core\/deref","cljs.core\/reset!","p__19679","p__19680","map__19681","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","vec__19682","seq__19683","cljs.core\/seq","first__19684","cljs.core\/first","cljs.core\/next","examples.demo\/my-fun2","c","d","e","f","g","h","cljs.core\/take","cljs.core\/range","examples.demo\/my-fun3","n__4376__auto__","i"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/etc.cljs b/examples/resources/public/js/out/examples/etc.cljs new file mode 100644 index 0000000..4922fc6 --- /dev/null +++ b/examples/resources/public/js/out/examples/etc.cljs @@ -0,0 +1,156 @@ +(ns examples.etc + (:require [debux.cs.core :as d :refer-macros [clog clogn clog-last + clog_ clogn_ clog-last_ + dbg dbgn dbg-last + dbg_ dbgn_ dbg-last_ + dbgt dbgt_ clogt clogt_ + break break_ with-level]])) + +;; tagged literals +#d/dbg (+ 1 2 #d/dbg (* 3 4)) + +#d/dbgn (+ 10 20 #d/dbg (* 30 40)) + +#d/dbg (+ 10 20 #d/dbgn (* 30 40)) + +#d/dbgn (+ 10 20 #d/dbgn (+ 100 (* 30 40))) + + +#d/clog (+ 1 2 #d/clog (* 3 4)) + +#d/clogn (+ 10 20 #d/clog (* 30 40)) + +#d/clog (+ 10 20 #d/clogn (* 30 40)) + +#d/clogn (+ 10 20 #d/clogn (+ 100 (* 30 40))) + + +;;; turn-off versions +(dbg (+ 2 3)) +(dbg_ (+ 2 3)) + +(dbgn (* 2 (+ 3 4))) +(dbgn_ (* 2 (+ 3 4))) + +(->> (range 20) + (filter odd?) + (dbg-last 5 "after filter") + (map inc)) + +(->> (range 20) + (filter odd?) + (dbg-last_ 5 "after filter") + (map inc)) + + +(break_ "hello") + + +(clog (+ 2 3)) +(clog_ (+ 2 3)) + +(clogn (* 2 (+ 3 4))) +(clogn_ (* 2 (+ 3 4))) + +(->> (range 20) + (filter odd?) + (clog-last 5 "after filter") + (map inc)) + +(->> (range 20) + (filter odd?) + (clog-last_ 5 "after filter") + (map inc)) + + + +;;; set-source-info-mode! +(d/set-source-info-mode! false) + +(dbg (+ 2 3)) +(dbgn (* 10 (+ 2 3))) + +(clog (+ 2 3)) +(clogn (* 10 (+ 2 3))) + + +(d/set-source-info-mode! true) + +(dbg (+ 20 30)) +(dbgn (* 10 (+ 2 3))) + +(clog (+ 20 30)) +(clogn (* 10 (+ 2 3))) + + +;;; set-line-bullet! +(d/set-line-bullet! ";") + +(dbg (+ 20 30)) +(dbgn (* 10 (+ 2 3))) + +(clog (+ 20 30)) +(clogn (* 10 (+ 2 3))) + + +(d/set-line-bullet! " ") + +(dbg (+ 20 30)) +(dbgn (* 10 (+ 2 3))) + +(d/set-line-bullet! "|") + + +;;; debug level +;; The default debug level is 0. +(dbg (+ 10 20)) +(dbg (+ 10 20 3) :level 3) +(dbg (+ 10 20 5) :level 5) + +(with-level 3 + (dbg (+ 10 20)) + (dbg (+ 10 20 3) :level 3) + (dbg (+ 10 20 5) :level 5)) + + +(defn my-add [a b] + (dbg (+ a b) :level 2)) + +(defn my-sub [a b] + (dbg (- a b) :level 3)) + +(with-level 3 + (dbg (my-add 10 20)) + (dbg (my-sub 100 10)) + + (with-level 0 + (dbg (* 10 2)))) + + +(defn my-add2 [a b] + (clog (+ a b) :level 2)) + +(defn my-sub2 [a b] + (clog (- a b) :level 3)) + +(with-level 3 + (clog (my-add 10 20)) + (clog (my-sub 100 10)) + + (with-level 0 + (clog (* 10 2)))) + + +;;; dbgt/dlogt for transducers +(transduce (dbgt (filter even?)) + conj (range 5)) + +(transduce (dbgt (comp (map inc) (filter even?))) + conj (range 5)) + + +(transduce (clogt (filter even?) :js) + conj (range 5)) + +(transduce (clogt (comp (map inc) (filter even?))) + conj (range 5)) diff --git a/examples/resources/public/js/out/examples/etc.cljs.cache.json b/examples/resources/public/js/out/examples/etc.cljs.cache.json new file mode 100644 index 0000000..fd22290 --- /dev/null +++ b/examples/resources/public/js/out/examples/etc.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$dbg-last_","~$debux.cs.core","~$clog","^4","~$dbgn","^4","~$clogt_","^4","~$dbg","^4","~$dbg-last","^4","~$clogt","^4","~$clog-last","^4","~$with-level","^4","~$clogn_","^4","~$clog-last_","^4","~$dbgn_","^4","~$clogn","^4","~$break_","^4","~$dbg_","^4","~$break","^4","~$clog_","^4","~$dbgt","^4","~$dbgt_","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.etc","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$my-add",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","~:line",116,"~:column",7,"~:end-line",116,"~:end-column",13,"~:arglists",["~#list",["~$quote",["^Y",[["~$a","~$b"]]]]]],"^I","~$examples.etc/my-add","~:variadic",false,"^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^W",13,"~:method-params",["^Y",[["~$a","~$b"]]],"~:protocol-impl",null,"~:arglists-meta",["^Y",[null,null]],"^U",1,"^T",116,"^V",116,"~:max-fixed-arity",2,"~:fn-var",true,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]],"~$my-sub",["^ ","^Q",null,"^R",["^ ","^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^T",119,"^U",7,"^V",119,"^W",13,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]],"^I","~$examples.etc/my-sub","^10",false,"^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^W",13,"^11",["^Y",[["~$a","~$b"]]],"^12",null,"^13",["^Y",[null,null]],"^U",1,"^T",119,"^V",119,"^14",2,"^15",true,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]],"~$my-add2",["^ ","^Q",null,"^R",["^ ","^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^T",130,"^U",7,"^V",130,"^W",14,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]],"^I","~$examples.etc/my-add2","^10",false,"^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^W",14,"^11",["^Y",[["~$a","~$b"]]],"^12",null,"^13",["^Y",[null,null]],"^U",1,"^T",130,"^V",130,"^14",2,"^15",true,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]],"~$my-sub2",["^ ","^Q",null,"^R",["^ ","^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^T",133,"^U",7,"^V",133,"^W",14,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]],"^I","~$examples.etc/my-sub2","^10",false,"^S","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/etc.cljs","^W",14,"^11",["^Y",[["~$a","~$b"]]],"^12",null,"^13",["^Y",[null,null]],"^U",1,"^T",133,"^V",133,"^14",2,"^15",true,"^X",["^Y",["^Z",["^Y",[["~$a","~$b"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$d","^4","^4","^4"],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/etc.js b/examples/resources/public/js/out/examples/etc.js new file mode 100644 index 0000000..9b7b263 --- /dev/null +++ b/examples/resources/public/js/out/examples/etc.js @@ -0,0 +1,84 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.etc'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +(((1) + (2)) + ((3) * (4))); +(((10) + (20)) + ((30) * (40))); +(((10) + (20)) + ((30) * (40))); +(((10) + (20)) + ((100) + ((30) * (40)))); +(((1) + (2)) + ((3) * (4))); +(((10) + (20)) + ((30) * (40))); +(((10) + (20)) + ((30) * (40))); +(((10) + (20)) + ((100) + ((30) * (40)))); +((2) + (3)); +((2) + (3)); +((2) * ((3) + (4))); +((2) * ((3) + (4))); +cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.odd_QMARK_,cljs.core.range.call(null,(20)))); +cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.odd_QMARK_,cljs.core.range.call(null,(20)))); +((2) + (3)); +((2) + (3)); +((2) * ((3) + (4))); +((2) * ((3) + (4))); +cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.odd_QMARK_,cljs.core.range.call(null,(20)))); +cljs.core.map.call(null,cljs.core.inc,cljs.core.filter.call(null,cljs.core.odd_QMARK_,cljs.core.range.call(null,(20)))); +debux.cs.core.set_source_info_mode_BANG_.call(null,false); +((2) + (3)); +((10) * ((2) + (3))); +((2) + (3)); +((10) * ((2) + (3))); +debux.cs.core.set_source_info_mode_BANG_.call(null,true); +((20) + (30)); +((10) * ((2) + (3))); +((20) + (30)); +((10) * ((2) + (3))); +debux.cs.core.set_line_bullet_BANG_.call(null,";"); +((20) + (30)); +((10) * ((2) + (3))); +((20) + (30)); +((10) * ((2) + (3))); +debux.cs.core.set_line_bullet_BANG_.call(null," "); +((20) + (30)); +((10) * ((2) + (3))); +debux.cs.core.set_line_bullet_BANG_.call(null,"|"); +((10) + (20)); +(((10) + (20)) + (3)); +(((10) + (20)) + (5)); +((10) + (20)); + +(((10) + (20)) + (3)); + +(((10) + (20)) + (5)); + +examples.etc.my_add = (function examples$etc$my_add(a,b){ +return (a + b); +}); +examples.etc.my_sub = (function examples$etc$my_sub(a,b){ +return (a - b); +}); +examples.etc.my_add.call(null,(10),(20)); + +examples.etc.my_sub.call(null,(100),(10)); + +((10) * (2)); + + +examples.etc.my_add2 = (function examples$etc$my_add2(a,b){ +return (a + b); +}); +examples.etc.my_sub2 = (function examples$etc$my_sub2(a,b){ +return (a - b); +}); +examples.etc.my_add.call(null,(10),(20)); + +examples.etc.my_sub.call(null,(100),(10)); + +((10) * (2)); + + +cljs.core.transduce.call(null,cljs.core.filter.call(null,cljs.core.even_QMARK_),cljs.core.conj,cljs.core.range.call(null,(5))); +cljs.core.transduce.call(null,cljs.core.comp.call(null,cljs.core.map.call(null,cljs.core.inc),cljs.core.filter.call(null,cljs.core.even_QMARK_)),cljs.core.conj,cljs.core.range.call(null,(5))); +cljs.core.transduce.call(null,cljs.core.filter.call(null,cljs.core.even_QMARK_),cljs.core.conj,cljs.core.range.call(null,(5))); +cljs.core.transduce.call(null,cljs.core.comp.call(null,cljs.core.map.call(null,cljs.core.inc),cljs.core.filter.call(null,cljs.core.even_QMARK_)),cljs.core.conj,cljs.core.range.call(null,(5))); + +//# sourceMappingURL=etc.js.map?rel=1628501140480 diff --git a/examples/resources/public/js/out/examples/etc.js.map b/examples/resources/public/js/out/examples/etc.js.map new file mode 100644 index 0000000..3093cca --- /dev/null +++ b/examples/resources/public/js/out/examples/etc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/etc.js","sources":["etc.cljs?rel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OAAA;AACC,CAAA,OAAM,CAAA,MAAA;AAEZ,8CAAA,9CAACA;AAKI,CAAA,OAAA;AACA,CAAA,CAAA,OAAA,QAAA;AACA,CAAA,CAAA,OAAA,QAAA;AAEL,AAAA,AACO,CAAA,OAAA;;AACA,CAAA,CAAA,OAAA,QAAA;;AACA,CAAA,CAAA,OAAA,QAAA;;AAGP,sBAAA,tBAAMC,oDAAQC,EAAEC;AAAhB,AACO,QAAGD,IAAEC;;AAEZ,sBAAA,tBAAMC,oDAAQF,EAAEC;AAAhB,AACO,QAAGD,IAAEC;;AAEZ,AAAA,AACO,8BAAA,KAAA,nCAACF;;AACD,8BAAA,MAAA,pCAACG;;AAEN,AAAA,AACO,CAAA,OAAA;;;AAGT,uBAAA,vBAAMC,sDAASH,EAAEC;AAAjB,AACQ,QAAGD,IAAEC;;AAEb,uBAAA,vBAAMG,sDAASJ,EAAEC;AAAjB,AACQ,QAAGD,IAAEC;;AAEb,AAAA,AACQ,8BAAA,KAAA,nCAACF;;AACD,8BAAA,MAAA,pCAACG;;AAEP,AAAA,AACQ,CAAA,OAAA;;;AAIV,AAACG,8BAAgB,AAACZ,2BAAOa,uBACdC,eAAK,0BAAA,1BAACf;AAEjB,AAACa,8BAAgB,AAACG,yBAAK,AAACb,wBAAIC,eAAK,AAACH,2BAAOa,wBAC9BC,eAAK,0BAAA,1BAACf;AAGjB,AAACa,8BAAiB,AAACZ,2BAAOa,uBACfC,eAAK,0BAAA,1BAACf;AAEjB,AAACa,8BAAiB,AAACG,yBAAK,AAACb,wBAAIC,eAAK,AAACH,2BAAOa,wBAC\/BC,eAAK,0BAAA,1BAACf","names":["cljs.core\/range","cljs.core\/filter","cljs.core\/odd?","cljs.core\/map","cljs.core\/inc","debux.cs.core\/set-source-info-mode!","debux.cs.core\/set-line-bullet!","examples.etc\/my-add","a","b","examples.etc\/my-sub","examples.etc\/my-add2","examples.etc\/my-sub2","cljs.core\/transduce","cljs.core\/even?","cljs.core\/conj","cljs.core\/comp"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/lab.cljs b/examples/resources/public/js/out/examples/lab.cljs new file mode 100644 index 0000000..0f2cd6c --- /dev/null +++ b/examples/resources/public/js/out/examples/lab.cljs @@ -0,0 +1,16 @@ +(ns examples.lab + (:require [debux.cs.core :as d :refer-macros [clog clogn dbg dbgn + dbgt clogt break] ])) + +(transduce (dbgt (filter even?)) + conj (range 5)) + +(transduce (dbgt (comp (map inc) (filter even?))) + conj (range 5)) + + +(transduce (clogt (filter even?) :js) + conj (range 5)) + +(transduce (clogt (comp (map inc) (filter even?))) + conj (range 5)) diff --git a/examples/resources/public/js/out/examples/lab.cljs.cache.json b/examples/resources/public/js/out/examples/lab.cljs.cache.json new file mode 100644 index 0000000..4fe63e9 --- /dev/null +++ b/examples/resources/public/js/out/examples/lab.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^4","~$dbg","^4","~$clogt","^4","~$clogn","^4","~$break","^4","~$dbgt","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.lab","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ "],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$d","^4","^4","^4"],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/lab.js b/examples/resources/public/js/out/examples/lab.js new file mode 100644 index 0000000..8a0a4e3 --- /dev/null +++ b/examples/resources/public/js/out/examples/lab.js @@ -0,0 +1,10 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.lab'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +cljs.core.transduce.call(null,cljs.core.filter.call(null,cljs.core.even_QMARK_),cljs.core.conj,cljs.core.range.call(null,(5))); +cljs.core.transduce.call(null,cljs.core.comp.call(null,cljs.core.map.call(null,cljs.core.inc),cljs.core.filter.call(null,cljs.core.even_QMARK_)),cljs.core.conj,cljs.core.range.call(null,(5))); +cljs.core.transduce.call(null,cljs.core.filter.call(null,cljs.core.even_QMARK_),cljs.core.conj,cljs.core.range.call(null,(5))); +cljs.core.transduce.call(null,cljs.core.comp.call(null,cljs.core.map.call(null,cljs.core.inc),cljs.core.filter.call(null,cljs.core.even_QMARK_)),cljs.core.conj,cljs.core.range.call(null,(5))); + +//# sourceMappingURL=lab.js.map?rel=1628501140535 diff --git a/examples/resources/public/js/out/examples/lab.js.map b/examples/resources/public/js/out/examples/lab.js.map new file mode 100644 index 0000000..a1f1624 --- /dev/null +++ b/examples/resources/public/js/out/examples/lab.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/lab.js","sources":["lab.cljs?rel=1628501140535"],"lineCount":10,"mappings":";AAAA;;;AAIA,AAACA,8BAAgB,AAACC,2BAAOC,uBACdC,eAAK,0BAAA,1BAACC;AAEjB,AAACJ,8BAAgB,AAACK,yBAAK,AAACC,wBAAIC,eAAK,AAACN,2BAAOC,wBAC9BC,eAAK,0BAAA,1BAACC;AAGjB,AAACJ,8BAAiB,AAACC,2BAAOC,uBACfC,eAAK,0BAAA,1BAACC;AAEjB,AAACJ,8BAAiB,AAACK,yBAAK,AAACC,wBAAIC,eAAK,AAACN,2BAAOC,wBAC\/BC,eAAK,0BAAA,1BAACC","names":["cljs.core\/transduce","cljs.core\/filter","cljs.core\/even?","cljs.core\/conj","cljs.core\/range","cljs.core\/comp","cljs.core\/map","cljs.core\/inc"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/options.cljs b/examples/resources/public/js/out/examples/options.cljs new file mode 100644 index 0000000..5d72193 --- /dev/null +++ b/examples/resources/public/js/out/examples/options.cljs @@ -0,0 +1,115 @@ +(ns examples.options + (:require [debux.cs.core :as d :refer-macros [clog clogn dbg dbgn break]])) + +(clog (repeat 5 "x") "5 times repeat") +(clogn (repeat 5 (repeat 5 "x")) "25 times repeat") + +;;--------------- +;; CSS styling +;;--------------- + +(clog (+ 10 20) :style :error "error style") +(clog (+ 10 20) :style :warn "warn style") +(clog (+ 10 20) :style :info "info style") +(clog (+ 10 20) :style :debug "debug style") +(clog (+ 10 20) "debug style is default") + +;; Or in brief + +;; (clog (+ 10 20) :s :e "error style") +;; (clog (+ 10 20) :s :w "warn style") +;; (clog (+ 10 20) :s :i "info style") +;; (clog (+ 10 20) :s :d "debug style") +;; (clog (+ 10 20) "debug style is default") + +(d/merge-styles {:warn "background: #9400D3; color: white" + :love "background: #FF1493; color: white"}) + +(clog (+ 10 20) :style :warn "warn style changed") +(clog (+ 10 20) :style :love "love style") + +(clog (+ 10 20) :style "color:orange; background:blue; font-size: 14pt") + + +;; :locals option +(let [x 10 y 20] + (clog (+ 1 2) :locals) + (clog (-> 10 inc inc) :l) + + (clogn (-> 10 inc inc) :l)) + + +;; :print option +(+ 10 (clog (* 20 30) :print #(type %))) +(+ 10 (clog (* 20 30) :p type)) + + +;;--------------- +;; :once option +;;--------------- + +(def a (atom 10)) + +;; This will be printed. +(clog @a :once) + +;; This will not be printed, +;; because the evaluated result is the same as before. +(clog @a :once) + + +(reset! a 20) + +;; This will be printed, +;; because the evaluated result is not the same as before. +(clog @a :once) + +;; This will not be printed, +;; because the evaluated result is the same as before. +(clog @a :once) + + +;;--------------- +;; :js option +;;--------------- + +(clog {:a 10 :b 20} :js) + + +;;--------------- +;; break +;;--------------- + +;; (break) +;; (break "hello world") +;; (break :if (> 10 20) "this will not be printed") +;; (break :if (< 10 20) "10 is less than 20") + +(defn my-fun2 + [a {:keys [b c d] :or {d 10 b 20 c 30}} [e f g & h]] + (break "in my-func2") + (clog [a b c d e f g h])) + + +;; (my-fun2 (take 5 (range)) +;; {:c 50 :d 100} +;; ["a" "b" "c" "d" "e"]) + + +(defn my-fun3 [] + (let [a 10 + b 20] + (dotimes [i 1000] + (break :if (= i 999) "in my-func3")))) + +;; (my-fun3) + +(d/set-print-length! 10) + +(clog (range 200)) + +(clog (range)) + +(clog (range) 5) + +(d/set-print-length! 100) diff --git a/examples/resources/public/js/out/examples/options.cljs.cache.json b/examples/resources/public/js/out/examples/options.cljs.cache.json new file mode 100644 index 0000000..90715a3 --- /dev/null +++ b/examples/resources/public/js/out/examples/options.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ ","~$clog","~$debux.cs.core","~$dbgn","^4","~$dbg","^4","~$clogn","^4","~$break","^4"],"~:excludes",["~#set",[]],"~:name","~$examples.options","~:imports",null,"~:requires",["^ ","~$d","^4","^4","^4"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$a",["^ ","^;","~$examples.options/a","~:file","src/cljs/examples/options.cljs","~:line",51,"~:column",1,"~:end-line",51,"~:end-column",7,"~:meta",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/options.cljs","^D",51,"^E",6,"^F",51,"^G",7],"~:tag","~$any"],"~$my-fun2",["^ ","~:protocol-inline",null,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/options.cljs","^D",88,"^E",7,"^F",88,"^G",14,"~:arglists",["~#list",["~$quote",["^N",[["~$a",["^ ","~:keys",["~$b","~$c","~$d"],"~:or",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"^;","~$examples.options/my-fun2","~:variadic",false,"^C","src/cljs/examples/options.cljs","^G",14,"~:method-params",["^N",[["~$a","~$p__19692","~$p__19693"]]],"~:protocol-impl",null,"~:arglists-meta",["^N",[null,null]],"^E",1,"^D",88,"^F",88,"~:max-fixed-arity",3,"~:fn-var",true,"^M",["^N",["^O",["^N",[["~$a",["^ ","^P",["~$b","~$c","~$d"],"^Q",["^ ","~$d",10,"~$b",20,"~$c",30]],["~$e","~$f","~$g","~$&","~$h"]]]]]]],"~$my-fun3",["^ ","^L",null,"^H",["^ ","^C","/home/philos/work/all/philos/debux-stubs/examples/src/cljs/examples/options.cljs","^D",99,"^E",7,"^F",99,"^G",14,"^M",["^N",["^O",["^N",[[]]]]]],"^;","~$examples.options/my-fun3","^S",false,"^C","src/cljs/examples/options.cljs","^G",14,"^T",["^N",[[]]],"^W",null,"^X",["^N",[null,null]],"^E",1,"^D",99,"^F",99,"^Y",0,"^Z",true,"^M",["^N",["^O",["^N",[[]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$d","^4","^4","^4"],"~:cljs.analyzer/constants",["^ ","~:seen",["^:",["~:warn","~:c","~:b","~:d","~:a","~:love"]],"~:order",["^15","^16","~:a","~:b","~:c","~:d"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/options.js b/examples/resources/public/js/out/examples/options.js new file mode 100644 index 0000000..5c0b40d --- /dev/null +++ b/examples/resources/public/js/out/examples/options.js @@ -0,0 +1,76 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.options'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); +cljs.core.repeat.call(null,(5),"x"); +cljs.core.repeat.call(null,(5),cljs.core.repeat.call(null,(5),"x")); +((10) + (20)); +((10) + (20)); +((10) + (20)); +((10) + (20)); +((10) + (20)); +debux.cs.core.merge_styles.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"warn","warn",-436710552),"background: #9400D3; color: white",new cljs.core.Keyword(null,"love","love",-1345468865),"background: #FF1493; color: white"], null)); +((10) + (20)); +((10) + (20)); +((10) + (20)); +var x_19689 = (10); +var y_19690 = (20); +((1) + (2)); + +(((10) + (1)) + (1)); + +(((10) + (1)) + (1)); +((10) + ((20) * (30))); +((10) + ((20) * (30))); +examples.options.a = cljs.core.atom.call(null,(10)); +cljs.core.deref.call(null,examples.options.a); +cljs.core.deref.call(null,examples.options.a); +cljs.core.reset_BANG_.call(null,examples.options.a,(20)); +cljs.core.deref.call(null,examples.options.a); +cljs.core.deref.call(null,examples.options.a); +new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"a","a",-2123407586),(10),new cljs.core.Keyword(null,"b","b",1482224470),(20)], null); +examples.options.my_fun2 = (function examples$options$my_fun2(a,p__19692,p__19693){ +var map__19694 = p__19692; +var map__19694__$1 = ((((!((map__19694 == null)))?(((((map__19694.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__19694.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__19694):map__19694); +var b = cljs.core.get.call(null,map__19694__$1,new cljs.core.Keyword(null,"b","b",1482224470),(20)); +var c = cljs.core.get.call(null,map__19694__$1,new cljs.core.Keyword(null,"c","c",-1763192079),(30)); +var d = cljs.core.get.call(null,map__19694__$1,new cljs.core.Keyword(null,"d","d",1972142424),(10)); +var vec__19695 = p__19693; +var seq__19696 = cljs.core.seq.call(null,vec__19695); +var first__19697 = cljs.core.first.call(null,seq__19696); +var seq__19696__$1 = cljs.core.next.call(null,seq__19696); +var e = first__19697; +var first__19697__$1 = cljs.core.first.call(null,seq__19696__$1); +var seq__19696__$2 = cljs.core.next.call(null,seq__19696__$1); +var f = first__19697__$1; +var first__19697__$2 = cljs.core.first.call(null,seq__19696__$2); +var seq__19696__$3 = cljs.core.next.call(null,seq__19696__$2); +var g = first__19697__$2; +var h = seq__19696__$3; + +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [a,b,c,d,e,f,g,h], null); +}); +examples.options.my_fun3 = (function examples$options$my_fun3(){ +var a = (10); +var b = (20); +var n__4376__auto__ = (1000); +var i = (0); +while(true){ +if((i < n__4376__auto__)){ + +var G__19699 = (i + (1)); +i = G__19699; +continue; +} else { +return null; +} +break; +} +}); +debux.cs.core.set_print_length_BANG_.call(null,(10)); +cljs.core.range.call(null,(200)); +cljs.core.range.call(null); +cljs.core.range.call(null); +debux.cs.core.set_print_length_BANG_.call(null,(100)); + +//# sourceMappingURL=options.js.map?rel=1628501138133 diff --git a/examples/resources/public/js/out/examples/options.js.map b/examples/resources/public/js/out/examples/options.js.map new file mode 100644 index 0000000..37a142a --- /dev/null +++ b/examples/resources/public/js/out/examples/options.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/options.js","sources":["options.cljs?rel=1628501138134"],"lineCount":76,"mappings":";AAAA;;;AAGM,2BAAA,IAAA,\/BAACA;AACA,2BAAA,3BAACA,+BAAS,2BAAA,IAAA,\/BAACA;AAMZ,CAAA,OAAA;AACA,CAAA,OAAA;AACA,CAAA,OAAA;AACA,CAAA,OAAA;AACA,CAAA,OAAA;AAUN,qCAAA,2CAAA,qDAAA,oCAAA,sDAAA,\/NAACC;AAGK,CAAA,OAAA;AACA,CAAA,OAAA;AAEA,CAAA,OAAA;AAIN,cAAA,VAAMC;cAAN,VAAWC;AAAX,AACQ,CAAA,MAAA;;AACA,CAAA,CAAA,OAAA,OAAA;;AAEC,CAAA,CAAA,OAAA,OAAA;AAIT,CAAA,OAAY,CAAA,OAAA;AACZ,CAAA,OAAY,CAAA,OAAA;AAOZ,AAAKC,qBAAE,yBAAA,zBAACC;AAGR,AAAAC,0BAAOF;AAIP,AAAAE,0BAAOF;AAGP,mDAAA,nDAACG,gCAAOH;AAIR,AAAAE,0BAAOF;AAIP,AAAAE,0BAAOF;AAOP,2CAAA,gDAAA,KAAA,+CAAA;AAYA,2BAAA,qCAAAI,SAAAC,zEAAMY,8DACHC;AADH,AAAA,IAAAZ,aAAAF;IAAAE,iBAAA,EAAA,EAAA,EAAA,CAAAA,cAAA,QAAA,EAAA,EAAA,CAAA,AAAAA,iDAAA,WAAA,CAAAC,gCAAA,AAAAD,+BAAA,KAAA,OAAA,QAAA,AAAAE,0BAAAC,mBAAAH,YAAAA;QAAA,AAAAI,wBAAAJ,eAAA,+CAAA,1FACaa;QADb,AAAAT,wBAAAJ,eAAA,gDAAA,3FACec;QADf,AAAAV,wBAAAJ,eAAA,+CAAA,1FACiBe;IADjBV,aAAAN;IAAAO,aAAA,AAAAC,wBAAAF;IAAAG,eAAA,AAAAC,0BAAAH;IAAAA,iBAAA,AAAAI,yBAAAJ;QAAAE,JAC2CQ;IAD3CR,mBAAA,AAAAC,0BAAAH;IAAAA,iBAAA,AAAAI,yBAAAJ;QAAAE,JAC6CS;IAD7CT,mBAAA,AAAAC,0BAAAH;IAAAA,iBAAA,AAAAI,yBAAAJ;QAAAE,JAC+CU;QAD\/CZ,JACmDa;AADnD,AAEE;AACA,0FAAOP,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC;;AAQvB,2BAAA,3BAAMC;AAAN,AACE,QAAA,JAAMR;QAAN,JACMC;AADN,AAEE,IAAAQ,kBAAA;AAAA,AAAA,QAAA,JAAUC;;AAAV,AAAA,GAAA,KAAAD,JAAUC;AAAV,AACE;AADF,eAAA,KAAA,JAAUA;;;;AAAV;;;;;AAKJ,+CAAA,\/CAACC;AAEK,0BAAA,1BAACC;AAED,AAACA;AAED,AAACA;AAEP,+CAAA,\/CAACD","names":["cljs.core\/repeat","debux.cs.core\/merge-styles","x","y","examples.options\/a","cljs.core\/atom","cljs.core\/deref","cljs.core\/reset!","p__19692","p__19693","map__19694","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","vec__19695","seq__19696","cljs.core\/seq","first__19697","cljs.core\/first","cljs.core\/next","examples.options\/my-fun2","a","b","c","d","e","f","g","h","examples.options\/my-fun3","n__4376__auto__","i","debux.cs.core\/set-print-length!","cljs.core\/range"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/preload.cljs b/examples/resources/public/js/out/examples/preload.cljs new file mode 100644 index 0000000..2d4a955 --- /dev/null +++ b/examples/resources/public/js/out/examples/preload.cljs @@ -0,0 +1,6 @@ +(ns examples.preload + (:require [debux.cs.core :as d])) + +;(d/set-debug-mode! false) +;(d/set-ns-whitelist! ["example.clog*"]) +;(d/set-ns-blacklist! ["example.clogn"]) diff --git a/examples/resources/public/js/out/examples/preload.cljs.cache.json b/examples/resources/public/js/out/examples/preload.cljs.cache.json new file mode 100644 index 0000000..a741d4a --- /dev/null +++ b/examples/resources/public/js/out/examples/preload.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$examples.preload","~:imports",null,"~:requires",["^ ","~$d","~$debux.cs.core","^9","^9"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ "],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/examples/preload.js b/examples/resources/public/js/out/examples/preload.js new file mode 100644 index 0000000..7167684 --- /dev/null +++ b/examples/resources/public/js/out/examples/preload.js @@ -0,0 +1,6 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('examples.preload'); +goog.require('cljs.core'); +goog.require('debux.cs.core'); + +//# sourceMappingURL=preload.js.map?rel=1628501140538 diff --git a/examples/resources/public/js/out/examples/preload.js.map b/examples/resources/public/js/out/examples/preload.js.map new file mode 100644 index 0000000..6b3f60c --- /dev/null +++ b/examples/resources/public/js/out/examples/preload.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/examples\/preload.js","sources":["preload.cljs?rel=1628501140538"],"lineCount":6,"mappings":";AAAA","names":[]} \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client.cljs b/examples/resources/public/js/out/figwheel/client.cljs new file mode 100644 index 0000000..8001a99 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client.cljs @@ -0,0 +1,523 @@ +(ns figwheel.client + (:require + [goog.Uri :as guri] + [goog.userAgent.product :as product] + [goog.object :as gobj] + [cljs.reader :refer [read-string]] + [cljs.core.async :refer [put! chan msg :files first :file)))) + (do + (utils/log :warn "Figwheel: code autoloading is OFF") + (utils/log :info (str "Not loading: " (map :file (:files msg)))))) + (recur)))) + (fn [msg-hist] (put! ch msg-hist) msg-hist))) + +#_(defn error-test2 [] + js/joe) + +#_(defn error-test3 [] + (error-test2)) + +#_(defn error-test [] + (error-test3)) + +(defn truncate-stack-trace [stack-str] + (take-while #(not (re-matches #".*eval_javascript_STAR__STAR_.*" %)) + (string/split-lines stack-str))) + +(defn get-ua-product [] + (cond + (utils/node-env?) :chrome + product/SAFARI :safari + product/CHROME :chrome + product/FIREFOX :firefox + product/IE :ie)) + +(let [base-path (utils/base-url-path)] + (defn eval-javascript** [code opts result-handler] + (try + (let [sb (js/goog.string.StringBuffer.)] + (binding [cljs.core/*print-newline* true + cljs.core/*print-fn* (fn [x] (.append sb x))] + (let [result-value (utils/eval-helper code opts) + result-value (if-not (string? result-value) + (pr-str result-value) + result-value)] + (result-handler + {:status :success + :out (str sb) + :ua-product (get-ua-product) + :value result-value})))) + (catch js/Error e + (result-handler + {:status :exception + :value (pr-str e) + :ua-product (get-ua-product) + :stacktrace (string/join "\n" (truncate-stack-trace (.-stack e))) + :base-path base-path })) + (catch :default e + (result-handler + {:status :exception + :ua-product (get-ua-product) + :value (pr-str e) + :stacktrace "No stacktrace available."}))))) + +(defn ensure-cljs-user + "The REPL can disconnect and reconnect lets ensure cljs.user exists at least." + [] + ;; this should be included in the REPL + (when-not js/cljs.user + (set! js/cljs.user #js {}))) + +(defn repl-plugin [{:keys [build-id] :as opts}] + (fn [[{:keys [msg-name] :as msg} & _]] + (when (= :repl-eval msg-name) + (ensure-cljs-user) + (eval-javascript** (:code msg) opts + (fn [res] + (socket/send! {:figwheel-event "callback" + :callback-name (:callback-name msg) + :content res})))))) + +(defn css-reloader-plugin [opts] + (fn [[{:keys [msg-name] :as msg} & _]] + (when (= msg-name :css-files-changed) + (reloading/reload-css-files opts msg)))) + +(defn compile-fail-warning-plugin [{:keys [on-compile-warning on-compile-fail]}] + (fn [[{:keys [msg-name] :as msg} & _]] + (condp = msg-name + :compile-warning (on-compile-warning msg) + :compile-failed (on-compile-fail msg) + nil))) + +(defn auto-jump-to-error [opts error] + (when (:auto-jump-to-source-on-error opts) + (heads-up/auto-notify-source-file-line error))) + +;; this is seperate for live dev only +(defn heads-up-plugin-msg-handler [opts msg-hist'] + (let [msg-hist (focus-msgs #{:files-changed :compile-warning :compile-failed} msg-hist') + msg-names (map :msg-name msg-hist) + msg (first msg-hist)] + (go + (cond + (reload-file-state? msg-names opts) + (if (and (autoload?) + (:autoload opts)) + ( msg-hist first :figwheel-version)] + (when (not= figwheel-version _figwheel-version_) + (socket/close!) + (.error js/console "Figwheel: message received from different version of Figwheel.") + (when (:heads-up-display opts) + (go + (" _figwheel-version_ " is not equal to " + "Figwheel Sidecar Version " figwheel-version "" + ". Shutting down Websocket Connection!" + "

To fix try:

" + "
  1. Reload this page and make sure you are not getting a cached version of the client.
  2. " + "
  3. You may have to clean (delete compiled assets) and rebuild to make sure that the new client code is being used.
  4. " + "
  5. Also, make sure you have consistent Figwheel dependencies.
")))))))) + +#_((enforce-figwheel-version-plugin {:heads-up-display true}) [{:figwheel-version "yeah"}]) + +;; defaults and configuration + +;; default callbacks + +;; if you don't configure a :jsload-callback or an :on-jsload callback +;; this function will dispatch a browser event +;; +;; you can listen to this event easily like so: +;; document.body.addEventListener("figwheel.js-reload", function (e) { console.log(e.detail);} ); + +(def default-on-jsload identity) + +(defn file-line-column [{:keys [file line column]}] + (cond-> "" + file (str "file " file) + line (str " at line " line) + (and line column) (str ", column " column))) + +(defn default-on-compile-fail [{:keys [exception-data cause] :as ed}] + (let [message (cond-> (apply str "Figwheel: Compile Exception " (format-messages exception-data)) + (:file exception-data) + (str " Error on " (file-line-column exception-data)))] + (utils/log :warn message)) + ed) + +(defn default-on-compile-warning [{:keys [message] :as w}] + (utils/log :warn (str "Figwheel: Compile Warning - " (:message message) " in " (file-line-column message))) + w) + +(defn default-before-load [files] + (utils/log :debug "Figwheel: notified of file changes") + files) + +(defn default-on-cssload [files] + (utils/log :debug "Figwheel: loaded CSS files") + (utils/log :info (pr-str (map :file files))) + files) + +(defonce config-defaults + {:retry-count 100 + :websocket-url (str "ws://" + (if (utils/html-env?) js/location.host "localhost:3449") + "/figwheel-ws") + :load-warninged-code false + :auto-jump-to-source-on-error false + ;; :on-message identity + + :on-jsload default-on-jsload + :before-jsload default-before-load + + :on-cssload default-on-cssload + + :on-compile-fail #'default-on-compile-fail + :on-compile-warning #'default-on-compile-warning + + :reload-dependents true + + :autoload true + + :debug false + + :heads-up-display true + + :eval-fn false + }) + +(defn handle-deprecated-jsload-callback [config] + (if (:jsload-callback config) + (-> config + (assoc :on-jsload (:jsload-callback config)) + (dissoc :jsload-callback)) + config)) + +(defn fill-url-template [config] + (if (utils/html-env?) + (update-in config [:websocket-url] + (fn [x] + (-> x + (string/replace "[[client-hostname]]" js/location.hostname) + (string/replace "[[client-port]]" js/location.port)))) + config)) + +(defn base-plugins [system-options] + (let [base {:enforce-project-plugin enforce-project-plugin + :enforce-figwheel-version-plugin enforce-figwheel-version-plugin + :file-reloader-plugin file-reloader-plugin + :comp-fail-warning-plugin compile-fail-warning-plugin + :css-reloader-plugin css-reloader-plugin + :repl-plugin repl-plugin} + base (if (not (utils/html-env?)) ;; we are in an html environment? + (select-keys base [#_:enforce-project-plugin + :file-reloader-plugin + :comp-fail-warning-plugin + :repl-plugin]) + base) + base (if (false? (:autoload system-options)) + (dissoc base :file-reloader-plugin) + base)] + (if (and (:heads-up-display system-options) + (utils/html-env?)) + (assoc base :heads-up-display-plugin heads-up-plugin) + base))) + +(defn add-message-watch [key callback] + (add-watch + socket/message-history-atom key + (fn [_ _ _ msg-hist] (callback (first msg-hist))))) + +(defn ^:export add-json-message-watch [key callback] + (add-message-watch key (comp callback clj->js))) + +(defn add-plugins [plugins system-options] + (doseq [[k plugin] plugins] + (when plugin + (let [pl (plugin system-options)] + (add-watch socket/message-history-atom k + (fn [_ _ _ msg-hist] (pl msg-hist))))))) + +(defn start + ([opts] + (when-not (nil? goog/dependencies_) + (defonce __figwheel-start-once__ + (js/setTimeout + #(let [plugins' (:plugins opts) ;; plugins replaces all plugins + merge-plugins (:merge-plugins opts) ;; merges plugins + system-options (-> config-defaults + (merge (dissoc opts :plugins :merge-plugins)) + handle-deprecated-jsload-callback + fill-url-template) + plugins (if plugins' + plugins' + (merge (base-plugins system-options) merge-plugins))] + (set! utils/*print-debug* (:debug opts)) + (enable-repl-print!) + (add-plugins plugins system-options) + (reloading/patch-goog-base) + (doseq [msg (:initial-messages system-options)] + (socket/handle-incoming-message msg)) + (socket/open system-options)))))) + ([] (start {}))) + +;; legacy interface +(def watch-and-reload-with-opts start) +(defn watch-and-reload [& {:keys [] :as opts}] (start opts)) + + +;; --- Bad Initial Compilation Helper Application --- +;; +;; this is only used to replace a missing compile target +;; when the initial compile fails due an exception +;; this is intended to be compiled seperately + +(defn fetch-data-from-env [] + (try + (read-string (gobj/get js/window "FIGWHEEL_CLIENT_CONFIGURATION")) + (catch js/Error e + (cljs.core/*print-err-fn* + "Unable to load FIGWHEEL_CLIENT_CONFIGURATION from the environment") + {:autoload false}))) + +(def console-intro-message +"Figwheel has compiled a temporary helper application to your :output-file. + +The code currently in your configured output file does not +represent the code that you are trying to compile. + +This temporary application is intended to help you continue to get +feedback from Figwheel until the build you are working on compiles +correctly. + +When your ClojureScript source code compiles correctly this helper +application will auto-reload and pick up your freshly compiled +ClojureScript program.") + +(defn bad-compile-helper-app [] + (enable-console-print!) + (let [config (fetch-data-from-env)] + (println console-intro-message) + (heads-up/bad-compile-screen) + (when-not js/goog.dependencies_ + (set! js/goog.dependencies_ true)) + (start config) + (add-message-watch + :listen-for-successful-compile + (fn [{:keys [msg-name]}] + (when (= msg-name :files-changed) + (set! js/location.href js/location.href)))))) diff --git a/examples/resources/public/js/out/figwheel/client.cljs.cache.json b/examples/resources/public/js/out/figwheel/client.cljs.cache.json new file mode 100644 index 0000000..9539493 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$JSON",["^ ","~$stringify",["^ "]],"~$Error",["^ "],"~$console",["^ ","~$log",["^ ","~$apply",["^ "]],"~$error",["^ ","^8",["^ "]]],"~$Object",["^ "],"~$goog",["^ ","~$string",["^ ","~$StringBuffer",["^ ","~$prototype",["^ ","~$append",["^ "]]]],"~$dependencies_",["^ "]],"~$cljs",["^ ","~$user",["^ "]],"~$location",["^ ","~$host",["^ "],"~$hostname",["^ "],"~$port",["^ "],"~$href",["^ "]],"~$setTimeout",["^ "],"~$window",["^ "]],"~:use-macros",["^ ","~$go","~$cljs.core.async.macros","~$go-loop","^L"],"~:excludes",["~#set",[]],"~:name","~$figwheel.client","~:imports",null,"~:requires",["^ ","~$goog.userAgent.product","^T","~$guri","~$goog.Uri","~$async","~$cljs.core.async","^V","^V","~$gobj","~$goog.object","^Z","^Z","^X","^X","~$socket","~$figwheel.client.socket","~$figwheel.client.file-reloading","^11","~$reloading","^11","^<","~$clojure.string","~$product","^T","~$figwheel.client.utils","^15","~$cljs.repl","^16","~$utils","^15","~$figwheel.client.heads-up","^18","^10","^10","~$heads-up","^18","^13","^13","~$cljs.reader","^1:"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$timeout","^X","~$",true,"^1W",["^1O",[null,null]],"^1K",1,"^1J",445,"^1L",445,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2?","^2@"]]]]]],"~$enforce-figwheel-version-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",316,"^1K",7,"^1L",316,"^1M",38,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"^P","~$figwheel.client/enforce-figwheel-version-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",38,"^1U",["^1O",[["^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",316,"^1L",316,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"~$repl-result-pr-str",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",100,"^1K",16,"^1L",100,"^1M",34,"^2>",true,"^1N",["^1O",["^1P",["^1O",[["~$v"]]]]]],"^P","~$figwheel.client/repl-result-pr-str","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",34,"^1U",["^1O",[["~$v"]]],"^1V",null,"^2>",true,"^1W",["^1O",[null,null]],"^1K",1,"^1J",100,"^1L",100,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["~$v"]]]]]],"~$__figwheel-start-once__",["^ ","^P","~$figwheel.client/__figwheel-start-once__","^1I","resources/public/js/out/figwheel/client.cljs","^1J",458,"^1K",8,"^1L",458,"^1M",40,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",458,"^1K",17,"^1L",458,"^1M",40],"~:tag","~$js"],"~$error-msg-format",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",110,"^1K",7,"^1L",110,"^1M",23,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["~$message","~$class"]]]]]]]],"^P","~$figwheel.client/error-msg-format","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",23,"^1U",["^1O",[["~$p__26523"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",110,"^1L",110,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["^2K","^2L"]]]]]]]],"~$compile-fail-warning-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",242,"^1K",7,"^1L",242,"^1M",34,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["~$on-compile-warning","~$on-compile-fail"]]]]]]]],"^P","~$figwheel.client/compile-fail-warning-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",34,"^1U",["^1O",[["~$p__26644"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",242,"^1L",242,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["^2P","^2Q"]]]]]]]],"~$console-intro-message",["^ ","^P","~$figwheel.client/console-intro-message","^1I","resources/public/js/out/figwheel/client.cljs","^1J",497,"^1K",1,"^1L",497,"^1M",27,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",497,"^1K",6,"^1L",497,"^1M",27],"^2H","^<"],"~$add-message-watch",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",440,"^1K",7,"^1L",440,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["^2?","^2@"]]]]]],"^P","~$figwheel.client/add-message-watch","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^1U",["^1O",[["^2?","^2@"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",440,"^1L",440,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2?","^2@"]]]]]],"~$auto-jump-to-error",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",249,"^1K",7,"^1L",249,"^1M",25,"^1N",["^1O",["^1P",["^1O",[["^2;","^9"]]]]]],"^P","~$figwheel.client/auto-jump-to-error","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",25,"^1U",["^1O",[["^2;","^9"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",249,"^1L",249,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;","^9"]]]]]],"~$repl-out-print-fn",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",44,"^1K",7,"^1L",44,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["~$&","~$args"]]]]],"~:top-fn",["^ ","^1T",true,"^1X",0,"^1U",[["^1O",["^2["]]],"^1N",["^1O",[["~$&","^2["]]],"^1W",["^1O",[null]]]],"^P","~$figwheel.client/repl-out-print-fn","^1T",true,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^30",["^ ","^1T",true,"^1X",0,"^1U",[["^1O",["^2["]]],"^1N",["^1O",[["~$&","^2["]]],"^1W",["^1O",[null]]],"^1U",[["^1O",["^2["]]],"^1V",null,"^1W",["^1O",[null]],"^1K",1,"^1J",44,"^1L",44,"^1X",0,"^1Y",true,"^1N",["^1O",[["~$&","^2["]]]],"~$add-plugins",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",448,"^1K",7,"^1L",448,"^1M",18,"^1N",["^1O",["^1P",["^1O",[["~$plugins","~$system-options"]]]]]],"^P","~$figwheel.client/add-plugins","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",18,"^1U",["^1O",[["^33","^34"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",448,"^1L",448,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^33","^34"]]]]]],"~$set-repl-pprint",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",88,"^1K",16,"^1L",88,"^1M",31,"^2>",true,"^1N",["^1O",["^1P",["^1O",[["~$b"]]]]],"~:doc","This method gives you the ability to turn the pretty printing of\n the REPL's return value on and off.\n\n (figwheel.client/set-repl-pprint false)\n\n NOTE: This is a persistent setting, meaning that it will persist\n through browser reloads."],"^P","~$figwheel.client/set-repl-pprint","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",31,"^1U",["^1O",[["~$b"]]],"^1V",null,"^2>",true,"^1W",["^1O",[null,null]],"^1K",1,"^1J",88,"^1L",88,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["~$b"]]]]],"^37","This method gives you the ability to turn the pretty printing of\n the REPL's return value on and off.\n\n (figwheel.client/set-repl-pprint false)\n\n NOTE: This is a persistent setting, meaning that it will persist\n through browser reloads."],"~$bad-compile-helper-app",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",511,"^1K",7,"^1L",511,"^1M",29,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/bad-compile-helper-app","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",29,"^1U",["^1O",[[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",511,"^1L",511,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$figwheel-repl-print",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",25,"^1K",7,"^1L",25,"^1M",26,"^1N",["^1O",["^1P",["^1O",[["~$stream","^2["],["^2["]]]]],"^30",["^ ","^1T",false,"^1X",2,"^1U",["^1O",[["^3<","^2["],["^2["]]],"^1N",["^1O",[["^3<","^2["],["^2["]]],"^1W",["^1O",[null,null]]]],"^P","~$figwheel.client/figwheel-repl-print","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",26,"^30",["^ ","^1T",false,"^1X",2,"^1U",["^1O",[["^3<","^2["],["^2["]]],"^1N",["^1O",[["^3<","^2["],["^2["]]],"^1W",["^1O",[null,null]]],"^1U",["^1O",[["^3<","^2["],["^2["]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",25,"^1L",25,"^1X",2,"^1Y",true,"^1N",["^1O",[["^3<","^2["],["^2["]]]],"~$file-reloader-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",149,"^1K",7,"^1L",149,"^1M",27,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"^P","~$figwheel.client/file-reloader-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",27,"^1U",["^1O",[["^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",149,"^1L",149,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"~$repl-pprint",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",85,"^1K",16,"^1L",85,"^1M",27,"^2>",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/repl-pprint","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",27,"^1U",["^1O",[[]]],"^1V",null,"^2>",true,"^1W",["^1O",[null,null]],"^1K",1,"^1J",85,"^1L",85,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$set-autoload",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",71,"^1K",16,"^1L",71,"^1M",28,"^2>",true,"^1N",["^1O",["^1P",["^1O",[["~$b"]]]]],"^37","Figwheel by default loads code changes as you work. Sometimes you\n just want to work on your code without the ramifications of\n autoloading and simply load your code piecemeal in the REPL. You can\n turn autoloading on and of with this method.\n\n (figwheel.client/set-autoload false)\n\n NOTE: This is a persistent setting, meaning that it will persist\n through browser reloads."],"^P","~$figwheel.client/set-autoload","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",28,"^1U",["^1O",[["~$b"]]],"^1V",null,"^2>",true,"^1W",["^1O",[null,null]],"^1K",1,"^1J",71,"^1L",71,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["~$b"]]]]],"^37","Figwheel by default loads code changes as you work. Sometimes you\n just want to work on your code without the ramifications of\n autoloading and simply load your code piecemeal in the REPL. You can\n turn autoloading on and of with this method.\n\n (figwheel.client/set-autoload false)\n\n NOTE: This is a persistent setting, meaning that it will persist\n through browser reloads."],"~$get-ua-product",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",183,"^1K",7,"^1L",183,"^1M",21,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/get-ua-product","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",21,"^1U",["^1O",[[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",183,"^1L",183,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$heads-up-plugin-msg-handler",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",254,"^1K",7,"^1L",254,"^1M",34,"^1N",["^1O",["^1P",["^1O",[["^2;","~$msg-hist'"]]]]]],"^P","~$figwheel.client/heads-up-plugin-msg-handler","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",34,"^1U",["^1O",[["^2;","^3G"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",254,"^1L",254,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;","^3G"]]]]]],"~$watch-and-reload-with-opts",["^ ","^P","~$figwheel.client/watch-and-reload-with-opts","^1I","resources/public/js/out/figwheel/client.cljs","^1J",479,"^1K",1,"^1L",479,"^1M",32,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",479,"^1K",6,"^1L",479,"^1M",32]],"~$compile-fail-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",140,"^1K",7,"^1L",140,"^1M",26,"^1N",["^1O",["^1P",["^1O",[["~$msg-names"]]]]]],"^P","~$figwheel.client/compile-fail-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",26,"^1U",["^1O",[["^3L"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",140,"^1L",140,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"~$format-messages",["^ ","^P","~$figwheel.client/format-messages","^1I","resources/public/js/out/figwheel/client.cljs","^1J",112,"^1K",1,"^1L",112,"^1M",21,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",112,"^1K",6,"^1L",112,"^1M",21],"^2H","~$any"],"~$css-reloader-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",237,"^1K",7,"^1L",237,"^1M",26,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"^P","~$figwheel.client/css-reloader-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",26,"^1U",["^1O",[["^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",237,"^1L",237,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"~$_figwheel-version_",["^ ","^P","~$figwheel.client/_figwheel-version_","^1I","resources/public/js/out/figwheel/client.cljs","^1J",18,"^1K",1,"^1L",18,"^1M",24,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",18,"^1K",6,"^1L",18,"^1M",24],"^2H","^<"],"~$ensure-cljs-user",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",220,"^1K",7,"^1L",220,"^1M",23,"^1N",["^1O",["^1P",["^1O",[[]]]]],"^37","The REPL can disconnect and reconnect lets ensure cljs.user exists at least."],"^P","~$figwheel.client/ensure-cljs-user","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",23,"^1U",["^1O",[[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",220,"^1L",220,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]],"^37","The REPL can disconnect and reconnect lets ensure cljs.user exists at least."],"~$console-out-print",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",38,"^1K",7,"^1L",38,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["^2["]]]]]],"^P","~$figwheel.client/console-out-print","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^1U",["^1O",[["^2["]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",38,"^1L",38,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2["]]]]]],"~$watch-and-reload",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",480,"^1K",7,"^1L",480,"^1M",23,"^1N",["^1O",["^1P",["^1O",[["~$&",["^ ","^22",[],"^25","^2;"]]]]]],"^30",["^ ","^1T",true,"^1X",0,"^1U",[["^1O",[["^ ","^22",[],"^25","^2;"]]]],"^1N",["^1O",[["~$&",["^ ","^22",[],"^25","^2;"]]]],"^1W",["^1O",[null]]]],"^P","~$figwheel.client/watch-and-reload","^1T",true,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",23,"^30",["^ ","^1T",true,"^1X",0,"^1U",[["^1O",[["^ ","^22",[],"^25","^2;"]]]],"^1N",["^1O",[["~$&",["^ ","^22",[],"^25","^2;"]]]],"^1W",["^1O",[null]]],"^1U",[["^1O",[["^ ","^22",[],"^25","^2;"]]]],"^1V",null,"^1W",["^1O",[null]],"^1K",1,"^1J",480,"^1L",480,"^1X",0,"^1Y",true,"^1N",["^1O",[["~$&",["^ ","^22",[],"^25","^2;"]]]]],"~$start",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",455,"^1K",7,"^1L",455,"^1M",12,"^1N",["^1O",["^1P",["^1O",[["^2;"],[]]]]],"^30",["^ ","^1T",false,"^1X",1,"^1U",["^1O",[["^2;"],[]]],"^1N",["^1O",[["^2;"],[]]],"^1W",["^1O",[null,null]]]],"^P","~$figwheel.client/start","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",12,"^30",["^ ","^1T",false,"^1X",1,"^1U",["^1O",[["^2;"],[]]],"^1N",["^1O",[["^2;"],[]]],"^1W",["^1O",[null,null]]],"^1U",["^1O",[["^2;"],[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",455,"^1L",455,"^1X",1,"^1Y",true,"^1N",["^1O",[["^2;"],[]]]],"~$repl-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",227,"^1K",7,"^1L",227,"^1M",18,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["~$build-id"],"^25","^2;"]]]]]]],"^P","~$figwheel.client/repl-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",18,"^1U",["^1O",[["~$p__26629"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",227,"^1L",227,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["^42"],"^25","^2;"]]]]]]],"~$eval-javascript**",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",192,"^1K",9,"^1L",192,"^1M",26,"^1N",["^1O",["^1P",["^1O",[["~$code","^2;","~$result-handler"]]]]]],"^P","~$figwheel.client/eval-javascript**","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",26,"^1U",["^1O",[["^46","^2;","^47"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",3,"^1J",192,"^1L",192,"^1X",3,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^46","^2;","^47"]]]]]],"~$repl-err-print-fn",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",49,"^1K",7,"^1L",49,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["~$&","^2["]]]]],"^30",["^ ","^1T",true,"^1X",0,"^1U",[["^1O",["^2["]]],"^1N",["^1O",[["~$&","^2["]]],"^1W",["^1O",[null]]]],"^P","~$figwheel.client/repl-err-print-fn","^1T",true,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^30",["^ ","^1T",true,"^1X",0,"^1U",[["^1O",["^2["]]],"^1N",["^1O",[["~$&","^2["]]],"^1W",["^1O",[null]]],"^1U",[["^1O",["^2["]]],"^1V",null,"^1W",["^1O",[null]],"^1K",1,"^1J",49,"^1L",49,"^1X",0,"^1Y",true,"^1N",["^1O",[["~$&","^2["]]]],"~$heads-up-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",294,"^1K",7,"^1L",294,"^1M",22,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"^P","~$figwheel.client/heads-up-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",22,"^1U",["^1O",[["^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",294,"^1L",294,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"~$file-line-column",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",349,"^1K",7,"^1L",349,"^1M",23,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["~$file","~$line","~$column"]]]]]]]],"^P","~$figwheel.client/file-line-column","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",23,"^1U",["^1O",[["~$p__26896"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",349,"^1L",349,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["^4>","^4?","^4@"]]]]]]]],"~$css-loaded-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",146,"^1K",7,"^1L",146,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"^P","~$figwheel.client/css-loaded-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^1U",["^1O",[["^3L"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",146,"^1L",146,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"~$heads-up-config-options**",["^ ","^P","~$figwheel.client/heads-up-config-options**","^1I","resources/public/js/out/figwheel/client.cljs","^1J",296,"^1K",5,"^1L",296,"^1M",35,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",296,"^1K",10,"^1L",296,"^1M",35]],"~$block-reload-file-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",127,"^1K",7,"^1L",127,"^1M",31,"^1N",["^1O",["^1P",["^1O",[["^3L","^2;"]]]]]],"^P","~$figwheel.client/block-reload-file-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",31,"^1U",["^1O",[["^3L","^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",127,"^1L",127,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L","^2;"]]]]]],"~$fill-url-template",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",410,"^1K",7,"^1L",410,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["^1["]]]]]],"^P","~$figwheel.client/fill-url-template","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^1U",["^1O",[["^1["]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",410,"^1L",410,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^1["]]]]]],"~$rewarning-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",137,"^1K",7,"^1L",137,"^1M",23,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"^P","~$figwheel.client/rewarning-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",23,"^1U",["^1O",[["^3L"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",137,"^1L",137,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"~$js-stringify",["^ ","^P","~$figwheel.client/js-stringify","^1I","resources/public/js/out/figwheel/client.cljs","^1J",20,"^1K",1,"^1L",20,"^1M",18,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",20,"^1K",6,"^1L",20,"^1M",18],"^2H","~$function"],"~$toggle-autoload",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",63,"^1K",16,"^1L",63,"^1M",31,"^2>",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/toggle-autoload","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",31,"^1U",["^1O",[[]]],"^1V",null,"^2>",true,"^1W",["^1O",[null,null]],"^1K",1,"^1J",63,"^1L",63,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$get-essential-messages",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",105,"^1K",7,"^1L",105,"^1M",29,"^1N",["^1O",["^1P",["^1O",[["^26"]]]]]],"^P","~$figwheel.client/get-essential-messages","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",29,"^1U",["^1O",[["^26"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",105,"^1L",105,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^26"]]]]]],"~$default-on-jsload",["^ ","^P","~$figwheel.client/default-on-jsload","^1I","resources/public/js/out/figwheel/client.cljs","^1J",347,"^1K",1,"^1L",347,"^1M",23,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",347,"^1K",6,"^1L",347,"^1M",23]],"~$base-plugins",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",419,"^1K",7,"^1L",419,"^1M",19,"^1N",["^1O",["^1P",["^1O",[["^34"]]]]]],"^P","~$figwheel.client/base-plugins","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",19,"^1U",["^1O",[["^34"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",419,"^1L",419,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^34"]]]]]],"~$default-on-cssload",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",370,"^1K",7,"^1L",370,"^1M",25,"^1N",["^1O",["^1P",["^1O",[["~$files"]]]]]],"^P","~$figwheel.client/default-on-cssload","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",25,"^1U",["^1O",[["^4Y"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",370,"^1L",370,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^4Y"]]]]]],"~$console-err-print",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",41,"^1K",7,"^1L",41,"^1M",24,"^1N",["^1O",["^1P",["^1O",[["^2["]]]]]],"^P","~$figwheel.client/console-err-print","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",24,"^1U",["^1O",[["^2["]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",41,"^1L",41,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2["]]]]]],"~$enforce-project-plugin",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",304,"^1K",7,"^1L",304,"^1M",29,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"^P","~$figwheel.client/enforce-project-plugin","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",29,"^1U",["^1O",[["^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",304,"^1L",304,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^2;"]]]]]],"~$warning-append-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",131,"^1K",7,"^1L",131,"^1M",28,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"^P","~$figwheel.client/warning-append-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",28,"^1U",["^1O",[["^3L"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",131,"^1L",131,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"~$config-defaults",["^ ","^P","~$figwheel.client/config-defaults","^1I","resources/public/js/out/figwheel/client.cljs","^1J",375,"^1K",1,"^1L",375,"^1M",25,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",375,"^1K",10,"^1L",375,"^1M",25],"^2H","~$cljs.core/IMap"],"~$compile-refail-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",143,"^1K",7,"^1L",143,"^1M",28,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"^P","~$figwheel.client/compile-refail-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",28,"^1U",["^1O",[["^3L"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",143,"^1L",143,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"~$autoload?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",60,"^1K",7,"^1L",60,"^1M",16,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/autoload?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",16,"^1U",["^1O",[[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",60,"^1L",60,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$fetch-data-from-env",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",489,"^1K",7,"^1L",489,"^1M",26,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/fetch-data-from-env","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",26,"^1U",["^1O",[[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",489,"^1L",489,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$reload-file-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",123,"^1K",7,"^1L",123,"^1M",25,"^1N",["^1O",["^1P",["^1O",[["^3L","^2;"]]]]]],"^P","~$figwheel.client/reload-file-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",25,"^1U",["^1O",[["^3L","^2;"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",123,"^1L",123,"^1X",2,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L","^2;"]]]]]],"~$default-on-compile-warning",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",362,"^1K",7,"^1L",362,"^1M",33,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["^2K"],"^25","~$w"]]]]]]],"^P","~$figwheel.client/default-on-compile-warning","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",33,"^1U",["^1O",[["~$p__26905"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",362,"^1L",362,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[["^ ","^22",["^2K"],"^25","~$w"]]]]]]],"~$warning-state?",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",134,"^1K",7,"^1L",134,"^1M",21,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"^P","~$figwheel.client/warning-state?","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",21,"^1U",["^1O",[["^3L"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",134,"^1L",134,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^3L"]]]]]],"~$default-before-load",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",366,"^1K",7,"^1L",366,"^1M",26,"^1N",["^1O",["^1P",["^1O",[["^4Y"]]]]]],"^P","~$figwheel.client/default-before-load","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",26,"^1U",["^1O",[["^4Y"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",366,"^1L",366,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^4Y"]]]]]],"~$enable-repl-print!",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",54,"^1K",7,"^1L",54,"^1M",25,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"^P","~$figwheel.client/enable-repl-print!","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",25,"^1U",["^1O",[[]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",54,"^1L",54,"^1X",0,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[[]]]]]],"~$truncate-stack-trace",["^ ","^1G",null,"^1H",["^ ","^1I","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client.cljs","^1J",179,"^1K",7,"^1L",179,"^1M",27,"^1N",["^1O",["^1P",["^1O",[["~$stack-str"]]]]]],"^P","~$figwheel.client/truncate-stack-trace","^1T",false,"^1I","resources/public/js/out/figwheel/client.cljs","^1M",27,"^1U",["^1O",[["^5J"]]],"^1V",null,"^1W",["^1O",[null,null]],"^1K",1,"^1J",179,"^1L",179,"^1X",1,"^1Y",true,"^1N",["^1O",["^1P",["^1O",[["^5J"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^L","^L","^1:","^1:","^W","^X","^X","^X","^17","^15","^15","^15","^16","^16"],"~:cljs.analyzer/constants",["^ ","~:seen",["^O",["~:figwheel-event","~:args","~:figwheel-autoload","^27","^23","^21","~:ua-product","~:file-reloader-plugin","~:cause","^2K","~:safari","~:on-compile-warning","~:else","~:on-jsload","~:compile-failed","~:comp-fail-warning-plugin","~:content","~:css-reloader-plugin","~:figwheel-version","~:ns","~:warn","^P","^25","~:value","~:callback-name","~:reload-dependents","^1I","^1M","~:err","^24","~:initial-messages","~:on-compile-fail","~:recur","~:compile-warning","~:debug","~:heads-up-display-plugin","~:files-changed","~:repl-plugin","~:heads-up-display","~:merge-plugins","~:jsload-callback","^1K","^5A","~:stream","~:firefox","~$w","~:build-id","^22","~:css-files-changed","~:success","^1J","~:out","~:chrome","~:enforce-project-plugin","~:status","~:ie","~:base-path","~:class","^Q","~:plugins","~:info","~:code","~:files","~:websocket-url","~:stacktrace","^1L","^26","~:auto-jump-to-source-on-error","~:before-jsload","~:exception","~:msg-name","~:figwheel-repl-pprint","~:load-warninged-code","~:repl-eval","~:exception-data","~:eval-fn","^1N","~:project-id","^37","~:retry-count","~:autoload","~:enforce-figwheel-version-plugin","~:listen-for-successful-compile","~:test","^5@","~:on-cssload","~:message"]],"~:order",["^5X","^5P","^66","^60","^6D","^5Q","^6I","^68","^5R","^6Q","^6Z","^7:","^6O","^5U","^6Y","^6[","^6<","^6?","^5Z","^6G","^6;","^6S","^1I","^64","^6J","^5V","^6E","^6M","^6L","^65","^5S","^6U","^6N","^6X","^6H","^6F","^70","^6R","^5W","^6:","^6V","^71","^75","^73","^6A","^62","^1J","^1K","^6=","^5Y","^67","^6T","^6W","^72","^74","^79","^5A","^63","^P","^1M","^1L","^1N","^37","^78","^Q","^5@","^22","^25","^2K","~$w","^27","^21","^23","^24","^26","^6C","^6K","^76","^5T","^5[","^61","^6@","^6>","^6P","^6B","^69","^77"]],"^37",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client.js b/examples/resources/public/js/out/figwheel/client.js new file mode 100644 index 0000000..3c48ced --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client.js @@ -0,0 +1,2081 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('figwheel.client'); +goog.require('cljs.core'); +goog.require('goog.Uri'); +goog.require('goog.userAgent.product'); +goog.require('goog.object'); +goog.require('cljs.reader'); +goog.require('cljs.core.async'); +goog.require('figwheel.client.socket'); +goog.require('figwheel.client.utils'); +goog.require('figwheel.client.heads_up'); +goog.require('figwheel.client.file_reloading'); +goog.require('clojure.string'); +goog.require('cljs.repl'); +figwheel.client._figwheel_version_ = "0.5.18"; +figwheel.client.js_stringify = ((((typeof JSON !== 'undefined') && (!((JSON.stringify == null)))))?(function (x){ +return ["#js ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(JSON.stringify(x,null," "))].join(''); +}):(function (x){ +try{return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''); +}catch (e26510){if((e26510 instanceof Error)){ +var e = e26510; +return "Error: Unable to stringify"; +} else { +throw e26510; + +} +}})); +figwheel.client.figwheel_repl_print = (function figwheel$client$figwheel_repl_print(var_args){ +var G__26513 = arguments.length; +switch (G__26513) { +case 2: +return figwheel.client.figwheel_repl_print.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 1: +return figwheel.client.figwheel_repl_print.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(''))); + +} +}); + +figwheel.client.figwheel_repl_print.cljs$core$IFn$_invoke$arity$2 = (function (stream,args){ +figwheel.client.socket.send_BANG_.call(null,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"figwheel-event","figwheel-event",519570592),"callback",new cljs.core.Keyword(null,"callback-name","callback-name",336964714),"figwheel-repl-print",new cljs.core.Keyword(null,"content","content",15833224),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"stream","stream",1534941648),stream,new cljs.core.Keyword(null,"args","args",1315556576),cljs.core.mapv.call(null,(function (p1__26511_SHARP_){ +if(typeof p1__26511_SHARP_ === 'string'){ +return p1__26511_SHARP_; +} else { +return figwheel.client.js_stringify.call(null,p1__26511_SHARP_); +} +}),args)], null)], null)); + +return null; +}); + +figwheel.client.figwheel_repl_print.cljs$core$IFn$_invoke$arity$1 = (function (args){ +return figwheel.client.figwheel_repl_print.call(null,new cljs.core.Keyword(null,"out","out",-910545517),args); +}); + +figwheel.client.figwheel_repl_print.cljs$lang$maxFixedArity = 2; + +figwheel.client.console_out_print = (function figwheel$client$console_out_print(args){ +return console.log.apply(console,cljs.core.into_array.call(null,args)); +}); +figwheel.client.console_err_print = (function figwheel$client$console_err_print(args){ +return console.error.apply(console,cljs.core.into_array.call(null,args)); +}); +figwheel.client.repl_out_print_fn = (function figwheel$client$repl_out_print_fn(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___26516 = arguments.length; +var i__4500__auto___26517 = (0); +while(true){ +if((i__4500__auto___26517 < len__4499__auto___26516)){ +args__4502__auto__.push((arguments[i__4500__auto___26517])); + +var G__26518 = (i__4500__auto___26517 + (1)); +i__4500__auto___26517 = G__26518; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return figwheel.client.repl_out_print_fn.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +figwheel.client.repl_out_print_fn.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +figwheel.client.console_out_print.call(null,args); + +figwheel.client.figwheel_repl_print.call(null,new cljs.core.Keyword(null,"out","out",-910545517),args); + +return null; +}); + +figwheel.client.repl_out_print_fn.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +figwheel.client.repl_out_print_fn.cljs$lang$applyTo = (function (seq26515){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq26515)); +}); + +figwheel.client.repl_err_print_fn = (function figwheel$client$repl_err_print_fn(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___26520 = arguments.length; +var i__4500__auto___26521 = (0); +while(true){ +if((i__4500__auto___26521 < len__4499__auto___26520)){ +args__4502__auto__.push((arguments[i__4500__auto___26521])); + +var G__26522 = (i__4500__auto___26521 + (1)); +i__4500__auto___26521 = G__26522; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return figwheel.client.repl_err_print_fn.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +figwheel.client.repl_err_print_fn.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +figwheel.client.console_err_print.call(null,args); + +figwheel.client.figwheel_repl_print.call(null,new cljs.core.Keyword(null,"err","err",-2089457205),args); + +return null; +}); + +figwheel.client.repl_err_print_fn.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +figwheel.client.repl_err_print_fn.cljs$lang$applyTo = (function (seq26519){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq26519)); +}); + +figwheel.client.enable_repl_print_BANG_ = (function figwheel$client$enable_repl_print_BANG_(){ +cljs.core._STAR_print_newline_STAR_ = false; + +cljs.core.set_print_fn_BANG_.call(null,figwheel.client.repl_out_print_fn); + +cljs.core.set_print_err_fn_BANG_.call(null,figwheel.client.repl_err_print_fn); + +return null; +}); +figwheel.client.autoload_QMARK_ = (function figwheel$client$autoload_QMARK_(){ +return figwheel.client.utils.persistent_config_get.call(null,new cljs.core.Keyword(null,"figwheel-autoload","figwheel-autoload",-2044741728),true); +}); +figwheel.client.toggle_autoload = (function figwheel$client$toggle_autoload(){ +var res = figwheel.client.utils.persistent_config_set_BANG_.call(null,new cljs.core.Keyword(null,"figwheel-autoload","figwheel-autoload",-2044741728),cljs.core.not.call(null,figwheel.client.autoload_QMARK_.call(null))); +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"info","info",-317069002),["Toggle autoload deprecated! Use (figwheel.client/set-autoload! false)"].join('')); + +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"info","info",-317069002),["Figwheel autoloading ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(figwheel.client.autoload_QMARK_.call(null))?"ON":"OFF"))].join('')); + +return res; +}); +goog.exportSymbol('figwheel.client.toggle_autoload', figwheel.client.toggle_autoload); +/** + * Figwheel by default loads code changes as you work. Sometimes you + * just want to work on your code without the ramifications of + * autoloading and simply load your code piecemeal in the REPL. You can + * turn autoloading on and of with this method. + * + * (figwheel.client/set-autoload false) + * + * NOTE: This is a persistent setting, meaning that it will persist + * through browser reloads. + */ +figwheel.client.set_autoload = (function figwheel$client$set_autoload(b){ +if(((b === true) || (b === false))){ +} else { +throw (new Error("Assert failed: (or (true? b) (false? b))")); +} + +return figwheel.client.utils.persistent_config_set_BANG_.call(null,new cljs.core.Keyword(null,"figwheel-autoload","figwheel-autoload",-2044741728),b); +}); +goog.exportSymbol('figwheel.client.set_autoload', figwheel.client.set_autoload); +figwheel.client.repl_pprint = (function figwheel$client$repl_pprint(){ +return figwheel.client.utils.persistent_config_get.call(null,new cljs.core.Keyword(null,"figwheel-repl-pprint","figwheel-repl-pprint",1076150873),true); +}); +goog.exportSymbol('figwheel.client.repl_pprint', figwheel.client.repl_pprint); +/** + * This method gives you the ability to turn the pretty printing of + * the REPL's return value on and off. + * + * (figwheel.client/set-repl-pprint false) + * + * NOTE: This is a persistent setting, meaning that it will persist + * through browser reloads. + */ +figwheel.client.set_repl_pprint = (function figwheel$client$set_repl_pprint(b){ +if(((b === true) || (b === false))){ +} else { +throw (new Error("Assert failed: (or (true? b) (false? b))")); +} + +return figwheel.client.utils.persistent_config_set_BANG_.call(null,new cljs.core.Keyword(null,"figwheel-repl-pprint","figwheel-repl-pprint",1076150873),b); +}); +goog.exportSymbol('figwheel.client.set_repl_pprint', figwheel.client.set_repl_pprint); +figwheel.client.repl_result_pr_str = (function figwheel$client$repl_result_pr_str(v){ +if(cljs.core.truth_(figwheel.client.repl_pprint.call(null))){ +return figwheel.client.utils.pprint_to_string.call(null,v); +} else { +return cljs.core.pr_str.call(null,v); +} +}); +goog.exportSymbol('figwheel.client.repl_result_pr_str', figwheel.client.repl_result_pr_str); +figwheel.client.get_essential_messages = (function figwheel$client$get_essential_messages(ed){ +if(cljs.core.truth_(ed)){ +return cljs.core.cons.call(null,cljs.core.select_keys.call(null,ed,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"message","message",-406056002),new cljs.core.Keyword(null,"class","class",-2030961996)], null)),figwheel.client.get_essential_messages.call(null,new cljs.core.Keyword(null,"cause","cause",231901252).cljs$core$IFn$_invoke$arity$1(ed))); +} else { +return null; +} +}); +figwheel.client.error_msg_format = (function figwheel$client$error_msg_format(p__26523){ +var map__26524 = p__26523; +var map__26524__$1 = ((((!((map__26524 == null)))?(((((map__26524.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26524.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26524):map__26524); +var message = cljs.core.get.call(null,map__26524__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var class$ = cljs.core.get.call(null,map__26524__$1,new cljs.core.Keyword(null,"class","class",-2030961996)); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(class$)," : ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(message)].join(''); +}); +figwheel.client.format_messages = cljs.core.comp.call(null,cljs.core.partial.call(null,cljs.core.map,figwheel.client.error_msg_format),figwheel.client.get_essential_messages); +figwheel.client.focus_msgs = (function figwheel$client$focus_msgs(name_set,msg_hist){ +return cljs.core.cons.call(null,cljs.core.first.call(null,msg_hist),cljs.core.filter.call(null,cljs.core.comp.call(null,name_set,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863)),cljs.core.rest.call(null,msg_hist))); +}); +figwheel.client.reload_file_QMARK__STAR_ = (function figwheel$client$reload_file_QMARK__STAR_(msg_name,opts){ +var or__3922__auto__ = new cljs.core.Keyword(null,"load-warninged-code","load-warninged-code",-2030345223).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return cljs.core.not_EQ_.call(null,msg_name,new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356)); +} +}); +figwheel.client.reload_file_state_QMARK_ = (function figwheel$client$reload_file_state_QMARK_(msg_names,opts){ +var and__3911__auto__ = cljs.core._EQ_.call(null,cljs.core.first.call(null,msg_names),new cljs.core.Keyword(null,"files-changed","files-changed",-1418200563)); +if(and__3911__auto__){ +return figwheel.client.reload_file_QMARK__STAR_.call(null,cljs.core.second.call(null,msg_names),opts); +} else { +return and__3911__auto__; +} +}); +figwheel.client.block_reload_file_state_QMARK_ = (function figwheel$client$block_reload_file_state_QMARK_(msg_names,opts){ +return ((cljs.core._EQ_.call(null,cljs.core.first.call(null,msg_names),new cljs.core.Keyword(null,"files-changed","files-changed",-1418200563))) && (cljs.core.not.call(null,figwheel.client.reload_file_QMARK__STAR_.call(null,cljs.core.second.call(null,msg_names),opts)))); +}); +figwheel.client.warning_append_state_QMARK_ = (function figwheel$client$warning_append_state_QMARK_(msg_names){ +return cljs.core._EQ_.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356),new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356)], null),cljs.core.take.call(null,(2),msg_names)); +}); +figwheel.client.warning_state_QMARK_ = (function figwheel$client$warning_state_QMARK_(msg_names){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356),cljs.core.first.call(null,msg_names)); +}); +figwheel.client.rewarning_state_QMARK_ = (function figwheel$client$rewarning_state_QMARK_(msg_names){ +return cljs.core._EQ_.call(null,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356),new cljs.core.Keyword(null,"files-changed","files-changed",-1418200563),new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356)], null),cljs.core.take.call(null,(3),msg_names)); +}); +figwheel.client.compile_fail_state_QMARK_ = (function figwheel$client$compile_fail_state_QMARK_(msg_names){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"compile-failed","compile-failed",-477639289),cljs.core.first.call(null,msg_names)); +}); +figwheel.client.compile_refail_state_QMARK_ = (function figwheel$client$compile_refail_state_QMARK_(msg_names){ +return cljs.core._EQ_.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"compile-failed","compile-failed",-477639289),new cljs.core.Keyword(null,"compile-failed","compile-failed",-477639289)], null),cljs.core.take.call(null,(2),msg_names)); +}); +figwheel.client.css_loaded_state_QMARK_ = (function figwheel$client$css_loaded_state_QMARK_(msg_names){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"css-files-changed","css-files-changed",720773874),cljs.core.first.call(null,msg_names)); +}); +figwheel.client.file_reloader_plugin = (function figwheel$client$file_reloader_plugin(opts){ +var ch = cljs.core.async.chan.call(null); +var c__20872__auto___26603 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___26603,ch){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___26603,ch){ +return (function (state_26575){ +var state_val_26576 = (state_26575[(1)]); +if((state_val_26576 === (7))){ +var inst_26571 = (state_26575[(2)]); +var state_26575__$1 = state_26575; +var statearr_26577_26604 = state_26575__$1; +(statearr_26577_26604[(2)] = inst_26571); + +(statearr_26577_26604[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (1))){ +var state_26575__$1 = state_26575; +var statearr_26578_26605 = state_26575__$1; +(statearr_26578_26605[(2)] = null); + +(statearr_26578_26605[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (4))){ +var inst_26528 = (state_26575[(7)]); +var inst_26528__$1 = (state_26575[(2)]); +var state_26575__$1 = (function (){var statearr_26579 = state_26575; +(statearr_26579[(7)] = inst_26528__$1); + +return statearr_26579; +})(); +if(cljs.core.truth_(inst_26528__$1)){ +var statearr_26580_26606 = state_26575__$1; +(statearr_26580_26606[(1)] = (5)); + +} else { +var statearr_26581_26607 = state_26575__$1; +(statearr_26581_26607[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (15))){ +var inst_26535 = (state_26575[(8)]); +var inst_26550 = new cljs.core.Keyword(null,"files","files",-472457450).cljs$core$IFn$_invoke$arity$1(inst_26535); +var inst_26551 = cljs.core.first.call(null,inst_26550); +var inst_26552 = new cljs.core.Keyword(null,"file","file",-1269645878).cljs$core$IFn$_invoke$arity$1(inst_26551); +var inst_26553 = ["Figwheel: Not loading code with warnings - ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(inst_26552)].join(''); +var inst_26554 = figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"warn","warn",-436710552),inst_26553); +var state_26575__$1 = state_26575; +var statearr_26582_26608 = state_26575__$1; +(statearr_26582_26608[(2)] = inst_26554); + +(statearr_26582_26608[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (13))){ +var inst_26559 = (state_26575[(2)]); +var state_26575__$1 = state_26575; +var statearr_26583_26609 = state_26575__$1; +(statearr_26583_26609[(2)] = inst_26559); + +(statearr_26583_26609[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (6))){ +var state_26575__$1 = state_26575; +var statearr_26584_26610 = state_26575__$1; +(statearr_26584_26610[(2)] = null); + +(statearr_26584_26610[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (17))){ +var inst_26557 = (state_26575[(2)]); +var state_26575__$1 = state_26575; +var statearr_26585_26611 = state_26575__$1; +(statearr_26585_26611[(2)] = inst_26557); + +(statearr_26585_26611[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (3))){ +var inst_26573 = (state_26575[(2)]); +var state_26575__$1 = state_26575; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_26575__$1,inst_26573); +} else { +if((state_val_26576 === (12))){ +var inst_26534 = (state_26575[(9)]); +var inst_26548 = figwheel.client.block_reload_file_state_QMARK_.call(null,inst_26534,opts); +var state_26575__$1 = state_26575; +if(cljs.core.truth_(inst_26548)){ +var statearr_26586_26612 = state_26575__$1; +(statearr_26586_26612[(1)] = (15)); + +} else { +var statearr_26587_26613 = state_26575__$1; +(statearr_26587_26613[(1)] = (16)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (2))){ +var state_26575__$1 = state_26575; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26575__$1,(4),ch); +} else { +if((state_val_26576 === (11))){ +var inst_26535 = (state_26575[(8)]); +var inst_26540 = cljs.core.PersistentVector.EMPTY_NODE; +var inst_26541 = figwheel.client.file_reloading.reload_js_files.call(null,opts,inst_26535); +var inst_26542 = cljs.core.async.timeout.call(null,(1000)); +var inst_26543 = [inst_26541,inst_26542]; +var inst_26544 = (new cljs.core.PersistentVector(null,2,(5),inst_26540,inst_26543,null)); +var state_26575__$1 = state_26575; +return cljs.core.async.ioc_alts_BANG_.call(null,state_26575__$1,(14),inst_26544); +} else { +if((state_val_26576 === (9))){ +var inst_26535 = (state_26575[(8)]); +var inst_26561 = figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"warn","warn",-436710552),"Figwheel: code autoloading is OFF"); +var inst_26562 = new cljs.core.Keyword(null,"files","files",-472457450).cljs$core$IFn$_invoke$arity$1(inst_26535); +var inst_26563 = cljs.core.map.call(null,new cljs.core.Keyword(null,"file","file",-1269645878),inst_26562); +var inst_26564 = ["Not loading: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(inst_26563)].join(''); +var inst_26565 = figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"info","info",-317069002),inst_26564); +var state_26575__$1 = (function (){var statearr_26588 = state_26575; +(statearr_26588[(10)] = inst_26561); + +return statearr_26588; +})(); +var statearr_26589_26614 = state_26575__$1; +(statearr_26589_26614[(2)] = inst_26565); + +(statearr_26589_26614[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (5))){ +var inst_26528 = (state_26575[(7)]); +var inst_26530 = [new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356),null,new cljs.core.Keyword(null,"files-changed","files-changed",-1418200563),null]; +var inst_26531 = (new cljs.core.PersistentArrayMap(null,2,inst_26530,null)); +var inst_26532 = (new cljs.core.PersistentHashSet(null,inst_26531,null)); +var inst_26533 = figwheel.client.focus_msgs.call(null,inst_26532,inst_26528); +var inst_26534 = cljs.core.map.call(null,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863),inst_26533); +var inst_26535 = cljs.core.first.call(null,inst_26533); +var inst_26536 = figwheel.client.autoload_QMARK_.call(null); +var state_26575__$1 = (function (){var statearr_26590 = state_26575; +(statearr_26590[(9)] = inst_26534); + +(statearr_26590[(8)] = inst_26535); + +return statearr_26590; +})(); +if(cljs.core.truth_(inst_26536)){ +var statearr_26591_26615 = state_26575__$1; +(statearr_26591_26615[(1)] = (8)); + +} else { +var statearr_26592_26616 = state_26575__$1; +(statearr_26592_26616[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (14))){ +var inst_26546 = (state_26575[(2)]); +var state_26575__$1 = state_26575; +var statearr_26593_26617 = state_26575__$1; +(statearr_26593_26617[(2)] = inst_26546); + +(statearr_26593_26617[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (16))){ +var state_26575__$1 = state_26575; +var statearr_26594_26618 = state_26575__$1; +(statearr_26594_26618[(2)] = null); + +(statearr_26594_26618[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (10))){ +var inst_26567 = (state_26575[(2)]); +var state_26575__$1 = (function (){var statearr_26595 = state_26575; +(statearr_26595[(11)] = inst_26567); + +return statearr_26595; +})(); +var statearr_26596_26619 = state_26575__$1; +(statearr_26596_26619[(2)] = null); + +(statearr_26596_26619[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26576 === (8))){ +var inst_26534 = (state_26575[(9)]); +var inst_26538 = figwheel.client.reload_file_state_QMARK_.call(null,inst_26534,opts); +var state_26575__$1 = state_26575; +if(cljs.core.truth_(inst_26538)){ +var statearr_26597_26620 = state_26575__$1; +(statearr_26597_26620[(1)] = (11)); + +} else { +var statearr_26598_26621 = state_26575__$1; +(statearr_26598_26621[(1)] = (12)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto___26603,ch)) +; +return ((function (switch__20783__auto__,c__20872__auto___26603,ch){ +return (function() { +var figwheel$client$file_reloader_plugin_$_state_machine__20784__auto__ = null; +var figwheel$client$file_reloader_plugin_$_state_machine__20784__auto____0 = (function (){ +var statearr_26599 = [null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_26599[(0)] = figwheel$client$file_reloader_plugin_$_state_machine__20784__auto__); + +(statearr_26599[(1)] = (1)); + +return statearr_26599; +}); +var figwheel$client$file_reloader_plugin_$_state_machine__20784__auto____1 = (function (state_26575){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_26575); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e26600){if((e26600 instanceof Object)){ +var ex__20787__auto__ = e26600; +var statearr_26601_26622 = state_26575; +(statearr_26601_26622[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_26575); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e26600; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__26623 = state_26575; +state_26575 = G__26623; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$file_reloader_plugin_$_state_machine__20784__auto__ = function(state_26575){ +switch(arguments.length){ +case 0: +return figwheel$client$file_reloader_plugin_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$file_reloader_plugin_$_state_machine__20784__auto____1.call(this,state_26575); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$file_reloader_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$file_reloader_plugin_$_state_machine__20784__auto____0; +figwheel$client$file_reloader_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$file_reloader_plugin_$_state_machine__20784__auto____1; +return figwheel$client$file_reloader_plugin_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___26603,ch)) +})(); +var state__20874__auto__ = (function (){var statearr_26602 = f__20873__auto__.call(null); +(statearr_26602[(6)] = c__20872__auto___26603); + +return statearr_26602; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___26603,ch)) +); + + +return ((function (ch){ +return (function (msg_hist){ +cljs.core.async.put_BANG_.call(null,ch,msg_hist); + +return msg_hist; +}); +;})(ch)) +}); +figwheel.client.truncate_stack_trace = (function figwheel$client$truncate_stack_trace(stack_str){ +return cljs.core.take_while.call(null,(function (p1__26624_SHARP_){ +return cljs.core.not.call(null,cljs.core.re_matches.call(null,/.*eval_javascript_STAR__STAR_.*/,p1__26624_SHARP_)); +}),clojure.string.split_lines.call(null,stack_str)); +}); +figwheel.client.get_ua_product = (function figwheel$client$get_ua_product(){ +if(cljs.core.truth_(figwheel.client.utils.node_env_QMARK_.call(null))){ +return new cljs.core.Keyword(null,"chrome","chrome",1718738387); +} else { +if(cljs.core.truth_(goog.userAgent.product.SAFARI)){ +return new cljs.core.Keyword(null,"safari","safari",497115653); +} else { +if(cljs.core.truth_(goog.userAgent.product.CHROME)){ +return new cljs.core.Keyword(null,"chrome","chrome",1718738387); +} else { +if(cljs.core.truth_(goog.userAgent.product.FIREFOX)){ +return new cljs.core.Keyword(null,"firefox","firefox",1283768880); +} else { +if(cljs.core.truth_(goog.userAgent.product.IE)){ +return new cljs.core.Keyword(null,"ie","ie",2038473780); +} else { +return null; +} +} +} +} +} +}); +var base_path_26628 = figwheel.client.utils.base_url_path.call(null); +figwheel.client.eval_javascript_STAR__STAR_ = ((function (base_path_26628){ +return (function figwheel$client$eval_javascript_STAR__STAR_(code,opts,result_handler){ +try{var sb = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR_26626 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR_26627 = cljs.core._STAR_print_fn_STAR_; +cljs.core._STAR_print_newline_STAR_ = true; + +cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_26626,_STAR_print_fn_STAR_26627,sb,base_path_26628){ +return (function (x){ +return sb.append(x); +});})(_STAR_print_newline_STAR_26626,_STAR_print_fn_STAR_26627,sb,base_path_26628)) +; + +try{var result_value = figwheel.client.utils.eval_helper.call(null,code,opts); +var result_value__$1 = ((!(typeof result_value === 'string'))?cljs.core.pr_str.call(null,result_value):result_value); +return result_handler.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"success","success",1890645906),new cljs.core.Keyword(null,"out","out",-910545517),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join(''),new cljs.core.Keyword(null,"ua-product","ua-product",938384227),figwheel.client.get_ua_product.call(null),new cljs.core.Keyword(null,"value","value",305978217),result_value__$1], null)); +}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_26627; + +cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_26626; +}}catch (e26625){if((e26625 instanceof Error)){ +var e = e26625; +return result_handler.call(null,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"exception","exception",-335277064),new cljs.core.Keyword(null,"value","value",305978217),cljs.core.pr_str.call(null,e),new cljs.core.Keyword(null,"ua-product","ua-product",938384227),figwheel.client.get_ua_product.call(null),new cljs.core.Keyword(null,"stacktrace","stacktrace",-95588394),clojure.string.join.call(null,"\n",figwheel.client.truncate_stack_trace.call(null,e.stack)),new cljs.core.Keyword(null,"base-path","base-path",495760020),base_path_26628], null)); +} else { +var e = e26625; +return result_handler.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"exception","exception",-335277064),new cljs.core.Keyword(null,"ua-product","ua-product",938384227),figwheel.client.get_ua_product.call(null),new cljs.core.Keyword(null,"value","value",305978217),cljs.core.pr_str.call(null,e),new cljs.core.Keyword(null,"stacktrace","stacktrace",-95588394),"No stacktrace available."], null)); + +} +}});})(base_path_26628)) +; +/** + * The REPL can disconnect and reconnect lets ensure cljs.user exists at least. + */ +figwheel.client.ensure_cljs_user = (function figwheel$client$ensure_cljs_user(){ +if(cljs.core.truth_(cljs.user)){ +return null; +} else { +return cljs.user = ({}); +} +}); +figwheel.client.repl_plugin = (function figwheel$client$repl_plugin(p__26629){ +var map__26630 = p__26629; +var map__26630__$1 = ((((!((map__26630 == null)))?(((((map__26630.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26630.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26630):map__26630); +var opts = map__26630__$1; +var build_id = cljs.core.get.call(null,map__26630__$1,new cljs.core.Keyword(null,"build-id","build-id",1642831089)); +return ((function (map__26630,map__26630__$1,opts,build_id){ +return (function (p__26632){ +var vec__26633 = p__26632; +var seq__26634 = cljs.core.seq.call(null,vec__26633); +var first__26635 = cljs.core.first.call(null,seq__26634); +var seq__26634__$1 = cljs.core.next.call(null,seq__26634); +var map__26636 = first__26635; +var map__26636__$1 = ((((!((map__26636 == null)))?(((((map__26636.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26636.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26636):map__26636); +var msg = map__26636__$1; +var msg_name = cljs.core.get.call(null,map__26636__$1,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863)); +var _ = seq__26634__$1; +if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"repl-eval","repl-eval",-1784727398),msg_name)){ +figwheel.client.ensure_cljs_user.call(null); + +return figwheel.client.eval_javascript_STAR__STAR_.call(null,new cljs.core.Keyword(null,"code","code",1586293142).cljs$core$IFn$_invoke$arity$1(msg),opts,((function (vec__26633,seq__26634,first__26635,seq__26634__$1,map__26636,map__26636__$1,msg,msg_name,_,map__26630,map__26630__$1,opts,build_id){ +return (function (res){ +return figwheel.client.socket.send_BANG_.call(null,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"figwheel-event","figwheel-event",519570592),"callback",new cljs.core.Keyword(null,"callback-name","callback-name",336964714),new cljs.core.Keyword(null,"callback-name","callback-name",336964714).cljs$core$IFn$_invoke$arity$1(msg),new cljs.core.Keyword(null,"content","content",15833224),res], null)); +});})(vec__26633,seq__26634,first__26635,seq__26634__$1,map__26636,map__26636__$1,msg,msg_name,_,map__26630,map__26630__$1,opts,build_id)) +); +} else { +return null; +} +}); +;})(map__26630,map__26630__$1,opts,build_id)) +}); +figwheel.client.css_reloader_plugin = (function figwheel$client$css_reloader_plugin(opts){ +return (function (p__26638){ +var vec__26639 = p__26638; +var seq__26640 = cljs.core.seq.call(null,vec__26639); +var first__26641 = cljs.core.first.call(null,seq__26640); +var seq__26640__$1 = cljs.core.next.call(null,seq__26640); +var map__26642 = first__26641; +var map__26642__$1 = ((((!((map__26642 == null)))?(((((map__26642.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26642.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26642):map__26642); +var msg = map__26642__$1; +var msg_name = cljs.core.get.call(null,map__26642__$1,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863)); +var _ = seq__26640__$1; +if(cljs.core._EQ_.call(null,msg_name,new cljs.core.Keyword(null,"css-files-changed","css-files-changed",720773874))){ +return figwheel.client.file_reloading.reload_css_files.call(null,opts,msg); +} else { +return null; +} +}); +}); +figwheel.client.compile_fail_warning_plugin = (function figwheel$client$compile_fail_warning_plugin(p__26644){ +var map__26645 = p__26644; +var map__26645__$1 = ((((!((map__26645 == null)))?(((((map__26645.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26645.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26645):map__26645); +var on_compile_warning = cljs.core.get.call(null,map__26645__$1,new cljs.core.Keyword(null,"on-compile-warning","on-compile-warning",-1195585947)); +var on_compile_fail = cljs.core.get.call(null,map__26645__$1,new cljs.core.Keyword(null,"on-compile-fail","on-compile-fail",728013036)); +return ((function (map__26645,map__26645__$1,on_compile_warning,on_compile_fail){ +return (function (p__26647){ +var vec__26648 = p__26647; +var seq__26649 = cljs.core.seq.call(null,vec__26648); +var first__26650 = cljs.core.first.call(null,seq__26649); +var seq__26649__$1 = cljs.core.next.call(null,seq__26649); +var map__26651 = first__26650; +var map__26651__$1 = ((((!((map__26651 == null)))?(((((map__26651.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26651.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26651):map__26651); +var msg = map__26651__$1; +var msg_name = cljs.core.get.call(null,map__26651__$1,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863)); +var _ = seq__26649__$1; +var pred__26653 = cljs.core._EQ_; +var expr__26654 = msg_name; +if(cljs.core.truth_(pred__26653.call(null,new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356),expr__26654))){ +return on_compile_warning.call(null,msg); +} else { +if(cljs.core.truth_(pred__26653.call(null,new cljs.core.Keyword(null,"compile-failed","compile-failed",-477639289),expr__26654))){ +return on_compile_fail.call(null,msg); +} else { +return null; +} +} +}); +;})(map__26645,map__26645__$1,on_compile_warning,on_compile_fail)) +}); +figwheel.client.auto_jump_to_error = (function figwheel$client$auto_jump_to_error(opts,error){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"auto-jump-to-source-on-error","auto-jump-to-source-on-error",-960314920).cljs$core$IFn$_invoke$arity$1(opts))){ +return figwheel.client.heads_up.auto_notify_source_file_line.call(null,error); +} else { +return null; +} +}); +figwheel.client.heads_up_plugin_msg_handler = (function figwheel$client$heads_up_plugin_msg_handler(opts,msg_hist_SINGLEQUOTE_){ +var msg_hist = figwheel.client.focus_msgs.call(null,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"compile-failed","compile-failed",-477639289),null,new cljs.core.Keyword(null,"compile-warning","compile-warning",43425356),null,new cljs.core.Keyword(null,"files-changed","files-changed",-1418200563),null], null), null),msg_hist_SINGLEQUOTE_); +var msg_names = cljs.core.map.call(null,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863),msg_hist); +var msg = cljs.core.first.call(null,msg_hist); +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__,msg_hist,msg_names,msg){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__,msg_hist,msg_names,msg){ +return (function (state_26743){ +var state_val_26744 = (state_26743[(1)]); +if((state_val_26744 === (7))){ +var inst_26663 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26663)){ +var statearr_26745_26792 = state_26743__$1; +(statearr_26745_26792[(1)] = (8)); + +} else { +var statearr_26746_26793 = state_26743__$1; +(statearr_26746_26793[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (20))){ +var inst_26737 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26747_26794 = state_26743__$1; +(statearr_26747_26794[(2)] = inst_26737); + +(statearr_26747_26794[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (27))){ +var inst_26733 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26748_26795 = state_26743__$1; +(statearr_26748_26795[(2)] = inst_26733); + +(statearr_26748_26795[(1)] = (24)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (1))){ +var inst_26656 = figwheel.client.reload_file_state_QMARK_.call(null,msg_names,opts); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26656)){ +var statearr_26749_26796 = state_26743__$1; +(statearr_26749_26796[(1)] = (2)); + +} else { +var statearr_26750_26797 = state_26743__$1; +(statearr_26750_26797[(1)] = (3)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (24))){ +var inst_26735 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26751_26798 = state_26743__$1; +(statearr_26751_26798[(2)] = inst_26735); + +(statearr_26751_26798[(1)] = (20)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (4))){ +var inst_26741 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_26743__$1,inst_26741); +} else { +if((state_val_26744 === (15))){ +var inst_26739 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26752_26799 = state_26743__$1; +(statearr_26752_26799[(2)] = inst_26739); + +(statearr_26752_26799[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (21))){ +var inst_26692 = (state_26743[(2)]); +var inst_26693 = new cljs.core.Keyword(null,"exception-data","exception-data",-512474886).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26694 = figwheel.client.auto_jump_to_error.call(null,opts,inst_26693); +var state_26743__$1 = (function (){var statearr_26753 = state_26743; +(statearr_26753[(7)] = inst_26692); + +return statearr_26753; +})(); +var statearr_26754_26800 = state_26743__$1; +(statearr_26754_26800[(2)] = inst_26694); + +(statearr_26754_26800[(1)] = (20)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (31))){ +var inst_26722 = figwheel.client.css_loaded_state_QMARK_.call(null,msg_names); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26722)){ +var statearr_26755_26801 = state_26743__$1; +(statearr_26755_26801[(1)] = (34)); + +} else { +var statearr_26756_26802 = state_26743__$1; +(statearr_26756_26802[(1)] = (35)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (32))){ +var inst_26731 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26757_26803 = state_26743__$1; +(statearr_26757_26803[(2)] = inst_26731); + +(statearr_26757_26803[(1)] = (27)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (33))){ +var inst_26718 = (state_26743[(2)]); +var inst_26719 = new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26720 = figwheel.client.auto_jump_to_error.call(null,opts,inst_26719); +var state_26743__$1 = (function (){var statearr_26758 = state_26743; +(statearr_26758[(8)] = inst_26718); + +return statearr_26758; +})(); +var statearr_26759_26804 = state_26743__$1; +(statearr_26759_26804[(2)] = inst_26720); + +(statearr_26759_26804[(1)] = (32)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (13))){ +var inst_26677 = figwheel.client.heads_up.clear.call(null); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(16),inst_26677); +} else { +if((state_val_26744 === (22))){ +var inst_26698 = new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26699 = figwheel.client.heads_up.append_warning_message.call(null,inst_26698); +var state_26743__$1 = state_26743; +var statearr_26760_26805 = state_26743__$1; +(statearr_26760_26805[(2)] = inst_26699); + +(statearr_26760_26805[(1)] = (24)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (36))){ +var inst_26729 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26761_26806 = state_26743__$1; +(statearr_26761_26806[(2)] = inst_26729); + +(statearr_26761_26806[(1)] = (32)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (29))){ +var inst_26709 = (state_26743[(2)]); +var inst_26710 = new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26711 = figwheel.client.auto_jump_to_error.call(null,opts,inst_26710); +var state_26743__$1 = (function (){var statearr_26762 = state_26743; +(statearr_26762[(9)] = inst_26709); + +return statearr_26762; +})(); +var statearr_26763_26807 = state_26743__$1; +(statearr_26763_26807[(2)] = inst_26711); + +(statearr_26763_26807[(1)] = (27)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (6))){ +var inst_26658 = (state_26743[(10)]); +var state_26743__$1 = state_26743; +var statearr_26764_26808 = state_26743__$1; +(statearr_26764_26808[(2)] = inst_26658); + +(statearr_26764_26808[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (28))){ +var inst_26705 = (state_26743[(2)]); +var inst_26706 = new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26707 = figwheel.client.heads_up.display_warning.call(null,inst_26706); +var state_26743__$1 = (function (){var statearr_26765 = state_26743; +(statearr_26765[(11)] = inst_26705); + +return statearr_26765; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(29),inst_26707); +} else { +if((state_val_26744 === (25))){ +var inst_26703 = figwheel.client.heads_up.clear.call(null); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(28),inst_26703); +} else { +if((state_val_26744 === (34))){ +var inst_26724 = figwheel.client.heads_up.flash_loaded.call(null); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(37),inst_26724); +} else { +if((state_val_26744 === (17))){ +var inst_26683 = (state_26743[(2)]); +var inst_26684 = new cljs.core.Keyword(null,"exception-data","exception-data",-512474886).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26685 = figwheel.client.auto_jump_to_error.call(null,opts,inst_26684); +var state_26743__$1 = (function (){var statearr_26766 = state_26743; +(statearr_26766[(12)] = inst_26683); + +return statearr_26766; +})(); +var statearr_26767_26809 = state_26743__$1; +(statearr_26767_26809[(2)] = inst_26685); + +(statearr_26767_26809[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (3))){ +var inst_26675 = figwheel.client.compile_refail_state_QMARK_.call(null,msg_names); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26675)){ +var statearr_26768_26810 = state_26743__$1; +(statearr_26768_26810[(1)] = (13)); + +} else { +var statearr_26769_26811 = state_26743__$1; +(statearr_26769_26811[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (12))){ +var inst_26671 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26770_26812 = state_26743__$1; +(statearr_26770_26812[(2)] = inst_26671); + +(statearr_26770_26812[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (2))){ +var inst_26658 = (state_26743[(10)]); +var inst_26658__$1 = figwheel.client.autoload_QMARK_.call(null); +var state_26743__$1 = (function (){var statearr_26771 = state_26743; +(statearr_26771[(10)] = inst_26658__$1); + +return statearr_26771; +})(); +if(cljs.core.truth_(inst_26658__$1)){ +var statearr_26772_26813 = state_26743__$1; +(statearr_26772_26813[(1)] = (5)); + +} else { +var statearr_26773_26814 = state_26743__$1; +(statearr_26773_26814[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (23))){ +var inst_26701 = figwheel.client.rewarning_state_QMARK_.call(null,msg_names); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26701)){ +var statearr_26774_26815 = state_26743__$1; +(statearr_26774_26815[(1)] = (25)); + +} else { +var statearr_26775_26816 = state_26743__$1; +(statearr_26775_26816[(1)] = (26)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (35))){ +var state_26743__$1 = state_26743; +var statearr_26776_26817 = state_26743__$1; +(statearr_26776_26817[(2)] = null); + +(statearr_26776_26817[(1)] = (36)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (19))){ +var inst_26696 = figwheel.client.warning_append_state_QMARK_.call(null,msg_names); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26696)){ +var statearr_26777_26818 = state_26743__$1; +(statearr_26777_26818[(1)] = (22)); + +} else { +var statearr_26778_26819 = state_26743__$1; +(statearr_26778_26819[(1)] = (23)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (11))){ +var inst_26667 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26779_26820 = state_26743__$1; +(statearr_26779_26820[(2)] = inst_26667); + +(statearr_26779_26820[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (9))){ +var inst_26669 = figwheel.client.heads_up.clear.call(null); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(12),inst_26669); +} else { +if((state_val_26744 === (5))){ +var inst_26660 = new cljs.core.Keyword(null,"autoload","autoload",-354122500).cljs$core$IFn$_invoke$arity$1(opts); +var state_26743__$1 = state_26743; +var statearr_26780_26821 = state_26743__$1; +(statearr_26780_26821[(2)] = inst_26660); + +(statearr_26780_26821[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (14))){ +var inst_26687 = figwheel.client.compile_fail_state_QMARK_.call(null,msg_names); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26687)){ +var statearr_26781_26822 = state_26743__$1; +(statearr_26781_26822[(1)] = (18)); + +} else { +var statearr_26782_26823 = state_26743__$1; +(statearr_26782_26823[(1)] = (19)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (26))){ +var inst_26713 = figwheel.client.warning_state_QMARK_.call(null,msg_names); +var state_26743__$1 = state_26743; +if(cljs.core.truth_(inst_26713)){ +var statearr_26783_26824 = state_26743__$1; +(statearr_26783_26824[(1)] = (30)); + +} else { +var statearr_26784_26825 = state_26743__$1; +(statearr_26784_26825[(1)] = (31)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (16))){ +var inst_26679 = (state_26743[(2)]); +var inst_26680 = new cljs.core.Keyword(null,"exception-data","exception-data",-512474886).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26681 = figwheel.client.heads_up.display_exception.call(null,inst_26680); +var state_26743__$1 = (function (){var statearr_26785 = state_26743; +(statearr_26785[(13)] = inst_26679); + +return statearr_26785; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(17),inst_26681); +} else { +if((state_val_26744 === (30))){ +var inst_26715 = new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26716 = figwheel.client.heads_up.display_warning.call(null,inst_26715); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(33),inst_26716); +} else { +if((state_val_26744 === (10))){ +var inst_26673 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26786_26826 = state_26743__$1; +(statearr_26786_26826[(2)] = inst_26673); + +(statearr_26786_26826[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (18))){ +var inst_26689 = new cljs.core.Keyword(null,"exception-data","exception-data",-512474886).cljs$core$IFn$_invoke$arity$1(msg); +var inst_26690 = figwheel.client.heads_up.display_exception.call(null,inst_26689); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(21),inst_26690); +} else { +if((state_val_26744 === (37))){ +var inst_26726 = (state_26743[(2)]); +var state_26743__$1 = state_26743; +var statearr_26787_26827 = state_26743__$1; +(statearr_26787_26827[(2)] = inst_26726); + +(statearr_26787_26827[(1)] = (36)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26744 === (8))){ +var inst_26665 = figwheel.client.heads_up.flash_loaded.call(null); +var state_26743__$1 = state_26743; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26743__$1,(11),inst_26665); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__,msg_hist,msg_names,msg)) +; +return ((function (switch__20783__auto__,c__20872__auto__,msg_hist,msg_names,msg){ +return (function() { +var figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto__ = null; +var figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto____0 = (function (){ +var statearr_26788 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_26788[(0)] = figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto__); + +(statearr_26788[(1)] = (1)); + +return statearr_26788; +}); +var figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto____1 = (function (state_26743){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_26743); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e26789){if((e26789 instanceof Object)){ +var ex__20787__auto__ = e26789; +var statearr_26790_26828 = state_26743; +(statearr_26790_26828[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_26743); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e26789; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__26829 = state_26743; +state_26743 = G__26829; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto__ = function(state_26743){ +switch(arguments.length){ +case 0: +return figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto____1.call(this,state_26743); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto____0; +figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto____1; +return figwheel$client$heads_up_plugin_msg_handler_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__,msg_hist,msg_names,msg)) +})(); +var state__20874__auto__ = (function (){var statearr_26791 = f__20873__auto__.call(null); +(statearr_26791[(6)] = c__20872__auto__); + +return statearr_26791; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__,msg_hist,msg_names,msg)) +); + +return c__20872__auto__; +}); +figwheel.client.heads_up_plugin = (function figwheel$client$heads_up_plugin(opts){ +var ch = cljs.core.async.chan.call(null); +figwheel.client.heads_up_config_options_STAR__STAR_ = opts; + +var c__20872__auto___26858 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___26858,ch){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___26858,ch){ +return (function (state_26844){ +var state_val_26845 = (state_26844[(1)]); +if((state_val_26845 === (1))){ +var state_26844__$1 = state_26844; +var statearr_26846_26859 = state_26844__$1; +(statearr_26846_26859[(2)] = null); + +(statearr_26846_26859[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26845 === (2))){ +var state_26844__$1 = state_26844; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26844__$1,(4),ch); +} else { +if((state_val_26845 === (3))){ +var inst_26842 = (state_26844[(2)]); +var state_26844__$1 = state_26844; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_26844__$1,inst_26842); +} else { +if((state_val_26845 === (4))){ +var inst_26832 = (state_26844[(7)]); +var inst_26832__$1 = (state_26844[(2)]); +var state_26844__$1 = (function (){var statearr_26847 = state_26844; +(statearr_26847[(7)] = inst_26832__$1); + +return statearr_26847; +})(); +if(cljs.core.truth_(inst_26832__$1)){ +var statearr_26848_26860 = state_26844__$1; +(statearr_26848_26860[(1)] = (5)); + +} else { +var statearr_26849_26861 = state_26844__$1; +(statearr_26849_26861[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26845 === (5))){ +var inst_26832 = (state_26844[(7)]); +var inst_26834 = figwheel.client.heads_up_plugin_msg_handler.call(null,opts,inst_26832); +var state_26844__$1 = state_26844; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26844__$1,(8),inst_26834); +} else { +if((state_val_26845 === (6))){ +var state_26844__$1 = state_26844; +var statearr_26850_26862 = state_26844__$1; +(statearr_26850_26862[(2)] = null); + +(statearr_26850_26862[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26845 === (7))){ +var inst_26840 = (state_26844[(2)]); +var state_26844__$1 = state_26844; +var statearr_26851_26863 = state_26844__$1; +(statearr_26851_26863[(2)] = inst_26840); + +(statearr_26851_26863[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_26845 === (8))){ +var inst_26836 = (state_26844[(2)]); +var state_26844__$1 = (function (){var statearr_26852 = state_26844; +(statearr_26852[(8)] = inst_26836); + +return statearr_26852; +})(); +var statearr_26853_26864 = state_26844__$1; +(statearr_26853_26864[(2)] = null); + +(statearr_26853_26864[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +});})(c__20872__auto___26858,ch)) +; +return ((function (switch__20783__auto__,c__20872__auto___26858,ch){ +return (function() { +var figwheel$client$heads_up_plugin_$_state_machine__20784__auto__ = null; +var figwheel$client$heads_up_plugin_$_state_machine__20784__auto____0 = (function (){ +var statearr_26854 = [null,null,null,null,null,null,null,null,null]; +(statearr_26854[(0)] = figwheel$client$heads_up_plugin_$_state_machine__20784__auto__); + +(statearr_26854[(1)] = (1)); + +return statearr_26854; +}); +var figwheel$client$heads_up_plugin_$_state_machine__20784__auto____1 = (function (state_26844){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_26844); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e26855){if((e26855 instanceof Object)){ +var ex__20787__auto__ = e26855; +var statearr_26856_26865 = state_26844; +(statearr_26856_26865[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_26844); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e26855; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__26866 = state_26844; +state_26844 = G__26866; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$heads_up_plugin_$_state_machine__20784__auto__ = function(state_26844){ +switch(arguments.length){ +case 0: +return figwheel$client$heads_up_plugin_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$heads_up_plugin_$_state_machine__20784__auto____1.call(this,state_26844); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$heads_up_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$heads_up_plugin_$_state_machine__20784__auto____0; +figwheel$client$heads_up_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$heads_up_plugin_$_state_machine__20784__auto____1; +return figwheel$client$heads_up_plugin_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___26858,ch)) +})(); +var state__20874__auto__ = (function (){var statearr_26857 = f__20873__auto__.call(null); +(statearr_26857[(6)] = c__20872__auto___26858); + +return statearr_26857; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___26858,ch)) +); + + +figwheel.client.heads_up.ensure_container.call(null); + +return ((function (ch){ +return (function (msg_hist){ +cljs.core.async.put_BANG_.call(null,ch,msg_hist); + +return msg_hist; +}); +;})(ch)) +}); +figwheel.client.enforce_project_plugin = (function figwheel$client$enforce_project_plugin(opts){ +return (function (msg_hist){ +if(((1) < cljs.core.count.call(null,cljs.core.set.call(null,cljs.core.keep.call(null,new cljs.core.Keyword(null,"project-id","project-id",206449307),cljs.core.take.call(null,(5),msg_hist)))))){ +figwheel.client.socket.close_BANG_.call(null); + +console.error("Figwheel: message received from different project. Shutting socket down."); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"heads-up-display","heads-up-display",-896577202).cljs$core$IFn$_invoke$arity$1(opts))){ +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_26872){ +var state_val_26873 = (state_26872[(1)]); +if((state_val_26873 === (1))){ +var inst_26867 = cljs.core.async.timeout.call(null,(3000)); +var state_26872__$1 = state_26872; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26872__$1,(2),inst_26867); +} else { +if((state_val_26873 === (2))){ +var inst_26869 = (state_26872[(2)]); +var inst_26870 = figwheel.client.heads_up.display_system_warning.call(null,"Connection from different project","Shutting connection down!!!!!"); +var state_26872__$1 = (function (){var statearr_26874 = state_26872; +(statearr_26874[(7)] = inst_26869); + +return statearr_26874; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_26872__$1,inst_26870); +} else { +return null; +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var figwheel$client$enforce_project_plugin_$_state_machine__20784__auto__ = null; +var figwheel$client$enforce_project_plugin_$_state_machine__20784__auto____0 = (function (){ +var statearr_26875 = [null,null,null,null,null,null,null,null]; +(statearr_26875[(0)] = figwheel$client$enforce_project_plugin_$_state_machine__20784__auto__); + +(statearr_26875[(1)] = (1)); + +return statearr_26875; +}); +var figwheel$client$enforce_project_plugin_$_state_machine__20784__auto____1 = (function (state_26872){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_26872); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e26876){if((e26876 instanceof Object)){ +var ex__20787__auto__ = e26876; +var statearr_26877_26879 = state_26872; +(statearr_26877_26879[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_26872); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e26876; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__26880 = state_26872; +state_26872 = G__26880; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$enforce_project_plugin_$_state_machine__20784__auto__ = function(state_26872){ +switch(arguments.length){ +case 0: +return figwheel$client$enforce_project_plugin_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$enforce_project_plugin_$_state_machine__20784__auto____1.call(this,state_26872); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$enforce_project_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$enforce_project_plugin_$_state_machine__20784__auto____0; +figwheel$client$enforce_project_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$enforce_project_plugin_$_state_machine__20784__auto____1; +return figwheel$client$enforce_project_plugin_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_26878 = f__20873__auto__.call(null); +(statearr_26878[(6)] = c__20872__auto__); + +return statearr_26878; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__auto__; +} else { +return null; +} +} else { +return null; +} +}); +}); +figwheel.client.enforce_figwheel_version_plugin = (function figwheel$client$enforce_figwheel_version_plugin(opts){ +return (function (msg_hist){ +var temp__4657__auto__ = new cljs.core.Keyword(null,"figwheel-version","figwheel-version",1409553832).cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,msg_hist)); +if(cljs.core.truth_(temp__4657__auto__)){ +var figwheel_version = temp__4657__auto__; +if(cljs.core.not_EQ_.call(null,figwheel_version,figwheel.client._figwheel_version_)){ +figwheel.client.socket.close_BANG_.call(null); + +console.error("Figwheel: message received from different version of Figwheel."); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"heads-up-display","heads-up-display",-896577202).cljs$core$IFn$_invoke$arity$1(opts))){ +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__,figwheel_version,temp__4657__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__,figwheel_version,temp__4657__auto__){ +return (function (state_26887){ +var state_val_26888 = (state_26887[(1)]); +if((state_val_26888 === (1))){ +var inst_26881 = cljs.core.async.timeout.call(null,(2000)); +var state_26887__$1 = state_26887; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_26887__$1,(2),inst_26881); +} else { +if((state_val_26888 === (2))){ +var inst_26883 = (state_26887[(2)]); +var inst_26884 = ["Figwheel Client Version ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client._figwheel_version_)," is not equal to ","Figwheel Sidecar Version ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel_version),"",". Shutting down Websocket Connection!","

To fix try:

","
  1. Reload this page and make sure you are not getting a cached version of the client.
  2. ","
  3. You may have to clean (delete compiled assets) and rebuild to make sure that the new client code is being used.
  4. ","
  5. Also, make sure you have consistent Figwheel dependencies.
"].join(''); +var inst_26885 = figwheel.client.heads_up.display_system_warning.call(null,"Figwheel Client and Server have different versions!!",inst_26884); +var state_26887__$1 = (function (){var statearr_26889 = state_26887; +(statearr_26889[(7)] = inst_26883); + +return statearr_26889; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_26887__$1,inst_26885); +} else { +return null; +} +} +});})(c__20872__auto__,figwheel_version,temp__4657__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__,figwheel_version,temp__4657__auto__){ +return (function() { +var figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto__ = null; +var figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto____0 = (function (){ +var statearr_26890 = [null,null,null,null,null,null,null,null]; +(statearr_26890[(0)] = figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto__); + +(statearr_26890[(1)] = (1)); + +return statearr_26890; +}); +var figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto____1 = (function (state_26887){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_26887); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e26891){if((e26891 instanceof Object)){ +var ex__20787__auto__ = e26891; +var statearr_26892_26894 = state_26887; +(statearr_26892_26894[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_26887); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e26891; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__26895 = state_26887; +state_26887 = G__26895; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto__ = function(state_26887){ +switch(arguments.length){ +case 0: +return figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto____1.call(this,state_26887); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto____0; +figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto____1; +return figwheel$client$enforce_figwheel_version_plugin_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__,figwheel_version,temp__4657__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_26893 = f__20873__auto__.call(null); +(statearr_26893[(6)] = c__20872__auto__); + +return statearr_26893; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__,figwheel_version,temp__4657__auto__)) +); + +return c__20872__auto__; +} else { +return null; +} +} else { +return null; +} +} else { +return null; +} +}); +}); +figwheel.client.default_on_jsload = cljs.core.identity; +figwheel.client.file_line_column = (function figwheel$client$file_line_column(p__26896){ +var map__26897 = p__26896; +var map__26897__$1 = ((((!((map__26897 == null)))?(((((map__26897.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26897.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26897):map__26897); +var file = cljs.core.get.call(null,map__26897__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__26897__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__26897__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var G__26899 = ""; +var G__26899__$1 = (cljs.core.truth_(file)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26899),"file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''):G__26899); +var G__26899__$2 = (cljs.core.truth_(line)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26899__$1)," at line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)].join(''):G__26899__$1); +if(cljs.core.truth_((function (){var and__3911__auto__ = line; +if(cljs.core.truth_(and__3911__auto__)){ +return column; +} else { +return and__3911__auto__; +} +})())){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26899__$2),", column ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(column)].join(''); +} else { +return G__26899__$2; +} +}); +figwheel.client.default_on_compile_fail = (function figwheel$client$default_on_compile_fail(p__26900){ +var map__26901 = p__26900; +var map__26901__$1 = ((((!((map__26901 == null)))?(((((map__26901.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26901.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26901):map__26901); +var ed = map__26901__$1; +var exception_data = cljs.core.get.call(null,map__26901__$1,new cljs.core.Keyword(null,"exception-data","exception-data",-512474886)); +var cause = cljs.core.get.call(null,map__26901__$1,new cljs.core.Keyword(null,"cause","cause",231901252)); +var message_26904 = (function (){var G__26903 = cljs.core.apply.call(null,cljs.core.str,"Figwheel: Compile Exception ",figwheel.client.format_messages.call(null,exception_data)); +if(cljs.core.truth_(new cljs.core.Keyword(null,"file","file",-1269645878).cljs$core$IFn$_invoke$arity$1(exception_data))){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__26903)," Error on ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.file_line_column.call(null,exception_data))].join(''); +} else { +return G__26903; +} +})(); +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"warn","warn",-436710552),message_26904); + +return ed; +}); +figwheel.client.default_on_compile_warning = (function figwheel$client$default_on_compile_warning(p__26905){ +var map__26906 = p__26905; +var map__26906__$1 = ((((!((map__26906 == null)))?(((((map__26906.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26906.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26906):map__26906); +var w = map__26906__$1; +var message = cljs.core.get.call(null,map__26906__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"warn","warn",-436710552),["Figwheel: Compile Warning - ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(message))," in ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.file_line_column.call(null,message))].join('')); + +return w; +}); +figwheel.client.default_before_load = (function figwheel$client$default_before_load(files){ +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: notified of file changes"); + +return files; +}); +figwheel.client.default_on_cssload = (function figwheel$client$default_on_cssload(files){ +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: loaded CSS files"); + +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"info","info",-317069002),cljs.core.pr_str.call(null,cljs.core.map.call(null,new cljs.core.Keyword(null,"file","file",-1269645878),files))); + +return files; +}); +if(typeof figwheel.client.config_defaults !== 'undefined'){ +} else { +figwheel.client.config_defaults = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"on-compile-warning","on-compile-warning",-1195585947),new cljs.core.Keyword(null,"on-jsload","on-jsload",-395756602),new cljs.core.Keyword(null,"reload-dependents","reload-dependents",-956865430),new cljs.core.Keyword(null,"on-compile-fail","on-compile-fail",728013036),new cljs.core.Keyword(null,"debug","debug",-1608172596),new cljs.core.Keyword(null,"heads-up-display","heads-up-display",-896577202),new cljs.core.Keyword(null,"websocket-url","websocket-url",-490444938),new cljs.core.Keyword(null,"auto-jump-to-source-on-error","auto-jump-to-source-on-error",-960314920),new cljs.core.Keyword(null,"before-jsload","before-jsload",-847513128),new cljs.core.Keyword(null,"load-warninged-code","load-warninged-code",-2030345223),new cljs.core.Keyword(null,"eval-fn","eval-fn",-1111644294),new cljs.core.Keyword(null,"retry-count","retry-count",1936122875),new cljs.core.Keyword(null,"autoload","autoload",-354122500),new cljs.core.Keyword(null,"on-cssload","on-cssload",1825432318)],[new cljs.core.Var(function(){return figwheel.client.default_on_compile_warning;},new cljs.core.Symbol("figwheel.client","default-on-compile-warning","figwheel.client/default-on-compile-warning",584144208,null),cljs.core.PersistentHashMap.fromArrays([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)],[new cljs.core.Symbol(null,"figwheel.client","figwheel.client",-538710252,null),new cljs.core.Symbol(null,"default-on-compile-warning","default-on-compile-warning",-18911586,null),"resources/public/js/out/figwheel/client.cljs",33,1,362,362,cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"message","message",1234475525,null)], null),new cljs.core.Keyword(null,"as","as",1148689641),new cljs.core.Symbol(null,"w","w",1994700528,null)], null)], null)),null,(cljs.core.truth_(figwheel.client.default_on_compile_warning)?figwheel.client.default_on_compile_warning.cljs$lang$test:null)])),figwheel.client.default_on_jsload,true,new cljs.core.Var(function(){return figwheel.client.default_on_compile_fail;},new cljs.core.Symbol("figwheel.client","default-on-compile-fail","figwheel.client/default-on-compile-fail",1384826337,null),cljs.core.PersistentHashMap.fromArrays([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)],[new cljs.core.Symbol(null,"figwheel.client","figwheel.client",-538710252,null),new cljs.core.Symbol(null,"default-on-compile-fail","default-on-compile-fail",-158814813,null),"resources/public/js/out/figwheel/client.cljs",30,1,355,355,cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"exception-data","exception-data",1128056641,null),new cljs.core.Symbol(null,"cause","cause",1872432779,null)], null),new cljs.core.Keyword(null,"as","as",1148689641),new cljs.core.Symbol(null,"ed","ed",2076825751,null)], null)], null)),null,(cljs.core.truth_(figwheel.client.default_on_compile_fail)?figwheel.client.default_on_compile_fail.cljs$lang$test:null)])),false,true,["ws://",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(figwheel.client.utils.html_env_QMARK_.call(null))?location.host:"localhost:3449")),"/figwheel-ws"].join(''),false,figwheel.client.default_before_load,false,false,(100),true,figwheel.client.default_on_cssload]); +} +figwheel.client.handle_deprecated_jsload_callback = (function figwheel$client$handle_deprecated_jsload_callback(config){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"jsload-callback","jsload-callback",-1949628369).cljs$core$IFn$_invoke$arity$1(config))){ +return cljs.core.dissoc.call(null,cljs.core.assoc.call(null,config,new cljs.core.Keyword(null,"on-jsload","on-jsload",-395756602),new cljs.core.Keyword(null,"jsload-callback","jsload-callback",-1949628369).cljs$core$IFn$_invoke$arity$1(config)),new cljs.core.Keyword(null,"jsload-callback","jsload-callback",-1949628369)); +} else { +return config; +} +}); +figwheel.client.fill_url_template = (function figwheel$client$fill_url_template(config){ +if(cljs.core.truth_(figwheel.client.utils.html_env_QMARK_.call(null))){ +return cljs.core.update_in.call(null,config,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"websocket-url","websocket-url",-490444938)], null),(function (x){ +return clojure.string.replace.call(null,clojure.string.replace.call(null,x,"[[client-hostname]]",location.hostname),"[[client-port]]",location.port); +})); +} else { +return config; +} +}); +figwheel.client.base_plugins = (function figwheel$client$base_plugins(system_options){ +var base = new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"enforce-project-plugin","enforce-project-plugin",959402899),figwheel.client.enforce_project_plugin,new cljs.core.Keyword(null,"enforce-figwheel-version-plugin","enforce-figwheel-version-plugin",-1916185220),figwheel.client.enforce_figwheel_version_plugin,new cljs.core.Keyword(null,"file-reloader-plugin","file-reloader-plugin",-1792964733),figwheel.client.file_reloader_plugin,new cljs.core.Keyword(null,"comp-fail-warning-plugin","comp-fail-warning-plugin",634311),figwheel.client.compile_fail_warning_plugin,new cljs.core.Keyword(null,"css-reloader-plugin","css-reloader-plugin",2002032904),figwheel.client.css_reloader_plugin,new cljs.core.Keyword(null,"repl-plugin","repl-plugin",-1138952371),figwheel.client.repl_plugin], null); +var base__$1 = ((cljs.core.not.call(null,figwheel.client.utils.html_env_QMARK_.call(null)))?cljs.core.select_keys.call(null,base,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"file-reloader-plugin","file-reloader-plugin",-1792964733),new cljs.core.Keyword(null,"comp-fail-warning-plugin","comp-fail-warning-plugin",634311),new cljs.core.Keyword(null,"repl-plugin","repl-plugin",-1138952371)], null)):base); +var base__$2 = ((new cljs.core.Keyword(null,"autoload","autoload",-354122500).cljs$core$IFn$_invoke$arity$1(system_options) === false)?cljs.core.dissoc.call(null,base__$1,new cljs.core.Keyword(null,"file-reloader-plugin","file-reloader-plugin",-1792964733)):base__$1); +if(cljs.core.truth_((function (){var and__3911__auto__ = new cljs.core.Keyword(null,"heads-up-display","heads-up-display",-896577202).cljs$core$IFn$_invoke$arity$1(system_options); +if(cljs.core.truth_(and__3911__auto__)){ +return figwheel.client.utils.html_env_QMARK_.call(null); +} else { +return and__3911__auto__; +} +})())){ +return cljs.core.assoc.call(null,base__$2,new cljs.core.Keyword(null,"heads-up-display-plugin","heads-up-display-plugin",1745207501),figwheel.client.heads_up_plugin); +} else { +return base__$2; +} +}); +figwheel.client.add_message_watch = (function figwheel$client$add_message_watch(key,callback){ +return cljs.core.add_watch.call(null,figwheel.client.socket.message_history_atom,key,(function (_,___$1,___$2,msg_hist){ +return callback.call(null,cljs.core.first.call(null,msg_hist)); +})); +}); +figwheel.client.add_json_message_watch = (function figwheel$client$add_json_message_watch(key,callback){ +return figwheel.client.add_message_watch.call(null,key,cljs.core.comp.call(null,callback,cljs.core.clj__GT_js)); +}); +goog.exportSymbol('figwheel.client.add_json_message_watch', figwheel.client.add_json_message_watch); +figwheel.client.add_plugins = (function figwheel$client$add_plugins(plugins,system_options){ +var seq__26908 = cljs.core.seq.call(null,plugins); +var chunk__26909 = null; +var count__26910 = (0); +var i__26911 = (0); +while(true){ +if((i__26911 < count__26910)){ +var vec__26912 = cljs.core._nth.call(null,chunk__26909,i__26911); +var k = cljs.core.nth.call(null,vec__26912,(0),null); +var plugin = cljs.core.nth.call(null,vec__26912,(1),null); +if(cljs.core.truth_(plugin)){ +var pl_26918 = plugin.call(null,system_options); +cljs.core.add_watch.call(null,figwheel.client.socket.message_history_atom,k,((function (seq__26908,chunk__26909,count__26910,i__26911,pl_26918,vec__26912,k,plugin){ +return (function (_,___$1,___$2,msg_hist){ +return pl_26918.call(null,msg_hist); +});})(seq__26908,chunk__26909,count__26910,i__26911,pl_26918,vec__26912,k,plugin)) +); +} else { +} + + +var G__26919 = seq__26908; +var G__26920 = chunk__26909; +var G__26921 = count__26910; +var G__26922 = (i__26911 + (1)); +seq__26908 = G__26919; +chunk__26909 = G__26920; +count__26910 = G__26921; +i__26911 = G__26922; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq.call(null,seq__26908); +if(temp__4657__auto__){ +var seq__26908__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__26908__$1)){ +var c__4319__auto__ = cljs.core.chunk_first.call(null,seq__26908__$1); +var G__26923 = cljs.core.chunk_rest.call(null,seq__26908__$1); +var G__26924 = c__4319__auto__; +var G__26925 = cljs.core.count.call(null,c__4319__auto__); +var G__26926 = (0); +seq__26908 = G__26923; +chunk__26909 = G__26924; +count__26910 = G__26925; +i__26911 = G__26926; +continue; +} else { +var vec__26915 = cljs.core.first.call(null,seq__26908__$1); +var k = cljs.core.nth.call(null,vec__26915,(0),null); +var plugin = cljs.core.nth.call(null,vec__26915,(1),null); +if(cljs.core.truth_(plugin)){ +var pl_26927 = plugin.call(null,system_options); +cljs.core.add_watch.call(null,figwheel.client.socket.message_history_atom,k,((function (seq__26908,chunk__26909,count__26910,i__26911,pl_26927,vec__26915,k,plugin,seq__26908__$1,temp__4657__auto__){ +return (function (_,___$1,___$2,msg_hist){ +return pl_26927.call(null,msg_hist); +});})(seq__26908,chunk__26909,count__26910,i__26911,pl_26927,vec__26915,k,plugin,seq__26908__$1,temp__4657__auto__)) +); +} else { +} + + +var G__26928 = cljs.core.next.call(null,seq__26908__$1); +var G__26929 = null; +var G__26930 = (0); +var G__26931 = (0); +seq__26908 = G__26928; +chunk__26909 = G__26929; +count__26910 = G__26930; +i__26911 = G__26931; +continue; +} +} else { +return null; +} +} +break; +} +}); +figwheel.client.start = (function figwheel$client$start(var_args){ +var G__26933 = arguments.length; +switch (G__26933) { +case 1: +return figwheel.client.start.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 0: +return figwheel.client.start.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +figwheel.client.start.cljs$core$IFn$_invoke$arity$1 = (function (opts){ +if((goog.dependencies_ == null)){ +return null; +} else { +if(typeof figwheel.client.__figwheel_start_once__ !== 'undefined'){ +return null; +} else { +return ( +figwheel.client.__figwheel_start_once__ = setTimeout((function (){ +var plugins_SINGLEQUOTE_ = new cljs.core.Keyword(null,"plugins","plugins",1900073717).cljs$core$IFn$_invoke$arity$1(opts); +var merge_plugins = new cljs.core.Keyword(null,"merge-plugins","merge-plugins",-1193912370).cljs$core$IFn$_invoke$arity$1(opts); +var system_options = figwheel.client.fill_url_template.call(null,figwheel.client.handle_deprecated_jsload_callback.call(null,cljs.core.merge.call(null,figwheel.client.config_defaults,cljs.core.dissoc.call(null,opts,new cljs.core.Keyword(null,"plugins","plugins",1900073717),new cljs.core.Keyword(null,"merge-plugins","merge-plugins",-1193912370))))); +var plugins = (cljs.core.truth_(plugins_SINGLEQUOTE_)?plugins_SINGLEQUOTE_:cljs.core.merge.call(null,figwheel.client.base_plugins.call(null,system_options),merge_plugins)); +figwheel.client.utils._STAR_print_debug_STAR_ = new cljs.core.Keyword(null,"debug","debug",-1608172596).cljs$core$IFn$_invoke$arity$1(opts); + +figwheel.client.enable_repl_print_BANG_.call(null); + +figwheel.client.add_plugins.call(null,plugins,system_options); + +figwheel.client.file_reloading.patch_goog_base.call(null); + +var seq__26934_26939 = cljs.core.seq.call(null,new cljs.core.Keyword(null,"initial-messages","initial-messages",2057377771).cljs$core$IFn$_invoke$arity$1(system_options)); +var chunk__26935_26940 = null; +var count__26936_26941 = (0); +var i__26937_26942 = (0); +while(true){ +if((i__26937_26942 < count__26936_26941)){ +var msg_26943 = cljs.core._nth.call(null,chunk__26935_26940,i__26937_26942); +figwheel.client.socket.handle_incoming_message.call(null,msg_26943); + + +var G__26944 = seq__26934_26939; +var G__26945 = chunk__26935_26940; +var G__26946 = count__26936_26941; +var G__26947 = (i__26937_26942 + (1)); +seq__26934_26939 = G__26944; +chunk__26935_26940 = G__26945; +count__26936_26941 = G__26946; +i__26937_26942 = G__26947; +continue; +} else { +var temp__4657__auto___26948 = cljs.core.seq.call(null,seq__26934_26939); +if(temp__4657__auto___26948){ +var seq__26934_26949__$1 = temp__4657__auto___26948; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__26934_26949__$1)){ +var c__4319__auto___26950 = cljs.core.chunk_first.call(null,seq__26934_26949__$1); +var G__26951 = cljs.core.chunk_rest.call(null,seq__26934_26949__$1); +var G__26952 = c__4319__auto___26950; +var G__26953 = cljs.core.count.call(null,c__4319__auto___26950); +var G__26954 = (0); +seq__26934_26939 = G__26951; +chunk__26935_26940 = G__26952; +count__26936_26941 = G__26953; +i__26937_26942 = G__26954; +continue; +} else { +var msg_26955 = cljs.core.first.call(null,seq__26934_26949__$1); +figwheel.client.socket.handle_incoming_message.call(null,msg_26955); + + +var G__26956 = cljs.core.next.call(null,seq__26934_26949__$1); +var G__26957 = null; +var G__26958 = (0); +var G__26959 = (0); +seq__26934_26939 = G__26956; +chunk__26935_26940 = G__26957; +count__26936_26941 = G__26958; +i__26937_26942 = G__26959; +continue; +} +} else { +} +} +break; +} + +return figwheel.client.socket.open.call(null,system_options); +}))) +; +} +} +}); + +figwheel.client.start.cljs$core$IFn$_invoke$arity$0 = (function (){ +return figwheel.client.start.call(null,cljs.core.PersistentArrayMap.EMPTY); +}); + +figwheel.client.start.cljs$lang$maxFixedArity = 1; + +figwheel.client.watch_and_reload_with_opts = figwheel.client.start; +figwheel.client.watch_and_reload = (function figwheel$client$watch_and_reload(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___26964 = arguments.length; +var i__4500__auto___26965 = (0); +while(true){ +if((i__4500__auto___26965 < len__4499__auto___26964)){ +args__4502__auto__.push((arguments[i__4500__auto___26965])); + +var G__26966 = (i__4500__auto___26965 + (1)); +i__4500__auto___26965 = G__26966; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((0) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((0)),(0),null)):null); +return figwheel.client.watch_and_reload.cljs$core$IFn$_invoke$arity$variadic(argseq__4503__auto__); +}); + +figwheel.client.watch_and_reload.cljs$core$IFn$_invoke$arity$variadic = (function (p__26961){ +var map__26962 = p__26961; +var map__26962__$1 = ((((!((map__26962 == null)))?(((((map__26962.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26962.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26962):map__26962); +var opts = map__26962__$1; +return figwheel.client.start.call(null,opts); +}); + +figwheel.client.watch_and_reload.cljs$lang$maxFixedArity = (0); + +/** @this {Function} */ +figwheel.client.watch_and_reload.cljs$lang$applyTo = (function (seq26960){ +var self__4487__auto__ = this; +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq26960)); +}); + +figwheel.client.fetch_data_from_env = (function figwheel$client$fetch_data_from_env(){ +try{return cljs.reader.read_string.call(null,goog.object.get(window,"FIGWHEEL_CLIENT_CONFIGURATION")); +}catch (e26967){if((e26967 instanceof Error)){ +var e = e26967; +cljs.core._STAR_print_err_fn_STAR_.call(null,"Unable to load FIGWHEEL_CLIENT_CONFIGURATION from the environment"); + +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"autoload","autoload",-354122500),false], null); +} else { +throw e26967; + +} +}}); +figwheel.client.console_intro_message = "Figwheel has compiled a temporary helper application to your :output-file.\n\nThe code currently in your configured output file does not\nrepresent the code that you are trying to compile.\n\nThis temporary application is intended to help you continue to get\nfeedback from Figwheel until the build you are working on compiles\ncorrectly.\n\nWhen your ClojureScript source code compiles correctly this helper\napplication will auto-reload and pick up your freshly compiled\nClojureScript program."; +figwheel.client.bad_compile_helper_app = (function figwheel$client$bad_compile_helper_app(){ +cljs.core.enable_console_print_BANG_.call(null); + +var config = figwheel.client.fetch_data_from_env.call(null); +cljs.core.println.call(null,figwheel.client.console_intro_message); + +figwheel.client.heads_up.bad_compile_screen.call(null); + +if(cljs.core.truth_(goog.dependencies_)){ +} else { +goog.dependencies_ = true; +} + +figwheel.client.start.call(null,config); + +return figwheel.client.add_message_watch.call(null,new cljs.core.Keyword(null,"listen-for-successful-compile","listen-for-successful-compile",-995277603),((function (config){ +return (function (p__26968){ +var map__26969 = p__26968; +var map__26969__$1 = ((((!((map__26969 == null)))?(((((map__26969.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__26969.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__26969):map__26969); +var msg_name = cljs.core.get.call(null,map__26969__$1,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863)); +if(cljs.core._EQ_.call(null,msg_name,new cljs.core.Keyword(null,"files-changed","files-changed",-1418200563))){ +return location.href = location.href; +} else { +return null; +} +});})(config)) +); +}); + +//# sourceMappingURL=client.js.map?rel=1628501146684 diff --git a/examples/resources/public/js/out/figwheel/client.js.map b/examples/resources/public/js/out/figwheel/client.js.map new file mode 100644 index 0000000..f455de6 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/figwheel\/client.js","sources":["client.cljs?rel=1628501146692"],"lineCount":2081,"mappings":";AAAA;;;;;;;;;;;;;AAiBA,qCAAA,rCAAKA;AAEL,AAAKC,+BACH,EAAI,EAAK,OAASC,0BAAS,EAAA,mBAAA,lBAAOC,4BAChC,WAAKC;AAAL,AAAQ,QAAA,mDAAY,iBAAA,KAAA,tBAACD,eAAkBC;GACvC,WAAKA;AAAL,AAAQ,IAAA,AAAK,oDAAKA;gBAAV,GAAA,CAAAC,kBAAoBC;AAApB,QAAAD,JAA6BE;AAA7B,AAAA;;AAAA,AAAA,MAAAF;;;;AAEZ,AAAA,sCAAA,8CAAAG,pFAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,kEAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,kEAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAJ,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,AAAA,oEAAA,pEAAMI,+EACFC,OAAOC;AADX,AAEG,4CAAA,2CAAA,wEAAA,WAAA,sEAAA,sBAAA,yDAAA,2CAAA,gEAAA,1aAACC,maAEgCF,4DAER,yBAAA,WAAAG,pCAACC;AAAD,AACE,GAAI,OAAAD;AAAJA;;AAAkB,8CAAAA,vCAACb;;GACpBW;;AAR7B;;;AAAA,AAAA,oEAAA,pEAAMF,+EAUFE;AAVJ,AAWG,qDAAA,9CAACF,iGAAyBE;;;AAX7B,AAAA,8DAAA,9DAAMF;;AAAN,AAaA,oCAAA,pCAAMM,gFAAmBJ;AAAzB,AACE,OAAQ,AAAOK,kBAAYA,QAAW,AAACC,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A,iDAAA,WAAA,CAAApb,gCAAA,AAAAob,+BAAA,KAAA,OAAA,QAAA,AAAAnb,0BAAAC,mBAAAkb,YAAAA;eAAA,AAAAjb,wBAAAib,eAAA,lDAAala;AAAb,AACE,GAAM,kCAAA,lCAACO,yBAAEP;AAAT,AACE,OAAMma,gBAAiBA;;AADzB","names":["figwheel.client\/_figwheel-version_","figwheel.client\/js-stringify","js\/JSON","js\/JSON.stringify","x","e26510","js\/Error","e","var_args","G__26513","figwheel.client\/figwheel-repl-print","stream","args","figwheel.client.socket\/send!","p1__26511#","cljs.core\/mapv","figwheel.client\/console-out-print","js\/console","cljs.core\/into-array","figwheel.client\/console-err-print","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","figwheel.client\/repl-out-print-fn","seq26515","self__4487__auto__","cljs.core\/seq","figwheel.client\/repl-err-print-fn","seq26519","figwheel.client\/enable-repl-print!","cljs.core\/*print-newline*","cljs.core\/set-print-fn!","cljs.core\/set-print-err-fn!","figwheel.client\/autoload?","figwheel.client.utils\/persistent-config-get","figwheel.client\/toggle-autoload","res","figwheel.client.utils\/persistent-config-set!","cljs.core\/not","figwheel.client.utils\/log","figwheel.client\/set-autoload","b","figwheel.client\/repl-pprint","figwheel.client\/set-repl-pprint","figwheel.client\/repl-result-pr-str","v","figwheel.client.utils\/pprint-to-string","cljs.core\/pr-str","figwheel.client\/get-essential-messages","ed","cljs.core\/cons","cljs.core\/select-keys","p__26523","map__26524","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","figwheel.client\/error-msg-format","message","class","figwheel.client\/format-messages","cljs.core\/comp","cljs.core\/partial","cljs.core\/map","figwheel.client\/focus-msgs","name-set","msg-hist","cljs.core\/first","cljs.core\/filter","cljs.core\/rest","figwheel.client\/reload-file?*","msg-name","opts","or__3922__auto__","cljs.core\/not=","figwheel.client\/reload-file-state?","msg-names","and__3911__auto__","cljs.core\/=","cljs.core\/second","figwheel.client\/block-reload-file-state?","figwheel.client\/warning-append-state?","cljs.core\/take","figwheel.client\/warning-state?","figwheel.client\/rewarning-state?","figwheel.client\/compile-fail-state?","figwheel.client\/compile-refail-state?","figwheel.client\/css-loaded-state?","figwheel.client\/file-reloader-plugin","ch","cljs.core.async\/chan","c__20872__auto__","cljs.core.async.impl.dispatch\/run","f__20873__auto__","switch__20783__auto__","state_26575","state_val_26576","inst_26571","statearr-26577","statearr-26578","inst_26528","statearr-26579","statearr-26580","statearr-26581","inst_26535","inst_26550","inst_26551","inst_26552","inst_26553","inst_26554","statearr-26582","inst_26559","statearr-26583","statearr-26584","inst_26557","statearr-26585","inst_26573","cljs.core.async.impl.ioc-helpers\/return-chan","inst_26534","inst_26548","statearr-26586","statearr-26587","cljs.core.async.impl.ioc-helpers\/take!","inst_26540","cljs.core\/PersistentVector","inst_26541","inst_26542","inst_26543","inst_26544","cljs.core.async\/ioc-alts!","inst_26561","inst_26562","inst_26563","inst_26564","inst_26565","statearr-26588","statearr-26589","inst_26530","inst_26531","cljs.core\/PersistentArrayMap","inst_26532","cljs.core\/PersistentHashSet","inst_26533","inst_26536","statearr-26590","statearr-26591","statearr-26592","inst_26546","statearr-26593","statearr-26594","inst_26567","statearr-26595","statearr-26596","inst_26538","statearr-26597","statearr-26598","statearr-26599","state-machine__20784__auto__","ret-value__20785__auto__","result__20786__auto__","cljs.core\/keyword-identical?","e26600","js\/Object","ex__20787__auto__","statearr-26601","cljs.core.async.impl.ioc-helpers\/process-exception","state__20874__auto__","statearr-26602","cljs.core.async.impl.ioc-helpers\/USER-START-IDX","cljs.core.async.impl.ioc-helpers\/run-state-machine-wrapped","figwheel.client.file-reloading\/reload-js-files","cljs.core.async\/timeout","cljs.core.async\/put!","figwheel.client\/truncate-stack-trace","stack-str","p1__26624#","cljs.core\/take-while","cljs.core\/re-matches","clojure.string\/split-lines","figwheel.client\/get-ua-product","figwheel.client.utils\/node-env?","goog.userAgent.product\/SAFARI","goog.userAgent.product\/CHROME","goog.userAgent.product\/FIREFOX","goog.userAgent.product\/IE","base-path","figwheel.client.utils\/base-url-path","figwheel.client\/eval-javascript**","code","result-handler","e26625","sb","js\/goog.string.StringBuffer","*print-newline*26626","*print-fn*26627","cljs.core\/*print-fn*","result-value","figwheel.client.utils\/eval-helper","clojure.string\/join","figwheel.client\/ensure-cljs-user","js\/cljs.user","p__26629","map__26630","figwheel.client\/repl-plugin","build-id","p__26632","vec__26633","seq__26634","first__26635","cljs.core\/next","map__26636","msg","_","figwheel.client\/css-reloader-plugin","p__26638","vec__26639","seq__26640","first__26641","map__26642","figwheel.client.file-reloading\/reload-css-files","p__26644","map__26645","figwheel.client\/compile-fail-warning-plugin","on-compile-warning","on-compile-fail","p__26647","vec__26648","seq__26649","first__26650","map__26651","pred__26653","expr__26654","figwheel.client\/auto-jump-to-error","error","figwheel.client.heads-up\/auto-notify-source-file-line","figwheel.client\/heads-up-plugin-msg-handler","msg-hist'","state_26743","state_val_26744","inst_26663","statearr-26745","statearr-26746","inst_26737","statearr-26747","inst_26733","statearr-26748","inst_26656","statearr-26749","statearr-26750","inst_26735","statearr-26751","inst_26741","inst_26739","statearr-26752","inst_26692","inst_26693","inst_26694","statearr-26753","statearr-26754","inst_26722","statearr-26755","statearr-26756","inst_26731","statearr-26757","inst_26718","inst_26719","inst_26720","statearr-26758","statearr-26759","inst_26677","inst_26698","inst_26699","statearr-26760","inst_26729","statearr-26761","inst_26709","inst_26710","inst_26711","statearr-26762","statearr-26763","inst_26658","statearr-26764","inst_26705","inst_26706","inst_26707","statearr-26765","inst_26703","inst_26724","inst_26683","inst_26684","inst_26685","statearr-26766","statearr-26767","inst_26675","statearr-26768","statearr-26769","inst_26671","statearr-26770","statearr-26771","statearr-26772","statearr-26773","inst_26701","statearr-26774","statearr-26775","statearr-26776","inst_26696","statearr-26777","statearr-26778","inst_26667","statearr-26779","inst_26669","inst_26660","statearr-26780","inst_26687","statearr-26781","statearr-26782","inst_26713","statearr-26783","statearr-26784","inst_26679","inst_26680","inst_26681","statearr-26785","inst_26715","inst_26716","inst_26673","statearr-26786","inst_26689","inst_26690","inst_26726","statearr-26787","inst_26665","statearr-26788","e26789","statearr-26790","statearr-26791","figwheel.client.heads-up\/flash-loaded","figwheel.client.heads-up\/clear","figwheel.client.heads-up\/display-exception","figwheel.client.heads-up\/append-warning-message","figwheel.client.heads-up\/display-warning","figwheel.client\/heads-up-plugin","figwheel.client\/heads-up-config-options**","state_26844","state_val_26845","statearr-26846","inst_26842","inst_26832","statearr-26847","statearr-26848","statearr-26849","inst_26834","statearr-26850","inst_26840","statearr-26851","inst_26836","statearr-26852","statearr-26853","statearr-26854","e26855","statearr-26856","statearr-26857","figwheel.client.heads-up\/ensure-container","figwheel.client\/enforce-project-plugin","cljs.core\/count","cljs.core\/set","cljs.core\/keep","figwheel.client.socket\/close!","state_26872","state_val_26873","inst_26867","inst_26869","inst_26870","statearr-26874","statearr-26875","e26876","statearr-26877","statearr-26878","figwheel.client.heads-up\/display-system-warning","figwheel.client\/enforce-figwheel-version-plugin","temp__4657__auto__","figwheel-version","state_26887","state_val_26888","inst_26881","inst_26883","inst_26884","inst_26885","statearr-26889","statearr-26890","e26891","statearr-26892","statearr-26893","figwheel.client\/default-on-jsload","cljs.core\/identity","p__26896","map__26897","figwheel.client\/file-line-column","file","line","column","G__26899","p__26900","map__26901","figwheel.client\/default-on-compile-fail","exception-data","cause","G__26903","cljs.core\/str","p__26905","map__26906","figwheel.client\/default-on-compile-warning","w","figwheel.client\/default-before-load","files","figwheel.client\/default-on-cssload","figwheel.client\/config-defaults","figwheel.client.utils\/html-env?","js\/location.host","figwheel.client\/handle-deprecated-jsload-callback","config","cljs.core\/assoc","cljs.core\/dissoc","figwheel.client\/fill-url-template","cljs.core\/update-in","clojure.string\/replace","js\/location.hostname","js\/location.port","figwheel.client\/base-plugins","system-options","base","figwheel.client\/add-message-watch","key","callback","cljs.core\/add-watch","figwheel.client.socket\/message-history-atom","figwheel.client\/add-json-message-watch","cljs.core\/clj->js","figwheel.client\/add-plugins","plugins","seq__26908","chunk__26909","count__26910","i__26911","vec__26912","cljs.core\/-nth","cljs.core\/nth","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","vec__26915","k","plugin","pl","G__26933","figwheel.client\/start","goog\/dependencies_","figwheel.client\/__figwheel-start-once__","js\/setTimeout","plugins'","merge-plugins","cljs.core\/merge","figwheel.client.utils\/*print-debug*","figwheel.client.file-reloading\/patch-goog-base","seq__26934","chunk__26935","count__26936","i__26937","figwheel.client.socket\/handle-incoming-message","figwheel.client.socket\/open","figwheel.client\/watch-and-reload-with-opts","figwheel.client\/watch-and-reload","p__26961","map__26962","seq26960","figwheel.client\/fetch-data-from-env","e26967","cljs.reader\/read-string","goog.object\/get","js\/window","cljs.core\/*print-err-fn*","figwheel.client\/console-intro-message","figwheel.client\/bad-compile-helper-app","cljs.core\/enable-console-print!","cljs.core\/println","figwheel.client.heads-up\/bad-compile-screen","js\/goog.dependencies_","p__26968","map__26969","js\/location.href"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/file_reloading.cljs b/examples/resources/public/js/out/figwheel/client/file_reloading.cljs new file mode 100644 index 0000000..6f98108 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/file_reloading.cljs @@ -0,0 +1,563 @@ +(ns figwheel.client.file-reloading + (:require + [figwheel.client.utils :as utils :refer-macros [dev-assert]] + [goog.Uri :as guri] + [goog.string] + [goog.object :as gobj] + [goog.net.jsloader :as loader] + [goog.html.legacyconversions :as conv] + [goog.string :as gstring] + [clojure.string :as string] + [clojure.set :refer [difference]] + [cljs.core.async :refer [put! chan path [ns] + (dev-assert (string? ns)) + (gobj/get js/goog.dependencies_.nameToPath ns)) + +(defn provided? [ns] + (gobj/get js/goog.dependencies_.written (name->path ns))) + +(defn immutable-ns? [name] + (or (#{"goog" "cljs.core" "cljs.nodejs"} name) + (goog.string/startsWith "clojure." name) + (goog.string/startsWith "goog." name))) + +(defn get-requires [ns] + (->> ns + name->path + (gobj/get js/goog.dependencies_.requires) + (gobj/getKeys) + (filter #(not (immutable-ns? %))) + set)) + +(defonce dependency-data (atom {:pathToName {} :dependents {}})) + +(defn path-to-name! [path name] + (swap! dependency-data update-in [:pathToName path] (fnil clojure.set/union #{}) #{name})) + +(defn setup-path->name! + "Setup a path to name dependencies map. + That goes from path -> #{ ns-names }" + [] + ;; we only need this for dependents + (let [nameToPath (gobj/filter js/goog.dependencies_.nameToPath + (fn [v k o] (gstring/startsWith v "../")))] + (gobj/forEach nameToPath (fn [v k o] (path-to-name! v k))))) + +(defn path->name + "returns a set of namespaces defined by a path" + [path] + (get-in @dependency-data [:pathToName path])) + +(defn name-to-parent! [ns parent-ns] + (swap! dependency-data update-in [:dependents ns] (fnil clojure.set/union #{}) #{parent-ns})) + +(defn setup-ns->dependents! + "This reverses the goog.dependencies_.requires for looking up ns-dependents." + [] + (let [requires (gobj/filter js/goog.dependencies_.requires + (fn [v k o] (gstring/startsWith k "../")))] + (gobj/forEach + requires + (fn [v k _] + (gobj/forEach + v + (fn [v' k' _] + (doseq [n (path->name k)] + (name-to-parent! k' n)))))))) + +(defn ns->dependents [ns] + (get-in @dependency-data [:dependents ns])) + +(defn in-upper-level? [topo-state current-depth dep] + (some (fn [[_ v]] (and v (v dep))) + (filter (fn [[k v]] (> k current-depth)) topo-state))) + +(defn build-topo-sort [get-deps] + (let [get-deps (memoize get-deps)] + (letfn [(topo-sort-helper* [x depth state] + (let [deps (get-deps x)] + (when-not (empty? deps) (topo-sort* deps depth state)))) + (topo-sort* + ([deps] + (topo-sort* deps 0 (atom (sorted-map)))) + ([deps depth state] + (swap! state update-in [depth] (fnil into #{}) deps) + (doseq [dep deps] + (when (and dep (not (in-upper-level? @state depth dep))) + (topo-sort-helper* dep (inc depth) state))) + (when (= depth 0) + (elim-dups* (reverse (vals @state)))))) + (elim-dups* [[x & xs]] + (if (nil? x) + (list) + (cons x (elim-dups* (map #(difference % x) xs)))))] + topo-sort*))) + +(defn get-all-dependencies [ns] + (let [topo-sort' (build-topo-sort get-requires)] + (apply concat (topo-sort' (set [ns]))))) + +(defn get-all-dependents [nss] + (let [topo-sort' (build-topo-sort ns->dependents)] + (filter (comp not immutable-ns?) + (reverse (apply concat (topo-sort' (set nss))))))) + +#_(prn "dependents" (get-all-dependents [ "example.core" "figwheel.client.file_reloading" "cljs.core"])) + +#_(prn "dependencies" (get-all-dependencies "figwheel.client.file_reloading")) + +#_(time (get-all-dependents [ "example.core" "figwheel.client.file_reloading" "cljs.core"])) + +(defn unprovide! [ns] + (let [path (name->path ns)] + (gobj/remove js/goog.dependencies_.visited path) + (gobj/remove js/goog.dependencies_.written path) + (gobj/remove js/goog.dependencies_.written (str js/goog.basePath path)))) + +;; this matches goog behavior in url resolution should actually just +;; use that code +(defn resolve-ns [ns] (str goog/basePath (name->path ns))) + +(defn addDependency [path provides requires] + (doseq [prov provides] + (path-to-name! path prov) + (doseq [req requires] + (name-to-parent! req prov)))) + +(defn figwheel-require [src reload] + ;; require is going to be called + (set! (.-require js/goog) figwheel-require) + (when (= reload "reload-all") + (doseq [ns (get-all-dependencies src)] (unprovide! ns))) + (when reload (unprovide! src)) + (.require_figwheel_backup_ js/goog src)) + +(defn bootstrap-goog-base + "Reusable browser REPL bootstrapping. Patches the essential functions + in goog.base to support re-loading of namespaces after page load." + [] + ;; The biggest problem here is that clojure.browser.repl might have + ;; patched this or might patch this afterward + (when-not js/COMPILED + (set! (.-require_figwheel_backup_ js/goog) (or js/goog.require__ js/goog.require)) + ;; suppress useless Google Closure error about duplicate provides + (set! (.-isProvided_ js/goog) (fn [name] false)) + ;; provide cljs.user + (setup-path->name!) + (setup-ns->dependents!) + + (set! (.-addDependency_figwheel_backup_ js/goog) js/goog.addDependency) + (set! (.-addDependency js/goog) + (fn [& args] + (apply addDependency args) + (apply (.-addDependency_figwheel_backup_ js/goog) args))) + + (goog/constructNamespace_ "cljs.user") + ;; we must reuse Closure library dev time dependency management, under namespace + ;; reload scenarios we simply delete entries from the correct + ;; private locations + (set! (.-CLOSURE_IMPORT_SCRIPT goog/global) queued-file-reload) + (set! (.-require js/goog) figwheel-require))) + +(defn patch-goog-base [] + (defonce bootstrapped-cljs (do (bootstrap-goog-base) true))) + +(def gloader + (cond + (exists? loader/safeLoad) + #(loader/safeLoad (conv/trustedResourceUrlFromString (str %1)) %2) + (exists? loader/load) #(loader/load (str %1) %2) + :else (throw (ex-info "No remote script loading function found." {})))) + +(defn reload-file-in-html-env + [request-url callback] + (dev-assert (string? request-url) (not (nil? callback))) + (doto (gloader (add-cache-buster request-url) #js {:cleanupWhenDone true}) + (.addCallback #(apply callback [true])) + (.addErrback #(apply callback [false])))) + +(def ^:export write-script-tag-import reload-file-in-html-env) + +(defn ^:export worker-import-script [request-url callback] + (dev-assert (string? request-url) (not (nil? callback))) + (callback (try + (do (.importScripts js/self (add-cache-buster request-url)) + true) + (catch js/Error e + (utils/log :error (str "Figwheel: Error loading file " request-url)) + (utils/log :error (.-stack e)) + false)))) + +(defn ^:export create-node-script-import-fn [] + (let [node-path-lib (js/require "path") + ;; just finding a file that is in the cache so we can + ;; figure out where we are + util-pattern (str (.-sep node-path-lib) + (.join node-path-lib "goog" "bootstrap" "nodejs.js")) + util-path (gobj/findKey js/require.cache (fn [v k o] (gstring/endsWith k util-pattern))) + parts (-> (string/split util-path #"[/\\]") pop pop) + root-path (string/join (.-sep node-path-lib) parts)] + (fn [request-url callback] + (dev-assert (string? request-url) (not (nil? callback))) + (let [cache-path (.resolve node-path-lib root-path request-url)] + (gobj/remove (.-cache js/require) cache-path) + (callback (try + (js/require cache-path) + (catch js/Error e + (utils/log :error (str "Figwheel: Error loading file " cache-path)) + (utils/log :error (.-stack e)) + false))))))) + +;; TODO +#_(defn async-fetch-import-script [request-url callback] + (let [base-url (or goog.global.FIGWHEEL_RELOAD_BASE_URL "http://localhost:8081")] + (doto (js/fetch (str base-url "/" request-url)) + (.then (fn [r] )) + ))) + +(def reload-file* + (condp = (utils/host-env?) + :node (create-node-script-import-fn) + :html write-script-tag-import + ;; TODO react native reloading not supported internally yet + ;:react-native + #_(if (utils/worker-env?) + worker-import-script + async-fetch-import-script) + :worker worker-import-script + (fn [a b] (throw "Reload not defined for this platform")))) + +(defn reload-file [{:keys [request-url] :as file-msg} callback] + (dev-assert (string? request-url) (not (nil? callback))) + (utils/debug-prn (str "FigWheel: Attempting to load " request-url)) + ((or (gobj/get goog.global "FIGWHEEL_IMPORT_SCRIPT") reload-file*) + request-url + (fn [success?] + (if success? + (do + (utils/debug-prn (str "FigWheel: Successfully loaded " request-url)) + (apply callback [(assoc file-msg :loaded-file true)])) + (do + (utils/log :error (str "Figwheel: Error loading file " request-url)) + (apply callback [file-msg])))))) + +;; for goog.require consumption +(defonce reload-chan (chan)) + +(defonce on-load-callbacks (atom {})) + +(defonce dependencies-loaded (atom [])) + +(defn blocking-load [url] + (let [out (chan)] + (reload-file + {:request-url url} + (fn [file-msg] + (put! out file-msg) + (close! out))) + out)) + +(defonce reloader-loop + (go-loop [] + (when-let [[url opt-source-text] (path (name namespace)) + file)) res))) + (js/setTimeout #(do + (on-jsload-custom-event res) + (apply on-jsload [res])) 10)) + + (when (not-empty files-not-loaded) + (utils/log :debug "Figwheel: NOT loading these files ") + (let [{:keys [figwheel-no-load not-required]} + (group-by + (fn [{:keys [namespace]}] + (let [meta-data (get @figwheel-meta-pragmas (name namespace))] + (cond + (nil? meta-data) :not-required + (meta-data :figwheel-no-load) :figwheel-no-load + :else :not-required))) + files-not-loaded)] + (when (not-empty figwheel-no-load) + (utils/log (str "figwheel-no-load meta-data: " + (pr-str (map (comp name->path :namespace) figwheel-no-load))))) + (when (not-empty not-required) + (utils/log (str "not required: " (pr-str (map :file not-required)))))))))) + +;; CSS reloading + +(defn current-links [] + (.call (.. js/Array -prototype -slice) + (.getElementsByTagName js/document "link"))) + +(defn truncate-url [url] + (-> (first (string/split url #"\?")) + (string/replace-first (str (.-protocol js/location) "//") "") + (string/replace-first ".*://" "") + (string/replace-first #"^//" "") + (string/replace-first #"[^\/]*" ""))) + +(defn matches-file? + [{:keys [file]} link] + (when-let [link-href (.-href link)] + (let [match (string/join "/" + (take-while identity + (map #(if (= %1 %2) %1 false) + (reverse (string/split file "/")) + (reverse (string/split (truncate-url link-href) "/"))))) + match-length (count match) + file-name-length (count (last (string/split file "/")))] + (when (>= match-length file-name-length) ;; has to match more than the file name length + {:link link + :link-href link-href + :match-length match-length + :current-url-length (count (truncate-url link-href))})))) + +(defn get-correct-link [f-data] + (when-let [res (first + (sort-by + (fn [{:keys [match-length current-url-length]}] + (- current-url-length match-length)) + (keep #(matches-file? f-data %) + (current-links))))] + (:link res))) + +(defn clone-link [link url] + (let [clone (.createElement js/document "link")] + (set! (.-rel clone) "stylesheet") + (set! (.-media clone) (.-media link)) + (set! (.-disabled clone) (.-disabled link)) + (set! (.-href clone) (add-cache-buster url)) + clone)) + +(defn create-link [url] + (let [link (.createElement js/document "link")] + (set! (.-rel link) "stylesheet") + (set! (.-href link) (add-cache-buster url)) + link)) + +(defn distinctify [key seqq] + (vals (reduce #(assoc %1 (get %2 key) %2) {} seqq))) + +(defn add-link-to-document [orig-link klone finished-fn] + (let [parent (.-parentNode orig-link)] + (if (= orig-link (.-lastChild parent)) + (.appendChild parent klone) + (.insertBefore parent klone (.-nextSibling orig-link))) + ;; prevent css removal flash + (js/setTimeout #(do + (.removeChild parent orig-link) + (finished-fn)) + 300))) + +(defonce reload-css-deferred-chain (atom (.succeed Deferred))) + +(defn reload-css-file [f-data fin] + (if-let [link (get-correct-link f-data)] + (add-link-to-document link (clone-link link (.-href link)) + #(fin (assoc f-data :loaded true))) + (fin f-data))) + +(defn reload-css-files* [deferred f-datas on-cssload] + (-> deferred + (utils/mapConcatD reload-css-file f-datas) + (utils/liftContD (fn [f-datas' fin] + (let [loaded-f-datas (filter :loaded f-datas')] + (on-cssload-custom-event loaded-f-datas) + (when (fn? on-cssload) + (on-cssload loaded-f-datas))) + (fin))))) + +(defn reload-css-files [{:keys [on-cssload]} {:keys [files] :as files-msg}] + (when (utils/html-env?) + (when-let [f-datas (not-empty (distinctify :file files))] + (swap! reload-css-deferred-chain reload-css-files* f-datas on-cssload)))) diff --git a/examples/resources/public/js/out/figwheel/client/file_reloading.cljs.cache.json b/examples/resources/public/js/out/figwheel/client/file_reloading.cljs.cache.json new file mode 100644 index 0000000..93c38b8 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/file_reloading.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$Object",["^ ","~$sep",["^ "],"~$join",["^ "],"~$resolve",["^ "],"~$rel",["^ "],"~$media",["^ "],"~$disabled",["^ "],"~$href",["^ "]],"~$location",["^ ","~$protocol",["^ "]],"~$self",["^ ","~$importScripts",["^ "]],"~$eval",["^ "],"~$Array",["^ ","~$prototype",["^ ","~$slice",["^ ","~$call",["^ "]]]],"~$goog",["^ ","~$dependencies_",["^ ","~$nameToPath",["^ "],"~$written",["^ "],"~$requires",["^ "],"~$visited",["^ "]],"~$basePath",["^ "],"~$require",["^ "],"~$require_figwheel_backup_",["^ "],"~$require__",["^ "],"~$isProvided_",["^ "],"~$addDependency_figwheel_backup_",["^ "],"~$addDependency",["^ "]],"^L",["^ ","~$cache",["^ "]],"~$setTimeout",["^ "],"~$document",["^ ","~$getElementsByTagName",["^ "],"~$createElement",["^ "]],"~$COMPILED",["^ "]],"~:use-macros",["^ ","~$go","~$cljs.core.async.macros","~$dev-assert","~$figwheel.client.utils","~$go-loop","^Z","~$difference","~$clojure.set"],"~:excludes",["~#set",[]],"~:name","~$figwheel.client.file-reloading","~:imports",["^ ","~$Deferred","~$goog.async.Deferred"],"~:requires",["^ ","~$gstring","~$goog.string","^19","^1:","~$guri","~$goog.Uri","^1=","^1=","~$loader","~$goog.net.jsloader","~$async","~$cljs.core.async","^1A","^1A","^1?","^1?","~$gobj","~$goog.object","^1E","^1E","^1C","^1C","^13","^13","~$goog.html.legacyconversions","^1F","~$string","~$clojure.string","^10","^10","~$conv","^1F","~$utils","^10","^1H","^1H"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$timeout","^1C","~$",true,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",236,"^1[",236,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]]],"~$matches-file?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",489,"^1Z",7,"^1[",489,"^20",20,"^21",["^22",["^23",["^22",[[["^ ","~:keys",["~$file"]],"~$link"]]]]]],"^16","~$figwheel.client.file-reloading/matches-file?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",20,"^28",["^22",[["~$p__25591","^2C"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",489,"^1[",489,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^2B"]],"^2C"]]]]]],"~$build-topo-sort",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",120,"^1Z",7,"^1[",120,"^20",22,"^21",["^22",["^23",["^22",[["~$get-deps"]]]]]],"^16","~$figwheel.client.file-reloading/build-topo-sort","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",22,"^28",["^22",[["^2G"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",120,"^1[",120,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2G"]]]]]],"~$unprovide!",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",156,"^1Z",7,"^1[",156,"^20",17,"^21",["^22",["^23",["^22",[["~$ns"]]]]]],"^16","~$figwheel.client.file-reloading/unprovide!","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",156,"^1[",156,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$get-all-dependents",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",145,"^1Z",7,"^1[",145,"^20",25,"^21",["^22",["^23",["^22",[["~$nss"]]]]]],"^16","~$figwheel.client.file-reloading/get-all-dependents","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",25,"^28",["^22",[["^2M"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",145,"^1[",145,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2M"]]]]]],"^Q",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",166,"^1Z",7,"^1[",166,"^20",20,"^21",["^22",["^23",["^22",[["~$path","~$provides","^I"]]]]]],"^16","~$figwheel.client.file-reloading/addDependency","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",20,"^28",["^22",[["^2O","^2P","^I"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",166,"^1[",166,"^2;",3,"^2<",true,"^21",["^22",["^23",["^22",[["^2O","^2P","^I"]]]]]],"~$figwheel-no-load?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",331,"^1Z",7,"^1[",331,"^20",24,"^21",["^22",["^23",["^22",[[["^ ","^2A",["~$namespace"],"~:as","~$file-msg"]]]]]]],"^16","~$figwheel.client.file-reloading/figwheel-no-load?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",24,"^28",["^22",[["~$p__25201"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",331,"^1[",331,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^2S"],"^2T","^2U"]]]]]]],"~$write-script-tag-import",["^ ","^16","~$figwheel.client.file-reloading/write-script-tag-import","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",224,"^1Z",1,"^1[",224,"^20",38,"^2>",true,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",224,"^1Z",15,"^1[",224,"^20",38,"^2>",true]],"~$namespace-file-map?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",40,"^1Z",7,"^1[",40,"^20",26,"^21",["^22",["^23",["^22",[["~$m"]]]]]],"^16","~$figwheel.client.file-reloading/namespace-file-map?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",26,"^28",["^22",[["~$m"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",40,"^1[",40,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["~$m"]]]]]],"~$reload-file-in-html-env",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",217,"^1Z",7,"^1[",217,"^20",30,"^21",["^22",["^23",["^22",[["~$request-url","~$callback"]]]]]],"^16","~$figwheel.client.file-reloading/reload-file-in-html-env","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",30,"^28",["^22",[["^31","^32"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",217,"^1[",217,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^31","^32"]]]]]],"~$path->name",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",91,"^1Z",7,"^1[",91,"^20",17,"^21",["^22",["^23",["^22",[["^2O"]]]]],"~:doc","returns a set of namespaces defined by a path"],"^16","~$figwheel.client.file-reloading/path->name","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^2O"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",91,"^1[",91,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2O"]]]]],"^35","returns a set of namespaces defined by a path"],"~$get-figwheel-always",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",408,"^1Z",7,"^1[",408,"^20",26,"^21",["^22",["^23",["^22",[[]]]]]],"^16","~$figwheel.client.file-reloading/get-figwheel-always","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",26,"^28",["^22",[[]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",408,"^1[",408,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]]],"~$name-to-parent!",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",96,"^1Z",7,"^1[",96,"^20",22,"^21",["^22",["^23",["^22",[["^2J","~$parent-ns"]]]]]],"^16","~$figwheel.client.file-reloading/name-to-parent!","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",22,"^28",["^22",[["^2J","^3:"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",96,"^1[",96,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^2J","^3:"]]]]]],"~$current-links",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",478,"^1Z",7,"^1[",478,"^20",20,"^21",["^22",["^23",["^22",[[]]]]]],"^16","~$figwheel.client.file-reloading/current-links","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",20,"^28",["^22",[[]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",478,"^1[",478,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]]],"~$on-cssload-custom-event",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",33,"^1Z",7,"^1[",33,"^20",30,"^21",["^22",["^23",["^22",[["~$files"]]]]]],"^16","~$figwheel.client.file-reloading/on-cssload-custom-event","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",30,"^28",["^22",[["^3?"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",33,"^1[",33,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"~$blocking-load",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",296,"^1Z",7,"^1[",296,"^20",20,"^21",["^22",["^23",["^22",[["~$url"]]]]]],"^16","~$figwheel.client.file-reloading/blocking-load","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",20,"^28",["^22",[["^3B"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",296,"^1[",296,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"~$reload-css-files",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",560,"^1Z",7,"^1[",560,"^20",23,"^21",["^22",["^23",["^22",[[["^ ","^2A",["~$on-cssload"]],["^ ","^2A",["^3?"],"^2T","~$files-msg"]]]]]]],"^16","~$figwheel.client.file-reloading/reload-css-files","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",23,"^28",["^22",[["~$p__25601","~$p__25602"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",560,"^1[",560,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^3E"]],["^ ","^2A",["^3?"],"^2T","^3F"]]]]]]],"~$add-cache-buster",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",53,"^1Z",7,"^1[",53,"^20",23,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"^16","~$figwheel.client.file-reloading/add-cache-buster","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",23,"^28",["^22",[["^3B"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",53,"^1[",53,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"~$ns->dependents",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",113,"^1Z",7,"^1[",113,"^20",21,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"^16","~$figwheel.client.file-reloading/ns->dependents","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",21,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",113,"^1[",113,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$on-load-callbacks",["^ ","^16","~$figwheel.client.file-reloading/on-load-callbacks","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",292,"^1Z",1,"^1[",292,"^20",27,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",292,"^1Z",10,"^1[",292,"^20",27],"~:tag","~$any"],"~$reload-chan",["^ ","^16","~$figwheel.client.file-reloading/reload-chan","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",290,"^1Z",1,"^1[",290,"^20",21,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",290,"^1Z",10,"^1[",290,"^20",21],"^3P","^3Q"],"~$get-correct-link",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",505,"^1Z",7,"^1[",505,"^20",23,"^21",["^22",["^23",["^22",[["~$f-data"]]]]]],"^16","~$figwheel.client.file-reloading/get-correct-link","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",23,"^28",["^22",[["^3U"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",505,"^1[",505,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3U"]]]]]],"~$expand-files",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",390,"^1Z",7,"^1[",390,"^20",19,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"^16","~$figwheel.client.file-reloading/expand-files","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",19,"^28",["^22",[["^3?"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",390,"^1[",390,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"~$setup-ns->dependents!",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",99,"^1Z",7,"^1[",99,"^20",28,"^21",["^22",["^23",["^22",[[]]]]],"^35","This reverses the goog.dependencies_.requires for looking up ns-dependents."],"^16","~$figwheel.client.file-reloading/setup-ns->dependents!","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",28,"^28",["^22",[[]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",99,"^1[",99,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]],"^35","This reverses the goog.dependencies_.requires for looking up ns-dependents."],"~$before-jsload-custom-event",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",28,"^1Z",7,"^1[",28,"^20",33,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"^16","~$figwheel.client.file-reloading/before-jsload-custom-event","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",33,"^28",["^22",[["^3?"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",28,"^1[",28,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"~$setup-path->name!",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",82,"^1Z",7,"^1[",82,"^20",24,"^21",["^22",["^23",["^22",[[]]]]],"^35","Setup a path to name dependencies map.\n That goes from path -> #{ ns-names }"],"^16","~$figwheel.client.file-reloading/setup-path->name!","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",24,"^28",["^22",[[]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",82,"^1[",82,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]],"^35","Setup a path to name dependencies map.\n That goes from path -> #{ ns-names }"],"~$ns-exists?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",335,"^1Z",7,"^1[",335,"^20",17,"^21",["^22",["^23",["^22",[["^2S"]]]]]],"^16","~$figwheel.client.file-reloading/ns-exists?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^2S"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",335,"^1[",335,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2S"]]]]]],"~$js-reload",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",351,"^1Z",7,"^1[",351,"^20",16,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^31","^2S"],"^2T","^2U"],"^32"]]]]]],"^16","~$figwheel.client.file-reloading/js-reload","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",16,"^28",["^22",[["~$p__25207","^32"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",351,"^1[",351,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^31","^2S"],"^2T","^2U"],"^32"]]]]]],"~$get-requires",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",69,"^1Z",7,"^1[",69,"^20",19,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"^16","~$figwheel.client.file-reloading/get-requires","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",19,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",69,"^1[",69,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$add-link-to-document",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",531,"^1Z",7,"^1[",531,"^20",27,"^21",["^22",["^23",["^22",[["~$orig-link","~$klone","~$finished-fn"]]]]]],"^16","~$figwheel.client.file-reloading/add-link-to-document","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",27,"^28",["^22",[["^4;","^4<","^4="]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",531,"^1[",531,"^2;",3,"^2<",true,"^21",["^22",["^23",["^22",[["^4;","^4<","^4="]]]]]],"~$truncate-url",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",482,"^1Z",7,"^1[",482,"^20",19,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"^16","~$figwheel.client.file-reloading/truncate-url","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",19,"^28",["^22",[["^3B"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",482,"^1[",482,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"~$clone-link",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",514,"^1Z",7,"^1[",514,"^20",17,"^21",["^22",["^23",["^22",[["^2C","^3B"]]]]]],"^16","~$figwheel.client.file-reloading/clone-link","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^2C","^3B"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",514,"^1[",514,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^2C","^3B"]]]]]],"~$name->path",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",57,"^1Z",7,"^1[",57,"^20",17,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"^16","~$figwheel.client.file-reloading/name->path","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",57,"^1[",57,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$reloader-loop",["^ ","^16","~$figwheel.client.file-reloading/reloader-loop","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",305,"^1Z",1,"^1[",305,"^20",23,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",305,"^1Z",10,"^1[",305,"^20",23],"^3P","^3Q"],"~$require-with-callback",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",322,"^1Z",7,"^1[",322,"^20",28,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^2S"],"^2T","^2U"],"^32"]]]]]],"^16","~$figwheel.client.file-reloading/require-with-callback","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",28,"^28",["^22",[["~$p__25198","^32"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",322,"^1[",322,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^2S"],"^2T","^2U"],"^32"]]]]]],"~$distinctify",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",528,"^1Z",7,"^1[",528,"^20",18,"^21",["^22",["^23",["^22",[["~$key","~$seqq"]]]]]],"^16","~$figwheel.client.file-reloading/distinctify","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",18,"^28",["^22",[["^4K","^4L"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",528,"^1[",528,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^4K","^4L"]]]]]],"~$bootstrap-goog-base",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",180,"^1Z",7,"^1[",180,"^20",26,"^21",["^22",["^23",["^22",[[]]]]],"^35","Reusable browser REPL bootstrapping. Patches the essential functions\n in goog.base to support re-loading of namespaces after page load."],"^16","~$figwheel.client.file-reloading/bootstrap-goog-base","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",26,"^28",["^22",[[]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",180,"^1[",180,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]],"^35","Reusable browser REPL bootstrapping. Patches the essential functions\n in goog.base to support re-loading of namespaces after page load."],"~$reload-css-deferred-chain",["^ ","^16","~$figwheel.client.file-reloading/reload-css-deferred-chain","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",542,"^1Z",1,"^1[",542,"^20",35,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",542,"^1Z",10,"^1[",542,"^20",35],"^3P","^3Q"],"~$reload-css-files*",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",550,"^1Z",7,"^1[",550,"^20",24,"^21",["^22",["^23",["^22",[["~$deferred","~$f-datas","^3E"]]]]]],"^16","~$figwheel.client.file-reloading/reload-css-files*","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",24,"^28",["^22",[["^4S","^4T","^3E"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",550,"^1[",550,"^2;",3,"^2<",true,"^21",["^22",["^23",["^22",[["^4S","^4T","^3E"]]]]]],"~$in-upper-level?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",116,"^1Z",7,"^1[",116,"^20",22,"^21",["^22",["^23",["^22",[["~$topo-state","~$current-depth","~$dep"]]]]]],"^16","~$figwheel.client.file-reloading/in-upper-level?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",22,"^28",["^22",[["^4W","^4X","^4Y"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",116,"^1[",116,"^2;",3,"^2<",true,"^21",["^22",["^23",["^22",[["^4W","^4X","^4Y"]]]]]],"~$get-all-dependencies",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",141,"^1Z",7,"^1[",141,"^20",27,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"^16","~$figwheel.client.file-reloading/get-all-dependencies","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",27,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",141,"^1[",141,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$queued-file-reload",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",318,"^1Z",7,"^1[",318,"^20",25,"^21",["^22",["^23",["^22",[["^3B"],["^3B","~$opt-source-text"]]]]],"~:top-fn",["^ ","^27",false,"^2;",2,"^28",["^22",[["^3B"],["^3B","^52"]]],"^21",["^22",[["^3B"],["^3B","^52"]]],"^2:",["^22",[null,null]]]],"^16","~$figwheel.client.file-reloading/queued-file-reload","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",25,"^53",["^ ","^27",false,"^2;",2,"^28",["^22",[["^3B"],["^3B","^52"]]],"^21",["^22",[["^3B"],["^3B","^52"]]],"^2:",["^22",[null,null]]],"^28",["^22",[["^3B"],["^3B","^52"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",318,"^1[",318,"^2;",2,"^2<",true,"^21",["^22",[["^3B"],["^3B","^52"]]]],"~$gloader",["^ ","^16","~$figwheel.client.file-reloading/gloader","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",210,"^1Z",1,"^1[",210,"^20",13,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",210,"^1Z",6,"^1[",210,"^20",13],"^3P","~$function"],"~$patch-goog-base",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",207,"^1Z",7,"^1[",207,"^20",22,"^21",["^22",["^23",["^22",[[]]]]]],"^16","~$figwheel.client.file-reloading/patch-goog-base","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",22,"^28",["^22",[[]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",207,"^1[",207,"^2;",0,"^2<",true,"^21",["^22",["^23",["^22",[[]]]]]],"~$reload-file?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",339,"^1Z",7,"^1[",339,"^20",19,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^2S"],"^2T","^2U"]]]]]]],"^16","~$figwheel.client.file-reloading/reload-file?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",19,"^28",["^22",[["~$p__25204"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",339,"^1[",339,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^2S"],"^2T","^2U"]]]]]]],"~$bootstrapped-cljs",["^ ","^16","~$figwheel.client.file-reloading/bootstrapped-cljs","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",208,"^1Z",3,"^1[",208,"^20",29,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",208,"^1Z",12,"^1[",208,"^20",29],"^3P","~$boolean"],"~$on-jsload-custom-event",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",23,"^1Z",7,"^1[",23,"^20",29,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"^16","~$figwheel.client.file-reloading/on-jsload-custom-event","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",29,"^28",["^22",[["^3B"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",23,"^1[",23,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"~$dependencies-loaded",["^ ","^16","~$figwheel.client.file-reloading/dependencies-loaded","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",294,"^1Z",1,"^1[",294,"^20",29,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",294,"^1Z",10,"^1[",294,"^20",29],"^3P","^3Q"],"~$reload-css-file",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",544,"^1Z",7,"^1[",544,"^20",22,"^21",["^22",["^23",["^22",[["^3U","~$fin"]]]]]],"^16","~$figwheel.client.file-reloading/reload-css-file","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",22,"^28",["^22",[["^3U","^5E"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",544,"^1[",544,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^3U","^5E"]]]]]],"~$provided?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",61,"^1Z",7,"^1[",61,"^20",16,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"^16","~$figwheel.client.file-reloading/provided?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",16,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",61,"^1[",61,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$immutable-ns?",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",64,"^1Z",7,"^1[",64,"^20",20,"^21",["^22",["^23",["^22",[["~$name"]]]]]],"^16","~$figwheel.client.file-reloading/immutable-ns?","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",20,"^28",["^22",[["^5J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",64,"^1[",64,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^5J"]]]]]],"~$figwheel-meta-pragmas",["^ ","^16","~$figwheel.client.file-reloading/figwheel-meta-pragmas","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",19,"^1Z",1,"^1[",19,"^20",31,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",19,"^1Z",10,"^1[",19,"^20",31],"^3P","^3Q"],"~$sort-files",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",402,"^1Z",7,"^1[",402,"^20",17,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"^16","~$figwheel.client.file-reloading/sort-files","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^3?"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",402,"^1[",402,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3?"]]]]]],"~$resolve-ns",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",164,"^1Z",7,"^1[",164,"^20",17,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"^16","~$figwheel.client.file-reloading/resolve-ns","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",17,"^28",["^22",[["^2J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",164,"^1[",164,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2J"]]]]]],"~$reload-js-file",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",359,"^1Z",7,"^1[",359,"^20",21,"^21",["^22",["^23",["^22",[["^2U"]]]]]],"^16","~$figwheel.client.file-reloading/reload-js-file","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",21,"^28",["^22",[["^2U"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",359,"^1[",359,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^2U"]]]]]],"~$eval-body",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",381,"^1Z",7,"^1[",381,"^20",16,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^5T","^2B"]],"~$opts"]]]]]],"^16","~$figwheel.client.file-reloading/eval-body","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",16,"^28",["^22",[["~$p__25267","^5U"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",381,"^1[",381,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^5T","^2B"]],"^5U"]]]]]],"~$load-all-js-files",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",369,"^1Z",7,"^1[",369,"^20",24,"^21",["^22",["^23",["^22",[["^3?"]]]]],"^35","Returns a chanel with one collection of loaded filenames on it."],"^16","~$figwheel.client.file-reloading/load-all-js-files","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",24,"^28",["^22",[["^3?"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",369,"^1[",369,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3?"]]]]],"^35","Returns a chanel with one collection of loaded filenames on it."],"~$reload-file*",["^ ","^16","~$figwheel.client.file-reloading/reload-file*","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",263,"^1Z",1,"^1[",263,"^20",18,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",263,"^1Z",6,"^1[",263,"^20",18],"^3P",["^15",[null,"^3Q","^57"]]],"~$path-to-name!",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",79,"^1Z",7,"^1[",79,"^20",20,"^21",["^22",["^23",["^22",[["^2O","^5J"]]]]]],"^16","~$figwheel.client.file-reloading/path-to-name!","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",20,"^28",["^22",[["^2O","^5J"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",79,"^1[",79,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^2O","^5J"]]]]]],"~$create-link",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",522,"^1Z",7,"^1[",522,"^20",18,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"^16","~$figwheel.client.file-reloading/create-link","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",18,"^28",["^22",[["^3B"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",522,"^1[",522,"^2;",1,"^2<",true,"^21",["^22",["^23",["^22",[["^3B"]]]]]],"~$reload-js-files",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",413,"^1Z",7,"^1[",413,"^20",22,"^21",["^22",["^23",["^22",[[["^ ","^2A",["~$before-jsload","~$on-jsload","~$reload-dependents"],"^2T","^5U"],["^ ","^2A",["^3?","~$figwheel-meta","~$recompile-dependents"],"^2T","~$msg"]]]]]]],"^16","~$figwheel.client.file-reloading/reload-js-files","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",22,"^28",["^22",[["~$p__25283","~$p__25284"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",413,"^1[",413,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^65","^66","^67"],"^2T","^5U"],["^ ","^2A",["^3?","^68","^69"],"^2T","^6:"]]]]]]],"~$worker-import-script",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",226,"^1Z",16,"^1[",226,"^20",36,"^2>",true,"^21",["^22",["^23",["^22",[["^31","^32"]]]]]],"^16","~$figwheel.client.file-reloading/worker-import-script","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",36,"^28",["^22",[["^31","^32"]]],"^29",null,"^2>",true,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",226,"^1[",226,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[["^31","^32"]]]]]],"~$reload-file",["^ ","^1V",null,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",275,"^1Z",7,"^1[",275,"^20",18,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^31"],"^2T","^2U"],"^32"]]]]]],"^16","~$figwheel.client.file-reloading/reload-file","^27",false,"^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^20",18,"^28",["^22",[["~$p__25108","^32"]]],"^29",null,"^2:",["^22",[null,null]],"^1Z",1,"^1Y",275,"^1[",275,"^2;",2,"^2<",true,"^21",["^22",["^23",["^22",[[["^ ","^2A",["^31"],"^2T","^2U"],"^32"]]]]]],"~$dependency-data",["^ ","^16","~$figwheel.client.file-reloading/dependency-data","^1X","resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",77,"^1Z",1,"^1[",77,"^20",25,"^1W",["^ ","^1X","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/file_reloading.cljs","^1Y",77,"^1Z",10,"^1[",77,"^20",25],"^3P","^3Q"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^Z","^Z","^1J","^10","^10","^10","^1B","^1C","^1C","^1C"],"~:cljs.analyzer/constants",["^ ","~:seen",["^15",["~:figwheel-meta","~:request-url","~:dependents","~:else","~:on-jsload","~:reload-dependents","^1X","~:pathToName","~:loaded","~:recompile-dependents","~:figwheel-always","~:recur","~:type","~:debug","~:figwheel-no-load","~:node","~:loaded-file","~:current-url-length","~:link","~:eval-body","~:files","~:not-required","~:figwheel-load","~:before-jsload","~:error","~:namespace","~:worker","~:match-length","~:link-href","~:on-cssload","~:html"]],"~:order",["^75","^1X","^6T","^6O","^6K","^6L","^74","^6W","^7:","^76","^6J","^6X","^6S","^6V","^6R","^72","^6[","^73","^6M","^6N","^70","^6I","^6Q","^71","^6U","^6Z","^78","^77","^6Y","^6P","^79"]],"^35",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/file_reloading.js b/examples/resources/public/js/out/figwheel/client/file_reloading.js new file mode 100644 index 0000000..f11a296 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/file_reloading.js @@ -0,0 +1,2625 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('figwheel.client.file_reloading'); +goog.require('cljs.core'); +goog.require('figwheel.client.utils'); +goog.require('goog.Uri'); +goog.require('goog.string'); +goog.require('goog.object'); +goog.require('goog.net.jsloader'); +goog.require('goog.html.legacyconversions'); +goog.require('clojure.string'); +goog.require('clojure.set'); +goog.require('cljs.core.async'); +goog.require('goog.async.Deferred'); +if(typeof figwheel.client.file_reloading.figwheel_meta_pragmas !== 'undefined'){ +} else { +figwheel.client.file_reloading.figwheel_meta_pragmas = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +} +figwheel.client.file_reloading.on_jsload_custom_event = (function figwheel$client$file_reloading$on_jsload_custom_event(url){ +return figwheel.client.utils.dispatch_custom_event.call(null,"figwheel.js-reload",url); +}); +figwheel.client.file_reloading.before_jsload_custom_event = (function figwheel$client$file_reloading$before_jsload_custom_event(files){ +return figwheel.client.utils.dispatch_custom_event.call(null,"figwheel.before-js-reload",files); +}); +figwheel.client.file_reloading.on_cssload_custom_event = (function figwheel$client$file_reloading$on_cssload_custom_event(files){ +return figwheel.client.utils.dispatch_custom_event.call(null,"figwheel.css-reload",files); +}); +figwheel.client.file_reloading.namespace_file_map_QMARK_ = (function figwheel$client$file_reloading$namespace_file_map_QMARK_(m){ +var or__3922__auto__ = ((cljs.core.map_QMARK_.call(null,m)) && (typeof new cljs.core.Keyword(null,"namespace","namespace",-377510372).cljs$core$IFn$_invoke$arity$1(m) === 'string') && ((((new cljs.core.Keyword(null,"file","file",-1269645878).cljs$core$IFn$_invoke$arity$1(m) == null)) || (typeof new cljs.core.Keyword(null,"file","file",-1269645878).cljs$core$IFn$_invoke$arity$1(m) === 'string'))) && (cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(m),new cljs.core.Keyword(null,"namespace","namespace",-377510372)))); +if(or__3922__auto__){ +return or__3922__auto__; +} else { +cljs.core.println.call(null,"Error not namespace-file-map",cljs.core.pr_str.call(null,m)); + +return false; +} +}); +figwheel.client.file_reloading.add_cache_buster = (function figwheel$client$file_reloading$add_cache_buster(url){ + +return goog.Uri.parse(url).makeUnique(); +}); +figwheel.client.file_reloading.name__GT_path = (function figwheel$client$file_reloading$name__GT_path(ns){ + +return goog.object.get(goog.dependencies_.nameToPath,ns); +}); +figwheel.client.file_reloading.provided_QMARK_ = (function figwheel$client$file_reloading$provided_QMARK_(ns){ +return goog.object.get(goog.dependencies_.written,figwheel.client.file_reloading.name__GT_path.call(null,ns)); +}); +figwheel.client.file_reloading.immutable_ns_QMARK_ = (function figwheel$client$file_reloading$immutable_ns_QMARK_(name){ +var or__3922__auto__ = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, ["cljs.nodejs",null,"goog",null,"cljs.core",null], null), null).call(null,name); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = goog.string.startsWith("clojure.",name); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +return goog.string.startsWith("goog.",name); +} +} +}); +figwheel.client.file_reloading.get_requires = (function figwheel$client$file_reloading$get_requires(ns){ +return cljs.core.set.call(null,cljs.core.filter.call(null,(function (p1__24941_SHARP_){ +return cljs.core.not.call(null,figwheel.client.file_reloading.immutable_ns_QMARK_.call(null,p1__24941_SHARP_)); +}),goog.object.getKeys(goog.object.get(goog.dependencies_.requires,figwheel.client.file_reloading.name__GT_path.call(null,ns))))); +}); +if(typeof figwheel.client.file_reloading.dependency_data !== 'undefined'){ +} else { +figwheel.client.file_reloading.dependency_data = cljs.core.atom.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"pathToName","pathToName",-1236616181),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"dependents","dependents",136812837),cljs.core.PersistentArrayMap.EMPTY], null)); +} +figwheel.client.file_reloading.path_to_name_BANG_ = (function figwheel$client$file_reloading$path_to_name_BANG_(path,name){ +return cljs.core.swap_BANG_.call(null,figwheel.client.file_reloading.dependency_data,cljs.core.update_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pathToName","pathToName",-1236616181),path], null),cljs.core.fnil.call(null,clojure.set.union,cljs.core.PersistentHashSet.EMPTY),cljs.core.PersistentHashSet.createAsIfByAssoc([name])); +}); +/** + * Setup a path to name dependencies map. + * That goes from path -> #{ ns-names } + */ +figwheel.client.file_reloading.setup_path__GT_name_BANG_ = (function figwheel$client$file_reloading$setup_path__GT_name_BANG_(){ +var nameToPath = goog.object.filter(goog.dependencies_.nameToPath,(function (v,k,o){ +return goog.string.startsWith(v,"../"); +})); +return goog.object.forEach(nameToPath,((function (nameToPath){ +return (function (v,k,o){ +return figwheel.client.file_reloading.path_to_name_BANG_.call(null,v,k); +});})(nameToPath)) +); +}); +/** + * returns a set of namespaces defined by a path + */ +figwheel.client.file_reloading.path__GT_name = (function figwheel$client$file_reloading$path__GT_name(path){ +return cljs.core.get_in.call(null,cljs.core.deref.call(null,figwheel.client.file_reloading.dependency_data),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pathToName","pathToName",-1236616181),path], null)); +}); +figwheel.client.file_reloading.name_to_parent_BANG_ = (function figwheel$client$file_reloading$name_to_parent_BANG_(ns,parent_ns){ +return cljs.core.swap_BANG_.call(null,figwheel.client.file_reloading.dependency_data,cljs.core.update_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dependents","dependents",136812837),ns], null),cljs.core.fnil.call(null,clojure.set.union,cljs.core.PersistentHashSet.EMPTY),cljs.core.PersistentHashSet.createAsIfByAssoc([parent_ns])); +}); +/** + * This reverses the goog.dependencies_.requires for looking up ns-dependents. + */ +figwheel.client.file_reloading.setup_ns__GT_dependents_BANG_ = (function figwheel$client$file_reloading$setup_ns__GT_dependents_BANG_(){ +var requires = goog.object.filter(goog.dependencies_.requires,(function (v,k,o){ +return goog.string.startsWith(k,"../"); +})); +return goog.object.forEach(requires,((function (requires){ +return (function (v,k,_){ +return goog.object.forEach(v,((function (requires){ +return (function (v_SINGLEQUOTE_,k_SINGLEQUOTE_,___$1){ +var seq__24942 = cljs.core.seq.call(null,figwheel.client.file_reloading.path__GT_name.call(null,k)); +var chunk__24943 = null; +var count__24944 = (0); +var i__24945 = (0); +while(true){ +if((i__24945 < count__24944)){ +var n = cljs.core._nth.call(null,chunk__24943,i__24945); +figwheel.client.file_reloading.name_to_parent_BANG_.call(null,k_SINGLEQUOTE_,n); + + +var G__24946 = seq__24942; +var G__24947 = chunk__24943; +var G__24948 = count__24944; +var G__24949 = (i__24945 + (1)); +seq__24942 = G__24946; +chunk__24943 = G__24947; +count__24944 = G__24948; +i__24945 = G__24949; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq.call(null,seq__24942); +if(temp__4657__auto__){ +var seq__24942__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24942__$1)){ +var c__4319__auto__ = cljs.core.chunk_first.call(null,seq__24942__$1); +var G__24950 = cljs.core.chunk_rest.call(null,seq__24942__$1); +var G__24951 = c__4319__auto__; +var G__24952 = cljs.core.count.call(null,c__4319__auto__); +var G__24953 = (0); +seq__24942 = G__24950; +chunk__24943 = G__24951; +count__24944 = G__24952; +i__24945 = G__24953; +continue; +} else { +var n = cljs.core.first.call(null,seq__24942__$1); +figwheel.client.file_reloading.name_to_parent_BANG_.call(null,k_SINGLEQUOTE_,n); + + +var G__24954 = cljs.core.next.call(null,seq__24942__$1); +var G__24955 = null; +var G__24956 = (0); +var G__24957 = (0); +seq__24942 = G__24954; +chunk__24943 = G__24955; +count__24944 = G__24956; +i__24945 = G__24957; +continue; +} +} else { +return null; +} +} +break; +} +});})(requires)) +); +});})(requires)) +); +}); +figwheel.client.file_reloading.ns__GT_dependents = (function figwheel$client$file_reloading$ns__GT_dependents(ns){ +return cljs.core.get_in.call(null,cljs.core.deref.call(null,figwheel.client.file_reloading.dependency_data),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dependents","dependents",136812837),ns], null)); +}); +figwheel.client.file_reloading.in_upper_level_QMARK_ = (function figwheel$client$file_reloading$in_upper_level_QMARK_(topo_state,current_depth,dep){ +return cljs.core.some.call(null,(function (p__24958){ +var vec__24959 = p__24958; +var _ = cljs.core.nth.call(null,vec__24959,(0),null); +var v = cljs.core.nth.call(null,vec__24959,(1),null); +var and__3911__auto__ = v; +if(cljs.core.truth_(and__3911__auto__)){ +return v.call(null,dep); +} else { +return and__3911__auto__; +} +}),cljs.core.filter.call(null,(function (p__24962){ +var vec__24963 = p__24962; +var k = cljs.core.nth.call(null,vec__24963,(0),null); +var v = cljs.core.nth.call(null,vec__24963,(1),null); +return (k > current_depth); +}),topo_state)); +}); +figwheel.client.file_reloading.build_topo_sort = (function figwheel$client$file_reloading$build_topo_sort(get_deps){ +var get_deps__$1 = cljs.core.memoize.call(null,get_deps); +var topo_sort_helper_STAR_ = ((function (get_deps__$1){ +return (function figwheel$client$file_reloading$build_topo_sort_$_topo_sort_helper_STAR_(x,depth,state){ +var deps = get_deps__$1.call(null,x); +if(cljs.core.empty_QMARK_.call(null,deps)){ +return null; +} else { +return topo_sort_STAR_.call(null,deps,depth,state); +} +});})(get_deps__$1)) +; +var topo_sort_STAR_ = ((function (get_deps__$1){ +return (function() { +var figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR_ = null; +var figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR___1 = (function (deps){ +return figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR_.call(null,deps,(0),cljs.core.atom.call(null,cljs.core.sorted_map.call(null))); +}); +var figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR___3 = (function (deps,depth,state){ +cljs.core.swap_BANG_.call(null,state,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [depth], null),cljs.core.fnil.call(null,cljs.core.into,cljs.core.PersistentHashSet.EMPTY),deps); + +var seq__24975_24983 = cljs.core.seq.call(null,deps); +var chunk__24976_24984 = null; +var count__24977_24985 = (0); +var i__24978_24986 = (0); +while(true){ +if((i__24978_24986 < count__24977_24985)){ +var dep_24987 = cljs.core._nth.call(null,chunk__24976_24984,i__24978_24986); +if(cljs.core.truth_((function (){var and__3911__auto__ = dep_24987; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not.call(null,figwheel.client.file_reloading.in_upper_level_QMARK_.call(null,cljs.core.deref.call(null,state),depth,dep_24987)); +} else { +return and__3911__auto__; +} +})())){ +topo_sort_helper_STAR_.call(null,dep_24987,(depth + (1)),state); +} else { +} + + +var G__24988 = seq__24975_24983; +var G__24989 = chunk__24976_24984; +var G__24990 = count__24977_24985; +var G__24991 = (i__24978_24986 + (1)); +seq__24975_24983 = G__24988; +chunk__24976_24984 = G__24989; +count__24977_24985 = G__24990; +i__24978_24986 = G__24991; +continue; +} else { +var temp__4657__auto___24992 = cljs.core.seq.call(null,seq__24975_24983); +if(temp__4657__auto___24992){ +var seq__24975_24993__$1 = temp__4657__auto___24992; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24975_24993__$1)){ +var c__4319__auto___24994 = cljs.core.chunk_first.call(null,seq__24975_24993__$1); +var G__24995 = cljs.core.chunk_rest.call(null,seq__24975_24993__$1); +var G__24996 = c__4319__auto___24994; +var G__24997 = cljs.core.count.call(null,c__4319__auto___24994); +var G__24998 = (0); +seq__24975_24983 = G__24995; +chunk__24976_24984 = G__24996; +count__24977_24985 = G__24997; +i__24978_24986 = G__24998; +continue; +} else { +var dep_24999 = cljs.core.first.call(null,seq__24975_24993__$1); +if(cljs.core.truth_((function (){var and__3911__auto__ = dep_24999; +if(cljs.core.truth_(and__3911__auto__)){ +return cljs.core.not.call(null,figwheel.client.file_reloading.in_upper_level_QMARK_.call(null,cljs.core.deref.call(null,state),depth,dep_24999)); +} else { +return and__3911__auto__; +} +})())){ +topo_sort_helper_STAR_.call(null,dep_24999,(depth + (1)),state); +} else { +} + + +var G__25000 = cljs.core.next.call(null,seq__24975_24993__$1); +var G__25001 = null; +var G__25002 = (0); +var G__25003 = (0); +seq__24975_24983 = G__25000; +chunk__24976_24984 = G__25001; +count__24977_24985 = G__25002; +i__24978_24986 = G__25003; +continue; +} +} else { +} +} +break; +} + +if(cljs.core._EQ_.call(null,depth,(0))){ +return elim_dups_STAR_.call(null,cljs.core.reverse.call(null,cljs.core.vals.call(null,cljs.core.deref.call(null,state)))); +} else { +return null; +} +}); +figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR_ = function(deps,depth,state){ +switch(arguments.length){ +case 1: +return figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR___1.call(this,deps); +case 3: +return figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR___3.call(this,deps,depth,state); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR_.cljs$core$IFn$_invoke$arity$1 = figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR___1; +figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR_.cljs$core$IFn$_invoke$arity$3 = figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR___3; +return figwheel$client$file_reloading$build_topo_sort_$_topo_sort_STAR_; +})() +;})(get_deps__$1)) +; +var elim_dups_STAR_ = ((function (get_deps__$1){ +return (function figwheel$client$file_reloading$build_topo_sort_$_elim_dups_STAR_(p__24979){ +var vec__24980 = p__24979; +var seq__24981 = cljs.core.seq.call(null,vec__24980); +var first__24982 = cljs.core.first.call(null,seq__24981); +var seq__24981__$1 = cljs.core.next.call(null,seq__24981); +var x = first__24982; +var xs = seq__24981__$1; +if((x == null)){ +return cljs.core.List.EMPTY; +} else { +return cljs.core.cons.call(null,x,figwheel$client$file_reloading$build_topo_sort_$_elim_dups_STAR_.call(null,cljs.core.map.call(null,((function (vec__24980,seq__24981,first__24982,seq__24981__$1,x,xs,get_deps__$1){ +return (function (p1__24966_SHARP_){ +return clojure.set.difference.call(null,p1__24966_SHARP_,x); +});})(vec__24980,seq__24981,first__24982,seq__24981__$1,x,xs,get_deps__$1)) +,xs))); +} +});})(get_deps__$1)) +; +return topo_sort_STAR_; +}); +figwheel.client.file_reloading.get_all_dependencies = (function figwheel$client$file_reloading$get_all_dependencies(ns){ +var topo_sort_SINGLEQUOTE_ = figwheel.client.file_reloading.build_topo_sort.call(null,figwheel.client.file_reloading.get_requires); +return cljs.core.apply.call(null,cljs.core.concat,topo_sort_SINGLEQUOTE_.call(null,cljs.core.set.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [ns], null)))); +}); +figwheel.client.file_reloading.get_all_dependents = (function figwheel$client$file_reloading$get_all_dependents(nss){ +var topo_sort_SINGLEQUOTE_ = figwheel.client.file_reloading.build_topo_sort.call(null,figwheel.client.file_reloading.ns__GT_dependents); +return cljs.core.filter.call(null,cljs.core.comp.call(null,cljs.core.not,figwheel.client.file_reloading.immutable_ns_QMARK_),cljs.core.reverse.call(null,cljs.core.apply.call(null,cljs.core.concat,topo_sort_SINGLEQUOTE_.call(null,cljs.core.set.call(null,nss))))); +}); +figwheel.client.file_reloading.unprovide_BANG_ = (function figwheel$client$file_reloading$unprovide_BANG_(ns){ +var path = figwheel.client.file_reloading.name__GT_path.call(null,ns); +goog.object.remove(goog.dependencies_.visited,path); + +goog.object.remove(goog.dependencies_.written,path); + +return goog.object.remove(goog.dependencies_.written,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(goog.basePath),cljs.core.str.cljs$core$IFn$_invoke$arity$1(path)].join('')); +}); +figwheel.client.file_reloading.resolve_ns = (function figwheel$client$file_reloading$resolve_ns(ns){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(goog.basePath),cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.file_reloading.name__GT_path.call(null,ns))].join(''); +}); +figwheel.client.file_reloading.addDependency = (function figwheel$client$file_reloading$addDependency(path,provides,requires){ +var seq__25004 = cljs.core.seq.call(null,provides); +var chunk__25005 = null; +var count__25006 = (0); +var i__25007 = (0); +while(true){ +if((i__25007 < count__25006)){ +var prov = cljs.core._nth.call(null,chunk__25005,i__25007); +figwheel.client.file_reloading.path_to_name_BANG_.call(null,path,prov); + +var seq__25008_25016 = cljs.core.seq.call(null,requires); +var chunk__25009_25017 = null; +var count__25010_25018 = (0); +var i__25011_25019 = (0); +while(true){ +if((i__25011_25019 < count__25010_25018)){ +var req_25020 = cljs.core._nth.call(null,chunk__25009_25017,i__25011_25019); +figwheel.client.file_reloading.name_to_parent_BANG_.call(null,req_25020,prov); + + +var G__25021 = seq__25008_25016; +var G__25022 = chunk__25009_25017; +var G__25023 = count__25010_25018; +var G__25024 = (i__25011_25019 + (1)); +seq__25008_25016 = G__25021; +chunk__25009_25017 = G__25022; +count__25010_25018 = G__25023; +i__25011_25019 = G__25024; +continue; +} else { +var temp__4657__auto___25025 = cljs.core.seq.call(null,seq__25008_25016); +if(temp__4657__auto___25025){ +var seq__25008_25026__$1 = temp__4657__auto___25025; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__25008_25026__$1)){ +var c__4319__auto___25027 = cljs.core.chunk_first.call(null,seq__25008_25026__$1); +var G__25028 = cljs.core.chunk_rest.call(null,seq__25008_25026__$1); +var G__25029 = c__4319__auto___25027; +var G__25030 = cljs.core.count.call(null,c__4319__auto___25027); +var G__25031 = (0); +seq__25008_25016 = G__25028; +chunk__25009_25017 = G__25029; +count__25010_25018 = G__25030; +i__25011_25019 = G__25031; +continue; +} else { +var req_25032 = cljs.core.first.call(null,seq__25008_25026__$1); +figwheel.client.file_reloading.name_to_parent_BANG_.call(null,req_25032,prov); + + +var G__25033 = cljs.core.next.call(null,seq__25008_25026__$1); +var G__25034 = null; +var G__25035 = (0); +var G__25036 = (0); +seq__25008_25016 = G__25033; +chunk__25009_25017 = G__25034; +count__25010_25018 = G__25035; +i__25011_25019 = G__25036; +continue; +} +} else { +} +} +break; +} + + +var G__25037 = seq__25004; +var G__25038 = chunk__25005; +var G__25039 = count__25006; +var G__25040 = (i__25007 + (1)); +seq__25004 = G__25037; +chunk__25005 = G__25038; +count__25006 = G__25039; +i__25007 = G__25040; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq.call(null,seq__25004); +if(temp__4657__auto__){ +var seq__25004__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__25004__$1)){ +var c__4319__auto__ = cljs.core.chunk_first.call(null,seq__25004__$1); +var G__25041 = cljs.core.chunk_rest.call(null,seq__25004__$1); +var G__25042 = c__4319__auto__; +var G__25043 = cljs.core.count.call(null,c__4319__auto__); +var G__25044 = (0); +seq__25004 = G__25041; +chunk__25005 = G__25042; +count__25006 = G__25043; +i__25007 = G__25044; +continue; +} else { +var prov = cljs.core.first.call(null,seq__25004__$1); +figwheel.client.file_reloading.path_to_name_BANG_.call(null,path,prov); + +var seq__25012_25045 = cljs.core.seq.call(null,requires); +var chunk__25013_25046 = null; +var count__25014_25047 = (0); +var i__25015_25048 = (0); +while(true){ +if((i__25015_25048 < count__25014_25047)){ +var req_25049 = cljs.core._nth.call(null,chunk__25013_25046,i__25015_25048); +figwheel.client.file_reloading.name_to_parent_BANG_.call(null,req_25049,prov); + + +var G__25050 = seq__25012_25045; +var G__25051 = chunk__25013_25046; +var G__25052 = count__25014_25047; +var G__25053 = (i__25015_25048 + (1)); +seq__25012_25045 = G__25050; +chunk__25013_25046 = G__25051; +count__25014_25047 = G__25052; +i__25015_25048 = G__25053; +continue; +} else { +var temp__4657__auto___25054__$1 = cljs.core.seq.call(null,seq__25012_25045); +if(temp__4657__auto___25054__$1){ +var seq__25012_25055__$1 = temp__4657__auto___25054__$1; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__25012_25055__$1)){ +var c__4319__auto___25056 = cljs.core.chunk_first.call(null,seq__25012_25055__$1); +var G__25057 = cljs.core.chunk_rest.call(null,seq__25012_25055__$1); +var G__25058 = c__4319__auto___25056; +var G__25059 = cljs.core.count.call(null,c__4319__auto___25056); +var G__25060 = (0); +seq__25012_25045 = G__25057; +chunk__25013_25046 = G__25058; +count__25014_25047 = G__25059; +i__25015_25048 = G__25060; +continue; +} else { +var req_25061 = cljs.core.first.call(null,seq__25012_25055__$1); +figwheel.client.file_reloading.name_to_parent_BANG_.call(null,req_25061,prov); + + +var G__25062 = cljs.core.next.call(null,seq__25012_25055__$1); +var G__25063 = null; +var G__25064 = (0); +var G__25065 = (0); +seq__25012_25045 = G__25062; +chunk__25013_25046 = G__25063; +count__25014_25047 = G__25064; +i__25015_25048 = G__25065; +continue; +} +} else { +} +} +break; +} + + +var G__25066 = cljs.core.next.call(null,seq__25004__$1); +var G__25067 = null; +var G__25068 = (0); +var G__25069 = (0); +seq__25004 = G__25066; +chunk__25005 = G__25067; +count__25006 = G__25068; +i__25007 = G__25069; +continue; +} +} else { +return null; +} +} +break; +} +}); +figwheel.client.file_reloading.figwheel_require = (function figwheel$client$file_reloading$figwheel_require(src,reload){ +goog.require = figwheel.client.file_reloading.figwheel_require; + +if(cljs.core._EQ_.call(null,reload,"reload-all")){ +var seq__25070_25074 = cljs.core.seq.call(null,figwheel.client.file_reloading.get_all_dependencies.call(null,src)); +var chunk__25071_25075 = null; +var count__25072_25076 = (0); +var i__25073_25077 = (0); +while(true){ +if((i__25073_25077 < count__25072_25076)){ +var ns_25078 = cljs.core._nth.call(null,chunk__25071_25075,i__25073_25077); +figwheel.client.file_reloading.unprovide_BANG_.call(null,ns_25078); + + +var G__25079 = seq__25070_25074; +var G__25080 = chunk__25071_25075; +var G__25081 = count__25072_25076; +var G__25082 = (i__25073_25077 + (1)); +seq__25070_25074 = G__25079; +chunk__25071_25075 = G__25080; +count__25072_25076 = G__25081; +i__25073_25077 = G__25082; +continue; +} else { +var temp__4657__auto___25083 = cljs.core.seq.call(null,seq__25070_25074); +if(temp__4657__auto___25083){ +var seq__25070_25084__$1 = temp__4657__auto___25083; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__25070_25084__$1)){ +var c__4319__auto___25085 = cljs.core.chunk_first.call(null,seq__25070_25084__$1); +var G__25086 = cljs.core.chunk_rest.call(null,seq__25070_25084__$1); +var G__25087 = c__4319__auto___25085; +var G__25088 = cljs.core.count.call(null,c__4319__auto___25085); +var G__25089 = (0); +seq__25070_25074 = G__25086; +chunk__25071_25075 = G__25087; +count__25072_25076 = G__25088; +i__25073_25077 = G__25089; +continue; +} else { +var ns_25090 = cljs.core.first.call(null,seq__25070_25084__$1); +figwheel.client.file_reloading.unprovide_BANG_.call(null,ns_25090); + + +var G__25091 = cljs.core.next.call(null,seq__25070_25084__$1); +var G__25092 = null; +var G__25093 = (0); +var G__25094 = (0); +seq__25070_25074 = G__25091; +chunk__25071_25075 = G__25092; +count__25072_25076 = G__25093; +i__25073_25077 = G__25094; +continue; +} +} else { +} +} +break; +} +} else { +} + +if(cljs.core.truth_(reload)){ +figwheel.client.file_reloading.unprovide_BANG_.call(null,src); +} else { +} + +return goog.require_figwheel_backup_(src); +}); +/** + * Reusable browser REPL bootstrapping. Patches the essential functions + * in goog.base to support re-loading of namespaces after page load. + */ +figwheel.client.file_reloading.bootstrap_goog_base = (function figwheel$client$file_reloading$bootstrap_goog_base(){ +if(cljs.core.truth_(COMPILED)){ +return null; +} else { +goog.require_figwheel_backup_ = (function (){var or__3922__auto__ = goog.require__; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return goog.require; +} +})(); + +goog.isProvided_ = (function (name){ +return false; +}); + +figwheel.client.file_reloading.setup_path__GT_name_BANG_.call(null); + +figwheel.client.file_reloading.setup_ns__GT_dependents_BANG_.call(null); + +goog.addDependency_figwheel_backup_ = goog.addDependency; + +goog.addDependency = (function() { +var G__25095__delegate = function (args){ +cljs.core.apply.call(null,figwheel.client.file_reloading.addDependency,args); + +return cljs.core.apply.call(null,goog.addDependency_figwheel_backup_,args); +}; +var G__25095 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__25096__i = 0, G__25096__a = new Array(arguments.length - 0); +while (G__25096__i < G__25096__a.length) {G__25096__a[G__25096__i] = arguments[G__25096__i + 0]; ++G__25096__i;} + args = new cljs.core.IndexedSeq(G__25096__a,0,null); +} +return G__25095__delegate.call(this,args);}; +G__25095.cljs$lang$maxFixedArity = 0; +G__25095.cljs$lang$applyTo = (function (arglist__25097){ +var args = cljs.core.seq(arglist__25097); +return G__25095__delegate(args); +}); +G__25095.cljs$core$IFn$_invoke$arity$variadic = G__25095__delegate; +return G__25095; +})() +; + +goog.constructNamespace_("cljs.user"); + +goog.global.CLOSURE_IMPORT_SCRIPT = figwheel.client.file_reloading.queued_file_reload; + +return goog.require = figwheel.client.file_reloading.figwheel_require; +} +}); +figwheel.client.file_reloading.patch_goog_base = (function figwheel$client$file_reloading$patch_goog_base(){ +if(typeof figwheel.client.file_reloading.bootstrapped_cljs !== 'undefined'){ +return null; +} else { +return ( +figwheel.client.file_reloading.bootstrapped_cljs = (function (){ +figwheel.client.file_reloading.bootstrap_goog_base.call(null); + +return true; +})() +) +; +} +}); +figwheel.client.file_reloading.gloader = ((typeof goog.net.jsloader.safeLoad !== 'undefined')?(function (p1__25098_SHARP_,p2__25099_SHARP_){ +return goog.net.jsloader.safeLoad(goog.html.legacyconversions.trustedResourceUrlFromString([cljs.core.str.cljs$core$IFn$_invoke$arity$1(p1__25098_SHARP_)].join('')),p2__25099_SHARP_); +}):((typeof goog.net.jsloader.load !== 'undefined')?(function (p1__25100_SHARP_,p2__25101_SHARP_){ +return goog.net.jsloader.load([cljs.core.str.cljs$core$IFn$_invoke$arity$1(p1__25100_SHARP_)].join(''),p2__25101_SHARP_); +}):(function(){throw cljs.core.ex_info.call(null,"No remote script loading function found.",cljs.core.PersistentArrayMap.EMPTY)})() +)); +figwheel.client.file_reloading.reload_file_in_html_env = (function figwheel$client$file_reloading$reload_file_in_html_env(request_url,callback){ + +var G__25102 = figwheel.client.file_reloading.gloader.call(null,figwheel.client.file_reloading.add_cache_buster.call(null,request_url),({"cleanupWhenDone": true})); +G__25102.addCallback(((function (G__25102){ +return (function (){ +return cljs.core.apply.call(null,callback,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [true], null)); +});})(G__25102)) +); + +G__25102.addErrback(((function (G__25102){ +return (function (){ +return cljs.core.apply.call(null,callback,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [false], null)); +});})(G__25102)) +); + +return G__25102; +}); +figwheel.client.file_reloading.write_script_tag_import = figwheel.client.file_reloading.reload_file_in_html_env; +goog.exportSymbol('figwheel.client.file_reloading.write_script_tag_import', figwheel.client.file_reloading.write_script_tag_import); +figwheel.client.file_reloading.worker_import_script = (function figwheel$client$file_reloading$worker_import_script(request_url,callback){ + +return callback.call(null,(function (){try{self.importScripts(figwheel.client.file_reloading.add_cache_buster.call(null,request_url)); + +return true; +}catch (e25103){if((e25103 instanceof Error)){ +var e = e25103; +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"error","error",-978969032),["Figwheel: Error loading file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(request_url)].join('')); + +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"error","error",-978969032),e.stack); + +return false; +} else { +throw e25103; + +} +}})()); +}); +goog.exportSymbol('figwheel.client.file_reloading.worker_import_script', figwheel.client.file_reloading.worker_import_script); +figwheel.client.file_reloading.create_node_script_import_fn = (function figwheel$client$file_reloading$create_node_script_import_fn(){ +var node_path_lib = require("path"); +var util_pattern = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(node_path_lib.sep),cljs.core.str.cljs$core$IFn$_invoke$arity$1(node_path_lib.join("goog","bootstrap","nodejs.js"))].join(''); +var util_path = goog.object.findKey(require.cache,((function (node_path_lib,util_pattern){ +return (function (v,k,o){ +return goog.string.endsWith(k,util_pattern); +});})(node_path_lib,util_pattern)) +); +var parts = cljs.core.pop.call(null,cljs.core.pop.call(null,clojure.string.split.call(null,util_path,/[\/\\]/))); +var root_path = clojure.string.join.call(null,node_path_lib.sep,parts); +return ((function (node_path_lib,util_pattern,util_path,parts,root_path){ +return (function (request_url,callback){ + +var cache_path = node_path_lib.resolve(root_path,request_url); +goog.object.remove(require.cache,cache_path); + +return callback.call(null,(function (){try{return require(cache_path); +}catch (e25104){if((e25104 instanceof Error)){ +var e = e25104; +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"error","error",-978969032),["Figwheel: Error loading file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cache_path)].join('')); + +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"error","error",-978969032),e.stack); + +return false; +} else { +throw e25104; + +} +}})()); +}); +;})(node_path_lib,util_pattern,util_path,parts,root_path)) +}); +goog.exportSymbol('figwheel.client.file_reloading.create_node_script_import_fn', figwheel.client.file_reloading.create_node_script_import_fn); +figwheel.client.file_reloading.reload_file_STAR_ = (function (){var pred__25105 = cljs.core._EQ_; +var expr__25106 = figwheel.client.utils.host_env_QMARK_.call(null); +if(cljs.core.truth_(pred__25105.call(null,new cljs.core.Keyword(null,"node","node",581201198),expr__25106))){ +return figwheel.client.file_reloading.create_node_script_import_fn.call(null); +} else { +if(cljs.core.truth_(pred__25105.call(null,new cljs.core.Keyword(null,"html","html",-998796897),expr__25106))){ +return figwheel.client.file_reloading.write_script_tag_import; +} else { +if(cljs.core.truth_(pred__25105.call(null,new cljs.core.Keyword(null,"worker","worker",938239996),expr__25106))){ +return figwheel.client.file_reloading.worker_import_script; +} else { +return ((function (pred__25105,expr__25106){ +return (function (a,b){ +throw "Reload not defined for this platform"; +}); +;})(pred__25105,expr__25106)) +} +} +} +})(); +figwheel.client.file_reloading.reload_file = (function figwheel$client$file_reloading$reload_file(p__25108,callback){ +var map__25109 = p__25108; +var map__25109__$1 = ((((!((map__25109 == null)))?(((((map__25109.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25109.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25109):map__25109); +var file_msg = map__25109__$1; +var request_url = cljs.core.get.call(null,map__25109__$1,new cljs.core.Keyword(null,"request-url","request-url",2100346596)); + +figwheel.client.utils.debug_prn.call(null,["FigWheel: Attempting to load ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(request_url)].join('')); + +return (function (){var or__3922__auto__ = goog.object.get(goog.global,"FIGWHEEL_IMPORT_SCRIPT"); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return figwheel.client.file_reloading.reload_file_STAR_; +} +})().call(null,request_url,((function (map__25109,map__25109__$1,file_msg,request_url){ +return (function (success_QMARK_){ +if(cljs.core.truth_(success_QMARK_)){ +figwheel.client.utils.debug_prn.call(null,["FigWheel: Successfully loaded ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(request_url)].join('')); + +return cljs.core.apply.call(null,callback,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.assoc.call(null,file_msg,new cljs.core.Keyword(null,"loaded-file","loaded-file",-168399375),true)], null)); +} else { +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"error","error",-978969032),["Figwheel: Error loading file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(request_url)].join('')); + +return cljs.core.apply.call(null,callback,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [file_msg], null)); +} +});})(map__25109,map__25109__$1,file_msg,request_url)) +); +}); +if(typeof figwheel.client.file_reloading.reload_chan !== 'undefined'){ +} else { +figwheel.client.file_reloading.reload_chan = cljs.core.async.chan.call(null); +} +if(typeof figwheel.client.file_reloading.on_load_callbacks !== 'undefined'){ +} else { +figwheel.client.file_reloading.on_load_callbacks = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +} +if(typeof figwheel.client.file_reloading.dependencies_loaded !== 'undefined'){ +} else { +figwheel.client.file_reloading.dependencies_loaded = cljs.core.atom.call(null,cljs.core.PersistentVector.EMPTY); +} +figwheel.client.file_reloading.blocking_load = (function figwheel$client$file_reloading$blocking_load(url){ +var out = cljs.core.async.chan.call(null); +figwheel.client.file_reloading.reload_file.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"request-url","request-url",2100346596),url], null),((function (out){ +return (function (file_msg){ +cljs.core.async.put_BANG_.call(null,out,file_msg); + +return cljs.core.async.close_BANG_.call(null,out); +});})(out)) +); + +return out; +}); +if(typeof figwheel.client.file_reloading.reloader_loop !== 'undefined'){ +} else { +figwheel.client.file_reloading.reloader_loop = (function (){var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_25147){ +var state_val_25148 = (state_25147[(1)]); +if((state_val_25148 === (7))){ +var inst_25143 = (state_25147[(2)]); +var state_25147__$1 = state_25147; +var statearr_25149_25175 = state_25147__$1; +(statearr_25149_25175[(2)] = inst_25143); + +(statearr_25149_25175[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (1))){ +var state_25147__$1 = state_25147; +var statearr_25150_25176 = state_25147__$1; +(statearr_25150_25176[(2)] = null); + +(statearr_25150_25176[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (4))){ +var inst_25113 = (state_25147[(7)]); +var inst_25113__$1 = (state_25147[(2)]); +var state_25147__$1 = (function (){var statearr_25151 = state_25147; +(statearr_25151[(7)] = inst_25113__$1); + +return statearr_25151; +})(); +if(cljs.core.truth_(inst_25113__$1)){ +var statearr_25152_25177 = state_25147__$1; +(statearr_25152_25177[(1)] = (5)); + +} else { +var statearr_25153_25178 = state_25147__$1; +(statearr_25153_25178[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (15))){ +var inst_25128 = (state_25147[(8)]); +var inst_25126 = (state_25147[(9)]); +var inst_25130 = inst_25128.call(null,inst_25126); +var state_25147__$1 = state_25147; +var statearr_25154_25179 = state_25147__$1; +(statearr_25154_25179[(2)] = inst_25130); + +(statearr_25154_25179[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (13))){ +var inst_25137 = (state_25147[(2)]); +var state_25147__$1 = state_25147; +var statearr_25155_25180 = state_25147__$1; +(statearr_25155_25180[(2)] = inst_25137); + +(statearr_25155_25180[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (6))){ +var state_25147__$1 = state_25147; +var statearr_25156_25181 = state_25147__$1; +(statearr_25156_25181[(2)] = null); + +(statearr_25156_25181[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (17))){ +var inst_25134 = (state_25147[(2)]); +var state_25147__$1 = state_25147; +var statearr_25157_25182 = state_25147__$1; +(statearr_25157_25182[(2)] = inst_25134); + +(statearr_25157_25182[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (3))){ +var inst_25145 = (state_25147[(2)]); +var state_25147__$1 = state_25147; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_25147__$1,inst_25145); +} else { +if((state_val_25148 === (12))){ +var state_25147__$1 = state_25147; +var statearr_25158_25183 = state_25147__$1; +(statearr_25158_25183[(2)] = null); + +(statearr_25158_25183[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (2))){ +var state_25147__$1 = state_25147; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_25147__$1,(4),figwheel.client.file_reloading.reload_chan); +} else { +if((state_val_25148 === (11))){ +var inst_25118 = (state_25147[(10)]); +var inst_25124 = figwheel.client.file_reloading.blocking_load.call(null,inst_25118); +var state_25147__$1 = state_25147; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_25147__$1,(14),inst_25124); +} else { +if((state_val_25148 === (9))){ +var inst_25118 = (state_25147[(10)]); +var state_25147__$1 = state_25147; +if(cljs.core.truth_(inst_25118)){ +var statearr_25159_25184 = state_25147__$1; +(statearr_25159_25184[(1)] = (11)); + +} else { +var statearr_25160_25185 = state_25147__$1; +(statearr_25160_25185[(1)] = (12)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (5))){ +var inst_25113 = (state_25147[(7)]); +var inst_25119 = (state_25147[(11)]); +var inst_25118 = cljs.core.nth.call(null,inst_25113,(0),null); +var inst_25119__$1 = cljs.core.nth.call(null,inst_25113,(1),null); +var state_25147__$1 = (function (){var statearr_25161 = state_25147; +(statearr_25161[(10)] = inst_25118); + +(statearr_25161[(11)] = inst_25119__$1); + +return statearr_25161; +})(); +if(cljs.core.truth_(inst_25119__$1)){ +var statearr_25162_25186 = state_25147__$1; +(statearr_25162_25186[(1)] = (8)); + +} else { +var statearr_25163_25187 = state_25147__$1; +(statearr_25163_25187[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (14))){ +var inst_25128 = (state_25147[(8)]); +var inst_25118 = (state_25147[(10)]); +var inst_25126 = (state_25147[(2)]); +var inst_25127 = cljs.core.deref.call(null,figwheel.client.file_reloading.on_load_callbacks); +var inst_25128__$1 = cljs.core.get.call(null,inst_25127,inst_25118); +var state_25147__$1 = (function (){var statearr_25164 = state_25147; +(statearr_25164[(8)] = inst_25128__$1); + +(statearr_25164[(9)] = inst_25126); + +return statearr_25164; +})(); +if(cljs.core.truth_(inst_25128__$1)){ +var statearr_25165_25188 = state_25147__$1; +(statearr_25165_25188[(1)] = (15)); + +} else { +var statearr_25166_25189 = state_25147__$1; +(statearr_25166_25189[(1)] = (16)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (16))){ +var inst_25126 = (state_25147[(9)]); +var inst_25132 = cljs.core.swap_BANG_.call(null,figwheel.client.file_reloading.dependencies_loaded,cljs.core.conj,inst_25126); +var state_25147__$1 = state_25147; +var statearr_25167_25190 = state_25147__$1; +(statearr_25167_25190[(2)] = inst_25132); + +(statearr_25167_25190[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (10))){ +var inst_25139 = (state_25147[(2)]); +var state_25147__$1 = (function (){var statearr_25168 = state_25147; +(statearr_25168[(12)] = inst_25139); + +return statearr_25168; +})(); +var statearr_25169_25191 = state_25147__$1; +(statearr_25169_25191[(2)] = null); + +(statearr_25169_25191[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25148 === (8))){ +var inst_25119 = (state_25147[(11)]); +var inst_25121 = eval(inst_25119); +var state_25147__$1 = state_25147; +var statearr_25170_25192 = state_25147__$1; +(statearr_25170_25192[(2)] = inst_25121); + +(statearr_25170_25192[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var figwheel$client$file_reloading$state_machine__20784__auto__ = null; +var figwheel$client$file_reloading$state_machine__20784__auto____0 = (function (){ +var statearr_25171 = [null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_25171[(0)] = figwheel$client$file_reloading$state_machine__20784__auto__); + +(statearr_25171[(1)] = (1)); + +return statearr_25171; +}); +var figwheel$client$file_reloading$state_machine__20784__auto____1 = (function (state_25147){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_25147); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e25172){if((e25172 instanceof Object)){ +var ex__20787__auto__ = e25172; +var statearr_25173_25193 = state_25147; +(statearr_25173_25193[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_25147); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e25172; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__25194 = state_25147; +state_25147 = G__25194; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$file_reloading$state_machine__20784__auto__ = function(state_25147){ +switch(arguments.length){ +case 0: +return figwheel$client$file_reloading$state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$file_reloading$state_machine__20784__auto____1.call(this,state_25147); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$file_reloading$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$file_reloading$state_machine__20784__auto____0; +figwheel$client$file_reloading$state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$file_reloading$state_machine__20784__auto____1; +return figwheel$client$file_reloading$state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_25174 = f__20873__auto__.call(null); +(statearr_25174[(6)] = c__20872__auto__); + +return statearr_25174; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__auto__; +})(); +} +figwheel.client.file_reloading.queued_file_reload = (function figwheel$client$file_reloading$queued_file_reload(var_args){ +var G__25196 = arguments.length; +switch (G__25196) { +case 1: +return figwheel.client.file_reloading.queued_file_reload.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return figwheel.client.file_reloading.queued_file_reload.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(''))); + +} +}); + +figwheel.client.file_reloading.queued_file_reload.cljs$core$IFn$_invoke$arity$1 = (function (url){ +return figwheel.client.file_reloading.queued_file_reload.call(null,url,null); +}); + +figwheel.client.file_reloading.queued_file_reload.cljs$core$IFn$_invoke$arity$2 = (function (url,opt_source_text){ +return cljs.core.async.put_BANG_.call(null,figwheel.client.file_reloading.reload_chan,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [url,opt_source_text], null)); +}); + +figwheel.client.file_reloading.queued_file_reload.cljs$lang$maxFixedArity = 2; + +figwheel.client.file_reloading.require_with_callback = (function figwheel$client$file_reloading$require_with_callback(p__25198,callback){ +var map__25199 = p__25198; +var map__25199__$1 = ((((!((map__25199 == null)))?(((((map__25199.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25199.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25199):map__25199); +var file_msg = map__25199__$1; +var namespace = cljs.core.get.call(null,map__25199__$1,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); +var request_url = figwheel.client.file_reloading.resolve_ns.call(null,namespace); +cljs.core.swap_BANG_.call(null,figwheel.client.file_reloading.on_load_callbacks,cljs.core.assoc,request_url,((function (request_url,map__25199,map__25199__$1,file_msg,namespace){ +return (function (file_msg_SINGLEQUOTE_){ +cljs.core.swap_BANG_.call(null,figwheel.client.file_reloading.on_load_callbacks,cljs.core.dissoc,request_url); + +return cljs.core.apply.call(null,callback,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.merge.call(null,file_msg,cljs.core.select_keys.call(null,file_msg_SINGLEQUOTE_,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-file","loaded-file",-168399375)], null)))], null)); +});})(request_url,map__25199,map__25199__$1,file_msg,namespace)) +); + +return figwheel.client.file_reloading.figwheel_require.call(null,cljs.core.name.call(null,namespace),true); +}); +figwheel.client.file_reloading.figwheel_no_load_QMARK_ = (function figwheel$client$file_reloading$figwheel_no_load_QMARK_(p__25201){ +var map__25202 = p__25201; +var map__25202__$1 = ((((!((map__25202 == null)))?(((((map__25202.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25202.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25202):map__25202); +var file_msg = map__25202__$1; +var namespace = cljs.core.get.call(null,map__25202__$1,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); +var meta_pragmas = cljs.core.get.call(null,cljs.core.deref.call(null,figwheel.client.file_reloading.figwheel_meta_pragmas),cljs.core.name.call(null,namespace)); +return new cljs.core.Keyword(null,"figwheel-no-load","figwheel-no-load",-555840179).cljs$core$IFn$_invoke$arity$1(meta_pragmas); +}); +figwheel.client.file_reloading.ns_exists_QMARK_ = (function figwheel$client$file_reloading$ns_exists_QMARK_(namespace){ +return !((cljs.core.reduce.call(null,cljs.core.fnil.call(null,goog.object.get,({})),goog.global,clojure.string.split.call(null,cljs.core.name.call(null,namespace),".")) == null)); +}); +figwheel.client.file_reloading.reload_file_QMARK_ = (function figwheel$client$file_reloading$reload_file_QMARK_(p__25204){ +var map__25205 = p__25204; +var map__25205__$1 = ((((!((map__25205 == null)))?(((((map__25205.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25205.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25205):map__25205); +var file_msg = map__25205__$1; +var namespace = cljs.core.get.call(null,map__25205__$1,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); + +var meta_pragmas = cljs.core.get.call(null,cljs.core.deref.call(null,figwheel.client.file_reloading.figwheel_meta_pragmas),cljs.core.name.call(null,namespace)); +var and__3911__auto__ = cljs.core.not.call(null,figwheel.client.file_reloading.figwheel_no_load_QMARK_.call(null,file_msg)); +if(and__3911__auto__){ +var or__3922__auto__ = new cljs.core.Keyword(null,"figwheel-always","figwheel-always",799819691).cljs$core$IFn$_invoke$arity$1(meta_pragmas); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = new cljs.core.Keyword(null,"figwheel-load","figwheel-load",1316089175).cljs$core$IFn$_invoke$arity$1(meta_pragmas); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +var or__3922__auto____$2 = figwheel.client.file_reloading.provided_QMARK_.call(null,cljs.core.name.call(null,namespace)); +if(cljs.core.truth_(or__3922__auto____$2)){ +return or__3922__auto____$2; +} else { +return figwheel.client.file_reloading.ns_exists_QMARK_.call(null,namespace); +} +} +} +} else { +return and__3911__auto__; +} +}); +figwheel.client.file_reloading.js_reload = (function figwheel$client$file_reloading$js_reload(p__25207,callback){ +var map__25208 = p__25207; +var map__25208__$1 = ((((!((map__25208 == null)))?(((((map__25208.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25208.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25208):map__25208); +var file_msg = map__25208__$1; +var request_url = cljs.core.get.call(null,map__25208__$1,new cljs.core.Keyword(null,"request-url","request-url",2100346596)); +var namespace = cljs.core.get.call(null,map__25208__$1,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); + +if(cljs.core.truth_(figwheel.client.file_reloading.reload_file_QMARK_.call(null,file_msg))){ +return figwheel.client.file_reloading.require_with_callback.call(null,file_msg,callback); +} else { +figwheel.client.utils.debug_prn.call(null,["Figwheel: Not trying to load file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(request_url)].join('')); + +return cljs.core.apply.call(null,callback,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [file_msg], null)); +} +}); +figwheel.client.file_reloading.reload_js_file = (function figwheel$client$file_reloading$reload_js_file(file_msg){ +var out = cljs.core.async.chan.call(null); +figwheel.client.file_reloading.js_reload.call(null,file_msg,((function (out){ +return (function (url){ +cljs.core.async.put_BANG_.call(null,out,url); + +return cljs.core.async.close_BANG_.call(null,out); +});})(out)) +); + +return out; +}); +/** + * Returns a chanel with one collection of loaded filenames on it. + */ +figwheel.client.file_reloading.load_all_js_files = (function figwheel$client$file_reloading$load_all_js_files(files){ +var out = cljs.core.async.chan.call(null); +var c__20872__auto___25258 = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto___25258,out){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto___25258,out){ +return (function (state_25243){ +var state_val_25244 = (state_25243[(1)]); +if((state_val_25244 === (1))){ +var inst_25217 = cljs.core.seq.call(null,files); +var inst_25218 = cljs.core.first.call(null,inst_25217); +var inst_25219 = cljs.core.next.call(null,inst_25217); +var inst_25220 = files; +var state_25243__$1 = (function (){var statearr_25245 = state_25243; +(statearr_25245[(7)] = inst_25219); + +(statearr_25245[(8)] = inst_25218); + +(statearr_25245[(9)] = inst_25220); + +return statearr_25245; +})(); +var statearr_25246_25259 = state_25243__$1; +(statearr_25246_25259[(2)] = null); + +(statearr_25246_25259[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25244 === (2))){ +var inst_25226 = (state_25243[(10)]); +var inst_25220 = (state_25243[(9)]); +var inst_25225 = cljs.core.seq.call(null,inst_25220); +var inst_25226__$1 = cljs.core.first.call(null,inst_25225); +var inst_25227 = cljs.core.next.call(null,inst_25225); +var inst_25228 = (inst_25226__$1 == null); +var inst_25229 = cljs.core.not.call(null,inst_25228); +var state_25243__$1 = (function (){var statearr_25247 = state_25243; +(statearr_25247[(11)] = inst_25227); + +(statearr_25247[(10)] = inst_25226__$1); + +return statearr_25247; +})(); +if(inst_25229){ +var statearr_25248_25260 = state_25243__$1; +(statearr_25248_25260[(1)] = (4)); + +} else { +var statearr_25249_25261 = state_25243__$1; +(statearr_25249_25261[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25244 === (3))){ +var inst_25241 = (state_25243[(2)]); +var state_25243__$1 = state_25243; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_25243__$1,inst_25241); +} else { +if((state_val_25244 === (4))){ +var inst_25226 = (state_25243[(10)]); +var inst_25231 = figwheel.client.file_reloading.reload_js_file.call(null,inst_25226); +var state_25243__$1 = state_25243; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_25243__$1,(7),inst_25231); +} else { +if((state_val_25244 === (5))){ +var inst_25237 = cljs.core.async.close_BANG_.call(null,out); +var state_25243__$1 = state_25243; +var statearr_25250_25262 = state_25243__$1; +(statearr_25250_25262[(2)] = inst_25237); + +(statearr_25250_25262[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25244 === (6))){ +var inst_25239 = (state_25243[(2)]); +var state_25243__$1 = state_25243; +var statearr_25251_25263 = state_25243__$1; +(statearr_25251_25263[(2)] = inst_25239); + +(statearr_25251_25263[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25244 === (7))){ +var inst_25227 = (state_25243[(11)]); +var inst_25233 = (state_25243[(2)]); +var inst_25234 = cljs.core.async.put_BANG_.call(null,out,inst_25233); +var inst_25220 = inst_25227; +var state_25243__$1 = (function (){var statearr_25252 = state_25243; +(statearr_25252[(12)] = inst_25234); + +(statearr_25252[(9)] = inst_25220); + +return statearr_25252; +})(); +var statearr_25253_25264 = state_25243__$1; +(statearr_25253_25264[(2)] = null); + +(statearr_25253_25264[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +});})(c__20872__auto___25258,out)) +; +return ((function (switch__20783__auto__,c__20872__auto___25258,out){ +return (function() { +var figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto__ = null; +var figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto____0 = (function (){ +var statearr_25254 = [null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_25254[(0)] = figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto__); + +(statearr_25254[(1)] = (1)); + +return statearr_25254; +}); +var figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto____1 = (function (state_25243){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_25243); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e25255){if((e25255 instanceof Object)){ +var ex__20787__auto__ = e25255; +var statearr_25256_25265 = state_25243; +(statearr_25256_25265[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_25243); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e25255; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__25266 = state_25243; +state_25243 = G__25266; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto__ = function(state_25243){ +switch(arguments.length){ +case 0: +return figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto____1.call(this,state_25243); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto____0; +figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto____1; +return figwheel$client$file_reloading$load_all_js_files_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto___25258,out)) +})(); +var state__20874__auto__ = (function (){var statearr_25257 = f__20873__auto__.call(null); +(statearr_25257[(6)] = c__20872__auto___25258); + +return statearr_25257; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto___25258,out)) +); + + +return cljs.core.async.into.call(null,cljs.core.PersistentVector.EMPTY,out); +}); +figwheel.client.file_reloading.eval_body = (function figwheel$client$file_reloading$eval_body(p__25267,opts){ +var map__25268 = p__25267; +var map__25268__$1 = ((((!((map__25268 == null)))?(((((map__25268.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25268.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25268):map__25268); +var eval_body = cljs.core.get.call(null,map__25268__$1,new cljs.core.Keyword(null,"eval-body","eval-body",-907279883)); +var file = cljs.core.get.call(null,map__25268__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +if(cljs.core.truth_((function (){var and__3911__auto__ = eval_body; +if(cljs.core.truth_(and__3911__auto__)){ +return typeof eval_body === 'string'; +} else { +return and__3911__auto__; +} +})())){ +var code = eval_body; +try{figwheel.client.utils.debug_prn.call(null,["Evaling file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join('')); + +return figwheel.client.utils.eval_helper.call(null,code,opts); +}catch (e25270){var e = e25270; +return figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"error","error",-978969032),["Unable to evaluate ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join('')); +}} else { +return null; +} +}); +figwheel.client.file_reloading.expand_files = (function figwheel$client$file_reloading$expand_files(files){ +var deps = figwheel.client.file_reloading.get_all_dependents.call(null,cljs.core.map.call(null,new cljs.core.Keyword(null,"namespace","namespace",-377510372),files)); +return cljs.core.filter.call(null,cljs.core.comp.call(null,cljs.core.not,cljs.core.partial.call(null,cljs.core.re_matches,/figwheel\.connect.*/),new cljs.core.Keyword(null,"namespace","namespace",-377510372)),cljs.core.map.call(null,((function (deps){ +return (function (n){ +var temp__4655__auto__ = cljs.core.first.call(null,cljs.core.filter.call(null,((function (deps){ +return (function (p1__25271_SHARP_){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"namespace","namespace",-377510372).cljs$core$IFn$_invoke$arity$1(p1__25271_SHARP_),n); +});})(deps)) +,files)); +if(cljs.core.truth_(temp__4655__auto__)){ +var file_msg = temp__4655__auto__; +return file_msg; +} else { +return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"namespace","namespace",-377510372),new cljs.core.Keyword(null,"namespace","namespace",-377510372),n], null); +} +});})(deps)) +,deps)); +}); +figwheel.client.file_reloading.sort_files = (function figwheel$client$file_reloading$sort_files(files){ +if((cljs.core.count.call(null,files) <= (1))){ +return files; +} else { +var keep_files = cljs.core.set.call(null,cljs.core.keep.call(null,new cljs.core.Keyword(null,"namespace","namespace",-377510372),files)); +return cljs.core.filter.call(null,cljs.core.comp.call(null,keep_files,new cljs.core.Keyword(null,"namespace","namespace",-377510372)),figwheel.client.file_reloading.expand_files.call(null,files)); +} +}); +figwheel.client.file_reloading.get_figwheel_always = (function figwheel$client$file_reloading$get_figwheel_always(){ +return cljs.core.map.call(null,(function (p__25272){ +var vec__25273 = p__25272; +var k = cljs.core.nth.call(null,vec__25273,(0),null); +var v = cljs.core.nth.call(null,vec__25273,(1),null); +return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"namespace","namespace",-377510372),k,new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"namespace","namespace",-377510372)], null); +}),cljs.core.filter.call(null,(function (p__25276){ +var vec__25277 = p__25276; +var k = cljs.core.nth.call(null,vec__25277,(0),null); +var v = cljs.core.nth.call(null,vec__25277,(1),null); +return new cljs.core.Keyword(null,"figwheel-always","figwheel-always",799819691).cljs$core$IFn$_invoke$arity$1(v); +}),cljs.core.deref.call(null,figwheel.client.file_reloading.figwheel_meta_pragmas))); +}); +figwheel.client.file_reloading.reload_js_files = (function figwheel$client$file_reloading$reload_js_files(p__25283,p__25284){ +var map__25285 = p__25283; +var map__25285__$1 = ((((!((map__25285 == null)))?(((((map__25285.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25285.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25285):map__25285); +var opts = map__25285__$1; +var before_jsload = cljs.core.get.call(null,map__25285__$1,new cljs.core.Keyword(null,"before-jsload","before-jsload",-847513128)); +var on_jsload = cljs.core.get.call(null,map__25285__$1,new cljs.core.Keyword(null,"on-jsload","on-jsload",-395756602)); +var reload_dependents = cljs.core.get.call(null,map__25285__$1,new cljs.core.Keyword(null,"reload-dependents","reload-dependents",-956865430)); +var map__25286 = p__25284; +var map__25286__$1 = ((((!((map__25286 == null)))?(((((map__25286.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25286.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25286):map__25286); +var msg = map__25286__$1; +var files = cljs.core.get.call(null,map__25286__$1,new cljs.core.Keyword(null,"files","files",-472457450)); +var figwheel_meta = cljs.core.get.call(null,map__25286__$1,new cljs.core.Keyword(null,"figwheel-meta","figwheel-meta",-225970237)); +var recompile_dependents = cljs.core.get.call(null,map__25286__$1,new cljs.core.Keyword(null,"recompile-dependents","recompile-dependents",523804171)); +if(cljs.core.empty_QMARK_.call(null,figwheel_meta)){ +} else { +cljs.core.reset_BANG_.call(null,figwheel.client.file_reloading.figwheel_meta_pragmas,figwheel_meta); +} + +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (state_25440){ +var state_val_25441 = (state_25440[(1)]); +if((state_val_25441 === (7))){ +var inst_25301 = (state_25440[(7)]); +var inst_25300 = (state_25440[(8)]); +var inst_25302 = (state_25440[(9)]); +var inst_25303 = (state_25440[(10)]); +var inst_25308 = cljs.core._nth.call(null,inst_25301,inst_25303); +var inst_25309 = figwheel.client.file_reloading.eval_body.call(null,inst_25308,opts); +var inst_25310 = (inst_25303 + (1)); +var tmp25442 = inst_25301; +var tmp25443 = inst_25300; +var tmp25444 = inst_25302; +var inst_25300__$1 = tmp25443; +var inst_25301__$1 = tmp25442; +var inst_25302__$1 = tmp25444; +var inst_25303__$1 = inst_25310; +var state_25440__$1 = (function (){var statearr_25445 = state_25440; +(statearr_25445[(7)] = inst_25301__$1); + +(statearr_25445[(8)] = inst_25300__$1); + +(statearr_25445[(9)] = inst_25302__$1); + +(statearr_25445[(11)] = inst_25309); + +(statearr_25445[(10)] = inst_25303__$1); + +return statearr_25445; +})(); +var statearr_25446_25529 = state_25440__$1; +(statearr_25446_25529[(2)] = null); + +(statearr_25446_25529[(1)] = (5)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (20))){ +var inst_25343 = (state_25440[(12)]); +var inst_25351 = figwheel.client.file_reloading.sort_files.call(null,inst_25343); +var state_25440__$1 = state_25440; +var statearr_25447_25530 = state_25440__$1; +(statearr_25447_25530[(2)] = inst_25351); + +(statearr_25447_25530[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (27))){ +var state_25440__$1 = state_25440; +var statearr_25448_25531 = state_25440__$1; +(statearr_25448_25531[(2)] = null); + +(statearr_25448_25531[(1)] = (28)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (1))){ +var inst_25292 = (state_25440[(13)]); +var inst_25289 = before_jsload.call(null,files); +var inst_25290 = figwheel.client.file_reloading.before_jsload_custom_event.call(null,files); +var inst_25291 = (function (){return ((function (inst_25292,inst_25289,inst_25290,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (p1__25280_SHARP_){ +return new cljs.core.Keyword(null,"eval-body","eval-body",-907279883).cljs$core$IFn$_invoke$arity$1(p1__25280_SHARP_); +}); +;})(inst_25292,inst_25289,inst_25290,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25292__$1 = cljs.core.filter.call(null,inst_25291,files); +var inst_25293 = cljs.core.not_empty.call(null,inst_25292__$1); +var state_25440__$1 = (function (){var statearr_25449 = state_25440; +(statearr_25449[(13)] = inst_25292__$1); + +(statearr_25449[(14)] = inst_25290); + +(statearr_25449[(15)] = inst_25289); + +return statearr_25449; +})(); +if(cljs.core.truth_(inst_25293)){ +var statearr_25450_25532 = state_25440__$1; +(statearr_25450_25532[(1)] = (2)); + +} else { +var statearr_25451_25533 = state_25440__$1; +(statearr_25451_25533[(1)] = (3)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (24))){ +var state_25440__$1 = state_25440; +var statearr_25452_25534 = state_25440__$1; +(statearr_25452_25534[(2)] = null); + +(statearr_25452_25534[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (39))){ +var inst_25393 = (state_25440[(16)]); +var state_25440__$1 = state_25440; +var statearr_25453_25535 = state_25440__$1; +(statearr_25453_25535[(2)] = inst_25393); + +(statearr_25453_25535[(1)] = (40)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (46))){ +var inst_25435 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +var statearr_25454_25536 = state_25440__$1; +(statearr_25454_25536[(2)] = inst_25435); + +(statearr_25454_25536[(1)] = (31)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (4))){ +var inst_25337 = (state_25440[(2)]); +var inst_25338 = cljs.core.List.EMPTY; +var inst_25339 = cljs.core.reset_BANG_.call(null,figwheel.client.file_reloading.dependencies_loaded,inst_25338); +var inst_25340 = (function (){return ((function (inst_25337,inst_25338,inst_25339,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (p1__25281_SHARP_){ +var and__3911__auto__ = new cljs.core.Keyword(null,"namespace","namespace",-377510372).cljs$core$IFn$_invoke$arity$1(p1__25281_SHARP_); +if(cljs.core.truth_(and__3911__auto__)){ +return ((cljs.core.not.call(null,new cljs.core.Keyword(null,"eval-body","eval-body",-907279883).cljs$core$IFn$_invoke$arity$1(p1__25281_SHARP_))) && (cljs.core.not.call(null,figwheel.client.file_reloading.figwheel_no_load_QMARK_.call(null,p1__25281_SHARP_)))); +} else { +return and__3911__auto__; +} +}); +;})(inst_25337,inst_25338,inst_25339,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25341 = cljs.core.filter.call(null,inst_25340,files); +var inst_25342 = figwheel.client.file_reloading.get_figwheel_always.call(null); +var inst_25343 = cljs.core.concat.call(null,inst_25341,inst_25342); +var state_25440__$1 = (function (){var statearr_25455 = state_25440; +(statearr_25455[(12)] = inst_25343); + +(statearr_25455[(17)] = inst_25339); + +(statearr_25455[(18)] = inst_25337); + +return statearr_25455; +})(); +if(cljs.core.truth_(reload_dependents)){ +var statearr_25456_25537 = state_25440__$1; +(statearr_25456_25537[(1)] = (16)); + +} else { +var statearr_25457_25538 = state_25440__$1; +(statearr_25457_25538[(1)] = (17)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (15))){ +var inst_25327 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +var statearr_25458_25539 = state_25440__$1; +(statearr_25458_25539[(2)] = inst_25327); + +(statearr_25458_25539[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (21))){ +var inst_25353 = (state_25440[(19)]); +var inst_25353__$1 = (state_25440[(2)]); +var inst_25354 = figwheel.client.file_reloading.load_all_js_files.call(null,inst_25353__$1); +var state_25440__$1 = (function (){var statearr_25459 = state_25440; +(statearr_25459[(19)] = inst_25353__$1); + +return statearr_25459; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_25440__$1,(22),inst_25354); +} else { +if((state_val_25441 === (31))){ +var inst_25438 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_25440__$1,inst_25438); +} else { +if((state_val_25441 === (32))){ +var inst_25393 = (state_25440[(16)]); +var inst_25398 = inst_25393.cljs$lang$protocol_mask$partition0$; +var inst_25399 = (inst_25398 & (64)); +var inst_25400 = inst_25393.cljs$core$ISeq$; +var inst_25401 = (cljs.core.PROTOCOL_SENTINEL === inst_25400); +var inst_25402 = ((inst_25399) || (inst_25401)); +var state_25440__$1 = state_25440; +if(cljs.core.truth_(inst_25402)){ +var statearr_25460_25540 = state_25440__$1; +(statearr_25460_25540[(1)] = (35)); + +} else { +var statearr_25461_25541 = state_25440__$1; +(statearr_25461_25541[(1)] = (36)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (40))){ +var inst_25415 = (state_25440[(20)]); +var inst_25414 = (state_25440[(2)]); +var inst_25415__$1 = cljs.core.get.call(null,inst_25414,new cljs.core.Keyword(null,"figwheel-no-load","figwheel-no-load",-555840179)); +var inst_25416 = cljs.core.get.call(null,inst_25414,new cljs.core.Keyword(null,"not-required","not-required",-950359114)); +var inst_25417 = cljs.core.not_empty.call(null,inst_25415__$1); +var state_25440__$1 = (function (){var statearr_25462 = state_25440; +(statearr_25462[(20)] = inst_25415__$1); + +(statearr_25462[(21)] = inst_25416); + +return statearr_25462; +})(); +if(cljs.core.truth_(inst_25417)){ +var statearr_25463_25542 = state_25440__$1; +(statearr_25463_25542[(1)] = (41)); + +} else { +var statearr_25464_25543 = state_25440__$1; +(statearr_25464_25543[(1)] = (42)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (33))){ +var state_25440__$1 = state_25440; +var statearr_25465_25544 = state_25440__$1; +(statearr_25465_25544[(2)] = false); + +(statearr_25465_25544[(1)] = (34)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (13))){ +var inst_25313 = (state_25440[(22)]); +var inst_25317 = cljs.core.chunk_first.call(null,inst_25313); +var inst_25318 = cljs.core.chunk_rest.call(null,inst_25313); +var inst_25319 = cljs.core.count.call(null,inst_25317); +var inst_25300 = inst_25318; +var inst_25301 = inst_25317; +var inst_25302 = inst_25319; +var inst_25303 = (0); +var state_25440__$1 = (function (){var statearr_25466 = state_25440; +(statearr_25466[(7)] = inst_25301); + +(statearr_25466[(8)] = inst_25300); + +(statearr_25466[(9)] = inst_25302); + +(statearr_25466[(10)] = inst_25303); + +return statearr_25466; +})(); +var statearr_25467_25545 = state_25440__$1; +(statearr_25467_25545[(2)] = null); + +(statearr_25467_25545[(1)] = (5)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (22))){ +var inst_25356 = (state_25440[(23)]); +var inst_25357 = (state_25440[(24)]); +var inst_25361 = (state_25440[(25)]); +var inst_25353 = (state_25440[(19)]); +var inst_25356__$1 = (state_25440[(2)]); +var inst_25357__$1 = cljs.core.filter.call(null,new cljs.core.Keyword(null,"loaded-file","loaded-file",-168399375),inst_25356__$1); +var inst_25358 = (function (){var all_files = inst_25353; +var res_SINGLEQUOTE_ = inst_25356__$1; +var res = inst_25357__$1; +return ((function (all_files,res_SINGLEQUOTE_,res,inst_25356,inst_25357,inst_25361,inst_25353,inst_25356__$1,inst_25357__$1,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (p1__25282_SHARP_){ +return cljs.core.not.call(null,new cljs.core.Keyword(null,"loaded-file","loaded-file",-168399375).cljs$core$IFn$_invoke$arity$1(p1__25282_SHARP_)); +}); +;})(all_files,res_SINGLEQUOTE_,res,inst_25356,inst_25357,inst_25361,inst_25353,inst_25356__$1,inst_25357__$1,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25359 = cljs.core.filter.call(null,inst_25358,inst_25356__$1); +var inst_25360 = cljs.core.deref.call(null,figwheel.client.file_reloading.dependencies_loaded); +var inst_25361__$1 = cljs.core.filter.call(null,new cljs.core.Keyword(null,"loaded-file","loaded-file",-168399375),inst_25360); +var inst_25362 = cljs.core.not_empty.call(null,inst_25361__$1); +var state_25440__$1 = (function (){var statearr_25468 = state_25440; +(statearr_25468[(23)] = inst_25356__$1); + +(statearr_25468[(24)] = inst_25357__$1); + +(statearr_25468[(25)] = inst_25361__$1); + +(statearr_25468[(26)] = inst_25359); + +return statearr_25468; +})(); +if(cljs.core.truth_(inst_25362)){ +var statearr_25469_25546 = state_25440__$1; +(statearr_25469_25546[(1)] = (23)); + +} else { +var statearr_25470_25547 = state_25440__$1; +(statearr_25470_25547[(1)] = (24)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (36))){ +var state_25440__$1 = state_25440; +var statearr_25471_25548 = state_25440__$1; +(statearr_25471_25548[(2)] = false); + +(statearr_25471_25548[(1)] = (37)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (41))){ +var inst_25415 = (state_25440[(20)]); +var inst_25419 = cljs.core.comp.call(null,figwheel.client.file_reloading.name__GT_path,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); +var inst_25420 = cljs.core.map.call(null,inst_25419,inst_25415); +var inst_25421 = cljs.core.pr_str.call(null,inst_25420); +var inst_25422 = ["figwheel-no-load meta-data: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(inst_25421)].join(''); +var inst_25423 = figwheel.client.utils.log.call(null,inst_25422); +var state_25440__$1 = state_25440; +var statearr_25472_25549 = state_25440__$1; +(statearr_25472_25549[(2)] = inst_25423); + +(statearr_25472_25549[(1)] = (43)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (43))){ +var inst_25416 = (state_25440[(21)]); +var inst_25426 = (state_25440[(2)]); +var inst_25427 = cljs.core.not_empty.call(null,inst_25416); +var state_25440__$1 = (function (){var statearr_25473 = state_25440; +(statearr_25473[(27)] = inst_25426); + +return statearr_25473; +})(); +if(cljs.core.truth_(inst_25427)){ +var statearr_25474_25550 = state_25440__$1; +(statearr_25474_25550[(1)] = (44)); + +} else { +var statearr_25475_25551 = state_25440__$1; +(statearr_25475_25551[(1)] = (45)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (29))){ +var inst_25356 = (state_25440[(23)]); +var inst_25357 = (state_25440[(24)]); +var inst_25361 = (state_25440[(25)]); +var inst_25353 = (state_25440[(19)]); +var inst_25393 = (state_25440[(16)]); +var inst_25359 = (state_25440[(26)]); +var inst_25389 = figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: NOT loading these files "); +var inst_25392 = (function (){var all_files = inst_25353; +var res_SINGLEQUOTE_ = inst_25356; +var res = inst_25357; +var files_not_loaded = inst_25359; +var dependencies_that_loaded = inst_25361; +return ((function (all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25393,inst_25359,inst_25389,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (p__25391){ +var map__25476 = p__25391; +var map__25476__$1 = ((((!((map__25476 == null)))?(((((map__25476.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25476.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25476):map__25476); +var namespace = cljs.core.get.call(null,map__25476__$1,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); +var meta_data = cljs.core.get.call(null,cljs.core.deref.call(null,figwheel.client.file_reloading.figwheel_meta_pragmas),cljs.core.name.call(null,namespace)); +if((meta_data == null)){ +return new cljs.core.Keyword(null,"not-required","not-required",-950359114); +} else { +if(cljs.core.truth_(meta_data.call(null,new cljs.core.Keyword(null,"figwheel-no-load","figwheel-no-load",-555840179)))){ +return new cljs.core.Keyword(null,"figwheel-no-load","figwheel-no-load",-555840179); +} else { +return new cljs.core.Keyword(null,"not-required","not-required",-950359114); + +} +} +}); +;})(all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25393,inst_25359,inst_25389,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25393__$1 = cljs.core.group_by.call(null,inst_25392,inst_25359); +var inst_25395 = (inst_25393__$1 == null); +var inst_25396 = cljs.core.not.call(null,inst_25395); +var state_25440__$1 = (function (){var statearr_25478 = state_25440; +(statearr_25478[(28)] = inst_25389); + +(statearr_25478[(16)] = inst_25393__$1); + +return statearr_25478; +})(); +if(inst_25396){ +var statearr_25479_25552 = state_25440__$1; +(statearr_25479_25552[(1)] = (32)); + +} else { +var statearr_25480_25553 = state_25440__$1; +(statearr_25480_25553[(1)] = (33)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (44))){ +var inst_25416 = (state_25440[(21)]); +var inst_25429 = cljs.core.map.call(null,new cljs.core.Keyword(null,"file","file",-1269645878),inst_25416); +var inst_25430 = cljs.core.pr_str.call(null,inst_25429); +var inst_25431 = ["not required: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(inst_25430)].join(''); +var inst_25432 = figwheel.client.utils.log.call(null,inst_25431); +var state_25440__$1 = state_25440; +var statearr_25481_25554 = state_25440__$1; +(statearr_25481_25554[(2)] = inst_25432); + +(statearr_25481_25554[(1)] = (46)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (6))){ +var inst_25334 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +var statearr_25482_25555 = state_25440__$1; +(statearr_25482_25555[(2)] = inst_25334); + +(statearr_25482_25555[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (28))){ +var inst_25359 = (state_25440[(26)]); +var inst_25386 = (state_25440[(2)]); +var inst_25387 = cljs.core.not_empty.call(null,inst_25359); +var state_25440__$1 = (function (){var statearr_25483 = state_25440; +(statearr_25483[(29)] = inst_25386); + +return statearr_25483; +})(); +if(cljs.core.truth_(inst_25387)){ +var statearr_25484_25556 = state_25440__$1; +(statearr_25484_25556[(1)] = (29)); + +} else { +var statearr_25485_25557 = state_25440__$1; +(statearr_25485_25557[(1)] = (30)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (25))){ +var inst_25357 = (state_25440[(24)]); +var inst_25373 = (state_25440[(2)]); +var inst_25374 = cljs.core.not_empty.call(null,inst_25357); +var state_25440__$1 = (function (){var statearr_25486 = state_25440; +(statearr_25486[(30)] = inst_25373); + +return statearr_25486; +})(); +if(cljs.core.truth_(inst_25374)){ +var statearr_25487_25558 = state_25440__$1; +(statearr_25487_25558[(1)] = (26)); + +} else { +var statearr_25488_25559 = state_25440__$1; +(statearr_25488_25559[(1)] = (27)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (34))){ +var inst_25409 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +if(cljs.core.truth_(inst_25409)){ +var statearr_25489_25560 = state_25440__$1; +(statearr_25489_25560[(1)] = (38)); + +} else { +var statearr_25490_25561 = state_25440__$1; +(statearr_25490_25561[(1)] = (39)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (17))){ +var state_25440__$1 = state_25440; +var statearr_25491_25562 = state_25440__$1; +(statearr_25491_25562[(2)] = recompile_dependents); + +(statearr_25491_25562[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (3))){ +var state_25440__$1 = state_25440; +var statearr_25492_25563 = state_25440__$1; +(statearr_25492_25563[(2)] = null); + +(statearr_25492_25563[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (12))){ +var inst_25330 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +var statearr_25493_25564 = state_25440__$1; +(statearr_25493_25564[(2)] = inst_25330); + +(statearr_25493_25564[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (2))){ +var inst_25292 = (state_25440[(13)]); +var inst_25299 = cljs.core.seq.call(null,inst_25292); +var inst_25300 = inst_25299; +var inst_25301 = null; +var inst_25302 = (0); +var inst_25303 = (0); +var state_25440__$1 = (function (){var statearr_25494 = state_25440; +(statearr_25494[(7)] = inst_25301); + +(statearr_25494[(8)] = inst_25300); + +(statearr_25494[(9)] = inst_25302); + +(statearr_25494[(10)] = inst_25303); + +return statearr_25494; +})(); +var statearr_25495_25565 = state_25440__$1; +(statearr_25495_25565[(2)] = null); + +(statearr_25495_25565[(1)] = (5)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (23))){ +var inst_25356 = (state_25440[(23)]); +var inst_25357 = (state_25440[(24)]); +var inst_25361 = (state_25440[(25)]); +var inst_25353 = (state_25440[(19)]); +var inst_25359 = (state_25440[(26)]); +var inst_25364 = figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: loaded these dependencies"); +var inst_25366 = (function (){var all_files = inst_25353; +var res_SINGLEQUOTE_ = inst_25356; +var res = inst_25357; +var files_not_loaded = inst_25359; +var dependencies_that_loaded = inst_25361; +return ((function (all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25359,inst_25364,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (p__25365){ +var map__25496 = p__25365; +var map__25496__$1 = ((((!((map__25496 == null)))?(((((map__25496.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25496.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25496):map__25496); +var request_url = cljs.core.get.call(null,map__25496__$1,new cljs.core.Keyword(null,"request-url","request-url",2100346596)); +return clojure.string.replace.call(null,request_url,goog.basePath,""); +}); +;})(all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25359,inst_25364,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25367 = cljs.core.reverse.call(null,inst_25361); +var inst_25368 = cljs.core.map.call(null,inst_25366,inst_25367); +var inst_25369 = cljs.core.pr_str.call(null,inst_25368); +var inst_25370 = figwheel.client.utils.log.call(null,inst_25369); +var state_25440__$1 = (function (){var statearr_25498 = state_25440; +(statearr_25498[(31)] = inst_25364); + +return statearr_25498; +})(); +var statearr_25499_25566 = state_25440__$1; +(statearr_25499_25566[(2)] = inst_25370); + +(statearr_25499_25566[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (35))){ +var state_25440__$1 = state_25440; +var statearr_25500_25567 = state_25440__$1; +(statearr_25500_25567[(2)] = true); + +(statearr_25500_25567[(1)] = (37)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (19))){ +var inst_25343 = (state_25440[(12)]); +var inst_25349 = figwheel.client.file_reloading.expand_files.call(null,inst_25343); +var state_25440__$1 = state_25440; +var statearr_25501_25568 = state_25440__$1; +(statearr_25501_25568[(2)] = inst_25349); + +(statearr_25501_25568[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (11))){ +var state_25440__$1 = state_25440; +var statearr_25502_25569 = state_25440__$1; +(statearr_25502_25569[(2)] = null); + +(statearr_25502_25569[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (9))){ +var inst_25332 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +var statearr_25503_25570 = state_25440__$1; +(statearr_25503_25570[(2)] = inst_25332); + +(statearr_25503_25570[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (5))){ +var inst_25302 = (state_25440[(9)]); +var inst_25303 = (state_25440[(10)]); +var inst_25305 = (inst_25303 < inst_25302); +var inst_25306 = inst_25305; +var state_25440__$1 = state_25440; +if(cljs.core.truth_(inst_25306)){ +var statearr_25504_25571 = state_25440__$1; +(statearr_25504_25571[(1)] = (7)); + +} else { +var statearr_25505_25572 = state_25440__$1; +(statearr_25505_25572[(1)] = (8)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (14))){ +var inst_25313 = (state_25440[(22)]); +var inst_25322 = cljs.core.first.call(null,inst_25313); +var inst_25323 = figwheel.client.file_reloading.eval_body.call(null,inst_25322,opts); +var inst_25324 = cljs.core.next.call(null,inst_25313); +var inst_25300 = inst_25324; +var inst_25301 = null; +var inst_25302 = (0); +var inst_25303 = (0); +var state_25440__$1 = (function (){var statearr_25506 = state_25440; +(statearr_25506[(7)] = inst_25301); + +(statearr_25506[(8)] = inst_25300); + +(statearr_25506[(9)] = inst_25302); + +(statearr_25506[(10)] = inst_25303); + +(statearr_25506[(32)] = inst_25323); + +return statearr_25506; +})(); +var statearr_25507_25573 = state_25440__$1; +(statearr_25507_25573[(2)] = null); + +(statearr_25507_25573[(1)] = (5)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (45))){ +var state_25440__$1 = state_25440; +var statearr_25508_25574 = state_25440__$1; +(statearr_25508_25574[(2)] = null); + +(statearr_25508_25574[(1)] = (46)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (26))){ +var inst_25356 = (state_25440[(23)]); +var inst_25357 = (state_25440[(24)]); +var inst_25361 = (state_25440[(25)]); +var inst_25353 = (state_25440[(19)]); +var inst_25359 = (state_25440[(26)]); +var inst_25376 = figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: loaded these files"); +var inst_25378 = (function (){var all_files = inst_25353; +var res_SINGLEQUOTE_ = inst_25356; +var res = inst_25357; +var files_not_loaded = inst_25359; +var dependencies_that_loaded = inst_25361; +return ((function (all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25359,inst_25376,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (p__25377){ +var map__25509 = p__25377; +var map__25509__$1 = ((((!((map__25509 == null)))?(((((map__25509.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25509.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25509):map__25509); +var namespace = cljs.core.get.call(null,map__25509__$1,new cljs.core.Keyword(null,"namespace","namespace",-377510372)); +var file = cljs.core.get.call(null,map__25509__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +if(cljs.core.truth_(namespace)){ +return figwheel.client.file_reloading.name__GT_path.call(null,cljs.core.name.call(null,namespace)); +} else { +return file; +} +}); +;})(all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25359,inst_25376,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25379 = cljs.core.map.call(null,inst_25378,inst_25357); +var inst_25380 = cljs.core.pr_str.call(null,inst_25379); +var inst_25381 = figwheel.client.utils.log.call(null,inst_25380); +var inst_25382 = (function (){var all_files = inst_25353; +var res_SINGLEQUOTE_ = inst_25356; +var res = inst_25357; +var files_not_loaded = inst_25359; +var dependencies_that_loaded = inst_25361; +return ((function (all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25359,inst_25376,inst_25378,inst_25379,inst_25380,inst_25381,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function (){ +figwheel.client.file_reloading.on_jsload_custom_event.call(null,res); + +return cljs.core.apply.call(null,on_jsload,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [res], null)); +}); +;})(all_files,res_SINGLEQUOTE_,res,files_not_loaded,dependencies_that_loaded,inst_25356,inst_25357,inst_25361,inst_25353,inst_25359,inst_25376,inst_25378,inst_25379,inst_25380,inst_25381,state_val_25441,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var inst_25383 = setTimeout(inst_25382,(10)); +var state_25440__$1 = (function (){var statearr_25511 = state_25440; +(statearr_25511[(33)] = inst_25376); + +(statearr_25511[(34)] = inst_25381); + +return statearr_25511; +})(); +var statearr_25512_25575 = state_25440__$1; +(statearr_25512_25575[(2)] = inst_25383); + +(statearr_25512_25575[(1)] = (28)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (16))){ +var state_25440__$1 = state_25440; +var statearr_25513_25576 = state_25440__$1; +(statearr_25513_25576[(2)] = reload_dependents); + +(statearr_25513_25576[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (38))){ +var inst_25393 = (state_25440[(16)]); +var inst_25411 = cljs.core.apply.call(null,cljs.core.hash_map,inst_25393); +var state_25440__$1 = state_25440; +var statearr_25514_25577 = state_25440__$1; +(statearr_25514_25577[(2)] = inst_25411); + +(statearr_25514_25577[(1)] = (40)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (30))){ +var state_25440__$1 = state_25440; +var statearr_25515_25578 = state_25440__$1; +(statearr_25515_25578[(2)] = null); + +(statearr_25515_25578[(1)] = (31)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (10))){ +var inst_25313 = (state_25440[(22)]); +var inst_25315 = cljs.core.chunked_seq_QMARK_.call(null,inst_25313); +var state_25440__$1 = state_25440; +if(inst_25315){ +var statearr_25516_25579 = state_25440__$1; +(statearr_25516_25579[(1)] = (13)); + +} else { +var statearr_25517_25580 = state_25440__$1; +(statearr_25517_25580[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (18))){ +var inst_25347 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +if(cljs.core.truth_(inst_25347)){ +var statearr_25518_25581 = state_25440__$1; +(statearr_25518_25581[(1)] = (19)); + +} else { +var statearr_25519_25582 = state_25440__$1; +(statearr_25519_25582[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (42))){ +var state_25440__$1 = state_25440; +var statearr_25520_25583 = state_25440__$1; +(statearr_25520_25583[(2)] = null); + +(statearr_25520_25583[(1)] = (43)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (37))){ +var inst_25406 = (state_25440[(2)]); +var state_25440__$1 = state_25440; +var statearr_25521_25584 = state_25440__$1; +(statearr_25521_25584[(2)] = inst_25406); + +(statearr_25521_25584[(1)] = (34)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_25441 === (8))){ +var inst_25300 = (state_25440[(8)]); +var inst_25313 = (state_25440[(22)]); +var inst_25313__$1 = cljs.core.seq.call(null,inst_25300); +var state_25440__$1 = (function (){var statearr_25522 = state_25440; +(statearr_25522[(22)] = inst_25313__$1); + +return statearr_25522; +})(); +if(inst_25313__$1){ +var statearr_25523_25585 = state_25440__$1; +(statearr_25523_25585[(1)] = (10)); + +} else { +var statearr_25524_25586 = state_25440__$1; +(statearr_25524_25586[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +});})(c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +; +return ((function (switch__20783__auto__,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents){ +return (function() { +var figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto__ = null; +var figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto____0 = (function (){ +var statearr_25525 = [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,null,null]; +(statearr_25525[(0)] = figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto__); + +(statearr_25525[(1)] = (1)); + +return statearr_25525; +}); +var figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto____1 = (function (state_25440){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_25440); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e25526){if((e25526 instanceof Object)){ +var ex__20787__auto__ = e25526; +var statearr_25527_25587 = state_25440; +(statearr_25527_25587[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_25440); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e25526; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__25588 = state_25440; +state_25440 = G__25588; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto__ = function(state_25440){ +switch(arguments.length){ +case 0: +return figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto____1.call(this,state_25440); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto____0; +figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto____1; +return figwheel$client$file_reloading$reload_js_files_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +})(); +var state__20874__auto__ = (function (){var statearr_25528 = f__20873__auto__.call(null); +(statearr_25528[(6)] = c__20872__auto__); + +return statearr_25528; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__,map__25285,map__25285__$1,opts,before_jsload,on_jsload,reload_dependents,map__25286,map__25286__$1,msg,files,figwheel_meta,recompile_dependents)) +); + +return c__20872__auto__; +}); +figwheel.client.file_reloading.current_links = (function figwheel$client$file_reloading$current_links(){ +return Array.prototype.slice.call(document.getElementsByTagName("link")); +}); +figwheel.client.file_reloading.truncate_url = (function figwheel$client$file_reloading$truncate_url(url){ +return clojure.string.replace_first.call(null,clojure.string.replace_first.call(null,clojure.string.replace_first.call(null,clojure.string.replace_first.call(null,cljs.core.first.call(null,clojure.string.split.call(null,url,/\?/)),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(location.protocol),"//"].join(''),""),".*://",""),/^\/\//,""),/[^\\/]*/,""); +}); +figwheel.client.file_reloading.matches_file_QMARK_ = (function figwheel$client$file_reloading$matches_file_QMARK_(p__25591,link){ +var map__25592 = p__25591; +var map__25592__$1 = ((((!((map__25592 == null)))?(((((map__25592.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25592.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25592):map__25592); +var file = cljs.core.get.call(null,map__25592__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var temp__4657__auto__ = link.href; +if(cljs.core.truth_(temp__4657__auto__)){ +var link_href = temp__4657__auto__; +var match = clojure.string.join.call(null,"/",cljs.core.take_while.call(null,cljs.core.identity,cljs.core.map.call(null,((function (link_href,temp__4657__auto__,map__25592,map__25592__$1,file){ +return (function (p1__25589_SHARP_,p2__25590_SHARP_){ +if(cljs.core._EQ_.call(null,p1__25589_SHARP_,p2__25590_SHARP_)){ +return p1__25589_SHARP_; +} else { +return false; +} +});})(link_href,temp__4657__auto__,map__25592,map__25592__$1,file)) +,cljs.core.reverse.call(null,clojure.string.split.call(null,file,"/")),cljs.core.reverse.call(null,clojure.string.split.call(null,figwheel.client.file_reloading.truncate_url.call(null,link_href),"/"))))); +var match_length = cljs.core.count.call(null,match); +var file_name_length = cljs.core.count.call(null,cljs.core.last.call(null,clojure.string.split.call(null,file,"/"))); +if((match_length >= file_name_length)){ +return new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"link","link",-1769163468),link,new cljs.core.Keyword(null,"link-href","link-href",-250644450),link_href,new cljs.core.Keyword(null,"match-length","match-length",1101537310),match_length,new cljs.core.Keyword(null,"current-url-length","current-url-length",380404083),cljs.core.count.call(null,figwheel.client.file_reloading.truncate_url.call(null,link_href))], null); +} else { +return null; +} +} else { +return null; +} +}); +figwheel.client.file_reloading.get_correct_link = (function figwheel$client$file_reloading$get_correct_link(f_data){ +var temp__4657__auto__ = cljs.core.first.call(null,cljs.core.sort_by.call(null,(function (p__25595){ +var map__25596 = p__25595; +var map__25596__$1 = ((((!((map__25596 == null)))?(((((map__25596.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25596.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25596):map__25596); +var match_length = cljs.core.get.call(null,map__25596__$1,new cljs.core.Keyword(null,"match-length","match-length",1101537310)); +var current_url_length = cljs.core.get.call(null,map__25596__$1,new cljs.core.Keyword(null,"current-url-length","current-url-length",380404083)); +return (current_url_length - match_length); +}),cljs.core.keep.call(null,(function (p1__25594_SHARP_){ +return figwheel.client.file_reloading.matches_file_QMARK_.call(null,f_data,p1__25594_SHARP_); +}),figwheel.client.file_reloading.current_links.call(null)))); +if(cljs.core.truth_(temp__4657__auto__)){ +var res = temp__4657__auto__; +return new cljs.core.Keyword(null,"link","link",-1769163468).cljs$core$IFn$_invoke$arity$1(res); +} else { +return null; +} +}); +figwheel.client.file_reloading.clone_link = (function figwheel$client$file_reloading$clone_link(link,url){ +var clone = document.createElement("link"); +clone.rel = "stylesheet"; + +clone.media = link.media; + +clone.disabled = link.disabled; + +clone.href = figwheel.client.file_reloading.add_cache_buster.call(null,url); + +return clone; +}); +figwheel.client.file_reloading.create_link = (function figwheel$client$file_reloading$create_link(url){ +var link = document.createElement("link"); +link.rel = "stylesheet"; + +link.href = figwheel.client.file_reloading.add_cache_buster.call(null,url); + +return link; +}); +figwheel.client.file_reloading.distinctify = (function figwheel$client$file_reloading$distinctify(key,seqq){ +return cljs.core.vals.call(null,cljs.core.reduce.call(null,(function (p1__25598_SHARP_,p2__25599_SHARP_){ +return cljs.core.assoc.call(null,p1__25598_SHARP_,cljs.core.get.call(null,p2__25599_SHARP_,key),p2__25599_SHARP_); +}),cljs.core.PersistentArrayMap.EMPTY,seqq)); +}); +figwheel.client.file_reloading.add_link_to_document = (function figwheel$client$file_reloading$add_link_to_document(orig_link,klone,finished_fn){ +var parent = orig_link.parentNode; +if(cljs.core._EQ_.call(null,orig_link,parent.lastChild)){ +parent.appendChild(klone); +} else { +parent.insertBefore(klone,orig_link.nextSibling); +} + +return setTimeout(((function (parent){ +return (function (){ +parent.removeChild(orig_link); + +return finished_fn.call(null); +});})(parent)) +,(300)); +}); +if(typeof figwheel.client.file_reloading.reload_css_deferred_chain !== 'undefined'){ +} else { +figwheel.client.file_reloading.reload_css_deferred_chain = cljs.core.atom.call(null,goog.async.Deferred.succeed()); +} +figwheel.client.file_reloading.reload_css_file = (function figwheel$client$file_reloading$reload_css_file(f_data,fin){ +var temp__4655__auto__ = figwheel.client.file_reloading.get_correct_link.call(null,f_data); +if(cljs.core.truth_(temp__4655__auto__)){ +var link = temp__4655__auto__; +return figwheel.client.file_reloading.add_link_to_document.call(null,link,figwheel.client.file_reloading.clone_link.call(null,link,link.href),((function (link,temp__4655__auto__){ +return (function (){ +return fin.call(null,cljs.core.assoc.call(null,f_data,new cljs.core.Keyword(null,"loaded","loaded",-1246482293),true)); +});})(link,temp__4655__auto__)) +); +} else { +return fin.call(null,f_data); +} +}); +figwheel.client.file_reloading.reload_css_files_STAR_ = (function figwheel$client$file_reloading$reload_css_files_STAR_(deferred,f_datas,on_cssload){ +return figwheel.client.utils.liftContD.call(null,figwheel.client.utils.mapConcatD.call(null,deferred,figwheel.client.file_reloading.reload_css_file,f_datas),(function (f_datas_SINGLEQUOTE_,fin){ +var loaded_f_datas_25600 = cljs.core.filter.call(null,new cljs.core.Keyword(null,"loaded","loaded",-1246482293),f_datas_SINGLEQUOTE_); +figwheel.client.file_reloading.on_cssload_custom_event.call(null,loaded_f_datas_25600); + +if(cljs.core.fn_QMARK_.call(null,on_cssload)){ +on_cssload.call(null,loaded_f_datas_25600); +} else { +} + +return fin.call(null); +})); +}); +figwheel.client.file_reloading.reload_css_files = (function figwheel$client$file_reloading$reload_css_files(p__25601,p__25602){ +var map__25603 = p__25601; +var map__25603__$1 = ((((!((map__25603 == null)))?(((((map__25603.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25603.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25603):map__25603); +var on_cssload = cljs.core.get.call(null,map__25603__$1,new cljs.core.Keyword(null,"on-cssload","on-cssload",1825432318)); +var map__25604 = p__25602; +var map__25604__$1 = ((((!((map__25604 == null)))?(((((map__25604.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__25604.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__25604):map__25604); +var files_msg = map__25604__$1; +var files = cljs.core.get.call(null,map__25604__$1,new cljs.core.Keyword(null,"files","files",-472457450)); +if(cljs.core.truth_(figwheel.client.utils.html_env_QMARK_.call(null))){ +var temp__4657__auto__ = cljs.core.not_empty.call(null,figwheel.client.file_reloading.distinctify.call(null,new cljs.core.Keyword(null,"file","file",-1269645878),files)); +if(cljs.core.truth_(temp__4657__auto__)){ +var f_datas = temp__4657__auto__; +return cljs.core.swap_BANG_.call(null,figwheel.client.file_reloading.reload_css_deferred_chain,figwheel.client.file_reloading.reload_css_files_STAR_,f_datas,on_cssload); +} else { +return null; +} +} else { +return null; +} +}); + +//# sourceMappingURL=file_reloading.js.map?rel=1628501144616 diff --git a/examples/resources/public/js/out/figwheel/client/file_reloading.js.map b/examples/resources/public/js/out/figwheel/client/file_reloading.js.map new file mode 100644 index 0000000..3557321 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/file_reloading.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/figwheel\/client\/file_reloading.js","sources":["file_reloading.cljs?rel=1628501144627"],"lineCount":2625,"mappings":";AAAA;;;;;;;;;;;;AAgBA,AAAA,AAEA,GAAA,OAASA;AAAT;AAAA,AAAA,AAASA,uDAAsB,yBAAA,zBAACC;;AAIhC,wDAAA,xDAAMC,wHAAwBC;AAA9B,AACE,6DAAA,tDAACC,2EAAiDD;;AAIpD,4DAAA,5DAAME,gIAA4BC;AAAlC,AACE,6DAAA,tDAAC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A,EAAA,EAAA,CAAA,AAAAA,iDAAA,WAAA,CAAApa,gCAAA,AAAAoa,+BAAA,KAAA,OAAA,QAAA,AAAA7f,0BAAA0F,mBAAAma,YAAAA;gBAAAA,ZAAgEE;YAAhE,AAAApa,wBAAAka,eAAA,\/CAAqDzmB;AAArD,AACE,oBAAM,AAAC4mB;AAAP,AACE,IAAAnjB,qBAAmB,AAACye,8BAAU,qDAAA,rDAAC6C,2GAAkB\/kB;AAAjD,AAAA,oBAAAyD;AAAA,AAAA,cAAAA,VAAWsiB;AAAX,AACE,OAACjkB,+BAAM2jB,yDAA0BI,sDAAkBE,QAAQC;;AAD7D;;;AADF","names":["figwheel.client.file-reloading\/figwheel-meta-pragmas","cljs.core\/atom","figwheel.client.file-reloading\/on-jsload-custom-event","url","figwheel.client.utils\/dispatch-custom-event","figwheel.client.file-reloading\/before-jsload-custom-event","files","figwheel.client.file-reloading\/on-cssload-custom-event","figwheel.client.file-reloading\/namespace-file-map?","m","or__3922__auto__","cljs.core\/map?","cljs.core\/=","cljs.core\/println","cljs.core\/pr-str","figwheel.client.file-reloading\/add-cache-buster","goog.Uri\/parse","figwheel.client.file-reloading\/name->path","ns","goog.object\/get","js\/goog.dependencies_.nameToPath","figwheel.client.file-reloading\/provided?","js\/goog.dependencies_.written","figwheel.client.file-reloading\/immutable-ns?","name","goog.string\/startsWith","figwheel.client.file-reloading\/get-requires","js\/goog.dependencies_.requires","goog.object\/getKeys","p1__24941#","cljs.core\/filter","cljs.core\/not","cljs.core\/set","figwheel.client.file-reloading\/dependency-data","figwheel.client.file-reloading\/path-to-name!","path","cljs.core\/swap!","cljs.core\/update-in","cljs.core\/fnil","clojure.set\/union","figwheel.client.file-reloading\/setup-path->name!","nameToPath","goog.object\/filter","v","k","o","goog.object\/forEach","figwheel.client.file-reloading\/path->name","cljs.core\/deref","cljs.core\/get-in","figwheel.client.file-reloading\/name-to-parent!","parent-ns","figwheel.client.file-reloading\/setup-ns->dependents!","requires","_","v'","k'","seq__24942","cljs.core\/seq","chunk__24943","count__24944","i__24945","cljs.core\/-nth","temp__4657__auto__","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/count","cljs.core\/first","cljs.core\/next","n","figwheel.client.file-reloading\/ns->dependents","figwheel.client.file-reloading\/in-upper-level?","topo-state","current-depth","dep","cljs.core\/some","p__24958","vec__24959","cljs.core\/nth","and__3911__auto__","p__24962","vec__24963","figwheel.client.file-reloading\/build-topo-sort","get-deps","cljs.core\/memoize","p__24979","vec__24980","seq__24981","first__24982","x","depth","state","deps","cljs.core\/empty?","topo-sort*","cljs.core\/sorted-map","cljs.core\/into","seq__24975","chunk__24976","count__24977","i__24978","topo-sort-helper*","elim-dups*","cljs.core\/reverse","cljs.core\/vals","xs","cljs.core\/cons","p1__24966#","cljs.core\/map","clojure.set\/difference","figwheel.client.file-reloading\/get-all-dependencies","topo-sort'","cljs.core\/apply","cljs.core\/concat","figwheel.client.file-reloading\/get-all-dependents","nss","cljs.core\/comp","figwheel.client.file-reloading\/unprovide!","goog.object\/remove","js\/goog.dependencies_.visited","js\/goog.basePath","figwheel.client.file-reloading\/resolve-ns","goog\/basePath","figwheel.client.file-reloading\/addDependency","provides","seq__25004","chunk__25005","count__25006","i__25007","prov","seq__25008","chunk__25009","count__25010","i__25011","seq__25012","chunk__25013","count__25014","i__25015","req","figwheel.client.file-reloading\/figwheel-require","src","reload","js\/goog","seq__25070","chunk__25071","count__25072","i__25073","figwheel.client.file-reloading\/bootstrap-goog-base","js\/COMPILED","js\/goog.require__","js\/goog.require","js\/goog.addDependency","args","goog\/constructNamespace_","goog\/global","figwheel.client.file-reloading\/queued-file-reload","figwheel.client.file-reloading\/patch-goog-base","figwheel.client.file-reloading\/bootstrapped-cljs","figwheel.client.file-reloading\/gloader","p1__25098#","p2__25099#","p1__25100#","p2__25101#","goog.net.jsloader\/safeLoad","goog.html.legacyconversions\/trustedResourceUrlFromString","goog.net.jsloader\/load","cljs.core\/ex-info","figwheel.client.file-reloading\/reload-file-in-html-env","request-url","callback","G__25102","figwheel.client.file-reloading\/write-script-tag-import","figwheel.client.file-reloading\/worker-import-script","e25103","js\/self","js\/Error","e","figwheel.client.utils\/log","figwheel.client.file-reloading\/create-node-script-import-fn","node-path-lib","js\/require","util-pattern","util-path","goog.object\/findKey","js\/require.cache","goog.string\/endsWith","parts","clojure.string\/split","cljs.core\/pop","root-path","clojure.string\/join","cache-path","e25104","figwheel.client.file-reloading\/reload-file*","pred__25105","expr__25106","figwheel.client.utils\/host-env?","a","b","p__25108","map__25109","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/hash-map","cljs.core\/get","figwheel.client.file-reloading\/reload-file","file-msg","figwheel.client.utils\/debug-prn","success?","cljs.core\/assoc","figwheel.client.file-reloading\/reload-chan","cljs.core.async\/chan","figwheel.client.file-reloading\/on-load-callbacks","figwheel.client.file-reloading\/dependencies-loaded","figwheel.client.file-reloading\/blocking-load","out","cljs.core.async\/put!","cljs.core.async\/close!","figwheel.client.file-reloading\/reloader-loop","c__20872__auto__","cljs.core.async.impl.dispatch\/run","f__20873__auto__","switch__20783__auto__","state_25147","state_val_25148","inst_25143","statearr-25149","statearr-25150","inst_25113","statearr-25151","statearr-25152","statearr-25153","inst_25128","inst_25126","inst_25130","statearr-25154","inst_25137","statearr-25155","statearr-25156","inst_25134","statearr-25157","inst_25145","cljs.core.async.impl.ioc-helpers\/return-chan","statearr-25158","cljs.core.async.impl.ioc-helpers\/take!","inst_25118","inst_25124","statearr-25159","statearr-25160","inst_25119","statearr-25161","statearr-25162","statearr-25163","inst_25127","statearr-25164","statearr-25165","statearr-25166","inst_25132","statearr-25167","inst_25139","statearr-25168","statearr-25169","inst_25121","statearr-25170","statearr-25171","state-machine__20784__auto__","ret-value__20785__auto__","result__20786__auto__","cljs.core\/keyword-identical?","e25172","js\/Object","ex__20787__auto__","statearr-25173","cljs.core.async.impl.ioc-helpers\/process-exception","state__20874__auto__","statearr-25174","cljs.core.async.impl.ioc-helpers\/USER-START-IDX","cljs.core.async.impl.ioc-helpers\/run-state-machine-wrapped","js\/eval","cljs.core\/conj","var_args","G__25196","opt-source-text","p__25198","map__25199","figwheel.client.file-reloading\/require-with-callback","namespace","file-msg'","cljs.core\/dissoc","cljs.core\/merge","cljs.core\/select-keys","cljs.core\/name","p__25201","map__25202","figwheel.client.file-reloading\/figwheel-no-load?","meta-pragmas","figwheel.client.file-reloading\/ns-exists?","cljs.core\/reduce","p__25204","map__25205","figwheel.client.file-reloading\/reload-file?","p__25207","map__25208","figwheel.client.file-reloading\/js-reload","figwheel.client.file-reloading\/reload-js-file","figwheel.client.file-reloading\/load-all-js-files","state_25243","state_val_25244","inst_25217","inst_25218","inst_25219","inst_25220","statearr-25245","statearr-25246","inst_25226","inst_25225","inst_25227","inst_25228","inst_25229","statearr-25247","statearr-25248","statearr-25249","inst_25241","inst_25231","inst_25237","statearr-25250","inst_25239","statearr-25251","inst_25233","inst_25234","statearr-25252","statearr-25253","statearr-25254","e25255","statearr-25256","statearr-25257","cljs.core.async\/into","p__25267","map__25268","figwheel.client.file-reloading\/eval-body","eval-body","file","opts","code","e25270","figwheel.client.utils\/eval-helper","figwheel.client.file-reloading\/expand-files","cljs.core\/partial","cljs.core\/re-matches","temp__4655__auto__","p1__25271#","figwheel.client.file-reloading\/sort-files","keep-files","cljs.core\/keep","figwheel.client.file-reloading\/get-figwheel-always","p__25272","vec__25273","p__25276","vec__25277","p__25283","p__25284","map__25285","map__25286","figwheel.client.file-reloading\/reload-js-files","before-jsload","on-jsload","reload-dependents","figwheel-meta","recompile-dependents","msg","cljs.core\/reset!","state_25440","state_val_25441","inst_25301","inst_25300","inst_25302","inst_25303","inst_25308","inst_25309","inst_25310","tmp25442","tmp25443","tmp25444","statearr-25445","statearr-25446","inst_25343","inst_25351","statearr-25447","statearr-25448","inst_25292","inst_25289","inst_25290","inst_25291","p1__25280#","inst_25293","statearr-25449","statearr-25450","statearr-25451","statearr-25452","inst_25393","statearr-25453","inst_25435","statearr-25454","inst_25337","inst_25338","cljs.core\/List","inst_25339","inst_25340","p1__25281#","inst_25341","inst_25342","statearr-25455","statearr-25456","statearr-25457","inst_25327","statearr-25458","inst_25353","inst_25354","statearr-25459","inst_25438","inst_25398","inst_25399","inst_25400","inst_25401","inst_25402","statearr-25460","statearr-25461","inst_25415","inst_25414","inst_25416","inst_25417","statearr-25462","statearr-25463","statearr-25464","statearr-25465","inst_25313","inst_25317","inst_25318","inst_25319","statearr-25466","statearr-25467","inst_25356","inst_25357","inst_25361","inst_25358","p1__25282#","inst_25359","inst_25360","inst_25362","statearr-25468","statearr-25469","statearr-25470","statearr-25471","inst_25419","inst_25420","inst_25421","inst_25422","inst_25423","statearr-25472","inst_25426","inst_25427","statearr-25473","statearr-25474","statearr-25475","inst_25389","inst_25392","inst_25395","inst_25396","statearr-25478","statearr-25479","statearr-25480","inst_25429","inst_25430","inst_25431","inst_25432","statearr-25481","inst_25334","statearr-25482","inst_25386","inst_25387","statearr-25483","statearr-25484","statearr-25485","inst_25373","inst_25374","statearr-25486","statearr-25487","statearr-25488","inst_25409","statearr-25489","statearr-25490","statearr-25491","statearr-25492","inst_25330","statearr-25493","inst_25299","statearr-25494","statearr-25495","inst_25364","inst_25366","inst_25367","inst_25368","inst_25369","inst_25370","statearr-25498","statearr-25499","statearr-25500","inst_25349","statearr-25501","statearr-25502","inst_25332","statearr-25503","inst_25305","inst_25306","statearr-25504","statearr-25505","inst_25322","inst_25323","inst_25324","statearr-25506","statearr-25507","statearr-25508","inst_25376","inst_25378","inst_25379","inst_25380","inst_25381","inst_25382","inst_25383","statearr-25511","statearr-25512","statearr-25513","inst_25411","statearr-25514","statearr-25515","inst_25315","statearr-25516","statearr-25517","inst_25347","statearr-25518","statearr-25519","statearr-25520","inst_25406","statearr-25521","statearr-25522","statearr-25523","statearr-25524","statearr-25525","e25526","statearr-25527","statearr-25528","cljs.core\/not-empty","all-files","res'","res","files-not-loaded","dependencies-that-loaded","p__25365","map__25496","clojure.string\/replace","p__25377","map__25509","js\/setTimeout","cljs.core\/group-by","p__25391","map__25476","meta-data","figwheel.client.file-reloading\/current-links","js\/Array","js\/document","figwheel.client.file-reloading\/truncate-url","clojure.string\/replace-first","js\/location","p__25591","map__25592","figwheel.client.file-reloading\/matches-file?","link","link-href","match","cljs.core\/take-while","cljs.core\/identity","p1__25589#","p2__25590#","match-length","file-name-length","cljs.core\/last","figwheel.client.file-reloading\/get-correct-link","f-data","cljs.core\/sort-by","p__25595","map__25596","current-url-length","p1__25594#","figwheel.client.file-reloading\/clone-link","clone","figwheel.client.file-reloading\/create-link","figwheel.client.file-reloading\/distinctify","key","seqq","p1__25598#","p2__25599#","figwheel.client.file-reloading\/add-link-to-document","orig-link","klone","finished-fn","parent","figwheel.client.file-reloading\/reload-css-deferred-chain","goog\/async.Deferred","figwheel.client.file-reloading\/reload-css-file","fin","figwheel.client.file-reloading\/reload-css-files*","deferred","f-datas","on-cssload","figwheel.client.utils\/mapConcatD","figwheel.client.utils\/liftContD","f-datas'","loaded-f-datas","cljs.core\/fn?","p__25601","p__25602","map__25603","map__25604","figwheel.client.file-reloading\/reload-css-files","files-msg","figwheel.client.utils\/html-env?"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/heads_up.cljs b/examples/resources/public/js/out/figwheel/client/heads_up.cljs new file mode 100644 index 0000000..080df2c --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/heads_up.cljs @@ -0,0 +1,422 @@ +(ns figwheel.client.heads-up + (:require + [clojure.string :as string] + [figwheel.client.socket :as socket] + [figwheel.client.utils :as utils] + [cljs.core.async :refer [put! chan (.-body js/document) + (.appendChild el)))) + { :container-el (.getElementById js/document cont-id) + :content-area-el (.getElementById js/document content-id) } + )) + +(defn set-style! [{:keys [container-el]} st-map] + (mapv + (fn [[k v]] + (gobj/set (.-style container-el) (name k) v)) + st-map)) + +(defn set-content! [{:keys [content-area-el] :as c} dom-str] + (set! (.-innerHTML content-area-el) dom-str)) + +(defn get-content [{:keys [content-area-el]}] + (.-innerHTML content-area-el)) + +(defn close-link [] + (str "" + "x" + "")) + +(defn display-heads-up [style msg] + (go + (let [c (ensure-container)] + (set-style! c (merge { + :paddingTop "10px" + :paddingBottom "10px" + :width "100%" + :minHeight "68px" + :opacity "1.0" } + style)) + (set-content! c msg) + (" + s + " " + sub-head + ""))) + +(defn file-selector-div [file-name line-number column-number msg] + (str "
" msg "
")) + +(defn format-line [msg {:keys [file line column]}] + (let [msg (goog.string/htmlEscape msg)] + (if (or file line) + (file-selector-div file line column msg) + (str "
" msg "
")))) + +(defn escape [x] + (goog.string/htmlEscape x)) + +(defn pad-line-number [n line-number] + (let [len (count ((fnil str "") line-number))] + (-> (if (< len n) + (apply str (repeat (- n len) " ")) + "") + (str line-number)))) + +(defn inline-error-line [style line-number line] + (str "" "" line-number " " (escape line) "")) + +(defn format-inline-error-line [[typ line-number line]] + (condp = typ + :code-line (inline-error-line "color: #999;" line-number line) + :error-in-code (inline-error-line "color: #ccc; font-weight: bold;" line-number line) + :error-message (inline-error-line "color: #D07D7D;" line-number line) + (inline-error-line "color: #666;" line-number line))) + +(defn pad-line-numbers [inline-error] + (let [max-line-number-length (count (str (reduce max (map second inline-error))))] + (map #(update-in % [1] + (partial pad-line-number max-line-number-length)) inline-error))) + +(defn format-inline-error [inline-error] + (let [lines (map format-inline-error-line (pad-line-numbers inline-error))] + (str "
"
+         (string/join "\n" lines)
+         "
"))) + +(def flatten-exception #(take-while some? (iterate :cause %))) + +(defn exception->display-data [{:keys [failed-loading-clj-file + failed-compiling + reader-exception + analysis-exception + display-ex-data + class file line column message + error-inline] :as exception}] + (let [last-message (cond + (and file line) + (str "Please see line " line " of file " file ) + file (str "Please see " file) + :else nil)] + {:head (cond + failed-loading-clj-file "Couldn't load Clojure file" + analysis-exception "Could not Analyze" + reader-exception "Could not Read" + failed-compiling "Could not Compile" + :else "Compile Exception") + :sub-head file + :messages (concat + (map + #(str "
" % "
") + (if message + [(str (if class + (str (escape class) + ": ") "") + "" (escape message) "") + (when display-ex-data + (str "
" (utils/pprint-to-string display-ex-data) "
")) + (when (pos? (count error-inline)) + (format-inline-error error-inline))] + (map #(str (escape (:class %)) + ": " (escape (:message %))) (flatten-exception (:exception-data exception))))) + (when last-message [(str "
" (escape last-message) "
")])) + :file file + :line line + :column column})) + +(defn auto-notify-source-file-line [{:keys [file line column]}] + (socket/send! {:figwheel-event "file-selected" + :file-name (str file) + :file-line (str line) + :file-column (str column)})) + +(defn display-exception [exception-data] + (let [{:keys [head + sub-head + messages + last-message + file + line + column]} + (-> exception-data + exception->display-data) + msg (apply str messages + #_(map #(str "
" (goog.string/htmlEscape %) + "
") messages))] + (display-heads-up {:backgroundColor "rgba(255, 161, 161, 0.95)"} + (str (close-link) + (heading head sub-head) + (file-selector-div file line column msg))))) + +(defn warning-data->display-data [{:keys [file line column message error-inline] :as warning-data}] + (let [last-message (cond + (and file line) + (str "Please see line " line " of file " file ) + file (str "Please see " file) + :else nil)] + {:head "Compile Warning" + :sub-head file + :messages (concat + (map + #(str "
" % "
") + [(when message + (str "" (escape message) "")) + (when (pos? (count error-inline)) + (format-inline-error error-inline))]) + (when last-message + [(str "
" (escape last-message) "
")])) + :file file + :line line + :column column})) + +(defn display-system-warning [header msg] + (display-heads-up {:backgroundColor "rgba(255, 220, 110, 0.95)" } + (str (close-link) (heading header) + "
" msg "
" + #_(format-line msg {})))) + +(defn display-warning [warning-data] + (let [{:keys [head + sub-head + messages + last-message + file + line + column]} + (-> warning-data + warning-data->display-data) + msg (apply str messages)] + (display-heads-up {:backgroundColor "rgba(255, 220, 110, 0.95)" } + (str (close-link) + (heading head sub-head) + (file-selector-div file line column msg))))) + +(defn format-warning-message [{:keys [message file line column] :as warning-data}] + (cond-> message + line (str " at line " line) + (and line column) (str ", column " column) + file (str " in file " file)) ) + +(defn append-warning-message [{:keys [message file line column] :as warning-data}] + (when message + (let [{:keys [content-area-el]} (ensure-container) + el (dom/createElement "div") + child-count (.-length (dom/getChildren content-area-el))] + (if (< child-count 6) + (do + (set! (.-innerHTML el) + (format-line (format-warning-message warning-data) + warning-data)) + (dom/append content-area-el el)) + (when-let [last-child (dom/getLastElementChild content-area-el)] + (if-let [message-count (data/get last-child "figwheel_count")] + (let [message-count (inc (js/parseInt message-count))] + (data/set last-child "figwheel_count" message-count) + (set! (.-innerHTML last-child) + (str message-count " more warnings have not been displayed ..."))) + (dom/append + content-area-el + (dom/createDom "div" #js {:data-figwheel_count 1 + :style "margin-top: 3px; font-weight: bold"} + "1 more warning that has not been displayed ...")))))))) + +(defn clear [] + (go + (let [c (ensure-container)] + (set-style! c { :opacity "0.0" }) + ( + + + + + + + + + + + +") + +;; ---- bad compile helper ui ---- + +(defn close-bad-compile-screen [] + (when-let [el (js/document.getElementById "figwheelFailScreen")] + (dom/removeNode el))) + +(defn bad-compile-screen [] + (let [body (-> (dom/getElementsByTagNameAndClass "body") + (aget 0))] + (close-bad-compile-screen) + #_(dom/removeChildren body) + (dom/append body + (dom/createDom + "div" + #js {:id "figwheelFailScreen" + :style (str "background-color: rgba(24, 26, 38, 0.95);" + "position: absolute;" + "z-index: 9000;" + "width: 100vw;" + "height: 100vh;" + "top: 0px; left: 0px;" + "font-family: monospace")} + (dom/createDom + "div" + #js {:class "message" + :style (str + "color: #FFF5DB;" + "width: 100vw;" + "margin: auto;" + "margin-top: 10px;" + "text-align: center; " + "padding: 2px 0px;" + "font-size: 13px;" + "position: relative")} + (dom/createDom + "a" + #js {:onclick (fn [e] + (.preventDefault e) + (close-bad-compile-screen)) + :href "javascript:" + :style "position: absolute; right: 10px; top: 10px; color: #666"} + "X") + (dom/createDom "h2" #js {:style "color: #FFF5DB"} + "Figwheel Says: Your code didn't compile.") + (dom/createDom "div" #js {:style "font-size: 12px"} + (dom/createDom "p" #js { :style "color: #D07D7D;"} + "Keep trying. This page will auto-refresh when your code compiles successfully.") + )))))) diff --git a/examples/resources/public/js/out/figwheel/client/heads_up.cljs.cache.json b/examples/resources/public/js/out/figwheel/client/heads_up.cljs.cache.json new file mode 100644 index 0000000..c5cbb1c --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/heads_up.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$document",["^ ","~$createElement",["^ "],"~$querySelector",["^ "],"~$body",["^ ","~$appendChild",["^ "]],"~$getElementById",["^ "]],"~$Object",["^ ","~$setAttribute",["^ "],"^7",["^ "]],"~$Error",["^ "],"~$parseInt",["^ "]],"~:use-macros",["^ ","~$go","~$cljs.core.async.macros","~$go-loop","^?"],"~:excludes",["~#set",[]],"~:name","~$figwheel.client.heads-up","~:imports",null,"~:requires",["^ ","~$goog.dom","^G","~$dom","^G","~$data","~$goog.dom.dataset","~$goog.string","^K","~$async","~$cljs.core.async","^J","^J","~$gobj","~$goog.object","^O","^O","^M","^M","~$socket","~$figwheel.client.socket","~$pp","~$cljs.pprint","^S","^S","~$string","~$clojure.string","~$figwheel.client.utils","^V","~$utils","^V","^Q","^Q","^U","^U"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$timeout","^M","~$",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1B"]]]]]]]],"~$auto-notify-source-file-line",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",222,"^1;",7,"^1<",222,"^1=",35,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["~$file","~$line","~$column"]]]]]]]],"^C","~$figwheel.client.heads-up/auto-notify-source-file-line","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",35,"^1E",["^1?",[["~$p__24810"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",222,"^1<",222,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1L","^1M","^1N"]]]]]]]],"~$display-exception",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",228,"^1;",7,"^1<",228,"^1=",24,"^1>",["^1?",["^1@",["^1?",[["~$exception-data"]]]]]],"^C","~$figwheel.client.heads-up/display-exception","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",24,"^1E",["^1?",[["^1R"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",228,"^1<",228,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^1R"]]]]]],"~$set-style!",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",83,"^1;",7,"^1<",83,"^1=",17,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["~$container-el"]],"~$st-map"]]]]]],"^C","~$figwheel.client.heads-up/set-style!","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",17,"^1E",["^1?",[["~$p__24752","^1V"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",83,"^1<",83,"^1I",2,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1U"]],"^1V"]]]]]],"~$heading",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",122,"^1;",7,"^1<",122,"^1=",14,"^1>",["^1?",["^1@",["^1?",[["~$s"],["~$s","~$sub-head"]]]]],"~:top-fn",["^ ","^1D",false,"^1I",2,"^1E",["^1?",[["~$s"],["~$s","^1Z"]]],"^1>",["^1?",[["~$s"],["~$s","^1Z"]]],"^1H",["^1?",[null,null]]]],"^C","~$figwheel.client.heads-up/heading","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",14,"^1[",["^ ","^1D",false,"^1I",2,"^1E",["^1?",[["~$s"],["~$s","^1Z"]]],"^1>",["^1?",[["~$s"],["~$s","^1Z"]]],"^1H",["^1?",[null,null]]],"^1E",["^1?",[["~$s"],["~$s","^1Z"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",122,"^1<",122,"^1I",2,"^1J",true,"^1>",["^1?",[["~$s"],["~$s","^1Z"]]]],"~$clear",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",318,"^1;",7,"^1<",318,"^1=",12,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/clear","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",12,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",318,"^1<",318,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"~$escape",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",150,"^1;",7,"^1<",150,"^1=",13,"^1>",["^1?",["^1@",["^1?",[["~$x"]]]]]],"^C","~$figwheel.client.heads-up/escape","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",13,"^1E",["^1?",[["~$x"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",150,"^1<",150,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["~$x"]]]]]],"~$inline-error-line",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",160,"^1;",7,"^1<",160,"^1=",24,"^1>",["^1?",["^1@",["^1?",[["~$style","~$line-number","^1M"]]]]]],"^C","~$figwheel.client.heads-up/inline-error-line","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",24,"^1E",["^1?",[["^26","^27","^1M"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",160,"^1<",160,"^1I",3,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^26","^27","^1M"]]]]]],"~$pad-line-number",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",153,"^1;",7,"^1<",153,"^1=",22,"^1>",["^1?",["^1@",["^1?",[["~$n","^27"]]]]]],"^C","~$figwheel.client.heads-up/pad-line-number","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",22,"^1E",["^1?",[["~$n","^27"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",153,"^1<",153,"^1I",2,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["~$n","^27"]]]]]],"~$get-dataset",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",38,"^1;",7,"^1<",38,"^1=",18,"^1>",["^1?",["^1@",["^1?",[["~$el"]]]]]],"^C","~$figwheel.client.heads-up/get-dataset","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",18,"^1E",["^1?",[["^2<"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",38,"^1<",38,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^2<"]]]]]],"~$flatten-exception",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",182,"^1;",6,"^1<",182,"^1=",23],"^C","~$figwheel.client.heads-up/flatten-exception","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",23,"^1E",["^1?",[["~$p1__24804#"]]],"^1G",null,"^1H",["^1?",[]],"^1;",1,"^1:",182,"^1<",182,"^1I",1,"^1J",true,"^1>",null],"~$display-heads-up",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",108,"^1;",7,"^1<",108,"^1=",23,"^1>",["^1?",["^1@",["^1?",[["^26","~$msg"]]]]]],"^C","~$figwheel.client.heads-up/display-heads-up","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",23,"^1E",["^1?",[["^26","^2B"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",108,"^1<",108,"^1I",2,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^26","^2B"]]]]]],"~$bad-compile-screen",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",381,"^1;",7,"^1<",381,"^1=",25,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/bad-compile-screen","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",25,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",381,"^1<",381,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"~$format-line",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",144,"^1;",7,"^1<",144,"^1=",18,"^1>",["^1?",["^1@",["^1?",[["^2B",["^ ","^1A",["^1L","^1M","^1N"]]]]]]]],"^C","~$figwheel.client.heads-up/format-line","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",18,"^1E",["^1?",[["^2B","~$p__24793"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",144,"^1<",144,"^1I",2,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^2B",["^ ","^1A",["^1L","^1M","^1N"]]]]]]]],"~$format-inline-error-line",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",163,"^1;",7,"^1<",163,"^1=",31,"^1>",["^1?",["^1@",["^1?",[[["~$typ","^27","^1M"]]]]]]],"^C","~$figwheel.client.heads-up/format-inline-error-line","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",31,"^1E",["^1?",[["~$p__24796"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",163,"^1<",163,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^2J","^27","^1M"]]]]]]],"~$pad-line-numbers",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",170,"^1;",7,"^1<",170,"^1=",23,"^1>",["^1?",["^1@",["^1?",[["~$inline-error"]]]]]],"^C","~$figwheel.client.heads-up/pad-line-numbers","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",23,"^1E",["^1?",[["^2N"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",170,"^1<",170,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^2N"]]]]]],"~$heads-up-event-dispatch",["^ ","^C","~$figwheel.client.heads-up/heads-up-event-dispatch","^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1:",24,"^1;",1,"^1<",24,"^1=",34,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",24,"^1;",11,"^1<",24,"^1=",34],"~:tag","~$cljs.core/MultiFn"],"~$heads-up-onclick-handler",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",42,"^1;",7,"^1<",42,"^1=",31,"^1>",["^1?",["^1@",["^1?",[["~$event"]]]]]],"^C","~$figwheel.client.heads-up/heads-up-onclick-handler","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",31,"^1E",["^1?",[["^2U"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",42,"^1<",42,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^2U"]]]]]],"~$set-content!",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",89,"^1;",7,"^1<",89,"^1=",19,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1B"],"~:as","~$c"],"~$dom-str"]]]]]],"^C","~$figwheel.client.heads-up/set-content!","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",19,"^1E",["^1?",[["~$p__24759","^2Y"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",89,"^1<",89,"^1I",2,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1B"],"^2X","~$c"],"^2Y"]]]]]],"~$warning-data->display-data",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",246,"^1;",7,"^1<",246,"^1=",33,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1L","^1M","^1N","~$message","~$error-inline"],"^2X","~$warning-data"]]]]]]],"^C","~$figwheel.client.heads-up/warning-data->display-data","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",33,"^1E",["^1?",[["~$p__24817"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",246,"^1<",246,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^1L","^1M","^1N","^31","^32"],"^2X","^33"]]]]]]],"~$append-warning-message",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",295,"^1;",7,"^1<",295,"^1=",29,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^31","^1L","^1M","^1N"],"^2X","^33"]]]]]]],"^C","~$figwheel.client.heads-up/append-warning-message","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",29,"^1E",["^1?",[["~$p__24826"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",295,"^1<",295,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^31","^1L","^1M","^1N"],"^2X","^33"]]]]]]],"~$display-warning",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",273,"^1;",7,"^1<",273,"^1=",22,"^1>",["^1?",["^1@",["^1?",[["^33"]]]]]],"^C","~$figwheel.client.heads-up/display-warning","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",22,"^1E",["^1?",[["^33"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",273,"^1<",273,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^33"]]]]]],"~$file-selector-div",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",139,"^1;",7,"^1<",139,"^1=",24,"^1>",["^1?",["^1@",["^1?",[["~$file-name","^27","~$column-number","^2B"]]]]]],"^C","~$figwheel.client.heads-up/file-selector-div","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",24,"^1E",["^1?",[["^3<","^27","^3=","^2B"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",139,"^1<",139,"^1I",4,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^3<","^27","^3=","^2B"]]]]]],"~$display-loaded-start",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",332,"^1;",7,"^1<",332,"^1=",27,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/display-loaded-start","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",27,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",332,"^1<",332,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"~$ensure-container",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",48,"^1;",7,"^1<",48,"^1=",23,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/ensure-container","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",23,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",48,"^1<",48,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"~$node",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",18,"^1;",7,"^1<",18,"^1=",11,"^1>",["^1?",["^1@",["^1?",[["~$t","~$attrs","~$&","~$children"]]]]],"^1[",["^ ","^1D",true,"^1I",2,"^1E",[["^1?",["~$t","^3D","^3E"]]],"^1>",["^1?",[["~$t","^3D","~$&","^3E"]]],"^1H",["^1?",[null]]]],"^C","~$figwheel.client.heads-up/node","^1D",true,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",11,"^1[",["^ ","^1D",true,"^1I",2,"^1E",[["^1?",["~$t","^3D","^3E"]]],"^1>",["^1?",[["~$t","^3D","~$&","^3E"]]],"^1H",["^1?",[null]]],"^1E",[["^1?",["~$t","^3D","^3E"]]],"^1G",null,"^1H",["^1?",[null]],"^1;",1,"^1:",18,"^1<",18,"^1I",2,"^1J",true,"^1>",["^1?",[["~$t","^3D","~$&","^3E"]]]],"~$exception->display-data",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",184,"^1;",7,"^1<",184,"^1=",30,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["~$failed-loading-clj-file","~$failed-compiling","~$reader-exception","~$analysis-exception","~$display-ex-data","~$class","^1L","^1M","^1N","^31","^32"],"^2X","~$exception"]]]]]]],"^C","~$figwheel.client.heads-up/exception->display-data","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",30,"^1E",["^1?",[["~$p__24807"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",184,"^1<",184,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^3H","^3I","^3J","^3K","^3L","^3M","^1L","^1M","^1N","^31","^32"],"^2X","^3N"]]]]]]],"~$cljs-logo-svg",["^ ","^C","~$figwheel.client.heads-up/cljs-logo-svg","^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1:",346,"^1;",1,"^1<",346,"^1=",19,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",346,"^1;",6,"^1<",346,"^1=",19],"^2R","^T"],"~$close-bad-compile-screen",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",377,"^1;",7,"^1<",377,"^1=",31,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/close-bad-compile-screen","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",31,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",377,"^1<",377,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"~$format-inline-error",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",175,"^1;",7,"^1<",175,"^1=",26,"^1>",["^1?",["^1@",["^1?",[["^2N"]]]]]],"^C","~$figwheel.client.heads-up/format-inline-error","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",26,"^1E",["^1?",[["^2N"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",175,"^1<",175,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^2N"]]]]]],"~$format-warning-message",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",289,"^1;",7,"^1<",289,"^1=",29,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^31","^1L","^1M","^1N"],"^2X","^33"]]]]]]],"^C","~$figwheel.client.heads-up/format-warning-message","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",29,"^1E",["^1?",[["~$p__24822"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",289,"^1<",289,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^1A",["^31","^1L","^1M","^1N"],"^2X","^33"]]]]]]],"~$display-system-warning",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",267,"^1;",7,"^1<",267,"^1=",29,"^1>",["^1?",["^1@",["^1?",[["~$header","^2B"]]]]]],"^C","~$figwheel.client.heads-up/display-system-warning","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",29,"^1E",["^1?",[["^3[","^2B"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",267,"^1<",267,"^1I",2,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^3[","^2B"]]]]]],"~$close-link",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",95,"^1;",7,"^1<",95,"^1=",17,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/close-link","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",17,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",95,"^1<",95,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"~$ancestor-nodes",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",35,"^1;",7,"^1<",35,"^1=",21,"^1>",["^1?",["^1@",["^1?",[["^2<"]]]]]],"^C","~$figwheel.client.heads-up/ancestor-nodes","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",21,"^1E",["^1?",[["^2<"]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",35,"^1<",35,"^1I",1,"^1J",true,"^1>",["^1?",["^1@",["^1?",[["^2<"]]]]]],"~$flash-loaded",["^ ","^17",null,"^18",["^ ","^19","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/heads_up.cljs","^1:",340,"^1;",7,"^1<",340,"^1=",19,"^1>",["^1?",["^1@",["^1?",[[]]]]]],"^C","~$figwheel.client.heads-up/flash-loaded","^1D",false,"^19","resources/public/js/out/figwheel/client/heads_up.cljs","^1=",19,"^1E",["^1?",[[]]],"^1G",null,"^1H",["^1?",[null,null]],"^1;",1,"^1:",340,"^1<",340,"^1I",0,"^1J",true,"^1>",["^1?",["^1@",["^1?",[[]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^?","^?","^W","^V","^V","^V","^L","^M","^M","^M","^R","^S","^S","^S"],"~:cljs.analyzer/constants",["^ ","~:seen",["^B",["~:figwheel-event","~:error-in-code","~:content-area-el","~:cause","~:borderRadius","~:reader-exception","~:else","~:paddingBottom","~:paddingTop","~:default","~:last-message","~:paddingRight","^19","~:width","~:recur","~:paddingLeft","~:container-el","~:failed-compiling","^1;","~:style","~:div","~:head","~:error-inline","~:messages","~:code-line","^1:","~:opacity","~:id","~:class","~:analysis-exception","~:padding","~:file-name","~:display-ex-data","~:error-message","~:exception-data","~:hierarchy","~:backgroundColor","~:minHeight","~:file-column","~:sub-head","~:file-line","~:message","~:height","~:failed-loading-clj-file"]],"~:order",["^4[","^4D","^4;","^4W","^54","^52","^4M","^4S","^4L","^4J","^4=","^4C","^4B","^4G","^51","^4R","^56","^4H","^4A","^19","^1:","^1;","^4Q","^4<","^4Y","^4>","^55","^57","^4@","^4K","^4O","^4T","^4U","^4X","^4N","^53","^4P","^4Z","^4E","^50","^4V","^4?","^4I","^4F"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/heads_up.js b/examples/resources/public/js/out/figwheel/client/heads_up.js new file mode 100644 index 0000000..d83deae --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/heads_up.js @@ -0,0 +1,897 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('figwheel.client.heads_up'); +goog.require('cljs.core'); +goog.require('clojure.string'); +goog.require('figwheel.client.socket'); +goog.require('figwheel.client.utils'); +goog.require('cljs.core.async'); +goog.require('goog.string'); +goog.require('goog.dom.dataset'); +goog.require('goog.object'); +goog.require('goog.dom'); +goog.require('cljs.pprint'); + +figwheel.client.heads_up.node = (function figwheel$client$heads_up$node(var_args){ +var args__4502__auto__ = []; +var len__4499__auto___24706 = arguments.length; +var i__4500__auto___24707 = (0); +while(true){ +if((i__4500__auto___24707 < len__4499__auto___24706)){ +args__4502__auto__.push((arguments[i__4500__auto___24707])); + +var G__24708 = (i__4500__auto___24707 + (1)); +i__4500__auto___24707 = G__24708; +continue; +} else { +} +break; +} + +var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.IndexedSeq(args__4502__auto__.slice((2)),(0),null)):null); +return figwheel.client.heads_up.node.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); +}); + +figwheel.client.heads_up.node.cljs$core$IFn$_invoke$arity$variadic = (function (t,attrs,children){ +var e = document.createElement(cljs.core.name.call(null,t)); +var seq__24698_24709 = cljs.core.seq.call(null,cljs.core.keys.call(null,attrs)); +var chunk__24699_24710 = null; +var count__24700_24711 = (0); +var i__24701_24712 = (0); +while(true){ +if((i__24701_24712 < count__24700_24711)){ +var k_24713 = cljs.core._nth.call(null,chunk__24699_24710,i__24701_24712); +e.setAttribute(cljs.core.name.call(null,k_24713),cljs.core.get.call(null,attrs,k_24713)); + + +var G__24714 = seq__24698_24709; +var G__24715 = chunk__24699_24710; +var G__24716 = count__24700_24711; +var G__24717 = (i__24701_24712 + (1)); +seq__24698_24709 = G__24714; +chunk__24699_24710 = G__24715; +count__24700_24711 = G__24716; +i__24701_24712 = G__24717; +continue; +} else { +var temp__4657__auto___24718 = cljs.core.seq.call(null,seq__24698_24709); +if(temp__4657__auto___24718){ +var seq__24698_24719__$1 = temp__4657__auto___24718; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24698_24719__$1)){ +var c__4319__auto___24720 = cljs.core.chunk_first.call(null,seq__24698_24719__$1); +var G__24721 = cljs.core.chunk_rest.call(null,seq__24698_24719__$1); +var G__24722 = c__4319__auto___24720; +var G__24723 = cljs.core.count.call(null,c__4319__auto___24720); +var G__24724 = (0); +seq__24698_24709 = G__24721; +chunk__24699_24710 = G__24722; +count__24700_24711 = G__24723; +i__24701_24712 = G__24724; +continue; +} else { +var k_24725 = cljs.core.first.call(null,seq__24698_24719__$1); +e.setAttribute(cljs.core.name.call(null,k_24725),cljs.core.get.call(null,attrs,k_24725)); + + +var G__24726 = cljs.core.next.call(null,seq__24698_24719__$1); +var G__24727 = null; +var G__24728 = (0); +var G__24729 = (0); +seq__24698_24709 = G__24726; +chunk__24699_24710 = G__24727; +count__24700_24711 = G__24728; +i__24701_24712 = G__24729; +continue; +} +} else { +} +} +break; +} + +var seq__24702_24730 = cljs.core.seq.call(null,children); +var chunk__24703_24731 = null; +var count__24704_24732 = (0); +var i__24705_24733 = (0); +while(true){ +if((i__24705_24733 < count__24704_24732)){ +var ch_24734 = cljs.core._nth.call(null,chunk__24703_24731,i__24705_24733); +e.appendChild(ch_24734); + + +var G__24735 = seq__24702_24730; +var G__24736 = chunk__24703_24731; +var G__24737 = count__24704_24732; +var G__24738 = (i__24705_24733 + (1)); +seq__24702_24730 = G__24735; +chunk__24703_24731 = G__24736; +count__24704_24732 = G__24737; +i__24705_24733 = G__24738; +continue; +} else { +var temp__4657__auto___24739 = cljs.core.seq.call(null,seq__24702_24730); +if(temp__4657__auto___24739){ +var seq__24702_24740__$1 = temp__4657__auto___24739; +if(cljs.core.chunked_seq_QMARK_.call(null,seq__24702_24740__$1)){ +var c__4319__auto___24741 = cljs.core.chunk_first.call(null,seq__24702_24740__$1); +var G__24742 = cljs.core.chunk_rest.call(null,seq__24702_24740__$1); +var G__24743 = c__4319__auto___24741; +var G__24744 = cljs.core.count.call(null,c__4319__auto___24741); +var G__24745 = (0); +seq__24702_24730 = G__24742; +chunk__24703_24731 = G__24743; +count__24704_24732 = G__24744; +i__24705_24733 = G__24745; +continue; +} else { +var ch_24746 = cljs.core.first.call(null,seq__24702_24740__$1); +e.appendChild(ch_24746); + + +var G__24747 = cljs.core.next.call(null,seq__24702_24740__$1); +var G__24748 = null; +var G__24749 = (0); +var G__24750 = (0); +seq__24702_24730 = G__24747; +chunk__24703_24731 = G__24748; +count__24704_24732 = G__24749; +i__24705_24733 = G__24750; +continue; +} +} else { +} +} +break; +} + +return e; +}); + +figwheel.client.heads_up.node.cljs$lang$maxFixedArity = (2); + +/** @this {Function} */ +figwheel.client.heads_up.node.cljs$lang$applyTo = (function (seq24695){ +var G__24696 = cljs.core.first.call(null,seq24695); +var seq24695__$1 = cljs.core.next.call(null,seq24695); +var G__24697 = cljs.core.first.call(null,seq24695__$1); +var seq24695__$2 = cljs.core.next.call(null,seq24695__$1); +var self__4486__auto__ = this; +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__24696,G__24697,seq24695__$2); +}); + +if(typeof figwheel.client.heads_up.heads_up_event_dispatch !== 'undefined'){ +} else { +figwheel.client.heads_up.heads_up_event_dispatch = (function (){var method_table__4382__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__4383__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var method_cache__4384__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__4385__auto__ = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__4386__auto__ = cljs.core.get.call(null,cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),cljs.core.get_global_hierarchy.call(null)); +return (new cljs.core.MultiFn(cljs.core.symbol.call(null,"figwheel.client.heads-up","heads-up-event-dispatch"),((function (method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__){ +return (function (dataset){ +return dataset.figwheelEvent; +});})(method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__,hierarchy__4386__auto__)) +,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__4386__auto__,method_table__4382__auto__,prefer_table__4383__auto__,method_cache__4384__auto__,cached_hierarchy__4385__auto__)); +})(); +} +cljs.core._add_method.call(null,figwheel.client.heads_up.heads_up_event_dispatch,new cljs.core.Keyword(null,"default","default",-1987822328),(function (_){ +return cljs.core.PersistentArrayMap.EMPTY; +})); +cljs.core._add_method.call(null,figwheel.client.heads_up.heads_up_event_dispatch,"file-selected",(function (dataset){ +return figwheel.client.socket.send_BANG_.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"figwheel-event","figwheel-event",519570592),"file-selected",new cljs.core.Keyword(null,"file-name","file-name",-1654217259),dataset.fileName,new cljs.core.Keyword(null,"file-line","file-line",-1228823138),dataset.fileLine,new cljs.core.Keyword(null,"file-column","file-column",1543934780),dataset.fileColumn], null)); +})); +cljs.core._add_method.call(null,figwheel.client.heads_up.heads_up_event_dispatch,"close-heads-up",(function (dataset){ +return figwheel.client.heads_up.clear.call(null); +})); +figwheel.client.heads_up.ancestor_nodes = (function figwheel$client$heads_up$ancestor_nodes(el){ +return cljs.core.iterate.call(null,(function (e){ +return e.parentNode; +}),el); +}); +figwheel.client.heads_up.get_dataset = (function figwheel$client$heads_up$get_dataset(el){ +return cljs.core.first.call(null,cljs.core.keep.call(null,(function (x){ +if(cljs.core.truth_(x.dataset.figwheelEvent)){ +return x.dataset; +} else { +return null; +} +}),cljs.core.take.call(null,(4),figwheel.client.heads_up.ancestor_nodes.call(null,el)))); +}); +figwheel.client.heads_up.heads_up_onclick_handler = (function figwheel$client$heads_up$heads_up_onclick_handler(event){ +var dataset = figwheel.client.heads_up.get_dataset.call(null,event.target); +event.preventDefault(); + +if(cljs.core.truth_(dataset)){ +return figwheel.client.heads_up.heads_up_event_dispatch.call(null,dataset); +} else { +return null; +} +}); +figwheel.client.heads_up.ensure_container = (function figwheel$client$heads_up$ensure_container(){ +var cont_id = "figwheel-heads-up-container"; +var content_id = "figwheel-heads-up-content-area"; +if(cljs.core.not.call(null,document.querySelector(["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cont_id)].join('')))){ +var el_24751 = figwheel.client.heads_up.node.call(null,new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),cont_id,new cljs.core.Keyword(null,"style","style",-496642736),["-webkit-transition: all 0.2s ease-in-out;","-moz-transition: all 0.2s ease-in-out;","-o-transition: all 0.2s ease-in-out;","transition: all 0.2s ease-in-out;","font-size: 13px;","border-top: 1px solid #f5f5f5;","box-shadow: 0px 0px 1px #aaaaaa;","line-height: 18px;","color: #333;","font-family: monospace;","padding: 0px 10px 0px 70px;","position: fixed;","bottom: 0px;","left: 0px;","height: 0px;","opacity: 0.0;","box-sizing: border-box;","z-index: 10000;","text-align: left;"].join('')], null)); +el_24751.onclick = figwheel.client.heads_up.heads_up_onclick_handler; + +el_24751.innerHTML = figwheel.client.heads_up.cljs_logo_svg; + +el_24751.appendChild(figwheel.client.heads_up.node.call(null,new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),content_id], null))); + +document.body.appendChild(el_24751); +} else { +} + +return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"container-el","container-el",109664205),document.getElementById(cont_id),new cljs.core.Keyword(null,"content-area-el","content-area-el",742757187),document.getElementById(content_id)], null); +}); +figwheel.client.heads_up.set_style_BANG_ = (function figwheel$client$heads_up$set_style_BANG_(p__24752,st_map){ +var map__24753 = p__24752; +var map__24753__$1 = ((((!((map__24753 == null)))?(((((map__24753.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24753.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24753):map__24753); +var container_el = cljs.core.get.call(null,map__24753__$1,new cljs.core.Keyword(null,"container-el","container-el",109664205)); +return cljs.core.mapv.call(null,((function (map__24753,map__24753__$1,container_el){ +return (function (p__24755){ +var vec__24756 = p__24755; +var k = cljs.core.nth.call(null,vec__24756,(0),null); +var v = cljs.core.nth.call(null,vec__24756,(1),null); +return goog.object.set(container_el.style,cljs.core.name.call(null,k),v); +});})(map__24753,map__24753__$1,container_el)) +,st_map); +}); +figwheel.client.heads_up.set_content_BANG_ = (function figwheel$client$heads_up$set_content_BANG_(p__24759,dom_str){ +var map__24760 = p__24759; +var map__24760__$1 = ((((!((map__24760 == null)))?(((((map__24760.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24760.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24760):map__24760); +var c = map__24760__$1; +var content_area_el = cljs.core.get.call(null,map__24760__$1,new cljs.core.Keyword(null,"content-area-el","content-area-el",742757187)); +return content_area_el.innerHTML = dom_str; +}); +figwheel.client.heads_up.get_content = (function figwheel$client$heads_up$get_content(p__24762){ +var map__24763 = p__24762; +var map__24763__$1 = ((((!((map__24763 == null)))?(((((map__24763.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24763.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24763):map__24763); +var content_area_el = cljs.core.get.call(null,map__24763__$1,new cljs.core.Keyword(null,"content-area-el","content-area-el",742757187)); +return content_area_el.innerHTML; +}); +figwheel.client.heads_up.close_link = (function figwheel$client$heads_up$close_link(){ +return ["","x",""].join(''); +}); +figwheel.client.heads_up.display_heads_up = (function figwheel$client$heads_up$display_heads_up(style,msg){ +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_24780){ +var state_val_24781 = (state_24780[(1)]); +if((state_val_24781 === (1))){ +var inst_24765 = (state_24780[(7)]); +var inst_24765__$1 = figwheel.client.heads_up.ensure_container.call(null); +var inst_24766 = [new cljs.core.Keyword(null,"paddingTop","paddingTop",-1088692345),new cljs.core.Keyword(null,"paddingBottom","paddingBottom",-916694489),new cljs.core.Keyword(null,"width","width",-384071477),new cljs.core.Keyword(null,"minHeight","minHeight",-1635998980),new cljs.core.Keyword(null,"opacity","opacity",397153780)]; +var inst_24767 = ["10px","10px","100%","68px","1.0"]; +var inst_24768 = cljs.core.PersistentHashMap.fromArrays(inst_24766,inst_24767); +var inst_24769 = cljs.core.merge.call(null,inst_24768,style); +var inst_24770 = figwheel.client.heads_up.set_style_BANG_.call(null,inst_24765__$1,inst_24769); +var inst_24771 = figwheel.client.heads_up.set_content_BANG_.call(null,inst_24765__$1,msg); +var inst_24772 = cljs.core.async.timeout.call(null,(300)); +var state_24780__$1 = (function (){var statearr_24782 = state_24780; +(statearr_24782[(8)] = inst_24771); + +(statearr_24782[(7)] = inst_24765__$1); + +(statearr_24782[(9)] = inst_24770); + +return statearr_24782; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_24780__$1,(2),inst_24772); +} else { +if((state_val_24781 === (2))){ +var inst_24765 = (state_24780[(7)]); +var inst_24774 = (state_24780[(2)]); +var inst_24775 = [new cljs.core.Keyword(null,"height","height",1025178622)]; +var inst_24776 = ["auto"]; +var inst_24777 = cljs.core.PersistentHashMap.fromArrays(inst_24775,inst_24776); +var inst_24778 = figwheel.client.heads_up.set_style_BANG_.call(null,inst_24765,inst_24777); +var state_24780__$1 = (function (){var statearr_24783 = state_24780; +(statearr_24783[(10)] = inst_24774); + +return statearr_24783; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_24780__$1,inst_24778); +} else { +return null; +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto__ = null; +var figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto____0 = (function (){ +var statearr_24784 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_24784[(0)] = figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto__); + +(statearr_24784[(1)] = (1)); + +return statearr_24784; +}); +var figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto____1 = (function (state_24780){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_24780); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e24785){if((e24785 instanceof Object)){ +var ex__20787__auto__ = e24785; +var statearr_24786_24788 = state_24780; +(statearr_24786_24788[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_24780); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e24785; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__24789 = state_24780; +state_24780 = G__24789; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto__ = function(state_24780){ +switch(arguments.length){ +case 0: +return figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto____1.call(this,state_24780); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto____0; +figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto____1; +return figwheel$client$heads_up$display_heads_up_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_24787 = f__20873__auto__.call(null); +(statearr_24787[(6)] = c__20872__auto__); + +return statearr_24787; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__auto__; +}); +figwheel.client.heads_up.heading = (function figwheel$client$heads_up$heading(var_args){ +var G__24791 = arguments.length; +switch (G__24791) { +case 1: +return figwheel.client.heads_up.heading.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return figwheel.client.heads_up.heading.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(''))); + +} +}); + +figwheel.client.heads_up.heading.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return figwheel.client.heads_up.heading.call(null,s,""); +}); + +figwheel.client.heads_up.heading.cljs$core$IFn$_invoke$arity$2 = (function (s,sub_head){ +return ["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(s)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(sub_head),"
"].join(''); +}); + +figwheel.client.heads_up.heading.cljs$lang$maxFixedArity = 2; + +figwheel.client.heads_up.file_selector_div = (function figwheel$client$heads_up$file_selector_div(file_name,line_number,column_number,msg){ +return ["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(msg),"
"].join(''); +}); +figwheel.client.heads_up.format_line = (function figwheel$client$heads_up$format_line(msg,p__24793){ +var map__24794 = p__24793; +var map__24794__$1 = ((((!((map__24794 == null)))?(((((map__24794.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24794.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24794):map__24794); +var file = cljs.core.get.call(null,map__24794__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24794__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24794__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var msg__$1 = goog.string.htmlEscape(msg); +if(cljs.core.truth_((function (){var or__3922__auto__ = file; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return line; +} +})())){ +return figwheel.client.heads_up.file_selector_div.call(null,file,line,column,msg__$1); +} else { +return ["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(msg__$1),"
"].join(''); +} +}); +figwheel.client.heads_up.escape = (function figwheel$client$heads_up$escape(x){ +return goog.string.htmlEscape(x); +}); +figwheel.client.heads_up.pad_line_number = (function figwheel$client$heads_up$pad_line_number(n,line_number){ +var len = cljs.core.count.call(null,cljs.core.fnil.call(null,cljs.core.str,"").call(null,line_number)); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((len < n))?cljs.core.apply.call(null,cljs.core.str,cljs.core.repeat.call(null,(n - len)," ")):"")),cljs.core.str.cljs$core$IFn$_invoke$arity$1(line_number)].join(''); +}); +figwheel.client.heads_up.inline_error_line = (function figwheel$client$heads_up$inline_error_line(style,line_number,line){ +return ["","",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line_number)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,line)),""].join(''); +}); +figwheel.client.heads_up.format_inline_error_line = (function figwheel$client$heads_up$format_inline_error_line(p__24796){ +var vec__24797 = p__24796; +var typ = cljs.core.nth.call(null,vec__24797,(0),null); +var line_number = cljs.core.nth.call(null,vec__24797,(1),null); +var line = cljs.core.nth.call(null,vec__24797,(2),null); +var pred__24800 = cljs.core._EQ_; +var expr__24801 = typ; +if(cljs.core.truth_(pred__24800.call(null,new cljs.core.Keyword(null,"code-line","code-line",-2138627853),expr__24801))){ +return figwheel.client.heads_up.inline_error_line.call(null,"color: #999;",line_number,line); +} else { +if(cljs.core.truth_(pred__24800.call(null,new cljs.core.Keyword(null,"error-in-code","error-in-code",-1661931357),expr__24801))){ +return figwheel.client.heads_up.inline_error_line.call(null,"color: #ccc; font-weight: bold;",line_number,line); +} else { +if(cljs.core.truth_(pred__24800.call(null,new cljs.core.Keyword(null,"error-message","error-message",1756021561),expr__24801))){ +return figwheel.client.heads_up.inline_error_line.call(null,"color: #D07D7D;",line_number,line); +} else { +return figwheel.client.heads_up.inline_error_line.call(null,"color: #666;",line_number,line); +} +} +} +}); +figwheel.client.heads_up.pad_line_numbers = (function figwheel$client$heads_up$pad_line_numbers(inline_error){ +var max_line_number_length = cljs.core.count.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.reduce.call(null,cljs.core.max,cljs.core.map.call(null,cljs.core.second,inline_error)))].join('')); +return cljs.core.map.call(null,((function (max_line_number_length){ +return (function (p1__24803_SHARP_){ +return cljs.core.update_in.call(null,p1__24803_SHARP_,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1)], null),cljs.core.partial.call(null,figwheel.client.heads_up.pad_line_number,max_line_number_length)); +});})(max_line_number_length)) +,inline_error); +}); +figwheel.client.heads_up.format_inline_error = (function figwheel$client$heads_up$format_inline_error(inline_error){ +var lines = cljs.core.map.call(null,figwheel.client.heads_up.format_inline_error_line,figwheel.client.heads_up.pad_line_numbers.call(null,inline_error)); +return ["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.join.call(null,"\n",lines)),"
"].join(''); +}); +figwheel.client.heads_up.flatten_exception = (function figwheel$client$heads_up$flatten_exception(p1__24804_SHARP_){ +return cljs.core.take_while.call(null,cljs.core.some_QMARK_,cljs.core.iterate.call(null,new cljs.core.Keyword(null,"cause","cause",231901252),p1__24804_SHARP_)); +}); +figwheel.client.heads_up.exception__GT_display_data = (function figwheel$client$heads_up$exception__GT_display_data(p__24807){ +var map__24808 = p__24807; +var map__24808__$1 = ((((!((map__24808 == null)))?(((((map__24808.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24808.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24808):map__24808); +var exception = map__24808__$1; +var message = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var failed_loading_clj_file = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"failed-loading-clj-file","failed-loading-clj-file",-1682536481)); +var reader_exception = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"reader-exception","reader-exception",-1938323098)); +var file = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var column = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var failed_compiling = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"failed-compiling","failed-compiling",1768639503)); +var error_inline = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"error-inline","error-inline",1073987185)); +var line = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var class$ = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"class","class",-2030961996)); +var analysis_exception = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"analysis-exception","analysis-exception",591623285)); +var display_ex_data = cljs.core.get.call(null,map__24808__$1,new cljs.core.Keyword(null,"display-ex-data","display-ex-data",-1611558730)); +var last_message = (cljs.core.truth_((function (){var and__3911__auto__ = file; +if(cljs.core.truth_(and__3911__auto__)){ +return line; +} else { +return and__3911__auto__; +} +})())?["Please see line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)," of file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''):(cljs.core.truth_(file)?["Please see ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''):null +)); +return new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"head","head",-771383919),(cljs.core.truth_(failed_loading_clj_file)?"Couldn't load Clojure file":(cljs.core.truth_(analysis_exception)?"Could not Analyze":(cljs.core.truth_(reader_exception)?"Could not Read":(cljs.core.truth_(failed_compiling)?"Could not Compile":"Compile Exception" +)))),new cljs.core.Keyword(null,"sub-head","sub-head",1930649117),file,new cljs.core.Keyword(null,"messages","messages",345434482),cljs.core.concat.call(null,cljs.core.map.call(null,((function (last_message,map__24808,map__24808__$1,exception,message,failed_loading_clj_file,reader_exception,file,column,failed_compiling,error_inline,line,class$,analysis_exception,display_ex_data){ +return (function (p1__24805_SHARP_){ +return ["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(p1__24805_SHARP_),"
"].join(''); +});})(last_message,map__24808,map__24808__$1,exception,message,failed_loading_clj_file,reader_exception,file,column,failed_compiling,error_inline,line,class$,analysis_exception,display_ex_data)) +,(cljs.core.truth_(message)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(class$)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,class$)),": "].join(''):"")),"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,message)),""].join(''),(cljs.core.truth_(display_ex_data)?["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.utils.pprint_to_string.call(null,display_ex_data)),"
"].join(''):null),(((cljs.core.count.call(null,error_inline) > (0)))?figwheel.client.heads_up.format_inline_error.call(null,error_inline):null)], null):cljs.core.map.call(null,((function (last_message,map__24808,map__24808__$1,exception,message,failed_loading_clj_file,reader_exception,file,column,failed_compiling,error_inline,line,class$,analysis_exception,display_ex_data){ +return (function (p1__24806_SHARP_){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,new cljs.core.Keyword(null,"class","class",-2030961996).cljs$core$IFn$_invoke$arity$1(p1__24806_SHARP_))),": ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(p1__24806_SHARP_)))].join(''); +});})(last_message,map__24808,map__24808__$1,exception,message,failed_loading_clj_file,reader_exception,file,column,failed_compiling,error_inline,line,class$,analysis_exception,display_ex_data)) +,figwheel.client.heads_up.flatten_exception.call(null,new cljs.core.Keyword(null,"exception-data","exception-data",-512474886).cljs$core$IFn$_invoke$arity$1(exception))))),(cljs.core.truth_(last_message)?new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,last_message)),"
"].join('')], null):null)),new cljs.core.Keyword(null,"file","file",-1269645878),file,new cljs.core.Keyword(null,"line","line",212345235),line,new cljs.core.Keyword(null,"column","column",2078222095),column], null); +}); +figwheel.client.heads_up.auto_notify_source_file_line = (function figwheel$client$heads_up$auto_notify_source_file_line(p__24810){ +var map__24811 = p__24810; +var map__24811__$1 = ((((!((map__24811 == null)))?(((((map__24811.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24811.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24811):map__24811); +var file = cljs.core.get.call(null,map__24811__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24811__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24811__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +return figwheel.client.socket.send_BANG_.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"figwheel-event","figwheel-event",519570592),"file-selected",new cljs.core.Keyword(null,"file-name","file-name",-1654217259),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''),new cljs.core.Keyword(null,"file-line","file-line",-1228823138),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)].join(''),new cljs.core.Keyword(null,"file-column","file-column",1543934780),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(column)].join('')], null)); +}); +figwheel.client.heads_up.display_exception = (function figwheel$client$heads_up$display_exception(exception_data){ +var map__24814 = figwheel.client.heads_up.exception__GT_display_data.call(null,exception_data); +var map__24814__$1 = ((((!((map__24814 == null)))?(((((map__24814.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24814.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24814):map__24814); +var head = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"head","head",-771383919)); +var sub_head = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"sub-head","sub-head",1930649117)); +var messages = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"messages","messages",345434482)); +var last_message = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"last-message","last-message",-2087778135)); +var file = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24814__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var msg = cljs.core.apply.call(null,cljs.core.str,messages); +return figwheel.client.heads_up.display_heads_up.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"backgroundColor","backgroundColor",1738438491),"rgba(255, 161, 161, 0.95)"], null),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.close_link.call(null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.heading.call(null,head,sub_head)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.file_selector_div.call(null,file,line,column,msg))].join('')); +}); +figwheel.client.heads_up.warning_data__GT_display_data = (function figwheel$client$heads_up$warning_data__GT_display_data(p__24817){ +var map__24818 = p__24817; +var map__24818__$1 = ((((!((map__24818 == null)))?(((((map__24818.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24818.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24818):map__24818); +var warning_data = map__24818__$1; +var file = cljs.core.get.call(null,map__24818__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24818__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24818__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var message = cljs.core.get.call(null,map__24818__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var error_inline = cljs.core.get.call(null,map__24818__$1,new cljs.core.Keyword(null,"error-inline","error-inline",1073987185)); +var last_message = (cljs.core.truth_((function (){var and__3911__auto__ = file; +if(cljs.core.truth_(and__3911__auto__)){ +return line; +} else { +return and__3911__auto__; +} +})())?["Please see line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)," of file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''):(cljs.core.truth_(file)?["Please see ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''):null +)); +return new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"head","head",-771383919),"Compile Warning",new cljs.core.Keyword(null,"sub-head","sub-head",1930649117),file,new cljs.core.Keyword(null,"messages","messages",345434482),cljs.core.concat.call(null,cljs.core.map.call(null,((function (last_message,map__24818,map__24818__$1,warning_data,file,line,column,message,error_inline){ +return (function (p1__24816_SHARP_){ +return ["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(p1__24816_SHARP_),"
"].join(''); +});})(last_message,map__24818,map__24818__$1,warning_data,file,line,column,message,error_inline)) +,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(cljs.core.truth_(message)?["",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,message)),""].join(''):null),(((cljs.core.count.call(null,error_inline) > (0)))?figwheel.client.heads_up.format_inline_error.call(null,error_inline):null)], null)),(cljs.core.truth_(last_message)?new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [["
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.escape.call(null,last_message)),"
"].join('')], null):null)),new cljs.core.Keyword(null,"file","file",-1269645878),file,new cljs.core.Keyword(null,"line","line",212345235),line,new cljs.core.Keyword(null,"column","column",2078222095),column], null); +}); +figwheel.client.heads_up.display_system_warning = (function figwheel$client$heads_up$display_system_warning(header,msg){ +return figwheel.client.heads_up.display_heads_up.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"backgroundColor","backgroundColor",1738438491),"rgba(255, 220, 110, 0.95)"], null),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.close_link.call(null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.heading.call(null,header)),"
",cljs.core.str.cljs$core$IFn$_invoke$arity$1(msg),"
"].join('')); +}); +figwheel.client.heads_up.display_warning = (function figwheel$client$heads_up$display_warning(warning_data){ +var map__24820 = figwheel.client.heads_up.warning_data__GT_display_data.call(null,warning_data); +var map__24820__$1 = ((((!((map__24820 == null)))?(((((map__24820.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24820.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24820):map__24820); +var head = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"head","head",-771383919)); +var sub_head = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"sub-head","sub-head",1930649117)); +var messages = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"messages","messages",345434482)); +var last_message = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"last-message","last-message",-2087778135)); +var file = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24820__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var msg = cljs.core.apply.call(null,cljs.core.str,messages); +return figwheel.client.heads_up.display_heads_up.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"backgroundColor","backgroundColor",1738438491),"rgba(255, 220, 110, 0.95)"], null),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.close_link.call(null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.heading.call(null,head,sub_head)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(figwheel.client.heads_up.file_selector_div.call(null,file,line,column,msg))].join('')); +}); +figwheel.client.heads_up.format_warning_message = (function figwheel$client$heads_up$format_warning_message(p__24822){ +var map__24823 = p__24822; +var map__24823__$1 = ((((!((map__24823 == null)))?(((((map__24823.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24823.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24823):map__24823); +var warning_data = map__24823__$1; +var message = cljs.core.get.call(null,map__24823__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var file = cljs.core.get.call(null,map__24823__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24823__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24823__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +var G__24825 = message; +var G__24825__$1 = (cljs.core.truth_(line)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__24825)," at line ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)].join(''):G__24825); +var G__24825__$2 = (cljs.core.truth_((function (){var and__3911__auto__ = line; +if(cljs.core.truth_(and__3911__auto__)){ +return column; +} else { +return and__3911__auto__; +} +})())?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__24825__$1),", column ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(column)].join(''):G__24825__$1); +if(cljs.core.truth_(file)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__24825__$2)," in file ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(file)].join(''); +} else { +return G__24825__$2; +} +}); +figwheel.client.heads_up.append_warning_message = (function figwheel$client$heads_up$append_warning_message(p__24826){ +var map__24827 = p__24826; +var map__24827__$1 = ((((!((map__24827 == null)))?(((((map__24827.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24827.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24827):map__24827); +var warning_data = map__24827__$1; +var message = cljs.core.get.call(null,map__24827__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var file = cljs.core.get.call(null,map__24827__$1,new cljs.core.Keyword(null,"file","file",-1269645878)); +var line = cljs.core.get.call(null,map__24827__$1,new cljs.core.Keyword(null,"line","line",212345235)); +var column = cljs.core.get.call(null,map__24827__$1,new cljs.core.Keyword(null,"column","column",2078222095)); +if(cljs.core.truth_(message)){ +var map__24829 = figwheel.client.heads_up.ensure_container.call(null); +var map__24829__$1 = ((((!((map__24829 == null)))?(((((map__24829.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24829.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24829):map__24829); +var content_area_el = cljs.core.get.call(null,map__24829__$1,new cljs.core.Keyword(null,"content-area-el","content-area-el",742757187)); +var el = goog.dom.createElement("div"); +var child_count = goog.dom.getChildren(content_area_el).length; +if((child_count < (6))){ +el.innerHTML = figwheel.client.heads_up.format_line.call(null,figwheel.client.heads_up.format_warning_message.call(null,warning_data),warning_data); + +return goog.dom.append(content_area_el,el); +} else { +var temp__4657__auto__ = goog.dom.getLastElementChild(content_area_el); +if(cljs.core.truth_(temp__4657__auto__)){ +var last_child = temp__4657__auto__; +var temp__4655__auto__ = goog.dom.dataset.get(last_child,"figwheel_count"); +if(cljs.core.truth_(temp__4655__auto__)){ +var message_count = temp__4655__auto__; +var message_count__$1 = (parseInt(message_count) + (1)); +goog.dom.dataset.set(last_child,"figwheel_count",message_count__$1); + +return last_child.innerHTML = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(message_count__$1)," more warnings have not been displayed ..."].join(''); +} else { +return goog.dom.append(content_area_el,goog.dom.createDom("div",({"data-figwheel_count": (1), "style": "margin-top: 3px; font-weight: bold"}),"1 more warning that has not been displayed ...")); +} +} else { +return null; +} +} +} else { +return null; +} +}); +figwheel.client.heads_up.clear = (function figwheel$client$heads_up$clear(){ +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_24848){ +var state_val_24849 = (state_24848[(1)]); +if((state_val_24849 === (1))){ +var inst_24831 = (state_24848[(7)]); +var inst_24831__$1 = figwheel.client.heads_up.ensure_container.call(null); +var inst_24832 = [new cljs.core.Keyword(null,"opacity","opacity",397153780)]; +var inst_24833 = ["0.0"]; +var inst_24834 = cljs.core.PersistentHashMap.fromArrays(inst_24832,inst_24833); +var inst_24835 = figwheel.client.heads_up.set_style_BANG_.call(null,inst_24831__$1,inst_24834); +var inst_24836 = cljs.core.async.timeout.call(null,(300)); +var state_24848__$1 = (function (){var statearr_24850 = state_24848; +(statearr_24850[(8)] = inst_24835); + +(statearr_24850[(7)] = inst_24831__$1); + +return statearr_24850; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_24848__$1,(2),inst_24836); +} else { +if((state_val_24849 === (2))){ +var inst_24831 = (state_24848[(7)]); +var inst_24838 = (state_24848[(2)]); +var inst_24839 = [new cljs.core.Keyword(null,"width","width",-384071477),new cljs.core.Keyword(null,"height","height",1025178622),new cljs.core.Keyword(null,"minHeight","minHeight",-1635998980),new cljs.core.Keyword(null,"padding","padding",1660304693),new cljs.core.Keyword(null,"borderRadius","borderRadius",-1505621083),new cljs.core.Keyword(null,"backgroundColor","backgroundColor",1738438491)]; +var inst_24840 = ["auto","0px","0px","0px 10px 0px 70px","0px","transparent"]; +var inst_24841 = cljs.core.PersistentHashMap.fromArrays(inst_24839,inst_24840); +var inst_24842 = figwheel.client.heads_up.set_style_BANG_.call(null,inst_24831,inst_24841); +var inst_24843 = cljs.core.async.timeout.call(null,(200)); +var state_24848__$1 = (function (){var statearr_24851 = state_24848; +(statearr_24851[(9)] = inst_24842); + +(statearr_24851[(10)] = inst_24838); + +return statearr_24851; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_24848__$1,(3),inst_24843); +} else { +if((state_val_24849 === (3))){ +var inst_24831 = (state_24848[(7)]); +var inst_24845 = (state_24848[(2)]); +var inst_24846 = figwheel.client.heads_up.set_content_BANG_.call(null,inst_24831,""); +var state_24848__$1 = (function (){var statearr_24852 = state_24848; +(statearr_24852[(11)] = inst_24845); + +return statearr_24852; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_24848__$1,inst_24846); +} else { +return null; +} +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var figwheel$client$heads_up$clear_$_state_machine__20784__auto__ = null; +var figwheel$client$heads_up$clear_$_state_machine__20784__auto____0 = (function (){ +var statearr_24853 = [null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_24853[(0)] = figwheel$client$heads_up$clear_$_state_machine__20784__auto__); + +(statearr_24853[(1)] = (1)); + +return statearr_24853; +}); +var figwheel$client$heads_up$clear_$_state_machine__20784__auto____1 = (function (state_24848){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_24848); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e24854){if((e24854 instanceof Object)){ +var ex__20787__auto__ = e24854; +var statearr_24855_24857 = state_24848; +(statearr_24855_24857[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_24848); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e24854; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__24858 = state_24848; +state_24848 = G__24858; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$heads_up$clear_$_state_machine__20784__auto__ = function(state_24848){ +switch(arguments.length){ +case 0: +return figwheel$client$heads_up$clear_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$heads_up$clear_$_state_machine__20784__auto____1.call(this,state_24848); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$heads_up$clear_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$heads_up$clear_$_state_machine__20784__auto____0; +figwheel$client$heads_up$clear_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$heads_up$clear_$_state_machine__20784__auto____1; +return figwheel$client$heads_up$clear_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_24856 = f__20873__auto__.call(null); +(statearr_24856[(6)] = c__20872__auto__); + +return statearr_24856; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__auto__; +}); +figwheel.client.heads_up.display_loaded_start = (function figwheel$client$heads_up$display_loaded_start(){ +return figwheel.client.heads_up.display_heads_up.call(null,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"backgroundColor","backgroundColor",1738438491),"rgba(211,234,172,1.0)",new cljs.core.Keyword(null,"width","width",-384071477),"68px",new cljs.core.Keyword(null,"height","height",1025178622),"68px",new cljs.core.Keyword(null,"paddingLeft","paddingLeft",262720813),"0px",new cljs.core.Keyword(null,"paddingRight","paddingRight",-1642313463),"0px",new cljs.core.Keyword(null,"borderRadius","borderRadius",-1505621083),"35px"], null),""); +}); +figwheel.client.heads_up.flash_loaded = (function figwheel$client$heads_up$flash_loaded(){ +var c__20872__auto__ = cljs.core.async.chan.call(null,(1)); +cljs.core.async.impl.dispatch.run.call(null,((function (c__20872__auto__){ +return (function (){ +var f__20873__auto__ = (function (){var switch__20783__auto__ = ((function (c__20872__auto__){ +return (function (state_24869){ +var state_val_24870 = (state_24869[(1)]); +if((state_val_24870 === (1))){ +var inst_24859 = figwheel.client.heads_up.display_loaded_start.call(null); +var state_24869__$1 = state_24869; +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_24869__$1,(2),inst_24859); +} else { +if((state_val_24870 === (2))){ +var inst_24861 = (state_24869[(2)]); +var inst_24862 = cljs.core.async.timeout.call(null,(400)); +var state_24869__$1 = (function (){var statearr_24871 = state_24869; +(statearr_24871[(7)] = inst_24861); + +return statearr_24871; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_24869__$1,(3),inst_24862); +} else { +if((state_val_24870 === (3))){ +var inst_24864 = (state_24869[(2)]); +var inst_24865 = figwheel.client.heads_up.clear.call(null); +var state_24869__$1 = (function (){var statearr_24872 = state_24869; +(statearr_24872[(8)] = inst_24864); + +return statearr_24872; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,state_24869__$1,(4),inst_24865); +} else { +if((state_val_24870 === (4))){ +var inst_24867 = (state_24869[(2)]); +var state_24869__$1 = state_24869; +return cljs.core.async.impl.ioc_helpers.return_chan.call(null,state_24869__$1,inst_24867); +} else { +return null; +} +} +} +} +});})(c__20872__auto__)) +; +return ((function (switch__20783__auto__,c__20872__auto__){ +return (function() { +var figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto__ = null; +var figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto____0 = (function (){ +var statearr_24873 = [null,null,null,null,null,null,null,null,null]; +(statearr_24873[(0)] = figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto__); + +(statearr_24873[(1)] = (1)); + +return statearr_24873; +}); +var figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto____1 = (function (state_24869){ +while(true){ +var ret_value__20785__auto__ = (function (){try{while(true){ +var result__20786__auto__ = switch__20783__auto__.call(null,state_24869); +if(cljs.core.keyword_identical_QMARK_.call(null,result__20786__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__20786__auto__; +} +break; +} +}catch (e24874){if((e24874 instanceof Object)){ +var ex__20787__auto__ = e24874; +var statearr_24875_24877 = state_24869; +(statearr_24875_24877[(5)] = ex__20787__auto__); + + +cljs.core.async.impl.ioc_helpers.process_exception.call(null,state_24869); + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +throw e24874; + +} +}})(); +if(cljs.core.keyword_identical_QMARK_.call(null,ret_value__20785__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__24878 = state_24869; +state_24869 = G__24878; +continue; +} else { +return ret_value__20785__auto__; +} +break; +} +}); +figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto__ = function(state_24869){ +switch(arguments.length){ +case 0: +return figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto____0.call(this); +case 1: +return figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto____1.call(this,state_24869); +} +throw(new Error('Invalid arity: ' + (arguments.length - 1))); +}; +figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$0 = figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto____0; +figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto__.cljs$core$IFn$_invoke$arity$1 = figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto____1; +return figwheel$client$heads_up$flash_loaded_$_state_machine__20784__auto__; +})() +;})(switch__20783__auto__,c__20872__auto__)) +})(); +var state__20874__auto__ = (function (){var statearr_24876 = f__20873__auto__.call(null); +(statearr_24876[(6)] = c__20872__auto__); + +return statearr_24876; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,state__20874__auto__); +});})(c__20872__auto__)) +); + +return c__20872__auto__; +}); +figwheel.client.heads_up.cljs_logo_svg = "\n\n\n\n\n\n\n\n\n\n\n\n"; +figwheel.client.heads_up.close_bad_compile_screen = (function figwheel$client$heads_up$close_bad_compile_screen(){ +var temp__4657__auto__ = document.getElementById("figwheelFailScreen"); +if(cljs.core.truth_(temp__4657__auto__)){ +var el = temp__4657__auto__; +return goog.dom.removeNode(el); +} else { +return null; +} +}); +figwheel.client.heads_up.bad_compile_screen = (function figwheel$client$heads_up$bad_compile_screen(){ +var body = (goog.dom.getElementsByTagNameAndClass("body")[(0)]); +figwheel.client.heads_up.close_bad_compile_screen.call(null); + +return goog.dom.append(body,goog.dom.createDom("div",({"id": "figwheelFailScreen", "style": ["background-color: rgba(24, 26, 38, 0.95);","position: absolute;","z-index: 9000;","width: 100vw;","height: 100vh;","top: 0px; left: 0px;","font-family: monospace"].join('')}),goog.dom.createDom("div",({"class": "message", "style": ["color: #FFF5DB;","width: 100vw;","margin: auto;","margin-top: 10px;","text-align: center; ","padding: 2px 0px;","font-size: 13px;","position: relative"].join('')}),goog.dom.createDom("a",({"onclick": ((function (body){ +return (function (e){ +e.preventDefault(); + +return figwheel.client.heads_up.close_bad_compile_screen.call(null); +});})(body)) +, "href": "javascript:", "style": "position: absolute; right: 10px; top: 10px; color: #666"}),"X"),goog.dom.createDom("h2",({"style": "color: #FFF5DB"}),"Figwheel Says: Your code didn't compile."),goog.dom.createDom("div",({"style": "font-size: 12px"}),goog.dom.createDom("p",({"style": "color: #D07D7D;"}),"Keep trying. This page will auto-refresh when your code compiles successfully."))))); +}); + +//# sourceMappingURL=heads_up.js.map?rel=1628501144066 diff --git a/examples/resources/public/js/out/figwheel/client/heads_up.js.map b/examples/resources/public/js/out/figwheel/client/heads_up.js.map new file mode 100644 index 0000000..3219324 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/heads_up.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/figwheel\/client\/heads_up.js","sources":["heads_up.cljs?rel=1628501144073"],"lineCount":897,"mappings":";AAAA;;;;;;;;;;;AAcA,AAAA;AAAA,AAGA,AAAA,gCAAA,wCAAAA,xEAAMM;AA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BAAAqJ;AAAA,AAAA,IAAAC,uBAAAZ;AAAA,AAAA,CAAAY,qBAAA,OAAAtJ;;AAAAsJ;AAAA,AAAApJ,6DAAAwI;;AAAA;;AAAA,AAAA,MAAAW;;;;AAAA,AAAA,GAAA,AAAAxJ,6CAAAF,yBAAA;AAAA,eAAA+I;;;;AAAA\/I;;;;;gFAAA+I;;;;;yFAAAA;;;;;;;;;;IAAAvI,uBAAA,iBAAAoJ,iBAAA,AAAApL;AAAA,AAAA,CAAAoL,eAAAlJ,AAAA,OAAArC;;AAAAuL;;AAAA,AAAA,OAAAjJ,qEAAAH;;;;AAAAnC;;AAKF,yCAAA,zCAAK5B;AA+BL,oDAAA,pDAAMoN;AAAN,AACE,IAAA9P,qBAAc,wBAAA,xBAAC+P;AAAf,AAAA,oBAAA\/P;AAAA,AAAA,SAAAA,LAAW8B;AAAX,AACE,OAACkO,oBAAelO;;AADlB;;;AAGF,8CAAA,9CAAMmO;AAAN,AACE,IAAMC,QAAS,sCAAA,tCAACC,DACD,+CAAA;AADf,AAEE,AAACL;;AAED,OAAChD,gBAAWoD,KACF,mBAAA,MAAA,QAAA,jCAAC5C,gEAGY,CAAA,4CAAA,sBAAA,iBAAA,gBAAA,iBAAA,uBAAA,qCAOZ,mBAAA,MAAA,WAAA,pCAACA,wDAGY,CAAA,kBAAA,gBAAA,gBAAA,oBAAA,uBAAA,oBAAA,mBAAA,iCASZ,mBAAA,IAAA,vBAACA,oCAEc;kBAAK\/N;AAAL,AACE,AAAiBA;;AACjB,OAACuQ;;UAJlB,wBAAA,4DAAA,KAQA,mBAAA,KAAA,WAAA,mBAAA,tDAACxC,kGAED,mBAAA,MAAA,WAAA,pCAACA,wDACY,mBAAA,IAAA,WAAA,oBAAA,tDAACA","names":["var_args","args__4502__auto__","len__4499__auto__","i__4500__auto__","argseq__4503__auto__","cljs.core\/IndexedSeq","figwheel.client.heads-up\/node","seq24695","G__24696","cljs.core\/first","cljs.core\/next","G__24697","self__4486__auto__","t","attrs","children","e","js\/document","cljs.core\/name","seq__24698","cljs.core\/seq","chunk__24699","count__24700","i__24701","cljs.core\/-nth","temp__4657__auto__","cljs.core\/chunked-seq?","c__4319__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/count","k","cljs.core\/keys","cljs.core\/get","seq__24702","chunk__24703","count__24704","i__24705","ch","method-table__4382__auto__","cljs.core\/atom","prefer-table__4383__auto__","method-cache__4384__auto__","cached-hierarchy__4385__auto__","hierarchy__4386__auto__","cljs.core\/get-global-hierarchy","cljs.core\/MultiFn","cljs.core\/symbol","figwheel.client.heads-up\/heads-up-event-dispatch","dataset","cljs.core\/-add-method","_","figwheel.client.socket\/send!","figwheel.client.heads-up\/clear","figwheel.client.heads-up\/ancestor-nodes","el","cljs.core\/iterate","figwheel.client.heads-up\/get-dataset","cljs.core\/keep","x","cljs.core\/take","figwheel.client.heads-up\/heads-up-onclick-handler","event","figwheel.client.heads-up\/ensure-container","cont-id","content-id","cljs.core\/not","figwheel.client.heads-up\/cljs-logo-svg","p__24752","map__24753","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","figwheel.client.heads-up\/set-style!","container-el","st-map","cljs.core\/mapv","p__24755","vec__24756","cljs.core\/nth","v","goog.object\/set","p__24759","map__24760","figwheel.client.heads-up\/set-content!","content-area-el","c","dom-str","p__24762","map__24763","figwheel.client.heads-up\/get-content","figwheel.client.heads-up\/close-link","figwheel.client.heads-up\/display-heads-up","style","msg","c__20872__auto__","cljs.core.async\/chan","cljs.core.async.impl.dispatch\/run","f__20873__auto__","switch__20783__auto__","state_24780","state_val_24781","inst_24765","inst_24766","inst_24767","inst_24768","cljs.core\/PersistentHashMap","inst_24769","inst_24770","inst_24771","inst_24772","statearr-24782","cljs.core.async.impl.ioc-helpers\/take!","inst_24774","inst_24775","inst_24776","inst_24777","inst_24778","statearr-24783","cljs.core.async.impl.ioc-helpers\/return-chan","statearr-24784","state-machine__20784__auto__","ret-value__20785__auto__","result__20786__auto__","cljs.core\/keyword-identical?","e24785","js\/Object","ex__20787__auto__","statearr-24786","cljs.core.async.impl.ioc-helpers\/process-exception","state__20874__auto__","statearr-24787","cljs.core.async.impl.ioc-helpers\/USER-START-IDX","cljs.core.async.impl.ioc-helpers\/run-state-machine-wrapped","cljs.core\/merge","cljs.core.async\/timeout","G__24791","figwheel.client.heads-up\/heading","js\/Error","s","sub-head","figwheel.client.heads-up\/file-selector-div","file-name","line-number","column-number","p__24793","map__24794","figwheel.client.heads-up\/format-line","file","line","column","goog.string\/htmlEscape","or__3922__auto__","figwheel.client.heads-up\/escape","figwheel.client.heads-up\/pad-line-number","n","len","cljs.core\/fnil","cljs.core\/str","cljs.core\/repeat","figwheel.client.heads-up\/inline-error-line","p__24796","vec__24797","figwheel.client.heads-up\/format-inline-error-line","typ","pred__24800","expr__24801","cljs.core\/=","figwheel.client.heads-up\/pad-line-numbers","inline-error","max-line-number-length","cljs.core\/reduce","cljs.core\/max","cljs.core\/map","cljs.core\/second","p1__24803#","cljs.core\/update-in","cljs.core\/partial","figwheel.client.heads-up\/format-inline-error","lines","clojure.string\/join","p1__24804#","figwheel.client.heads-up\/flatten-exception","cljs.core\/take-while","cljs.core\/some?","p__24807","map__24808","figwheel.client.heads-up\/exception->display-data","failed-loading-clj-file","failed-compiling","reader-exception","analysis-exception","display-ex-data","class","message","error-inline","exception","last-message","and__3911__auto__","cljs.core\/concat","p1__24805#","figwheel.client.utils\/pprint-to-string","p1__24806#","p__24810","map__24811","figwheel.client.heads-up\/auto-notify-source-file-line","figwheel.client.heads-up\/display-exception","exception-data","map__24814","head","messages","p__24817","map__24818","figwheel.client.heads-up\/warning-data->display-data","warning-data","p1__24816#","figwheel.client.heads-up\/display-system-warning","header","figwheel.client.heads-up\/display-warning","map__24820","p__24822","map__24823","figwheel.client.heads-up\/format-warning-message","G__24825","p__24826","map__24827","figwheel.client.heads-up\/append-warning-message","map__24829","goog.dom\/createElement","child-count","goog.dom\/getChildren","goog.dom\/append","last-child","goog.dom\/getLastElementChild","temp__4655__auto__","message-count","goog.dom.dataset\/get","js\/parseInt","goog.dom.dataset\/set","goog.dom\/createDom","state_24848","state_val_24849","inst_24831","inst_24832","inst_24833","inst_24834","inst_24835","inst_24836","statearr-24850","inst_24838","inst_24839","inst_24840","inst_24841","inst_24842","inst_24843","statearr-24851","inst_24845","inst_24846","statearr-24852","statearr-24853","e24854","statearr-24855","statearr-24856","figwheel.client.heads-up\/display-loaded-start","figwheel.client.heads-up\/flash-loaded","state_24869","state_val_24870","inst_24859","inst_24861","inst_24862","statearr-24871","inst_24864","inst_24865","statearr-24872","inst_24867","statearr-24873","e24874","statearr-24875","statearr-24876","figwheel.client.heads-up\/close-bad-compile-screen","js\/document.getElementById","goog.dom\/removeNode","figwheel.client.heads-up\/bad-compile-screen","body","goog.dom\/getElementsByTagNameAndClass"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/socket.cljs b/examples/resources/public/js/out/figwheel/client/socket.cljs new file mode 100644 index 0000000..c504461 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/socket.cljs @@ -0,0 +1,96 @@ +(ns figwheel.client.socket + (:require + [goog.object :as gobj] + [figwheel.client.utils :as utils] + [cljs.reader :refer [read-string]])) + +(defn get-websocket-imp [] + (or + (gobj/get goog.global "FIGWHEEL_WEBSOCKET_CLASS") + (gobj/get goog.global "WebSocket") + (cond + ;; TODO remove + (utils/html-or-react-native-env?) (gobj/get js/window "WebSocket") + (utils/node-env?) (try (js/require "ws") + (catch js/Error e + nil)) + ;; TODO remove + (utils/worker-env?) (gobj/get js/self "WebSocket") + :else nil))) + + +;; messages have the following formats + +;; files-changed message +;; { :msg-name :files-changed +;; :files [{:file "/js/compiled/out/example/core.js", +;; :type :javascript, +;; :msg-name :file-changed, +;; :namespace "example.core" }] } + +;; css-files-changed message +;; there should really only be one file in here at a time +;; { :msg-name :css-files-changed +;; :files [{:file "/css/example.css", +;; :type :css }] } + +;; compile-failed message +;; { :msg-name :compile-failed +;; :exception-data {:cause { ... lots of exception info ... } }} +;; the exception data is nested raw info obtained for the compile time +;; exception + +(defonce message-history-atom (atom (list))) + +(defonce socket-atom (atom false)) + +(defn send! + "Send a end message to the server." + [msg] + (when @socket-atom + (.send @socket-atom (pr-str msg)))) + +(defn close! [] + (set! (.-onclose @socket-atom) identity) + (.close @socket-atom)) + +(defn handle-incoming-message [msg] + (utils/debug-prn msg) + (and (map? msg) + (:msg-name msg) + ;; don't forward pings + (not= (:msg-name msg) :ping) + (swap! message-history-atom + conj msg))) + +(defn open [{:keys [retry-count retried-count websocket-url build-id] :as opts}] + (if-let [WebSocket (get-websocket-imp)] + (do + (utils/log :debug "Figwheel: trying to open cljs reload socket") + (let [url (str websocket-url (if build-id (str "/" build-id) "")) + socket (WebSocket. url)] + (set! (.-onmessage socket) (fn [msg-str] + (when-let [msg + (read-string (.-data msg-str))] + (#'handle-incoming-message msg)))) + (set! (.-onopen socket) (fn [x] + (reset! socket-atom socket) + (when (utils/html-env?) + (.addEventListener js/window "beforeunload" close!)) + (utils/log :debug "Figwheel: socket connection established"))) + (set! (.-onclose socket) (fn [x] + (let [retried-count (or retried-count 0)] + (utils/debug-prn "Figwheel: socket closed or failed to open") + (when (> retry-count retried-count) + (js/setTimeout + (fn [] + (open + (assoc opts :retried-count (inc retried-count)))) + ;; linear back off + (min 10000 (+ 2000 (* 500 retried-count)))))))) + (set! (.-onerror socket) (fn [x] (utils/debug-prn "Figwheel: socket error "))) + socket)) + (utils/log :debug + (if (utils/node-env?) + "Figwheel: Can't start Figwheel!! Please make sure ws is installed\n do -> 'npm install ws'" + "Figwheel: Can't start Figwheel!! This browser doesn't support WebSockets")))) diff --git a/examples/resources/public/js/out/figwheel/client/socket.cljs.cache.json b/examples/resources/public/js/out/figwheel/client/socket.cljs.cache.json new file mode 100644 index 0000000..2ec55ca --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/socket.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$window",["^ ","~$addEventListener",["^ "]],"~$Error",["^ "],"~$require",["^ "],"~$self",["^ "],"~$setTimeout",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$figwheel.client.socket","~:imports",null,"~:requires",["^ ","~$gobj","~$goog.object","^A","^A","~$utils","~$figwheel.client.utils","^C","^C","~$cljs.reader","^D"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$read-string","^D"],"~:defs",["^ ","~$get-websocket-imp",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","~:line",7,"~:column",7,"~:end-line",7,"~:end-column",24,"~:arglists",["~#list",["~$quote",["^R",[[]]]]]],"^<","~$figwheel.client.socket/get-websocket-imp","~:variadic",false,"^L","resources/public/js/out/figwheel/client/socket.cljs","^P",24,"~:method-params",["^R",[[]]],"~:protocol-impl",null,"~:arglists-meta",["^R",[null,null]],"^N",1,"^M",7,"^O",7,"~:max-fixed-arity",0,"~:fn-var",true,"^Q",["^R",["^S",["^R",[[]]]]]],"~$message-history-atom",["^ ","^<","~$figwheel.client.socket/message-history-atom","^L","resources/public/js/out/figwheel/client/socket.cljs","^M",43,"^N",1,"^O",43,"^P",30,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","^M",43,"^N",10,"^O",43,"^P",30],"~:tag","~$any"],"~$socket-atom",["^ ","^<","~$figwheel.client.socket/socket-atom","^L","resources/public/js/out/figwheel/client/socket.cljs","^M",45,"^N",1,"^O",45,"^P",21,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","^M",45,"^N",10,"^O",45,"^P",21],"^11","^12"],"~$send!",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","^M",47,"^N",7,"^O",47,"^P",12,"^Q",["^R",["^S",["^R",[["~$msg"]]]]],"~:doc","Send a end message to the server."],"^<","~$figwheel.client.socket/send!","^U",false,"^L","resources/public/js/out/figwheel/client/socket.cljs","^P",12,"^V",["^R",[["^16"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",47,"^O",47,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["^16"]]]]],"^17","Send a end message to the server."],"~$close!",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","^M",53,"^N",7,"^O",53,"^P",13,"^Q",["^R",["^S",["^R",[[]]]]]],"^<","~$figwheel.client.socket/close!","^U",false,"^L","resources/public/js/out/figwheel/client/socket.cljs","^P",13,"^V",["^R",[[]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",53,"^O",53,"^Y",0,"^Z",true,"^Q",["^R",["^S",["^R",[[]]]]]],"~$handle-incoming-message",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","^M",57,"^N",7,"^O",57,"^P",30,"^Q",["^R",["^S",["^R",[["^16"]]]]]],"^<","~$figwheel.client.socket/handle-incoming-message","^U",false,"^L","resources/public/js/out/figwheel/client/socket.cljs","^P",30,"^V",["^R",[["^16"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",57,"^O",57,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[["^16"]]]]]],"~$open",["^ ","^J",null,"^K",["^ ","^L","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/socket.cljs","^M",66,"^N",7,"^O",66,"^P",11,"^Q",["^R",["^S",["^R",[[["^ ","~:keys",["~$retry-count","~$retried-count","~$websocket-url","~$build-id"],"~:as","~$opts"]]]]]]],"^<","~$figwheel.client.socket/open","^U",false,"^L","resources/public/js/out/figwheel/client/socket.cljs","^P",11,"^V",["^R",[["~$p__24690"]]],"^W",null,"^X",["^R",[null,null]],"^N",1,"^M",66,"^O",66,"^Y",1,"^Z",true,"^Q",["^R",["^S",["^R",[[["^ ","^1>",["^1?","^1@","^1A","^1B"],"^1C","^1D"]]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^B","^C","^C","^C","^D","^D"],"~:cljs.analyzer/constants",["^ ","~:seen",["^;",["~:ping","~:retried-count","~:else","~:ns","^1;","^<","^1<","^L","^P","~:debug","^N","~:build-id","^M","^16","~:websocket-url","^O","~:msg-name","^Q","^=","^17","~:retry-count","~:test"]],"~:order",["^1M","^1R","^1K","^1S","^1L","^1Q","^1P","^1O","^1<","^1N","^<","^L","^P","^N","^M","^O","^Q","^17","^1T","^=","^1;","^16"]],"^17",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/socket.js b/examples/resources/public/js/out/figwheel/client/socket.js new file mode 100644 index 0000000..62d22e9 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/socket.js @@ -0,0 +1,161 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('figwheel.client.socket'); +goog.require('cljs.core'); +goog.require('goog.object'); +goog.require('figwheel.client.utils'); +goog.require('cljs.reader'); +figwheel.client.socket.get_websocket_imp = (function figwheel$client$socket$get_websocket_imp(){ +var or__3922__auto__ = goog.object.get(goog.global,"FIGWHEEL_WEBSOCKET_CLASS"); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +var or__3922__auto____$1 = goog.object.get(goog.global,"WebSocket"); +if(cljs.core.truth_(or__3922__auto____$1)){ +return or__3922__auto____$1; +} else { +if(cljs.core.truth_(figwheel.client.utils.html_or_react_native_env_QMARK_.call(null))){ +return goog.object.get(window,"WebSocket"); +} else { +if(cljs.core.truth_(figwheel.client.utils.node_env_QMARK_.call(null))){ +try{return require("ws"); +}catch (e24689){if((e24689 instanceof Error)){ +var e = e24689; +return null; +} else { +throw e24689; + +} +}} else { +if(cljs.core.truth_(figwheel.client.utils.worker_env_QMARK_.call(null))){ +return goog.object.get(self,"WebSocket"); +} else { +return null; + +} +} +} +} +} +}); +if(typeof figwheel.client.socket.message_history_atom !== 'undefined'){ +} else { +figwheel.client.socket.message_history_atom = cljs.core.atom.call(null,cljs.core.List.EMPTY); +} +if(typeof figwheel.client.socket.socket_atom !== 'undefined'){ +} else { +figwheel.client.socket.socket_atom = cljs.core.atom.call(null,false); +} +/** + * Send a end message to the server. + */ +figwheel.client.socket.send_BANG_ = (function figwheel$client$socket$send_BANG_(msg){ +if(cljs.core.truth_(cljs.core.deref.call(null,figwheel.client.socket.socket_atom))){ +return cljs.core.deref.call(null,figwheel.client.socket.socket_atom).send(cljs.core.pr_str.call(null,msg)); +} else { +return null; +} +}); +figwheel.client.socket.close_BANG_ = (function figwheel$client$socket$close_BANG_(){ +cljs.core.deref.call(null,figwheel.client.socket.socket_atom).onclose = cljs.core.identity; + +return cljs.core.deref.call(null,figwheel.client.socket.socket_atom).close(); +}); +figwheel.client.socket.handle_incoming_message = (function figwheel$client$socket$handle_incoming_message(msg){ +figwheel.client.utils.debug_prn.call(null,msg); + +var and__3911__auto__ = cljs.core.map_QMARK_.call(null,msg); +if(and__3911__auto__){ +var and__3911__auto____$1 = new cljs.core.Keyword(null,"msg-name","msg-name",-353709863).cljs$core$IFn$_invoke$arity$1(msg); +if(cljs.core.truth_(and__3911__auto____$1)){ +var and__3911__auto____$2 = cljs.core.not_EQ_.call(null,new cljs.core.Keyword(null,"msg-name","msg-name",-353709863).cljs$core$IFn$_invoke$arity$1(msg),new cljs.core.Keyword(null,"ping","ping",-1670114784)); +if(and__3911__auto____$2){ +return cljs.core.swap_BANG_.call(null,figwheel.client.socket.message_history_atom,cljs.core.conj,msg); +} else { +return and__3911__auto____$2; +} +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +}); +figwheel.client.socket.open = (function figwheel$client$socket$open(p__24690){ +var map__24691 = p__24690; +var map__24691__$1 = ((((!((map__24691 == null)))?(((((map__24691.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24691.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24691):map__24691); +var opts = map__24691__$1; +var retry_count = cljs.core.get.call(null,map__24691__$1,new cljs.core.Keyword(null,"retry-count","retry-count",1936122875)); +var retried_count = cljs.core.get.call(null,map__24691__$1,new cljs.core.Keyword(null,"retried-count","retried-count",-2127867357)); +var websocket_url = cljs.core.get.call(null,map__24691__$1,new cljs.core.Keyword(null,"websocket-url","websocket-url",-490444938)); +var build_id = cljs.core.get.call(null,map__24691__$1,new cljs.core.Keyword(null,"build-id","build-id",1642831089)); +var temp__4655__auto__ = figwheel.client.socket.get_websocket_imp.call(null); +if(cljs.core.truth_(temp__4655__auto__)){ +var WebSocket = temp__4655__auto__; +figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: trying to open cljs reload socket"); + +var url = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(websocket_url),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(build_id)?["/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(build_id)].join(''):""))].join(''); +var socket = (new WebSocket(url)); +socket.onmessage = ((function (url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id){ +return (function (msg_str){ +var temp__4657__auto__ = cljs.reader.read_string.call(null,msg_str.data); +if(cljs.core.truth_(temp__4657__auto__)){ +var msg = temp__4657__auto__; +return new cljs.core.Var(function(){return figwheel.client.socket.handle_incoming_message;},new cljs.core.Symbol("figwheel.client.socket","handle-incoming-message","figwheel.client.socket/handle-incoming-message",-2084786999,null),cljs.core.PersistentHashMap.fromArrays([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)],[new cljs.core.Symbol(null,"figwheel.client.socket","figwheel.client.socket",-1038129509,null),new cljs.core.Symbol(null,"handle-incoming-message","handle-incoming-message",-1068736536,null),"resources/public/js/out/figwheel/client/socket.cljs",30,1,57,57,cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"msg","msg",254428083,null)], null)),null,(cljs.core.truth_(figwheel.client.socket.handle_incoming_message)?figwheel.client.socket.handle_incoming_message.cljs$lang$test:null)])).call(null,msg); +} else { +return null; +} +});})(url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id)) +; + +socket.onopen = ((function (url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id){ +return (function (x){ +cljs.core.reset_BANG_.call(null,figwheel.client.socket.socket_atom,socket); + +if(cljs.core.truth_(figwheel.client.utils.html_env_QMARK_.call(null))){ +window.addEventListener("beforeunload",figwheel.client.socket.close_BANG_); +} else { +} + +return figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),"Figwheel: socket connection established"); +});})(url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id)) +; + +socket.onclose = ((function (url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id){ +return (function (x){ +var retried_count__$1 = (function (){var or__3922__auto__ = retried_count; +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return (0); +} +})(); +figwheel.client.utils.debug_prn.call(null,"Figwheel: socket closed or failed to open"); + +if((retry_count > retried_count__$1)){ +return setTimeout(((function (retried_count__$1,url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id){ +return (function (){ +return figwheel.client.socket.open.call(null,cljs.core.assoc.call(null,opts,new cljs.core.Keyword(null,"retried-count","retried-count",-2127867357),(retried_count__$1 + (1)))); +});})(retried_count__$1,url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id)) +,(function (){var x__4009__auto__ = (10000); +var y__4010__auto__ = ((2000) + ((500) * retried_count__$1)); +return ((x__4009__auto__ < y__4010__auto__) ? x__4009__auto__ : y__4010__auto__); +})()); +} else { +return null; +} +});})(url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id)) +; + +socket.onerror = ((function (url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id){ +return (function (x){ +return figwheel.client.utils.debug_prn.call(null,"Figwheel: socket error "); +});})(url,socket,WebSocket,temp__4655__auto__,map__24691,map__24691__$1,opts,retry_count,retried_count,websocket_url,build_id)) +; + +return socket; +} else { +return figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),(cljs.core.truth_(figwheel.client.utils.node_env_QMARK_.call(null))?"Figwheel: Can't start Figwheel!! Please make sure ws is installed\n do -> 'npm install ws'":"Figwheel: Can't start Figwheel!! This browser doesn't support WebSockets")); +} +}); + +//# sourceMappingURL=socket.js.map?rel=1628501143868 diff --git a/examples/resources/public/js/out/figwheel/client/socket.js.map b/examples/resources/public/js/out/figwheel/client/socket.js.map new file mode 100644 index 0000000..3b52f84 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/socket.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/figwheel\/client\/socket.js","sources":["socket.cljs?rel=1628501143869"],"lineCount":161,"mappings":";AAA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YC;AAArB,AACE,OAACe,WACA;;AAAA,AACE,OAACjB,sCACA,+BAAA,\/BAACkB,0BAAMb,6EAAoB,qBAAA,pBAAKH;;CAEnC,iBAAAiB,kBAAA;IAAAC,kBAAW,CAAA,SAAQ,CAAA,QAAOlB;AAA1B,AAAA,SAAAiB,kBAAAC,mBAAAD,kBAAAC;;;AANH;;;;;AAO7B,AAAM,AAAWV,iBAAQ;kBAAKI;AAAL,AAAQ,iDAAA,1CAAC1B;;;;AAClCsB;;AACJ,2CAAA,pCAACF,4FACU,oEAAA,6FAAA,\/IAAI,AAACrC","names":["figwheel.client.socket\/get-websocket-imp","or__3922__auto__","goog.object\/get","goog\/global","figwheel.client.utils\/html-or-react-native-env?","js\/window","figwheel.client.utils\/node-env?","e24689","js\/require","js\/Error","e","figwheel.client.utils\/worker-env?","js\/self","figwheel.client.socket\/message-history-atom","cljs.core\/atom","figwheel.client.socket\/socket-atom","figwheel.client.socket\/send!","msg","cljs.core\/deref","cljs.core\/pr-str","figwheel.client.socket\/close!","cljs.core\/identity","figwheel.client.socket\/handle-incoming-message","figwheel.client.utils\/debug-prn","and__3911__auto__","cljs.core\/map?","cljs.core\/not=","cljs.core\/swap!","cljs.core\/conj","p__24690","map__24691","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","figwheel.client.socket\/open","retry-count","retried-count","websocket-url","build-id","opts","temp__4655__auto__","WebSocket","figwheel.client.utils\/log","url","socket","msg-str","temp__4657__auto__","cljs.reader\/read-string","x","cljs.core\/reset!","figwheel.client.utils\/html-env?","js\/setTimeout","cljs.core\/assoc","x__4009__auto__","y__4010__auto__","cljs.core\/List"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/utils.cljs b/examples/resources/public/js/out/figwheel/client/utils.cljs new file mode 100644 index 0000000..6068ac3 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/utils.cljs @@ -0,0 +1,146 @@ +(ns ^:figwheel-no-load figwheel.client.utils + (:require [clojure.string :as string] + [goog.string :as gstring] + [goog.object :as gobj] + [cljs.reader :refer [read-string]] + [cljs.pprint :refer [pprint]] + [goog.userAgent.product :as product]) + (:import [goog.async Deferred] + [goog.string StringBuffer]) + (:require-macros [figwheel.client.utils :refer [feature?]])) + +;; don't auto reload this file it will mess up the debug printing + +(def ^:dynamic *print-debug* false) + +(defn html-env? [] (not (nil? goog/global.document))) + +(defn react-native-env? [] (and (exists? goog/global.navigator) + (= goog/global.navigator.product "ReactNative"))) + +(defn node-env? [] (not (nil? goog/nodeGlobalRequire))) + +(defn html-or-react-native-env? [] + (or (html-env?) (react-native-env?))) + +(defn worker-env? [] (and + (nil? goog/global.document) + (exists? js/self) + (exists? (.-importScripts js/self)))) + +(defn host-env? [] (cond (node-env?) :node + (html-env?) :html + (react-native-env?) :react-native + (worker-env?) :worker)) + +(defn base-url-path [] (string/replace goog/basePath #"(.*)goog/" "$1")) + +;; Custom Event must exist before calling this +(defn create-custom-event [event-name data] + (if-not product/IE + (js/CustomEvent. event-name (js-obj "detail" data)) + ;; in windows world + ;; this will probably not work at some point in + ;; newer versions of IE + (let [event (js/document.createEvent "CustomEvent")] + (.. event (initCustomEvent event-name false false data)) + event))) + +;; actually we should probably lift the event system here off the DOM +;; so that we work well in Node and other environments +(defn dispatch-custom-event [event-name data] + (when (and (html-env?) (gobj/get js/window "CustomEvent") (js* "typeof document !== 'undefined'")) + (.dispatchEvent (.-body js/document) + (create-custom-event event-name data)))) + +(defn debug-prn [o] + (when *print-debug* + (let [o (if (or (map? o) + (seq? o)) + (prn-str o) + o)] + (.log js/console o)))) + +(defn log + ([x] (log :info x)) + ([level arg] + (let [f (condp = (if (html-or-react-native-env?) level :info) + :warn #(.warn js/console %) + :debug #(.debug js/console %) + :error #(.error js/console %) + #(.log js/console %))] + (f arg)))) + +(defn eval-helper [code {:keys [eval-fn] :as opts}] + (if eval-fn + (eval-fn code opts) + (js* "eval(~{code})"))) + +(defn pprint-to-string [x] + (let [sb (StringBuffer.) + sbw (StringBufferWriter. sb)] + (pprint x sbw) + (gstring/trimRight (str sb)))) + +;; Deferred helpers that focus on guaranteed successful side effects +;; not very monadic but it meets our needs + +(defn liftContD + "chains an async action on to a deferred + Must provide a goog.async.Deferred and action function that + takes an initial value and a continuation fn to call with the result" + [deferred f] + (.then deferred (fn [val] + (let [new-def (Deferred.)] + (f val #(.callback new-def %)) + new-def)))) + +(defn mapConcatD + "maps an async action across a collection and chains the results + onto a deferred" + [deferred f coll] + (let [results (atom [])] + (.then + (reduce (fn [defr v] + (liftContD defr + (fn [_ fin] + (f v (fn [v] + (swap! results conj v) + (fin v)))))) + deferred coll) + (fn [_] (.succeed Deferred @results))))) + +;; persistent storage of configuration keys + +(defonce local-persistent-config + (let [a (atom {})] + (when (feature? js/localStorage "setItem") + (add-watch a :sync-local-storage + (fn [_ _ _ n] + (mapv (fn [[ky v]] + (.setItem js/localStorage (name ky) (pr-str v))) + n)))) + a)) + +(defn persistent-config-set! + "Set a local value on a key that in a browser will persist even when +the browser gets reloaded." + [ky v] + (swap! local-persistent-config assoc ky v)) + +(defn persistent-config-get + ([ky not-found] + (try + (cond + (contains? @local-persistent-config ky) + (get @local-persistent-config ky) + (and (feature? js/localStorage "getItem") + (.getItem js/localStorage (name ky))) + (let [v (read-string (.getItem js/localStorage (name ky)))] + (persistent-config-set! ky v) + v) + :else not-found) + (catch js/Error e + not-found))) + ([ky] + (persistent-config-get ky nil))) diff --git a/examples/resources/public/js/out/figwheel/client/utils.cljs.cache.json b/examples/resources/public/js/out/figwheel/client/utils.cljs.cache.json new file mode 100644 index 0000000..b9f8dad --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/utils.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$self",["^ ","~$importScripts",["^ "]],"~$CustomEvent",["^ "],"~$document",["^ ","~$createEvent",["^ "],"~$body",["^ ","~$dispatchEvent",["^ "]]],"~$Object",["^ ","~$initCustomEvent",["^ "]],"~$window",["^ "],"~$console",["^ ","~$log",["^ "],"~$warn",["^ "],"~$debug",["^ "],"~$error",["^ "]],"~$Error",["^ "],"~$localStorage",["^ ","~$setItem",["^ "],"~$getItem",["^ "]]],"~:use-macros",["^ ","~$feature?","~$figwheel.client.utils"],"~:excludes",["~#set",[]],"~:name","^H","~:imports",["^ ","~$Deferred","~$goog.async.Deferred","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$gstring","~$goog.string","~$goog.userAgent.product","^T","^M","^N","^S","^S","~$gobj","~$goog.object","^V","^V","~$cljs.pprint","^W","^O","^P","~$string","~$clojure.string","~$product","^T","^Y","^Y","~$cljs.reader","^["],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$pprint","^W","~$read-string","^["],"~:defs",["^ ","~$mapConcatD",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","~:line",98,"~:column",7,"~:end-line",98,"~:end-column",17,"~:arglists",["~#list",["~$quote",["^1>",[["~$deferred","~$f","~$coll"]]]]],"~:doc","maps an async action across a collection and chains the results\n onto a deferred"],"^K","~$figwheel.client.utils/mapConcatD","~:variadic",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",17,"~:method-params",["^1>",[["^1@","~$f","^1A"]]],"~:protocol-impl",null,"~:arglists-meta",["^1>",[null,null]],"^1:",1,"^19",98,"^1;",98,"~:max-fixed-arity",3,"~:fn-var",true,"^1=",["^1>",["^1?",["^1>",[["^1@","~$f","^1A"]]]]],"^1B","maps an async action across a collection and chains the results\n onto a deferred"],"~$base-url-path",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",36,"^1:",7,"^1;",36,"^1<",20,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/base-url-path","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",20,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",36,"^1;",36,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^>",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",64,"^1:",7,"^1;",64,"^1<",10,"^1=",["^1>",["^1?",["^1>",[["~$x"],["~$level","~$arg"]]]]],"~:top-fn",["^ ","^1D",false,"^1H",2,"^1E",["^1>",[["~$x"],["^1L","^1M"]]],"^1=",["^1>",[["~$x"],["^1L","^1M"]]],"^1G",["^1>",[null,null]]]],"^K","~$figwheel.client.utils/log","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",10,"^1N",["^ ","^1D",false,"^1H",2,"^1E",["^1>",[["~$x"],["^1L","^1M"]]],"^1=",["^1>",[["~$x"],["^1L","^1M"]]],"^1G",["^1>",[null,null]]],"^1E",["^1>",[["~$x"],["^1L","^1M"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",64,"^1;",64,"^1H",2,"^1I",true,"^1=",["^1>",[["~$x"],["^1L","^1M"]]]],"~$create-custom-event",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",39,"^1:",7,"^1;",39,"^1<",26,"^1=",["^1>",["^1?",["^1>",[["~$event-name","~$data"]]]]]],"^K","~$figwheel.client.utils/create-custom-event","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",26,"^1E",["^1>",[["^1Q","^1R"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",39,"^1;",39,"^1H",2,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["^1Q","^1R"]]]]]],"~$worker-env?",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",26,"^1:",7,"^1;",26,"^1<",18,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/worker-env?","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",18,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",26,"^1;",26,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"~$host-env?",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",31,"^1:",7,"^1;",31,"^1<",16,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/host-env?","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",16,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",31,"^1;",31,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"~$persistent-config-set!",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",125,"^1:",7,"^1;",125,"^1<",29,"^1=",["^1>",["^1?",["^1>",[["~$ky","~$v"]]]]],"^1B","Set a local value on a key that in a browser will persist even when\nthe browser gets reloaded."],"^K","~$figwheel.client.utils/persistent-config-set!","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",29,"^1E",["^1>",[["^1Y","~$v"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",125,"^1;",125,"^1H",2,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["^1Y","~$v"]]]]],"^1B","Set a local value on a key that in a browser will persist even when\nthe browser gets reloaded."],"~$html-or-react-native-env?",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",23,"^1:",7,"^1;",23,"^1<",32,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/html-or-react-native-env?","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",32,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",23,"^1;",23,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"~$node-env?",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",21,"^1:",7,"^1;",21,"^1<",16,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/node-env?","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",16,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",21,"^1;",21,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"~$html-env?",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",16,"^1:",7,"^1;",16,"^1<",16,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/html-env?","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",16,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",16,"^1;",16,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"~$liftContD",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",88,"^1:",7,"^1;",88,"^1<",16,"^1=",["^1>",["^1?",["^1>",[["^1@","~$f"]]]]],"^1B","chains an async action on to a deferred\n Must provide a goog.async.Deferred and action function that\n takes an initial value and a continuation fn to call with the result"],"^K","~$figwheel.client.utils/liftContD","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",16,"^1E",["^1>",[["^1@","~$f"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",88,"^1;",88,"^1H",2,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["^1@","~$f"]]]]],"^1B","chains an async action on to a deferred\n Must provide a goog.async.Deferred and action function that\n takes an initial value and a continuation fn to call with the result"],"~$*print-debug*",["^ ","^K","~$figwheel.client.utils/*print-debug*","^18","resources/public/js/out/figwheel/client/utils.cljs","^19",14,"^1:",1,"^1;",14,"^1<",29,"~:dynamic",true,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",14,"^1:",16,"^1;",14,"^1<",29,"^29",true],"~:tag","~$boolean"],"~$pprint-to-string",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",79,"^1:",7,"^1;",79,"^1<",23,"^1=",["^1>",["^1?",["^1>",[["~$x"]]]]]],"^K","~$figwheel.client.utils/pprint-to-string","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",23,"^1E",["^1>",[["~$x"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",79,"^1;",79,"^1H",1,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["~$x"]]]]]],"~$local-persistent-config",["^ ","^K","~$figwheel.client.utils/local-persistent-config","^18","resources/public/js/out/figwheel/client/utils.cljs","^19",115,"^1:",1,"^1;",115,"^1<",33,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",115,"^1:",10,"^1;",115,"^1<",33],"^2:","~$any"],"~$dispatch-custom-event",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",51,"^1:",7,"^1;",51,"^1<",28,"^1=",["^1>",["^1?",["^1>",[["^1Q","^1R"]]]]]],"^K","~$figwheel.client.utils/dispatch-custom-event","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",28,"^1E",["^1>",[["^1Q","^1R"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",51,"^1;",51,"^1H",2,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["^1Q","^1R"]]]]]],"~$debug-prn",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",56,"^1:",7,"^1;",56,"^1<",16,"^1=",["^1>",["^1?",["^1>",[["~$o"]]]]]],"^K","~$figwheel.client.utils/debug-prn","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",16,"^1E",["^1>",[["~$o"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",56,"^1;",56,"^1H",1,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["~$o"]]]]]],"~$persistent-config-get",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",131,"^1:",7,"^1;",131,"^1<",28,"^1=",["^1>",["^1?",["^1>",[["^1Y","~$not-found"],["^1Y"]]]]],"^1N",["^ ","^1D",false,"^1H",2,"^1E",["^1>",[["^1Y","^2F"],["^1Y"]]],"^1=",["^1>",[["^1Y","^2F"],["^1Y"]]],"^1G",["^1>",[null,null]]]],"^K","~$figwheel.client.utils/persistent-config-get","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",28,"^1N",["^ ","^1D",false,"^1H",2,"^1E",["^1>",[["^1Y","^2F"],["^1Y"]]],"^1=",["^1>",[["^1Y","^2F"],["^1Y"]]],"^1G",["^1>",[null,null]]],"^1E",["^1>",[["^1Y","^2F"],["^1Y"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",131,"^1;",131,"^1H",2,"^1I",true,"^1=",["^1>",[["^1Y","^2F"],["^1Y"]]]],"~$react-native-env?",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",18,"^1:",7,"^1;",18,"^1<",24,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"^K","~$figwheel.client.utils/react-native-env?","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",24,"^1E",["^1>",[[]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",18,"^1;",18,"^1H",0,"^1I",true,"^1=",["^1>",["^1?",["^1>",[[]]]]]],"~$eval-helper",["^ ","^16",null,"^17",["^ ","^18","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/client/utils.cljs","^19",74,"^1:",7,"^1;",74,"^1<",18,"^1=",["^1>",["^1?",["^1>",[["~$code",["^ ","~:keys",["~$eval-fn"],"~:as","~$opts"]]]]]]],"^K","~$figwheel.client.utils/eval-helper","^1D",false,"^18","resources/public/js/out/figwheel/client/utils.cljs","^1<",18,"^1E",["^1>",[["^2K","~$p__24675"]]],"^1F",null,"^1G",["^1>",[null,null]],"^1:",1,"^19",74,"^1;",74,"^1H",2,"^1I",true,"^1=",["^1>",["^1?",["^1>",[["^2K",["^ ","^2L",["^2M"],"^2N","^2O"]]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^H","^H","^[","^[","^W","^W"],"~:cljs.analyzer/constants",["^ ","~:seen",["^J",["~:else","~:sync-local-storage","~:warn","~:debug","~:node","~:react-native","~:info","~:error","~:eval-fn","~:worker","~:html"]],"~:order",["^2Z","^34","^2[","^33","^30","^2X","^2Y","^31","^32","^2W","^2V"]],"^1B",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/client/utils.js b/examples/resources/public/js/out/figwheel/client/utils.js new file mode 100644 index 0000000..608594b --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/utils.js @@ -0,0 +1,295 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('figwheel.client.utils'); +goog.require('cljs.core'); +goog.require('clojure.string'); +goog.require('goog.string'); +goog.require('goog.object'); +goog.require('cljs.reader'); +goog.require('cljs.pprint'); +goog.require('goog.userAgent.product'); +goog.require('goog.async.Deferred'); +goog.require('goog.string.StringBuffer'); +figwheel.client.utils._STAR_print_debug_STAR_ = false; +figwheel.client.utils.html_env_QMARK_ = (function figwheel$client$utils$html_env_QMARK_(){ +return !((goog.global.document == null)); +}); +figwheel.client.utils.react_native_env_QMARK_ = (function figwheel$client$utils$react_native_env_QMARK_(){ +return ((typeof goog.global.navigator !== 'undefined') && (cljs.core._EQ_.call(null,goog.global.navigator.product,"ReactNative"))); +}); +figwheel.client.utils.node_env_QMARK_ = (function figwheel$client$utils$node_env_QMARK_(){ +return !((goog.nodeGlobalRequire == null)); +}); +figwheel.client.utils.html_or_react_native_env_QMARK_ = (function figwheel$client$utils$html_or_react_native_env_QMARK_(){ +var or__3922__auto__ = figwheel.client.utils.html_env_QMARK_.call(null); +if(cljs.core.truth_(or__3922__auto__)){ +return or__3922__auto__; +} else { +return figwheel.client.utils.react_native_env_QMARK_.call(null); +} +}); +figwheel.client.utils.worker_env_QMARK_ = (function figwheel$client$utils$worker_env_QMARK_(){ +return (((goog.global.document == null)) && (typeof self !== 'undefined') && (typeof self.importScripts !== 'undefined')); +}); +figwheel.client.utils.host_env_QMARK_ = (function figwheel$client$utils$host_env_QMARK_(){ +if(cljs.core.truth_(figwheel.client.utils.node_env_QMARK_.call(null))){ +return new cljs.core.Keyword(null,"node","node",581201198); +} else { +if(cljs.core.truth_(figwheel.client.utils.html_env_QMARK_.call(null))){ +return new cljs.core.Keyword(null,"html","html",-998796897); +} else { +if(cljs.core.truth_(figwheel.client.utils.react_native_env_QMARK_.call(null))){ +return new cljs.core.Keyword(null,"react-native","react-native",-1543085138); +} else { +if(cljs.core.truth_(figwheel.client.utils.worker_env_QMARK_.call(null))){ +return new cljs.core.Keyword(null,"worker","worker",938239996); +} else { +return null; +} +} +} +} +}); +figwheel.client.utils.base_url_path = (function figwheel$client$utils$base_url_path(){ +return clojure.string.replace.call(null,goog.basePath,/(.*)goog\//,"$1"); +}); +figwheel.client.utils.create_custom_event = (function figwheel$client$utils$create_custom_event(event_name,data){ +if(cljs.core.not.call(null,goog.userAgent.product.IE)){ +return (new CustomEvent(event_name,(function (){var obj24664 = {"detail":data}; +return obj24664; +})())); +} else { +var event = document.createEvent("CustomEvent"); +event.initCustomEvent(event_name,false,false,data); + +return event; +} +}); +figwheel.client.utils.dispatch_custom_event = (function figwheel$client$utils$dispatch_custom_event(event_name,data){ +if(cljs.core.truth_((function (){var and__3911__auto__ = figwheel.client.utils.html_env_QMARK_.call(null); +if(cljs.core.truth_(and__3911__auto__)){ +var and__3911__auto____$1 = goog.object.get(window,"CustomEvent"); +if(cljs.core.truth_(and__3911__auto____$1)){ +return typeof document !== 'undefined'; +} else { +return and__3911__auto____$1; +} +} else { +return and__3911__auto__; +} +})())){ +return document.body.dispatchEvent(figwheel.client.utils.create_custom_event.call(null,event_name,data)); +} else { +return null; +} +}); +figwheel.client.utils.debug_prn = (function figwheel$client$utils$debug_prn(o){ +if(figwheel.client.utils._STAR_print_debug_STAR_){ +var o__$1 = ((((cljs.core.map_QMARK_.call(null,o)) || (cljs.core.seq_QMARK_.call(null,o))))?cljs.core.prn_str.call(null,o):o); +return console.log(o__$1); +} else { +return null; +} +}); +figwheel.client.utils.log = (function figwheel$client$utils$log(var_args){ +var G__24670 = arguments.length; +switch (G__24670) { +case 1: +return figwheel.client.utils.log.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return figwheel.client.utils.log.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(''))); + +} +}); + +figwheel.client.utils.log.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return figwheel.client.utils.log.call(null,new cljs.core.Keyword(null,"info","info",-317069002),x); +}); + +figwheel.client.utils.log.cljs$core$IFn$_invoke$arity$2 = (function (level,arg){ +var f = (function (){var pred__24671 = cljs.core._EQ_; +var expr__24672 = (cljs.core.truth_(figwheel.client.utils.html_or_react_native_env_QMARK_.call(null))?level:new cljs.core.Keyword(null,"info","info",-317069002)); +if(cljs.core.truth_(pred__24671.call(null,new cljs.core.Keyword(null,"warn","warn",-436710552),expr__24672))){ +return ((function (pred__24671,expr__24672){ +return (function (p1__24665_SHARP_){ +return console.warn(p1__24665_SHARP_); +}); +;})(pred__24671,expr__24672)) +} else { +if(cljs.core.truth_(pred__24671.call(null,new cljs.core.Keyword(null,"debug","debug",-1608172596),expr__24672))){ +return ((function (pred__24671,expr__24672){ +return (function (p1__24666_SHARP_){ +return console.debug(p1__24666_SHARP_); +}); +;})(pred__24671,expr__24672)) +} else { +if(cljs.core.truth_(pred__24671.call(null,new cljs.core.Keyword(null,"error","error",-978969032),expr__24672))){ +return ((function (pred__24671,expr__24672){ +return (function (p1__24667_SHARP_){ +return console.error(p1__24667_SHARP_); +}); +;})(pred__24671,expr__24672)) +} else { +return ((function (pred__24671,expr__24672){ +return (function (p1__24668_SHARP_){ +return console.log(p1__24668_SHARP_); +}); +;})(pred__24671,expr__24672)) +} +} +} +})(); +return f.call(null,arg); +}); + +figwheel.client.utils.log.cljs$lang$maxFixedArity = 2; + +figwheel.client.utils.eval_helper = (function figwheel$client$utils$eval_helper(code,p__24675){ +var map__24676 = p__24675; +var map__24676__$1 = ((((!((map__24676 == null)))?(((((map__24676.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__24676.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__24676):map__24676); +var opts = map__24676__$1; +var eval_fn = cljs.core.get.call(null,map__24676__$1,new cljs.core.Keyword(null,"eval-fn","eval-fn",-1111644294)); +if(cljs.core.truth_(eval_fn)){ +return eval_fn.call(null,code,opts); +} else { +return eval(code); +} +}); +figwheel.client.utils.pprint_to_string = (function figwheel$client$utils$pprint_to_string(x){ +var sb = (new goog.string.StringBuffer()); +var sbw = (new cljs.core.StringBufferWriter(sb)); +cljs.pprint.pprint.call(null,x,sbw); + +return goog.string.trimRight([cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)].join('')); +}); +/** + * chains an async action on to a deferred + * Must provide a goog.async.Deferred and action function that + * takes an initial value and a continuation fn to call with the result + */ +figwheel.client.utils.liftContD = (function figwheel$client$utils$liftContD(deferred,f){ +return deferred.then((function (val){ +var new_def = (new goog.async.Deferred()); +f.call(null,val,((function (new_def){ +return (function (p1__24678_SHARP_){ +return new_def.callback(p1__24678_SHARP_); +});})(new_def)) +); + +return new_def; +})); +}); +/** + * maps an async action across a collection and chains the results + * onto a deferred + */ +figwheel.client.utils.mapConcatD = (function figwheel$client$utils$mapConcatD(deferred,f,coll){ +var results = cljs.core.atom.call(null,cljs.core.PersistentVector.EMPTY); +return cljs.core.reduce.call(null,((function (results){ +return (function (defr,v){ +return figwheel.client.utils.liftContD.call(null,defr,((function (results){ +return (function (_,fin){ +return f.call(null,v,((function (results){ +return (function (v__$1){ +cljs.core.swap_BANG_.call(null,results,cljs.core.conj,v__$1); + +return fin.call(null,v__$1); +});})(results)) +); +});})(results)) +); +});})(results)) +,deferred,coll).then(((function (results){ +return (function (_){ +return goog.async.Deferred.succeed(cljs.core.deref.call(null,results)); +});})(results)) +); +}); +if(typeof figwheel.client.utils.local_persistent_config !== 'undefined'){ +} else { +figwheel.client.utils.local_persistent_config = (function (){var a = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); +if(((typeof localStorage !== 'undefined') && (typeof goog.object.get(localStorage,"setItem") !== 'undefined'))){ +cljs.core.add_watch.call(null,a,new cljs.core.Keyword(null,"sync-local-storage","sync-local-storage",-473590105),((function (a){ +return (function (_,___$1,___$2,n){ +return cljs.core.mapv.call(null,((function (a){ +return (function (p__24679){ +var vec__24680 = p__24679; +var ky = cljs.core.nth.call(null,vec__24680,(0),null); +var v = cljs.core.nth.call(null,vec__24680,(1),null); +return localStorage.setItem(cljs.core.name.call(null,ky),cljs.core.pr_str.call(null,v)); +});})(a)) +,n); +});})(a)) +); +} else { +} + +return a; +})(); +} +/** + * Set a local value on a key that in a browser will persist even when + * the browser gets reloaded. + */ +figwheel.client.utils.persistent_config_set_BANG_ = (function figwheel$client$utils$persistent_config_set_BANG_(ky,v){ +return cljs.core.swap_BANG_.call(null,figwheel.client.utils.local_persistent_config,cljs.core.assoc,ky,v); +}); +figwheel.client.utils.persistent_config_get = (function figwheel$client$utils$persistent_config_get(var_args){ +var G__24684 = arguments.length; +switch (G__24684) { +case 2: +return figwheel.client.utils.persistent_config_get.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 1: +return figwheel.client.utils.persistent_config_get.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(''))); + +} +}); + +figwheel.client.utils.persistent_config_get.cljs$core$IFn$_invoke$arity$2 = (function (ky,not_found){ +try{if(cljs.core.contains_QMARK_.call(null,cljs.core.deref.call(null,figwheel.client.utils.local_persistent_config),ky)){ +return cljs.core.get.call(null,cljs.core.deref.call(null,figwheel.client.utils.local_persistent_config),ky); +} else { +if(cljs.core.truth_((function (){var and__3911__auto__ = ((typeof localStorage !== 'undefined') && (typeof goog.object.get(localStorage,"getItem") !== 'undefined')); +if(and__3911__auto__){ +return localStorage.getItem(cljs.core.name.call(null,ky)); +} else { +return and__3911__auto__; +} +})())){ +var v = cljs.reader.read_string.call(null,localStorage.getItem(cljs.core.name.call(null,ky))); +figwheel.client.utils.persistent_config_set_BANG_.call(null,ky,v); + +return v; +} else { +return not_found; + +} +} +}catch (e24685){if((e24685 instanceof Error)){ +var e = e24685; +return not_found; +} else { +throw e24685; + +} +}}); + +figwheel.client.utils.persistent_config_get.cljs$core$IFn$_invoke$arity$1 = (function (ky){ +return figwheel.client.utils.persistent_config_get.call(null,ky,null); +}); + +figwheel.client.utils.persistent_config_get.cljs$lang$maxFixedArity = 2; + + +//# sourceMappingURL=utils.js.map?rel=1628501143824 diff --git a/examples/resources/public/js/out/figwheel/client/utils.js.map b/examples/resources/public/js/out/figwheel/client/utils.js.map new file mode 100644 index 0000000..9ccb1da --- /dev/null +++ b/examples/resources/public/js/out/figwheel/client/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/figwheel\/client\/utils.js","sources":["utils.cljs?rel=1628501143825"],"lineCount":295,"mappings":";AAAA;;;;;;;;;;AAaA,gDAAA,hDAAeA;AAEf,wCAAA,xCAAMC;AAAN,AAAmB,SAAK,yBAAA,xBAAMC;;AAE9B,gDAAA,hDAAMC;AAAN,AAA2B,SAAK,OAASC,2CACT,uDAAA,vDAACC,yBAAEC;;AAEnC,wCAAA,xCAAMC;AAAN,AAAmB,SAAK,2BAAA,1BAAMC;;AAE9B,wDAAA,xDAAMC;AAAN,AACE,IAAAC,mBAAI,AAACT;AAAL,AAAA,oBAAAS;AAAAA;;AAAgB,OAACP;;;AAEnB,0CAAA,1CAAMQ;AAAN,AAAqB,SACC,yBAAA,xBAAMT,mCACN,OAASU,0BACT,OAAS,AAAiBA;;AAEhD,wCAAA,xCAAMC;AAAN,AAAmB,oBAAM,AAACN;AAAP;;AAAA,oBACM,AAACN;AADP;;AAAA,oBAEM,AAACE;AAFP;;AAAA,oBAGM,AAACQ;AAHP;;AAAA;;;;;;AAKnB,sCAAA,tCAAMG;AAAN,AAAuB,sDAAA,aAAA,5DAACC,iCAAeC;;AAGvC,4CAAA,5CAAMC,gGAAqBC,WAAWC;AAAtC,AACE,GAAA,AAAAC,wBAAQC;AACN,YAAAC,YAAiBJ,WAAW,iBAAAK,WAAA,CAAA,SAAiBJ;AAAjB,AAAAI;;;AAI5B,IAAMC,QAAM,qBAAA,rBAACC;AAAb,AACE,i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,AAAA,MAAAC;;;;;AAFH,AAAA,4EAAA,5EAAMF,uFAcFN;AAdJ,AAeG,gEAAA,zDAACM,sDAAsBN;;;AAf1B,AAAA,sEAAA,tEAAMM;;AAAN","names":["figwheel.client.utils\/*print-debug*","figwheel.client.utils\/html-env?","goog\/global.document","figwheel.client.utils\/react-native-env?","goog\/global.navigator","cljs.core\/=","goog\/global.navigator.product","figwheel.client.utils\/node-env?","goog\/nodeGlobalRequire","figwheel.client.utils\/html-or-react-native-env?","or__3922__auto__","figwheel.client.utils\/worker-env?","js\/self","figwheel.client.utils\/host-env?","figwheel.client.utils\/base-url-path","clojure.string\/replace","goog\/basePath","figwheel.client.utils\/create-custom-event","event-name","data","cljs.core\/not","goog.userAgent.product\/IE","js\/CustomEvent","obj24664","event","js\/document.createEvent","figwheel.client.utils\/dispatch-custom-event","and__3911__auto__","goog.object\/get","js\/window","js\/document","figwheel.client.utils\/debug-prn","o","cljs.core\/map?","cljs.core\/seq?","cljs.core\/prn-str","js\/console","var_args","G__24670","figwheel.client.utils\/log","js\/Error","x","level","arg","f","pred__24671","expr__24672","p1__24665#","p1__24666#","p1__24667#","p1__24668#","p__24675","map__24676","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/get","figwheel.client.utils\/eval-helper","code","eval-fn","opts","figwheel.client.utils\/pprint-to-string","sb","goog\/string.StringBuffer","sbw","cljs.core\/StringBufferWriter","cljs.pprint\/pprint","goog.string\/trimRight","figwheel.client.utils\/liftContD","deferred","val","new-def","goog\/async.Deferred","p1__24678#","figwheel.client.utils\/mapConcatD","coll","results","cljs.core\/atom","cljs.core\/reduce","defr","v","_","fin","cljs.core\/swap!","cljs.core\/conj","cljs.core\/deref","figwheel.client.utils\/local-persistent-config","a","js\/localStorage","cljs.core\/add-watch","n","cljs.core\/mapv","p__24679","vec__24680","cljs.core\/nth","ky","cljs.core\/name","cljs.core\/pr-str","figwheel.client.utils\/persistent-config-set!","cljs.core\/assoc","G__24684","figwheel.client.utils\/persistent-config-get","not-found","e24685","cljs.core\/contains?","cljs.reader\/read-string","e"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/connect.cljs b/examples/resources/public/js/out/figwheel/connect.cljs new file mode 100644 index 0000000..750bc7f --- /dev/null +++ b/examples/resources/public/js/out/figwheel/connect.cljs @@ -0,0 +1,12 @@ +;; This namespace was created to add to the :preloads clojureScript +;; compile option. This will allow you to start the figwheel client with the +;; options that you supplied in :external-config > :figwheel/config +(ns figwheel.connect + (:require [figwheel.client]) + (:require-macros [figwheel.env-config :refer [external-tooling-config]])) + +(defn ^:export start [] + (let [config (external-tooling-config)] + (figwheel.client/start config) + (when (:devcards config) + (js/devcards.core.start-devcard-ui!*)))) diff --git a/examples/resources/public/js/out/figwheel/connect.cljs.cache.json b/examples/resources/public/js/out/figwheel/connect.cljs.cache.json new file mode 100644 index 0000000..27342d3 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/connect.cljs.cache.json @@ -0,0 +1 @@ +["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$devcards",["^ ","~$core",["^ ","~$start-devcard-ui!*",["^ "]]]],"~:use-macros",["^ ","~$external-tooling-config","~$figwheel.env-config"],"~:excludes",["~#set",[]],"~:name","~$figwheel.connect","~:imports",null,"~:requires",["^ ","~$figwheel.client","^?"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$start",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/philos/work/all/philos/debux-stubs/examples/resources/public/js/out/figwheel/connect.cljs","~:line",8,"~:column",16,"~:end-line",8,"~:end-column",21,"~:export",true,"~:arglists",["~#list",["~$quote",["^M",[[]]]]]],"^;","~$figwheel.connect/start","~:variadic",false,"^F","resources/public/js/out/figwheel/connect.cljs","^J",21,"~:method-params",["^M",[[]]],"~:protocol-impl",null,"^K",true,"~:arglists-meta",["^M",[null,null]],"^H",1,"^G",8,"^I",8,"~:max-fixed-arity",0,"~:fn-var",true,"^L",["^M",["^N",["^M",[[]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^8","^8"],"~:cljs.analyzer/constants",["^ ","~:seen",["^:",["~:build-id","~:websocket-url","~:devcards"]],"~:order",["^Z","^[","^10"]],"~:doc",null] \ No newline at end of file diff --git a/examples/resources/public/js/out/figwheel/connect.js b/examples/resources/public/js/out/figwheel/connect.js new file mode 100644 index 0000000..273391c --- /dev/null +++ b/examples/resources/public/js/out/figwheel/connect.js @@ -0,0 +1,17 @@ +// Compiled by ClojureScript 1.10.238 {} +goog.provide('figwheel.connect'); +goog.require('cljs.core'); +goog.require('figwheel.client'); +figwheel.connect.start = (function figwheel$connect$start(){ +var config = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"build-id","build-id",1642831089),"dev",new cljs.core.Keyword(null,"websocket-url","websocket-url",-490444938),"ws://localhost:3449/figwheel-ws"], null); +figwheel.client.start.call(null,config); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"devcards","devcards",365747130).cljs$core$IFn$_invoke$arity$1(config))){ +return devcards.core.start_devcard_ui_BANG__STAR_(); +} else { +return null; +} +}); +goog.exportSymbol('figwheel.connect.start', figwheel.connect.start); + +//# sourceMappingURL=connect.js.map?rel=1628501146747 diff --git a/examples/resources/public/js/out/figwheel/connect.js.map b/examples/resources/public/js/out/figwheel/connect.js.map new file mode 100644 index 0000000..27c8127 --- /dev/null +++ b/examples/resources/public/js/out/figwheel/connect.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/philos\/work\/all\/philos\/debux-stubs\/examples\/resources\/public\/js\/out\/figwheel\/connect.js","sources":["connect.cljs?rel=1628501146747"],"lineCount":17,"mappings":";AAGA;;;AAIA,yBAAA,zBAAeA;AAAf,AACE,IAAMC,SAAO,2CAAA,6DAAA,MAAA,uEAAA;AAAb,AACE,AAACC,gCAAsBD;;AACvB,oBAAM,AAAA,0FAAWA;AAAjB,AACE,OAACE;;AADH","names":["figwheel.connect\/start","config","figwheel.client\/start","js\/devcards.core.start-devcard-ui!*"]} \ No newline at end of file diff --git a/examples/resources/public/js/out/goog/array/array.js b/examples/resources/public/js/out/goog/array/array.js new file mode 100644 index 0000000..47e0dbb --- /dev/null +++ b/examples/resources/public/js/out/goog/array/array.js @@ -0,0 +1,1665 @@ +// Copyright 2006 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/** + * @fileoverview Utilities for manipulating arrays. + * + * @author arv@google.com (Erik Arvidsson) + */ + + +goog.provide('goog.array'); + +goog.require('goog.asserts'); + + +/** + * @define {boolean} NATIVE_ARRAY_PROTOTYPES indicates whether the code should + * rely on Array.prototype functions, if available. + * + * The Array.prototype functions can be defined by external libraries like + * Prototype and setting this flag to false forces closure to use its own + * goog.array implementation. + * + * If your javascript can be loaded by a third party site and you are wary about + * relying on the prototype functions, specify + * "--define goog.NATIVE_ARRAY_PROTOTYPES=false" to the JSCompiler. + * + * Setting goog.TRUSTED_SITE to false will automatically set + * NATIVE_ARRAY_PROTOTYPES to false. + */ +goog.define('goog.NATIVE_ARRAY_PROTOTYPES', goog.TRUSTED_SITE); + + +/** + * @define {boolean} If true, JSCompiler will use the native implementation of + * array functions where appropriate (e.g., {@code Array#filter}) and remove the + * unused pure JS implementation. + */ +goog.define('goog.array.ASSUME_NATIVE_FUNCTIONS', false); + + +/** + * Returns the last element in an array without removing it. + * Same as goog.array.last. + * @param {IArrayLike|string} array The array. + * @return {T} Last item in array. + * @template T + */ +goog.array.peek = function(array) { + return array[array.length - 1]; +}; + + +/** + * Returns the last element in an array without removing it. + * Same as goog.array.peek. + * @param {IArrayLike|string} array The array. + * @return {T} Last item in array. + * @template T + */ +goog.array.last = goog.array.peek; + +// NOTE(arv): Since most of the array functions are generic it allows you to +// pass an array-like object. Strings have a length and are considered array- +// like. However, the 'in' operator does not work on strings so we cannot just +// use the array path even if the browser supports indexing into strings. We +// therefore end up splitting the string. + + +/** + * Returns the index of the first element of an array with a specified value, or + * -1 if the element is not present in the array. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-indexof} + * + * @param {IArrayLike|string} arr The array to be searched. + * @param {T} obj The object for which we are searching. + * @param {number=} opt_fromIndex The index at which to start the search. If + * omitted the search starts at index 0. + * @return {number} The index of the first matching array element. + * @template T + */ +goog.array.indexOf = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ? + function(arr, obj, opt_fromIndex) { + goog.asserts.assert(arr.length != null); + + return Array.prototype.indexOf.call(arr, obj, opt_fromIndex); + } : + function(arr, obj, opt_fromIndex) { + var fromIndex = opt_fromIndex == null ? + 0 : + (opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : + opt_fromIndex); + + if (goog.isString(arr)) { + // Array.prototype.indexOf uses === so only strings should be found. + if (!goog.isString(obj) || obj.length != 1) { + return -1; + } + return arr.indexOf(obj, fromIndex); + } + + for (var i = fromIndex; i < arr.length; i++) { + if (i in arr && arr[i] === obj) return i; + } + return -1; + }; + + +/** + * Returns the index of the last element of an array with a specified value, or + * -1 if the element is not present in the array. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-lastindexof} + * + * @param {!IArrayLike|string} arr The array to be searched. + * @param {T} obj The object for which we are searching. + * @param {?number=} opt_fromIndex The index at which to start the search. If + * omitted the search starts at the end of the array. + * @return {number} The index of the last matching array element. + * @template T + */ +goog.array.lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? + function(arr, obj, opt_fromIndex) { + goog.asserts.assert(arr.length != null); + + // Firefox treats undefined and null as 0 in the fromIndex argument which + // leads it to always return -1 + var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex; + return Array.prototype.lastIndexOf.call(arr, obj, fromIndex); + } : + function(arr, obj, opt_fromIndex) { + var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex; + + if (fromIndex < 0) { + fromIndex = Math.max(0, arr.length + fromIndex); + } + + if (goog.isString(arr)) { + // Array.prototype.lastIndexOf uses === so only strings should be found. + if (!goog.isString(obj) || obj.length != 1) { + return -1; + } + return arr.lastIndexOf(obj, fromIndex); + } + + for (var i = fromIndex; i >= 0; i--) { + if (i in arr && arr[i] === obj) return i; + } + return -1; + }; + + +/** + * Calls a function for each element in an array. Skips holes in the array. + * See {@link http://tinyurl.com/developer-mozilla-org-array-foreach} + * + * @param {IArrayLike|string} arr Array or array like object over + * which to iterate. + * @param {?function(this: S, T, number, ?): ?} f The function to call for every + * element. This function takes 3 arguments (the element, the index and the + * array). The return value is ignored. + * @param {S=} opt_obj The object to be used as the value of 'this' within f. + * @template T,S + */ +goog.array.forEach = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? + function(arr, f, opt_obj) { + goog.asserts.assert(arr.length != null); + + Array.prototype.forEach.call(arr, f, opt_obj); + } : + function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = 0; i < l; i++) { + if (i in arr2) { + f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr); + } + } + }; + + +/** + * Calls a function for each element in an array, starting from the last + * element rather than the first. + * + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this: S, T, number, ?): ?} f The function to call for every + * element. This function + * takes 3 arguments (the element, the index and the array). The return + * value is ignored. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within f. + * @template T,S + */ +goog.array.forEachRight = function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = l - 1; i >= 0; --i) { + if (i in arr2) { + f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr); + } + } +}; + + +/** + * Calls a function for each element in an array, and if the function returns + * true adds the element to a new array. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-filter} + * + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?):boolean} f The function to call for + * every element. This function + * takes 3 arguments (the element, the index and the array) and must + * return a Boolean. If the return value is true the element is added to the + * result array. If it is false the element is not included. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within f. + * @return {!Array} a new array in which only elements that passed the test + * are present. + * @template T,S + */ +goog.array.filter = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? + function(arr, f, opt_obj) { + goog.asserts.assert(arr.length != null); + + return Array.prototype.filter.call(arr, f, opt_obj); + } : + function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var res = []; + var resLength = 0; + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = 0; i < l; i++) { + if (i in arr2) { + var val = arr2[i]; // in case f mutates arr2 + if (f.call(/** @type {?} */ (opt_obj), val, i, arr)) { + res[resLength++] = val; + } + } + } + return res; + }; + + +/** + * Calls a function for each element in an array and inserts the result into a + * new array. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-map} + * + * @param {IArrayLike|string} arr Array or array like object + * over which to iterate. + * @param {function(this:THIS, VALUE, number, ?): RESULT} f The function to call + * for every element. This function takes 3 arguments (the element, + * the index and the array) and should return something. The result will be + * inserted into a new array. + * @param {THIS=} opt_obj The object to be used as the value of 'this' within f. + * @return {!Array} a new array with the results from f. + * @template THIS, VALUE, RESULT + */ +goog.array.map = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? + function(arr, f, opt_obj) { + goog.asserts.assert(arr.length != null); + + return Array.prototype.map.call(arr, f, opt_obj); + } : + function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var res = new Array(l); + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = 0; i < l; i++) { + if (i in arr2) { + res[i] = f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr); + } + } + return res; + }; + + +/** + * Passes every element of an array into a function and accumulates the result. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-reduce} + * + * For example: + * var a = [1, 2, 3, 4]; + * goog.array.reduce(a, function(r, v, i, arr) {return r + v;}, 0); + * returns 10 + * + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {function(this:S, R, T, number, ?) : R} f The function to call for + * every element. This function + * takes 4 arguments (the function's previous result or the initial value, + * the value of the current array element, the current array index, and the + * array itself) + * function(previousValue, currentValue, index, array). + * @param {?} val The initial value to pass into the function on the first call. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within f. + * @return {R} Result of evaluating f repeatedly across the values of the array. + * @template T,S,R + */ +goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? + function(arr, f, val, opt_obj) { + goog.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) { + var rval = val; + goog.array.forEach(arr, function(val, index) { + rval = f.call(/** @type {?} */ (opt_obj), rval, val, index, arr); + }); + return rval; + }; + + +/** + * Passes every element of an array into a function and accumulates the result, + * starting from the last element and working towards the first. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-reduceright} + * + * For example: + * var a = ['a', 'b', 'c']; + * goog.array.reduceRight(a, function(r, v, i, arr) {return r + v;}, ''); + * returns 'cba' + * + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, R, T, number, ?) : R} f The function to call for + * every element. This function + * takes 4 arguments (the function's previous result or the initial value, + * the value of the current array element, the current array index, and the + * array itself) + * function(previousValue, currentValue, index, array). + * @param {?} val The initial value to pass into the function on the first call. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within f. + * @return {R} Object returned as a result of evaluating f repeatedly across the + * values of the array. + * @template T,S,R + */ +goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? + function(arr, f, val, opt_obj) { + goog.asserts.assert(arr.length != null); + goog.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) { + var rval = val; + goog.array.forEachRight(arr, function(val, index) { + rval = f.call(/** @type {?} */ (opt_obj), rval, val, index, arr); + }); + return rval; + }; + + +/** + * Calls f for each element of an array. If any call returns true, some() + * returns true (without checking the remaining elements). If all calls + * return false, some() returns false. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-some} + * + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call for + * for every element. This function takes 3 arguments (the element, the + * index and the array) and should return a boolean. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within f. + * @return {boolean} true if any element passes the test. + * @template T,S + */ +goog.array.some = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? + function(arr, f, opt_obj) { + goog.asserts.assert(arr.length != null); + + return Array.prototype.some.call(arr, f, opt_obj); + } : + function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = 0; i < l; i++) { + if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { + return true; + } + } + return false; + }; + + +/** + * Call f for each element of an array. If all calls return true, every() + * returns true. If any call returns false, every() returns false and + * does not continue to check the remaining elements. + * + * See {@link http://tinyurl.com/developer-mozilla-org-array-every} + * + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call for + * for every element. This function takes 3 arguments (the element, the + * index and the array) and should return a boolean. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within f. + * @return {boolean} false if any element fails the test. + * @template T,S + */ +goog.array.every = goog.NATIVE_ARRAY_PROTOTYPES && + (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? + function(arr, f, opt_obj) { + goog.asserts.assert(arr.length != null); + + return Array.prototype.every.call(arr, f, opt_obj); + } : + function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = 0; i < l; i++) { + if (i in arr2 && !f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { + return false; + } + } + return true; + }; + + +/** + * Counts the array elements that fulfill the predicate, i.e. for which the + * callback function returns true. Skips holes in the array. + * + * @param {!IArrayLike|string} arr Array or array like object + * over which to iterate. + * @param {function(this: S, T, number, ?): boolean} f The function to call for + * every element. Takes 3 arguments (the element, the index and the array). + * @param {S=} opt_obj The object to be used as the value of 'this' within f. + * @return {number} The number of the matching elements. + * @template T,S + */ +goog.array.count = function(arr, f, opt_obj) { + var count = 0; + goog.array.forEach(arr, function(element, index, arr) { + if (f.call(/** @type {?} */ (opt_obj), element, index, arr)) { + ++count; + } + }, opt_obj); + return count; +}; + + +/** + * Search an array for the first element that satisfies a given condition and + * return that element. + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call + * for every element. This function takes 3 arguments (the element, the + * index and the array) and should return a boolean. + * @param {S=} opt_obj An optional "this" context for the function. + * @return {T|null} The first array element that passes the test, or null if no + * element is found. + * @template T,S + */ +goog.array.find = function(arr, f, opt_obj) { + var i = goog.array.findIndex(arr, f, opt_obj); + return i < 0 ? null : goog.isString(arr) ? arr.charAt(i) : arr[i]; +}; + + +/** + * Search an array for the first element that satisfies a given condition and + * return its index. + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call for + * every element. This function + * takes 3 arguments (the element, the index and the array) and should + * return a boolean. + * @param {S=} opt_obj An optional "this" context for the function. + * @return {number} The index of the first array element that passes the test, + * or -1 if no element is found. + * @template T,S + */ +goog.array.findIndex = function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = 0; i < l; i++) { + if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { + return i; + } + } + return -1; +}; + + +/** + * Search an array (in reverse order) for the last element that satisfies a + * given condition and return that element. + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call + * for every element. This function + * takes 3 arguments (the element, the index and the array) and should + * return a boolean. + * @param {S=} opt_obj An optional "this" context for the function. + * @return {T|null} The last array element that passes the test, or null if no + * element is found. + * @template T,S + */ +goog.array.findRight = function(arr, f, opt_obj) { + var i = goog.array.findIndexRight(arr, f, opt_obj); + return i < 0 ? null : goog.isString(arr) ? arr.charAt(i) : arr[i]; +}; + + +/** + * Search an array (in reverse order) for the last element that satisfies a + * given condition and return its index. + * @param {IArrayLike|string} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call + * for every element. This function + * takes 3 arguments (the element, the index and the array) and should + * return a boolean. + * @param {S=} opt_obj An optional "this" context for the function. + * @return {number} The index of the last array element that passes the test, + * or -1 if no element is found. + * @template T,S + */ +goog.array.findIndexRight = function(arr, f, opt_obj) { + var l = arr.length; // must be fixed during loop... see docs + var arr2 = goog.isString(arr) ? arr.split('') : arr; + for (var i = l - 1; i >= 0; i--) { + if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { + return i; + } + } + return -1; +}; + + +/** + * Whether the array contains the given object. + * @param {IArrayLike|string} arr The array to test for the presence of the + * element. + * @param {*} obj The object for which to test. + * @return {boolean} true if obj is present. + */ +goog.array.contains = function(arr, obj) { + return goog.array.indexOf(arr, obj) >= 0; +}; + + +/** + * Whether the array is empty. + * @param {IArrayLike|string} arr The array to test. + * @return {boolean} true if empty. + */ +goog.array.isEmpty = function(arr) { + return arr.length == 0; +}; + + +/** + * Clears the array. + * @param {IArrayLike} arr Array or array like object to clear. + */ +goog.array.clear = function(arr) { + // For non real arrays we don't have the magic length so we delete the + // indices. + if (!goog.isArray(arr)) { + for (var i = arr.length - 1; i >= 0; i--) { + delete arr[i]; + } + } + arr.length = 0; +}; + + +/** + * Pushes an item into an array, if it's not already in the array. + * @param {Array} arr Array into which to insert the item. + * @param {T} obj Value to add. + * @template T + */ +goog.array.insert = function(arr, obj) { + if (!goog.array.contains(arr, obj)) { + arr.push(obj); + } +}; + + +/** + * Inserts an object at the given index of the array. + * @param {IArrayLike} arr The array to modify. + * @param {*} obj The object to insert. + * @param {number=} opt_i The index at which to insert the object. If omitted, + * treated as 0. A negative index is counted from the end of the array. + */ +goog.array.insertAt = function(arr, obj, opt_i) { + goog.array.splice(arr, opt_i, 0, obj); +}; + + +/** + * Inserts at the given index of the array, all elements of another array. + * @param {IArrayLike} arr The array to modify. + * @param {IArrayLike} elementsToAdd The array of elements to add. + * @param {number=} opt_i The index at which to insert the object. If omitted, + * treated as 0. A negative index is counted from the end of the array. + */ +goog.array.insertArrayAt = function(arr, elementsToAdd, opt_i) { + goog.partial(goog.array.splice, arr, opt_i, 0).apply(null, elementsToAdd); +}; + + +/** + * Inserts an object into an array before a specified object. + * @param {Array} arr The array to modify. + * @param {T} obj The object to insert. + * @param {T=} opt_obj2 The object before which obj should be inserted. If obj2 + * is omitted or not found, obj is inserted at the end of the array. + * @template T + */ +goog.array.insertBefore = function(arr, obj, opt_obj2) { + var i; + if (arguments.length == 2 || (i = goog.array.indexOf(arr, opt_obj2)) < 0) { + arr.push(obj); + } else { + goog.array.insertAt(arr, obj, i); + } +}; + + +/** + * Removes the first occurrence of a particular value from an array. + * @param {IArrayLike} arr Array from which to remove + * value. + * @param {T} obj Object to remove. + * @return {boolean} True if an element was removed. + * @template T + */ +goog.array.remove = function(arr, obj) { + var i = goog.array.indexOf(arr, obj); + var rv; + if ((rv = i >= 0)) { + goog.array.removeAt(arr, i); + } + return rv; +}; + + +/** + * Removes the last occurrence of a particular value from an array. + * @param {!IArrayLike} arr Array from which to remove value. + * @param {T} obj Object to remove. + * @return {boolean} True if an element was removed. + * @template T + */ +goog.array.removeLast = function(arr, obj) { + var i = goog.array.lastIndexOf(arr, obj); + if (i >= 0) { + goog.array.removeAt(arr, i); + return true; + } + return false; +}; + + +/** + * Removes from an array the element at index i + * @param {IArrayLike} arr Array or array like object from which to + * remove value. + * @param {number} i The index to remove. + * @return {boolean} True if an element was removed. + */ +goog.array.removeAt = function(arr, i) { + goog.asserts.assert(arr.length != null); + + // use generic form of splice + // splice returns the removed items and if successful the length of that + // will be 1 + return Array.prototype.splice.call(arr, i, 1).length == 1; +}; + + +/** + * Removes the first value that satisfies the given condition. + * @param {IArrayLike} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call + * for every element. This function + * takes 3 arguments (the element, the index and the array) and should + * return a boolean. + * @param {S=} opt_obj An optional "this" context for the function. + * @return {boolean} True if an element was removed. + * @template T,S + */ +goog.array.removeIf = function(arr, f, opt_obj) { + var i = goog.array.findIndex(arr, f, opt_obj); + if (i >= 0) { + goog.array.removeAt(arr, i); + return true; + } + return false; +}; + + +/** + * Removes all values that satisfy the given condition. + * @param {IArrayLike} arr Array or array + * like object over which to iterate. + * @param {?function(this:S, T, number, ?) : boolean} f The function to call + * for every element. This function + * takes 3 arguments (the element, the index and the array) and should + * return a boolean. + * @param {S=} opt_obj An optional "this" context for the function. + * @return {number} The number of items removed + * @template T,S + */ +goog.array.removeAllIf = function(arr, f, opt_obj) { + var removedCount = 0; + goog.array.forEachRight(arr, function(val, index) { + if (f.call(/** @type {?} */ (opt_obj), val, index, arr)) { + if (goog.array.removeAt(arr, index)) { + removedCount++; + } + } + }); + return removedCount; +}; + + +/** + * Returns a new array that is the result of joining the arguments. If arrays + * are passed then their items are added, however, if non-arrays are passed they + * will be added to the return array as is. + * + * Note that ArrayLike objects will be added as is, rather than having their + * items added. + * + * goog.array.concat([1, 2], [3, 4]) -> [1, 2, 3, 4] + * goog.array.concat(0, [1, 2]) -> [0, 1, 2] + * goog.array.concat([1, 2], null) -> [1, 2, null] + * + * There is bug in all current versions of IE (6, 7 and 8) where arrays created + * in an iframe become corrupted soon (not immediately) after the iframe is + * destroyed. This is common if loading data via goog.net.IframeIo, for example. + * This corruption only affects the concat method which will start throwing + * Catastrophic Errors (#-2147418113). + * + * See http://endoflow.com/scratch/corrupted-arrays.html for a test case. + * + * Internally goog.array should use this, so that all methods will continue to + * work on these broken array objects. + * + * @param {...*} var_args Items to concatenate. Arrays will have each item + * added, while primitives and objects will be added as is. + * @return {!Array} The new resultant array. + */ +goog.array.concat = function(var_args) { + return Array.prototype.concat.apply([], arguments); +}; + + +/** + * Returns a new array that contains the contents of all the arrays passed. + * @param {...!Array} var_args + * @return {!Array} + * @template T + */ +goog.array.join = function(var_args) { + return Array.prototype.concat.apply([], arguments); +}; + + +/** + * Converts an object to an array. + * @param {IArrayLike|string} object The object to convert to an + * array. + * @return {!Array} The object converted into an array. If object has a + * length property, every property indexed with a non-negative number + * less than length will be included in the result. If object does not + * have a length property, an empty array will be returned. + * @template T + */ +goog.array.toArray = function(object) { + var length = object.length; + + // If length is not a number the following it false. This case is kept for + // backwards compatibility since there are callers that pass objects that are + // not array like. + if (length > 0) { + var rv = new Array(length); + for (var i = 0; i < length; i++) { + rv[i] = object[i]; + } + return rv; + } + return []; +}; + + +/** + * Does a shallow copy of an array. + * @param {IArrayLike|string} arr Array or array-like object to + * clone. + * @return {!Array} Clone of the input array. + * @template T + */ +goog.array.clone = goog.array.toArray; + + +/** + * Extends an array with another array, element, or "array like" object. + * This function operates 'in-place', it does not create a new Array. + * + * Example: + * var a = []; + * goog.array.extend(a, [0, 1]); + * a; // [0, 1] + * goog.array.extend(a, 2); + * a; // [0, 1, 2] + * + * @param {Array} arr1 The array to modify. + * @param {...(Array|VALUE)} var_args The elements or arrays of elements + * to add to arr1. + * @template VALUE + */ +goog.array.extend = function(arr1, var_args) { + for (var i = 1; i < arguments.length; i++) { + var arr2 = arguments[i]; + if (goog.isArrayLike(arr2)) { + var len1 = arr1.length || 0; + var len2 = arr2.length || 0; + arr1.length = len1 + len2; + for (var j = 0; j < len2; j++) { + arr1[len1 + j] = arr2[j]; + } + } else { + arr1.push(arr2); + } + } +}; + + +/** + * Adds or removes elements from an array. This is a generic version of Array + * splice. This means that it might work on other objects similar to arrays, + * such as the arguments object. + * + * @param {IArrayLike} arr The array to modify. + * @param {number|undefined} index The index at which to start changing the + * array. If not defined, treated as 0. + * @param {number} howMany How many elements to remove (0 means no removal. A + * value below 0 is treated as zero and so is any other non number. Numbers + * are floored). + * @param {...T} var_args Optional, additional elements to insert into the + * array. + * @return {!Array} the removed elements. + * @template T + */ +goog.array.splice = function(arr, index, howMany, var_args) { + goog.asserts.assert(arr.length != null); + + return Array.prototype.splice.apply(arr, goog.array.slice(arguments, 1)); +}; + + +/** + * Returns a new array from a segment of an array. This is a generic version of + * Array slice. This means that it might work on other objects similar to + * arrays, such as the arguments object. + * + * @param {IArrayLike|string} arr The array from + * which to copy a segment. + * @param {number} start The index of the first element to copy. + * @param {number=} opt_end The index after the last element to copy. + * @return {!Array} A new array containing the specified segment of the + * original array. + * @template T + */ +goog.array.slice = function(arr, start, opt_end) { + goog.asserts.assert(arr.length != null); + + // passing 1 arg to slice is not the same as passing 2 where the second is + // null or undefined (in that case the second argument is treated as 0). + // we could use slice on the arguments object and then use apply instead of + // testing the length + if (arguments.length <= 2) { + return Array.prototype.slice.call(arr, start); + } else { + return Array.prototype.slice.call(arr, start, opt_end); + } +}; + + +/** + * Removes all duplicates from an array (retaining only the first + * occurrence of each array element). This function modifies the + * array in place and doesn't change the order of the non-duplicate items. + * + * For objects, duplicates are identified as having the same unique ID as + * defined by {@link goog.getUid}. + * + * Alternatively you can specify a custom hash function that returns a unique + * value for each item in the array it should consider unique. + * + * Runtime: N, + * Worstcase space: 2N (no dupes) + * + * @param {IArrayLike} arr The array from which to remove + * duplicates. + * @param {Array=} opt_rv An optional array in which to return the results, + * instead of performing the removal inplace. If specified, the original + * array will remain unchanged. + * @param {function(T):string=} opt_hashFn An optional function to use to + * apply to every item in the array. This function should return a unique + * value for each item in the array it should consider unique. + * @template T + */ +goog.array.removeDuplicates = function(arr, opt_rv, opt_hashFn) { + var returnArray = opt_rv || arr; + var defaultHashFn = function(item) { + // Prefix each type with a single character representing the type to + // prevent conflicting keys (e.g. true and 'true'). + return goog.isObject(item) ? 'o' + goog.getUid(item) : + (typeof item).charAt(0) + item; + }; + var hashFn = opt_hashFn || defaultHashFn; + + var seen = {}, cursorInsert = 0, cursorRead = 0; + while (cursorRead < arr.length) { + var current = arr[cursorRead++]; + var key = hashFn(current); + if (!Object.prototype.hasOwnProperty.call(seen, key)) { + seen[key] = true; + returnArray[cursorInsert++] = current; + } + } + returnArray.length = cursorInsert; +}; + + +/** + * Searches the specified array for the specified target using the binary + * search algorithm. If no opt_compareFn is specified, elements are compared + * using goog.array.defaultCompare, which compares the elements + * using the built in < and > operators. This will produce the expected + * behavior for homogeneous arrays of String(s) and Number(s). The array + * specified must be sorted in ascending order (as defined by the + * comparison function). If the array is not sorted, results are undefined. + * If the array contains multiple instances of the specified target value, any + * of these instances may be found. + * + * Runtime: O(log n) + * + * @param {IArrayLike} arr The array to be searched. + * @param {TARGET} target The sought value. + * @param {function(TARGET, VALUE): number=} opt_compareFn Optional comparison + * function by which the array is ordered. Should take 2 arguments to + * compare, and return a negative number, zero, or a positive number + * depending on whether the first argument is less than, equal to, or + * greater than the second. + * @return {number} Lowest index of the target value if found, otherwise + * (-(insertion point) - 1). The insertion point is where the value should + * be inserted into arr to preserve the sorted property. Return value >= 0 + * iff target is found. + * @template TARGET, VALUE + */ +goog.array.binarySearch = function(arr, target, opt_compareFn) { + return goog.array.binarySearch_( + arr, opt_compareFn || goog.array.defaultCompare, false /* isEvaluator */, + target); +}; + + +/** + * Selects an index in the specified array using the binary search algorithm. + * The evaluator receives an element and determines whether the desired index + * is before, at, or after it. The evaluator must be consistent (formally, + * goog.array.map(goog.array.map(arr, evaluator, opt_obj), goog.math.sign) + * must be monotonically non-increasing). + * + * Runtime: O(log n) + * + * @param {IArrayLike} arr The array to be searched. + * @param {function(this:THIS, VALUE, number, ?): number} evaluator + * Evaluator function that receives 3 arguments (the element, the index and + * the array). Should return a negative number, zero, or a positive number + * depending on whether the desired index is before, at, or after the + * element passed to it. + * @param {THIS=} opt_obj The object to be used as the value of 'this' + * within evaluator. + * @return {number} Index of the leftmost element matched by the evaluator, if + * such exists; otherwise (-(insertion point) - 1). The insertion point is + * the index of the first element for which the evaluator returns negative, + * or arr.length if no such element exists. The return value is non-negative + * iff a match is found. + * @template THIS, VALUE + */ +goog.array.binarySelect = function(arr, evaluator, opt_obj) { + return goog.array.binarySearch_( + arr, evaluator, true /* isEvaluator */, undefined /* opt_target */, + opt_obj); +}; + + +/** + * Implementation of a binary search algorithm which knows how to use both + * comparison functions and evaluators. If an evaluator is provided, will call + * the evaluator with the given optional data object, conforming to the + * interface defined in binarySelect. Otherwise, if a comparison function is + * provided, will call the comparison function against the given data object. + * + * This implementation purposefully does not use goog.bind or goog.partial for + * performance reasons. + * + * Runtime: O(log n) + * + * @param {IArrayLike} arr The array to be searched. + * @param {function(?, ?, ?): number | function(?, ?): number} compareFn + * Either an evaluator or a comparison function, as defined by binarySearch + * and binarySelect above. + * @param {boolean} isEvaluator Whether the function is an evaluator or a + * comparison function. + * @param {?=} opt_target If the function is a comparison function, then + * this is the target to binary search for. + * @param {Object=} opt_selfObj If the function is an evaluator, this is an + * optional this object for the evaluator. + * @return {number} Lowest index of the target value if found, otherwise + * (-(insertion point) - 1). The insertion point is where the value should + * be inserted into arr to preserve the sorted property. Return value >= 0 + * iff target is found. + * @private + */ +goog.array.binarySearch_ = function( + arr, compareFn, isEvaluator, opt_target, opt_selfObj) { + var left = 0; // inclusive + var right = arr.length; // exclusive + var found; + while (left < right) { + var middle = (left + right) >> 1; + var compareResult; + if (isEvaluator) { + compareResult = compareFn.call(opt_selfObj, arr[middle], middle, arr); + } else { + // NOTE(dimvar): To avoid this cast, we'd have to use function overloading + // for the type of binarySearch_, which the type system can't express yet. + compareResult = /** @type {function(?, ?): number} */ (compareFn)( + opt_target, arr[middle]); + } + if (compareResult > 0) { + left = middle + 1; + } else { + right = middle; + // We are looking for the lowest index so we can't return immediately. + found = !compareResult; + } + } + // left is the index if found, or the insertion point otherwise. + // ~left is a shorthand for -left - 1. + return found ? left : ~left; +}; + + +/** + * Sorts the specified array into ascending order. If no opt_compareFn is + * specified, elements are compared using + * goog.array.defaultCompare, which compares the elements using + * the built in < and > operators. This will produce the expected behavior + * for homogeneous arrays of String(s) and Number(s), unlike the native sort, + * but will give unpredictable results for heterogeneous lists of strings and + * numbers with different numbers of digits. + * + * This sort is not guaranteed to be stable. + * + * Runtime: Same as Array.prototype.sort + * + * @param {Array} arr The array to be sorted. + * @param {?function(T,T):number=} opt_compareFn Optional comparison + * function by which the + * array is to be ordered. Should take 2 arguments to compare, and return a + * negative number, zero, or a positive number depending on whether the + * first argument is less than, equal to, or greater than the second. + * @template T + */ +goog.array.sort = function(arr, opt_compareFn) { + // TODO(arv): Update type annotation since null is not accepted. + arr.sort(opt_compareFn || goog.array.defaultCompare); +}; + + +/** + * Sorts the specified array into ascending order in a stable way. If no + * opt_compareFn is specified, elements are compared using + * goog.array.defaultCompare, which compares the elements using + * the built in < and > operators. This will produce the expected behavior + * for homogeneous arrays of String(s) and Number(s). + * + * Runtime: Same as Array.prototype.sort, plus an additional + * O(n) overhead of copying the array twice. + * + * @param {Array} arr The array to be sorted. + * @param {?function(T, T): number=} opt_compareFn Optional comparison function + * by which the array is to be ordered. Should take 2 arguments to compare, + * and return a negative number, zero, or a positive number depending on + * whether the first argument is less than, equal to, or greater than the + * second. + * @template T + */ +goog.array.stableSort = function(arr, opt_compareFn) { + var compArr = new Array(arr.length); + for (var i = 0; i < arr.length; i++) { + compArr[i] = {index: i, value: arr[i]}; + } + var valueCompareFn = opt_compareFn || goog.array.defaultCompare; + function stableCompareFn(obj1, obj2) { + return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index; + } + goog.array.sort(compArr, stableCompareFn); + for (var i = 0; i < arr.length; i++) { + arr[i] = compArr[i].value; + } +}; + + +/** + * Sort the specified array into ascending order based on item keys + * returned by the specified key function. + * If no opt_compareFn is specified, the keys are compared in ascending order + * using goog.array.defaultCompare. + * + * Runtime: O(S(f(n)), where S is runtime of goog.array.sort + * and f(n) is runtime of the key function. + * + * @param {Array} arr The array to be sorted. + * @param {function(T): K} keyFn Function taking array element and returning + * a key used for sorting this element. + * @param {?function(K, K): number=} opt_compareFn Optional comparison function + * by which the keys are to be ordered. Should take 2 arguments to compare, + * and return a negative number, zero, or a positive number depending on + * whether the first argument is less than, equal to, or greater than the + * second. + * @template T,K + */ +goog.array.sortByKey = function(arr, keyFn, opt_compareFn) { + var keyCompareFn = opt_compareFn || goog.array.defaultCompare; + goog.array.sort( + arr, function(a, b) { return keyCompareFn(keyFn(a), keyFn(b)); }); +}; + + +/** + * Sorts an array of objects by the specified object key and compare + * function. If no compare function is provided, the key values are + * compared in ascending order using goog.array.defaultCompare. + * This won't work for keys that get renamed by the compiler. So use + * {'foo': 1, 'bar': 2} rather than {foo: 1, bar: 2}. + * @param {Array} arr An array of objects to sort. + * @param {string} key The object key to sort by. + * @param {Function=} opt_compareFn The function to use to compare key + * values. + */ +goog.array.sortObjectsByKey = function(arr, key, opt_compareFn) { + goog.array.sortByKey(arr, function(obj) { return obj[key]; }, opt_compareFn); +}; + + +/** + * Tells if the array is sorted. + * @param {!Array} arr The array. + * @param {?function(T,T):number=} opt_compareFn Function to compare the + * array elements. + * Should take 2 arguments to compare, and return a negative number, zero, + * or a positive number depending on whether the first argument is less + * than, equal to, or greater than the second. + * @param {boolean=} opt_strict If true no equal elements are allowed. + * @return {boolean} Whether the array is sorted. + * @template T + */ +goog.array.isSorted = function(arr, opt_compareFn, opt_strict) { + var compare = opt_compareFn || goog.array.defaultCompare; + for (var i = 1; i < arr.length; i++) { + var compareResult = compare(arr[i - 1], arr[i]); + if (compareResult > 0 || compareResult == 0 && opt_strict) { + return false; + } + } + return true; +}; + + +/** + * Compares two arrays for equality. Two arrays are considered equal if they + * have the same length and their corresponding elements are equal according to + * the comparison function. + * + * @param {IArrayLike} arr1 The first array to compare. + * @param {IArrayLike} arr2 The second array to compare. + * @param {Function=} opt_equalsFn Optional comparison function. + * Should take 2 arguments to compare, and return true if the arguments + * are equal. Defaults to {@link goog.array.defaultCompareEquality} which + * compares the elements using the built-in '===' operator. + * @return {boolean} Whether the two arrays are equal. + */ +goog.array.equals = function(arr1, arr2, opt_equalsFn) { + if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || + arr1.length != arr2.length) { + return false; + } + var l = arr1.length; + var equalsFn = opt_equalsFn || goog.array.defaultCompareEquality; + for (var i = 0; i < l; i++) { + if (!equalsFn(arr1[i], arr2[i])) { + return false; + } + } + return true; +}; + + +/** + * 3-way array compare function. + * @param {!IArrayLike} arr1 The first array to + * compare. + * @param {!IArrayLike} arr2 The second array to + * compare. + * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison + * function by which the array is to be ordered. Should take 2 arguments to + * compare, and return a negative number, zero, or a positive number + * depending on whether the first argument is less than, equal to, or + * greater than the second. + * @return {number} Negative number, zero, or a positive number depending on + * whether the first argument is less than, equal to, or greater than the + * second. + * @template VALUE + */ +goog.array.compare3 = function(arr1, arr2, opt_compareFn) { + var compare = opt_compareFn || goog.array.defaultCompare; + var l = Math.min(arr1.length, arr2.length); + for (var i = 0; i < l; i++) { + var result = compare(arr1[i], arr2[i]); + if (result != 0) { + return result; + } + } + return goog.array.defaultCompare(arr1.length, arr2.length); +}; + + +/** + * Compares its two arguments for order, using the built in < and > + * operators. + * @param {VALUE} a The first object to be compared. + * @param {VALUE} b The second object to be compared. + * @return {number} A negative number, zero, or a positive number as the first + * argument is less than, equal to, or greater than the second, + * respectively. + * @template VALUE + */ +goog.array.defaultCompare = function(a, b) { + return a > b ? 1 : a < b ? -1 : 0; +}; + + +/** + * Compares its two arguments for inverse order, using the built in < and > + * operators. + * @param {VALUE} a The first object to be compared. + * @param {VALUE} b The second object to be compared. + * @return {number} A negative number, zero, or a positive number as the first + * argument is greater than, equal to, or less than the second, + * respectively. + * @template VALUE + */ +goog.array.inverseDefaultCompare = function(a, b) { + return -goog.array.defaultCompare(a, b); +}; + + +/** + * Compares its two arguments for equality, using the built in === operator. + * @param {*} a The first object to compare. + * @param {*} b The second object to compare. + * @return {boolean} True if the two arguments are equal, false otherwise. + */ +goog.array.defaultCompareEquality = function(a, b) { + return a === b; +}; + + +/** + * Inserts a value into a sorted array. The array is not modified if the + * value is already present. + * @param {IArrayLike} array The array to modify. + * @param {VALUE} value The object to insert. + * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison + * function by which the array is ordered. Should take 2 arguments to + * compare, and return a negative number, zero, or a positive number + * depending on whether the first argument is less than, equal to, or + * greater than the second. + * @return {boolean} True if an element was inserted. + * @template VALUE + */ +goog.array.binaryInsert = function(array, value, opt_compareFn) { + var index = goog.array.binarySearch(array, value, opt_compareFn); + if (index < 0) { + goog.array.insertAt(array, value, -(index + 1)); + return true; + } + return false; +}; + + +/** + * Removes a value from a sorted array. + * @param {!IArrayLike} array The array to modify. + * @param {VALUE} value The object to remove. + * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison + * function by which the array is ordered. Should take 2 arguments to + * compare, and return a negative number, zero, or a positive number + * depending on whether the first argument is less than, equal to, or + * greater than the second. + * @return {boolean} True if an element was removed. + * @template VALUE + */ +goog.array.binaryRemove = function(array, value, opt_compareFn) { + var index = goog.array.binarySearch(array, value, opt_compareFn); + return (index >= 0) ? goog.array.removeAt(array, index) : false; +}; + + +/** + * Splits an array into disjoint buckets according to a splitting function. + * @param {Array} array The array. + * @param {function(this:S, T, number, !Array):?} sorter Function to call for + * every element. This takes 3 arguments (the element, the index and the + * array) and must return a valid object key (a string, number, etc), or + * undefined, if that object should not be placed in a bucket. + * @param {S=} opt_obj The object to be used as the value of 'this' within + * sorter. + * @return {!Object>} An object, with keys being all of the unique + * return values of sorter, and values being arrays containing the items for + * which the splitter returned that key. + * @template T,S + */ +goog.array.bucket = function(array, sorter, opt_obj) { + var buckets = {}; + + for (var i = 0; i < array.length; i++) { + var value = array[i]; + var key = sorter.call(/** @type {?} */ (opt_obj), value, i, array); + if (goog.isDef(key)) { + // Push the value to the right bucket, creating it if necessary. + var bucket = buckets[key] || (buckets[key] = []); + bucket.push(value); + } + } + + return buckets; +}; + + +/** + * Creates a new object built from the provided array and the key-generation + * function. + * @param {IArrayLike} arr Array or array like object over + * which to iterate whose elements will be the values in the new object. + * @param {?function(this:S, T, number, ?) : string} keyFunc The function to + * call for every element. This function takes 3 arguments (the element, the + * index and the array) and should return a string that will be used as the + * key for the element in the new object. If the function returns the same + * key for more than one element, the value for that key is + * implementation-defined. + * @param {S=} opt_obj The object to be used as the value of 'this' + * within keyFunc. + * @return {!Object} The new object. + * @template T,S + */ +goog.array.toObject = function(arr, keyFunc, opt_obj) { + var ret = {}; + goog.array.forEach(arr, function(element, index) { + ret[keyFunc.call(/** @type {?} */ (opt_obj), element, index, arr)] = + element; + }); + return ret; +}; + + +/** + * Creates a range of numbers in an arithmetic progression. + * + * Range takes 1, 2, or 3 arguments: + *
+ * range(5) is the same as range(0, 5, 1) and produces [0, 1, 2, 3, 4]
+ * range(2, 5) is the same as range(2, 5, 1) and produces [2, 3, 4]
+ * range(-2, -5, -1) produces [-2, -3, -4]
+ * range(-2, -5, 1) produces [], since stepping by 1 wouldn't ever reach -5.
+ * 
+ * + * @param {number} startOrEnd The starting value of the range if an end argument + * is provided. Otherwise, the start value is 0, and this is the end value. + * @param {number=} opt_end The optional end value of the range. + * @param {number=} opt_step The step size between range values. Defaults to 1 + * if opt_step is undefined or 0. + * @return {!Array} An array of numbers for the requested range. May be + * an empty array if adding the step would not converge toward the end + * value. + */ +goog.array.range = function(startOrEnd, opt_end, opt_step) { + var array = []; + var start = 0; + var end = startOrEnd; + var step = opt_step || 1; + if (opt_end !== undefined) { + start = startOrEnd; + end = opt_end; + } + + if (step * (end - start) < 0) { + // Sign mismatch: start + step will never reach the end value. + return []; + } + + if (step > 0) { + for (var i = start; i < end; i += step) { + array.push(i); + } + } else { + for (var i = start; i > end; i += step) { + array.push(i); + } + } + return array; +}; + + +/** + * Returns an array consisting of the given value repeated N times. + * + * @param {VALUE} value The value to repeat. + * @param {number} n The repeat count. + * @return {!Array} An array with the repeated value. + * @template VALUE + */ +goog.array.repeat = function(value, n) { + var array = []; + for (var i = 0; i < n; i++) { + array[i] = value; + } + return array; +}; + + +/** + * Returns an array consisting of every argument with all arrays + * expanded in-place recursively. + * + * @param {...*} var_args The values to flatten. + * @return {!Array} An array containing the flattened values. + */ +goog.array.flatten = function(var_args) { + var CHUNK_SIZE = 8192; + + var result = []; + for (var i = 0; i < arguments.length; i++) { + var element = arguments[i]; + if (goog.isArray(element)) { + for (var c = 0; c < element.length; c += CHUNK_SIZE) { + var chunk = goog.array.slice(element, c, c + CHUNK_SIZE); + var recurseResult = goog.array.flatten.apply(null, chunk); + for (var r = 0; r < recurseResult.length; r++) { + result.push(recurseResult[r]); + } + } + } else { + result.push(element); + } + } + return result; +}; + + +/** + * Rotates an array in-place. After calling this method, the element at + * index i will be the element previously at index (i - n) % + * array.length, for all values of i between 0 and array.length - 1, + * inclusive. + * + * For example, suppose list comprises [t, a, n, k, s]. After invoking + * rotate(array, 1) (or rotate(array, -4)), array will comprise [s, t, a, n, k]. + * + * @param {!Array} array The array to rotate. + * @param {number} n The amount to rotate. + * @return {!Array} The array. + * @template T + */ +goog.array.rotate = function(array, n) { + goog.asserts.assert(array.length != null); + + if (array.length) { + 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; +}; + + +/** + * Moves one item of an array to a new position keeping the order of the rest + * of the items. Example use case: keeping a list of JavaScript objects + * synchronized with the corresponding list of DOM elements after one of the + * elements has been dragged to a new position. + * @param {!IArrayLike} arr The array to modify. + * @param {number} fromIndex Index of the item to move between 0 and + * {@code arr.length - 1}. + * @param {number} toIndex Target index between 0 and {@code arr.length - 1}. + */ +goog.array.moveItem = function(arr, fromIndex, toIndex) { + goog.asserts.assert(fromIndex >= 0 && fromIndex < arr.length); + goog.asserts.assert(toIndex >= 0 && toIndex < arr.length); + // Remove 1 item at fromIndex. + var removedItems = Array.prototype.splice.call(arr, fromIndex, 1); + // Insert the removed item at toIndex. + Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]); + // We don't use goog.array.insertAt and goog.array.removeAt, because they're + // significantly slower than splice. +}; + + +/** + * Creates a new array for which the element at position i is an array of the + * ith element of the provided arrays. The returned array will only be as long + * as the shortest array provided; additional values are ignored. For example, + * the result of zipping [1, 2] and [3, 4, 5] is [[1,3], [2, 4]]. + * + * This is similar to the zip() function in Python. See {@link + * http://docs.python.org/library/functions.html#zip} + * + * @param {...!IArrayLike} var_args Arrays to be combined. + * @return {!Array>} A new array of arrays created from + * provided arrays. + */ +goog.array.zip = function(var_args) { + if (!arguments.length) { + return []; + } + var result = []; + var minLen = arguments[0].length; + for (var i = 1; i < arguments.length; i++) { + if (arguments[i].length < minLen) { + minLen = arguments[i].length; + } + } + for (var i = 0; i < minLen; i++) { + var value = []; + for (var j = 0; j < arguments.length; j++) { + value.push(arguments[j][i]); + } + result.push(value); + } + return result; +}; + + +/** + * Shuffles the values in the specified array using the Fisher-Yates in-place + * shuffle (also known as the Knuth Shuffle). By default, calls Math.random() + * and so resets the state of that random number generator. Similarly, may reset + * the state of the any other specified random number generator. + * + * Runtime: O(n) + * + * @param {!Array} arr The array to be shuffled. + * @param {function():number=} opt_randFn Optional random function to use for + * shuffling. + * Takes no arguments, and returns a random number on the interval [0, 1). + * Defaults to Math.random() using JavaScript's built-in Math library. + */ +goog.array.shuffle = function(arr, opt_randFn) { + var randFn = opt_randFn || Math.random; + + for (var i = arr.length - 1; i > 0; i--) { + // Choose a random array index in [0, i] (inclusive with i). + var j = Math.floor(randFn() * (i + 1)); + + var tmp = arr[i]; + arr[i] = arr[j]; + arr[j] = tmp; + } +}; + + +/** + * Returns a new array of elements from arr, based on the indexes of elements + * provided by index_arr. For example, the result of index copying + * ['a', 'b', 'c'] with index_arr [1,0,0,2] is ['b', 'a', 'a', 'c']. + * + * @param {!Array} arr The array to get a indexed copy from. + * @param {!Array} index_arr An array of indexes to get from arr. + * @return {!Array} A new array of elements from arr in index_arr order. + * @template T + */ +goog.array.copyByIndex = function(arr, index_arr) { + var result = []; + goog.array.forEach(index_arr, function(index) { result.push(arr[index]); }); + return result; +}; + + +/** + * Maps each element of the input array into zero or more elements of the output + * array. + * + * @param {!IArrayLike|string} arr Array or array like object + * over which to iterate. + * @param {function(this:THIS, VALUE, number, ?): !Array} f The function + * to call for every element. This function takes 3 arguments (the element, + * the index and the array) and should return an array. The result will be + * used to extend a new array. + * @param {THIS=} opt_obj The object to be used as the value of 'this' within f. + * @return {!Array} a new array with the concatenation of all arrays + * returned from f. + * @template THIS, VALUE, RESULT + */ +goog.array.concatMap = function(arr, f, opt_obj) { + return goog.array.concat.apply([], goog.array.map(arr, f, opt_obj)); +}; diff --git a/examples/resources/public/js/out/goog/asserts/asserts.js b/examples/resources/public/js/out/goog/asserts/asserts.js new file mode 100644 index 0000000..1f4b653 --- /dev/null +++ b/examples/resources/public/js/out/goog/asserts/asserts.js @@ -0,0 +1,369 @@ +// Copyright 2008 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/** + * @fileoverview Utilities to check the preconditions, postconditions and + * invariants runtime. + * + * Methods in this package should be given special treatment by the compiler + * for type-inference. For example, goog.asserts.assert(foo) + * will restrict foo to a truthy value. + * + * The compiler has an option to disable asserts. So code like: + * + * var x = goog.asserts.assert(foo()); goog.asserts.assert(bar()); + * + * will be transformed into: + * + * var x = foo(); + * + * The compiler will leave in foo() (because its return value is used), + * but it will remove bar() because it assumes it does not have side-effects. + * + * @author agrieve@google.com (Andrew Grieve) + */ + +goog.provide('goog.asserts'); +goog.provide('goog.asserts.AssertionError'); + +goog.require('goog.debug.Error'); +goog.require('goog.dom.NodeType'); +goog.require('goog.string'); + + +/** + * @define {boolean} Whether to strip out asserts or to leave them in. + */ +goog.define('goog.asserts.ENABLE_ASSERTS', goog.DEBUG); + + + +/** + * Error object for failed assertions. + * @param {string} messagePattern The pattern that was used to form message. + * @param {!Array<*>} messageArgs The items to substitute into the pattern. + * @constructor + * @extends {goog.debug.Error} + * @final + */ +goog.asserts.AssertionError = function(messagePattern, messageArgs) { + messageArgs.unshift(messagePattern); + goog.debug.Error.call(this, goog.string.subs.apply(null, messageArgs)); + // Remove the messagePattern afterwards to avoid permanently modifying the + // passed in array. + messageArgs.shift(); + + /** + * The message pattern used to format the error message. Error handlers can + * use this to uniquely identify the assertion. + * @type {string} + */ + this.messagePattern = messagePattern; +}; +goog.inherits(goog.asserts.AssertionError, goog.debug.Error); + + +/** @override */ +goog.asserts.AssertionError.prototype.name = 'AssertionError'; + + +/** + * The default error handler. + * @param {!goog.asserts.AssertionError} e The exception to be handled. + */ +goog.asserts.DEFAULT_ERROR_HANDLER = function(e) { + throw e; +}; + + +/** + * The handler responsible for throwing or logging assertion errors. + * @private {function(!goog.asserts.AssertionError)} + */ +goog.asserts.errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER; + + +/** + * Throws an exception with the given message and "Assertion failed" prefixed + * onto it. + * @param {string} defaultMessage The message to use if givenMessage is empty. + * @param {Array<*>} defaultArgs The substitution arguments for defaultMessage. + * @param {string|undefined} givenMessage Message supplied by the caller. + * @param {Array<*>} givenArgs The substitution arguments for givenMessage. + * @throws {goog.asserts.AssertionError} When the value is not a number. + * @private + */ +goog.asserts.doAssertFailure_ = function( + defaultMessage, defaultArgs, givenMessage, givenArgs) { + var message = 'Assertion failed'; + if (givenMessage) { + message += ': ' + givenMessage; + var args = givenArgs; + } else if (defaultMessage) { + message += ': ' + defaultMessage; + args = defaultArgs; + } + // The '' + works around an Opera 10 bug in the unit tests. Without it, + // a stack trace is added to var message above. With this, a stack trace is + // not added until this line (it causes the extra garbage to be added after + // the assertion message instead of in the middle of it). + var e = new goog.asserts.AssertionError('' + message, args || []); + goog.asserts.errorHandler_(e); +}; + + +/** + * Sets a custom error handler that can be used to customize the behavior of + * assertion failures, for example by turning all assertion failures into log + * messages. + * @param {function(!goog.asserts.AssertionError)} errorHandler + */ +goog.asserts.setErrorHandler = function(errorHandler) { + if (goog.asserts.ENABLE_ASSERTS) { + goog.asserts.errorHandler_ = errorHandler; + } +}; + + +/** + * Checks if the condition evaluates to true if goog.asserts.ENABLE_ASSERTS is + * true. + * @template T + * @param {T} condition The condition to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {T} The value of the condition. + * @throws {goog.asserts.AssertionError} When the condition evaluates to false. + */ +goog.asserts.assert = function(condition, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !condition) { + goog.asserts.doAssertFailure_( + '', null, opt_message, Array.prototype.slice.call(arguments, 2)); + } + return condition; +}; + + +/** + * Fails if goog.asserts.ENABLE_ASSERTS is true. This function is useful in case + * when we want to add a check in the unreachable area like switch-case + * statement: + * + *
+ *  switch(type) {
+ *    case FOO: doSomething(); break;
+ *    case BAR: doSomethingElse(); break;
+ *    default: goog.asserts.fail('Unrecognized type: ' + type);
+ *      // We have only 2 types - "default:" section is unreachable code.
+ *  }
+ * 
+ * + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @throws {goog.asserts.AssertionError} Failure. + */ +goog.asserts.fail = function(opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS) { + goog.asserts.errorHandler_( + new goog.asserts.AssertionError( + 'Failure' + (opt_message ? ': ' + opt_message : ''), + Array.prototype.slice.call(arguments, 1))); + } +}; + + +/** + * Checks if the value is a number if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {number} The value, guaranteed to be a number when asserts enabled. + * @throws {goog.asserts.AssertionError} When the value is not a number. + */ +goog.asserts.assertNumber = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !goog.isNumber(value)) { + goog.asserts.doAssertFailure_( + 'Expected number but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {number} */ (value); +}; + + +/** + * Checks if the value is a string if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {string} The value, guaranteed to be a string when asserts enabled. + * @throws {goog.asserts.AssertionError} When the value is not a string. + */ +goog.asserts.assertString = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !goog.isString(value)) { + goog.asserts.doAssertFailure_( + 'Expected string but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {string} */ (value); +}; + + +/** + * Checks if the value is a function if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {!Function} The value, guaranteed to be a function when asserts + * enabled. + * @throws {goog.asserts.AssertionError} When the value is not a function. + */ +goog.asserts.assertFunction = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !goog.isFunction(value)) { + goog.asserts.doAssertFailure_( + 'Expected function but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {!Function} */ (value); +}; + + +/** + * Checks if the value is an Object if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {!Object} The value, guaranteed to be a non-null object. + * @throws {goog.asserts.AssertionError} When the value is not an object. + */ +goog.asserts.assertObject = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !goog.isObject(value)) { + goog.asserts.doAssertFailure_( + 'Expected object but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {!Object} */ (value); +}; + + +/** + * Checks if the value is an Array if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {!Array} The value, guaranteed to be a non-null array. + * @throws {goog.asserts.AssertionError} When the value is not an array. + */ +goog.asserts.assertArray = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !goog.isArray(value)) { + goog.asserts.doAssertFailure_( + 'Expected array but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {!Array} */ (value); +}; + + +/** + * Checks if the value is a boolean if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {boolean} The value, guaranteed to be a boolean when asserts are + * enabled. + * @throws {goog.asserts.AssertionError} When the value is not a boolean. + */ +goog.asserts.assertBoolean = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !goog.isBoolean(value)) { + goog.asserts.doAssertFailure_( + 'Expected boolean but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {boolean} */ (value); +}; + + +/** + * Checks if the value is a DOM Element if goog.asserts.ENABLE_ASSERTS is true. + * @param {*} value The value to check. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @return {!Element} The value, likely to be a DOM Element when asserts are + * enabled. + * @throws {goog.asserts.AssertionError} When the value is not an Element. + */ +goog.asserts.assertElement = function(value, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && + (!goog.isObject(value) || value.nodeType != goog.dom.NodeType.ELEMENT)) { + goog.asserts.doAssertFailure_( + 'Expected Element but got %s: %s.', [goog.typeOf(value), value], + opt_message, Array.prototype.slice.call(arguments, 2)); + } + return /** @type {!Element} */ (value); +}; + + +/** + * Checks if the value is an instance of the user-defined type if + * goog.asserts.ENABLE_ASSERTS is true. + * + * The compiler may tighten the type returned by this function. + * + * @param {?} value The value to check. + * @param {function(new: T, ...)} type A user-defined constructor. + * @param {string=} opt_message Error message in case of failure. + * @param {...*} var_args The items to substitute into the failure message. + * @throws {goog.asserts.AssertionError} When the value is not an instance of + * type. + * @return {T} + * @template T + */ +goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) { + if (goog.asserts.ENABLE_ASSERTS && !(value instanceof type)) { + goog.asserts.doAssertFailure_( + 'Expected instanceof %s but got %s.', + [goog.asserts.getType_(type), goog.asserts.getType_(value)], + opt_message, Array.prototype.slice.call(arguments, 3)); + } + return value; +}; + + +/** + * Checks that no enumerable keys are present in Object.prototype. Such keys + * would break most code that use {@code for (var ... in ...)} loops. + */ +goog.asserts.assertObjectPrototypeIsIntact = function() { + for (var key in Object.prototype) { + goog.asserts.fail(key + ' should not be enumerable in Object.prototype.'); + } +}; + + +/** + * Returns the type of a value. If a constructor is passed, and a suitable + * string cannot be found, 'unknown type name' will be returned. + * @param {*} value A constructor, object, or primitive. + * @return {string} The best display name for the value, or 'unknown type name'. + * @private + */ +goog.asserts.getType_ = function(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; + } +}; diff --git a/examples/resources/public/js/out/goog/async/freelist.js b/examples/resources/public/js/out/goog/async/freelist.js new file mode 100644 index 0000000..c58ddf7 --- /dev/null +++ b/examples/resources/public/js/out/goog/async/freelist.js @@ -0,0 +1,83 @@ +// Copyright 2015 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/** + * @fileoverview Simple freelist. + * + * An anterative to goog.structs.SimplePool, it imposes the requirement that the + * objects in the list contain a "next" property that can be used to maintain + * the pool. + */ + +goog.provide('goog.async.FreeList'); + + +/** + * @template ITEM + */ +goog.async.FreeList = goog.defineClass(null, { + /** + * @param {function():ITEM} create + * @param {function(ITEM):void} reset + * @param {number} limit + */ + constructor: function(create, reset, limit) { + /** @private @const {number} */ + this.limit_ = limit; + /** @private @const {function()} */ + this.create_ = create; + /** @private @const {function(ITEM):void} */ + this.reset_ = reset; + + /** @private {number} */ + this.occupants_ = 0; + /** @private {ITEM} */ + this.head_ = null; + }, + + /** + * @return {ITEM} + */ + get: function() { + var item; + if (this.occupants_ > 0) { + this.occupants_--; + item = this.head_; + this.head_ = item.next; + item.next = null; + } else { + item = this.create_(); + } + return item; + }, + + /** + * @param {ITEM} item An item available for possible future reuse. + */ + put: function(item) { + this.reset_(item); + if (this.occupants_ < this.limit_) { + this.occupants_++; + item.next = this.head_; + this.head_ = item; + } + }, + + /** + * Visible for testing. + * @package + * @return {number} + */ + occupants: function() { return this.occupants_; } +}); diff --git a/examples/resources/public/js/out/goog/async/nexttick.js b/examples/resources/public/js/out/goog/async/nexttick.js new file mode 100644 index 0000000..67823a3 --- /dev/null +++ b/examples/resources/public/js/out/goog/async/nexttick.js @@ -0,0 +1,265 @@ +// Copyright 2013 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/** + * @fileoverview Provides a function to schedule running a function as soon + * as possible after the current JS execution stops and yields to the event + * loop. + * + */ + +goog.provide('goog.async.nextTick'); +goog.provide('goog.async.throwException'); + +goog.require('goog.debug.entryPointRegistry'); +goog.require('goog.dom.TagName'); +goog.require('goog.functions'); +goog.require('goog.labs.userAgent.browser'); +goog.require('goog.labs.userAgent.engine'); + + +/** + * Throw an item without interrupting the current execution context. For + * example, if processing a group of items in a loop, sometimes it is useful + * to report an error while still allowing the rest of the batch to be + * processed. + * @param {*} exception + */ +goog.async.throwException = function(exception) { + // Each throw needs to be in its own context. + goog.global.setTimeout(function() { throw exception; }, 0); +}; + + +/** + * Fires the provided callbacks as soon as possible after the current JS + * execution context. setTimeout(…, 0) takes at least 4ms when called from + * within another setTimeout(…, 0) for legacy reasons. + * + * This will not schedule the callback as a microtask (i.e. a task that can + * preempt user input or networking callbacks). It is meant to emulate what + * setTimeout(_, 0) would do if it were not throttled. If you desire microtask + * behavior, use {@see goog.Promise} instead. + * + * @param {function(this:SCOPE)} callback Callback function to fire as soon as + * possible. + * @param {SCOPE=} opt_context Object in whose scope to call the listener. + * @param {boolean=} opt_useSetImmediate Avoid the IE workaround that + * ensures correctness at the cost of speed. See comments for details. + * @template SCOPE + */ +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); + // Note we do allow callers to also request setImmediate if they are willing + // to accept the possible tradeoffs of incorrectness in exchange for speed. + // The IE fallback of readystate change is much slower. See useSetImmediate_ + // for details. + if (goog.isFunction(goog.global.setImmediate) && + (opt_useSetImmediate || goog.async.nextTick.useSetImmediate_())) { + goog.global.setImmediate(cb); + return; + } + + // Look for and cache the custom fallback version of setImmediate. + if (!goog.async.nextTick.setImmediate_) { + goog.async.nextTick.setImmediate_ = + goog.async.nextTick.getSetImmediateEmulator_(); + } + goog.async.nextTick.setImmediate_(cb); +}; + + +/** + * Returns whether should use setImmediate implementation currently on window. + * + * window.setImmediate was introduced and currently only supported by IE10+, + * but due to a bug in the implementation it is not guaranteed that + * setImmediate is faster than setTimeout nor that setImmediate N is before + * setImmediate N+1. That is why we do not use the native version if + * available. We do, however, call setImmediate if it is a non-native function + * because that indicates that it has been replaced by goog.testing.MockClock + * which we do want to support. + * See + * http://connect.microsoft.com/IE/feedback/details/801823/setimmediate-and-messagechannel-are-broken-in-ie10 + * + * @return {boolean} Whether to use the implementation of setImmediate defined + * on Window. + * @private + */ +goog.async.nextTick.useSetImmediate_ = function() { + // Not a browser environment. + if (!goog.global.Window || !goog.global.Window.prototype) { + return true; + } + + // MS Edge has window.setImmediate natively, but it's not on Window.prototype. + // Also, there's no clean way to detect if the goog.global.setImmediate has + // been replaced by mockClock as its replacement also shows up as "[native + // code]" when using toString. Therefore, just always use + // goog.global.setImmediate for Edge. It's unclear if it suffers the same + // issues as IE10/11, but based on + // https://dev.modern.ie/testdrive/demos/setimmediatesorting/ + // it seems they've been working to ensure it's WAI. + if (goog.labs.userAgent.browser.isEdge() || + goog.global.Window.prototype.setImmediate != goog.global.setImmediate) { + // Something redefined setImmediate in which case we decide to use it (This + // is so that we use the mockClock setImmediate). + return true; + } + + return false; +}; + + +/** + * Cache for the setImmediate implementation. + * @type {function(function())} + * @private + */ +goog.async.nextTick.setImmediate_; + + +/** + * Determines the best possible implementation to run a function as soon as + * the JS event loop is idle. + * @return {function(function())} The "setImmediate" implementation. + * @private + */ +goog.async.nextTick.getSetImmediateEmulator_ = function() { + // Create a private message channel and use it to postMessage empty messages + // to ourselves. + /** @type {!Function|undefined} */ + var Channel = goog.global['MessageChannel']; + // If MessageChannel is not available and we are in a browser, implement + // an iframe based polyfill in browsers that have postMessage and + // document.addEventListener. The latter excludes IE8 because it has a + // synchronous postMessage implementation. + if (typeof Channel === 'undefined' && typeof window !== 'undefined' && + window.postMessage && window.addEventListener && + // Presto (The old pre-blink Opera engine) has problems with iframes + // and contentWindow. + !goog.labs.userAgent.engine.isPresto()) { + /** @constructor */ + Channel = function() { + // Make an empty, invisible iframe. + var iframe = /** @type {!HTMLIFrameElement} */ ( + document.createElement(String(goog.dom.TagName.IFRAME))); + iframe.style.display = 'none'; + iframe.src = ''; + document.documentElement.appendChild(iframe); + var win = iframe.contentWindow; + var doc = win.document; + doc.open(); + doc.write(''); + doc.close(); + // Do not post anything sensitive over this channel, as the workaround for + // pages with file: origin could allow that information to be modified or + // intercepted. + var message = 'callImmediate' + Math.random(); + // The same origin policy rejects attempts to postMessage from file: urls + // unless the origin is '*'. + var origin = win.location.protocol == 'file:' ? + '*' : + win.location.protocol + '//' + win.location.host; + var onmessage = goog.bind(function(e) { + // Validate origin and message to make sure that this message was + // intended for us. If the origin is set to '*' (see above) only the + // message needs to match since, for example, '*' != 'file://'. Allowing + // the wildcard is ok, as we are not concerned with security here. + 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()) { + // Exclude all of IE due to + // http://codeforhire.com/2013/09/21/setimmediate-and-messagechannel-broken-on-internet-explorer-10/ + // which allows starving postMessage with a busy setTimeout loop. + // This currently affects IE10 and IE11 which would otherwise be able + // to use the postMessage based fallbacks. + var channel = new Channel(); + // Use a fifo linked list to call callbacks in the right order. + var head = {}; + var tail = head; + channel['port1'].onmessage = function() { + if (goog.isDef(head.next)) { + 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); + }; + } + // Implementation for IE6 to IE10: Script elements fire an asynchronous + // onreadystatechange event when inserted into the DOM. + if (typeof document !== 'undefined' && + 'onreadystatechange' in + document.createElement(String(goog.dom.TagName.SCRIPT))) { + return function(cb) { + var script = document.createElement(String(goog.dom.TagName.SCRIPT)); + script.onreadystatechange = function() { + // Clean up and call the callback. + script.onreadystatechange = null; + script.parentNode.removeChild(script); + script = null; + cb(); + cb = null; + }; + document.documentElement.appendChild(script); + }; + } + // Fall back to setTimeout with 0. In browsers this creates a delay of 5ms + // or more. + // NOTE(user): This fallback is used for IE11. + return function(cb) { + goog.global.setTimeout(/** @type {function()} */ (cb), 0); + }; +}; + + +/** + * Helper function that is overrided to protect callbacks with entry point + * monitor if the application monitors entry points. + * @param {function()} callback Callback function to fire as soon as possible. + * @return {function()} The wrapped callback. + * @private + */ +goog.async.nextTick.wrapCallback_ = goog.functions.identity; + + +// Register the callback function as an entry point, so that it can be +// monitored for exception handling, etc. This has to be done in this file +// since it requires special code to handle all browsers. +goog.debug.entryPointRegistry.register( + /** + * @param {function(!Function): !Function} transformer The transforming + * function. + */ + function(transformer) { goog.async.nextTick.wrapCallback_ = transformer; }); diff --git a/examples/resources/public/js/out/goog/async/run.js b/examples/resources/public/js/out/goog/async/run.js new file mode 100644 index 0000000..832b6fa --- /dev/null +++ b/examples/resources/public/js/out/goog/async/run.js @@ -0,0 +1,136 @@ +// Copyright 2013 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +goog.provide('goog.async.run'); + +goog.require('goog.async.WorkQueue'); +goog.require('goog.async.nextTick'); +goog.require('goog.async.throwException'); + + +/** + * Fires the provided callback just before the current callstack unwinds, or as + * soon as possible after the current JS execution context. + * @param {function(this:THIS)} callback + * @param {THIS=} opt_context Object to use as the "this value" when calling + * the provided function. + * @template THIS + */ +goog.async.run = function(callback, opt_context) { + if (!goog.async.run.schedule_) { + goog.async.run.initializeRunner_(); + } + if (!goog.async.run.workQueueScheduled_) { + // Nothing is currently scheduled, schedule it now. + goog.async.run.schedule_(); + goog.async.run.workQueueScheduled_ = true; + } + + goog.async.run.workQueue_.add(callback, opt_context); +}; + + +/** + * Initializes the function to use to process the work queue. + * @private + */ +goog.async.run.initializeRunner_ = function() { + // If native Promises are available in the browser, just schedule the callback + // on a fulfilled promise, which is specified to be async, but as fast as + // possible. Use goog.global.Promise instead of just Promise because the + // relevant externs may be missing, and don't alias it because this could + // confuse the compiler into thinking the polyfill is required when it should + // be treated as optional. + if (String(goog.global.Promise).indexOf('[native code]') != -1) { + var promise = goog.global.Promise.resolve(undefined); + goog.async.run.schedule_ = function() { + promise.then(goog.async.run.processWorkQueue); + }; + } else { + goog.async.run.schedule_ = function() { + goog.async.nextTick(goog.async.run.processWorkQueue); + }; + } +}; + + +/** + * Forces goog.async.run to use nextTick instead of Promise. + * + * This should only be done in unit tests. It's useful because MockClock + * replaces nextTick, but not the browser Promise implementation, so it allows + * Promise-based code to be tested with MockClock. + * + * However, we also want to run promises if the MockClock is no longer in + * control so we schedule a backup "setTimeout" to the unmocked timeout if + * provided. + * + * @param {function(function())=} opt_realSetTimeout + */ +goog.async.run.forceNextTick = function(opt_realSetTimeout) { + goog.async.run.schedule_ = function() { + goog.async.nextTick(goog.async.run.processWorkQueue); + if (opt_realSetTimeout) { + opt_realSetTimeout(goog.async.run.processWorkQueue); + } + }; +}; + + +/** + * The function used to schedule work asynchronousely. + * @private {function()} + */ +goog.async.run.schedule_; + + +/** @private {boolean} */ +goog.async.run.workQueueScheduled_ = false; + + +/** @private {!goog.async.WorkQueue} */ +goog.async.run.workQueue_ = new goog.async.WorkQueue(); + + +if (goog.DEBUG) { + /** + * Reset the work queue. Only available for tests in debug mode. + */ + goog.async.run.resetQueue = function() { + goog.async.run.workQueueScheduled_ = false; + goog.async.run.workQueue_ = new goog.async.WorkQueue(); + }; +} + + +/** + * Run any pending goog.async.run work items. This function is not intended + * for general use, but for use by entry point handlers to run items ahead of + * goog.async.nextTick. + */ +goog.async.run.processWorkQueue = function() { + // NOTE: additional work queue items may be added while processing. + var item = null; + while (item = goog.async.run.workQueue_.remove()) { + try { + item.fn.call(item.scope); + } catch (e) { + goog.async.throwException(e); + } + goog.async.run.workQueue_.returnUnused(item); + } + + // There are no more work items, allow processing to be scheduled again. + goog.async.run.workQueueScheduled_ = false; +}; diff --git a/examples/resources/public/js/out/goog/async/workqueue.js b/examples/resources/public/js/out/goog/async/workqueue.js new file mode 100644 index 0000000..1ff6e9e --- /dev/null +++ b/examples/resources/public/js/out/goog/async/workqueue.js @@ -0,0 +1,138 @@ +// Copyright 2015 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +goog.provide('goog.async.WorkItem'); +goog.provide('goog.async.WorkQueue'); + +goog.require('goog.asserts'); +goog.require('goog.async.FreeList'); + + +// TODO(johnlenz): generalize the WorkQueue if this is used by more +// than goog.async.run. + + + +/** + * A low GC workqueue. The key elements of this design: + * - avoids the need for goog.bind or equivalent by carrying scope + * - avoids the need for array reallocation by using a linked list + * - minimizes work entry objects allocation by recycling objects + * @constructor + * @final + * @struct + */ +goog.async.WorkQueue = function() { + this.workHead_ = null; + this.workTail_ = null; +}; + + +/** @define {number} The maximum number of entries to keep for recycling. */ +goog.define('goog.async.WorkQueue.DEFAULT_MAX_UNUSED', 100); + + +/** @const @private {goog.async.FreeList} */ +goog.async.WorkQueue.freelist_ = new goog.async.FreeList( + function() { return new goog.async.WorkItem(); }, + function(item) { item.reset(); }, goog.async.WorkQueue.DEFAULT_MAX_UNUSED); + + +/** + * @param {function()} fn + * @param {Object|null|undefined} scope + */ +goog.async.WorkQueue.prototype.add = function(fn, scope) { + var item = this.getUnusedItem_(); + item.set(fn, scope); + + if (this.workTail_) { + this.workTail_.next = item; + this.workTail_ = item; + } else { + goog.asserts.assert(!this.workHead_); + this.workHead_ = item; + this.workTail_ = item; + } +}; + + +/** + * @return {goog.async.WorkItem} + */ +goog.async.WorkQueue.prototype.remove = function() { + var item = null; + + if (this.workHead_) { + item = this.workHead_; + this.workHead_ = this.workHead_.next; + if (!this.workHead_) { + this.workTail_ = null; + } + item.next = null; + } + return item; +}; + + +/** + * @param {goog.async.WorkItem} item + */ +goog.async.WorkQueue.prototype.returnUnused = function(item) { + goog.async.WorkQueue.freelist_.put(item); +}; + + +/** + * @return {goog.async.WorkItem} + * @private + */ +goog.async.WorkQueue.prototype.getUnusedItem_ = function() { + return goog.async.WorkQueue.freelist_.get(); +}; + + + +/** + * @constructor + * @final + * @struct + */ +goog.async.WorkItem = function() { + /** @type {?function()} */ + this.fn = null; + /** @type {Object|null|undefined} */ + this.scope = null; + /** @type {?goog.async.WorkItem} */ + this.next = null; +}; + + +/** + * @param {function()} fn + * @param {Object|null|undefined} scope + */ +goog.async.WorkItem.prototype.set = function(fn, scope) { + this.fn = fn; + this.scope = scope; + this.next = null; +}; + + +/** Reset the work item so they don't prevent GC before reuse */ +goog.async.WorkItem.prototype.reset = function() { + this.fn = null; + this.scope = null; + this.next = null; +}; diff --git a/examples/resources/public/js/out/goog/base.js b/examples/resources/public/js/out/goog/base.js new file mode 100644 index 0000000..46b2f09 --- /dev/null +++ b/examples/resources/public/js/out/goog/base.js @@ -0,0 +1,2921 @@ +// Copyright 2006 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/** + * @fileoverview Bootstrap for the Google JS Library (Closure). + * + * In uncompiled mode base.js will attempt to load Closure's deps file, unless + * the global CLOSURE_NO_DEPS is set to true. This allows projects + * to include their own deps file(s) from different locations. + * + * Avoid including base.js more than once. This is strictly discouraged and not + * supported. goog.require(...) won't work properly in that case. + * + * @provideGoog + */ + + +/** + * @define {boolean} Overridden to true by the compiler. + */ +var COMPILED = false; + + +/** + * Base namespace for the Closure library. Checks to see goog is already + * defined in the current scope before assigning to prevent clobbering if + * base.js is loaded more than once. + * + * @const + */ +var goog = goog || {}; + + +/** + * Reference to the global context. In most cases this will be 'window'. + */ +goog.global = this; + + +/** + * A hook for overriding the define values in uncompiled mode. + * + * In uncompiled mode, {@code CLOSURE_UNCOMPILED_DEFINES} may be defined before + * loading base.js. If a key is defined in {@code CLOSURE_UNCOMPILED_DEFINES}, + * {@code goog.define} will use the value instead of the default value. This + * allows flags to be overwritten without compilation (this is normally + * accomplished with the compiler's "define" flag). + * + * Example: + *
+ *   var CLOSURE_UNCOMPILED_DEFINES = {'goog.DEBUG': false};
+ * 
+ * + * @type {Object|undefined} + */ +goog.global.CLOSURE_UNCOMPILED_DEFINES; + + +/** + * A hook for overriding the define values in uncompiled or compiled mode, + * like CLOSURE_UNCOMPILED_DEFINES but effective in compiled code. In + * uncompiled code CLOSURE_UNCOMPILED_DEFINES takes precedence. + * + * Also unlike CLOSURE_UNCOMPILED_DEFINES the values must be number, boolean or + * string literals or the compiler will emit an error. + * + * While any @define value may be set, only those set with goog.define will be + * effective for uncompiled code. + * + * Example: + *
+ *   var CLOSURE_DEFINES = {'goog.DEBUG': false} ;
+ * 
+ * + * @type {Object|undefined} + */ +goog.global.CLOSURE_DEFINES; + + +/** + * Returns true if the specified value is not undefined. + * + * @param {?} val Variable to test. + * @return {boolean} Whether variable is defined. + */ +goog.isDef = function(val) { + // void 0 always evaluates to undefined and hence we do not need to depend on + // the definition of the global variable named 'undefined'. + return val !== void 0; +}; + +/** + * Returns true if the specified value is a string. + * @param {?} val Variable to test. + * @return {boolean} Whether variable is a string. + */ +goog.isString = function(val) { + return typeof val == 'string'; +}; + + +/** + * Returns true if the specified value is a boolean. + * @param {?} val Variable to test. + * @return {boolean} Whether variable is boolean. + */ +goog.isBoolean = function(val) { + return typeof val == 'boolean'; +}; + + +/** + * Returns true if the specified value is a number. + * @param {?} val Variable to test. + * @return {boolean} Whether variable is a number. + */ +goog.isNumber = function(val) { + return typeof val == 'number'; +}; + + +/** + * Builds an object structure for the provided namespace path, ensuring that + * names that already exist are not overwritten. For example: + * "a.b.c" -> a = {};a.b={};a.b.c={}; + * Used by goog.provide and goog.exportSymbol. + * @param {string} name name of the object that this file defines. + * @param {*=} opt_object the object to expose at the end of the path. + * @param {Object=} opt_objectToExportTo The object to add the path to; default + * is `goog.global`. + * @private + */ +goog.exportPath_ = function(name, opt_object, opt_objectToExportTo) { + var parts = name.split('.'); + var cur = opt_objectToExportTo || goog.global; + + // Internet Explorer exhibits strange behavior when throwing errors from + // methods externed in this manner. See the testExportSymbolExceptions in + // base_test.html for an example. + if (!(parts[0] in cur) && cur.execScript) { + cur.execScript('var ' + parts[0]); + } + + for (var part; parts.length && (part = parts.shift());) { + if (!parts.length && goog.isDef(opt_object)) { + // last part and we have an object; use it + cur[part] = opt_object; + } else if (cur[part] && cur[part] !== Object.prototype[part]) { + cur = cur[part]; + } else { + cur = cur[part] = {}; + } + } +}; + + +/** + * Defines a named value. In uncompiled mode, the value is retrieved from + * CLOSURE_DEFINES or CLOSURE_UNCOMPILED_DEFINES if the object is defined and + * has the property specified, and otherwise used the defined defaultValue. + * When compiled the default can be overridden using the compiler + * options or the value set in the CLOSURE_DEFINES object. + * + * @param {string} name The distinguished name to provide. + * @param {string|number|boolean} defaultValue + */ +goog.define = function(name, defaultValue) { + var value = defaultValue; + if (!COMPILED) { + if (goog.global.CLOSURE_UNCOMPILED_DEFINES && + // Anti DOM-clobbering runtime check (b/37736576). + /** @type {?} */ (goog.global.CLOSURE_UNCOMPILED_DEFINES).nodeType === + undefined && + Object.prototype.hasOwnProperty.call( + goog.global.CLOSURE_UNCOMPILED_DEFINES, name)) { + value = goog.global.CLOSURE_UNCOMPILED_DEFINES[name]; + } else if ( + goog.global.CLOSURE_DEFINES && + // Anti DOM-clobbering runtime check (b/37736576). + /** @type {?} */ (goog.global.CLOSURE_DEFINES).nodeType === undefined && + Object.prototype.hasOwnProperty.call( + goog.global.CLOSURE_DEFINES, name)) { + value = goog.global.CLOSURE_DEFINES[name]; + } + } + goog.exportPath_(name, value); +}; + + +/** + * @define {boolean} DEBUG is provided as a convenience so that debugging code + * that should not be included in a production. It can be easily stripped + * by specifying --define goog.DEBUG=false to the Closure Compiler aka + * JSCompiler. For example, most toString() methods should be declared inside an + * "if (goog.DEBUG)" conditional because they are generally used for debugging + * purposes and it is difficult for the JSCompiler to statically determine + * whether they are used. + */ +goog.define('goog.DEBUG', true); + + +/** + * @define {string} LOCALE defines the locale being used for compilation. It is + * used to select locale specific data to be compiled in js binary. BUILD rule + * can specify this value by "--define goog.LOCALE=" as a compiler + * option. + * + * Take into account that the locale code format is important. You should use + * the canonical Unicode format with hyphen as a delimiter. Language must be + * lowercase, Language Script - Capitalized, Region - UPPERCASE. + * There are few examples: pt-BR, en, en-US, sr-Latin-BO, zh-Hans-CN. + * + * See more info about locale codes here: + * http://www.unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers + * + * For language codes you should use values defined by ISO 693-1. See it here + * http://www.w3.org/WAI/ER/IG/ert/iso639.htm. There is only one exception from + * this rule: the Hebrew language. For legacy reasons the old code (iw) should + * be used instead of the new code (he). + * + */ +goog.define('goog.LOCALE', 'en'); // default to en + + +/** + * @define {boolean} Whether this code is running on trusted sites. + * + * On untrusted sites, several native functions can be defined or overridden by + * external libraries like Prototype, Datejs, and JQuery and setting this flag + * to false forces closure to use its own implementations when possible. + * + * If your JavaScript can be loaded by a third party site and you are wary about + * relying on non-standard implementations, specify + * "--define goog.TRUSTED_SITE=false" to the compiler. + */ +goog.define('goog.TRUSTED_SITE', true); + + +/** + * @define {boolean} Whether a project is expected to be running in strict mode. + * + * This define can be used to trigger alternate implementations compatible with + * running in EcmaScript Strict mode or warn about unavailable functionality. + * @see https://goo.gl/PudQ4y + * + */ +goog.define('goog.STRICT_MODE_COMPATIBLE', false); + + +/** + * @define {boolean} Whether code that calls {@link goog.setTestOnly} should + * be disallowed in the compilation unit. + */ +goog.define('goog.DISALLOW_TEST_ONLY_CODE', COMPILED && !goog.DEBUG); + + +/** + * @define {boolean} Whether to use a Chrome app CSP-compliant method for + * loading scripts via goog.require. @see appendScriptSrcNode_. + */ +goog.define('goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING', false); + + +/** + * Defines a namespace in Closure. + * + * A namespace may only be defined once in a codebase. It may be defined using + * goog.provide() or goog.module(). + * + * The presence of one or more goog.provide() calls in a file indicates + * that the file defines the given objects/namespaces. + * Provided symbols must not be null or undefined. + * + * In addition, goog.provide() creates the object stubs for a namespace + * (for example, goog.provide("goog.foo.bar") will create the object + * goog.foo.bar if it does not already exist). + * + * Build tools also scan for provide/require/module statements + * to discern dependencies, build dependency files (see deps.js), etc. + * + * @see goog.require + * @see goog.module + * @param {string} name Namespace provided by this file in the form + * "goog.package.part". + */ +goog.provide = function(name) { + if (goog.isInModuleLoader_()) { + throw Error('goog.provide can not be used within a goog.module.'); + } + if (!COMPILED) { + // Ensure that the same namespace isn't provided twice. + // A goog.module/goog.provide maps a goog.require to a specific file + if (goog.isProvided_(name)) { + throw Error('Namespace "' + name + '" already declared.'); + } + } + + goog.constructNamespace_(name); +}; + + +/** + * @param {string} name Namespace provided by this file in the form + * "goog.package.part". + * @param {Object=} opt_obj The object to embed in the namespace. + * @private + */ +goog.constructNamespace_ = function(name, opt_obj) { + if (!COMPILED) { + delete goog.implicitNamespaces_[name]; + + var namespace = name; + while ((namespace = namespace.substring(0, namespace.lastIndexOf('.')))) { + if (goog.getObjectByName(namespace)) { + break; + } + goog.implicitNamespaces_[namespace] = true; + } + } + + goog.exportPath_(name, opt_obj); +}; + + +/** + * Module identifier validation regexp. + * Note: This is a conservative check, it is very possible to be more lenient, + * the primary exclusion here is "/" and "\" and a leading ".", these + * restrictions are intended to leave the door open for using goog.require + * with relative file paths rather than module identifiers. + * @private + */ +goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/; + + +/** + * Defines a module in Closure. + * + * Marks that this file must be loaded as a module and claims the namespace. + * + * A namespace may only be defined once in a codebase. It may be defined using + * goog.provide() or goog.module(). + * + * goog.module() has three requirements: + * - goog.module may not be used in the same file as goog.provide. + * - goog.module must be the first statement in the file. + * - only one goog.module is allowed per file. + * + * When a goog.module annotated file is loaded, it is enclosed in + * a strict function closure. This means that: + * - any variables declared in a goog.module file are private to the file + * (not global), though the compiler is expected to inline the module. + * - The code must obey all the rules of "strict" JavaScript. + * - the file will be marked as "use strict" + * + * NOTE: unlike goog.provide, goog.module does not declare any symbols by + * itself. If declared symbols are desired, use + * goog.module.declareLegacyNamespace(). + * + * + * See the public goog.module proposal: http://goo.gl/Va1hin + * + * @param {string} name Namespace provided by this file in the form + * "goog.package.part", is expected but not required. + * @return {void} + */ +goog.module = function(name) { + if (!goog.isString(name) || !name || + name.search(goog.VALID_MODULE_RE_) == -1) { + throw Error('Invalid module identifier'); + } + if (!goog.isInModuleLoader_()) { + throw 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 Error('goog.module may only be called once per module.'); + } + + // Store the module name for the loader. + goog.moduleLoaderState_.moduleName = name; + if (!COMPILED) { + // Ensure that the same namespace isn't provided twice. + // A goog.module/goog.provide maps a goog.require to a specific file + if (goog.isProvided_(name)) { + throw Error('Namespace "' + name + '" already declared.'); + } + delete goog.implicitNamespaces_[name]; + } +}; + + +/** + * @param {string} name The module identifier. + * @return {?} The module exports for an already loaded module or null. + * + * Note: This is not an alternative to goog.require, it does not + * indicate a hard dependency, instead it is used to indicate + * an optional dependency or to access the exports of a module + * that has already been loaded. + * @suppress {missingProvide} + */ +goog.module.get = function(name) { + return goog.module.getInternal_(name); +}; + + +/** + * @param {string} name The module identifier. + * @return {?} The module exports for an already loaded module or null. + * @private + */ +goog.module.getInternal_ = function(name) { + if (!COMPILED) { + if (name in goog.loadedModules_) { + return goog.loadedModules_[name]; + } else if (!goog.implicitNamespaces_[name]) { + var ns = goog.getObjectByName(name); + return ns != null ? ns : null; + } + } + return null; +}; + + +/** + * @private {?{moduleName: (string|undefined), declareLegacyNamespace:boolean}} + */ +goog.moduleLoaderState_ = null; + + +/** + * @private + * @return {boolean} Whether a goog.module is currently being initialized. + */ +goog.isInModuleLoader_ = function() { + return goog.moduleLoaderState_ != null; +}; + + +/** + * Provide the module's exports as a globally accessible object under the + * module's declared name. This is intended to ease migration to goog.module + * for files that have existing usages. + * @suppress {missingProvide} + */ +goog.module.declareLegacyNamespace = function() { + if (!COMPILED && !goog.isInModuleLoader_()) { + throw new Error( + 'goog.module.declareLegacyNamespace must be called from ' + + 'within a goog.module'); + } + if (!COMPILED && !goog.moduleLoaderState_.moduleName) { + throw Error( + 'goog.module must be called prior to ' + + 'goog.module.declareLegacyNamespace.'); + } + goog.moduleLoaderState_.declareLegacyNamespace = true; +}; + + +/** + * Marks that the current file should only be used for testing, and never for + * live code in production. + * + * In the case of unit tests, the message may optionally be an exact namespace + * for the test (e.g. 'goog.stringTest'). The linter will then ignore the extra + * provide (if not explicitly defined in the code). + * + * @param {string=} opt_message Optional message to add to the error that's + * raised when used in production code. + */ +goog.setTestOnly = function(opt_message) { + if (goog.DISALLOW_TEST_ONLY_CODE) { + opt_message = opt_message || ''; + throw Error( + 'Importing test-only code into non-debug environment' + + (opt_message ? ': ' + opt_message : '.')); + } +}; + + +/** + * Forward declares a symbol. This is an indication to the compiler that the + * symbol may be used in the source yet is not required and may not be provided + * in compilation. + * + * The most common usage of forward declaration is code that takes a type as a + * function parameter but does not need to require it. By forward declaring + * instead of requiring, no hard dependency is made, and (if not required + * elsewhere) the namespace may never be required and thus, not be pulled + * into the JavaScript binary. If it is required elsewhere, it will be type + * checked as normal. + * + * Before using goog.forwardDeclare, please read the documentation at + * https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation to + * understand the options and tradeoffs when working with forward declarations. + * + * @param {string} name The namespace to forward declare in the form of + * "goog.package.part". + */ +goog.forwardDeclare = function(name) {}; + + +/** + * Forward declare type information. Used to assign types to goog.global + * referenced object that would otherwise result in unknown type references + * and thus block property disambiguation. + */ +goog.forwardDeclare('Document'); +goog.forwardDeclare('HTMLScriptElement'); +goog.forwardDeclare('XMLHttpRequest'); + + +if (!COMPILED) { + /** + * Check if the given name has been goog.provided. This will return false for + * names that are available only as implicit namespaces. + * @param {string} name name of the object to look for. + * @return {boolean} Whether the name has been provided. + * @private + */ + goog.isProvided_ = function(name) { + return (name in goog.loadedModules_) || + (!goog.implicitNamespaces_[name] && + goog.isDefAndNotNull(goog.getObjectByName(name))); + }; + + /** + * Namespaces implicitly defined by goog.provide. For example, + * goog.provide('goog.events.Event') implicitly declares that 'goog' and + * 'goog.events' must be namespaces. + * + * @type {!Object} + * @private + */ + goog.implicitNamespaces_ = {'goog.module': true}; + + // NOTE: We add goog.module as an implicit namespace as goog.module is defined + // here and because the existing module package has not been moved yet out of + // the goog.module namespace. This satisifies both the debug loader and + // ahead-of-time dependency management. +} + + +/** + * Returns an object based on its fully qualified external name. The object + * is not found if null or undefined. If you are using a compilation pass that + * renames property names beware that using this function will not find renamed + * properties. + * + * @param {string} name The fully qualified name. + * @param {Object=} opt_obj The object within which to look; default is + * |goog.global|. + * @return {?} The value (object or primitive) or, if not found, null. + */ +goog.getObjectByName = function(name, opt_obj) { + var parts = name.split('.'); + var cur = opt_obj || goog.global; + for (var part; part = parts.shift();) { + if (goog.isDefAndNotNull(cur[part])) { + cur = cur[part]; + } else { + return null; + } + } + return cur; +}; + + +/** + * Globalizes a whole namespace, such as goog or goog.lang. + * + * @param {!Object} obj The namespace to globalize. + * @param {Object=} opt_global The object to add the properties to. + * @deprecated Properties may be explicitly exported to the global scope, but + * this should no longer be done in bulk. + */ +goog.globalize = function(obj, opt_global) { + var global = opt_global || goog.global; + for (var x in obj) { + global[x] = obj[x]; + } +}; + + +/** + * Adds a dependency from a file to the files it requires. + * @param {string} relPath The path to the js file. + * @param {!Array} provides An array of strings with + * the names of the objects this file provides. + * @param {!Array} requires An array of strings with + * the names of the objects this file requires. + * @param {boolean|!Object=} opt_loadFlags Parameters indicating + * how the file must be loaded. The boolean 'true' is equivalent + * to {'module': 'goog'} for backwards-compatibility. Valid properties + * and values include {'module': 'goog'} and {'lang': 'es6'}. + */ +goog.addDependency = function(relPath, provides, requires, opt_loadFlags) { + if (goog.DEPENDENCIES_ENABLED) { + var provide, require; + var path = relPath.replace(/\\/g, '/'); + var deps = goog.dependencies_; + if (!opt_loadFlags || typeof opt_loadFlags === 'boolean') { + opt_loadFlags = opt_loadFlags ? {'module': 'goog'} : {}; + } + for (var i = 0; provide = provides[i]; i++) { + deps.nameToPath[provide] = path; + deps.loadFlags[path] = opt_loadFlags; + } + for (var j = 0; require = requires[j]; j++) { + if (!(path in deps.requires)) { + deps.requires[path] = {}; + } + deps.requires[path][require] = true; + } + } +}; + + + + +// NOTE(nnaze): The debug DOM loader was included in base.js as an original way +// to do "debug-mode" development. The dependency system can sometimes be +// confusing, as can the debug DOM loader's asynchronous nature. +// +// With the DOM loader, a call to goog.require() is not blocking -- the script +// will not load until some point after the current script. If a namespace is +// needed at runtime, it needs to be defined in a previous script, or loaded via +// require() with its registered dependencies. +// +// User-defined namespaces may need their own deps file. For a reference on +// creating a deps file, see: +// Externally: https://developers.google.com/closure/library/docs/depswriter +// +// Because of legacy clients, the DOM loader can't be easily removed from +// base.js. Work was done to make it disableable or replaceable for +// different environments (DOM-less JavaScript interpreters like Rhino or V8, +// for example). See bootstrap/ for more information. + + +/** + * @define {boolean} Whether to enable the debug loader. + * + * If enabled, a call to goog.require() will attempt to load the namespace by + * appending a script tag to the DOM (if the namespace has been registered). + * + * If disabled, goog.require() will simply assert that the namespace has been + * provided (and depend on the fact that some outside tool correctly ordered + * the script). + */ +goog.define('goog.ENABLE_DEBUG_LOADER', true); + + +/** + * @param {string} msg + * @private + */ +goog.logToConsole_ = function(msg) { + if (goog.global.console) { + goog.global.console['error'](msg); + } +}; + + +/** + * Implements a system for the dynamic resolution of dependencies that works in + * parallel with the BUILD system. Note that all calls to goog.require will be + * stripped by the compiler. + * @see goog.provide + * @param {string} name Namespace to include (as was given in goog.provide()) in + * the form "goog.package.part". + * @return {?} If called within a goog.module file, the associated namespace or + * module otherwise null. + */ +goog.require = function(name) { + // If the object already exists we do not need to do anything. + if (!COMPILED) { + if (goog.ENABLE_DEBUG_LOADER && goog.IS_OLD_IE_) { + goog.maybeProcessDeferredDep_(name); + } + + if (goog.isProvided_(name)) { + if (goog.isInModuleLoader_()) { + return goog.module.getInternal_(name); + } + } else if (goog.ENABLE_DEBUG_LOADER) { + var path = goog.getPathFromDeps_(name); + if (path) { + goog.writeScripts_(path); + } else { + var errorMessage = 'goog.require could not find: ' + name; + goog.logToConsole_(errorMessage); + + throw Error(errorMessage); + } + } + + return null; + } +}; + + +/** + * Path for included scripts. + * @type {string} + */ +goog.basePath = ''; + + +/** + * A hook for overriding the base path. + * @type {string|undefined} + */ +goog.global.CLOSURE_BASE_PATH; + + +/** + * Whether to attempt to load Closure's deps file. By default, when uncompiled, + * deps files will attempt to be loaded. + * @type {boolean|undefined} + */ +goog.global.CLOSURE_NO_DEPS; + + +/** + * A function to import a single script. This is meant to be overridden when + * Closure is being run in non-HTML contexts, such as web workers. It's defined + * in the global scope so that it can be set before base.js is loaded, which + * allows deps.js to be imported properly. + * + * The function is passed the script source, which is a relative URI. It should + * return true if the script was imported, false otherwise. + * @type {(function(string): boolean)|undefined} + */ +goog.global.CLOSURE_IMPORT_SCRIPT; + + +/** + * Null function used for default values of callbacks, etc. + * @return {void} Nothing. + */ +goog.nullFunction = function() {}; + + +/** + * When defining a class Foo with an abstract method bar(), you can do: + * Foo.prototype.bar = goog.abstractMethod + * + * Now if a subclass of Foo fails to override bar(), an error will be thrown + * when bar() is invoked. + * + * @type {!Function} + * @throws {Error} when invoked to indicate the method should be overridden. + */ +goog.abstractMethod = function() { + throw Error('unimplemented abstract method'); +}; + + +/** + * Adds a {@code getInstance} static method that always returns the same + * instance object. + * @param {!Function} ctor The constructor for the class to add the static + * method to. + */ +goog.addSingletonGetter = function(ctor) { + // instance_ is immediately set to prevent issues with sealed constructors + // such as are encountered when a constructor is returned as the export object + // of a goog.module in unoptimized code. + ctor.instance_ = undefined; + ctor.getInstance = function() { + if (ctor.instance_) { + return ctor.instance_; + } + if (goog.DEBUG) { + // NOTE: JSCompiler can't optimize away Array#push. + goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = ctor; + } + return ctor.instance_ = new ctor; + }; +}; + + +/** + * All singleton classes that have been instantiated, for testing. Don't read + * it directly, use the {@code goog.testing.singleton} module. The compiler + * removes this variable if unused. + * @type {!Array} + * @private + */ +goog.instantiatedSingletons_ = []; + + +/** + * @define {boolean} Whether to load goog.modules using {@code eval} when using + * the debug loader. This provides a better debugging experience as the + * source is unmodified and can be edited using Chrome Workspaces or similar. + * However in some environments the use of {@code eval} is banned + * so we provide an alternative. + */ +goog.define('goog.LOAD_MODULE_USING_EVAL', true); + + +/** + * @define {boolean} Whether the exports of goog.modules should be sealed when + * possible. + */ +goog.define('goog.SEAL_MODULE_EXPORTS', goog.DEBUG); + + +/** + * The registry of initialized modules: + * the module identifier to module exports map. + * @private @const {!Object} + */ +goog.loadedModules_ = {}; + + +/** + * True if goog.dependencies_ is available. + * @const {boolean} + */ +goog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER; + + +/** + * @define {string} How to decide whether to transpile. Valid values + * are 'always', 'never', and 'detect'. The default ('detect') is to + * use feature detection to determine which language levels need + * transpilation. + */ +// NOTE(user): we could expand this to accept a language level to bypass +// detection: e.g. goog.TRANSPILE == 'es5' would transpile ES6 files but +// would leave ES3 and ES5 files alone. +goog.define('goog.TRANSPILE', 'detect'); + + +/** + * @define {string} Path to the transpiler. Executing the script at this + * path (relative to base.js) should define a function $jscomp.transpile. + */ +goog.define('goog.TRANSPILER', 'transpile.js'); + + +if (goog.DEPENDENCIES_ENABLED) { + /** + * This object is used to keep track of dependencies and other data that is + * used for loading scripts. + * @private + * @type {{ + * loadFlags: !Object>, + * nameToPath: !Object, + * requires: !Object>, + * visited: !Object, + * written: !Object, + * deferred: !Object + * }} + */ + goog.dependencies_ = { + loadFlags: {}, // 1 to 1 + + nameToPath: {}, // 1 to 1 + + requires: {}, // 1 to many + + // Used when resolving dependencies to prevent us from visiting file twice. + visited: {}, + + written: {}, // Used to keep track of script files we have written. + + deferred: {} // Used to track deferred module evaluations in old IEs + }; + + + /** + * Tries to detect whether is in the context of an HTML document. + * @return {boolean} True if it looks like HTML document. + * @private + */ + goog.inHtmlDocument_ = function() { + /** @type {Document} */ + var doc = goog.global.document; + return doc != null && 'write' in doc; // XULDocument misses write. + }; + + + /** + * Tries to detect the base path of base.js script that bootstraps Closure. + * @private + */ + goog.findBasePath_ = function() { + if (goog.isDef(goog.global.CLOSURE_BASE_PATH) && + // Anti DOM-clobbering runtime check (b/37736576). + goog.isString(goog.global.CLOSURE_BASE_PATH)) { + goog.basePath = goog.global.CLOSURE_BASE_PATH; + return; + } else if (!goog.inHtmlDocument_()) { + return; + } + /** @type {Document} */ + var doc = goog.global.document; + // If we have a currentScript available, use it exclusively. + var currentScript = doc.currentScript; + if (currentScript) { + var scripts = [currentScript]; + } else { + var scripts = doc.getElementsByTagName('SCRIPT'); + } + // Search backwards since the current script is in almost all cases the one + // that has base.js. + for (var i = scripts.length - 1; i >= 0; --i) { + var script = /** @type {!HTMLScriptElement} */ (scripts[i]); + var src = script.src; + var qmark = src.lastIndexOf('?'); + var l = qmark == -1 ? src.length : qmark; + if (src.substr(l - 7, 7) == 'base.js') { + goog.basePath = src.substr(0, l - 7); + return; + } + } + }; + + + /** + * Imports a script if, and only if, that script hasn't already been imported. + * (Must be called at execution time) + * @param {string} src Script source. + * @param {string=} opt_sourceText The optionally source text to evaluate + * @private + */ + goog.importScript_ = function(src, opt_sourceText) { + var importScript = + goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_; + if (importScript(src, opt_sourceText)) { + goog.dependencies_.written[src] = true; + } + }; + + + /** + * Whether the browser is IE9 or earlier, which needs special handling + * for deferred modules. + * @const @private {boolean} + */ + goog.IS_OLD_IE_ = + !!(!goog.global.atob && goog.global.document && goog.global.document.all); + + + /** + * Whether IE9 or earlier is waiting on a dependency. This ensures that + * deferred modules that have no non-deferred dependencies actually get + * loaded, since if we defer them and then never pull in a non-deferred + * script, then `goog.loadQueuedModules_` will never be called. Instead, + * if not waiting on anything we simply don't defer in the first place. + * @private {boolean} + */ + goog.oldIeWaiting_ = false; + + + /** + * Given a URL initiate retrieval and execution of a script that needs + * pre-processing. + * @param {string} src Script source URL. + * @param {boolean} isModule Whether this is a goog.module. + * @param {boolean} needsTranspile Whether this source needs transpilation. + * @private + */ + goog.importProcessedScript_ = function(src, isModule, needsTranspile) { + // In an attempt to keep browsers from timing out loading scripts using + // synchronous XHRs, put each load in its own script block. + var bootstrap = 'goog.retrieveAndExec_("' + src + '", ' + isModule + ', ' + + needsTranspile + ');'; + + goog.importScript_('', bootstrap); + }; + + + /** @private {!Array} */ + goog.queuedModules_ = []; + + + /** + * Return an appropriate module text. Suitable to insert into + * a script tag (that is unescaped). + * @param {string} srcUrl + * @param {string} scriptText + * @return {string} + * @private + */ + goog.wrapModule_ = function(srcUrl, scriptText) { + if (!goog.LOAD_MODULE_USING_EVAL || !goog.isDef(goog.global.JSON)) { + return '' + + 'goog.loadModule(function(exports) {' + + '"use strict";' + scriptText + + '\n' + // terminate any trailing single line comment. + ';return exports' + + '});' + + '\n//# sourceURL=' + srcUrl + '\n'; + } else { + return '' + + 'goog.loadModule(' + + goog.global.JSON.stringify( + scriptText + '\n//# sourceURL=' + srcUrl + '\n') + + ');'; + } + }; + + // On IE9 and earlier, it is necessary to handle + // deferred module loads. In later browsers, the + // code to be evaluated is simply inserted as a script + // block in the correct order. To eval deferred + // code at the right time, we piggy back on goog.require to call + // goog.maybeProcessDeferredDep_. + // + // The goog.requires are used both to bootstrap + // the loading process (when no deps are available) and + // declare that they should be available. + // + // Here we eval the sources, if all the deps are available + // either already eval'd or goog.require'd. This will + // be the case when all the dependencies have already + // been loaded, and the dependent module is loaded. + // + // But this alone isn't sufficient because it is also + // necessary to handle the case where there is no root + // that is not deferred. For that there we register for an event + // and trigger goog.loadQueuedModules_ handle any remaining deferred + // evaluations. + + /** + * Handle any remaining deferred goog.module evals. + * @private + */ + goog.loadQueuedModules_ = function() { + var count = goog.queuedModules_.length; + if (count > 0) { + var queue = goog.queuedModules_; + goog.queuedModules_ = []; + for (var i = 0; i < count; i++) { + var path = queue[i]; + goog.maybeProcessDeferredPath_(path); + } + } + goog.oldIeWaiting_ = false; + }; + + + /** + * Eval the named module if its dependencies are + * available. + * @param {string} name The module to load. + * @private + */ + goog.maybeProcessDeferredDep_ = function(name) { + if (goog.isDeferredModule_(name) && goog.allDepsAreAvailable_(name)) { + var path = goog.getPathFromDeps_(name); + goog.maybeProcessDeferredPath_(goog.basePath + path); + } + }; + + /** + * @param {string} name The module to check. + * @return {boolean} Whether the name represents a + * module whose evaluation has been deferred. + * @private + */ + goog.isDeferredModule_ = function(name) { + var path = goog.getPathFromDeps_(name); + var loadFlags = path && goog.dependencies_.loadFlags[path] || {}; + var languageLevel = loadFlags['lang'] || 'es3'; + if (path && (loadFlags['module'] == 'goog' || + goog.needsTranspile_(languageLevel))) { + var abspath = goog.basePath + path; + return (abspath) in goog.dependencies_.deferred; + } + return false; + }; + + /** + * @param {string} name The module to check. + * @return {boolean} Whether the name represents a + * module whose declared dependencies have all been loaded + * (eval'd or a deferred module load) + * @private + */ + goog.allDepsAreAvailable_ = function(name) { + var path = goog.getPathFromDeps_(name); + if (path && (path in goog.dependencies_.requires)) { + for (var requireName in goog.dependencies_.requires[path]) { + if (!goog.isProvided_(requireName) && + !goog.isDeferredModule_(requireName)) { + return false; + } + } + } + return true; + }; + + + /** + * @param {string} abspath + * @private + */ + goog.maybeProcessDeferredPath_ = function(abspath) { + if (abspath in goog.dependencies_.deferred) { + var src = goog.dependencies_.deferred[abspath]; + delete goog.dependencies_.deferred[abspath]; + goog.globalEval(src); + } + }; + + + /** + * Load a goog.module from the provided URL. This is not a general purpose + * code loader and does not support late loading code, that is it should only + * be used during page load. This method exists to support unit tests and + * "debug" loaders that would otherwise have inserted script tags. Under the + * hood this needs to use a synchronous XHR and is not recommeneded for + * production code. + * + * The module's goog.requires must have already been satisified; an exception + * will be thrown if this is not the case. This assumption is that no + * "deps.js" file exists, so there is no way to discover and locate the + * module-to-be-loaded's dependencies and no attempt is made to do so. + * + * There should only be one attempt to load a module. If + * "goog.loadModuleFromUrl" is called for an already loaded module, an + * exception will be throw. + * + * @param {string} url The URL from which to attempt to load the goog.module. + */ + goog.loadModuleFromUrl = function(url) { + // Because this executes synchronously, we don't need to do any additional + // bookkeeping. When "goog.loadModule" the namespace will be marked as + // having been provided which is sufficient. + goog.retrieveAndExec_(url, true, false); + }; + + + /** + * Writes a new script pointing to {@code src} directly into the DOM. + * + * NOTE: This method is not CSP-compliant. @see goog.appendScriptSrcNode_ for + * the fallback mechanism. + * + * @param {string} src The script URL. + * @private + */ + goog.writeScriptSrcNode_ = function(src) { + goog.global.document.write( + '