From 5ed62d23b4bbbf7717de4adfa0eaf2af19365408 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 12 Nov 2018 16:18:45 -0500 Subject: add viz 2 post --- assets/viz/2/cljs/core.cljs | 10762 ++++++ assets/viz/2/cljs/core.js | 35801 +++++++++++++++++++ assets/viz/2/cljs/core.js.map | 1 + assets/viz/2/cljs/core/constants.js | 368 + assets/viz/2/cljs_deps.js | 18 + assets/viz/2/clojure/set.cljs | 161 + assets/viz/2/clojure/set.cljs.cache.edn | 1 + assets/viz/2/clojure/set.js | 400 + assets/viz/2/clojure/set.js.map | 1 + assets/viz/2/clojure/string.cljs | 258 + assets/viz/2/clojure/string.cljs.cache.edn | 1 + assets/viz/2/clojure/string.js | 505 + assets/viz/2/clojure/string.js.map | 1 + assets/viz/2/goog/array/array.js | 1665 + assets/viz/2/goog/asserts/asserts.js | 369 + assets/viz/2/goog/base.js | 2727 ++ assets/viz/2/goog/debug/entrypointregistry.js | 159 + assets/viz/2/goog/debug/error.js | 63 + assets/viz/2/goog/deps.js | 1508 + assets/viz/2/goog/disposable/disposable.js | 308 + assets/viz/2/goog/disposable/idisposable.js | 45 + assets/viz/2/goog/dom/browserfeature.js | 73 + assets/viz/2/goog/dom/dom.js | 2992 ++ assets/viz/2/goog/dom/nodetype.js | 48 + assets/viz/2/goog/dom/safe.js | 372 + assets/viz/2/goog/dom/tagname.js | 160 + assets/viz/2/goog/dom/tags.js | 41 + assets/viz/2/goog/events/browserevent.js | 402 + assets/viz/2/goog/events/browserfeature.js | 84 + assets/viz/2/goog/events/event.js | 145 + assets/viz/2/goog/events/eventid.js | 46 + assets/viz/2/goog/events/events.js | 989 + assets/viz/2/goog/events/eventtype.js | 239 + assets/viz/2/goog/events/listenable.js | 338 + assets/viz/2/goog/events/listener.js | 131 + assets/viz/2/goog/events/listenermap.js | 306 + assets/viz/2/goog/fs/url.js | 110 + assets/viz/2/goog/html/safehtml.js | 948 + assets/viz/2/goog/html/safescript.js | 234 + assets/viz/2/goog/html/safestyle.js | 449 + assets/viz/2/goog/html/safestylesheet.js | 278 + assets/viz/2/goog/html/safeurl.js | 412 + assets/viz/2/goog/html/trustedresourceurl.js | 244 + assets/viz/2/goog/html/uncheckedconversions.js | 232 + assets/viz/2/goog/i18n/bidi.js | 876 + assets/viz/2/goog/labs/useragent/browser.js | 338 + assets/viz/2/goog/labs/useragent/engine.js | 156 + assets/viz/2/goog/labs/useragent/platform.js | 160 + assets/viz/2/goog/labs/useragent/util.js | 147 + assets/viz/2/goog/math/coordinate.js | 268 + assets/viz/2/goog/math/integer.js | 807 + assets/viz/2/goog/math/long.js | 843 + assets/viz/2/goog/math/math.js | 447 + assets/viz/2/goog/math/size.js | 227 + assets/viz/2/goog/object/object.js | 705 + assets/viz/2/goog/reflect/reflect.js | 138 + assets/viz/2/goog/string/const.js | 182 + assets/viz/2/goog/string/string.js | 1631 + assets/viz/2/goog/string/stringbuffer.js | 103 + assets/viz/2/goog/string/stringformat.js | 221 + assets/viz/2/goog/string/typedstring.js | 48 + assets/viz/2/goog/useragent/useragent.js | 568 + assets/viz/2/processing.js | 21796 +++++++++++ assets/viz/2/quil/core.cljc | 4993 +++ assets/viz/2/quil/core.cljc.cache.edn | 1 + assets/viz/2/quil/core.js | 6643 ++++ assets/viz/2/quil/core.js.map | 1 + assets/viz/2/quil/middleware.cljc | 144 + assets/viz/2/quil/middleware.cljc.cache.edn | 1 + assets/viz/2/quil/middleware.js | 118 + assets/viz/2/quil/middleware.js.map | 1 + .../viz/2/quil/middlewares/deprecated_options.cljc | 26 + .../middlewares/deprecated_options.cljc.cache.edn | 1 + .../viz/2/quil/middlewares/deprecated_options.js | 95 + .../2/quil/middlewares/deprecated_options.js.map | 1 + assets/viz/2/quil/middlewares/fun_mode.cljc | 78 + .../viz/2/quil/middlewares/fun_mode.cljc.cache.edn | 1 + assets/viz/2/quil/middlewares/fun_mode.js | 155 + assets/viz/2/quil/middlewares/fun_mode.js.map | 1 + assets/viz/2/quil/middlewares/navigation_2d.cljc | 89 + .../quil/middlewares/navigation_2d.cljc.cache.edn | 1 + assets/viz/2/quil/middlewares/navigation_2d.js | 116 + assets/viz/2/quil/middlewares/navigation_2d.js.map | 1 + assets/viz/2/quil/middlewares/navigation_3d.cljc | 188 + .../quil/middlewares/navigation_3d.cljc.cache.edn | 1 + assets/viz/2/quil/middlewares/navigation_3d.js | 261 + assets/viz/2/quil/middlewares/navigation_3d.js.map | 1 + assets/viz/2/quil/sketch.cljs | 128 + assets/viz/2/quil/sketch.cljs.cache.edn | 1 + assets/viz/2/quil/sketch.js | 348 + assets/viz/2/quil/sketch.js.map | 1 + assets/viz/2/quil/util.cljc | 109 + assets/viz/2/quil/util.cljc.cache.edn | 1 + assets/viz/2/quil/util.js | 183 + assets/viz/2/quil/util.js.map | 1 + assets/viz/2/viz/core.cljs | 346 + assets/viz/2/viz/core.cljs.cache.edn | 1 + assets/viz/2/viz/core.js | 771 + assets/viz/2/viz/core.js.map | 1 + assets/viz/2/viz/dial.cljs | 42 + assets/viz/2/viz/dial.cljs.cache.edn | 1 + assets/viz/2/viz/dial.js | 44 + assets/viz/2/viz/dial.js.map | 1 + assets/viz/2/viz/forest.cljs | 107 + assets/viz/2/viz/forest.cljs.cache.edn | 1 + assets/viz/2/viz/forest.js | 109 + assets/viz/2/viz/forest.js.map | 1 + assets/viz/2/viz/ghost.cljs | 51 + assets/viz/2/viz/ghost.cljs.cache.edn | 1 + assets/viz/2/viz/ghost.js | 69 + assets/viz/2/viz/ghost.js.map | 1 + assets/viz/2/viz/grid.cljs | 63 + assets/viz/2/viz/grid.cljs.cache.edn | 1 + assets/viz/2/viz/grid.js | 27 + assets/viz/2/viz/grid.js.map | 1 + 115 files changed, 109385 insertions(+) create mode 100644 assets/viz/2/cljs/core.cljs create mode 100644 assets/viz/2/cljs/core.js create mode 100644 assets/viz/2/cljs/core.js.map create mode 100644 assets/viz/2/cljs/core/constants.js create mode 100644 assets/viz/2/cljs_deps.js create mode 100644 assets/viz/2/clojure/set.cljs create mode 100644 assets/viz/2/clojure/set.cljs.cache.edn create mode 100644 assets/viz/2/clojure/set.js create mode 100644 assets/viz/2/clojure/set.js.map create mode 100644 assets/viz/2/clojure/string.cljs create mode 100644 assets/viz/2/clojure/string.cljs.cache.edn create mode 100644 assets/viz/2/clojure/string.js create mode 100644 assets/viz/2/clojure/string.js.map create mode 100644 assets/viz/2/goog/array/array.js create mode 100644 assets/viz/2/goog/asserts/asserts.js create mode 100644 assets/viz/2/goog/base.js create mode 100644 assets/viz/2/goog/debug/entrypointregistry.js create mode 100644 assets/viz/2/goog/debug/error.js create mode 100644 assets/viz/2/goog/deps.js create mode 100644 assets/viz/2/goog/disposable/disposable.js create mode 100644 assets/viz/2/goog/disposable/idisposable.js create mode 100644 assets/viz/2/goog/dom/browserfeature.js create mode 100644 assets/viz/2/goog/dom/dom.js create mode 100644 assets/viz/2/goog/dom/nodetype.js create mode 100644 assets/viz/2/goog/dom/safe.js create mode 100644 assets/viz/2/goog/dom/tagname.js create mode 100644 assets/viz/2/goog/dom/tags.js create mode 100644 assets/viz/2/goog/events/browserevent.js create mode 100644 assets/viz/2/goog/events/browserfeature.js create mode 100644 assets/viz/2/goog/events/event.js create mode 100644 assets/viz/2/goog/events/eventid.js create mode 100644 assets/viz/2/goog/events/events.js create mode 100644 assets/viz/2/goog/events/eventtype.js create mode 100644 assets/viz/2/goog/events/listenable.js create mode 100644 assets/viz/2/goog/events/listener.js create mode 100644 assets/viz/2/goog/events/listenermap.js create mode 100644 assets/viz/2/goog/fs/url.js create mode 100644 assets/viz/2/goog/html/safehtml.js create mode 100644 assets/viz/2/goog/html/safescript.js create mode 100644 assets/viz/2/goog/html/safestyle.js create mode 100644 assets/viz/2/goog/html/safestylesheet.js create mode 100644 assets/viz/2/goog/html/safeurl.js create mode 100644 assets/viz/2/goog/html/trustedresourceurl.js create mode 100644 assets/viz/2/goog/html/uncheckedconversions.js create mode 100644 assets/viz/2/goog/i18n/bidi.js create mode 100644 assets/viz/2/goog/labs/useragent/browser.js create mode 100644 assets/viz/2/goog/labs/useragent/engine.js create mode 100644 assets/viz/2/goog/labs/useragent/platform.js create mode 100644 assets/viz/2/goog/labs/useragent/util.js create mode 100644 assets/viz/2/goog/math/coordinate.js create mode 100644 assets/viz/2/goog/math/integer.js create mode 100644 assets/viz/2/goog/math/long.js create mode 100644 assets/viz/2/goog/math/math.js create mode 100644 assets/viz/2/goog/math/size.js create mode 100644 assets/viz/2/goog/object/object.js create mode 100644 assets/viz/2/goog/reflect/reflect.js create mode 100644 assets/viz/2/goog/string/const.js create mode 100644 assets/viz/2/goog/string/string.js create mode 100644 assets/viz/2/goog/string/stringbuffer.js create mode 100644 assets/viz/2/goog/string/stringformat.js create mode 100644 assets/viz/2/goog/string/typedstring.js create mode 100644 assets/viz/2/goog/useragent/useragent.js create mode 100644 assets/viz/2/processing.js create mode 100644 assets/viz/2/quil/core.cljc create mode 100644 assets/viz/2/quil/core.cljc.cache.edn create mode 100644 assets/viz/2/quil/core.js create mode 100644 assets/viz/2/quil/core.js.map create mode 100644 assets/viz/2/quil/middleware.cljc create mode 100644 assets/viz/2/quil/middleware.cljc.cache.edn create mode 100644 assets/viz/2/quil/middleware.js create mode 100644 assets/viz/2/quil/middleware.js.map create mode 100644 assets/viz/2/quil/middlewares/deprecated_options.cljc create mode 100644 assets/viz/2/quil/middlewares/deprecated_options.cljc.cache.edn create mode 100644 assets/viz/2/quil/middlewares/deprecated_options.js create mode 100644 assets/viz/2/quil/middlewares/deprecated_options.js.map create mode 100644 assets/viz/2/quil/middlewares/fun_mode.cljc create mode 100644 assets/viz/2/quil/middlewares/fun_mode.cljc.cache.edn create mode 100644 assets/viz/2/quil/middlewares/fun_mode.js create mode 100644 assets/viz/2/quil/middlewares/fun_mode.js.map create mode 100644 assets/viz/2/quil/middlewares/navigation_2d.cljc create mode 100644 assets/viz/2/quil/middlewares/navigation_2d.cljc.cache.edn create mode 100644 assets/viz/2/quil/middlewares/navigation_2d.js create mode 100644 assets/viz/2/quil/middlewares/navigation_2d.js.map create mode 100644 assets/viz/2/quil/middlewares/navigation_3d.cljc create mode 100644 assets/viz/2/quil/middlewares/navigation_3d.cljc.cache.edn create mode 100644 assets/viz/2/quil/middlewares/navigation_3d.js create mode 100644 assets/viz/2/quil/middlewares/navigation_3d.js.map create mode 100644 assets/viz/2/quil/sketch.cljs create mode 100644 assets/viz/2/quil/sketch.cljs.cache.edn create mode 100644 assets/viz/2/quil/sketch.js create mode 100644 assets/viz/2/quil/sketch.js.map create mode 100644 assets/viz/2/quil/util.cljc create mode 100644 assets/viz/2/quil/util.cljc.cache.edn create mode 100644 assets/viz/2/quil/util.js create mode 100644 assets/viz/2/quil/util.js.map create mode 100644 assets/viz/2/viz/core.cljs create mode 100644 assets/viz/2/viz/core.cljs.cache.edn create mode 100644 assets/viz/2/viz/core.js create mode 100644 assets/viz/2/viz/core.js.map create mode 100644 assets/viz/2/viz/dial.cljs create mode 100644 assets/viz/2/viz/dial.cljs.cache.edn create mode 100644 assets/viz/2/viz/dial.js create mode 100644 assets/viz/2/viz/dial.js.map create mode 100644 assets/viz/2/viz/forest.cljs create mode 100644 assets/viz/2/viz/forest.cljs.cache.edn create mode 100644 assets/viz/2/viz/forest.js create mode 100644 assets/viz/2/viz/forest.js.map create mode 100644 assets/viz/2/viz/ghost.cljs create mode 100644 assets/viz/2/viz/ghost.cljs.cache.edn create mode 100644 assets/viz/2/viz/ghost.js create mode 100644 assets/viz/2/viz/ghost.js.map create mode 100644 assets/viz/2/viz/grid.cljs create mode 100644 assets/viz/2/viz/grid.cljs.cache.edn create mode 100644 assets/viz/2/viz/grid.js create mode 100644 assets/viz/2/viz/grid.js.map (limited to 'assets/viz') diff --git a/assets/viz/2/cljs/core.cljs b/assets/viz/2/cljs/core.cljs new file mode 100644 index 0000000..a87e53b --- /dev/null +++ b/assets/viz/2/cljs/core.cljs @@ -0,0 +1,10762 @@ +; 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]) + (:import [goog.string StringBuffer])) + +;; next line is auto-generated by the build-script - Do not edit! +(def *clojurescript-version* "1.9.473") + +(def *unchecked-if* false) +(def *warn-on-infer* false) + +(defonce PROTOCOL_SENTINEL #js {}) + +(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* + (fn [_] + (throw (js/Error. "No *print-fn* fn set for evaluation environment")))) + +(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* + (fn [_] + (throw (js/Error. "No *print-err-fn* fn set for evaluation environment")))) + +(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) + +(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 [& args] + (.apply (.-log js/console) js/console (into-array args)))) + (set! *print-err-fn* + (fn [& args] + (.apply (.-error js/console) js/console (into-array args)))) + 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 + (aget p (goog/typeOf x)) true + (aget 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) + +(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 aget + "Returns the value at the index." + ([array i] + (cljs.core/aget array i)) + ([array i & idxs] + (apply aget (aget array i) idxs))) + +(defn aset + "Sets the value at the index." + ([array i val] + (cljs.core/aset array i 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 (aget 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 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 (alength 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 (alength in) 1) 1) + (bit-xor h1 (m3-mix-K1 (.charCodeAt in (dec (alength in))))) + h1)] + (m3-fmix h1 (imul 2 (alength 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 (alength 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)] + (aset 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 (aget 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) + (-hash ^not-native o) + + (number? o) + (if (js/isFinite o) + (js-mod (Math/floor o) 2147483647) + (case o + Infinity + 2146435072 + -Infinity + -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) + (.valueOf o) + + (nil? o) 0 + + :else + (-hash o))) + +(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) + (alength 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"))) + + (implements? ISeq 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) + + (implements? ISeq coll) + (linear-traversal-nth coll n not-found) + + (native-satisfies? IIndexed coll) + (-nth coll n) + + :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 (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) + +(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) + (hash-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 Associative" + [x] (satisfies? IAssociative 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] + (let [keys (array)] + (gobject/forEach obj (fn [val key obj] (.push keys key))) + keys)) + +(defn js-delete + "Delete a property from a JavaScript object." + [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 positive." + [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) + (or (not (neg? x)) (zero? x)) + + (instance? goog.math.Integer x) + (or (not (.isNegative x)) (.isZero x)) + + (instance? goog.math.Long x) + (or (not (.isNegative x)) (.isZero 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] + (when (and (not (nil? coll)) + (associative? coll) + (contains? coll k)) + [k (get coll k)])) + +(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 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) + + :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) + + :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)] + (aset 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) + (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] (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] (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] (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 fn s __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 [_ o] + (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 s] + (if (seq 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 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] + (cond + (nil? arglist) nil + (nil? (next arglist)) (seq (first arglist)) + :else (cons (first arglist) + (spread (next arglist))))) + +(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 + "Applies fn f to the argument list formed by prepending intervening arguments to args." + ([f args] + (let [fixed-arity (.-cljs$lang$maxFixedArity f)] + (if (.-cljs$lang$applyTo f) + (let [bc (bounded-count (inc fixed-arity) args)] + (if (<= bc fixed-arity) + (apply-to f bc args) + (.cljs$lang$applyTo f args))) + (.apply f f (to-array args))))) + ([f x args] + (let [arglist (list* x args) + fixed-arity (.-cljs$lang$maxFixedArity f)] + (if (.-cljs$lang$applyTo f) + (let [bc (bounded-count (inc fixed-arity) arglist)] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (.apply f f (to-array arglist))))) + ([f x y args] + (let [arglist (list* x y args) + fixed-arity (.-cljs$lang$maxFixedArity f)] + (if (.-cljs$lang$applyTo f) + (let [bc (bounded-count (inc fixed-arity) arglist)] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (.apply f f (to-array arglist))))) + ([f x y z args] + (let [arglist (list* x y z args) + fixed-arity (.-cljs$lang$maxFixedArity f)] + (if (.-cljs$lang$applyTo f) + (let [bc (bounded-count (inc fixed-arity) arglist)] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (.apply f f (to-array arglist))))) + ([f a b c d & args] + (let [arglist (cons a (cons b (cons c (cons d (spread args))))) + fixed-arity (.-cljs$lang$maxFixedArity f)] + (if (.-cljs$lang$applyTo f) + (let [bc (bounded-count (inc fixed-arity) arglist)] + (if (<= bc fixed-arity) + (apply-to f bc arglist) + (.cljs$lang$applyTo f arglist))) + (.apply f f (to-array arglist)))))) +(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 (alength 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 + (nil? coll) (nil-iter) + (string? coll) (string-iter coll) + (array? coll) (array-iter coll) + (iterable? coll) (-iterator coll) + (seqable? coll) (seq-iter coll) + :else (throw (js/Error. (str "Cannot create iterator from " coll))))) + +(declare LazyTransformer) + +(defn lazy-transformer [stepper] + (LazyTransformer. stepper nil nil nil)) + +(deftype Stepper [xform iter] + Object + (step [this lt] + (loop [] + (if (and (not (nil? (.-stepper lt))) + (.hasNext iter)) + (if (reduced? (xform lt (.next iter))) + (when-not (nil? (.-rest lt)) + (set! (.. lt -rest -stepper) nil)) + (recur)))) + (when-not (nil? (.-stepper lt)) + (xform lt)))) + +(defn stepper [xform iter] + (letfn [(stepfn + ([result] + (let [lt (if (reduced? result) + @result + result)] + (set! (.-stepper lt) nil) + result)) + ([result input] + (let [lt result] + (set! (.-first lt) input) + (set! (.-rest lt) (lazy-transformer (.-stepper lt))) + (set! (.-stepper lt) nil) + (.-rest lt))))] + (Stepper. (xform stepfn) iter))) + +(deftype MultiStepper [xform iters nexts] + 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 [_] + (dotimes [i (alength iters)] + (aset nexts i (.next (aget iters i)))) + (prim-seq nexts 0)) + (step [this lt] + (loop [] + (if (and (not (nil? (.-stepper lt))) + (.hasNext this)) + (if (reduced? (apply xform (cons lt (.next this)))) + (when-not (nil? (.-rest lt)) + (set! (.. lt -rest -stepper) nil)) + (recur)))) + (when-not (nil? (.-stepper lt)) + (xform lt)))) + +(defn multi-stepper + ([xform iters] + (multi-stepper xform iters + (make-array (alength iters)))) + ([xform iters nexts] + (letfn [(stepfn + ([result] + (let [lt (if (reduced? result) + @result + result)] + (set! (.-stepper lt) nil) + lt)) + ([result input] + (let [lt result] + (set! (.-first lt) input) + (set! (.-rest lt) (lazy-transformer (.-stepper lt))) + (set! (.-stepper lt) nil) + (.-rest lt))))] + (MultiStepper. (xform stepfn) iters nexts)))) + +(deftype LazyTransformer [^:mutable stepper ^:mutable first ^:mutable rest meta] + 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)) + + IWithMeta + (-with-meta [this new-meta] + (LazyTransformer. stepper first rest new-meta)) + + IMeta + (-meta [this] meta) + + ICollection + (-conj [this o] + (cons o (-seq this))) + + IEmptyableCollection + (-empty [this] + ()) + + ISequential + IEquiv + (-equiv [this other] + (let [s (-seq this)] + (if-not (nil? s) + (equiv-sequential this other) + (and (sequential? other) + (nil? (seq other)))))) + + IHash + (-hash [this] + (hash-ordered-coll this)) + + ISeqable + (-seq [this] + (when-not (nil? stepper) + (.step stepper this)) + (if (nil? rest) + nil + this)) + + ISeq + (-first [this] + (when-not (nil? stepper) + (-seq this)) + (if (nil? rest) + nil + first)) + + (-rest [this] + (when-not (nil? stepper) + (-seq this)) + (if (nil? rest) + () + rest)) + + INext + (-next [this] + (when-not (nil? stepper) + (-seq this)) + (if (nil? rest) + nil + (-seq rest)))) + +(es6-iterable LazyTransformer) + +(set! (.-create LazyTransformer) + (fn [xform coll] + (LazyTransformer. (stepper xform (iter coll)) nil nil nil))) + +(set! (.-createMulti LazyTransformer) + (fn [xform colls] + (let [iters (array)] + (doseq [coll colls] + (.push iters (iter coll))) + (LazyTransformer. + (multi-stepper xform iters (make-array (alength iters))) + nil nil nil)))) + +(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] + (.create LazyTransformer xform coll)) + ([xform coll & colls] + (.createMulti LazyTransformer xform (to-array (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 ^boolean 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 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 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] + (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))))) + +(defn cycle + "Returns a lazy (infinite!) sequence of repetitions of the items in coll." + [coll] (lazy-seq + (when-let [s (seq coll)] + (concat s (cycle s))))) + +(defn split-at + "Returns a vector of [(take n coll) (drop n coll)]" + [n coll] + [(take n coll) (drop n coll)]) + +(defn repeat + "Returns a lazy (infinite!, or length n if supplied) sequence of xs." + ([x] (lazy-seq (cons x (repeat x)))) + ([n x] (take n (repeat x)))) + +(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)))) + +(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] (cons x (lazy-seq (iterate f (f x))))) + +(defn interleave + "Returns a lazy seq of the first item in each coll, then the second etc." + ([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))) + +(declare tv-editable-root tv-editable-tail TransientVector deref + pr-sequential-writer pr-writer chunked-seq) + +(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)) + + IMapEntry + (-key [coll] + (-nth coll 0)) + (-val [coll] + (-nth coll 1)) + + 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.")))) + + 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] + (ci-reduce v f)) + (-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] + (if (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] + (with-meta (.-EMPTY PersistentVector) meta)) + + 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] + (ci-reduce (subvec vec (+ i off) (count vec)) f)) + + (-reduce [coll f start] + (ci-reduce (subvec vec (+ i off) (count vec)) f start))) + +(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.")))) + + 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] + (ci-reduce coll f)) + (-reduce [coll f start] + (ci-reduce coll f start)) + + 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] + (ranged-iterator v start end))) + +(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) + (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] + (build-subvec nil v start 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)))) + + 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 + "Assumes y is a map. Returns true if x equals y, otherwise returns + false." + [x y] + (boolean + (when (map? y) + ; assume all maps are counted + (when (== (count x) (count y)) + (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 (aget 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)] + (aset new-obj k (aget 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 % (aget 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)))) + (aget 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)] + (aset 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)] + (aset 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)) + + 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 (aget 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)) + [k (-lookup record k)]) + (.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 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] + [(aget arr i) (aget arr (inc i))]) + + (-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 [(aget arr i) (aget arr (inc i))]] + (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 (implements? IMap 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)) + (equiv-map coll other))) + + 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))) + + 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] + (seq-reduce f coll)) + (-reduce [coll f start] + (seq-reduce f start coll)) + + 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? + (if (satisfies? IMapEntry o) + (-assoc! tcoll (key o) (val o)) + (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!"))))) + +(declare TransientHashMap PersistentHashMap) + +(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 [key node-or-val]) + (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) [key-or-nil val-or-node] + :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 (aset removed-leaf? 0 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)) [(aget arr idx) (aget arr (inc idx))] + :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 (aset removed-leaf? 0 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) + [(aget nodes i) (aget nodes (inc i))] + (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 ()))) + + 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 ()))) + + 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)))) + +(declare TransientHashMap) + +(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) + [nil nil-val]) + (.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 [nil nil-val] 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)))) + + 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)) (.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 + (if (satisfies? IMapEntry o) + (.assoc! tcoll (key o) (val o)) + (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 (aget removed-leaf? 0) + (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))) + +;;; 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) + ()))) + + 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 + (let [init (if-not (nil? (.-right node)) + (tree-map-kv-reduce (.-right node) f init) + init)] + (if (reduced? init) + @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] []) + + ISequential + ISeqable + (-seq [node] (list key val)) + + ICounted + (-count [node] 2) + + IIndexed + (-nth [node n] + (cond (== n 0) key + (== n 1) val + :else nil)) + + (-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)) + + 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] + (-lookup node k)) + + (-invoke [node k not-found] + (-lookup 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] []) + + ISequential + ISeqable + (-seq [node] (list key val)) + + ICounted + (-count [node] 2) + + IIndexed + (-nth [node n] + (cond (== n 0) key + (== n 1) val + :else nil)) + + (-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)) + + 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] + (-lookup node k)) + + (-invoke [node k not-found] + (-lookup 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) + (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)))) + + 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 true false))) + +(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)) + (aset 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) + (aget (.-tail (.next iter)) 0) + (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)) + (every? #(contains? coll %) + other))) + + 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)) + (every? #(contains? coll %) + other))) + + 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." + ([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." + ([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 (< n (-count rng)) + (+ start (* n step)) + (if (and (> start end) (zero? step)) + start + (throw (js/Error. "Index out of bounds"))))) + (-nth [rng n not-found] + (if (< n (-count rng)) + (+ start (* n step)) + (if (and (> 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 (seq coll) + (recur (next coll)))) + ([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-match (subs s (+ match-idx (count match-str)))] + (when match-data (lazy-seq (cons match-data (when (seq post-match) (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] + (*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] (aget 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) (number? obj)) + (-write writer (str obj)) + + (object? obj) + (do + (-write writer "#js ") + (print-map + (map (fn [k] [(keyword k) (aget obj k)]) (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 " \"" (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 (.. obj -constructor -cljs$lang$ctorStr) + (write-all writer + "#object[" (.replace (.. obj -constructor -cljs$lang$ctorStr) + (js/RegExp. "/" "g") ".") "]") + (let [name (.. obj -constructor -name) + name (if (or (nil? name) (gstring/isEmpty name)) + "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] (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)) + + LazyTransformer + (-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)) + + 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)) + + 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)))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 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))))) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Fixtures ;;;;;;;;;;;;;;;; + +(def fixture1 1) +(def fixture2 2) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 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 + + 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] + (if (satisfies? IEncodeJS k) + (-clj->js k) + (if (or (string? k) + (number? k) + (keyword? k) + (symbol? k)) + (clj->js k) + (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." + [x] + (when-not (nil? x) + (if (satisfies? IEncodeJS x) + (-clj->js x) + (cond + (keyword? x) (name x) + (symbol? x) (str x) + (map? x) (let [m (js-obj)] + (doseq [[k v] x] + (aset m (key->js k) (clj->js v))) + m) + (coll? x) (let [arr (array)] + (doseq [x (map clj->js x)] + (.push arr x)) + arr) + :else 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)) + + (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 (aget 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] + (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)] + (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)))))) + +(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 + (if-let [target-fn (find-and-cache-best-method name dispatch-val hierarchy method-table + prefer-table method-cache cached-hierarchy)] + target-fn + (@method-table 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] + (UUID. 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 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 ["abstract" "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"]) + +(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') + (str 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 (str name)))))) + +;; ----------------------------------------------------------------------------- +;; 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 + (js/eval (first segs)) + (catch js/ReferenceError e + nil)) + (next segs)) + (find-ns-obj* js/global segs)) + "default" (find-ns-obj* goog/global segs) + (throw (js/Error. (str "find-ns-obj not supported for target " *target*)))))) + +(defn ns-interns* + "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 + "Bootstrap only." + ([sym] + (create-ns sym (find-ns-obj sym))) + ([sym ns-obj] + (Namespace. ns-obj sym))) + +(defn find-ns + "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 + "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-str (str ns) + ns (if (not ^boolean (gstring/contains ns-str "$macros")) + (symbol (str ns-str "$macros")) + ns) + 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 + "Bootstrap only." + [ns-obj] + (.-name ns-obj)) diff --git a/assets/viz/2/cljs/core.js b/assets/viz/2/cljs/core.js new file mode 100644 index 0000000..6ec0a68 --- /dev/null +++ b/assets/viz/2/cljs/core.js @@ -0,0 +1,35801 @@ +// Compiled by ClojureScript 1.9.473 {: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.string.StringBuffer'); +cljs.core._STAR_clojurescript_version_STAR_ = "1.9.473"; +cljs.core._STAR_unchecked_if_STAR_ = false; +cljs.core._STAR_warn_on_infer_STAR_ = false; +if(typeof cljs.core.PROTOCOL_SENTINEL !== 'undefined'){ +} else { +cljs.core.PROTOCOL_SENTINEL = ({}); +} + +/** @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_ = (function cljs$core$_STAR_print_fn_STAR_(_){ +throw (new Error("No *print-fn* fn set for evaluation environment")); +}); +} +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_ = (function cljs$core$_STAR_print_err_fn_STAR_(_){ +throw (new Error("No *print-err-fn* fn set for evaluation environment")); +}); +} +/** + * 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; +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._STAR_print_fn_STAR_ = (function() { +var G__8821__delegate = function (args){ +return console.log.apply(console,(cljs.core.into_array.cljs$core$IFn$_invoke$arity$1 ? cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(args) : cljs.core.into_array.call(null,args))); +}; +var G__8821 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__8822__i = 0, G__8822__a = new Array(arguments.length - 0); +while (G__8822__i < G__8822__a.length) {G__8822__a[G__8822__i] = arguments[G__8822__i + 0]; ++G__8822__i;} + args = new cljs.core.IndexedSeq(G__8822__a,0); +} +return G__8821__delegate.call(this,args);}; +G__8821.cljs$lang$maxFixedArity = 0; +G__8821.cljs$lang$applyTo = (function (arglist__8823){ +var args = cljs.core.seq(arglist__8823); +return G__8821__delegate(args); +}); +G__8821.cljs$core$IFn$_invoke$arity$variadic = G__8821__delegate; +return G__8821; +})() +; + +cljs.core._STAR_print_err_fn_STAR_ = (function() { +var G__8824__delegate = function (args){ +return console.error.apply(console,(cljs.core.into_array.cljs$core$IFn$_invoke$arity$1 ? cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(args) : cljs.core.into_array.call(null,args))); +}; +var G__8824 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__8825__i = 0, G__8825__a = new Array(arguments.length - 0); +while (G__8825__i < G__8825__a.length) {G__8825__a[G__8825__i] = arguments[G__8825__i + 0]; ++G__8825__i;} + args = new cljs.core.IndexedSeq(G__8825__a,0); +} +return G__8824__delegate.call(this,args);}; +G__8824.cljs$lang$maxFixedArity = 0; +G__8824.cljs$lang$applyTo = (function (arglist__8826){ +var args = cljs.core.seq(arglist__8826); +return G__8824__delegate(args); +}); +G__8824.cljs$core$IFn$_invoke$arity$variadic = G__8824__delegate; +return G__8824; +})() +; + +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; +/** + * 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__6500__auto__ = ty; +if(cljs.core.truth_(and__6500__auto__)){ +return ty.cljs$lang$type; +} else { +return and__6500__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 args8827 = []; +var len__7625__auto___8833 = arguments.length; +var i__7626__auto___8834 = (0); +while(true){ +if((i__7626__auto___8834 < len__7625__auto___8833)){ +args8827.push((arguments[i__7626__auto___8834])); + +var G__8835 = (i__7626__auto___8834 + (1)); +i__7626__auto___8834 = G__8835; +continue; +} else { +} +break; +} + +var G__8832 = args8827.length; +switch (G__8832) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args8827.slice((2)),(0),null)); +return cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__7435__auto___8837 = dimarray.length; +var i_8838 = (0); +while(true){ +if((i_8838 < n__7435__auto___8837)){ +(dimarray[i_8838] = (cljs.core.apply.cljs$core$IFn$_invoke$arity$3 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.make_array,null,dims) : cljs.core.apply.call(null,cljs.core.make_array,null,dims))); + +var G__8839 = (i_8838 + (1)); +i_8838 = G__8839; +continue; +} else { +} +break; +} + +return dimarray; +}); + +cljs.core.make_array.cljs$lang$applyTo = (function (seq8828){ +var G__8829 = cljs.core.first(seq8828); +var seq8828__$1 = cljs.core.next(seq8828); +var G__8830 = cljs.core.first(seq8828__$1); +var seq8828__$2 = cljs.core.next(seq8828__$1); +return cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic(G__8829,G__8830,seq8828__$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__7435__auto___8840 = len; +var i_8841 = (0); +while(true){ +if((i_8841 < n__7435__auto___8840)){ +(new_arr[i_8841] = (arr[i_8841])); + +var G__8842 = (i_8841 + (1)); +i_8841 = G__8842; +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__8843 = (i + (1)); +i = G__8843; +continue; +} else { +return a; +} +break; +} +}); +/** + * Returns the value at the index. + */ +cljs.core.aget = (function cljs$core$aget(var_args){ +var args8844 = []; +var len__7625__auto___8853 = arguments.length; +var i__7626__auto___8854 = (0); +while(true){ +if((i__7626__auto___8854 < len__7625__auto___8853)){ +args8844.push((arguments[i__7626__auto___8854])); + +var G__8855 = (i__7626__auto___8854 + (1)); +i__7626__auto___8854 = G__8855; +continue; +} else { +} +break; +} + +var G__8849 = args8844.length; +switch (G__8849) { +case 2: +return cljs.core.aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args8844.slice((2)),(0),null)); +return cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__auto__); + +} +}); + +cljs.core.aget.cljs$core$IFn$_invoke$arity$2 = (function (array,i){ +return (array[i]); +}); + +cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic = (function (array,i,idxs){ +var G__8850 = cljs.core.aget; +var G__8851 = (array[i]); +var G__8852 = idxs; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$3 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$3(G__8850,G__8851,G__8852) : cljs.core.apply.call(null,G__8850,G__8851,G__8852)); +}); + +cljs.core.aget.cljs$lang$applyTo = (function (seq8845){ +var G__8846 = cljs.core.first(seq8845); +var seq8845__$1 = cljs.core.next(seq8845); +var G__8847 = cljs.core.first(seq8845__$1); +var seq8845__$2 = cljs.core.next(seq8845__$1); +return cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic(G__8846,G__8847,seq8845__$2); +}); + +cljs.core.aget.cljs$lang$maxFixedArity = (2); + +/** + * Sets the value at the index. + */ +cljs.core.aset = (function cljs$core$aset(var_args){ +var args8857 = []; +var len__7625__auto___8868 = arguments.length; +var i__7626__auto___8869 = (0); +while(true){ +if((i__7626__auto___8869 < len__7625__auto___8868)){ +args8857.push((arguments[i__7626__auto___8869])); + +var G__8870 = (i__7626__auto___8869 + (1)); +i__7626__auto___8869 = G__8870; +continue; +} else { +} +break; +} + +var G__8863 = args8857.length; +switch (G__8863) { +case 3: +return cljs.core.aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args8857.slice((3)),(0),null)); +return cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__auto__); + +} +}); + +cljs.core.aset.cljs$core$IFn$_invoke$arity$3 = (function (array,i,val){ +return (array[i] = val); +}); + +cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ +var G__8864 = cljs.core.aset; +var G__8865 = (array[idx]); +var G__8866 = idx2; +var G__8867 = idxv; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$4 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$4(G__8864,G__8865,G__8866,G__8867) : cljs.core.apply.call(null,G__8864,G__8865,G__8866,G__8867)); +}); + +cljs.core.aset.cljs$lang$applyTo = (function (seq8858){ +var G__8859 = cljs.core.first(seq8858); +var seq8858__$1 = cljs.core.next(seq8858); +var G__8860 = cljs.core.first(seq8858__$1); +var seq8858__$2 = cljs.core.next(seq8858__$1); +var G__8861 = cljs.core.first(seq8858__$2); +var seq8858__$3 = cljs.core.next(seq8858__$2); +return cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic(G__8859,G__8860,G__8861,seq8858__$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 args8872 = []; +var len__7625__auto___8878 = arguments.length; +var i__7626__auto___8879 = (0); +while(true){ +if((i__7626__auto___8879 < len__7625__auto___8878)){ +args8872.push((arguments[i__7626__auto___8879])); + +var G__8880 = (i__7626__auto___8879 + (1)); +i__7626__auto___8879 = G__8880; +continue; +} else { +} +break; +} + +var G__8874 = args8872.length; +switch (G__8874) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8872.length)].join(''))); + +} +}); + +cljs.core.into_array.cljs$core$IFn$_invoke$arity$1 = (function (aseq){ +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$2(null,aseq); +}); + +cljs.core.into_array.cljs$core$IFn$_invoke$arity$2 = (function (type,aseq){ +var G__8875 = (function (a,x){ +a.push(x); + +return a; +}); +var G__8876 = []; +var G__8877 = aseq; +return (cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(G__8875,G__8876,G__8877) : cljs.core.reduce.call(null,G__8875,G__8876,G__8877)); +}); + +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__7632__auto__ = []; +var len__7625__auto___8885 = arguments.length; +var i__7626__auto___8886 = (0); +while(true){ +if((i__7626__auto___8886 < len__7625__auto___8885)){ +args__7632__auto__.push((arguments[i__7626__auto___8886])); + +var G__8887 = (i__7626__auto___8886 + (1)); +i__7626__auto___8886 = G__8887; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((2) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((2)),(0),null)):null); +return cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7633__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); + +cljs.core.js_invoke.cljs$lang$applyTo = (function (seq8882){ +var G__8883 = cljs.core.first(seq8882); +var seq8882__$1 = cljs.core.next(seq8882); +var G__8884 = cljs.core.first(seq8882__$1); +var seq8882__$2 = cljs.core.next(seq8882__$1); +return cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic(G__8883,G__8884,seq8882__$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 args8888 = []; +var len__7625__auto___8891 = arguments.length; +var i__7626__auto___8892 = (0); +while(true){ +if((i__7626__auto___8892 < len__7625__auto___8891)){ +args8888.push((arguments[i__7626__auto___8892])); + +var G__8893 = (i__7626__auto___8892 + (1)); +i__7626__auto___8892 = G__8893; +continue; +} else { +} +break; +} + +var G__8890 = args8888.length; +switch (G__8890) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8888.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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__7181__auto__.call(null,this$)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(this$) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(this$,a) : m__7181__auto__.call(null,this$,a)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(this$,a) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__7181__auto__.call(null,this$,a,b)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$4 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__7181__auto__.call(null,this$,a,b,c)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$4 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$5 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__7181__auto__.call(null,this$,a,b,c,d)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$5 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$6 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__7181__auto__.call(null,this$,a,b,c,d,e)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$6 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$7 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__7181__auto__.call(null,this$,a,b,c,d,e,f)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$7 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$8 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$8 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$9 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$9 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$10 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$10 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$11 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$11 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$12 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$12 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$13 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$13 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$14 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$14 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$15 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$15 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$16 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$16 ? m__7181__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__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$17 ? m__7181__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__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$17 ? m__7181__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__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$18 ? m__7181__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__7181__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +} else { +var m__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$18 ? m__7181__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__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$19 ? m__7181__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__7181__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__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$19 ? m__7181__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__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$20 ? m__7181__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__7181__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__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$20 ? m__7181__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__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$21 ? m__7181__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__7181__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__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$21 ? m__7181__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__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._invoke[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$22 ? m__7181__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__7181__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__7181__auto____$1 = (cljs.core._invoke["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$22 ? m__7181__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__7181__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__7180__auto__ = (((value == null))?null:value); +var m__7181__auto__ = (cljs.core._clone[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(value) : m__7181__auto__.call(null,value)); +} else { +var m__7181__auto____$1 = (cljs.core._clone["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(value) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._count[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._count["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._empty[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._empty["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._conj[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,o) : m__7181__auto__.call(null,coll,o)); +} else { +var m__7181__auto____$1 = (cljs.core._conj["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,o) : m__7181__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 args8895 = []; +var len__7625__auto___8898 = arguments.length; +var i__7626__auto___8899 = (0); +while(true){ +if((i__7626__auto___8899 < len__7625__auto___8898)){ +args8895.push((arguments[i__7626__auto___8899])); + +var G__8900 = (i__7626__auto___8899 + (1)); +i__7626__auto___8899 = G__8900; +continue; +} else { +} +break; +} + +var G__8897 = args8895.length; +switch (G__8897) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8895.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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._nth[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,n) : m__7181__auto__.call(null,coll,n)); +} else { +var m__7181__auto____$1 = (cljs.core._nth["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,n) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._nth[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__7181__auto__.call(null,coll,n,not_found)); +} else { +var m__7181__auto____$1 = (cljs.core._nth["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._first[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._first["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._rest[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._rest["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._next[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._next["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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 args8902 = []; +var len__7625__auto___8905 = arguments.length; +var i__7626__auto___8906 = (0); +while(true){ +if((i__7626__auto___8906 < len__7625__auto___8905)){ +args8902.push((arguments[i__7626__auto___8906])); + +var G__8907 = (i__7626__auto___8906 + (1)); +i__7626__auto___8906 = G__8907; +continue; +} else { +} +break; +} + +var G__8904 = args8902.length; +switch (G__8904) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8902.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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._lookup[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(o,k) : m__7181__auto__.call(null,o,k)); +} else { +var m__7181__auto____$1 = (cljs.core._lookup["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(o,k) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._lookup[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__7181__auto__.call(null,o,k,not_found)); +} else { +var m__7181__auto____$1 = (cljs.core._lookup["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._contains_key_QMARK_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__7181__auto__.call(null,coll,k)); +} else { +var m__7181__auto____$1 = (cljs.core._contains_key_QMARK_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._assoc[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__7181__auto__.call(null,coll,k,v)); +} else { +var m__7181__auto____$1 = (cljs.core._assoc["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__7181__auto____$1.call(null,coll,k,v)); +} else { +throw cljs.core.missing_protocol("IAssociative.-assoc",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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._dissoc[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__7181__auto__.call(null,coll,k)); +} else { +var m__7181__auto____$1 = (cljs.core._dissoc["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._key[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._key["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._val[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._val["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._disjoin[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,v) : m__7181__auto__.call(null,coll,v)); +} else { +var m__7181__auto____$1 = (cljs.core._disjoin["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,v) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._peek[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._peek["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._pop[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._pop["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._assoc_n[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__7181__auto__.call(null,coll,n,val)); +} else { +var m__7181__auto____$1 = (cljs.core._assoc_n["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._deref[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__7181__auto__.call(null,o)); +} else { +var m__7181__auto____$1 = (cljs.core._deref["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._deref_with_timeout[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__7181__auto__.call(null,o,msec,timeout_val)); +} else { +var m__7181__auto____$1 = (cljs.core._deref_with_timeout["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._meta[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__7181__auto__.call(null,o)); +} else { +var m__7181__auto____$1 = (cljs.core._meta["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._with_meta[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(o,meta) : m__7181__auto__.call(null,o,meta)); +} else { +var m__7181__auto____$1 = (cljs.core._with_meta["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(o,meta) : m__7181__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 args8909 = []; +var len__7625__auto___8912 = arguments.length; +var i__7626__auto___8913 = (0); +while(true){ +if((i__7626__auto___8913 < len__7625__auto___8912)){ +args8909.push((arguments[i__7626__auto___8913])); + +var G__8914 = (i__7626__auto___8913 + (1)); +i__7626__auto___8913 = G__8914; +continue; +} else { +} +break; +} + +var G__8911 = args8909.length; +switch (G__8911) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8909.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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._reduce[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,f) : m__7181__auto__.call(null,coll,f)); +} else { +var m__7181__auto____$1 = (cljs.core._reduce["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,f) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._reduce[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__7181__auto__.call(null,coll,f,start)); +} else { +var m__7181__auto____$1 = (cljs.core._reduce["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._kv_reduce[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__7181__auto__.call(null,coll,f,init)); +} else { +var m__7181__auto____$1 = (cljs.core._kv_reduce["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._equiv[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(o,other) : m__7181__auto__.call(null,o,other)); +} else { +var m__7181__auto____$1 = (cljs.core._equiv["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(o,other) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._hash[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__7181__auto__.call(null,o)); +} else { +var m__7181__auto____$1 = (cljs.core._hash["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._seq[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__7181__auto__.call(null,o)); +} else { +var m__7181__auto____$1 = (cljs.core._seq["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._rseq[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._rseq["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._sorted_seq[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__7181__auto__.call(null,coll,ascending_QMARK_)); +} else { +var m__7181__auto____$1 = (cljs.core._sorted_seq["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._sorted_seq_from[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__7181__auto__.call(null,coll,k,ascending_QMARK_)); +} else { +var m__7181__auto____$1 = (cljs.core._sorted_seq_from["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._entry_key[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__7181__auto__.call(null,coll,entry)); +} else { +var m__7181__auto____$1 = (cljs.core._entry_key["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._comparator[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._comparator["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((writer == null))?null:writer); +var m__7181__auto__ = (cljs.core._write[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(writer,s) : m__7181__auto__.call(null,writer,s)); +} else { +var m__7181__auto____$1 = (cljs.core._write["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(writer,s) : m__7181__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__7180__auto__ = (((writer == null))?null:writer); +var m__7181__auto__ = (cljs.core._flush[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(writer) : m__7181__auto__.call(null,writer)); +} else { +var m__7181__auto____$1 = (cljs.core._flush["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(writer) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._pr_writer[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__7181__auto__.call(null,o,writer,opts)); +} else { +var m__7181__auto____$1 = (cljs.core._pr_writer["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__7181__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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._realized_QMARK_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__7181__auto__.call(null,x)); +} else { +var m__7181__auto____$1 = (cljs.core._realized_QMARK_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._notify_watches[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__7181__auto__.call(null,this$,oldval,newval)); +} else { +var m__7181__auto____$1 = (cljs.core._notify_watches["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._add_watch[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__7181__auto__.call(null,this$,key,f)); +} else { +var m__7181__auto____$1 = (cljs.core._add_watch["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__7181__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__7180__auto__ = (((this$ == null))?null:this$); +var m__7181__auto__ = (cljs.core._remove_watch[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(this$,key) : m__7181__auto__.call(null,this$,key)); +} else { +var m__7181__auto____$1 = (cljs.core._remove_watch["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(this$,key) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._as_transient[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._as_transient["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._conj_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__7181__auto__.call(null,tcoll,val)); +} else { +var m__7181__auto____$1 = (cljs.core._conj_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._persistent_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__7181__auto__.call(null,tcoll)); +} else { +var m__7181__auto____$1 = (cljs.core._persistent_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(tcoll) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._assoc_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__7181__auto__.call(null,tcoll,key,val)); +} else { +var m__7181__auto____$1 = (cljs.core._assoc_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._dissoc_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__7181__auto__.call(null,tcoll,key)); +} else { +var m__7181__auto____$1 = (cljs.core._dissoc_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._assoc_n_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__7181__auto__.call(null,tcoll,n,val)); +} else { +var m__7181__auto____$1 = (cljs.core._assoc_n_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._pop_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__7181__auto__.call(null,tcoll)); +} else { +var m__7181__auto____$1 = (cljs.core._pop_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(tcoll) : m__7181__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__7180__auto__ = (((tcoll == null))?null:tcoll); +var m__7181__auto__ = (cljs.core._disjoin_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__7181__auto__.call(null,tcoll,v)); +} else { +var m__7181__auto____$1 = (cljs.core._disjoin_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__7181__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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._compare[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(x,y) : m__7181__auto__.call(null,x,y)); +} else { +var m__7181__auto____$1 = (cljs.core._compare["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(x,y) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._drop_first[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._drop_first["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._chunked_first[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._chunked_first["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._chunked_rest[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._chunked_rest["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._chunked_next[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._chunked_next["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._name[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__7181__auto__.call(null,x)); +} else { +var m__7181__auto____$1 = (cljs.core._name["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__7181__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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._namespace[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__7181__auto__.call(null,x)); +} else { +var m__7181__auto____$1 = (cljs.core._namespace["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._reset_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__7181__auto__.call(null,o,new_value)); +} else { +var m__7181__auto____$1 = (cljs.core._reset_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__7181__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 args8916 = []; +var len__7625__auto___8919 = arguments.length; +var i__7626__auto___8920 = (0); +while(true){ +if((i__7626__auto___8920 < len__7625__auto___8919)){ +args8916.push((arguments[i__7626__auto___8920])); + +var G__8921 = (i__7626__auto___8920 + (1)); +i__7626__auto___8920 = G__8921; +continue; +} else { +} +break; +} + +var G__8918 = args8916.length; +switch (G__8918) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8916.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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(o,f) : m__7181__auto__.call(null,o,f)); +} else { +var m__7181__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(o,f) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__7181__auto__.call(null,o,f,a)); +} else { +var m__7181__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$4 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__7181__auto__.call(null,o,f,a,b)); +} else { +var m__7181__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$4 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$5 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__7181__auto__.call(null,o,f,a,b,xs)); +} else { +var m__7181__auto____$1 = (cljs.core._swap_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$5 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__7181__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__7180__auto__ = (((o == null))?null:o); +var m__7181__auto__ = (cljs.core._vreset_BANG_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__7181__auto__.call(null,o,new_value)); +} else { +var m__7181__auto____$1 = (cljs.core._vreset_BANG_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__7181__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__7180__auto__ = (((coll == null))?null:coll); +var m__7181__auto__ = (cljs.core._iterator[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__auto__.call(null,coll)); +} else { +var m__7181__auto____$1 = (cljs.core._iterator["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__7181__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__8923 = (i + (2)); +var G__8924 = cljs.core.m3_mix_H1(h1,cljs.core.m3_mix_K1((in$.charCodeAt((i - (1))) | (in$.charCodeAt(i) << (16))))); +i = G__8923; +h1 = G__8924; +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__8927 = (i + (1)); +var G__8928 = (cljs.core.imul((31),hash) + s.charCodeAt(i)); +i = G__8927; +hash = G__8928; +continue; +} else { +return hash; +} +break; +} +} else { +return (0); +} +} else { +return (0); +} +}); +cljs.core.add_to_string_hash_cache = (function cljs$core$add_to_string_hash_cache(k){ +var h = cljs.core.hash_string_STAR_(k); +(cljs.core.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); +} else { +if(typeof o === 'number'){ +if(cljs.core.truth_(isFinite(o))){ +return (Math.floor(o) % (2147483647)); +} else { +var G__8936 = o; +switch (G__8936) { +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(); +} else { +if((o == null)){ +return (0); +} else { +return cljs.core._hash(o); + +} +} +} +} +} +} +} +}); +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__6500__auto__ = cljs.core.not(a.ns); +if(and__6500__auto__){ +return b.ns; +} else { +return and__6500__auto__; +} +})())){ +return (-1); +} else { +if(cljs.core.truth_(a.ns)){ +if(cljs.core.not(b.ns)){ +return (1); +} else { +var nsc = (function (){var G__8944 = a.ns; +var G__8945 = b.ns; +return goog.array.defaultCompare(G__8944,G__8945); +})(); +if(((0) === nsc)){ +var G__8946 = a.name; +var G__8947 = b.name; +return goog.array.defaultCompare(G__8946,G__8947); +} else { +return nsc; +} +} +} else { +var G__8948 = a.name; +var G__8949 = b.name; +return goog.array.defaultCompare(G__8948,G__8949); + +} +} +} +}); + +/** +* @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__8951 = null; +var G__8951__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 ? cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,sym) : cljs.core.get.call(null,coll,sym)); +}); +var G__8951__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 ? cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,sym,not_found) : cljs.core.get.call(null,coll,sym,not_found)); +}); +G__8951 = function(self__,coll,not_found){ +switch(arguments.length){ +case 2: +return G__8951__2.call(this,self__,coll); +case 3: +return G__8951__3.call(this,self__,coll,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__8951.cljs$core$IFn$_invoke$arity$2 = G__8951__2; +G__8951.cljs$core$IFn$_invoke$arity$3 = G__8951__3; +return G__8951; +})() +; + +cljs.core.Symbol.prototype.apply = (function (self__,args8950){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args8950))); +}); + +cljs.core.Symbol.prototype.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +var self__ = this; +var sym = this; +return (cljs.core.get.cljs$core$IFn$_invoke$arity$2 ? cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,sym) : cljs.core.get.call(null,coll,sym)); +}); + +cljs.core.Symbol.prototype.cljs$core$IFn$_invoke$arity$2 = (function (coll,not_found){ +var self__ = this; +var sym = this; +return (cljs.core.get.cljs$core$IFn$_invoke$arity$3 ? cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,sym,not_found) : cljs.core.get.call(null,coll,sym,not_found)); +}); + +cljs.core.Symbol.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__._meta; +}); + +cljs.core.Symbol.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Symbol(self__.ns,self__.name,self__.str,self__._hash,new_meta)); +}); + +cljs.core.Symbol.prototype.cljs$core$IHash$_hash$arity$1 = (function (sym){ +var self__ = this; +var sym__$1 = this; +var h__6952__auto__ = self__._hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_symbol(sym__$1); +self__._hash = h__6952__auto____$1; + +return h__6952__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args8952 = []; +var len__7625__auto___8955 = arguments.length; +var i__7626__auto___8956 = (0); +while(true){ +if((i__7626__auto___8956 < len__7625__auto___8955)){ +args8952.push((arguments[i__7626__auto___8956])); + +var G__8957 = (i__7626__auto___8956 + (1)); +i__7626__auto___8956 = G__8957; +continue; +} else { +} +break; +} + +var G__8954 = args8952.length; +switch (G__8954) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8952.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("/"),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("#'"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.sym)].join(''); +}); + +cljs.core.Var.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +}); + +cljs.core.Var.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__._meta; +}); + +cljs.core.Var.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Var(self__.val,self__.sym,new_meta)); +}); + +cljs.core.Var.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var self__ = this; +var this$__$1 = this; +if((other instanceof cljs.core.Var)){ +var G__8960 = this$__$1.sym; +var G__8961 = other.sym; +return (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2 ? cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(G__8960,G__8961) : cljs.core._EQ_.call(null,G__8960,G__8961)); +} 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__9006 = null; +var G__9006__1 = (function (self__){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null); +}); +var G__9006__2 = (function (self__,a){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a); +}); +var G__9006__3 = (function (self__,a,b){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b); +}); +var G__9006__4 = (function (self__,a,b,c){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c); +}); +var G__9006__5 = (function (self__,a,b,c,d){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d); +}); +var G__9006__6 = (function (self__,a,b,c,d,e){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e); +}); +var G__9006__7 = (function (self__,a,b,c,d,e,f){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f); +}); +var G__9006__8 = (function (self__,a,b,c,d,e,f,g){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g); +}); +var G__9006__9 = (function (self__,a,b,c,d,e,f,g,h){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h); +}); +var G__9006__10 = (function (self__,a,b,c,d,e,f,g,h,i){ +var self__ = this; +var self____$1 = this; +var _ = self____$1; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +}); +var G__9006__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__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +}); +var G__9006__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; +var G__8962 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +var G__8963 = a; +var G__8964 = b; +var G__8965 = c; +var G__8966 = d; +var G__8967 = e; +var G__8968 = f; +var G__8969 = g; +var G__8970 = h; +var G__8971 = i; +var G__8972 = j; +var G__8973 = k; +var G__8974 = l; +var G__8975 = m; +var G__8976 = n; +var G__8977 = o; +var G__8978 = p; +var G__8979 = q; +var G__8980 = r; +var G__8981 = s; +var G__8982 = t; +var G__8983 = rest; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$22 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$22(G__8962,G__8963,G__8964,G__8965,G__8966,G__8967,G__8968,G__8969,G__8970,G__8971,G__8972,G__8973,G__8974,G__8975,G__8976,G__8977,G__8978,G__8979,G__8980,G__8981,G__8982,G__8983) : cljs.core.apply.call(null,G__8962,G__8963,G__8964,G__8965,G__8966,G__8967,G__8968,G__8969,G__8970,G__8971,G__8972,G__8973,G__8974,G__8975,G__8976,G__8977,G__8978,G__8979,G__8980,G__8981,G__8982,G__8983)); +}); +G__9006 = 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__9006__1.call(this,self__); +case 2: +return G__9006__2.call(this,self__,a); +case 3: +return G__9006__3.call(this,self__,a,b); +case 4: +return G__9006__4.call(this,self__,a,b,c); +case 5: +return G__9006__5.call(this,self__,a,b,c,d); +case 6: +return G__9006__6.call(this,self__,a,b,c,d,e); +case 7: +return G__9006__7.call(this,self__,a,b,c,d,e,f); +case 8: +return G__9006__8.call(this,self__,a,b,c,d,e,f,g); +case 9: +return G__9006__9.call(this,self__,a,b,c,d,e,f,g,h); +case 10: +return G__9006__10.call(this,self__,a,b,c,d,e,f,g,h,i); +case 11: +return G__9006__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__9006__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__9006__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__9006__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__9006__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__9006__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__9006__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__9006__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__9006__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__9006__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__9006__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__9006__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)); +}; +G__9006.cljs$core$IFn$_invoke$arity$1 = G__9006__1; +G__9006.cljs$core$IFn$_invoke$arity$2 = G__9006__2; +G__9006.cljs$core$IFn$_invoke$arity$3 = G__9006__3; +G__9006.cljs$core$IFn$_invoke$arity$4 = G__9006__4; +G__9006.cljs$core$IFn$_invoke$arity$5 = G__9006__5; +G__9006.cljs$core$IFn$_invoke$arity$6 = G__9006__6; +G__9006.cljs$core$IFn$_invoke$arity$7 = G__9006__7; +G__9006.cljs$core$IFn$_invoke$arity$8 = G__9006__8; +G__9006.cljs$core$IFn$_invoke$arity$9 = G__9006__9; +G__9006.cljs$core$IFn$_invoke$arity$10 = G__9006__10; +G__9006.cljs$core$IFn$_invoke$arity$11 = G__9006__11; +G__9006.cljs$core$IFn$_invoke$arity$12 = G__9006__12; +G__9006.cljs$core$IFn$_invoke$arity$13 = G__9006__13; +G__9006.cljs$core$IFn$_invoke$arity$14 = G__9006__14; +G__9006.cljs$core$IFn$_invoke$arity$15 = G__9006__15; +G__9006.cljs$core$IFn$_invoke$arity$16 = G__9006__16; +G__9006.cljs$core$IFn$_invoke$arity$17 = G__9006__17; +G__9006.cljs$core$IFn$_invoke$arity$18 = G__9006__18; +G__9006.cljs$core$IFn$_invoke$arity$19 = G__9006__19; +G__9006.cljs$core$IFn$_invoke$arity$20 = G__9006__20; +G__9006.cljs$core$IFn$_invoke$arity$21 = G__9006__21; +G__9006.cljs$core$IFn$_invoke$arity$22 = G__9006__22; +return G__9006; +})() +; + +cljs.core.Var.prototype.apply = (function (self__,args8959){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args8959))); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$0 = (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)).call(null); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ +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)).call(null,a); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +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)).call(null,a,b); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ +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)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).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; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +}); + +cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +var self__ = this; +var _ = this; +var G__8984 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); +var G__8985 = a; +var G__8986 = b; +var G__8987 = c; +var G__8988 = d; +var G__8989 = e; +var G__8990 = f; +var G__8991 = g; +var G__8992 = h; +var G__8993 = i; +var G__8994 = j; +var G__8995 = k; +var G__8996 = l; +var G__8997 = m; +var G__8998 = n; +var G__8999 = o; +var G__9000 = p; +var G__9001 = q; +var G__9002 = r; +var G__9003 = s; +var G__9004 = t; +var G__9005 = rest; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$22 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$22(G__8984,G__8985,G__8986,G__8987,G__8988,G__8989,G__8990,G__8991,G__8992,G__8993,G__8994,G__8995,G__8996,G__8997,G__8998,G__8999,G__9000,G__9001,G__9002,G__9003,G__9004,G__9005) : cljs.core.apply.call(null,G__8984,G__8985,G__8986,G__8987,G__8988,G__8989,G__8990,G__8991,G__8992,G__8993,G__8994,G__8995,G__8996,G__8997,G__8998,G__8999,G__9000,G__9001,G__9002,G__9003,G__9004,G__9005)); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IIterable$))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition$)){ +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),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" 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 args9019 = []; +var len__7625__auto___9025 = arguments.length; +var i__7626__auto___9026 = (0); +while(true){ +if((i__7626__auto___9026 < len__7625__auto___9025)){ +args9019.push((arguments[i__7626__auto___9026])); + +var G__9027 = (i__7626__auto___9026 + (1)); +i__7626__auto___9026 = G__9027; +continue; +} else { +} +break; +} + +var G__9024 = args9019.length; +switch (G__9024) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9019.slice((2)),(0),null)); +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9029 = y; +var G__9030 = cljs.core.first(more); +var G__9031 = cljs.core.next(more); +x = G__9029; +y = G__9030; +more = G__9031; +continue; +} else { +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(y,cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +cljs.core._EQ_.cljs$lang$applyTo = (function (seq9020){ +var G__9021 = cljs.core.first(seq9020); +var seq9020__$1 = cljs.core.next(seq9020); +var G__9022 = cljs.core.first(seq9020__$1); +var seq9020__$2 = cljs.core.next(seq9020__$1); +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic(G__9021,G__9022,seq9020__$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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/ES6Iterator"); +}); + +cljs.core.__GT_ES6Iterator = (function cljs$core$__GT_ES6Iterator(s){ +return (new cljs.core.ES6Iterator(s)); +}); + +/** + * EXPERIMENTAL: Return a ES2015 compatible iterator for coll. + */ +cljs.core.es6_iterator = (function cljs$core$es6_iterator(coll){ +return (new cljs.core.ES6Iterator(cljs.core.seq(coll))); +}); + +/** +* @constructor + * @implements {cljs.core.ISeq} + * @implements {cljs.core.ISeqable} +*/ +cljs.core.ES6IteratorSeq = (function (value,iter,_rest){ +this.value = value; +this.iter = iter; +this._rest = _rest; +this.cljs$lang$protocol_mask$partition0$ = 8388672; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +}); + +cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.value; +}); + +cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if((self__._rest == null)){ +self__._rest = (cljs.core.es6_iterator_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.es6_iterator_seq.cljs$core$IFn$_invoke$arity$1(self__.iter) : cljs.core.es6_iterator_seq.call(null,self__.iter)); +} else { +} + +return self__._rest; +}); + +cljs.core.ES6IteratorSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"value","value",1946509744,null),new cljs.core.Symbol(null,"iter","iter",-1346195486,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_rest","_rest",-2100466189,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +}); + +cljs.core.ES6IteratorSeq.cljs$lang$type = true; + +cljs.core.ES6IteratorSeq.cljs$lang$ctorStr = "cljs.core/ES6IteratorSeq"; + +cljs.core.ES6IteratorSeq.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__9032 = (n + (1)); +var G__9033 = ((cljs.core.imul((31),hash_code) + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); +var G__9034 = cljs.core.next(coll__$1); +n = G__9032; +hash_code = G__9033; +coll__$1 = G__9034; +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__9035 = (n + (1)); +var G__9036 = ((hash_code + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); +var G__9037 = cljs.core.next(coll__$1); +n = G__9035; +hash_code = G__9036; +coll__$1 = G__9037; +continue; +} else { +return cljs.core.mix_collection_hash(hash_code,n); +} +break; +} +}); +cljs.core.empty_unordered_hash = cljs.core.mix_collection_hash((0),(0)); + + +(cljs.core.ICounted["null"] = true); + +(cljs.core._count["null"] = (function (_){ +return (0); +})); +Date.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL; + +Date.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ +var o__$1 = this; +return ((other instanceof Date)) && ((o__$1.valueOf() === other.valueOf())); +}); + +Date.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; + +Date.prototype.cljs$core$IComparable$_compare$arity$2 = (function (this$,other){ +var this$__$1 = this; +if((other instanceof Date)){ +var G__9038 = this$__$1.valueOf(); +var G__9039 = other.valueOf(); +return goog.array.defaultCompare(G__9038,G__9039); +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$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__7180__auto__ = (((inst == null))?null:inst); +var m__7181__auto__ = (cljs.core.inst_ms_STAR_[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(inst) : m__7181__auto__.call(null,inst)); +} else { +var m__7181__auto____$1 = (cljs.core.inst_ms_STAR_["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(inst) : m__7181__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); +} +}); +(cljs.core.IEquiv["number"] = true); + +(cljs.core._equiv["number"] = (function (x,o){ +return (x === o); +})); +(cljs.core.Fn["function"] = true); + +(cljs.core.IMeta["function"] = true); + +(cljs.core._meta["function"] = (function (_){ +return null; +})); +(cljs.core.IHash["_"] = true); + +(cljs.core._hash["_"] = (function (o){ +return goog.getUid(o); +})); +/** + * Returns a number one greater than num. + */ +cljs.core.inc = (function cljs$core$inc(x){ +return (x + (1)); +}); + +/** +* @constructor + * @implements {cljs.core.IDeref} +*/ +cljs.core.Reduced = (function (val){ +this.val = val; +this.cljs$lang$protocol_mask$partition0$ = 32768; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.Reduced.prototype.cljs$core$IDeref$_deref$arity$1 = (function (o){ +var self__ = this; +var o__$1 = this; +return self__.val; +}); + +cljs.core.Reduced.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"val","val",1769233139,null)], null); +}); + +cljs.core.Reduced.cljs$lang$type = true; + +cljs.core.Reduced.cljs$lang$ctorStr = "cljs.core/Reduced"; + +cljs.core.Reduced.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/Reduced"); +}); + +cljs.core.__GT_Reduced = (function cljs$core$__GT_Reduced(val){ +return (new cljs.core.Reduced(val)); +}); + +/** + * Wraps x in a way such that a reduce will terminate with the value x + */ +cljs.core.reduced = (function cljs$core$reduced(x){ +return (new cljs.core.Reduced(x)); +}); +/** + * Returns true if x is the result of a call to reduced + */ +cljs.core.reduced_QMARK_ = (function cljs$core$reduced_QMARK_(r){ +return (r instanceof cljs.core.Reduced); +}); +/** + * If x is already reduced?, returns it, else returns (reduced x) + */ +cljs.core.ensure_reduced = (function cljs$core$ensure_reduced(x){ +if(cljs.core.reduced_QMARK_(x)){ +return x; +} else { +return cljs.core.reduced(x); +} +}); +/** + * If x is reduced?, returns (deref x), else returns x + */ +cljs.core.unreduced = (function cljs$core$unreduced(x){ +if(cljs.core.reduced_QMARK_(x)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(x) : cljs.core.deref.call(null,x)); +} else { +return x; +} +}); +/** + * Also reader macro: @var/@atom/@delay. Returns the + * most-recently-committed value of ref. When applied to a var + * or atom, returns its current state. When applied to a delay, forces + * it if not already forced. See also - realized?. + */ +cljs.core.deref = (function cljs$core$deref(o){ +return cljs.core._deref(o); +}); +/** + * Accepts any collection which satisfies the ICount and IIndexed protocols and + * reduces them without incurring seq initialization + */ +cljs.core.ci_reduce = (function cljs$core$ci_reduce(var_args){ +var args9042 = []; +var len__7625__auto___9051 = arguments.length; +var i__7626__auto___9052 = (0); +while(true){ +if((i__7626__auto___9052 < len__7625__auto___9051)){ +args9042.push((arguments[i__7626__auto___9052])); + +var G__9053 = (i__7626__auto___9052 + (1)); +i__7626__auto___9052 = G__9053; +continue; +} else { +} +break; +} + +var G__9044 = args9042.length; +switch (G__9044) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9042.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__9045 = val; +var G__9046 = 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__9045,G__9046) : f.call(null,G__9045,G__9046)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9055 = nval; +var G__9056 = (n + (1)); +val = G__9055; +n = G__9056; +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__9047 = val__$1; +var G__9048 = 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__9047,G__9048) : f.call(null,G__9047,G__9048)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9057 = nval; +var G__9058 = (n + (1)); +val__$1 = G__9057; +n = G__9058; +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__9049 = val__$1; +var G__9050 = 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__9049,G__9050) : f.call(null,G__9049,G__9050)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9059 = nval; +var G__9060 = (n + (1)); +val__$1 = G__9059; +n = G__9060; +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 args9061 = []; +var len__7625__auto___9070 = arguments.length; +var i__7626__auto___9071 = (0); +while(true){ +if((i__7626__auto___9071 < len__7625__auto___9070)){ +args9061.push((arguments[i__7626__auto___9071])); + +var G__9072 = (i__7626__auto___9071 + (1)); +i__7626__auto___9071 = G__9072; +continue; +} else { +} +break; +} + +var G__9063 = args9061.length; +switch (G__9063) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9061.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__9064 = val; +var G__9065 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9064,G__9065) : f.call(null,G__9064,G__9065)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9074 = nval; +var G__9075 = (n + (1)); +val = G__9074; +n = G__9075; +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__9066 = val__$1; +var G__9067 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9066,G__9067) : f.call(null,G__9066,G__9067)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9076 = nval; +var G__9077 = (n + (1)); +val__$1 = G__9076; +n = G__9077; +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__9068 = val__$1; +var G__9069 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9068,G__9069) : f.call(null,G__9068,G__9069)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9078 = nval; +var G__9079 = (n + (1)); +val__$1 = G__9078; +n = G__9079; +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 args9084 = []; +var len__7625__auto___9087 = arguments.length; +var i__7626__auto___9088 = (0); +while(true){ +if((i__7626__auto___9088 < len__7625__auto___9087)){ +args9084.push((arguments[i__7626__auto___9088])); + +var G__9089 = (i__7626__auto___9088 + (1)); +i__7626__auto___9088 = G__9089; +continue; +} else { +} +break; +} + +var G__9086 = args9084.length; +switch (G__9086) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9084.length)].join(''))); + +} +}); + +cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); + +cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ +var len = (cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null,coll)); +if((start >= len)){ +return (-1); +} else { +var idx = (((start > (0)))?start:(((start < (0)))?(function (){var x__6848__auto__ = (0); +var y__6849__auto__ = (start + len); +return ((x__6848__auto__ > y__6849__auto__) ? x__6848__auto__ : y__6849__auto__); +})():start +)); +while(true){ +if((idx < len)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((cljs.core.nth.cljs$core$IFn$_invoke$arity$2 ? cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx) : cljs.core.nth.call(null,coll,idx)),x)){ +return idx; +} else { +var G__9091 = (idx + (1)); +idx = G__9091; +continue; +} +} else { +return (-1); +} +break; +} +} +}); + +cljs.core._indexOf.cljs$lang$maxFixedArity = 3; + +cljs.core._lastIndexOf = (function cljs$core$_lastIndexOf(var_args){ +var args9092 = []; +var len__7625__auto___9095 = arguments.length; +var i__7626__auto___9096 = (0); +while(true){ +if((i__7626__auto___9096 < len__7625__auto___9095)){ +args9092.push((arguments[i__7626__auto___9096])); + +var G__9097 = (i__7626__auto___9096 + (1)); +i__7626__auto___9096 = G__9097; +continue; +} else { +} +break; +} + +var G__9094 = args9092.length; +switch (G__9094) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9092.length)].join(''))); + +} +}); + +cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null,coll))); +}); + +cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ +var len = (cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null,coll)); +if((len === (0))){ +return (-1); +} else { +var idx = (((start > (0)))?(function (){var x__6855__auto__ = (len - (1)); +var y__6856__auto__ = start; +return ((x__6855__auto__ < y__6856__auto__) ? x__6855__auto__ : y__6856__auto__); +})():(((start < (0)))?(len + start):start +)); +while(true){ +if((idx >= (0))){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((cljs.core.nth.cljs$core$IFn$_invoke$arity$2 ? cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx) : cljs.core.nth.call(null,coll,idx)),x)){ +return idx; +} else { +var G__9099 = (idx - (1)); +idx = G__9099; +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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$ = 8192; +}) +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__9100 = null; +var G__9100__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9100__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9100 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9100__1.call(this,x); +case 2: +return G__9100__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9100.cljs$core$IFn$_invoke$arity$1 = G__9100__1; +G__9100.cljs$core$IFn$_invoke$arity$2 = G__9100__2; +return G__9100; +})() +; + +cljs.core.IndexedSeq.prototype.lastIndexOf = (function() { +var G__9101 = null; +var G__9101__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null,coll))); +}); +var G__9101__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9101 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9101__1.call(this,x); +case 2: +return G__9101__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9101.cljs$core$IFn$_invoke$arity$1 = G__9101__1; +G__9101.cljs$core$IFn$_invoke$arity$2 = G__9101__2; +return G__9101; +})() +; + +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$ = cljs.core.PROTOCOL_SENTINEL; + +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__6848__auto__ = (0); +var y__6849__auto__ = (self__.arr.length - self__.i); +return ((x__6848__auto__ > y__6849__auto__) ? x__6848__auto__ : y__6849__auto__); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var c = coll__$1.cljs$core$ICounted$_count$arity$1(null); +if((c > (0))){ +return (new cljs.core.RSeq(coll__$1,(c - (1)),null)); +} else { +return null; +} +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2 ? cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2(coll__$1,other) : cljs.core.equiv_sequential.call(null,coll__$1,other)); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,(self__.arr[self__.i]),(self__.i + (1))); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,start,self__.i); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (self__.arr[self__.i]); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs.core.IndexedSeq(self__.arr,(self__.i + (1)),null)); +} else { +return cljs.core.List.EMPTY; +} +}); + +cljs.core.IndexedSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.i < self__.arr.length)){ +return this$__$1; +} else { +return null; +} +}); + +cljs.core.IndexedSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.IndexedSeq(self__.arr,self__.i,new_meta)); +}); + +cljs.core.IndexedSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.cons.cljs$core$IFn$_invoke$arity$2 ? cljs.core.cons.cljs$core$IFn$_invoke$arity$2(o,coll__$1) : cljs.core.cons.call(null,o,coll__$1)); +}); + +cljs.core.IndexedSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +}); + +cljs.core.IndexedSeq.cljs$lang$type = true; + +cljs.core.IndexedSeq.cljs$lang$ctorStr = "cljs.core/IndexedSeq"; + +cljs.core.IndexedSeq.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/IndexedSeq"); +}); + +cljs.core.__GT_IndexedSeq = (function cljs$core$__GT_IndexedSeq(arr,i,meta){ +return (new cljs.core.IndexedSeq(arr,i,meta)); +}); + +(cljs.core.IndexedSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Create seq from a primitive JavaScript Array-like. + */ +cljs.core.prim_seq = (function cljs$core$prim_seq(var_args){ +var args9102 = []; +var len__7625__auto___9105 = arguments.length; +var i__7626__auto___9106 = (0); +while(true){ +if((i__7626__auto___9106 < len__7625__auto___9105)){ +args9102.push((arguments[i__7626__auto___9106])); + +var G__9107 = (i__7626__auto___9106 + (1)); +i__7626__auto___9106 = G__9107; +continue; +} else { +} +break; +} + +var G__9104 = args9102.length; +switch (G__9104) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9102.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 args9109 = []; +var len__7625__auto___9112 = arguments.length; +var i__7626__auto___9113 = (0); +while(true){ +if((i__7626__auto___9113 < len__7625__auto___9112)){ +args9109.push((arguments[i__7626__auto___9113])); + +var G__9114 = (i__7626__auto___9113 + (1)); +i__7626__auto___9113 = G__9114; +continue; +} else { +} +break; +} + +var G__9111 = args9109.length; +switch (G__9111) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9109.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__9118 = null; +var G__9118__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9118__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9118 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9118__1.call(this,x); +case 2: +return G__9118__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9118.cljs$core$IFn$_invoke$arity$1 = G__9118__1; +G__9118.cljs$core$IFn$_invoke$arity$2 = G__9118__2; +return G__9118; +})() +; + +cljs.core.RSeq.prototype.lastIndexOf = (function() { +var G__9119 = null; +var G__9119__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null,coll))); +}); +var G__9119__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9119 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9119__1.call(this,x); +case 2: +return G__9119__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9119.cljs$core$IFn$_invoke$arity$1 = G__9119__1; +G__9119.cljs$core$IFn$_invoke$arity$2 = G__9119__2; +return G__9119; +})() +; + +cljs.core.RSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +}); + +cljs.core.RSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.RSeq(self__.ci,self__.i,self__.meta)); +}); + +cljs.core.RSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.i > (0))){ +return (new cljs.core.RSeq(self__.ci,(self__.i - (1)),null)); +} else { +return null; +} +}); + +cljs.core.RSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (self__.i + (1)); +}); + +cljs.core.RSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +}); + +cljs.core.RSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2 ? cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2(coll__$1,other) : cljs.core.equiv_sequential.call(null,coll__$1,other)); +}); + +cljs.core.RSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var G__9116 = cljs.core.List.EMPTY; +var G__9117 = self__.meta; +return (cljs.core.with_meta.cljs$core$IFn$_invoke$arity$2 ? cljs.core.with_meta.cljs$core$IFn$_invoke$arity$2(G__9116,G__9117) : cljs.core.with_meta.call(null,G__9116,G__9117)); +}); + +cljs.core.RSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (col,f){ +var self__ = this; +var col__$1 = this; +return (cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2 ? cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,col__$1) : cljs.core.seq_reduce.call(null,f,col__$1)); +}); + +cljs.core.RSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (col,f,start){ +var self__ = this; +var col__$1 = this; +return (cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,col__$1) : cljs.core.seq_reduce.call(null,f,start,col__$1)); +}); + +cljs.core.RSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._nth.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.cljs$core$IFn$_invoke$arity$2 ? cljs.core.cons.cljs$core$IFn$_invoke$arity$2(o,coll__$1) : cljs.core.cons.call(null,o,coll__$1)); +}); + +cljs.core.RSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ci","ci",2049808339,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +}); + +cljs.core.RSeq.cljs$lang$type = true; + +cljs.core.RSeq.cljs$lang$ctorStr = "cljs.core/RSeq"; + +cljs.core.RSeq.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/RSeq"); +}); + +cljs.core.__GT_RSeq = (function cljs$core$__GT_RSeq(ci,i,meta){ +return (new cljs.core.RSeq(ci,i,meta)); +}); + +(cljs.core.RSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Same as (first (next x)) + */ +cljs.core.second = (function cljs$core$second(coll){ +return cljs.core.first(cljs.core.next(coll)); +}); +/** + * Same as (first (first x)) + */ +cljs.core.ffirst = (function cljs$core$ffirst(coll){ +return cljs.core.first(cljs.core.first(coll)); +}); +/** + * Same as (next (first x)) + */ +cljs.core.nfirst = (function cljs$core$nfirst(coll){ +return cljs.core.next(cljs.core.first(coll)); +}); +/** + * Same as (first (next x)) + */ +cljs.core.fnext = (function cljs$core$fnext(coll){ +return cljs.core.first(cljs.core.next(coll)); +}); +/** + * Same as (next (next x)) + */ +cljs.core.nnext = (function cljs$core$nnext(coll){ +return cljs.core.next(cljs.core.next(coll)); +}); +/** + * Return the last item in coll, in linear time + */ +cljs.core.last = (function cljs$core$last(s){ +while(true){ +var sn = cljs.core.next(s); +if(!((sn == null))){ +var G__9120 = sn; +s = G__9120; +continue; +} else { +return cljs.core.first(s); +} +break; +} +}); +(cljs.core.IEquiv["_"] = true); + +(cljs.core._equiv["_"] = (function (x,o){ +return (x === o); +})); +/** + * conj[oin]. Returns a new collection with the xs + * 'added'. (conj nil item) returns (item). The 'addition' may + * happen at different 'places' depending on the concrete type. + */ +cljs.core.conj = (function cljs$core$conj(var_args){ +var args9121 = []; +var len__7625__auto___9127 = arguments.length; +var i__7626__auto___9128 = (0); +while(true){ +if((i__7626__auto___9128 < len__7625__auto___9127)){ +args9121.push((arguments[i__7626__auto___9128])); + +var G__9129 = (i__7626__auto___9128 + (1)); +i__7626__auto___9128 = G__9129; +continue; +} else { +} +break; +} + +var G__9126 = args9121.length; +switch (G__9126) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9121.slice((2)),(0),null)); +return cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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 { +var x__7354__auto__ = x; +return cljs.core._conj(cljs.core.List.EMPTY,x__7354__auto__); +} +}); + +cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic = (function (coll,x,xs){ +while(true){ +if(cljs.core.truth_(xs)){ +var G__9131 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); +var G__9132 = cljs.core.first(xs); +var G__9133 = cljs.core.next(xs); +coll = G__9131; +x = G__9132; +xs = G__9133; +continue; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); +} +break; +} +}); + +cljs.core.conj.cljs$lang$applyTo = (function (seq9122){ +var G__9123 = cljs.core.first(seq9122); +var seq9122__$1 = cljs.core.next(seq9122); +var G__9124 = cljs.core.first(seq9122__$1); +var seq9122__$2 = cljs.core.next(seq9122__$1); +return cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(G__9123,G__9124,seq9122__$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__9134 = cljs.core.next(s); +var G__9135 = (acc + (1)); +s = G__9134; +acc = G__9135; +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 args9140 = []; +var len__7625__auto___9143 = arguments.length; +var i__7626__auto___9144 = (0); +while(true){ +if((i__7626__auto___9144 < len__7625__auto___9143)){ +args9140.push((arguments[i__7626__auto___9144])); + +var G__9145 = (i__7626__auto___9144 + (1)); +i__7626__auto___9144 = G__9145; +continue; +} else { +} +break; +} + +var G__9142 = args9140.length; +switch (G__9142) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9140.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__9147 = cljs.core.next(coll); +var G__9148 = (n - (1)); +coll = G__9147; +n = G__9148; +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__9149 = cljs.core.next(coll); +var G__9150 = (n - (1)); +var G__9151 = not_found; +coll = G__9149; +n = G__9150; +not_found = G__9151; +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 args9152 = []; +var len__7625__auto___9159 = arguments.length; +var i__7626__auto___9160 = (0); +while(true){ +if((i__7626__auto___9160 < len__7625__auto___9159)){ +args9152.push((arguments[i__7626__auto___9160])); + +var G__9161 = (i__7626__auto___9160 + (1)); +i__7626__auto___9160 = G__9161; +continue; +} else { +} +break; +} + +var G__9154 = args9152.length; +switch (G__9154) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9152.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(((!((coll == null)))?((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$)))?true:false):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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("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(((!((coll == null)))?((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$)))?true:false):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$2(coll,n); +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("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){ +if(((n__$1 > (0))) && (cljs.core.seq(xs))){ +var G__9163 = (n__$1 - (1)); +var G__9164 = cljs.core.rest(xs); +n__$1 = G__9163; +xs = G__9164; +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 args9165 = []; +var len__7625__auto___9170 = arguments.length; +var i__7626__auto___9171 = (0); +while(true){ +if((i__7626__auto___9171 < len__7625__auto___9170)){ +args9165.push((arguments[i__7626__auto___9171])); + +var G__9172 = (i__7626__auto___9171 + (1)); +i__7626__auto___9171 = G__9172; +continue; +} else { +} +break; +} + +var G__9167 = args9165.length; +switch (G__9167) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9165.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 args9174 = []; +var len__7625__auto___9181 = arguments.length; +var i__7626__auto___9182 = (0); +while(true){ +if((i__7626__auto___9182 < len__7625__auto___9181)){ +args9174.push((arguments[i__7626__auto___9182])); + +var G__9183 = (i__7626__auto___9182 + (1)); +i__7626__auto___9182 = G__9183; +continue; +} else { +} +break; +} + +var G__9180 = args9174.length; +switch (G__9180) { +case 3: +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9174.slice((3)),(0),null)); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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.PersistentHashMap.fromArrays([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__9185 = ret; +var G__9186 = cljs.core.first(kvs); +var G__9187 = cljs.core.second(kvs); +var G__9188 = cljs.core.nnext(kvs); +coll = G__9185; +k = G__9186; +v = G__9187; +kvs = G__9188; +continue; +} else { +return ret; +} +break; +} +}); + +cljs.core.assoc.cljs$lang$applyTo = (function (seq9175){ +var G__9176 = cljs.core.first(seq9175); +var seq9175__$1 = cljs.core.next(seq9175); +var G__9177 = cljs.core.first(seq9175__$1); +var seq9175__$2 = cljs.core.next(seq9175__$1); +var G__9178 = cljs.core.first(seq9175__$2); +var seq9175__$3 = cljs.core.next(seq9175__$2); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(G__9176,G__9177,G__9178,seq9175__$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 args9189 = []; +var len__7625__auto___9195 = arguments.length; +var i__7626__auto___9196 = (0); +while(true){ +if((i__7626__auto___9196 < len__7625__auto___9195)){ +args9189.push((arguments[i__7626__auto___9196])); + +var G__9197 = (i__7626__auto___9196 + (1)); +i__7626__auto___9196 = G__9197; +continue; +} else { +} +break; +} + +var G__9194 = args9189.length; +switch (G__9194) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9189.slice((2)),(0),null)); +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9199 = ret; +var G__9200 = cljs.core.first(ks); +var G__9201 = cljs.core.next(ks); +coll = G__9199; +k = G__9200; +ks = G__9201; +continue; +} else { +return ret; +} +} +break; +} +}); + +cljs.core.dissoc.cljs$lang$applyTo = (function (seq9190){ +var G__9191 = cljs.core.first(seq9190); +var seq9190__$1 = cljs.core.next(seq9190); +var G__9192 = cljs.core.first(seq9190__$1); +var seq9190__$2 = cljs.core.next(seq9190__$1); +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__9191,G__9192,seq9190__$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__6512__auto__ = goog.isFunction(f); +if(or__6512__auto__){ +return or__6512__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__9207 = null; +var G__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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__9207__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$22 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$22(self__.afn,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest) : cljs.core.apply.call(null,self__.afn,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); +}); +G__9207 = 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__9207__1.call(this,self__); +case 2: +return G__9207__2.call(this,self__,a); +case 3: +return G__9207__3.call(this,self__,a,b); +case 4: +return G__9207__4.call(this,self__,a,b,c); +case 5: +return G__9207__5.call(this,self__,a,b,c,d); +case 6: +return G__9207__6.call(this,self__,a,b,c,d,e); +case 7: +return G__9207__7.call(this,self__,a,b,c,d,e,f); +case 8: +return G__9207__8.call(this,self__,a,b,c,d,e,f,g); +case 9: +return G__9207__9.call(this,self__,a,b,c,d,e,f,g,h); +case 10: +return G__9207__10.call(this,self__,a,b,c,d,e,f,g,h,i); +case 11: +return G__9207__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__9207__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__9207__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__9207__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__9207__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__9207__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__9207__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__9207__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__9207__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__9207__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__9207__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__9207__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)); +}; +G__9207.cljs$core$IFn$_invoke$arity$1 = G__9207__1; +G__9207.cljs$core$IFn$_invoke$arity$2 = G__9207__2; +G__9207.cljs$core$IFn$_invoke$arity$3 = G__9207__3; +G__9207.cljs$core$IFn$_invoke$arity$4 = G__9207__4; +G__9207.cljs$core$IFn$_invoke$arity$5 = G__9207__5; +G__9207.cljs$core$IFn$_invoke$arity$6 = G__9207__6; +G__9207.cljs$core$IFn$_invoke$arity$7 = G__9207__7; +G__9207.cljs$core$IFn$_invoke$arity$8 = G__9207__8; +G__9207.cljs$core$IFn$_invoke$arity$9 = G__9207__9; +G__9207.cljs$core$IFn$_invoke$arity$10 = G__9207__10; +G__9207.cljs$core$IFn$_invoke$arity$11 = G__9207__11; +G__9207.cljs$core$IFn$_invoke$arity$12 = G__9207__12; +G__9207.cljs$core$IFn$_invoke$arity$13 = G__9207__13; +G__9207.cljs$core$IFn$_invoke$arity$14 = G__9207__14; +G__9207.cljs$core$IFn$_invoke$arity$15 = G__9207__15; +G__9207.cljs$core$IFn$_invoke$arity$16 = G__9207__16; +G__9207.cljs$core$IFn$_invoke$arity$17 = G__9207__17; +G__9207.cljs$core$IFn$_invoke$arity$18 = G__9207__18; +G__9207.cljs$core$IFn$_invoke$arity$19 = G__9207__19; +G__9207.cljs$core$IFn$_invoke$arity$20 = G__9207__20; +G__9207.cljs$core$IFn$_invoke$arity$21 = G__9207__21; +G__9207.cljs$core$IFn$_invoke$arity$22 = G__9207__22; +return G__9207; +})() +; + +cljs.core.MetaFn.prototype.apply = (function (self__,args9206){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args9206))); +}); + +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$22 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$22(self__.afn,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest) : cljs.core.apply.call(null,self__.afn,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); +}); + +cljs.core.MetaFn.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"afn","afn",216963467,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +}); + +cljs.core.MetaFn.cljs$lang$type = true; + +cljs.core.MetaFn.cljs$lang$ctorStr = "cljs.core/MetaFn"; + +cljs.core.MetaFn.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__6500__auto__ = !((o == null)); +if(and__6500__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__6500__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 args9212 = []; +var len__7625__auto___9218 = arguments.length; +var i__7626__auto___9219 = (0); +while(true){ +if((i__7626__auto___9219 < len__7625__auto___9218)){ +args9212.push((arguments[i__7626__auto___9219])); + +var G__9220 = (i__7626__auto___9219 + (1)); +i__7626__auto___9219 = G__9220; +continue; +} else { +} +break; +} + +var G__9217 = args9212.length; +switch (G__9217) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9212.slice((2)),(0),null)); +return cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9222 = ret; +var G__9223 = cljs.core.first(ks); +var G__9224 = cljs.core.next(ks); +coll = G__9222; +k = G__9223; +ks = G__9224; +continue; +} else { +return ret; +} +} +break; +} +}); + +cljs.core.disj.cljs$lang$applyTo = (function (seq9213){ +var G__9214 = cljs.core.first(seq9213); +var seq9213__$1 = cljs.core.next(seq9213); +var G__9215 = cljs.core.first(seq9213__$1); +var seq9213__$2 = cljs.core.next(seq9213__$1); +return cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic(G__9214,G__9215,seq9213__$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 Associative + */ +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 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 args9245 = []; +var len__7625__auto___9251 = arguments.length; +var i__7626__auto___9252 = (0); +while(true){ +if((i__7626__auto___9252 < len__7625__auto___9251)){ +args9245.push((arguments[i__7626__auto___9252])); + +var G__9253 = (i__7626__auto___9252 + (1)); +i__7626__auto___9252 = G__9253; +continue; +} else { +} +break; +} + +var G__9248 = args9245.length; +switch (G__9248) { +case 0: +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9245.slice((0)),(0),null)); +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic(argseq__7644__auto__); + +} +}); + +cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0 = (function (){ +return {}; +}); + +cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$2 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$2(goog.object.create,keyvals) : cljs.core.apply.call(null,goog.object.create,keyvals)); +}); + +cljs.core.js_obj.cljs$lang$applyTo = (function (seq9246){ +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq9246)); +}); + +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){ +var keys = []; +var G__9257_9259 = obj; +var G__9258_9260 = ((function (G__9257_9259,keys){ +return (function (val,key,obj__$1){ +return keys.push(key); +});})(G__9257_9259,keys)) +; +goog.object.forEach(G__9257_9259,G__9258_9260); + +return keys; +}); +/** + * Delete a property from a JavaScript object. + */ +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__9261 = (i__$1 + (1)); +var G__9262 = (j__$1 + (1)); +var G__9263 = (len__$1 - (1)); +i__$1 = G__9261; +j__$1 = G__9262; +len__$1 = G__9263; +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__9264 = (i__$1 - (1)); +var G__9265 = (j__$1 - (1)); +var G__9266 = (len__$1 - (1)); +i__$1 = G__9264; +j__$1 = G__9265; +len__$1 = G__9266; +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__6512__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__6512__auto__){ +return or__6512__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__6512__auto__ = cljs.core.fn_QMARK_(f); +if(or__6512__auto__){ +return or__6512__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 positive. + */ +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)))) || ((x === (0))); +} else { +if((x instanceof goog.math.Integer)){ +var or__6512__auto__ = cljs.core.not(x.isNegative()); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +return x.isZero(); +} +} else { +if((x instanceof goog.math.Long)){ +var or__6512__auto__ = cljs.core.not(x.isNegative()); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +return x.isZero(); +} +} 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((!((coll == null))) && (cljs.core.associative_QMARK_(coll)) && (cljs.core.contains_QMARK_(coll,k))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [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 args9279 = []; +var len__7625__auto___9285 = arguments.length; +var i__7626__auto___9286 = (0); +while(true){ +if((i__7626__auto___9286 < len__7625__auto___9285)){ +args9279.push((arguments[i__7626__auto___9286])); + +var G__9287 = (i__7626__auto___9286 + (1)); +i__7626__auto___9286 = G__9287; +continue; +} else { +} +break; +} + +var G__9284 = args9279.length; +switch (G__9284) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9279.slice((2)),(0),null)); +return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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], true); +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__9289 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(s,x__$1); +var G__9290 = etc; +s = G__9289; +xs = G__9290; +continue; +} +} else { +return true; +} +break; +} +} else { +return false; +} +}); + +cljs.core.distinct_QMARK_.cljs$lang$applyTo = (function (seq9280){ +var G__9281 = cljs.core.first(seq9280); +var seq9280__$1 = cljs.core.next(seq9280); +var G__9282 = cljs.core.first(seq9280__$1); +var seq9280__$2 = cljs.core.next(seq9280__$1); +return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic(G__9281,G__9282,seq9280__$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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" 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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" 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 args9293 = []; +var len__7625__auto___9296 = arguments.length; +var i__7626__auto___9297 = (0); +while(true){ +if((i__7626__auto___9297 < len__7625__auto___9296)){ +args9293.push((arguments[i__7626__auto___9297])); + +var G__9298 = (i__7626__auto___9297 + (1)); +i__7626__auto___9297 = G__9298; +continue; +} else { +} +break; +} + +var G__9295 = args9293.length; +switch (G__9295) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9293.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__9300 = xs; +var G__9301 = ys; +var G__9302 = len; +var G__9303 = (n + (1)); +xs = G__9300; +ys = G__9301; +len = G__9302; +n = G__9303; +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 args9304 = []; +var len__7625__auto___9309 = arguments.length; +var i__7626__auto___9310 = (0); +while(true){ +if((i__7626__auto___9310 < len__7625__auto___9309)){ +args9304.push((arguments[i__7626__auto___9310])); + +var G__9311 = (i__7626__auto___9310 + (1)); +i__7626__auto___9310 = G__9311; +continue; +} else { +} +break; +} + +var G__9306 = args9304.length; +switch (G__9306) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9304.length)].join(''))); + +} +}); + +cljs.core.sort.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +return cljs.core.sort.cljs$core$IFn$_invoke$arity$2(cljs.core.compare,coll); +}); + +cljs.core.sort.cljs$core$IFn$_invoke$arity$2 = (function (comp,coll){ +if(cljs.core.seq(coll)){ +var a = (cljs.core.to_array.cljs$core$IFn$_invoke$arity$1 ? cljs.core.to_array.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.to_array.call(null,coll)); +var G__9307_9313 = a; +var G__9308_9314 = cljs.core.fn__GT_comparator(comp); +goog.array.stableSort(G__9307_9313,G__9308_9314); + +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 args9315 = []; +var len__7625__auto___9318 = arguments.length; +var i__7626__auto___9319 = (0); +while(true){ +if((i__7626__auto___9319 < len__7625__auto___9318)){ +args9315.push((arguments[i__7626__auto___9319])); + +var G__9320 = (i__7626__auto___9319 + (1)); +i__7626__auto___9319 = G__9320; +continue; +} else { +} +break; +} + +var G__9317 = args9315.length; +switch (G__9317) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9315.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){ +return cljs.core.fn__GT_comparator(comp).call(null,(keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(x) : keyfn.call(null,x)),(keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(y) : keyfn.call(null,y))); +}),coll); +}); + +cljs.core.sort_by.cljs$lang$maxFixedArity = 3; + +cljs.core.seq_reduce = (function cljs$core$seq_reduce(var_args){ +var args9322 = []; +var len__7625__auto___9330 = arguments.length; +var i__7626__auto___9331 = (0); +while(true){ +if((i__7626__auto___9331 < len__7625__auto___9330)){ +args9322.push((arguments[i__7626__auto___9331])); + +var G__9332 = (i__7626__auto___9331 + (1)); +i__7626__auto___9331 = G__9332; +continue; +} else { +} +break; +} + +var G__9324 = args9322.length; +switch (G__9324) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9322.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__; +var G__9325 = f; +var G__9326 = cljs.core.first(s); +var G__9327 = cljs.core.next(s); +return (cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(G__9325,G__9326,G__9327) : cljs.core.reduce.call(null,G__9325,G__9326,G__9327)); +} 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__9328 = val__$1; +var G__9329 = cljs.core.first(coll__$1); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9328,G__9329) : f.call(null,G__9328,G__9329)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__9334 = nval; +var G__9335 = cljs.core.next(coll__$1); +val__$1 = G__9334; +coll__$1 = G__9335; +continue; +} +} else { +return val__$1; +} +break; +} +}); + +cljs.core.seq_reduce.cljs$lang$maxFixedArity = 3; + +/** + * Return a random permutation of coll + */ +cljs.core.shuffle = (function cljs$core$shuffle(coll){ +var a = (cljs.core.to_array.cljs$core$IFn$_invoke$arity$1 ? cljs.core.to_array.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.to_array.call(null,coll)); +goog.array.shuffle(a); + +return (cljs.core.vec.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vec.cljs$core$IFn$_invoke$arity$1(a) : cljs.core.vec.call(null,a)); +}); +/** + * 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 args9336 = []; +var len__7625__auto___9341 = arguments.length; +var i__7626__auto___9342 = (0); +while(true){ +if((i__7626__auto___9342 < len__7625__auto___9341)){ +args9336.push((arguments[i__7626__auto___9342])); + +var G__9343 = (i__7626__auto___9342 + (1)); +i__7626__auto___9342 = G__9343; +continue; +} else { +} +break; +} + +var G__9338 = args9336.length; +switch (G__9338) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9336.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 { +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 { +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 args9345 = []; +var len__7625__auto___9348 = arguments.length; +var i__7626__auto___9349 = (0); +while(true){ +if((i__7626__auto___9349 < len__7625__auto___9348)){ +args9345.push((arguments[i__7626__auto___9349])); + +var G__9350 = (i__7626__auto___9349 + (1)); +i__7626__auto___9349 = G__9350; +continue; +} else { +} +break; +} + +var G__9347 = args9345.length; +switch (G__9347) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9345.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__9352 = null; +var G__9352__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); +}); +var G__9352__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__9352__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__9352 = function(x,y){ +switch(arguments.length){ +case 0: +return G__9352__0.call(this); +case 1: +return G__9352__1.call(this,x); +case 2: +return G__9352__2.call(this,x,y); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9352.cljs$core$IFn$_invoke$arity$0 = G__9352__0; +G__9352.cljs$core$IFn$_invoke$arity$1 = G__9352__1; +G__9352.cljs$core$IFn$_invoke$arity$2 = G__9352__2; +return G__9352; +})() +}); + +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 args9353 = []; +var len__7625__auto___9356 = arguments.length; +var i__7626__auto___9357 = (0); +while(true){ +if((i__7626__auto___9357 < len__7625__auto___9356)){ +args9353.push((arguments[i__7626__auto___9357])); + +var G__9358 = (i__7626__auto___9357 + (1)); +i__7626__auto___9357 = G__9358; +continue; +} else { +} +break; +} + +var G__9355 = args9353.length; +switch (G__9355) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9353.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 args9360 = []; +var len__7625__auto___9366 = arguments.length; +var i__7626__auto___9367 = (0); +while(true){ +if((i__7626__auto___9367 < len__7625__auto___9366)){ +args9360.push((arguments[i__7626__auto___9367])); + +var G__9368 = (i__7626__auto___9367 + (1)); +i__7626__auto___9367 = G__9368; +continue; +} else { +} +break; +} + +var G__9365 = args9360.length; +switch (G__9365) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9360.slice((2)),(0),null)); +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core._PLUS_.cljs$lang$applyTo = (function (seq9361){ +var G__9362 = cljs.core.first(seq9361); +var seq9361__$1 = cljs.core.next(seq9361); +var G__9363 = cljs.core.first(seq9361__$1); +var seq9361__$2 = cljs.core.next(seq9361__$1); +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic(G__9362,G__9363,seq9361__$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 args9370 = []; +var len__7625__auto___9376 = arguments.length; +var i__7626__auto___9377 = (0); +while(true){ +if((i__7626__auto___9377 < len__7625__auto___9376)){ +args9370.push((arguments[i__7626__auto___9377])); + +var G__9378 = (i__7626__auto___9377 + (1)); +i__7626__auto___9377 = G__9378; +continue; +} else { +} +break; +} + +var G__9375 = args9370.length; +switch (G__9375) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9370.slice((2)),(0),null)); +return cljs.core._.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core._.cljs$lang$applyTo = (function (seq9371){ +var G__9372 = cljs.core.first(seq9371); +var seq9371__$1 = cljs.core.next(seq9371); +var G__9373 = cljs.core.first(seq9371__$1); +var seq9371__$2 = cljs.core.next(seq9371__$1); +return cljs.core._.cljs$core$IFn$_invoke$arity$variadic(G__9372,G__9373,seq9371__$2); +}); + +cljs.core._.cljs$lang$maxFixedArity = (2); + +/** + * Returns the product of nums. (*) returns 1. + */ +cljs.core._STAR_ = (function cljs$core$_STAR_(var_args){ +var args9380 = []; +var len__7625__auto___9386 = arguments.length; +var i__7626__auto___9387 = (0); +while(true){ +if((i__7626__auto___9387 < len__7625__auto___9386)){ +args9380.push((arguments[i__7626__auto___9387])); + +var G__9388 = (i__7626__auto___9387 + (1)); +i__7626__auto___9387 = G__9388; +continue; +} else { +} +break; +} + +var G__9385 = args9380.length; +switch (G__9385) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9380.slice((2)),(0),null)); +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core._STAR_.cljs$lang$applyTo = (function (seq9381){ +var G__9382 = cljs.core.first(seq9381); +var seq9381__$1 = cljs.core.next(seq9381); +var G__9383 = cljs.core.first(seq9381__$1); +var seq9381__$2 = cljs.core.next(seq9381__$1); +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic(G__9382,G__9383,seq9381__$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 args9390 = []; +var len__7625__auto___9396 = arguments.length; +var i__7626__auto___9397 = (0); +while(true){ +if((i__7626__auto___9397 < len__7625__auto___9396)){ +args9390.push((arguments[i__7626__auto___9397])); + +var G__9398 = (i__7626__auto___9397 + (1)); +i__7626__auto___9397 = G__9398; +continue; +} else { +} +break; +} + +var G__9395 = args9390.length; +switch (G__9395) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9390.slice((2)),(0),null)); +return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core._SLASH_.cljs$lang$applyTo = (function (seq9391){ +var G__9392 = cljs.core.first(seq9391); +var seq9391__$1 = cljs.core.next(seq9391); +var G__9393 = cljs.core.first(seq9391__$1); +var seq9391__$2 = cljs.core.next(seq9391__$1); +return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic(G__9392,G__9393,seq9391__$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 args9400 = []; +var len__7625__auto___9406 = arguments.length; +var i__7626__auto___9407 = (0); +while(true){ +if((i__7626__auto___9407 < len__7625__auto___9406)){ +args9400.push((arguments[i__7626__auto___9407])); + +var G__9408 = (i__7626__auto___9407 + (1)); +i__7626__auto___9407 = G__9408; +continue; +} else { +} +break; +} + +var G__9405 = args9400.length; +switch (G__9405) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9400.slice((2)),(0),null)); +return cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9410 = y; +var G__9411 = cljs.core.first(more); +var G__9412 = cljs.core.next(more); +x = G__9410; +y = G__9411; +more = G__9412; +continue; +} else { +return (y < cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +cljs.core._LT_.cljs$lang$applyTo = (function (seq9401){ +var G__9402 = cljs.core.first(seq9401); +var seq9401__$1 = cljs.core.next(seq9401); +var G__9403 = cljs.core.first(seq9401__$1); +var seq9401__$2 = cljs.core.next(seq9401__$1); +return cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic(G__9402,G__9403,seq9401__$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 args9413 = []; +var len__7625__auto___9419 = arguments.length; +var i__7626__auto___9420 = (0); +while(true){ +if((i__7626__auto___9420 < len__7625__auto___9419)){ +args9413.push((arguments[i__7626__auto___9420])); + +var G__9421 = (i__7626__auto___9420 + (1)); +i__7626__auto___9420 = G__9421; +continue; +} else { +} +break; +} + +var G__9418 = args9413.length; +switch (G__9418) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9413.slice((2)),(0),null)); +return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9423 = y; +var G__9424 = cljs.core.first(more); +var G__9425 = cljs.core.next(more); +x = G__9423; +y = G__9424; +more = G__9425; +continue; +} else { +return (y <= cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +cljs.core._LT__EQ_.cljs$lang$applyTo = (function (seq9414){ +var G__9415 = cljs.core.first(seq9414); +var seq9414__$1 = cljs.core.next(seq9414); +var G__9416 = cljs.core.first(seq9414__$1); +var seq9414__$2 = cljs.core.next(seq9414__$1); +return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic(G__9415,G__9416,seq9414__$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 args9426 = []; +var len__7625__auto___9432 = arguments.length; +var i__7626__auto___9433 = (0); +while(true){ +if((i__7626__auto___9433 < len__7625__auto___9432)){ +args9426.push((arguments[i__7626__auto___9433])); + +var G__9434 = (i__7626__auto___9433 + (1)); +i__7626__auto___9433 = G__9434; +continue; +} else { +} +break; +} + +var G__9431 = args9426.length; +switch (G__9431) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9426.slice((2)),(0),null)); +return cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9436 = y; +var G__9437 = cljs.core.first(more); +var G__9438 = cljs.core.next(more); +x = G__9436; +y = G__9437; +more = G__9438; +continue; +} else { +return (y > cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +cljs.core._GT_.cljs$lang$applyTo = (function (seq9427){ +var G__9428 = cljs.core.first(seq9427); +var seq9427__$1 = cljs.core.next(seq9427); +var G__9429 = cljs.core.first(seq9427__$1); +var seq9427__$2 = cljs.core.next(seq9427__$1); +return cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic(G__9428,G__9429,seq9427__$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 args9439 = []; +var len__7625__auto___9445 = arguments.length; +var i__7626__auto___9446 = (0); +while(true){ +if((i__7626__auto___9446 < len__7625__auto___9445)){ +args9439.push((arguments[i__7626__auto___9446])); + +var G__9447 = (i__7626__auto___9446 + (1)); +i__7626__auto___9446 = G__9447; +continue; +} else { +} +break; +} + +var G__9444 = args9439.length; +switch (G__9444) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9439.slice((2)),(0),null)); +return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9449 = y; +var G__9450 = cljs.core.first(more); +var G__9451 = cljs.core.next(more); +x = G__9449; +y = G__9450; +more = G__9451; +continue; +} else { +return (y >= cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +cljs.core._GT__EQ_.cljs$lang$applyTo = (function (seq9440){ +var G__9441 = cljs.core.first(seq9440); +var seq9440__$1 = cljs.core.next(seq9440); +var G__9442 = cljs.core.first(seq9440__$1); +var seq9440__$2 = cljs.core.next(seq9440__$1); +return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic(G__9441,G__9442,seq9440__$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 args9452 = []; +var len__7625__auto___9458 = arguments.length; +var i__7626__auto___9459 = (0); +while(true){ +if((i__7626__auto___9459 < len__7625__auto___9458)){ +args9452.push((arguments[i__7626__auto___9459])); + +var G__9460 = (i__7626__auto___9459 + (1)); +i__7626__auto___9459 = G__9460; +continue; +} else { +} +break; +} + +var G__9457 = args9452.length; +switch (G__9457) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9452.slice((2)),(0),null)); +return cljs.core.max.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__6848__auto__ = x; +var y__6849__auto__ = y; +return ((x__6848__auto__ > y__6849__auto__) ? x__6848__auto__ : y__6849__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__6848__auto__ = x; +var y__6849__auto__ = y; +return ((x__6848__auto__ > y__6849__auto__) ? x__6848__auto__ : y__6849__auto__); +})(),more); +}); + +cljs.core.max.cljs$lang$applyTo = (function (seq9453){ +var G__9454 = cljs.core.first(seq9453); +var seq9453__$1 = cljs.core.next(seq9453); +var G__9455 = cljs.core.first(seq9453__$1); +var seq9453__$2 = cljs.core.next(seq9453__$1); +return cljs.core.max.cljs$core$IFn$_invoke$arity$variadic(G__9454,G__9455,seq9453__$2); +}); + +cljs.core.max.cljs$lang$maxFixedArity = (2); + +/** + * Returns the least of the nums. + */ +cljs.core.min = (function cljs$core$min(var_args){ +var args9462 = []; +var len__7625__auto___9468 = arguments.length; +var i__7626__auto___9469 = (0); +while(true){ +if((i__7626__auto___9469 < len__7625__auto___9468)){ +args9462.push((arguments[i__7626__auto___9469])); + +var G__9470 = (i__7626__auto___9469 + (1)); +i__7626__auto___9469 = G__9470; +continue; +} else { +} +break; +} + +var G__9467 = args9462.length; +switch (G__9467) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9462.slice((2)),(0),null)); +return cljs.core.min.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__6855__auto__ = x; +var y__6856__auto__ = y; +return ((x__6855__auto__ < y__6856__auto__) ? x__6855__auto__ : y__6856__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__6855__auto__ = x; +var y__6856__auto__ = y; +return ((x__6855__auto__ < y__6856__auto__) ? x__6855__auto__ : y__6856__auto__); +})(),more); +}); + +cljs.core.min.cljs$lang$applyTo = (function (seq9463){ +var G__9464 = cljs.core.first(seq9463); +var seq9463__$1 = cljs.core.next(seq9463); +var G__9465 = cljs.core.first(seq9463__$1); +var seq9463__$2 = cljs.core.next(seq9463__$1); +return cljs.core.min.cljs$core$IFn$_invoke$arity$variadic(G__9464,G__9465,seq9463__$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 args9472 = []; +var len__7625__auto___9478 = arguments.length; +var i__7626__auto___9479 = (0); +while(true){ +if((i__7626__auto___9479 < len__7625__auto___9478)){ +args9472.push((arguments[i__7626__auto___9479])); + +var G__9480 = (i__7626__auto___9479 + (1)); +i__7626__auto___9479 = G__9480; +continue; +} else { +} +break; +} + +var G__9477 = args9472.length; +switch (G__9477) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9472.slice((2)),(0),null)); +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_add.cljs$lang$applyTo = (function (seq9473){ +var G__9474 = cljs.core.first(seq9473); +var seq9473__$1 = cljs.core.next(seq9473); +var G__9475 = cljs.core.first(seq9473__$1); +var seq9473__$2 = cljs.core.next(seq9473__$1); +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic(G__9474,G__9475,seq9473__$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 args9482 = []; +var len__7625__auto___9488 = arguments.length; +var i__7626__auto___9489 = (0); +while(true){ +if((i__7626__auto___9489 < len__7625__auto___9488)){ +args9482.push((arguments[i__7626__auto___9489])); + +var G__9490 = (i__7626__auto___9489 + (1)); +i__7626__auto___9489 = G__9490; +continue; +} else { +} +break; +} + +var G__9487 = args9482.length; +switch (G__9487) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9482.slice((2)),(0),null)); +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_add_int.cljs$lang$applyTo = (function (seq9483){ +var G__9484 = cljs.core.first(seq9483); +var seq9483__$1 = cljs.core.next(seq9483); +var G__9485 = cljs.core.first(seq9483__$1); +var seq9483__$2 = cljs.core.next(seq9483__$1); +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic(G__9484,G__9485,seq9483__$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 args9492 = []; +var len__7625__auto___9498 = arguments.length; +var i__7626__auto___9499 = (0); +while(true){ +if((i__7626__auto___9499 < len__7625__auto___9498)){ +args9492.push((arguments[i__7626__auto___9499])); + +var G__9500 = (i__7626__auto___9499 + (1)); +i__7626__auto___9499 = G__9500; +continue; +} else { +} +break; +} + +var G__9497 = args9492.length; +switch (G__9497) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9492.slice((2)),(0),null)); +return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_divide_int.cljs$lang$applyTo = (function (seq9493){ +var G__9494 = cljs.core.first(seq9493); +var seq9493__$1 = cljs.core.next(seq9493); +var G__9495 = cljs.core.first(seq9493__$1); +var seq9493__$2 = cljs.core.next(seq9493__$1); +return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic(G__9494,G__9495,seq9493__$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 args9502 = []; +var len__7625__auto___9508 = arguments.length; +var i__7626__auto___9509 = (0); +while(true){ +if((i__7626__auto___9509 < len__7625__auto___9508)){ +args9502.push((arguments[i__7626__auto___9509])); + +var G__9510 = (i__7626__auto___9509 + (1)); +i__7626__auto___9509 = G__9510; +continue; +} else { +} +break; +} + +var G__9507 = args9502.length; +switch (G__9507) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9502.slice((2)),(0),null)); +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_multiply.cljs$lang$applyTo = (function (seq9503){ +var G__9504 = cljs.core.first(seq9503); +var seq9503__$1 = cljs.core.next(seq9503); +var G__9505 = cljs.core.first(seq9503__$1); +var seq9503__$2 = cljs.core.next(seq9503__$1); +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic(G__9504,G__9505,seq9503__$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 args9512 = []; +var len__7625__auto___9518 = arguments.length; +var i__7626__auto___9519 = (0); +while(true){ +if((i__7626__auto___9519 < len__7625__auto___9518)){ +args9512.push((arguments[i__7626__auto___9519])); + +var G__9520 = (i__7626__auto___9519 + (1)); +i__7626__auto___9519 = G__9520; +continue; +} else { +} +break; +} + +var G__9517 = args9512.length; +switch (G__9517) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9512.slice((2)),(0),null)); +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_multiply_int.cljs$lang$applyTo = (function (seq9513){ +var G__9514 = cljs.core.first(seq9513); +var seq9513__$1 = cljs.core.next(seq9513); +var G__9515 = cljs.core.first(seq9513__$1); +var seq9513__$2 = cljs.core.next(seq9513__$1); +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic(G__9514,G__9515,seq9513__$2); +}); + +cljs.core.unchecked_multiply_int.cljs$lang$maxFixedArity = (2); + +cljs.core.unchecked_negate = (function cljs$core$unchecked_negate(x){ +return (- x); +}); +cljs.core.unchecked_negate_int = (function cljs$core$unchecked_negate_int(x){ +return (- x); +}); +cljs.core.unchecked_remainder_int = (function cljs$core$unchecked_remainder_int(x,n){ +return (cljs.core.mod.cljs$core$IFn$_invoke$arity$2 ? cljs.core.mod.cljs$core$IFn$_invoke$arity$2(x,n) : cljs.core.mod.call(null,x,n)); +}); +/** + * If no ys are supplied, returns the negation of x, else subtracts + * the ys from x and returns the result. + */ +cljs.core.unchecked_subtract = (function cljs$core$unchecked_subtract(var_args){ +var args9522 = []; +var len__7625__auto___9528 = arguments.length; +var i__7626__auto___9529 = (0); +while(true){ +if((i__7626__auto___9529 < len__7625__auto___9528)){ +args9522.push((arguments[i__7626__auto___9529])); + +var G__9530 = (i__7626__auto___9529 + (1)); +i__7626__auto___9529 = G__9530; +continue; +} else { +} +break; +} + +var G__9527 = args9522.length; +switch (G__9527) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9522.slice((2)),(0),null)); +return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_subtract.cljs$lang$applyTo = (function (seq9523){ +var G__9524 = cljs.core.first(seq9523); +var seq9523__$1 = cljs.core.next(seq9523); +var G__9525 = cljs.core.first(seq9523__$1); +var seq9523__$2 = cljs.core.next(seq9523__$1); +return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic(G__9524,G__9525,seq9523__$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 args9532 = []; +var len__7625__auto___9538 = arguments.length; +var i__7626__auto___9539 = (0); +while(true){ +if((i__7626__auto___9539 < len__7625__auto___9538)){ +args9532.push((arguments[i__7626__auto___9539])); + +var G__9540 = (i__7626__auto___9539 + (1)); +i__7626__auto___9539 = G__9540; +continue; +} else { +} +break; +} + +var G__9537 = args9532.length; +switch (G__9537) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9532.slice((2)),(0),null)); +return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.unchecked_subtract_int.cljs$lang$applyTo = (function (seq9533){ +var G__9534 = cljs.core.first(seq9533); +var seq9533__$1 = cljs.core.next(seq9533); +var G__9535 = cljs.core.first(seq9533__$1); +var seq9533__$2 = cljs.core.next(seq9533__$1); +return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic(G__9534,G__9535,seq9533__$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 args9542 = []; +var len__7625__auto___9548 = arguments.length; +var i__7626__auto___9549 = (0); +while(true){ +if((i__7626__auto___9549 < len__7625__auto___9548)){ +args9542.push((arguments[i__7626__auto___9549])); + +var G__9550 = (i__7626__auto___9549 + (1)); +i__7626__auto___9549 = G__9550; +continue; +} else { +} +break; +} + +var G__9547 = args9542.length; +switch (G__9547) { +case 2: +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9542.slice((2)),(0),null)); +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.bit_xor.cljs$lang$applyTo = (function (seq9543){ +var G__9544 = cljs.core.first(seq9543); +var seq9543__$1 = cljs.core.next(seq9543); +var G__9545 = cljs.core.first(seq9543__$1); +var seq9543__$2 = cljs.core.next(seq9543__$1); +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic(G__9544,G__9545,seq9543__$2); +}); + +cljs.core.bit_xor.cljs$lang$maxFixedArity = (2); + +/** + * Bitwise and + */ +cljs.core.bit_and = (function cljs$core$bit_and(var_args){ +var args9552 = []; +var len__7625__auto___9558 = arguments.length; +var i__7626__auto___9559 = (0); +while(true){ +if((i__7626__auto___9559 < len__7625__auto___9558)){ +args9552.push((arguments[i__7626__auto___9559])); + +var G__9560 = (i__7626__auto___9559 + (1)); +i__7626__auto___9559 = G__9560; +continue; +} else { +} +break; +} + +var G__9557 = args9552.length; +switch (G__9557) { +case 2: +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9552.slice((2)),(0),null)); +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.bit_and.cljs$lang$applyTo = (function (seq9553){ +var G__9554 = cljs.core.first(seq9553); +var seq9553__$1 = cljs.core.next(seq9553); +var G__9555 = cljs.core.first(seq9553__$1); +var seq9553__$2 = cljs.core.next(seq9553__$1); +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic(G__9554,G__9555,seq9553__$2); +}); + +cljs.core.bit_and.cljs$lang$maxFixedArity = (2); + +/** + * Bitwise or + */ +cljs.core.bit_or = (function cljs$core$bit_or(var_args){ +var args9562 = []; +var len__7625__auto___9568 = arguments.length; +var i__7626__auto___9569 = (0); +while(true){ +if((i__7626__auto___9569 < len__7625__auto___9568)){ +args9562.push((arguments[i__7626__auto___9569])); + +var G__9570 = (i__7626__auto___9569 + (1)); +i__7626__auto___9569 = G__9570; +continue; +} else { +} +break; +} + +var G__9567 = args9562.length; +switch (G__9567) { +case 2: +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9562.slice((2)),(0),null)); +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.bit_or.cljs$lang$applyTo = (function (seq9563){ +var G__9564 = cljs.core.first(seq9563); +var seq9563__$1 = cljs.core.next(seq9563); +var G__9565 = cljs.core.first(seq9563__$1); +var seq9563__$2 = cljs.core.next(seq9563__$1); +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic(G__9564,G__9565,seq9563__$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 args9572 = []; +var len__7625__auto___9578 = arguments.length; +var i__7626__auto___9579 = (0); +while(true){ +if((i__7626__auto___9579 < len__7625__auto___9578)){ +args9572.push((arguments[i__7626__auto___9579])); + +var G__9580 = (i__7626__auto___9579 + (1)); +i__7626__auto___9579 = G__9580; +continue; +} else { +} +break; +} + +var G__9577 = args9572.length; +switch (G__9577) { +case 2: +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9572.slice((2)),(0),null)); +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.bit_and_not.cljs$lang$applyTo = (function (seq9573){ +var G__9574 = cljs.core.first(seq9573); +var seq9573__$1 = cljs.core.next(seq9573); +var G__9575 = cljs.core.first(seq9573__$1); +var seq9573__$2 = cljs.core.next(seq9573__$1); +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic(G__9574,G__9575,seq9573__$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 args9582 = []; +var len__7625__auto___9588 = arguments.length; +var i__7626__auto___9589 = (0); +while(true){ +if((i__7626__auto___9589 < len__7625__auto___9588)){ +args9582.push((arguments[i__7626__auto___9589])); + +var G__9590 = (i__7626__auto___9589 + (1)); +i__7626__auto___9589 = G__9590; +continue; +} else { +} +break; +} + +var G__9587 = args9582.length; +switch (G__9587) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9582.slice((2)),(0),null)); +return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9592 = y; +var G__9593 = cljs.core.first(more); +var G__9594 = cljs.core.next(more); +x = G__9592; +y = G__9593; +more = G__9594; +continue; +} else { +return (y === cljs.core.first(more)); +} +} else { +return false; +} +break; +} +}); + +cljs.core._EQ__EQ_.cljs$lang$applyTo = (function (seq9583){ +var G__9584 = cljs.core.first(seq9583); +var seq9583__$1 = cljs.core.next(seq9583); +var G__9585 = cljs.core.first(seq9583__$1); +var seq9583__$2 = cljs.core.next(seq9583__$1); +return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic(G__9584,G__9585,seq9583__$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__9595 = (n__$1 - (1)); +var G__9596 = cljs.core.next(xs); +n__$1 = G__9595; +xs = G__9596; +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 args9597 = []; +var len__7625__auto___9602 = arguments.length; +var i__7626__auto___9603 = (0); +while(true){ +if((i__7626__auto___9603 < len__7625__auto___9602)){ +args9597.push((arguments[i__7626__auto___9603])); + +var G__9604 = (i__7626__auto___9603 + (1)); +i__7626__auto___9603 = G__9604; +continue; +} else { +} +break; +} + +var G__9601 = args9597.length; +switch (G__9601) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9597.slice((1)),(0),null)); +return cljs.core.str.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7644__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__9606 = sb.append([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(more))].join('')); +var G__9607 = cljs.core.next(more); +sb = G__9606; +more = G__9607; +continue; +} else { +return sb.toString(); +} +break; +} +}); + +cljs.core.str.cljs$lang$applyTo = (function (seq9598){ +var G__9599 = cljs.core.first(seq9598); +var seq9598__$1 = cljs.core.next(seq9598); +return cljs.core.str.cljs$core$IFn$_invoke$arity$variadic(G__9599,seq9598__$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 args9608 = []; +var len__7625__auto___9611 = arguments.length; +var i__7626__auto___9612 = (0); +while(true){ +if((i__7626__auto___9612 < len__7625__auto___9611)){ +args9608.push((arguments[i__7626__auto___9612])); + +var G__9613 = (i__7626__auto___9612 + (1)); +i__7626__auto___9612 = G__9613; +continue; +} else { +} +break; +} + +var G__9610 = args9608.length; +switch (G__9610) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9608.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__9615 = cljs.core.next(xs); +var G__9616 = cljs.core.next(ys); +xs = G__9615; +ys = G__9616; +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__9617 = cljs.core.hash_combine(res,cljs.core.hash(cljs.core.first(s))); +var G__9618 = cljs.core.next(s); +res = G__9617; +s = G__9618; +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__9619 = ((h + (cljs.core.hash((cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.key.call(null,e))) ^ cljs.core.hash((cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.val.call(null,e))))) % (4503599627370496)); +var G__9620 = cljs.core.next(s); +h = G__9619; +s = G__9620; +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__9621 = ((h + cljs.core.hash(e)) % (4503599627370496)); +var G__9622 = cljs.core.next(s__$1); +h = G__9621; +s__$1 = G__9622; +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__9633_9643 = cljs.core.seq(fn_map); +var chunk__9634_9644 = null; +var count__9635_9645 = (0); +var i__9636_9646 = (0); +while(true){ +if((i__9636_9646 < count__9635_9645)){ +var vec__9637_9647 = chunk__9634_9644.cljs$core$IIndexed$_nth$arity$2(null,i__9636_9646); +var key_name_9648 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__9637_9647,(0),null); +var f_9649 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__9637_9647,(1),null); +var str_name_9650 = (cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(key_name_9648) : cljs.core.name.call(null,key_name_9648)); +(obj[str_name_9650] = f_9649); + +var G__9651 = seq__9633_9643; +var G__9652 = chunk__9634_9644; +var G__9653 = count__9635_9645; +var G__9654 = (i__9636_9646 + (1)); +seq__9633_9643 = G__9651; +chunk__9634_9644 = G__9652; +count__9635_9645 = G__9653; +i__9636_9646 = G__9654; +continue; +} else { +var temp__4657__auto___9655 = cljs.core.seq(seq__9633_9643); +if(temp__4657__auto___9655){ +var seq__9633_9656__$1 = temp__4657__auto___9655; +if(cljs.core.chunked_seq_QMARK_(seq__9633_9656__$1)){ +var c__7331__auto___9657 = (cljs.core.chunk_first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.chunk_first.cljs$core$IFn$_invoke$arity$1(seq__9633_9656__$1) : cljs.core.chunk_first.call(null,seq__9633_9656__$1)); +var G__9658 = (cljs.core.chunk_rest.cljs$core$IFn$_invoke$arity$1 ? cljs.core.chunk_rest.cljs$core$IFn$_invoke$arity$1(seq__9633_9656__$1) : cljs.core.chunk_rest.call(null,seq__9633_9656__$1)); +var G__9659 = c__7331__auto___9657; +var G__9660 = cljs.core.count(c__7331__auto___9657); +var G__9661 = (0); +seq__9633_9643 = G__9658; +chunk__9634_9644 = G__9659; +count__9635_9645 = G__9660; +i__9636_9646 = G__9661; +continue; +} else { +var vec__9640_9662 = cljs.core.first(seq__9633_9656__$1); +var key_name_9663 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__9640_9662,(0),null); +var f_9664 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__9640_9662,(1),null); +var str_name_9665 = (cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(key_name_9663) : cljs.core.name.call(null,key_name_9663)); +(obj[str_name_9665] = f_9664); + +var G__9666 = cljs.core.next(seq__9633_9656__$1); +var G__9667 = null; +var G__9668 = (0); +var G__9669 = (0); +seq__9633_9643 = G__9666; +chunk__9634_9644 = G__9667; +count__9635_9645 = G__9668; +i__9636_9646 = G__9669; +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__9670 = null; +var G__9670__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9670__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9670 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9670__1.call(this,x); +case 2: +return G__9670__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9670.cljs$core$IFn$_invoke$arity$1 = G__9670__1; +G__9670.cljs$core$IFn$_invoke$arity$2 = G__9670__2; +return G__9670; +})() +; + +cljs.core.List.prototype.lastIndexOf = (function() { +var G__9671 = null; +var G__9671__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__9671__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9671 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9671__1.call(this,x); +case 2: +return G__9671__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9671.cljs$core$IFn$_invoke$arity$1 = G__9671__1; +G__9671.cljs$core$IFn$_invoke$arity$2 = G__9671__2; +return G__9671; +})() +; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/List"); +}); + +cljs.core.__GT_List = (function cljs$core$__GT_List(meta,first,rest,count,__hash){ +return (new cljs.core.List(meta,first,rest,count,__hash)); +}); + +/** + * Returns true if x implements IList + */ +cljs.core.list_QMARK_ = (function cljs$core$list_QMARK_(x){ +if(!((x == null))){ +if(((x.cljs$lang$protocol_mask$partition0$ & (33554432))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IList$))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IList,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IList,x); +} +}); +(cljs.core.List.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IList} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.EmptyList = (function (meta){ +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 65937614; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}) +cljs.core.EmptyList.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +}); + +cljs.core.EmptyList.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); +}); + +cljs.core.EmptyList.prototype.indexOf = (function() { +var G__9674 = null; +var G__9674__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9674__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9674 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9674__1.call(this,x); +case 2: +return G__9674__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9674.cljs$core$IFn$_invoke$arity$1 = G__9674__1; +G__9674.cljs$core$IFn$_invoke$arity$2 = G__9674__2; +return G__9674; +})() +; + +cljs.core.EmptyList.prototype.lastIndexOf = (function() { +var G__9675 = null; +var G__9675__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__9675__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9675 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9675__1.call(this,x); +case 2: +return G__9675__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9675.cljs$core$IFn$_invoke$arity$1 = G__9675__1; +G__9675.cljs$core$IFn$_invoke$arity$2 = G__9675__2; +return G__9675; +})() +; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/EmptyList"); +}); + +cljs.core.__GT_EmptyList = (function cljs$core$__GT_EmptyList(meta){ +return (new cljs.core.EmptyList(meta)); +}); + +cljs.core.List.EMPTY = (new cljs.core.EmptyList(null)); +(cljs.core.EmptyList.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Returns true if coll satisfies? IReversible. + */ +cljs.core.reversible_QMARK_ = (function cljs$core$reversible_QMARK_(coll){ +if(!((coll == null))){ +if(((coll.cljs$lang$protocol_mask$partition0$ & (134217728))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReversible$))){ +return true; +} else { +if((!coll.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IReversible,coll); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IReversible,coll); +} +}); +/** + * Returns, in constant time, a seq of the items in rev (which + * can be a vector or sorted-map), in reverse order. If rev is empty returns nil + */ +cljs.core.rseq = (function cljs$core$rseq(rev){ +return cljs.core._rseq(rev); +}); +/** + * Returns a seq of the items in coll in reverse order. Not lazy. + */ +cljs.core.reverse = (function cljs$core$reverse(coll){ +if(cljs.core.reversible_QMARK_(coll)){ +return cljs.core.rseq(coll); +} 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__7632__auto__ = []; +var len__7625__auto___9679 = arguments.length; +var i__7626__auto___9680 = (0); +while(true){ +if((i__7626__auto___9680 < len__7625__auto___9679)){ +args__7632__auto__.push((arguments[i__7626__auto___9680])); + +var G__9681 = (i__7626__auto___9680 + (1)); +i__7626__auto___9680 = G__9681; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.list.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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__9682 = xs__$1.cljs$core$INext$_next$arity$1(null); +xs__$1 = G__9682; +continue; +} else { +return arr; +} +break; +} +})()); +var i = arr.length; +var r = cljs.core.List.EMPTY; +while(true){ +if((i > (0))){ +var G__9683 = (i - (1)); +var G__9684 = r.cljs$core$ICollection$_conj$arity$2(null,(arr[(i - (1))])); +i = G__9683; +r = G__9684; +continue; +} else { +return r; +} +break; +} +}); + +cljs.core.list.cljs$lang$maxFixedArity = (0); + +cljs.core.list.cljs$lang$applyTo = (function (seq9678){ +return cljs.core.list.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq9678)); +}); + + +/** +* @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__9685 = null; +var G__9685__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9685__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9685 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9685__1.call(this,x); +case 2: +return G__9685__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9685.cljs$core$IFn$_invoke$arity$1 = G__9685__1; +G__9685.cljs$core$IFn$_invoke$arity$2 = G__9685__2; +return G__9685; +})() +; + +cljs.core.Cons.prototype.lastIndexOf = (function() { +var G__9686 = null; +var G__9686__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__9686__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9686 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9686__1.call(this,x); +case 2: +return G__9686__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9686.cljs$core$IFn$_invoke$arity$1 = G__9686__1; +G__9686.cljs$core$IFn$_invoke$arity$2 = G__9686__2; +return G__9686; +})() +; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/Cons"); +}); + +cljs.core.__GT_Cons = (function cljs$core$__GT_Cons(meta,first,rest,__hash){ +return (new cljs.core.Cons(meta,first,rest,__hash)); +}); + +(cljs.core.Cons.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Returns a new seq where x is the first element and coll is the rest. + */ +cljs.core.cons = (function cljs$core$cons(x,coll){ +if((function (){var or__6512__auto__ = (coll == null); +if(or__6512__auto__){ +return or__6512__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__6500__auto__ = cljs.core.not(a.ns); +if(and__6500__auto__){ +return b.ns; +} else { +return and__6500__auto__; +} +})())){ +return (-1); +} else { +if(cljs.core.truth_(a.ns)){ +if(cljs.core.not(b.ns)){ +return (1); +} else { +var nsc = (function (){var G__9697 = a.ns; +var G__9698 = b.ns; +return goog.array.defaultCompare(G__9697,G__9698); +})(); +if(((0) === nsc)){ +var G__9699 = a.name; +var G__9700 = b.name; +return goog.array.defaultCompare(G__9699,G__9700); +} else { +return nsc; +} +} +} else { +var G__9701 = a.name; +var G__9702 = b.name; +return goog.array.defaultCompare(G__9701,G__9702); + +} +} +} +}); + +/** +* @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(":"),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__9704 = null; +var G__9704__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__9704__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__9704 = function(self__,coll,not_found){ +switch(arguments.length){ +case 2: +return G__9704__2.call(this,self__,coll); +case 3: +return G__9704__3.call(this,self__,coll,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9704.cljs$core$IFn$_invoke$arity$2 = G__9704__2; +G__9704.cljs$core$IFn$_invoke$arity$3 = G__9704__3; +return G__9704; +})() +; + +cljs.core.Keyword.prototype.apply = (function (self__,args9703){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args9703))); +}); + +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__6952__auto__ = self__._hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_keyword(this$__$1); +self__._hash = h__6952__auto____$1; + +return h__6952__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(":"),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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("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){ +var and__6500__auto__ = cljs.core.ident_QMARK_(x); +if(and__6500__auto__){ +var and__6500__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__6500__auto____$1)){ +return true; +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__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){ +var and__6500__auto__ = (x instanceof cljs.core.Symbol); +if(and__6500__auto__){ +var and__6500__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__6500__auto____$1)){ +return true; +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__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){ +var and__6500__auto__ = (x instanceof cljs.core.Keyword); +if(and__6500__auto__){ +var and__6500__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__6500__auto____$1)){ +return true; +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__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 args9707 = []; +var len__7625__auto___9710 = arguments.length; +var i__7626__auto___9711 = (0); +while(true){ +if((i__7626__auto___9711 < len__7625__auto___9710)){ +args9707.push((arguments[i__7626__auto___9711])); + +var G__9712 = (i__7626__auto___9711 + (1)); +i__7626__auto___9711 = G__9712; +continue; +} else { +} +break; +} + +var G__9709 = args9707.length; +switch (G__9709) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9707.length)].join(''))); + +} +}); + +cljs.core.keyword.cljs$core$IFn$_invoke$arity$1 = (function (name){ +if((name instanceof cljs.core.Keyword)){ +return name; +} else { +if((name instanceof cljs.core.Symbol)){ +return (new cljs.core.Keyword(cljs.core.namespace(name),(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(name) : cljs.core.name.call(null,name)),name.str,null)); +} else { +if(typeof name === 'string'){ +var parts = name.split("/"); +if((parts.length === (2))){ +return (new cljs.core.Keyword((parts[(0)]),(parts[(1)]),name,null)); +} else { +return (new cljs.core.Keyword(null,(parts[(0)]),name,null)); +} +} else { +return null; +} +} +} +}); + +cljs.core.keyword.cljs$core$IFn$_invoke$arity$2 = (function (ns,name){ +var ns__$1 = (((ns instanceof cljs.core.Keyword))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(ns) : cljs.core.name.call(null,ns)):(((ns instanceof cljs.core.Symbol))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(ns) : cljs.core.name.call(null,ns)):ns +)); +var name__$1 = (((name instanceof cljs.core.Keyword))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(name) : cljs.core.name.call(null,name)):(((name instanceof cljs.core.Symbol))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(name) : cljs.core.name.call(null,name)):name +)); +return (new cljs.core.Keyword(ns__$1,name__$1,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(ns__$1)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$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__9714 = null; +var G__9714__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9714__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9714 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9714__1.call(this,x); +case 2: +return G__9714__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9714.cljs$core$IFn$_invoke$arity$1 = G__9714__1; +G__9714.cljs$core$IFn$_invoke$arity$2 = G__9714__2; +return G__9714; +})() +; + +cljs.core.LazySeq.prototype.lastIndexOf = (function() { +var G__9715 = null; +var G__9715__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__9715__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9715 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9715__1.call(this,x); +case 2: +return G__9715__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9715.cljs$core$IFn$_invoke$arity$1 = G__9715__1; +G__9715.cljs$core$IFn$_invoke$arity$2 = G__9715__2; +return G__9715; +})() +; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__9716 = ls.sval(); +ls = G__9716; +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,self__.fn,self__.s,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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/LazySeq"); +}); + +cljs.core.__GT_LazySeq = (function cljs$core$__GT_LazySeq(meta,fn,s,__hash){ +return (new cljs.core.LazySeq(meta,fn,s,__hash)); +}); + +(cljs.core.LazySeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.ICounted} +*/ +cljs.core.ChunkBuffer = (function (buf,end){ +this.buf = buf; +this.end = end; +this.cljs$lang$protocol_mask$partition0$ = 2; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.ChunkBuffer.prototype.add = (function (o){ +var self__ = this; +var _ = this; +(self__.buf[self__.end] = o); + +return self__.end = (self__.end + (1)); +}); + +cljs.core.ChunkBuffer.prototype.chunk = (function (o){ +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args9717 = []; +var len__7625__auto___9720 = arguments.length; +var i__7626__auto___9721 = (0); +while(true){ +if((i__7626__auto___9721 < len__7625__auto___9720)){ +args9717.push((arguments[i__7626__auto___9721])); + +var G__9722 = (i__7626__auto___9721 + (1)); +i__7626__auto___9721 = G__9722; +continue; +} else { +} +break; +} + +var G__9719 = args9717.length; +switch (G__9719) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9717.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__9724 = null; +var G__9724__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9724__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9724 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9724__1.call(this,x); +case 2: +return G__9724__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9724.cljs$core$IFn$_invoke$arity$1 = G__9724__1; +G__9724.cljs$core$IFn$_invoke$arity$2 = G__9724__2; +return G__9724; +})() +; + +cljs.core.ChunkedCons.prototype.lastIndexOf = (function() { +var G__9725 = null; +var G__9725__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__9725__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9725 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9725__1.call(this,x); +case 2: +return G__9725__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9725.cljs$core$IFn$_invoke$arity$1 = G__9725__1; +G__9725.cljs$core$IFn$_invoke$arity$2 = G__9725__2; +return G__9725; +})() +; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/ChunkedCons"); +}); + +cljs.core.__GT_ChunkedCons = (function cljs$core$__GT_ChunkedCons(chunk,more,meta,__hash){ +return (new cljs.core.ChunkedCons(chunk,more,meta,__hash)); +}); + +(cljs.core.ChunkedCons.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.chunk_cons = (function cljs$core$chunk_cons(chunk,rest){ +if((cljs.core._count(chunk) === (0))){ +return rest; +} else { +return (new cljs.core.ChunkedCons(chunk,rest,null,null)); +} +}); +cljs.core.chunk_append = (function cljs$core$chunk_append(b,x){ +return b.add(x); +}); +cljs.core.chunk = (function cljs$core$chunk(b){ +return b.chunk(); +}); +cljs.core.chunk_first = (function cljs$core$chunk_first(s){ +return cljs.core._chunked_first(s); +}); +cljs.core.chunk_rest = (function cljs$core$chunk_rest(s){ +return cljs.core._chunked_rest(s); +}); +cljs.core.chunk_next = (function cljs$core$chunk_next(s){ +if(((!((s == null)))?((((s.cljs$lang$protocol_mask$partition1$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$IChunkedNext$)))?true:false):false)){ +return 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 = s; +while(true){ +if(cljs.core.seq(s__$1)){ +ary.push(cljs.core.first(s__$1)); + +var G__9728 = cljs.core.next(s__$1); +s__$1 = G__9728; +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_9729 = (0); +var xs_9730 = cljs.core.seq(coll); +while(true){ +if(xs_9730){ +(ret[i_9729] = cljs.core.to_array(cljs.core.first(xs_9730))); + +var G__9731 = (i_9729 + (1)); +var G__9732 = cljs.core.next(xs_9730); +i_9729 = G__9731; +xs_9730 = G__9732; +continue; +} else { +} +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 args9733 = []; +var len__7625__auto___9736 = arguments.length; +var i__7626__auto___9737 = (0); +while(true){ +if((i__7626__auto___9737 < len__7625__auto___9736)){ +args9733.push((arguments[i__7626__auto___9737])); + +var G__9738 = (i__7626__auto___9737 + (1)); +i__7626__auto___9737 = G__9738; +continue; +} else { +} +break; +} + +var G__9735 = args9733.length; +switch (G__9735) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9733.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__9740 = (i + (1)); +var G__9741 = cljs.core.next(s__$1); +i = G__9740; +s__$1 = G__9741; +continue; +} else { +return a; +} +break; +} +} else { +var n__7435__auto___9742 = size; +var i_9743 = (0); +while(true){ +if((i_9743 < n__7435__auto___9742)){ +(a[i_9743] = init_val_or_seq); + +var G__9744 = (i_9743 + (1)); +i_9743 = G__9744; +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 args9745 = []; +var len__7625__auto___9748 = arguments.length; +var i__7626__auto___9749 = (0); +while(true){ +if((i__7626__auto___9749 < len__7625__auto___9748)){ +args9745.push((arguments[i__7626__auto___9749])); + +var G__9750 = (i__7626__auto___9749 + (1)); +i__7626__auto___9749 = G__9750; +continue; +} else { +} +break; +} + +var G__9747 = args9745.length; +switch (G__9747) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9745.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__9752 = (i + (1)); +var G__9753 = cljs.core.next(s__$1); +i = G__9752; +s__$1 = G__9753; +continue; +} else { +return a; +} +break; +} +} else { +var n__7435__auto___9754 = size; +var i_9755 = (0); +while(true){ +if((i_9755 < n__7435__auto___9754)){ +(a[i_9755] = init_val_or_seq); + +var G__9756 = (i_9755 + (1)); +i_9755 = G__9756; +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 args9757 = []; +var len__7625__auto___9760 = arguments.length; +var i__7626__auto___9761 = (0); +while(true){ +if((i__7626__auto___9761 < len__7625__auto___9760)){ +args9757.push((arguments[i__7626__auto___9761])); + +var G__9762 = (i__7626__auto___9761 + (1)); +i__7626__auto___9761 = G__9762; +continue; +} else { +} +break; +} + +var G__9759 = args9757.length; +switch (G__9759) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9757.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__9764 = (i + (1)); +var G__9765 = cljs.core.next(s__$1); +i = G__9764; +s__$1 = G__9765; +continue; +} else { +return a; +} +break; +} +} else { +var n__7435__auto___9766 = size; +var i_9767 = (0); +while(true){ +if((i_9767 < n__7435__auto___9766)){ +(a[i_9767] = init_val_or_seq); + +var G__9768 = (i_9767 + (1)); +i_9767 = G__9768; +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 args9769 = []; +var len__7625__auto___9772 = arguments.length; +var i__7626__auto___9773 = (0); +while(true){ +if((i__7626__auto___9773 < len__7625__auto___9772)){ +args9769.push((arguments[i__7626__auto___9773])); + +var G__9774 = (i__7626__auto___9773 + (1)); +i__7626__auto___9773 = G__9774; +continue; +} else { +} +break; +} + +var G__9771 = args9769.length; +switch (G__9771) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9769.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__9776 = (i + (1)); +var G__9777 = cljs.core.next(s__$1); +i = G__9776; +s__$1 = G__9777; +continue; +} else { +return a; +} +break; +} +} else { +var n__7435__auto___9778 = size; +var i_9779 = (0); +while(true){ +if((i_9779 < n__7435__auto___9778)){ +(a[i_9779] = init_val_or_seq); + +var G__9780 = (i_9779 + (1)); +i_9779 = G__9780; +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__9781 = (i + (1)); +var G__9782 = cljs.core.next(s); +i = G__9781; +s = G__9782; +continue; +} else { +return i; +} +break; +} +} +}); +cljs.core.spread = (function cljs$core$spread(arglist){ +if((arglist == null)){ +return null; +} else { +if((cljs.core.next(arglist) == null)){ +return cljs.core.seq(cljs.core.first(arglist)); +} else { +return cljs.core.cons(cljs.core.first(arglist),(function (){var G__9784 = cljs.core.next(arglist); +return (cljs.core.spread.cljs$core$IFn$_invoke$arity$1 ? cljs.core.spread.cljs$core$IFn$_invoke$arity$1(G__9784) : cljs.core.spread.call(null,G__9784)); +})()); + +} +} +}); +/** + * Returns a lazy seq representing the concatenation of the elements in the supplied colls. + */ +cljs.core.concat = (function cljs$core$concat(var_args){ +var args9785 = []; +var len__7625__auto___9797 = arguments.length; +var i__7626__auto___9798 = (0); +while(true){ +if((i__7626__auto___9798 < len__7625__auto___9797)){ +args9785.push((arguments[i__7626__auto___9798])); + +var G__9799 = (i__7626__auto___9798 + (1)); +i__7626__auto___9798 = G__9799; +continue; +} else { +} +break; +} + +var G__9790 = args9785.length; +switch (G__9790) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9785.slice((2)),(0),null)); +return cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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); +}); + +cljs.core.concat.cljs$lang$applyTo = (function (seq9786){ +var G__9787 = cljs.core.first(seq9786); +var seq9786__$1 = cljs.core.next(seq9786); +var G__9788 = cljs.core.first(seq9786__$1); +var seq9786__$2 = cljs.core.next(seq9786__$1); +return cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic(G__9787,G__9788,seq9786__$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 args9801 = []; +var len__7625__auto___9809 = arguments.length; +var i__7626__auto___9810 = (0); +while(true){ +if((i__7626__auto___9810 < len__7625__auto___9809)){ +args9801.push((arguments[i__7626__auto___9810])); + +var G__9811 = (i__7626__auto___9810 + (1)); +i__7626__auto___9810 = G__9811; +continue; +} else { +} +break; +} + +var G__9808 = args9801.length; +switch (G__9808) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9801.slice((4)),(0),null)); +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__7644__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))))); +}); + +cljs.core.list_STAR_.cljs$lang$applyTo = (function (seq9802){ +var G__9803 = cljs.core.first(seq9802); +var seq9802__$1 = cljs.core.next(seq9802); +var G__9804 = cljs.core.first(seq9802__$1); +var seq9802__$2 = cljs.core.next(seq9802__$1); +var G__9805 = cljs.core.first(seq9802__$2); +var seq9802__$3 = cljs.core.next(seq9802__$2); +var G__9806 = cljs.core.first(seq9802__$3); +var seq9802__$4 = cljs.core.next(seq9802__$3); +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$variadic(G__9803,G__9804,G__9805,G__9806,seq9802__$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 args9813 = []; +var len__7625__auto___9819 = arguments.length; +var i__7626__auto___9820 = (0); +while(true){ +if((i__7626__auto___9820 < len__7625__auto___9819)){ +args9813.push((arguments[i__7626__auto___9820])); + +var G__9821 = (i__7626__auto___9820 + (1)); +i__7626__auto___9820 = G__9821; +continue; +} else { +} +break; +} + +var G__9818 = args9813.length; +switch (G__9818) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9813.slice((2)),(0),null)); +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9823 = ntcoll; +var G__9824 = cljs.core.first(vals); +var G__9825 = cljs.core.next(vals); +tcoll = G__9823; +val = G__9824; +vals = G__9825; +continue; +} else { +return ntcoll; +} +break; +} +}); + +cljs.core.conj_BANG_.cljs$lang$applyTo = (function (seq9814){ +var G__9815 = cljs.core.first(seq9814); +var seq9814__$1 = cljs.core.next(seq9814); +var G__9816 = cljs.core.first(seq9814__$1); +var seq9814__$2 = cljs.core.next(seq9814__$1); +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__9815,G__9816,seq9814__$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 args9826 = []; +var len__7625__auto___9833 = arguments.length; +var i__7626__auto___9834 = (0); +while(true){ +if((i__7626__auto___9834 < len__7625__auto___9833)){ +args9826.push((arguments[i__7626__auto___9834])); + +var G__9835 = (i__7626__auto___9834 + (1)); +i__7626__auto___9834 = G__9835; +continue; +} else { +} +break; +} + +var G__9832 = args9826.length; +switch (G__9832) { +case 3: +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9826.slice((3)),(0),null)); +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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__9837 = ntcoll; +var G__9838 = cljs.core.first(kvs); +var G__9839 = cljs.core.second(kvs); +var G__9840 = cljs.core.nnext(kvs); +tcoll = G__9837; +key = G__9838; +val = G__9839; +kvs = G__9840; +continue; +} else { +return ntcoll; +} +break; +} +}); + +cljs.core.assoc_BANG_.cljs$lang$applyTo = (function (seq9827){ +var G__9828 = cljs.core.first(seq9827); +var seq9827__$1 = cljs.core.next(seq9827); +var G__9829 = cljs.core.first(seq9827__$1); +var seq9827__$2 = cljs.core.next(seq9827__$1); +var G__9830 = cljs.core.first(seq9827__$2); +var seq9827__$3 = cljs.core.next(seq9827__$2); +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__9828,G__9829,G__9830,seq9827__$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 args9841 = []; +var len__7625__auto___9847 = arguments.length; +var i__7626__auto___9848 = (0); +while(true){ +if((i__7626__auto___9848 < len__7625__auto___9847)){ +args9841.push((arguments[i__7626__auto___9848])); + +var G__9849 = (i__7626__auto___9848 + (1)); +i__7626__auto___9848 = G__9849; +continue; +} else { +} +break; +} + +var G__9846 = args9841.length; +switch (G__9846) { +case 2: +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9841.slice((2)),(0),null)); +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9851 = ntcoll; +var G__9852 = cljs.core.first(ks); +var G__9853 = cljs.core.next(ks); +tcoll = G__9851; +key = G__9852; +ks = G__9853; +continue; +} else { +return ntcoll; +} +break; +} +}); + +cljs.core.dissoc_BANG_.cljs$lang$applyTo = (function (seq9842){ +var G__9843 = cljs.core.first(seq9842); +var seq9842__$1 = cljs.core.next(seq9842); +var G__9844 = cljs.core.first(seq9842__$1); +var seq9842__$2 = cljs.core.next(seq9842__$1); +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__9843,G__9844,seq9842__$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 args9854 = []; +var len__7625__auto___9860 = arguments.length; +var i__7626__auto___9861 = (0); +while(true){ +if((i__7626__auto___9861 < len__7625__auto___9860)){ +args9854.push((arguments[i__7626__auto___9861])); + +var G__9862 = (i__7626__auto___9861 + (1)); +i__7626__auto___9861 = G__9862; +continue; +} else { +} +break; +} + +var G__9859 = args9854.length; +switch (G__9859) { +case 2: +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9854.slice((2)),(0),null)); +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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__9864 = ntcoll; +var G__9865 = cljs.core.first(vals); +var G__9866 = cljs.core.next(vals); +tcoll = G__9864; +val = G__9865; +vals = G__9866; +continue; +} else { +return ntcoll; +} +break; +} +}); + +cljs.core.disj_BANG_.cljs$lang$applyTo = (function (seq9855){ +var G__9856 = cljs.core.first(seq9855); +var seq9855__$1 = cljs.core.next(seq9855); +var G__9857 = cljs.core.first(seq9855__$1); +var seq9855__$2 = cljs.core.next(seq9855__$1); +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__9856,G__9857,seq9855__$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 a7479 = cljs.core._first(args__$1); +var args__$2 = cljs.core._rest(args__$1); +if((argc === (1))){ +if(f.cljs$core$IFn$_invoke$arity$1){ +return f.cljs$core$IFn$_invoke$arity$1(a7479); +} else { +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(a7479) : f.call(null,a7479)); +} +} else { +var b7480 = cljs.core._first(args__$2); +var args__$3 = cljs.core._rest(args__$2); +if((argc === (2))){ +if(f.cljs$core$IFn$_invoke$arity$2){ +return f.cljs$core$IFn$_invoke$arity$2(a7479,b7480); +} else { +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(a7479,b7480) : f.call(null,a7479,b7480)); +} +} else { +var c7481 = cljs.core._first(args__$3); +var args__$4 = cljs.core._rest(args__$3); +if((argc === (3))){ +if(f.cljs$core$IFn$_invoke$arity$3){ +return f.cljs$core$IFn$_invoke$arity$3(a7479,b7480,c7481); +} else { +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(a7479,b7480,c7481) : f.call(null,a7479,b7480,c7481)); +} +} else { +var d7482 = cljs.core._first(args__$4); +var args__$5 = cljs.core._rest(args__$4); +if((argc === (4))){ +if(f.cljs$core$IFn$_invoke$arity$4){ +return f.cljs$core$IFn$_invoke$arity$4(a7479,b7480,c7481,d7482); +} else { +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(a7479,b7480,c7481,d7482) : f.call(null,a7479,b7480,c7481,d7482)); +} +} else { +var e7483 = cljs.core._first(args__$5); +var args__$6 = cljs.core._rest(args__$5); +if((argc === (5))){ +if(f.cljs$core$IFn$_invoke$arity$5){ +return f.cljs$core$IFn$_invoke$arity$5(a7479,b7480,c7481,d7482,e7483); +} else { +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(a7479,b7480,c7481,d7482,e7483) : f.call(null,a7479,b7480,c7481,d7482,e7483)); +} +} else { +var f7484 = cljs.core._first(args__$6); +var args__$7 = cljs.core._rest(args__$6); +if((argc === (6))){ +if(f.cljs$core$IFn$_invoke$arity$6){ +return f.cljs$core$IFn$_invoke$arity$6(a7479,b7480,c7481,d7482,e7483,f7484); +} else { +return (f.cljs$core$IFn$_invoke$arity$6 ? f.cljs$core$IFn$_invoke$arity$6(a7479,b7480,c7481,d7482,e7483,f7484) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484)); +} +} else { +var g7485 = cljs.core._first(args__$7); +var args__$8 = cljs.core._rest(args__$7); +if((argc === (7))){ +if(f.cljs$core$IFn$_invoke$arity$7){ +return f.cljs$core$IFn$_invoke$arity$7(a7479,b7480,c7481,d7482,e7483,f7484,g7485); +} else { +return (f.cljs$core$IFn$_invoke$arity$7 ? f.cljs$core$IFn$_invoke$arity$7(a7479,b7480,c7481,d7482,e7483,f7484,g7485) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485)); +} +} else { +var h7486 = cljs.core._first(args__$8); +var args__$9 = cljs.core._rest(args__$8); +if((argc === (8))){ +if(f.cljs$core$IFn$_invoke$arity$8){ +return f.cljs$core$IFn$_invoke$arity$8(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486); +} else { +return (f.cljs$core$IFn$_invoke$arity$8 ? f.cljs$core$IFn$_invoke$arity$8(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486)); +} +} else { +var i7487 = cljs.core._first(args__$9); +var args__$10 = cljs.core._rest(args__$9); +if((argc === (9))){ +if(f.cljs$core$IFn$_invoke$arity$9){ +return f.cljs$core$IFn$_invoke$arity$9(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487); +} else { +return (f.cljs$core$IFn$_invoke$arity$9 ? f.cljs$core$IFn$_invoke$arity$9(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487)); +} +} else { +var j7488 = cljs.core._first(args__$10); +var args__$11 = cljs.core._rest(args__$10); +if((argc === (10))){ +if(f.cljs$core$IFn$_invoke$arity$10){ +return f.cljs$core$IFn$_invoke$arity$10(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488); +} else { +return (f.cljs$core$IFn$_invoke$arity$10 ? f.cljs$core$IFn$_invoke$arity$10(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488)); +} +} else { +var k7489 = cljs.core._first(args__$11); +var args__$12 = cljs.core._rest(args__$11); +if((argc === (11))){ +if(f.cljs$core$IFn$_invoke$arity$11){ +return f.cljs$core$IFn$_invoke$arity$11(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489); +} else { +return (f.cljs$core$IFn$_invoke$arity$11 ? f.cljs$core$IFn$_invoke$arity$11(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489)); +} +} else { +var l7490 = cljs.core._first(args__$12); +var args__$13 = cljs.core._rest(args__$12); +if((argc === (12))){ +if(f.cljs$core$IFn$_invoke$arity$12){ +return f.cljs$core$IFn$_invoke$arity$12(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490); +} else { +return (f.cljs$core$IFn$_invoke$arity$12 ? f.cljs$core$IFn$_invoke$arity$12(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490)); +} +} else { +var m7491 = cljs.core._first(args__$13); +var args__$14 = cljs.core._rest(args__$13); +if((argc === (13))){ +if(f.cljs$core$IFn$_invoke$arity$13){ +return f.cljs$core$IFn$_invoke$arity$13(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491); +} else { +return (f.cljs$core$IFn$_invoke$arity$13 ? f.cljs$core$IFn$_invoke$arity$13(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491)); +} +} else { +var n7492 = cljs.core._first(args__$14); +var args__$15 = cljs.core._rest(args__$14); +if((argc === (14))){ +if(f.cljs$core$IFn$_invoke$arity$14){ +return f.cljs$core$IFn$_invoke$arity$14(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492); +} else { +return (f.cljs$core$IFn$_invoke$arity$14 ? f.cljs$core$IFn$_invoke$arity$14(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492)); +} +} else { +var o7493 = cljs.core._first(args__$15); +var args__$16 = cljs.core._rest(args__$15); +if((argc === (15))){ +if(f.cljs$core$IFn$_invoke$arity$15){ +return f.cljs$core$IFn$_invoke$arity$15(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493); +} else { +return (f.cljs$core$IFn$_invoke$arity$15 ? f.cljs$core$IFn$_invoke$arity$15(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493)); +} +} else { +var p7494 = cljs.core._first(args__$16); +var args__$17 = cljs.core._rest(args__$16); +if((argc === (16))){ +if(f.cljs$core$IFn$_invoke$arity$16){ +return f.cljs$core$IFn$_invoke$arity$16(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494); +} else { +return (f.cljs$core$IFn$_invoke$arity$16 ? f.cljs$core$IFn$_invoke$arity$16(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494)); +} +} else { +var q7495 = cljs.core._first(args__$17); +var args__$18 = cljs.core._rest(args__$17); +if((argc === (17))){ +if(f.cljs$core$IFn$_invoke$arity$17){ +return f.cljs$core$IFn$_invoke$arity$17(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495); +} else { +return (f.cljs$core$IFn$_invoke$arity$17 ? f.cljs$core$IFn$_invoke$arity$17(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495)); +} +} else { +var r7496 = cljs.core._first(args__$18); +var args__$19 = cljs.core._rest(args__$18); +if((argc === (18))){ +if(f.cljs$core$IFn$_invoke$arity$18){ +return f.cljs$core$IFn$_invoke$arity$18(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496); +} else { +return (f.cljs$core$IFn$_invoke$arity$18 ? f.cljs$core$IFn$_invoke$arity$18(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496)); +} +} else { +var s7497 = cljs.core._first(args__$19); +var args__$20 = cljs.core._rest(args__$19); +if((argc === (19))){ +if(f.cljs$core$IFn$_invoke$arity$19){ +return f.cljs$core$IFn$_invoke$arity$19(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496,s7497); +} else { +return (f.cljs$core$IFn$_invoke$arity$19 ? f.cljs$core$IFn$_invoke$arity$19(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496,s7497) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496,s7497)); +} +} else { +var t7498 = cljs.core._first(args__$20); +var args__$21 = cljs.core._rest(args__$20); +if((argc === (20))){ +if(f.cljs$core$IFn$_invoke$arity$20){ +return f.cljs$core$IFn$_invoke$arity$20(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496,s7497,t7498); +} else { +return (f.cljs$core$IFn$_invoke$arity$20 ? f.cljs$core$IFn$_invoke$arity$20(a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496,s7497,t7498) : f.call(null,a7479,b7480,c7481,d7482,e7483,f7484,g7485,h7486,i7487,j7488,k7489,l7490,m7491,n7492,o7493,p7494,q7495,r7496,s7497,t7498)); +} +} else { +throw (new Error("Only up to 20 arguments supported on functions")); +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); + +/** + * Applies fn f to the argument list formed by prepending intervening arguments to args. + */ +cljs.core.apply = (function cljs$core$apply(var_args){ +var args9867 = []; +var len__7625__auto___9876 = arguments.length; +var i__7626__auto___9877 = (0); +while(true){ +if((i__7626__auto___9877 < len__7625__auto___9876)){ +args9867.push((arguments[i__7626__auto___9877])); + +var G__9878 = (i__7626__auto___9877 + (1)); +i__7626__auto___9877 = G__9878; +continue; +} else { +} +break; +} + +var G__9875 = args9867.length; +switch (G__9875) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9867.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__7644__auto__); + +} +}); + +cljs.core.apply.cljs$core$IFn$_invoke$arity$2 = (function (f,args){ +var fixed_arity = f.cljs$lang$maxFixedArity; +if(f.cljs$lang$applyTo){ +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 f.apply(f,cljs.core.to_array(args)); +} +}); + +cljs.core.apply.cljs$core$IFn$_invoke$arity$3 = (function (f,x,args){ +var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2(x,args); +var fixed_arity = f.cljs$lang$maxFixedArity; +if(f.cljs$lang$applyTo){ +var bc = cljs.core.bounded_count((fixed_arity + (1)),arglist); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return f.apply(f,cljs.core.to_array(arglist)); +} +}); + +cljs.core.apply.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,args){ +var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3(x,y,args); +var fixed_arity = f.cljs$lang$maxFixedArity; +if(f.cljs$lang$applyTo){ +var bc = cljs.core.bounded_count((fixed_arity + (1)),arglist); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return f.apply(f,cljs.core.to_array(arglist)); +} +}); + +cljs.core.apply.cljs$core$IFn$_invoke$arity$5 = (function (f,x,y,z,args){ +var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(x,y,z,args); +var fixed_arity = f.cljs$lang$maxFixedArity; +if(f.cljs$lang$applyTo){ +var bc = cljs.core.bounded_count((fixed_arity + (1)),arglist); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return f.apply(f,cljs.core.to_array(arglist)); +} +}); + +cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic = (function (f,a,b,c,d,args){ +var arglist = cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,cljs.core.cons(d,cljs.core.spread(args))))); +var fixed_arity = f.cljs$lang$maxFixedArity; +if(f.cljs$lang$applyTo){ +var bc = cljs.core.bounded_count((fixed_arity + (1)),arglist); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return f.apply(f,cljs.core.to_array(arglist)); +} +}); + +cljs.core.apply.cljs$lang$applyTo = (function (seq9868){ +var G__9869 = cljs.core.first(seq9868); +var seq9868__$1 = cljs.core.next(seq9868); +var G__9870 = cljs.core.first(seq9868__$1); +var seq9868__$2 = cljs.core.next(seq9868__$1); +var G__9871 = cljs.core.first(seq9868__$2); +var seq9868__$3 = cljs.core.next(seq9868__$2); +var G__9872 = cljs.core.first(seq9868__$3); +var seq9868__$4 = cljs.core.next(seq9868__$3); +var G__9873 = cljs.core.first(seq9868__$4); +var seq9868__$5 = cljs.core.next(seq9868__$4); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(G__9869,G__9870,G__9871,G__9872,G__9873,seq9868__$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 args9880 = []; +var len__7625__auto___9905 = arguments.length; +var i__7626__auto___9906 = (0); +while(true){ +if((i__7626__auto___9906 < len__7625__auto___9905)){ +args9880.push((arguments[i__7626__auto___9906])); + +var G__9907 = (i__7626__auto___9906 + (1)); +i__7626__auto___9906 = G__9907; +continue; +} else { +} +break; +} + +var G__9889 = args9880.length; +switch (G__9889) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9880.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__7644__auto__); + +} +}); + +cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$2 = (function (obj,f){ +return cljs.core.with_meta(obj,(function (){var G__9890 = cljs.core.meta(obj); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__9890) : f.call(null,G__9890)); +})()); +}); + +cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$3 = (function (obj,f,a){ +return cljs.core.with_meta(obj,(function (){var G__9891 = cljs.core.meta(obj); +var G__9892 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__9891,G__9892) : f.call(null,G__9891,G__9892)); +})()); +}); + +cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4 = (function (obj,f,a,b){ +return cljs.core.with_meta(obj,(function (){var G__9893 = cljs.core.meta(obj); +var G__9894 = a; +var G__9895 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__9893,G__9894,G__9895) : f.call(null,G__9893,G__9894,G__9895)); +})()); +}); + +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__9896 = cljs.core.meta(obj); +var G__9897 = a; +var G__9898 = b; +var G__9899 = c; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__9896,G__9897,G__9898,G__9899) : f.call(null,G__9896,G__9897,G__9898,G__9899)); +})()); +}); + +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__9900 = cljs.core.meta(obj); +var G__9901 = a; +var G__9902 = b; +var G__9903 = c; +var G__9904 = d; +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(G__9900,G__9901,G__9902,G__9903,G__9904) : f.call(null,G__9900,G__9901,G__9902,G__9903,G__9904)); +})()); +}); + +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.array_seq([d,args], 0))); +}); + +cljs.core.vary_meta.cljs$lang$applyTo = (function (seq9881){ +var G__9882 = cljs.core.first(seq9881); +var seq9881__$1 = cljs.core.next(seq9881); +var G__9883 = cljs.core.first(seq9881__$1); +var seq9881__$2 = cljs.core.next(seq9881__$1); +var G__9884 = cljs.core.first(seq9881__$2); +var seq9881__$3 = cljs.core.next(seq9881__$2); +var G__9885 = cljs.core.first(seq9881__$3); +var seq9881__$4 = cljs.core.next(seq9881__$3); +var G__9886 = cljs.core.first(seq9881__$4); +var seq9881__$5 = cljs.core.next(seq9881__$4); +var G__9887 = cljs.core.first(seq9881__$5); +var seq9881__$6 = cljs.core.next(seq9881__$5); +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$variadic(G__9882,G__9883,G__9884,G__9885,G__9886,G__9887,seq9881__$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 args9909 = []; +var len__7625__auto___9915 = arguments.length; +var i__7626__auto___9916 = (0); +while(true){ +if((i__7626__auto___9916 < len__7625__auto___9915)){ +args9909.push((arguments[i__7626__auto___9916])); + +var G__9917 = (i__7626__auto___9916 + (1)); +i__7626__auto___9916 = G__9917; +continue; +} else { +} +break; +} + +var G__9914 = args9909.length; +switch (G__9914) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9909.slice((2)),(0),null)); +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__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)); +}); + +cljs.core.not_EQ_.cljs$lang$applyTo = (function (seq9910){ +var G__9911 = cljs.core.first(seq9910); +var seq9910__$1 = cljs.core.next(seq9910); +var G__9912 = cljs.core.first(seq9910__$1); +var seq9910__$2 = cljs.core.next(seq9910__$1); +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic(G__9911,G__9912,seq9910__$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$core9922 !== 'undefined'){ +} else { + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.t_cljs$core9922 = (function (meta9923){ +this.meta9923 = meta9923; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.t_cljs$core9922.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_9924,meta9923__$1){ +var self__ = this; +var _9924__$1 = this; +return (new cljs.core.t_cljs$core9922(meta9923__$1)); +}); + +cljs.core.t_cljs$core9922.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_9924){ +var self__ = this; +var _9924__$1 = this; +return self__.meta9923; +}); + +cljs.core.t_cljs$core9922.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return false; +}); + +cljs.core.t_cljs$core9922.prototype.next = (function (){ +var self__ = this; +var _ = this; +return (new Error("No such element")); +}); + +cljs.core.t_cljs$core9922.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +}); + +cljs.core.t_cljs$core9922.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta9923","meta9923",1540659892,null)], null); +}); + +cljs.core.t_cljs$core9922.cljs$lang$type = true; + +cljs.core.t_cljs$core9922.cljs$lang$ctorStr = "cljs.core/t_cljs$core9922"; + +cljs.core.t_cljs$core9922.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/t_cljs$core9922"); +}); + +cljs.core.__GT_t_cljs$core9922 = (function cljs$core$nil_iter_$___GT_t_cljs$core9922(meta9923){ +return (new cljs.core.t_cljs$core9922(meta9923)); +}); + +} + +return (new cljs.core.t_cljs$core9922(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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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((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.iterable_QMARK_(coll)){ +return cljs.core._iterator(coll); +} else { +if(cljs.core.seqable_QMARK_(coll)){ +return cljs.core.seq_iter(coll); +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot create iterator from "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll)].join(''))); + +} +} +} +} +} +}); +cljs.core.lazy_transformer = (function cljs$core$lazy_transformer(stepper){ +return (new cljs.core.LazyTransformer(stepper,null,null,null)); +}); + +/** +* @constructor +*/ +cljs.core.Stepper = (function (xform,iter){ +this.xform = xform; +this.iter = iter; +}) +cljs.core.Stepper.prototype.step = (function (lt){ +var self__ = this; +var this$ = this; +while(true){ +if(cljs.core.truth_((function (){var and__6500__auto__ = !((lt.stepper == null)); +if(and__6500__auto__){ +return self__.iter.hasNext(); +} else { +return and__6500__auto__; +} +})())){ +if(cljs.core.reduced_QMARK_((function (){var G__9925 = lt; +var G__9926 = self__.iter.next(); +return (self__.xform.cljs$core$IFn$_invoke$arity$2 ? self__.xform.cljs$core$IFn$_invoke$arity$2(G__9925,G__9926) : self__.xform.call(null,G__9925,G__9926)); +})())){ +if((lt.rest == null)){ +} else { +lt.rest.stepper = null; +} +} else { +continue; +} +} else { +} +break; +} + +if((lt.stepper == null)){ +return null; +} else { +return (self__.xform.cljs$core$IFn$_invoke$arity$1 ? self__.xform.cljs$core$IFn$_invoke$arity$1(lt) : self__.xform.call(null,lt)); +} +}); + +cljs.core.Stepper.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,"iter","iter",-1346195486,null)], null); +}); + +cljs.core.Stepper.cljs$lang$type = true; + +cljs.core.Stepper.cljs$lang$ctorStr = "cljs.core/Stepper"; + +cljs.core.Stepper.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/Stepper"); +}); + +cljs.core.__GT_Stepper = (function cljs$core$__GT_Stepper(xform,iter){ +return (new cljs.core.Stepper(xform,iter)); +}); + +cljs.core.stepper = (function cljs$core$stepper(xform,iter){ +var stepfn = (function() { +var cljs$core$stepper_$_stepfn = null; +var cljs$core$stepper_$_stepfn__1 = (function (result){ +var lt = ((cljs.core.reduced_QMARK_(result))?cljs.core.deref(result):result); +lt.stepper = null; + +return result; +}); +var cljs$core$stepper_$_stepfn__2 = (function (result,input){ +var lt = result; +lt.first = input; + +lt.rest = cljs.core.lazy_transformer(lt.stepper); + +lt.stepper = null; + +return lt.rest; +}); +cljs$core$stepper_$_stepfn = function(result,input){ +switch(arguments.length){ +case 1: +return cljs$core$stepper_$_stepfn__1.call(this,result); +case 2: +return cljs$core$stepper_$_stepfn__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$stepper_$_stepfn.cljs$core$IFn$_invoke$arity$1 = cljs$core$stepper_$_stepfn__1; +cljs$core$stepper_$_stepfn.cljs$core$IFn$_invoke$arity$2 = cljs$core$stepper_$_stepfn__2; +return cljs$core$stepper_$_stepfn; +})() +; +return (new cljs.core.Stepper((xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(stepfn) : xform.call(null,stepfn)),iter)); +}); + +/** +* @constructor +*/ +cljs.core.MultiStepper = (function (xform,iters,nexts){ +this.xform = xform; +this.iters = iters; +this.nexts = nexts; +}) +cljs.core.MultiStepper.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__9927 = cljs.core.next(iters__$1); +iters__$1 = G__9927; +continue; +} +} else { +return true; +} +break; +} +}); + +cljs.core.MultiStepper.prototype.next = (function (){ +var self__ = this; +var _ = this; +var n__7435__auto___9928 = self__.iters.length; +var i_9929 = (0); +while(true){ +if((i_9929 < n__7435__auto___9928)){ +(self__.nexts[i_9929] = (self__.iters[i_9929]).next()); + +var G__9930 = (i_9929 + (1)); +i_9929 = G__9930; +continue; +} else { +} +break; +} + +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(self__.nexts,(0)); +}); + +cljs.core.MultiStepper.prototype.step = (function (lt){ +var self__ = this; +var this$ = this; +while(true){ +if(cljs.core.truth_((function (){var and__6500__auto__ = !((lt.stepper == null)); +if(and__6500__auto__){ +return this$.hasNext(); +} else { +return and__6500__auto__; +} +})())){ +if(cljs.core.reduced_QMARK_(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(self__.xform,cljs.core.cons(lt,this$.next())))){ +if((lt.rest == null)){ +} else { +lt.rest.stepper = null; +} +} else { +continue; +} +} else { +} +break; +} + +if((lt.stepper == null)){ +return null; +} else { +return (self__.xform.cljs$core$IFn$_invoke$arity$1 ? self__.xform.cljs$core$IFn$_invoke$arity$1(lt) : self__.xform.call(null,lt)); +} +}); + +cljs.core.MultiStepper.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"xform","xform",-85179481,null),new cljs.core.Symbol(null,"iters","iters",719353031,null),new cljs.core.Symbol(null,"nexts","nexts",-1683579407,null)], null); +}); + +cljs.core.MultiStepper.cljs$lang$type = true; + +cljs.core.MultiStepper.cljs$lang$ctorStr = "cljs.core/MultiStepper"; + +cljs.core.MultiStepper.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/MultiStepper"); +}); + +cljs.core.__GT_MultiStepper = (function cljs$core$__GT_MultiStepper(xform,iters,nexts){ +return (new cljs.core.MultiStepper(xform,iters,nexts)); +}); + +cljs.core.multi_stepper = (function cljs$core$multi_stepper(var_args){ +var args9931 = []; +var len__7625__auto___9934 = arguments.length; +var i__7626__auto___9935 = (0); +while(true){ +if((i__7626__auto___9935 < len__7625__auto___9934)){ +args9931.push((arguments[i__7626__auto___9935])); + +var G__9936 = (i__7626__auto___9935 + (1)); +i__7626__auto___9935 = G__9936; +continue; +} else { +} +break; +} + +var G__9933 = args9931.length; +switch (G__9933) { +case 2: +return cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9931.length)].join(''))); + +} +}); + +cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$2 = (function (xform,iters){ +return cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$3(xform,iters,(new Array(iters.length))); +}); + +cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$3 = (function (xform,iters,nexts){ +var stepfn = (function() { +var cljs$core$stepfn = null; +var cljs$core$stepfn__1 = (function (result){ +var lt = ((cljs.core.reduced_QMARK_(result))?cljs.core.deref(result):result); +lt.stepper = null; + +return lt; +}); +var cljs$core$stepfn__2 = (function (result,input){ +var lt = result; +lt.first = input; + +lt.rest = cljs.core.lazy_transformer(lt.stepper); + +lt.stepper = null; + +return lt.rest; +}); +cljs$core$stepfn = function(result,input){ +switch(arguments.length){ +case 1: +return cljs$core$stepfn__1.call(this,result); +case 2: +return cljs$core$stepfn__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$stepfn.cljs$core$IFn$_invoke$arity$1 = cljs$core$stepfn__1; +cljs$core$stepfn.cljs$core$IFn$_invoke$arity$2 = cljs$core$stepfn__2; +return cljs$core$stepfn; +})() +; +return (new cljs.core.MultiStepper((xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(stepfn) : xform.call(null,stepfn)),iters,nexts)); +}); + +cljs.core.multi_stepper.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} +*/ +cljs.core.LazyTransformer = (function (stepper,first,rest,meta){ +this.stepper = stepper; +this.first = first; +this.rest = rest; +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 31850700; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.LazyTransformer.prototype.indexOf = (function() { +var G__9938 = null; +var G__9938__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__9938__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9938 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9938__1.call(this,x); +case 2: +return G__9938__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9938.cljs$core$IFn$_invoke$arity$1 = G__9938__1; +G__9938.cljs$core$IFn$_invoke$arity$2 = G__9938__2; +return G__9938; +})() +; + +cljs.core.LazyTransformer.prototype.lastIndexOf = (function() { +var G__9939 = null; +var G__9939__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__9939__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__9939 = function(x,start){ +switch(arguments.length){ +case 1: +return G__9939__1.call(this,x); +case 2: +return G__9939__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9939.cljs$core$IFn$_invoke$arity$1 = G__9939__1; +G__9939.cljs$core$IFn$_invoke$arity$2 = G__9939__2; +return G__9939; +})() +; + +cljs.core.LazyTransformer.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.meta; +}); + +cljs.core.LazyTransformer.prototype.cljs$core$INext$_next$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.stepper == null)){ +} else { +this$__$1.cljs$core$ISeqable$_seq$arity$1(null); +} + +if((self__.rest == null)){ +return null; +} else { +return cljs.core._seq(self__.rest); +} +}); + +cljs.core.LazyTransformer.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return cljs.core.hash_ordered_coll(this$__$1); +}); + +cljs.core.LazyTransformer.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var self__ = this; +var this$__$1 = this; +var s = this$__$1.cljs$core$ISeqable$_seq$arity$1(null); +if(!((s == null))){ +return cljs.core.equiv_sequential(this$__$1,other); +} else { +return (cljs.core.sequential_QMARK_(other)) && ((cljs.core.seq(other) == null)); +} +}); + +cljs.core.LazyTransformer.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return cljs.core.List.EMPTY; +}); + +cljs.core.LazyTransformer.prototype.cljs$core$ISeq$_first$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.stepper == null)){ +} else { +this$__$1.cljs$core$ISeqable$_seq$arity$1(null); +} + +if((self__.rest == null)){ +return null; +} else { +return self__.first; +} +}); + +cljs.core.LazyTransformer.prototype.cljs$core$ISeq$_rest$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.stepper == null)){ +} else { +this$__$1.cljs$core$ISeqable$_seq$arity$1(null); +} + +if((self__.rest == null)){ +return cljs.core.List.EMPTY; +} else { +return self__.rest; +} +}); + +cljs.core.LazyTransformer.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.stepper == null)){ +} else { +self__.stepper.step(this$__$1); +} + +if((self__.rest == null)){ +return null; +} else { +return this$__$1; +} +}); + +cljs.core.LazyTransformer.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this$,new_meta){ +var self__ = this; +var this$__$1 = this; +return (new cljs.core.LazyTransformer(self__.stepper,self__.first,self__.rest,new_meta)); +}); + +cljs.core.LazyTransformer.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$ISeqable$_seq$arity$1(null)); +}); + +cljs.core.LazyTransformer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"stepper","stepper",1159163296,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,"first","first",996428481,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,"rest","rest",398835108,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +}); + +cljs.core.LazyTransformer.cljs$lang$type = true; + +cljs.core.LazyTransformer.cljs$lang$ctorStr = "cljs.core/LazyTransformer"; + +cljs.core.LazyTransformer.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/LazyTransformer"); +}); + +cljs.core.__GT_LazyTransformer = (function cljs$core$__GT_LazyTransformer(stepper,first,rest,meta){ +return (new cljs.core.LazyTransformer(stepper,first,rest,meta)); +}); + +(cljs.core.LazyTransformer.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.LazyTransformer.create = (function (xform,coll){ +return (new cljs.core.LazyTransformer(cljs.core.stepper(xform,cljs.core.iter(coll)),null,null,null)); +}); +cljs.core.LazyTransformer.createMulti = (function (xform,colls){ +var iters = []; +var seq__9940_9944 = cljs.core.seq(colls); +var chunk__9941_9945 = null; +var count__9942_9946 = (0); +var i__9943_9947 = (0); +while(true){ +if((i__9943_9947 < count__9942_9946)){ +var coll_9948 = chunk__9941_9945.cljs$core$IIndexed$_nth$arity$2(null,i__9943_9947); +iters.push(cljs.core.iter(coll_9948)); + +var G__9949 = seq__9940_9944; +var G__9950 = chunk__9941_9945; +var G__9951 = count__9942_9946; +var G__9952 = (i__9943_9947 + (1)); +seq__9940_9944 = G__9949; +chunk__9941_9945 = G__9950; +count__9942_9946 = G__9951; +i__9943_9947 = G__9952; +continue; +} else { +var temp__4657__auto___9953 = cljs.core.seq(seq__9940_9944); +if(temp__4657__auto___9953){ +var seq__9940_9954__$1 = temp__4657__auto___9953; +if(cljs.core.chunked_seq_QMARK_(seq__9940_9954__$1)){ +var c__7331__auto___9955 = cljs.core.chunk_first(seq__9940_9954__$1); +var G__9956 = cljs.core.chunk_rest(seq__9940_9954__$1); +var G__9957 = c__7331__auto___9955; +var G__9958 = cljs.core.count(c__7331__auto___9955); +var G__9959 = (0); +seq__9940_9944 = G__9956; +chunk__9941_9945 = G__9957; +count__9942_9946 = G__9958; +i__9943_9947 = G__9959; +continue; +} else { +var coll_9960 = cljs.core.first(seq__9940_9954__$1); +iters.push(cljs.core.iter(coll_9960)); + +var G__9961 = cljs.core.next(seq__9940_9954__$1); +var G__9962 = null; +var G__9963 = (0); +var G__9964 = (0); +seq__9940_9944 = G__9961; +chunk__9941_9945 = G__9962; +count__9942_9946 = G__9963; +i__9943_9947 = G__9964; +continue; +} +} else { +} +} +break; +} + +return (new cljs.core.LazyTransformer(cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$3(xform,iters,(new Array(iters.length))),null,null,null)); +}); +/** + * 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 args9965 = []; +var len__7625__auto___9971 = arguments.length; +var i__7626__auto___9972 = (0); +while(true){ +if((i__7626__auto___9972 < len__7625__auto___9971)){ +args9965.push((arguments[i__7626__auto___9972])); + +var G__9973 = (i__7626__auto___9972 + (1)); +i__7626__auto___9972 = G__9973; +continue; +} else { +} +break; +} + +var G__9970 = args9965.length; +switch (G__9970) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9965.slice((2)),(0),null)); +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__auto__); + +} +}); + +cljs.core.sequence.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +if(cljs.core.seq_QMARK_(coll)){ +return coll; +} else { +var or__6512__auto__ = cljs.core.seq(coll); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +return cljs.core.List.EMPTY; +} +} +}); + +cljs.core.sequence.cljs$core$IFn$_invoke$arity$2 = (function (xform,coll){ +return cljs.core.LazyTransformer.create(xform,coll); +}); + +cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic = (function (xform,coll,colls){ +return cljs.core.LazyTransformer.createMulti(xform,cljs.core.to_array(cljs.core.cons(coll,colls))); +}); + +cljs.core.sequence.cljs$lang$applyTo = (function (seq9966){ +var G__9967 = cljs.core.first(seq9966); +var seq9966__$1 = cljs.core.next(seq9966); +var G__9968 = cljs.core.first(seq9966__$1); +var seq9966__$2 = cljs.core.next(seq9966__$1); +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic(G__9967,G__9968,seq9966__$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__9976 = cljs.core.first(coll); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__9976) : pred.call(null,G__9976)); +})())){ +var G__9977 = pred; +var G__9978 = cljs.core.next(coll); +pred = G__9977; +coll = G__9978; +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__6512__auto__ = (function (){var G__9982 = cljs.core.first(coll); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__9982) : pred.call(null,G__9982)); +})(); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +var G__9983 = pred; +var G__9984 = cljs.core.next(coll); +pred = G__9983; +coll = G__9984; +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("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__9985 = null; +var G__9985__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__9985__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__9985__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__9985__3 = (function() { +var G__9986__delegate = function (x,y,zs){ +return cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$4(f,x,y,zs)); +}; +var G__9986 = function (x,y,var_args){ +var zs = null; +if (arguments.length > 2) { +var G__9987__i = 0, G__9987__a = new Array(arguments.length - 2); +while (G__9987__i < G__9987__a.length) {G__9987__a[G__9987__i] = arguments[G__9987__i + 2]; ++G__9987__i;} + zs = new cljs.core.IndexedSeq(G__9987__a,0); +} +return G__9986__delegate.call(this,x,y,zs);}; +G__9986.cljs$lang$maxFixedArity = 2; +G__9986.cljs$lang$applyTo = (function (arglist__9988){ +var x = cljs.core.first(arglist__9988); +arglist__9988 = cljs.core.next(arglist__9988); +var y = cljs.core.first(arglist__9988); +var zs = cljs.core.rest(arglist__9988); +return G__9986__delegate(x,y,zs); +}); +G__9986.cljs$core$IFn$_invoke$arity$variadic = G__9986__delegate; +return G__9986; +})() +; +G__9985 = function(x,y,var_args){ +var zs = var_args; +switch(arguments.length){ +case 0: +return G__9985__0.call(this); +case 1: +return G__9985__1.call(this,x); +case 2: +return G__9985__2.call(this,x,y); +default: +var G__9989 = null; +if (arguments.length > 2) { +var G__9990__i = 0, G__9990__a = new Array(arguments.length - 2); +while (G__9990__i < G__9990__a.length) {G__9990__a[G__9990__i] = arguments[G__9990__i + 2]; ++G__9990__i;} +G__9989 = new cljs.core.IndexedSeq(G__9990__a,0); +} +return G__9985__3.cljs$core$IFn$_invoke$arity$variadic(x,y, G__9989); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__9985.cljs$lang$maxFixedArity = 2; +G__9985.cljs$lang$applyTo = G__9985__3.cljs$lang$applyTo; +G__9985.cljs$core$IFn$_invoke$arity$0 = G__9985__0; +G__9985.cljs$core$IFn$_invoke$arity$1 = G__9985__1; +G__9985.cljs$core$IFn$_invoke$arity$2 = G__9985__2; +G__9985.cljs$core$IFn$_invoke$arity$variadic = G__9985__3.cljs$core$IFn$_invoke$arity$variadic; +return G__9985; +})() +}); +/** + * Returns a function that takes any number of arguments and returns x. + */ +cljs.core.constantly = (function cljs$core$constantly(x){ +return (function() { +var G__9991__delegate = function (args){ +return x; +}; +var G__9991 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__9992__i = 0, G__9992__a = new Array(arguments.length - 0); +while (G__9992__i < G__9992__a.length) {G__9992__a[G__9992__i] = arguments[G__9992__i + 0]; ++G__9992__i;} + args = new cljs.core.IndexedSeq(G__9992__a,0); +} +return G__9991__delegate.call(this,args);}; +G__9991.cljs$lang$maxFixedArity = 0; +G__9991.cljs$lang$applyTo = (function (arglist__9993){ +var args = cljs.core.seq(arglist__9993); +return G__9991__delegate(args); +}); +G__9991.cljs$core$IFn$_invoke$arity$variadic = G__9991__delegate; +return G__9991; +})() +; +}); +/** + * 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 args9994 = []; +var len__7625__auto___10016 = arguments.length; +var i__7626__auto___10017 = (0); +while(true){ +if((i__7626__auto___10017 < len__7625__auto___10016)){ +args9994.push((arguments[i__7626__auto___10017])); + +var G__10018 = (i__7626__auto___10017 + (1)); +i__7626__auto___10017 = G__10018; +continue; +} else { +} +break; +} + +var G__10000 = args9994.length; +switch (G__10000) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args9994.slice((3)),(0),null)); +return cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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__10020 = null; +var G__10020__0 = (function (){ +var G__10001 = (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__10001) : f.call(null,G__10001)); +}); +var G__10020__1 = (function (x){ +var G__10002 = (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__10002) : f.call(null,G__10002)); +}); +var G__10020__2 = (function (x,y){ +var G__10003 = (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__10003) : f.call(null,G__10003)); +}); +var G__10020__3 = (function (x,y,z){ +var G__10004 = (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__10004) : f.call(null,G__10004)); +}); +var G__10020__4 = (function() { +var G__10021__delegate = function (x,y,z,args){ +var G__10005 = 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__10005) : f.call(null,G__10005)); +}; +var G__10021 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10022__i = 0, G__10022__a = new Array(arguments.length - 3); +while (G__10022__i < G__10022__a.length) {G__10022__a[G__10022__i] = arguments[G__10022__i + 3]; ++G__10022__i;} + args = new cljs.core.IndexedSeq(G__10022__a,0); +} +return G__10021__delegate.call(this,x,y,z,args);}; +G__10021.cljs$lang$maxFixedArity = 3; +G__10021.cljs$lang$applyTo = (function (arglist__10023){ +var x = cljs.core.first(arglist__10023); +arglist__10023 = cljs.core.next(arglist__10023); +var y = cljs.core.first(arglist__10023); +arglist__10023 = cljs.core.next(arglist__10023); +var z = cljs.core.first(arglist__10023); +var args = cljs.core.rest(arglist__10023); +return G__10021__delegate(x,y,z,args); +}); +G__10021.cljs$core$IFn$_invoke$arity$variadic = G__10021__delegate; +return G__10021; +})() +; +G__10020 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10020__0.call(this); +case 1: +return G__10020__1.call(this,x); +case 2: +return G__10020__2.call(this,x,y); +case 3: +return G__10020__3.call(this,x,y,z); +default: +var G__10024 = null; +if (arguments.length > 3) { +var G__10025__i = 0, G__10025__a = new Array(arguments.length - 3); +while (G__10025__i < G__10025__a.length) {G__10025__a[G__10025__i] = arguments[G__10025__i + 3]; ++G__10025__i;} +G__10024 = new cljs.core.IndexedSeq(G__10025__a,0); +} +return G__10020__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10024); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10020.cljs$lang$maxFixedArity = 3; +G__10020.cljs$lang$applyTo = G__10020__4.cljs$lang$applyTo; +G__10020.cljs$core$IFn$_invoke$arity$0 = G__10020__0; +G__10020.cljs$core$IFn$_invoke$arity$1 = G__10020__1; +G__10020.cljs$core$IFn$_invoke$arity$2 = G__10020__2; +G__10020.cljs$core$IFn$_invoke$arity$3 = G__10020__3; +G__10020.cljs$core$IFn$_invoke$arity$variadic = G__10020__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10020; +})() +}); + +cljs.core.comp.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ +return (function() { +var G__10026 = null; +var G__10026__0 = (function (){ +var G__10006 = (function (){var G__10007 = (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__10007) : g.call(null,G__10007)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10006) : f.call(null,G__10006)); +}); +var G__10026__1 = (function (x){ +var G__10008 = (function (){var G__10009 = (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__10009) : g.call(null,G__10009)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10008) : f.call(null,G__10008)); +}); +var G__10026__2 = (function (x,y){ +var G__10010 = (function (){var G__10011 = (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__10011) : g.call(null,G__10011)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10010) : f.call(null,G__10010)); +}); +var G__10026__3 = (function (x,y,z){ +var G__10012 = (function (){var G__10013 = (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__10013) : g.call(null,G__10013)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10012) : f.call(null,G__10012)); +}); +var G__10026__4 = (function() { +var G__10027__delegate = function (x,y,z,args){ +var G__10014 = (function (){var G__10015 = 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__10015) : g.call(null,G__10015)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10014) : f.call(null,G__10014)); +}; +var G__10027 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10028__i = 0, G__10028__a = new Array(arguments.length - 3); +while (G__10028__i < G__10028__a.length) {G__10028__a[G__10028__i] = arguments[G__10028__i + 3]; ++G__10028__i;} + args = new cljs.core.IndexedSeq(G__10028__a,0); +} +return G__10027__delegate.call(this,x,y,z,args);}; +G__10027.cljs$lang$maxFixedArity = 3; +G__10027.cljs$lang$applyTo = (function (arglist__10029){ +var x = cljs.core.first(arglist__10029); +arglist__10029 = cljs.core.next(arglist__10029); +var y = cljs.core.first(arglist__10029); +arglist__10029 = cljs.core.next(arglist__10029); +var z = cljs.core.first(arglist__10029); +var args = cljs.core.rest(arglist__10029); +return G__10027__delegate(x,y,z,args); +}); +G__10027.cljs$core$IFn$_invoke$arity$variadic = G__10027__delegate; +return G__10027; +})() +; +G__10026 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10026__0.call(this); +case 1: +return G__10026__1.call(this,x); +case 2: +return G__10026__2.call(this,x,y); +case 3: +return G__10026__3.call(this,x,y,z); +default: +var G__10030 = null; +if (arguments.length > 3) { +var G__10031__i = 0, G__10031__a = new Array(arguments.length - 3); +while (G__10031__i < G__10031__a.length) {G__10031__a[G__10031__i] = arguments[G__10031__i + 3]; ++G__10031__i;} +G__10030 = new cljs.core.IndexedSeq(G__10031__a,0); +} +return G__10026__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10030); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10026.cljs$lang$maxFixedArity = 3; +G__10026.cljs$lang$applyTo = G__10026__4.cljs$lang$applyTo; +G__10026.cljs$core$IFn$_invoke$arity$0 = G__10026__0; +G__10026.cljs$core$IFn$_invoke$arity$1 = G__10026__1; +G__10026.cljs$core$IFn$_invoke$arity$2 = G__10026__2; +G__10026.cljs$core$IFn$_invoke$arity$3 = G__10026__3; +G__10026.cljs$core$IFn$_invoke$arity$variadic = G__10026__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10026; +})() +}); + +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__10032__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__10033 = cljs.core.first(fs__$2).call(null,ret); +var G__10034 = cljs.core.next(fs__$2); +ret = G__10033; +fs__$2 = G__10034; +continue; +} else { +return ret; +} +break; +} +}; +var G__10032 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__10035__i = 0, G__10035__a = new Array(arguments.length - 0); +while (G__10035__i < G__10035__a.length) {G__10035__a[G__10035__i] = arguments[G__10035__i + 0]; ++G__10035__i;} + args = new cljs.core.IndexedSeq(G__10035__a,0); +} +return G__10032__delegate.call(this,args);}; +G__10032.cljs$lang$maxFixedArity = 0; +G__10032.cljs$lang$applyTo = (function (arglist__10036){ +var args = cljs.core.seq(arglist__10036); +return G__10032__delegate(args); +}); +G__10032.cljs$core$IFn$_invoke$arity$variadic = G__10032__delegate; +return G__10032; +})() +; +;})(fs__$1)) +}); + +cljs.core.comp.cljs$lang$applyTo = (function (seq9995){ +var G__9996 = cljs.core.first(seq9995); +var seq9995__$1 = cljs.core.next(seq9995); +var G__9997 = cljs.core.first(seq9995__$1); +var seq9995__$2 = cljs.core.next(seq9995__$1); +var G__9998 = cljs.core.first(seq9995__$2); +var seq9995__$3 = cljs.core.next(seq9995__$2); +return cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic(G__9996,G__9997,G__9998,seq9995__$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 args10037 = []; +var len__7625__auto___10045 = arguments.length; +var i__7626__auto___10046 = (0); +while(true){ +if((i__7626__auto___10046 < len__7625__auto___10045)){ +args10037.push((arguments[i__7626__auto___10046])); + +var G__10047 = (i__7626__auto___10046 + (1)); +i__7626__auto___10046 = G__10047; +continue; +} else { +} +break; +} + +var G__10044 = args10037.length; +switch (G__10044) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10037.slice((4)),(0),null)); +return cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__7644__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__10049 = null; +var G__10049__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(arg1) : f.call(null,arg1)); +}); +var G__10049__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__10049__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__10049__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__10049__4 = (function() { +var G__10050__delegate = function (x,y,z,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,x,y,z,cljs.core.array_seq([args], 0)); +}; +var G__10050 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10051__i = 0, G__10051__a = new Array(arguments.length - 3); +while (G__10051__i < G__10051__a.length) {G__10051__a[G__10051__i] = arguments[G__10051__i + 3]; ++G__10051__i;} + args = new cljs.core.IndexedSeq(G__10051__a,0); +} +return G__10050__delegate.call(this,x,y,z,args);}; +G__10050.cljs$lang$maxFixedArity = 3; +G__10050.cljs$lang$applyTo = (function (arglist__10052){ +var x = cljs.core.first(arglist__10052); +arglist__10052 = cljs.core.next(arglist__10052); +var y = cljs.core.first(arglist__10052); +arglist__10052 = cljs.core.next(arglist__10052); +var z = cljs.core.first(arglist__10052); +var args = cljs.core.rest(arglist__10052); +return G__10050__delegate(x,y,z,args); +}); +G__10050.cljs$core$IFn$_invoke$arity$variadic = G__10050__delegate; +return G__10050; +})() +; +G__10049 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10049__0.call(this); +case 1: +return G__10049__1.call(this,x); +case 2: +return G__10049__2.call(this,x,y); +case 3: +return G__10049__3.call(this,x,y,z); +default: +var G__10053 = null; +if (arguments.length > 3) { +var G__10054__i = 0, G__10054__a = new Array(arguments.length - 3); +while (G__10054__i < G__10054__a.length) {G__10054__a[G__10054__i] = arguments[G__10054__i + 3]; ++G__10054__i;} +G__10053 = new cljs.core.IndexedSeq(G__10054__a,0); +} +return G__10049__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10053); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10049.cljs$lang$maxFixedArity = 3; +G__10049.cljs$lang$applyTo = G__10049__4.cljs$lang$applyTo; +G__10049.cljs$core$IFn$_invoke$arity$0 = G__10049__0; +G__10049.cljs$core$IFn$_invoke$arity$1 = G__10049__1; +G__10049.cljs$core$IFn$_invoke$arity$2 = G__10049__2; +G__10049.cljs$core$IFn$_invoke$arity$3 = G__10049__3; +G__10049.cljs$core$IFn$_invoke$arity$variadic = G__10049__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10049; +})() +}); + +cljs.core.partial.cljs$core$IFn$_invoke$arity$3 = (function (f,arg1,arg2){ +return (function() { +var G__10055 = null; +var G__10055__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__10055__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__10055__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__10055__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__10055__4 = (function() { +var G__10056__delegate = function (x,y,z,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,arg2,x,y,cljs.core.array_seq([z,args], 0)); +}; +var G__10056 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10057__i = 0, G__10057__a = new Array(arguments.length - 3); +while (G__10057__i < G__10057__a.length) {G__10057__a[G__10057__i] = arguments[G__10057__i + 3]; ++G__10057__i;} + args = new cljs.core.IndexedSeq(G__10057__a,0); +} +return G__10056__delegate.call(this,x,y,z,args);}; +G__10056.cljs$lang$maxFixedArity = 3; +G__10056.cljs$lang$applyTo = (function (arglist__10058){ +var x = cljs.core.first(arglist__10058); +arglist__10058 = cljs.core.next(arglist__10058); +var y = cljs.core.first(arglist__10058); +arglist__10058 = cljs.core.next(arglist__10058); +var z = cljs.core.first(arglist__10058); +var args = cljs.core.rest(arglist__10058); +return G__10056__delegate(x,y,z,args); +}); +G__10056.cljs$core$IFn$_invoke$arity$variadic = G__10056__delegate; +return G__10056; +})() +; +G__10055 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10055__0.call(this); +case 1: +return G__10055__1.call(this,x); +case 2: +return G__10055__2.call(this,x,y); +case 3: +return G__10055__3.call(this,x,y,z); +default: +var G__10059 = null; +if (arguments.length > 3) { +var G__10060__i = 0, G__10060__a = new Array(arguments.length - 3); +while (G__10060__i < G__10060__a.length) {G__10060__a[G__10060__i] = arguments[G__10060__i + 3]; ++G__10060__i;} +G__10059 = new cljs.core.IndexedSeq(G__10060__a,0); +} +return G__10055__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10059); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10055.cljs$lang$maxFixedArity = 3; +G__10055.cljs$lang$applyTo = G__10055__4.cljs$lang$applyTo; +G__10055.cljs$core$IFn$_invoke$arity$0 = G__10055__0; +G__10055.cljs$core$IFn$_invoke$arity$1 = G__10055__1; +G__10055.cljs$core$IFn$_invoke$arity$2 = G__10055__2; +G__10055.cljs$core$IFn$_invoke$arity$3 = G__10055__3; +G__10055.cljs$core$IFn$_invoke$arity$variadic = G__10055__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10055; +})() +}); + +cljs.core.partial.cljs$core$IFn$_invoke$arity$4 = (function (f,arg1,arg2,arg3){ +return (function() { +var G__10061 = null; +var G__10061__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__10061__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__10061__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__10061__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__10061__4 = (function() { +var G__10062__delegate = function (x,y,z,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,arg2,arg3,x,cljs.core.array_seq([y,z,args], 0)); +}; +var G__10062 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10063__i = 0, G__10063__a = new Array(arguments.length - 3); +while (G__10063__i < G__10063__a.length) {G__10063__a[G__10063__i] = arguments[G__10063__i + 3]; ++G__10063__i;} + args = new cljs.core.IndexedSeq(G__10063__a,0); +} +return G__10062__delegate.call(this,x,y,z,args);}; +G__10062.cljs$lang$maxFixedArity = 3; +G__10062.cljs$lang$applyTo = (function (arglist__10064){ +var x = cljs.core.first(arglist__10064); +arglist__10064 = cljs.core.next(arglist__10064); +var y = cljs.core.first(arglist__10064); +arglist__10064 = cljs.core.next(arglist__10064); +var z = cljs.core.first(arglist__10064); +var args = cljs.core.rest(arglist__10064); +return G__10062__delegate(x,y,z,args); +}); +G__10062.cljs$core$IFn$_invoke$arity$variadic = G__10062__delegate; +return G__10062; +})() +; +G__10061 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__10061__0.call(this); +case 1: +return G__10061__1.call(this,x); +case 2: +return G__10061__2.call(this,x,y); +case 3: +return G__10061__3.call(this,x,y,z); +default: +var G__10065 = null; +if (arguments.length > 3) { +var G__10066__i = 0, G__10066__a = new Array(arguments.length - 3); +while (G__10066__i < G__10066__a.length) {G__10066__a[G__10066__i] = arguments[G__10066__i + 3]; ++G__10066__i;} +G__10065 = new cljs.core.IndexedSeq(G__10066__a,0); +} +return G__10061__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10065); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10061.cljs$lang$maxFixedArity = 3; +G__10061.cljs$lang$applyTo = G__10061__4.cljs$lang$applyTo; +G__10061.cljs$core$IFn$_invoke$arity$0 = G__10061__0; +G__10061.cljs$core$IFn$_invoke$arity$1 = G__10061__1; +G__10061.cljs$core$IFn$_invoke$arity$2 = G__10061__2; +G__10061.cljs$core$IFn$_invoke$arity$3 = G__10061__3; +G__10061.cljs$core$IFn$_invoke$arity$variadic = G__10061__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10061; +})() +}); + +cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic = (function (f,arg1,arg2,arg3,more){ +return (function() { +var G__10067__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__10067 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__10068__i = 0, G__10068__a = new Array(arguments.length - 0); +while (G__10068__i < G__10068__a.length) {G__10068__a[G__10068__i] = arguments[G__10068__i + 0]; ++G__10068__i;} + args = new cljs.core.IndexedSeq(G__10068__a,0); +} +return G__10067__delegate.call(this,args);}; +G__10067.cljs$lang$maxFixedArity = 0; +G__10067.cljs$lang$applyTo = (function (arglist__10069){ +var args = cljs.core.seq(arglist__10069); +return G__10067__delegate(args); +}); +G__10067.cljs$core$IFn$_invoke$arity$variadic = G__10067__delegate; +return G__10067; +})() +; +}); + +cljs.core.partial.cljs$lang$applyTo = (function (seq10038){ +var G__10039 = cljs.core.first(seq10038); +var seq10038__$1 = cljs.core.next(seq10038); +var G__10040 = cljs.core.first(seq10038__$1); +var seq10038__$2 = cljs.core.next(seq10038__$1); +var G__10041 = cljs.core.first(seq10038__$2); +var seq10038__$3 = cljs.core.next(seq10038__$2); +var G__10042 = cljs.core.first(seq10038__$3); +var seq10038__$4 = cljs.core.next(seq10038__$3); +return cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic(G__10039,G__10040,G__10041,G__10042,seq10038__$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 args10070 = []; +var len__7625__auto___10089 = arguments.length; +var i__7626__auto___10090 = (0); +while(true){ +if((i__7626__auto___10090 < len__7625__auto___10089)){ +args10070.push((arguments[i__7626__auto___10090])); + +var G__10091 = (i__7626__auto___10090 + (1)); +i__7626__auto___10090 = G__10091; +continue; +} else { +} +break; +} + +var G__10072 = args10070.length; +switch (G__10072) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10070.length)].join(''))); + +} +}); + +cljs.core.fnil.cljs$core$IFn$_invoke$arity$2 = (function (f,x){ +return (function() { +var G__10093 = null; +var G__10093__1 = (function (a){ +var G__10073 = (((a == null))?x:a); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10073) : f.call(null,G__10073)); +}); +var G__10093__2 = (function (a,b){ +var G__10074 = (((a == null))?x:a); +var G__10075 = b; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10074,G__10075) : f.call(null,G__10074,G__10075)); +}); +var G__10093__3 = (function (a,b,c){ +var G__10076 = (((a == null))?x:a); +var G__10077 = b; +var G__10078 = c; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10076,G__10077,G__10078) : f.call(null,G__10076,G__10077,G__10078)); +}); +var G__10093__4 = (function() { +var G__10094__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__10094 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__10095__i = 0, G__10095__a = new Array(arguments.length - 3); +while (G__10095__i < G__10095__a.length) {G__10095__a[G__10095__i] = arguments[G__10095__i + 3]; ++G__10095__i;} + ds = new cljs.core.IndexedSeq(G__10095__a,0); +} +return G__10094__delegate.call(this,a,b,c,ds);}; +G__10094.cljs$lang$maxFixedArity = 3; +G__10094.cljs$lang$applyTo = (function (arglist__10096){ +var a = cljs.core.first(arglist__10096); +arglist__10096 = cljs.core.next(arglist__10096); +var b = cljs.core.first(arglist__10096); +arglist__10096 = cljs.core.next(arglist__10096); +var c = cljs.core.first(arglist__10096); +var ds = cljs.core.rest(arglist__10096); +return G__10094__delegate(a,b,c,ds); +}); +G__10094.cljs$core$IFn$_invoke$arity$variadic = G__10094__delegate; +return G__10094; +})() +; +G__10093 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 1: +return G__10093__1.call(this,a); +case 2: +return G__10093__2.call(this,a,b); +case 3: +return G__10093__3.call(this,a,b,c); +default: +var G__10097 = null; +if (arguments.length > 3) { +var G__10098__i = 0, G__10098__a = new Array(arguments.length - 3); +while (G__10098__i < G__10098__a.length) {G__10098__a[G__10098__i] = arguments[G__10098__i + 3]; ++G__10098__i;} +G__10097 = new cljs.core.IndexedSeq(G__10098__a,0); +} +return G__10093__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__10097); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10093.cljs$lang$maxFixedArity = 3; +G__10093.cljs$lang$applyTo = G__10093__4.cljs$lang$applyTo; +G__10093.cljs$core$IFn$_invoke$arity$1 = G__10093__1; +G__10093.cljs$core$IFn$_invoke$arity$2 = G__10093__2; +G__10093.cljs$core$IFn$_invoke$arity$3 = G__10093__3; +G__10093.cljs$core$IFn$_invoke$arity$variadic = G__10093__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10093; +})() +}); + +cljs.core.fnil.cljs$core$IFn$_invoke$arity$3 = (function (f,x,y){ +return (function() { +var G__10099 = null; +var G__10099__2 = (function (a,b){ +var G__10079 = (((a == null))?x:a); +var G__10080 = (((b == null))?y:b); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10079,G__10080) : f.call(null,G__10079,G__10080)); +}); +var G__10099__3 = (function (a,b,c){ +var G__10081 = (((a == null))?x:a); +var G__10082 = (((b == null))?y:b); +var G__10083 = c; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10081,G__10082,G__10083) : f.call(null,G__10081,G__10082,G__10083)); +}); +var G__10099__4 = (function() { +var G__10100__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__10100 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__10101__i = 0, G__10101__a = new Array(arguments.length - 3); +while (G__10101__i < G__10101__a.length) {G__10101__a[G__10101__i] = arguments[G__10101__i + 3]; ++G__10101__i;} + ds = new cljs.core.IndexedSeq(G__10101__a,0); +} +return G__10100__delegate.call(this,a,b,c,ds);}; +G__10100.cljs$lang$maxFixedArity = 3; +G__10100.cljs$lang$applyTo = (function (arglist__10102){ +var a = cljs.core.first(arglist__10102); +arglist__10102 = cljs.core.next(arglist__10102); +var b = cljs.core.first(arglist__10102); +arglist__10102 = cljs.core.next(arglist__10102); +var c = cljs.core.first(arglist__10102); +var ds = cljs.core.rest(arglist__10102); +return G__10100__delegate(a,b,c,ds); +}); +G__10100.cljs$core$IFn$_invoke$arity$variadic = G__10100__delegate; +return G__10100; +})() +; +G__10099 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 2: +return G__10099__2.call(this,a,b); +case 3: +return G__10099__3.call(this,a,b,c); +default: +var G__10103 = null; +if (arguments.length > 3) { +var G__10104__i = 0, G__10104__a = new Array(arguments.length - 3); +while (G__10104__i < G__10104__a.length) {G__10104__a[G__10104__i] = arguments[G__10104__i + 3]; ++G__10104__i;} +G__10103 = new cljs.core.IndexedSeq(G__10104__a,0); +} +return G__10099__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__10103); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10099.cljs$lang$maxFixedArity = 3; +G__10099.cljs$lang$applyTo = G__10099__4.cljs$lang$applyTo; +G__10099.cljs$core$IFn$_invoke$arity$2 = G__10099__2; +G__10099.cljs$core$IFn$_invoke$arity$3 = G__10099__3; +G__10099.cljs$core$IFn$_invoke$arity$variadic = G__10099__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10099; +})() +}); + +cljs.core.fnil.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,z){ +return (function() { +var G__10105 = null; +var G__10105__2 = (function (a,b){ +var G__10084 = (((a == null))?x:a); +var G__10085 = (((b == null))?y:b); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10084,G__10085) : f.call(null,G__10084,G__10085)); +}); +var G__10105__3 = (function (a,b,c){ +var G__10086 = (((a == null))?x:a); +var G__10087 = (((b == null))?y:b); +var G__10088 = (((c == null))?z:c); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10086,G__10087,G__10088) : f.call(null,G__10086,G__10087,G__10088)); +}); +var G__10105__4 = (function() { +var G__10106__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__10106 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__10107__i = 0, G__10107__a = new Array(arguments.length - 3); +while (G__10107__i < G__10107__a.length) {G__10107__a[G__10107__i] = arguments[G__10107__i + 3]; ++G__10107__i;} + ds = new cljs.core.IndexedSeq(G__10107__a,0); +} +return G__10106__delegate.call(this,a,b,c,ds);}; +G__10106.cljs$lang$maxFixedArity = 3; +G__10106.cljs$lang$applyTo = (function (arglist__10108){ +var a = cljs.core.first(arglist__10108); +arglist__10108 = cljs.core.next(arglist__10108); +var b = cljs.core.first(arglist__10108); +arglist__10108 = cljs.core.next(arglist__10108); +var c = cljs.core.first(arglist__10108); +var ds = cljs.core.rest(arglist__10108); +return G__10106__delegate(a,b,c,ds); +}); +G__10106.cljs$core$IFn$_invoke$arity$variadic = G__10106__delegate; +return G__10106; +})() +; +G__10105 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 2: +return G__10105__2.call(this,a,b); +case 3: +return G__10105__3.call(this,a,b,c); +default: +var G__10109 = null; +if (arguments.length > 3) { +var G__10110__i = 0, G__10110__a = new Array(arguments.length - 3); +while (G__10110__i < G__10110__a.length) {G__10110__a[G__10110__i] = arguments[G__10110__i + 3]; ++G__10110__i;} +G__10109 = new cljs.core.IndexedSeq(G__10110__a,0); +} +return G__10105__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__10109); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10105.cljs$lang$maxFixedArity = 3; +G__10105.cljs$lang$applyTo = G__10105__4.cljs$lang$applyTo; +G__10105.cljs$core$IFn$_invoke$arity$2 = G__10105__2; +G__10105.cljs$core$IFn$_invoke$arity$3 = G__10105__3; +G__10105.cljs$core$IFn$_invoke$arity$variadic = G__10105__4.cljs$core$IFn$_invoke$arity$variadic; +return G__10105; +})() +}); + +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 args10111 = []; +var len__7625__auto___10142 = arguments.length; +var i__7626__auto___10143 = (0); +while(true){ +if((i__7626__auto___10143 < len__7625__auto___10142)){ +args10111.push((arguments[i__7626__auto___10143])); + +var G__10144 = (i__7626__auto___10143 + (1)); +i__7626__auto___10143 = G__10144; +continue; +} else { +} +break; +} + +var G__10113 = args10111.length; +switch (G__10113) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10111.length)].join(''))); + +} +}); + +cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +var i = (cljs.core.volatile_BANG_.cljs$core$IFn$_invoke$arity$1 ? cljs.core.volatile_BANG_.cljs$core$IFn$_invoke$arity$1((-1)) : cljs.core.volatile_BANG_.call(null,(-1))); +return ((function (i){ +return (function() { +var G__10146 = null; +var G__10146__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10146__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__10146__2 = (function (result,input){ +var G__10114 = result; +var G__10115 = (function (){var G__10116 = cljs.core._vreset_BANG_(i,(cljs.core._deref(i) + (1))); +var G__10117 = input; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10116,G__10117) : f.call(null,G__10116,G__10117)); +})(); +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__10114,G__10115) : rf.call(null,G__10114,G__10115)); +}); +G__10146 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10146__0.call(this); +case 1: +return G__10146__1.call(this,result); +case 2: +return G__10146__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10146.cljs$core$IFn$_invoke$arity$0 = G__10146__0; +G__10146.cljs$core$IFn$_invoke$arity$1 = G__10146__1; +G__10146.cljs$core$IFn$_invoke$arity$2 = G__10146__2; +return G__10146; +})() +;})(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__7435__auto___10147 = size; +var i_10148 = (0); +while(true){ +if((i_10148 < n__7435__auto___10147)){ +cljs.core.chunk_append(b,(function (){var G__10138 = (idx + i_10148); +var G__10139 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10148); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10138,G__10139) : f.call(null,G__10138,G__10139)); +})()); + +var G__10149 = (i_10148 + (1)); +i_10148 = G__10149; +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__10140 = idx; +var G__10141 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10140,G__10141) : f.call(null,G__10140,G__10141)); +})(),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 args10150 = []; +var len__7625__auto___10155 = arguments.length; +var i__7626__auto___10156 = (0); +while(true){ +if((i__7626__auto___10156 < len__7625__auto___10155)){ +args10150.push((arguments[i__7626__auto___10156])); + +var G__10157 = (i__7626__auto___10156 + (1)); +i__7626__auto___10156 = G__10157; +continue; +} else { +} +break; +} + +var G__10152 = args10150.length; +switch (G__10152) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10150.length)].join(''))); + +} +}); + +cljs.core.keep.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +return (function() { +var G__10159 = null; +var G__10159__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10159__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__10159__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__10159 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10159__0.call(this); +case 1: +return G__10159__1.call(this,result); +case 2: +return G__10159__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10159.cljs$core$IFn$_invoke$arity$0 = G__10159__0; +G__10159.cljs$core$IFn$_invoke$arity$1 = G__10159__1; +G__10159.cljs$core$IFn$_invoke$arity$2 = G__10159__2; +return G__10159; +})() +}); +}); + +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__7435__auto___10160 = size; +var i_10161 = (0); +while(true){ +if((i_10161 < n__7435__auto___10160)){ +var x_10162 = (function (){var G__10153 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10161); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10153) : f.call(null,G__10153)); +})(); +if((x_10162 == null)){ +} else { +cljs.core.chunk_append(b,x_10162); +} + +var G__10163 = (i_10161 + (1)); +i_10161 = G__10163; +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__10154 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10154) : f.call(null,G__10154)); +})(); +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__10164 = cljs.core.seq(self__.watches); +var chunk__10165 = null; +var count__10166 = (0); +var i__10167 = (0); +while(true){ +if((i__10167 < count__10166)){ +var vec__10168 = chunk__10165.cljs$core$IIndexed$_nth$arity$2(null,i__10167); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10168,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10168,(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__10174 = seq__10164; +var G__10175 = chunk__10165; +var G__10176 = count__10166; +var G__10177 = (i__10167 + (1)); +seq__10164 = G__10174; +chunk__10165 = G__10175; +count__10166 = G__10176; +i__10167 = G__10177; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__10164); +if(temp__4657__auto__){ +var seq__10164__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__10164__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__10164__$1); +var G__10178 = cljs.core.chunk_rest(seq__10164__$1); +var G__10179 = c__7331__auto__; +var G__10180 = cljs.core.count(c__7331__auto__); +var G__10181 = (0); +seq__10164 = G__10178; +chunk__10165 = G__10179; +count__10166 = G__10180; +i__10167 = G__10181; +continue; +} else { +var vec__10171 = cljs.core.first(seq__10164__$1); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10171,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10171,(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__10182 = cljs.core.next(seq__10164__$1); +var G__10183 = null; +var G__10184 = (0); +var G__10185 = (0); +seq__10164 = G__10182; +chunk__10165 = G__10183; +count__10166 = G__10184; +i__10167 = G__10185; +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args10186 = []; +var len__7625__auto___10194 = arguments.length; +var i__7626__auto___10195 = (0); +while(true){ +if((i__7626__auto___10195 < len__7625__auto___10194)){ +args10186.push((arguments[i__7626__auto___10195])); + +var G__10196 = (i__7626__auto___10195 + (1)); +i__7626__auto___10195 = G__10196; +continue; +} else { +} +break; +} + +var G__10190 = args10186.length; +switch (G__10190) { +case 1: +return cljs.core.atom.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10186.slice((1)),(0),null)); +return cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7644__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__10191){ +var map__10192 = p__10191; +var map__10192__$1 = ((((!((map__10192 == null)))?((((map__10192.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__10192.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__10192):map__10192); +var meta = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__10192__$1,new cljs.core.Keyword(null,"meta","meta",1499536964)); +var validator = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__10192__$1,new cljs.core.Keyword(null,"validator","validator",-1966190681)); +return (new cljs.core.Atom(x,meta,validator,null)); +}); + +cljs.core.atom.cljs$lang$applyTo = (function (seq10187){ +var G__10188 = cljs.core.first(seq10187); +var seq10187__$1 = cljs.core.next(seq10187); +return cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic(G__10188,seq10187__$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); +} +}); +/** + * 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 args10198 = []; +var len__7625__auto___10212 = arguments.length; +var i__7626__auto___10213 = (0); +while(true){ +if((i__7626__auto___10213 < len__7625__auto___10212)){ +args10198.push((arguments[i__7626__auto___10213])); + +var G__10214 = (i__7626__auto___10213 + (1)); +i__7626__auto___10213 = G__10214; +continue; +} else { +} +break; +} + +var G__10205 = args10198.length; +switch (G__10205) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10198.slice((4)),(0),null)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__7644__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__10206 = a.state; +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10206) : f.call(null,G__10206)); +})()); +} 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__10207 = a.state; +var G__10208 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10207,G__10208) : f.call(null,G__10207,G__10208)); +})()); +} 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__10209 = a.state; +var G__10210 = x; +var G__10211 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10209,G__10210,G__10211) : f.call(null,G__10209,G__10210,G__10211)); +})()); +} 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); +} +}); + +cljs.core.swap_BANG_.cljs$lang$applyTo = (function (seq10199){ +var G__10200 = cljs.core.first(seq10199); +var seq10199__$1 = cljs.core.next(seq10199); +var G__10201 = cljs.core.first(seq10199__$1); +var seq10199__$2 = cljs.core.next(seq10199__$1); +var G__10202 = cljs.core.first(seq10199__$2); +var seq10199__$3 = cljs.core.next(seq10199__$2); +var G__10203 = cljs.core.first(seq10199__$3); +var seq10199__$4 = cljs.core.next(seq10199__$3); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__10200,G__10201,G__10202,G__10203,seq10199__$4); +}); + +cljs.core.swap_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){ +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args10216 = []; +var len__7625__auto___10247 = arguments.length; +var i__7626__auto___10248 = (0); +while(true){ +if((i__7626__auto___10248 < len__7625__auto___10247)){ +args10216.push((arguments[i__7626__auto___10248])); + +var G__10249 = (i__7626__auto___10248 + (1)); +i__7626__auto___10248 = G__10249; +continue; +} else { +} +break; +} + +var G__10218 = args10216.length; +switch (G__10218) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10216.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__10251 = null; +var G__10251__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10251__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__10251__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__10251 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10251__0.call(this); +case 1: +return G__10251__1.call(this,result); +case 2: +return G__10251__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10251.cljs$core$IFn$_invoke$arity$0 = G__10251__0; +G__10251.cljs$core$IFn$_invoke$arity$1 = G__10251__1; +G__10251.cljs$core$IFn$_invoke$arity$2 = G__10251__2; +return G__10251; +})() +;})(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__7435__auto___10252 = size; +var i_10253 = (0); +while(true){ +if((i_10253 < n__7435__auto___10252)){ +var x_10254 = (function (){var G__10243 = (idx + i_10253); +var G__10244 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10253); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10243,G__10244) : f.call(null,G__10243,G__10244)); +})(); +if((x_10254 == null)){ +} else { +cljs.core.chunk_append(b,x_10254); +} + +var G__10255 = (i_10253 + (1)); +i_10253 = G__10255; +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__10245 = idx; +var G__10246 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10245,G__10246) : f.call(null,G__10245,G__10246)); +})(); +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 args10262 = []; +var len__7625__auto___10269 = arguments.length; +var i__7626__auto___10270 = (0); +while(true){ +if((i__7626__auto___10270 < len__7625__auto___10269)){ +args10262.push((arguments[i__7626__auto___10270])); + +var G__10271 = (i__7626__auto___10270 + (1)); +i__7626__auto___10270 = G__10271; +continue; +} else { +} +break; +} + +var G__10268 = args10262.length; +switch (G__10268) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10262.slice((3)),(0),null)); +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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__6500__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__6500__auto__)){ +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null,y)); +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep1__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +var and__6500__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__6500__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__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep1__4 = (function() { +var G__10273__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__6500__auto__ = cljs$core$ep1.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__6500__auto__)){ +return cljs.core.every_QMARK_(p,args); +} else { +return and__6500__auto__; +} +})()); +}; +var G__10273 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10274__i = 0, G__10274__a = new Array(arguments.length - 3); +while (G__10274__i < G__10274__a.length) {G__10274__a[G__10274__i] = arguments[G__10274__i + 3]; ++G__10274__i;} + args = new cljs.core.IndexedSeq(G__10274__a,0); +} +return G__10273__delegate.call(this,x,y,z,args);}; +G__10273.cljs$lang$maxFixedArity = 3; +G__10273.cljs$lang$applyTo = (function (arglist__10275){ +var x = cljs.core.first(arglist__10275); +arglist__10275 = cljs.core.next(arglist__10275); +var y = cljs.core.first(arglist__10275); +arglist__10275 = cljs.core.next(arglist__10275); +var z = cljs.core.first(arglist__10275); +var args = cljs.core.rest(arglist__10275); +return G__10273__delegate(x,y,z,args); +}); +G__10273.cljs$core$IFn$_invoke$arity$variadic = G__10273__delegate; +return G__10273; +})() +; +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__10276 = null; +if (arguments.length > 3) { +var G__10277__i = 0, G__10277__a = new Array(arguments.length - 3); +while (G__10277__i < G__10277__a.length) {G__10277__a[G__10277__i] = arguments[G__10277__i + 3]; ++G__10277__i;} +G__10276 = new cljs.core.IndexedSeq(G__10277__a,0); +} +return cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10276); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$ep1.cljs$lang$maxFixedArity = 3; +cljs$core$ep1.cljs$lang$applyTo = cljs$core$ep1__4.cljs$lang$applyTo; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep1__0; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep1__1; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep1__2; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep1__3; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$ep1; +})() +}); + +cljs.core.every_pred.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){ +return (function() { +var cljs$core$ep2 = null; +var cljs$core$ep2__0 = (function (){ +return true; +}); +var cljs$core$ep2__1 = (function (x){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep2__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +var and__6500__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__6500__auto____$1)){ +var and__6500__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__6500__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__6500__auto____$2; +} +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep2__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +var and__6500__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__6500__auto____$1)){ +var and__6500__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__6500__auto____$2)){ +var and__6500__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__6500__auto____$3)){ +var and__6500__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__6500__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__6500__auto____$4; +} +} else { +return and__6500__auto____$3; +} +} else { +return and__6500__auto____$2; +} +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep2__4 = (function() { +var G__10278__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__6500__auto__ = cljs$core$ep2.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__6500__auto__)){ +return cljs.core.every_QMARK_(((function (and__6500__auto__){ +return (function (p1__10256_SHARP_){ +var and__6500__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__10256_SHARP_) : p1.call(null,p1__10256_SHARP_)); +if(cljs.core.truth_(and__6500__auto____$1)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__10256_SHARP_) : p2.call(null,p1__10256_SHARP_)); +} else { +return and__6500__auto____$1; +} +});})(and__6500__auto__)) +,args); +} else { +return and__6500__auto__; +} +})()); +}; +var G__10278 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10279__i = 0, G__10279__a = new Array(arguments.length - 3); +while (G__10279__i < G__10279__a.length) {G__10279__a[G__10279__i] = arguments[G__10279__i + 3]; ++G__10279__i;} + args = new cljs.core.IndexedSeq(G__10279__a,0); +} +return G__10278__delegate.call(this,x,y,z,args);}; +G__10278.cljs$lang$maxFixedArity = 3; +G__10278.cljs$lang$applyTo = (function (arglist__10280){ +var x = cljs.core.first(arglist__10280); +arglist__10280 = cljs.core.next(arglist__10280); +var y = cljs.core.first(arglist__10280); +arglist__10280 = cljs.core.next(arglist__10280); +var z = cljs.core.first(arglist__10280); +var args = cljs.core.rest(arglist__10280); +return G__10278__delegate(x,y,z,args); +}); +G__10278.cljs$core$IFn$_invoke$arity$variadic = G__10278__delegate; +return G__10278; +})() +; +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__10281 = null; +if (arguments.length > 3) { +var G__10282__i = 0, G__10282__a = new Array(arguments.length - 3); +while (G__10282__i < G__10282__a.length) {G__10282__a[G__10282__i] = arguments[G__10282__i + 3]; ++G__10282__i;} +G__10281 = new cljs.core.IndexedSeq(G__10282__a,0); +} +return cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10281); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$ep2.cljs$lang$maxFixedArity = 3; +cljs$core$ep2.cljs$lang$applyTo = cljs$core$ep2__4.cljs$lang$applyTo; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep2__0; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep2__1; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep2__2; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep2__3; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$ep2; +})() +}); + +cljs.core.every_pred.cljs$core$IFn$_invoke$arity$3 = (function (p1,p2,p3){ +return (function() { +var cljs$core$ep3 = null; +var cljs$core$ep3__0 = (function (){ +return true; +}); +var cljs$core$ep3__1 = (function (x){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +var and__6500__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__6500__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__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep3__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +var and__6500__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__6500__auto____$1)){ +var and__6500__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__6500__auto____$2)){ +var and__6500__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__6500__auto____$3)){ +var and__6500__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__6500__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__6500__auto____$4; +} +} else { +return and__6500__auto____$3; +} +} else { +return and__6500__auto____$2; +} +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep3__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__6500__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__6500__auto__)){ +var and__6500__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__6500__auto____$1)){ +var and__6500__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__6500__auto____$2)){ +var and__6500__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__6500__auto____$3)){ +var and__6500__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__6500__auto____$4)){ +var and__6500__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__6500__auto____$5)){ +var and__6500__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__6500__auto____$6)){ +var and__6500__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__6500__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__6500__auto____$7; +} +} else { +return and__6500__auto____$6; +} +} else { +return and__6500__auto____$5; +} +} else { +return and__6500__auto____$4; +} +} else { +return and__6500__auto____$3; +} +} else { +return and__6500__auto____$2; +} +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +})()); +}); +var cljs$core$ep3__4 = (function() { +var G__10283__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__6500__auto__ = cljs$core$ep3.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__6500__auto__)){ +return cljs.core.every_QMARK_(((function (and__6500__auto__){ +return (function (p1__10257_SHARP_){ +var and__6500__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__10257_SHARP_) : p1.call(null,p1__10257_SHARP_)); +if(cljs.core.truth_(and__6500__auto____$1)){ +var and__6500__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__10257_SHARP_) : p2.call(null,p1__10257_SHARP_)); +if(cljs.core.truth_(and__6500__auto____$2)){ +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__10257_SHARP_) : p3.call(null,p1__10257_SHARP_)); +} else { +return and__6500__auto____$2; +} +} else { +return and__6500__auto____$1; +} +});})(and__6500__auto__)) +,args); +} else { +return and__6500__auto__; +} +})()); +}; +var G__10283 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10284__i = 0, G__10284__a = new Array(arguments.length - 3); +while (G__10284__i < G__10284__a.length) {G__10284__a[G__10284__i] = arguments[G__10284__i + 3]; ++G__10284__i;} + args = new cljs.core.IndexedSeq(G__10284__a,0); +} +return G__10283__delegate.call(this,x,y,z,args);}; +G__10283.cljs$lang$maxFixedArity = 3; +G__10283.cljs$lang$applyTo = (function (arglist__10285){ +var x = cljs.core.first(arglist__10285); +arglist__10285 = cljs.core.next(arglist__10285); +var y = cljs.core.first(arglist__10285); +arglist__10285 = cljs.core.next(arglist__10285); +var z = cljs.core.first(arglist__10285); +var args = cljs.core.rest(arglist__10285); +return G__10283__delegate(x,y,z,args); +}); +G__10283.cljs$core$IFn$_invoke$arity$variadic = G__10283__delegate; +return G__10283; +})() +; +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__10286 = null; +if (arguments.length > 3) { +var G__10287__i = 0, G__10287__a = new Array(arguments.length - 3); +while (G__10287__i < G__10287__a.length) {G__10287__a[G__10287__i] = arguments[G__10287__i + 3]; ++G__10287__i;} +G__10286 = new cljs.core.IndexedSeq(G__10287__a,0); +} +return cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10286); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$ep3.cljs$lang$maxFixedArity = 3; +cljs$core$ep3.cljs$lang$applyTo = cljs$core$ep3__4.cljs$lang$applyTo; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep3__0; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep3__1; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep3__2; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep3__3; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$ep3; +})() +}); + +cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic = (function (p1,p2,p3,ps){ +var ps__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(p1,p2,p3,ps); +return ((function (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__10258_SHARP_){ +return (p1__10258_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10258_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10258_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__10259_SHARP_){ +var and__6500__auto__ = (p1__10259_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10259_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10259_SHARP_.call(null,x)); +if(cljs.core.truth_(and__6500__auto__)){ +return (p1__10259_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10259_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__10259_SHARP_.call(null,y)); +} else { +return and__6500__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__10260_SHARP_){ +var and__6500__auto__ = (p1__10260_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10260_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10260_SHARP_.call(null,x)); +if(cljs.core.truth_(and__6500__auto__)){ +var and__6500__auto____$1 = (p1__10260_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10260_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__10260_SHARP_.call(null,y)); +if(cljs.core.truth_(and__6500__auto____$1)){ +return (p1__10260_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10260_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__10260_SHARP_.call(null,z)); +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$epn__4 = (function() { +var G__10288__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__6500__auto__ = cljs$core$epn.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__6500__auto__)){ +return cljs.core.every_QMARK_(((function (and__6500__auto__,ps__$1){ +return (function (p1__10261_SHARP_){ +return cljs.core.every_QMARK_(p1__10261_SHARP_,args); +});})(and__6500__auto__,ps__$1)) +,ps__$1); +} else { +return and__6500__auto__; +} +})()); +}; +var G__10288 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10289__i = 0, G__10289__a = new Array(arguments.length - 3); +while (G__10289__i < G__10289__a.length) {G__10289__a[G__10289__i] = arguments[G__10289__i + 3]; ++G__10289__i;} + args = new cljs.core.IndexedSeq(G__10289__a,0); +} +return G__10288__delegate.call(this,x,y,z,args);}; +G__10288.cljs$lang$maxFixedArity = 3; +G__10288.cljs$lang$applyTo = (function (arglist__10290){ +var x = cljs.core.first(arglist__10290); +arglist__10290 = cljs.core.next(arglist__10290); +var y = cljs.core.first(arglist__10290); +arglist__10290 = cljs.core.next(arglist__10290); +var z = cljs.core.first(arglist__10290); +var args = cljs.core.rest(arglist__10290); +return G__10288__delegate(x,y,z,args); +}); +G__10288.cljs$core$IFn$_invoke$arity$variadic = G__10288__delegate; +return G__10288; +})() +; +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__10291 = null; +if (arguments.length > 3) { +var G__10292__i = 0, G__10292__a = new Array(arguments.length - 3); +while (G__10292__i < G__10292__a.length) {G__10292__a[G__10292__i] = arguments[G__10292__i + 3]; ++G__10292__i;} +G__10291 = new cljs.core.IndexedSeq(G__10292__a,0); +} +return cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10291); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$epn.cljs$lang$maxFixedArity = 3; +cljs$core$epn.cljs$lang$applyTo = cljs$core$epn__4.cljs$lang$applyTo; +cljs$core$epn.cljs$core$IFn$_invoke$arity$0 = cljs$core$epn__0; +cljs$core$epn.cljs$core$IFn$_invoke$arity$1 = cljs$core$epn__1; +cljs$core$epn.cljs$core$IFn$_invoke$arity$2 = cljs$core$epn__2; +cljs$core$epn.cljs$core$IFn$_invoke$arity$3 = cljs$core$epn__3; +cljs$core$epn.cljs$core$IFn$_invoke$arity$variadic = cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$epn; +})() +;})(ps__$1)) +}); + +cljs.core.every_pred.cljs$lang$applyTo = (function (seq10263){ +var G__10264 = cljs.core.first(seq10263); +var seq10263__$1 = cljs.core.next(seq10263); +var G__10265 = cljs.core.first(seq10263__$1); +var seq10263__$2 = cljs.core.next(seq10263__$1); +var G__10266 = cljs.core.first(seq10263__$2); +var seq10263__$3 = cljs.core.next(seq10263__$2); +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic(G__10264,G__10265,G__10266,seq10263__$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 args10299 = []; +var len__7625__auto___10306 = arguments.length; +var i__7626__auto___10307 = (0); +while(true){ +if((i__7626__auto___10307 < len__7625__auto___10306)){ +args10299.push((arguments[i__7626__auto___10307])); + +var G__10308 = (i__7626__auto___10307 + (1)); +i__7626__auto___10307 = G__10308; +continue; +} else { +} +break; +} + +var G__10305 = args10299.length; +switch (G__10305) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10299.slice((3)),(0),null)); +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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__6512__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__6512__auto__)){ +return or__6512__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__6512__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__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__6512__auto____$1)){ +return or__6512__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__10310__delegate = function (x,y,z,args){ +var or__6512__auto__ = cljs$core$sp1.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return cljs.core.some(p,args); +} +}; +var G__10310 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10311__i = 0, G__10311__a = new Array(arguments.length - 3); +while (G__10311__i < G__10311__a.length) {G__10311__a[G__10311__i] = arguments[G__10311__i + 3]; ++G__10311__i;} + args = new cljs.core.IndexedSeq(G__10311__a,0); +} +return G__10310__delegate.call(this,x,y,z,args);}; +G__10310.cljs$lang$maxFixedArity = 3; +G__10310.cljs$lang$applyTo = (function (arglist__10312){ +var x = cljs.core.first(arglist__10312); +arglist__10312 = cljs.core.next(arglist__10312); +var y = cljs.core.first(arglist__10312); +arglist__10312 = cljs.core.next(arglist__10312); +var z = cljs.core.first(arglist__10312); +var args = cljs.core.rest(arglist__10312); +return G__10310__delegate(x,y,z,args); +}); +G__10310.cljs$core$IFn$_invoke$arity$variadic = G__10310__delegate; +return G__10310; +})() +; +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__10313 = null; +if (arguments.length > 3) { +var G__10314__i = 0, G__10314__a = new Array(arguments.length - 3); +while (G__10314__i < G__10314__a.length) {G__10314__a[G__10314__i] = arguments[G__10314__i + 3]; ++G__10314__i;} +G__10313 = new cljs.core.IndexedSeq(G__10314__a,0); +} +return cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10313); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$sp1.cljs$lang$maxFixedArity = 3; +cljs$core$sp1.cljs$lang$applyTo = cljs$core$sp1__4.cljs$lang$applyTo; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp1__0; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp1__1; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp1__2; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp1__3; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$sp1; +})() +}); + +cljs.core.some_fn.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){ +return (function() { +var cljs$core$sp2 = null; +var cljs$core$sp2__0 = (function (){ +return null; +}); +var cljs$core$sp2__1 = (function (x){ +var or__6512__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__6512__auto__)){ +return or__6512__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__6512__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__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +var or__6512__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__6512__auto____$2)){ +return or__6512__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__6512__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__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +var or__6512__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__6512__auto____$2)){ +return or__6512__auto____$2; +} else { +var or__6512__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__6512__auto____$3)){ +return or__6512__auto____$3; +} else { +var or__6512__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__6512__auto____$4)){ +return or__6512__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__10315__delegate = function (x,y,z,args){ +var or__6512__auto__ = cljs$core$sp2.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return cljs.core.some(((function (or__6512__auto__){ +return (function (p1__10293_SHARP_){ +var or__6512__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__10293_SHARP_) : p1.call(null,p1__10293_SHARP_)); +if(cljs.core.truth_(or__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__10293_SHARP_) : p2.call(null,p1__10293_SHARP_)); +} +});})(or__6512__auto__)) +,args); +} +}; +var G__10315 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10316__i = 0, G__10316__a = new Array(arguments.length - 3); +while (G__10316__i < G__10316__a.length) {G__10316__a[G__10316__i] = arguments[G__10316__i + 3]; ++G__10316__i;} + args = new cljs.core.IndexedSeq(G__10316__a,0); +} +return G__10315__delegate.call(this,x,y,z,args);}; +G__10315.cljs$lang$maxFixedArity = 3; +G__10315.cljs$lang$applyTo = (function (arglist__10317){ +var x = cljs.core.first(arglist__10317); +arglist__10317 = cljs.core.next(arglist__10317); +var y = cljs.core.first(arglist__10317); +arglist__10317 = cljs.core.next(arglist__10317); +var z = cljs.core.first(arglist__10317); +var args = cljs.core.rest(arglist__10317); +return G__10315__delegate(x,y,z,args); +}); +G__10315.cljs$core$IFn$_invoke$arity$variadic = G__10315__delegate; +return G__10315; +})() +; +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__10318 = null; +if (arguments.length > 3) { +var G__10319__i = 0, G__10319__a = new Array(arguments.length - 3); +while (G__10319__i < G__10319__a.length) {G__10319__a[G__10319__i] = arguments[G__10319__i + 3]; ++G__10319__i;} +G__10318 = new cljs.core.IndexedSeq(G__10319__a,0); +} +return cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10318); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$sp2.cljs$lang$maxFixedArity = 3; +cljs$core$sp2.cljs$lang$applyTo = cljs$core$sp2__4.cljs$lang$applyTo; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp2__0; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp2__1; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp2__2; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp2__3; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$sp2; +})() +}); + +cljs.core.some_fn.cljs$core$IFn$_invoke$arity$3 = (function (p1,p2,p3){ +return (function() { +var cljs$core$sp3 = null; +var cljs$core$sp3__0 = (function (){ +return null; +}); +var cljs$core$sp3__1 = (function (x){ +var or__6512__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__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__6512__auto____$1)){ +return or__6512__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__6512__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__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +var or__6512__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__6512__auto____$2)){ +return or__6512__auto____$2; +} else { +var or__6512__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__6512__auto____$3)){ +return or__6512__auto____$3; +} else { +var or__6512__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__6512__auto____$4)){ +return or__6512__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__6512__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__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +var or__6512__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__6512__auto____$2)){ +return or__6512__auto____$2; +} else { +var or__6512__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__6512__auto____$3)){ +return or__6512__auto____$3; +} else { +var or__6512__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__6512__auto____$4)){ +return or__6512__auto____$4; +} else { +var or__6512__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__6512__auto____$5)){ +return or__6512__auto____$5; +} else { +var or__6512__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__6512__auto____$6)){ +return or__6512__auto____$6; +} else { +var or__6512__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__6512__auto____$7)){ +return or__6512__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__10320__delegate = function (x,y,z,args){ +var or__6512__auto__ = cljs$core$sp3.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return cljs.core.some(((function (or__6512__auto__){ +return (function (p1__10294_SHARP_){ +var or__6512__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__10294_SHARP_) : p1.call(null,p1__10294_SHARP_)); +if(cljs.core.truth_(or__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +var or__6512__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__10294_SHARP_) : p2.call(null,p1__10294_SHARP_)); +if(cljs.core.truth_(or__6512__auto____$2)){ +return or__6512__auto____$2; +} else { +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__10294_SHARP_) : p3.call(null,p1__10294_SHARP_)); +} +} +});})(or__6512__auto__)) +,args); +} +}; +var G__10320 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10321__i = 0, G__10321__a = new Array(arguments.length - 3); +while (G__10321__i < G__10321__a.length) {G__10321__a[G__10321__i] = arguments[G__10321__i + 3]; ++G__10321__i;} + args = new cljs.core.IndexedSeq(G__10321__a,0); +} +return G__10320__delegate.call(this,x,y,z,args);}; +G__10320.cljs$lang$maxFixedArity = 3; +G__10320.cljs$lang$applyTo = (function (arglist__10322){ +var x = cljs.core.first(arglist__10322); +arglist__10322 = cljs.core.next(arglist__10322); +var y = cljs.core.first(arglist__10322); +arglist__10322 = cljs.core.next(arglist__10322); +var z = cljs.core.first(arglist__10322); +var args = cljs.core.rest(arglist__10322); +return G__10320__delegate(x,y,z,args); +}); +G__10320.cljs$core$IFn$_invoke$arity$variadic = G__10320__delegate; +return G__10320; +})() +; +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__10323 = null; +if (arguments.length > 3) { +var G__10324__i = 0, G__10324__a = new Array(arguments.length - 3); +while (G__10324__i < G__10324__a.length) {G__10324__a[G__10324__i] = arguments[G__10324__i + 3]; ++G__10324__i;} +G__10323 = new cljs.core.IndexedSeq(G__10324__a,0); +} +return cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10323); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$sp3.cljs$lang$maxFixedArity = 3; +cljs$core$sp3.cljs$lang$applyTo = cljs$core$sp3__4.cljs$lang$applyTo; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp3__0; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp3__1; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp3__2; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp3__3; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$sp3; +})() +}); + +cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic = (function (p1,p2,p3,ps){ +var ps__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(p1,p2,p3,ps); +return ((function (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__10295_SHARP_){ +return (p1__10295_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10295_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10295_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__10296_SHARP_){ +var or__6512__auto__ = (p1__10296_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10296_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10296_SHARP_.call(null,x)); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return (p1__10296_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10296_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__10296_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__10297_SHARP_){ +var or__6512__auto__ = (p1__10297_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10297_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__10297_SHARP_.call(null,x)); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__auto____$1 = (p1__10297_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10297_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__10297_SHARP_.call(null,y)); +if(cljs.core.truth_(or__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +return (p1__10297_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__10297_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__10297_SHARP_.call(null,z)); +} +} +});})(ps__$1)) +,ps__$1); +}); +var cljs$core$spn__4 = (function() { +var G__10325__delegate = function (x,y,z,args){ +var or__6512__auto__ = cljs$core$spn.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return cljs.core.some(((function (or__6512__auto__,ps__$1){ +return (function (p1__10298_SHARP_){ +return cljs.core.some(p1__10298_SHARP_,args); +});})(or__6512__auto__,ps__$1)) +,ps__$1); +} +}; +var G__10325 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__10326__i = 0, G__10326__a = new Array(arguments.length - 3); +while (G__10326__i < G__10326__a.length) {G__10326__a[G__10326__i] = arguments[G__10326__i + 3]; ++G__10326__i;} + args = new cljs.core.IndexedSeq(G__10326__a,0); +} +return G__10325__delegate.call(this,x,y,z,args);}; +G__10325.cljs$lang$maxFixedArity = 3; +G__10325.cljs$lang$applyTo = (function (arglist__10327){ +var x = cljs.core.first(arglist__10327); +arglist__10327 = cljs.core.next(arglist__10327); +var y = cljs.core.first(arglist__10327); +arglist__10327 = cljs.core.next(arglist__10327); +var z = cljs.core.first(arglist__10327); +var args = cljs.core.rest(arglist__10327); +return G__10325__delegate(x,y,z,args); +}); +G__10325.cljs$core$IFn$_invoke$arity$variadic = G__10325__delegate; +return G__10325; +})() +; +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__10328 = null; +if (arguments.length > 3) { +var G__10329__i = 0, G__10329__a = new Array(arguments.length - 3); +while (G__10329__i < G__10329__a.length) {G__10329__a[G__10329__i] = arguments[G__10329__i + 3]; ++G__10329__i;} +G__10328 = new cljs.core.IndexedSeq(G__10329__a,0); +} +return cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__10328); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$spn.cljs$lang$maxFixedArity = 3; +cljs$core$spn.cljs$lang$applyTo = cljs$core$spn__4.cljs$lang$applyTo; +cljs$core$spn.cljs$core$IFn$_invoke$arity$0 = cljs$core$spn__0; +cljs$core$spn.cljs$core$IFn$_invoke$arity$1 = cljs$core$spn__1; +cljs$core$spn.cljs$core$IFn$_invoke$arity$2 = cljs$core$spn__2; +cljs$core$spn.cljs$core$IFn$_invoke$arity$3 = cljs$core$spn__3; +cljs$core$spn.cljs$core$IFn$_invoke$arity$variadic = cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$spn; +})() +;})(ps__$1)) +}); + +cljs.core.some_fn.cljs$lang$applyTo = (function (seq10300){ +var G__10301 = cljs.core.first(seq10300); +var seq10300__$1 = cljs.core.next(seq10300); +var G__10302 = cljs.core.first(seq10300__$1); +var seq10300__$2 = cljs.core.next(seq10300__$1); +var G__10303 = cljs.core.first(seq10300__$2); +var seq10300__$3 = cljs.core.next(seq10300__$2); +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic(G__10301,G__10302,G__10303,seq10300__$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 args10331 = []; +var len__7625__auto___10351 = arguments.length; +var i__7626__auto___10352 = (0); +while(true){ +if((i__7626__auto___10352 < len__7625__auto___10351)){ +args10331.push((arguments[i__7626__auto___10352])); + +var G__10353 = (i__7626__auto___10352 + (1)); +i__7626__auto___10352 = G__10353; +continue; +} else { +} +break; +} + +var G__10338 = args10331.length; +switch (G__10338) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10331.slice((4)),(0),null)); +return cljs.core.map.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__7644__auto__); + +} +}); + +cljs.core.map.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +return (function() { +var G__10355 = null; +var G__10355__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10355__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__10355__2 = (function (result,input){ +var G__10339 = result; +var G__10340 = (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__10339,G__10340) : rf.call(null,G__10339,G__10340)); +}); +var G__10355__3 = (function() { +var G__10356__delegate = function (result,input,inputs){ +var G__10341 = result; +var G__10342 = 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__10341,G__10342) : rf.call(null,G__10341,G__10342)); +}; +var G__10356 = function (result,input,var_args){ +var inputs = null; +if (arguments.length > 2) { +var G__10357__i = 0, G__10357__a = new Array(arguments.length - 2); +while (G__10357__i < G__10357__a.length) {G__10357__a[G__10357__i] = arguments[G__10357__i + 2]; ++G__10357__i;} + inputs = new cljs.core.IndexedSeq(G__10357__a,0); +} +return G__10356__delegate.call(this,result,input,inputs);}; +G__10356.cljs$lang$maxFixedArity = 2; +G__10356.cljs$lang$applyTo = (function (arglist__10358){ +var result = cljs.core.first(arglist__10358); +arglist__10358 = cljs.core.next(arglist__10358); +var input = cljs.core.first(arglist__10358); +var inputs = cljs.core.rest(arglist__10358); +return G__10356__delegate(result,input,inputs); +}); +G__10356.cljs$core$IFn$_invoke$arity$variadic = G__10356__delegate; +return G__10356; +})() +; +G__10355 = function(result,input,var_args){ +var inputs = var_args; +switch(arguments.length){ +case 0: +return G__10355__0.call(this); +case 1: +return G__10355__1.call(this,result); +case 2: +return G__10355__2.call(this,result,input); +default: +var G__10359 = null; +if (arguments.length > 2) { +var G__10360__i = 0, G__10360__a = new Array(arguments.length - 2); +while (G__10360__i < G__10360__a.length) {G__10360__a[G__10360__i] = arguments[G__10360__i + 2]; ++G__10360__i;} +G__10359 = new cljs.core.IndexedSeq(G__10360__a,0); +} +return G__10355__3.cljs$core$IFn$_invoke$arity$variadic(result,input, G__10359); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10355.cljs$lang$maxFixedArity = 2; +G__10355.cljs$lang$applyTo = G__10355__3.cljs$lang$applyTo; +G__10355.cljs$core$IFn$_invoke$arity$0 = G__10355__0; +G__10355.cljs$core$IFn$_invoke$arity$1 = G__10355__1; +G__10355.cljs$core$IFn$_invoke$arity$2 = G__10355__2; +G__10355.cljs$core$IFn$_invoke$arity$variadic = G__10355__3.cljs$core$IFn$_invoke$arity$variadic; +return G__10355; +})() +}); +}); + +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__7435__auto___10361 = size; +var i_10362 = (0); +while(true){ +if((i_10362 < n__7435__auto___10361)){ +cljs.core.chunk_append(b,(function (){var G__10343 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10362); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10343) : f.call(null,G__10343)); +})()); + +var G__10363 = (i_10362 + (1)); +i_10362 = G__10363; +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__10344 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10344) : f.call(null,G__10344)); +})(),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__10345 = cljs.core.first(s1); +var G__10346 = cljs.core.first(s2); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10345,G__10346) : f.call(null,G__10345,G__10346)); +})(),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__10347 = cljs.core.first(s1); +var G__10348 = cljs.core.first(s2); +var G__10349 = cljs.core.first(s3); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10347,G__10348,G__10349) : f.call(null,G__10347,G__10348,G__10349)); +})(),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__10330_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,p1__10330_SHARP_); +});})(step)) +,step(cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(colls,c3,cljs.core.array_seq([c2,c1], 0)))); +}); + +cljs.core.map.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 G__10335 = cljs.core.first(seq10332__$2); +var seq10332__$3 = cljs.core.next(seq10332__$2); +var G__10336 = cljs.core.first(seq10332__$3); +var seq10332__$4 = cljs.core.next(seq10332__$3); +return cljs.core.map.cljs$core$IFn$_invoke$arity$variadic(G__10333,G__10334,G__10335,G__10336,seq10332__$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 args10364 = []; +var len__7625__auto___10367 = arguments.length; +var i__7626__auto___10368 = (0); +while(true){ +if((i__7626__auto___10368 < len__7625__auto___10367)){ +args10364.push((arguments[i__7626__auto___10368])); + +var G__10369 = (i__7626__auto___10368 + (1)); +i__7626__auto___10368 = G__10369; +continue; +} else { +} +break; +} + +var G__10366 = args10364.length; +switch (G__10366) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10364.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__10371 = null; +var G__10371__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10371__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__10371__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__10371 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10371__0.call(this); +case 1: +return G__10371__1.call(this,result); +case 2: +return G__10371__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10371.cljs$core$IFn$_invoke$arity$0 = G__10371__0; +G__10371.cljs$core$IFn$_invoke$arity$1 = G__10371__1; +G__10371.cljs$core$IFn$_invoke$arity$2 = G__10371__2; +return G__10371; +})() +;})(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 args10372 = []; +var len__7625__auto___10375 = arguments.length; +var i__7626__auto___10376 = (0); +while(true){ +if((i__7626__auto___10376 < len__7625__auto___10375)){ +args10372.push((arguments[i__7626__auto___10376])); + +var G__10377 = (i__7626__auto___10376 + (1)); +i__7626__auto___10376 = G__10377; +continue; +} else { +} +break; +} + +var G__10374 = args10372.length; +switch (G__10374) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10372.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__10379 = null; +var G__10379__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10379__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__10379__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__10379 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10379__0.call(this); +case 1: +return G__10379__1.call(this,result); +case 2: +return G__10379__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10379.cljs$core$IFn$_invoke$arity$0 = G__10379__0; +G__10379.cljs$core$IFn$_invoke$arity$1 = G__10379__1; +G__10379.cljs$core$IFn$_invoke$arity$2 = G__10379__2; +return G__10379; +})() +;})(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__10380 = (n__$1 - (1)); +var G__10381 = cljs.core.rest(s); +n__$1 = G__10380; +coll__$1 = G__10381; +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 args10382 = []; +var len__7625__auto___10385 = arguments.length; +var i__7626__auto___10386 = (0); +while(true){ +if((i__7626__auto___10386 < len__7625__auto___10385)){ +args10382.push((arguments[i__7626__auto___10386])); + +var G__10387 = (i__7626__auto___10386 + (1)); +i__7626__auto___10386 = G__10387; +continue; +} else { +} +break; +} + +var G__10384 = args10382.length; +switch (G__10384) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10382.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__10389 = cljs.core.next(s); +var G__10390 = cljs.core.next(lead); +s = G__10389; +lead = G__10390; +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 args10391 = []; +var len__7625__auto___10396 = arguments.length; +var i__7626__auto___10397 = (0); +while(true){ +if((i__7626__auto___10397 < len__7625__auto___10396)){ +args10391.push((arguments[i__7626__auto___10397])); + +var G__10398 = (i__7626__auto___10397 + (1)); +i__7626__auto___10397 = G__10398; +continue; +} else { +} +break; +} + +var G__10393 = args10391.length; +switch (G__10393) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10391.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__10400 = null; +var G__10400__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10400__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__10400__2 = (function (result,input){ +var drop_QMARK_ = cljs.core.deref(da); +if(cljs.core.truth_((function (){var and__6500__auto__ = drop_QMARK_; +if(cljs.core.truth_(and__6500__auto__)){ +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null,input)); +} else { +return and__6500__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__10400 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10400__0.call(this); +case 1: +return G__10400__1.call(this,result); +case 2: +return G__10400__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10400.cljs$core$IFn$_invoke$arity$0 = G__10400__0; +G__10400.cljs$core$IFn$_invoke$arity$1 = G__10400__1; +G__10400.cljs$core$IFn$_invoke$arity$2 = G__10400__2; +return G__10400; +})() +;})(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__6500__auto__ = s; +if(and__6500__auto__){ +var G__10395 = cljs.core.first(s); +return (pred__$1.cljs$core$IFn$_invoke$arity$1 ? pred__$1.cljs$core$IFn$_invoke$arity$1(G__10395) : pred__$1.call(null,G__10395)); +} else { +return and__6500__auto__; +} +})())){ +var G__10401 = pred__$1; +var G__10402 = cljs.core.rest(s); +pred__$1 = G__10401; +coll__$1 = G__10402; +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; + +/** + * Returns a lazy (infinite!) sequence of repetitions of the items in coll. + */ +cljs.core.cycle = (function cljs$core$cycle(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.concat.cljs$core$IFn$_invoke$arity$2(s,(cljs.core.cycle.cljs$core$IFn$_invoke$arity$1 ? cljs.core.cycle.cljs$core$IFn$_invoke$arity$1(s) : cljs.core.cycle.call(null,s))); +} else { +return null; +} +}),null,null)); +}); +/** + * 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); +}); +/** + * Returns a lazy (infinite!, or length n if supplied) sequence of xs. + */ +cljs.core.repeat = (function cljs$core$repeat(var_args){ +var args10403 = []; +var len__7625__auto___10406 = arguments.length; +var i__7626__auto___10407 = (0); +while(true){ +if((i__7626__auto___10407 < len__7625__auto___10406)){ +args10403.push((arguments[i__7626__auto___10407])); + +var G__10408 = (i__7626__auto___10407 + (1)); +i__7626__auto___10407 = G__10408; +continue; +} else { +} +break; +} + +var G__10405 = args10403.length; +switch (G__10405) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10403.length)].join(''))); + +} +}); + +cljs.core.repeat.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (new cljs.core.LazySeq(null,(function (){ +return cljs.core.cons(x,cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(x)); +}),null,null)); +}); + +cljs.core.repeat.cljs$core$IFn$_invoke$arity$2 = (function (n,x){ +return cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(x)); +}); + +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 args10410 = []; +var len__7625__auto___10413 = arguments.length; +var i__7626__auto___10414 = (0); +while(true){ +if((i__7626__auto___10414 < len__7625__auto___10413)){ +args10410.push((arguments[i__7626__auto___10414])); + +var G__10415 = (i__7626__auto___10414 + (1)); +i__7626__auto___10414 = G__10415; +continue; +} else { +} +break; +} + +var G__10412 = args10410.length; +switch (G__10412) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10410.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; + +/** + * 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 cljs.core.cons(x,(new cljs.core.LazySeq(null,(function (){ +var G__10419 = f; +var G__10420 = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null,x)); +return (cljs.core.iterate.cljs$core$IFn$_invoke$arity$2 ? cljs.core.iterate.cljs$core$IFn$_invoke$arity$2(G__10419,G__10420) : cljs.core.iterate.call(null,G__10419,G__10420)); +}),null,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 args10421 = []; +var len__7625__auto___10427 = arguments.length; +var i__7626__auto___10428 = (0); +while(true){ +if((i__7626__auto___10428 < len__7625__auto___10427)){ +args10421.push((arguments[i__7626__auto___10428])); + +var G__10429 = (i__7626__auto___10428 + (1)); +i__7626__auto___10428 = G__10429; +continue; +} else { +} +break; +} + +var G__10426 = args10421.length; +switch (G__10426) { +case 2: +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10421.slice((2)),(0),null)); +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7644__auto__); + +} +}); + +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.array_seq([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)); +}); + +cljs.core.interleave.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); +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic(G__10423,G__10424,seq10422__$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 args10431 = []; +var len__7625__auto___10434 = arguments.length; +var i__7626__auto___10435 = (0); +while(true){ +if((i__7626__auto___10435 < len__7625__auto___10434)){ +args10431.push((arguments[i__7626__auto___10435])); + +var G__10436 = (i__7626__auto___10435 + (1)); +i__7626__auto___10435 = G__10436; +continue; +} else { +} +break; +} + +var G__10433 = args10431.length; +switch (G__10433) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10431.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__10438 = null; +var G__10438__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10438__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__10438__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__10438 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10438__0.call(this); +case 1: +return G__10438__1.call(this,result); +case 2: +return G__10438__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10438.cljs$core$IFn$_invoke$arity$0 = G__10438__0; +G__10438.cljs$core$IFn$_invoke$arity$1 = G__10438__1; +G__10438.cljs$core$IFn$_invoke$arity$2 = G__10438__2; +return G__10438; +})() +;})(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 args10447 = []; +var len__7625__auto___10452 = arguments.length; +var i__7626__auto___10453 = (0); +while(true){ +if((i__7626__auto___10453 < len__7625__auto___10452)){ +args10447.push((arguments[i__7626__auto___10453])); + +var G__10454 = (i__7626__auto___10453 + (1)); +i__7626__auto___10453 = G__10454; +continue; +} else { +} +break; +} + +var G__10451 = args10447.length; +switch (G__10451) { +case 1: +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10447.slice((1)),(0),null)); +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7644__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)); +}); + +cljs.core.mapcat.cljs$lang$applyTo = (function (seq10448){ +var G__10449 = cljs.core.first(seq10448); +var seq10448__$1 = cljs.core.next(seq10448); +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(G__10449,seq10448__$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 args10456 = []; +var len__7625__auto___10460 = arguments.length; +var i__7626__auto___10461 = (0); +while(true){ +if((i__7626__auto___10461 < len__7625__auto___10460)){ +args10456.push((arguments[i__7626__auto___10461])); + +var G__10462 = (i__7626__auto___10461 + (1)); +i__7626__auto___10461 = G__10462; +continue; +} else { +} +break; +} + +var G__10458 = args10456.length; +switch (G__10458) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10456.length)].join(''))); + +} +}); + +cljs.core.filter.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return (function (rf){ +return (function() { +var G__10464 = null; +var G__10464__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__10464__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__10464__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__10464 = function(result,input){ +switch(arguments.length){ +case 0: +return G__10464__0.call(this); +case 1: +return G__10464__1.call(this,result); +case 2: +return G__10464__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10464.cljs$core$IFn$_invoke$arity$0 = G__10464__0; +G__10464.cljs$core$IFn$_invoke$arity$1 = G__10464__1; +G__10464.cljs$core$IFn$_invoke$arity$2 = G__10464__2; +return G__10464; +})() +}); +}); + +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__7435__auto___10465 = size; +var i_10466 = (0); +while(true){ +if((i_10466 < n__7435__auto___10465)){ +if(cljs.core.truth_((function (){var G__10459 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10466); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__10459) : pred.call(null,G__10459)); +})())){ +cljs.core.chunk_append(b,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_10466)); +} else { +} + +var G__10467 = (i_10466 + (1)); +i_10466 = G__10467; +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 args10468 = []; +var len__7625__auto___10471 = arguments.length; +var i__7626__auto___10472 = (0); +while(true){ +if((i__7626__auto___10472 < len__7625__auto___10471)){ +args10468.push((arguments[i__7626__auto___10472])); + +var G__10473 = (i__7626__auto___10472 + (1)); +i__7626__auto___10472 = G__10473; +continue; +} else { +} +break; +} + +var G__10470 = args10468.length; +switch (G__10470) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10468.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.array_seq([(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__10475_SHARP_){ +return !(cljs.core.sequential_QMARK_(p1__10475_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 args10476 = []; +var len__7625__auto___10481 = arguments.length; +var i__7626__auto___10482 = (0); +while(true){ +if((i__7626__auto___10482 < len__7625__auto___10481)){ +args10476.push((arguments[i__7626__auto___10482])); + +var G__10483 = (i__7626__auto___10482 + (1)); +i__7626__auto___10482 = G__10483; +continue; +} else { +} +break; +} + +var G__10478 = args10476.length; +switch (G__10478) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10476.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 args10485 = []; +var len__7625__auto___10493 = arguments.length; +var i__7626__auto___10494 = (0); +while(true){ +if((i__7626__auto___10494 < len__7625__auto___10493)){ +args10485.push((arguments[i__7626__auto___10494])); + +var G__10495 = (i__7626__auto___10494 + (1)); +i__7626__auto___10494 = G__10495; +continue; +} else { +} +break; +} + +var G__10492 = args10485.length; +switch (G__10492) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10485.slice((4)),(0),null)); +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__7644__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.array_seq([colls], 0))); +}); + +cljs.core.mapv.cljs$lang$applyTo = (function (seq10486){ +var G__10487 = cljs.core.first(seq10486); +var seq10486__$1 = cljs.core.next(seq10486); +var G__10488 = cljs.core.first(seq10486__$1); +var seq10486__$2 = cljs.core.next(seq10486__$1); +var G__10489 = cljs.core.first(seq10486__$2); +var seq10486__$3 = cljs.core.next(seq10486__$2); +var G__10490 = cljs.core.first(seq10486__$3); +var seq10486__$4 = cljs.core.next(seq10486__$3); +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic(G__10487,G__10488,G__10489,G__10490,seq10486__$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 args10497 = []; +var len__7625__auto___10500 = arguments.length; +var i__7626__auto___10501 = (0); +while(true){ +if((i__7626__auto___10501 < len__7625__auto___10500)){ +args10497.push((arguments[i__7626__auto___10501])); + +var G__10502 = (i__7626__auto___10501 + (1)); +i__7626__auto___10501 = G__10502; +continue; +} else { +} +break; +} + +var G__10499 = args10497.length; +switch (G__10499) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10497.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 { +var x__7354__auto__ = cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(p,pad)); +return cljs.core._conj(cljs.core.List.EMPTY,x__7354__auto__); +} +} 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 args10504 = []; +var len__7625__auto___10507 = arguments.length; +var i__7626__auto___10508 = (0); +while(true){ +if((i__7626__auto___10508 < len__7625__auto___10507)){ +args10504.push((arguments[i__7626__auto___10508])); + +var G__10509 = (i__7626__auto___10508 + (1)); +i__7626__auto___10508 = G__10509; +continue; +} else { +} +break; +} + +var G__10506 = args10504.length; +switch (G__10506) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10504.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__10511 = sentinel; +var G__10512 = m__$2; +var G__10513 = cljs.core.next(ks__$1); +sentinel = G__10511; +m__$1 = G__10512; +ks__$1 = G__10513; +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__10514,v){ +var vec__10521 = p__10514; +var seq__10522 = cljs.core.seq(vec__10521); +var first__10523 = cljs.core.first(seq__10522); +var seq__10522__$1 = cljs.core.next(seq__10522); +var k = first__10523; +var ks = seq__10522__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__10524 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10525 = ks; +var G__10526 = v; +return (cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3 ? cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3(G__10524,G__10525,G__10526) : cljs.core.assoc_in.call(null,G__10524,G__10525,G__10526)); +})()); +} 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 args10527 = []; +var len__7625__auto___10567 = arguments.length; +var i__7626__auto___10568 = (0); +while(true){ +if((i__7626__auto___10568 < len__7625__auto___10567)){ +args10527.push((arguments[i__7626__auto___10568])); + +var G__10569 = (i__7626__auto___10568 + (1)); +i__7626__auto___10568 = G__10569; +continue; +} else { +} +break; +} + +var G__10536 = args10527.length; +switch (G__10536) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10527.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__7644__auto__); + +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 = (function (m,p__10537,f){ +var vec__10538 = p__10537; +var seq__10539 = cljs.core.seq(vec__10538); +var first__10540 = cljs.core.first(seq__10539); +var seq__10539__$1 = cljs.core.next(seq__10539); +var k = first__10540; +var ks = seq__10539__$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__10541 = 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__10541) : f.call(null,G__10541)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$4 = (function (m,p__10542,f,a){ +var vec__10543 = p__10542; +var seq__10544 = cljs.core.seq(vec__10543); +var first__10545 = cljs.core.first(seq__10544); +var seq__10544__$1 = cljs.core.next(seq__10544); +var k = first__10545; +var ks = seq__10544__$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__10546 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10547 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10546,G__10547) : f.call(null,G__10546,G__10547)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$5 = (function (m,p__10548,f,a,b){ +var vec__10549 = p__10548; +var seq__10550 = cljs.core.seq(vec__10549); +var first__10551 = cljs.core.first(seq__10550); +var seq__10550__$1 = cljs.core.next(seq__10550); +var k = first__10551; +var ks = seq__10550__$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__10552 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10553 = a; +var G__10554 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10552,G__10553,G__10554) : f.call(null,G__10552,G__10553,G__10554)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$6 = (function (m,p__10555,f,a,b,c){ +var vec__10556 = p__10555; +var seq__10557 = cljs.core.seq(vec__10556); +var first__10558 = cljs.core.first(seq__10557); +var seq__10557__$1 = cljs.core.next(seq__10557); +var k = first__10558; +var ks = seq__10557__$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__10559 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10560 = a; +var G__10561 = b; +var G__10562 = c; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__10559,G__10560,G__10561,G__10562) : f.call(null,G__10559,G__10560,G__10561,G__10562)); +})()); +} +}); + +cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic = (function (m,p__10563,f,a,b,c,args){ +var vec__10564 = p__10563; +var seq__10565 = cljs.core.seq(vec__10564); +var first__10566 = cljs.core.first(seq__10565); +var seq__10565__$1 = cljs.core.next(seq__10565); +var k = first__10566; +var ks = seq__10565__$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.array_seq([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.array_seq([args], 0))); +} +}); + +cljs.core.update_in.cljs$lang$applyTo = (function (seq10528){ +var G__10529 = cljs.core.first(seq10528); +var seq10528__$1 = cljs.core.next(seq10528); +var G__10530 = cljs.core.first(seq10528__$1); +var seq10528__$2 = cljs.core.next(seq10528__$1); +var G__10531 = cljs.core.first(seq10528__$2); +var seq10528__$3 = cljs.core.next(seq10528__$2); +var G__10532 = cljs.core.first(seq10528__$3); +var seq10528__$4 = cljs.core.next(seq10528__$3); +var G__10533 = cljs.core.first(seq10528__$4); +var seq10528__$5 = cljs.core.next(seq10528__$4); +var G__10534 = cljs.core.first(seq10528__$5); +var seq10528__$6 = cljs.core.next(seq10528__$5); +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic(G__10529,G__10530,G__10531,G__10532,G__10533,G__10534,seq10528__$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 args10571 = []; +var len__7625__auto___10591 = arguments.length; +var i__7626__auto___10592 = (0); +while(true){ +if((i__7626__auto___10592 < len__7625__auto___10591)){ +args10571.push((arguments[i__7626__auto___10592])); + +var G__10593 = (i__7626__auto___10592 + (1)); +i__7626__auto___10592 = G__10593; +continue; +} else { +} +break; +} + +var G__10580 = args10571.length; +switch (G__10580) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args10571.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__7644__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__10581 = 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__10581) : f.call(null,G__10581)); +})()); +}); + +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__10582 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10583 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10582,G__10583) : f.call(null,G__10582,G__10583)); +})()); +}); + +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__10584 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10585 = x; +var G__10586 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10584,G__10585,G__10586) : f.call(null,G__10584,G__10585,G__10586)); +})()); +}); + +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__10587 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__10588 = x; +var G__10589 = y; +var G__10590 = z; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__10587,G__10588,G__10589,G__10590) : f.call(null,G__10587,G__10588,G__10589,G__10590)); +})()); +}); + +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.array_seq([more], 0))); +}); + +cljs.core.update.cljs$lang$applyTo = (function (seq10572){ +var G__10573 = cljs.core.first(seq10572); +var seq10572__$1 = cljs.core.next(seq10572); +var G__10574 = cljs.core.first(seq10572__$1); +var seq10572__$2 = cljs.core.next(seq10572__$1); +var G__10575 = cljs.core.first(seq10572__$2); +var seq10572__$3 = cljs.core.next(seq10572__$2); +var G__10576 = cljs.core.first(seq10572__$3); +var seq10572__$4 = cljs.core.next(seq10572__$3); +var G__10577 = cljs.core.first(seq10572__$4); +var seq10572__$5 = cljs.core.next(seq10572__$4); +var G__10578 = cljs.core.first(seq10572__$5); +var seq10572__$6 = cljs.core.next(seq10572__$5); +return cljs.core.update.cljs$core$IFn$_invoke$arity$variadic(G__10573,G__10574,G__10575,G__10576,G__10577,G__10578,seq10572__$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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10595 = (ll - (5)); +var G__10596 = r; +ll = G__10595; +ret = G__10596; +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__10601 = pv; +var G__10602 = (level - (5)); +var G__10603 = child; +var G__10604 = tailnode; +return (cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4 ? cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4(G__10601,G__10602,G__10603,G__10604) : cljs.core.push_tail.call(null,G__10601,G__10602,G__10603,G__10604)); +})(); +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("No item "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(i),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" 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__10605 = cljs.core.pv_aget(node,(0)); +var G__10606 = (level - (5)); +node = G__10605; +level = G__10606; +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__10607 = cljs.core.pv_aget(node,((i >>> level) & (31))); +var G__10608 = (level - (5)); +node = G__10607; +level = G__10608; +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__10614 = pv; +var G__10615 = (level - (5)); +var G__10616 = cljs.core.pv_aget(node,subidx); +var G__10617 = i; +var G__10618 = val; +return (cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5 ? cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5(G__10614,G__10615,G__10616,G__10617,G__10618) : cljs.core.do_assoc.call(null,G__10614,G__10615,G__10616,G__10617,G__10618)); +})()); + +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__10622 = pv; +var G__10623 = (level - (5)); +var G__10624 = 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__10622,G__10623,G__10624) : cljs.core.pop_tail.call(null,G__10622,G__10623,G__10624)); +})(); +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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)); +}); + + + + + + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IMapEntry} + * @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$ = 167668511; +this.cljs$lang$protocol_mask$partition1$ = 8196; +}) +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__10635 = null; +var G__10635__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10635__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10635 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10635__1.call(this,x); +case 2: +return G__10635__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10635.cljs$core$IFn$_invoke$arity$1 = G__10635__1; +G__10635.cljs$core$IFn$_invoke$arity$2 = G__10635__2; +return G__10635; +})() +; + +cljs.core.PersistentVector.prototype.lastIndexOf = (function() { +var G__10636 = null; +var G__10636__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__10636__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10636 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10636__1.call(this,x); +case 2: +return G__10636__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10636.cljs$core$IFn$_invoke$arity$1 = G__10636__1; +G__10636.cljs$core$IFn$_invoke$arity$2 = G__10636__2; +return G__10636; +})() +; + +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__10626 = init__$2; +var G__10627 = (j + i); +var G__10628 = (arr[j]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10626,G__10627,G__10628) : f.call(null,G__10626,G__10627,G__10628)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__10637 = (j + (1)); +var G__10638 = init__$3; +j = G__10637; +init__$2 = G__10638; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10639 = (i + len); +var G__10640 = init__$2; +i = G__10639; +init__$1 = G__10640; +continue; +} +} else { +return init__$1; +} +break; +} +}); + +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Index "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" out of bounds [0,"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.cnt),cljs.core.str.cljs$core$IFn$_invoke$arity$1("]")].join(''))); + +} +} +}); + +cljs.core.PersistentVector.prototype.cljs$core$IIterable$ = cljs.core.PROTOCOL_SENTINEL; + +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$IMapEntry$_key$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$IIndexed$_nth$arity$2(null,(0)); +}); + +cljs.core.PersistentVector.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$IIndexed$_nth$arity$2(null,(1)); +}); + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.tv_editable_root.cljs$core$IFn$_invoke$arity$1(self__.root) : cljs.core.tv_editable_root.call(null,self__.root)),(cljs.core.tv_editable_tail.cljs$core$IFn$_invoke$arity$1 ? cljs.core.tv_editable_tail.cljs$core$IFn$_invoke$arity$1(self__.tail) : cljs.core.tv_editable_tail.call(null,self__.tail)))); +}); + +cljs.core.PersistentVector.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); +}); + +cljs.core.PersistentVector.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (v,f){ +var self__ = this; +var v__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(v__$1,f); +}); + +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__10629 = init__$2; +var G__10630 = (arr[j]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10629,G__10630) : f.call(null,G__10629,G__10630)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__10641 = (j + (1)); +var G__10642 = init__$3; +j = G__10641; +init__$2 = G__10642; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10643 = (i + len); +var G__10644 = init__$2; +i = G__10643; +init__$1 = G__10644; +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$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt === (0))){ +return null; +} else { +if((self__.cnt <= (32))){ +return (new cljs.core.IndexedSeq(self__.tail,(0),null)); +} else { +var G__10631 = coll__$1; +var G__10632 = cljs.core.first_array_for_longvec(coll__$1); +var G__10633 = (0); +var G__10634 = (0); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__10631,G__10632,G__10633,G__10634) : cljs.core.chunked_seq.call(null,G__10631,G__10632,G__10633,G__10634)); + +} +} +}); + +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__7435__auto___10645 = len; +var i_10646 = (0); +while(true){ +if((i_10646 < n__7435__auto___10645)){ +(new_tail[i_10646] = (self__.tail[i_10646])); + +var G__10647 = (i_10646 + (1)); +i_10646 = G__10647; +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__10648 = null; +var G__10648__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__10648__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__10648 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__10648__2.call(this,self__,k); +case 3: +return G__10648__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10648.cljs$core$IFn$_invoke$arity$2 = G__10648__2; +G__10648.cljs$core$IFn$_invoke$arity$3 = G__10648__3; +return G__10648; +})() +; + +cljs.core.PersistentVector.prototype.apply = (function (self__,args10625){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10625))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10649 = (i + (1)); +var G__10650 = cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(out,(xs__$1[i])); +i = G__10649; +out = G__10650; +continue; +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} +} +}); +(cljs.core.PersistentVector.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Creates a new vector containing the contents of coll. JavaScript arrays + * will be aliased and should not be modified. + */ +cljs.core.vec = (function cljs$core$vec(coll){ +if(cljs.core.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__7632__auto__ = []; +var len__7625__auto___10652 = arguments.length; +var i__7626__auto___10653 = (0); +while(true){ +if((i__7626__auto___10653 < len__7625__auto___10652)){ +args__7632__auto__.push((arguments[i__7626__auto___10653])); + +var G__10654 = (i__7626__auto___10653 + (1)); +i__7626__auto___10653 = G__10654; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.vector.cljs$lang$applyTo = (function (seq10651){ +return cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq10651)); +}); + + +/** +* @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__10677 = null; +var G__10677__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10677__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10677 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10677__1.call(this,x); +case 2: +return G__10677__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10677.cljs$core$IFn$_invoke$arity$1 = G__10677__1; +G__10677.cljs$core$IFn$_invoke$arity$2 = G__10677__2; +return G__10677; +})() +; + +cljs.core.ChunkedSeq.prototype.lastIndexOf = (function() { +var G__10678 = null; +var G__10678__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__10678__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10678 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10678__1.call(this,x); +case 2: +return G__10678__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10678.cljs$core$IFn$_invoke$arity$1 = G__10678__1; +G__10678.cljs$core$IFn$_invoke$arity$2 = G__10678__2; +return G__10678; +})() +; + +cljs.core.ChunkedSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(((self__.off + (1)) < self__.node.length)){ +var s = (function (){var G__10655 = self__.vec; +var G__10656 = self__.node; +var G__10657 = self__.i; +var G__10658 = (self__.off + (1)); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__10655,G__10656,G__10657,G__10658) : cljs.core.chunked_seq.call(null,G__10655,G__10656,G__10657,G__10658)); +})(); +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2((function (){var G__10659 = self__.vec; +var G__10660 = (self__.i + self__.off); +var G__10661 = cljs.core.count(self__.vec); +return (cljs.core.subvec.cljs$core$IFn$_invoke$arity$3 ? cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(G__10659,G__10660,G__10661) : cljs.core.subvec.call(null,G__10659,G__10660,G__10661)); +})(),f); +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3((function (){var G__10662 = self__.vec; +var G__10663 = (self__.i + self__.off); +var G__10664 = cljs.core.count(self__.vec); +return (cljs.core.subvec.cljs$core$IFn$_invoke$arity$3 ? cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(G__10662,G__10663,G__10664) : cljs.core.subvec.call(null,G__10662,G__10663,G__10664)); +})(),f,start); +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (self__.node[self__.off]); +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(((self__.off + (1)) < self__.node.length)){ +var s = (function (){var G__10665 = self__.vec; +var G__10666 = self__.node; +var G__10667 = self__.i; +var G__10668 = (self__.off + (1)); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__10665,G__10666,G__10667,G__10668) : cljs.core.chunked_seq.call(null,G__10665,G__10666,G__10667,G__10668)); +})(); +if((s == null)){ +return cljs.core.List.EMPTY; +} else { +return s; +} +} else { +return coll__$1.cljs$core$IChunkedSeq$_chunked_rest$arity$1(null); +} +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2(self__.node,self__.off); +}); + +cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var end = (self__.i + self__.node.length); +if((end < cljs.core._count(self__.vec))){ +var G__10669 = self__.vec; +var G__10670 = cljs.core.unchecked_array_for(self__.vec,end); +var G__10671 = end; +var G__10672 = (0); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__10669,G__10670,G__10671,G__10672) : cljs.core.chunked_seq.call(null,G__10669,G__10670,G__10671,G__10672)); +} 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 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5(self__.vec,self__.node,self__.i,self__.off,m) : cljs.core.chunked_seq.call(null,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))){ +var G__10673 = self__.vec; +var G__10674 = cljs.core.unchecked_array_for(self__.vec,end); +var G__10675 = end; +var G__10676 = (0); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__10673,G__10674,G__10675,G__10676) : cljs.core.chunked_seq.call(null,G__10673,G__10674,G__10675,G__10676)); +} 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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/ChunkedSeq"); +}); + +cljs.core.__GT_ChunkedSeq = (function cljs$core$__GT_ChunkedSeq(vec,node,i,off,meta,__hash){ +return (new cljs.core.ChunkedSeq(vec,node,i,off,meta,__hash)); +}); + +(cljs.core.ChunkedSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.chunked_seq = (function cljs$core$chunked_seq(var_args){ +var args10679 = []; +var len__7625__auto___10682 = arguments.length; +var i__7626__auto___10683 = (0); +while(true){ +if((i__7626__auto___10683 < len__7625__auto___10682)){ +args10679.push((arguments[i__7626__auto___10683])); + +var G__10684 = (i__7626__auto___10683 + (1)); +i__7626__auto___10683 = G__10684; +continue; +} else { +} +break; +} + +var G__10681 = args10679.length; +switch (G__10681) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10679.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.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$ = 8192; +}) +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__10706 = null; +var G__10706__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10706__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__10706 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__10706__1.call(this,x); +case 2: +return G__10706__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10706.cljs$core$IFn$_invoke$arity$1 = G__10706__1; +G__10706.cljs$core$IFn$_invoke$arity$2 = G__10706__2; +return G__10706; +})() +; + +cljs.core.Subvec.prototype.lastIndexOf = (function() { +var G__10707 = null; +var G__10707__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__10707__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__10707 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__10707__1.call(this,x); +case 2: +return G__10707__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10707.cljs$core$IFn$_invoke$arity$1 = G__10707__1; +G__10707.cljs$core$IFn$_invoke$arity$2 = G__10707__2; +return G__10707; +})() +; + +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__10687 = init__$1; +var G__10688 = j; +var G__10689 = 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__10687,G__10688,G__10689) : f.call(null,G__10687,G__10688,G__10689)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10708 = (i + (1)); +var G__10709 = (j + (1)); +var G__10710 = init__$2; +i = G__10708; +j = G__10709; +init__$1 = G__10710; +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Index "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" out of bounds [0,"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll__$1.cljs$core$ICounted$_count$arity$1(null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1("]")].join(''))); +} else { +var G__10690 = self__.meta; +var G__10691 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.v,v_pos,val); +var G__10692 = self__.start; +var G__10693 = (function (){var x__6848__auto__ = self__.end; +var y__6849__auto__ = (v_pos + (1)); +return ((x__6848__auto__ > y__6849__auto__) ? x__6848__auto__ : y__6849__auto__); +})(); +var G__10694 = null; +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(G__10690,G__10691,G__10692,G__10693,G__10694) : cljs.core.build_subvec.call(null,G__10690,G__10691,G__10692,G__10693,G__10694)); +} +}); + +cljs.core.Subvec.prototype.cljs$core$IIterable$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.Subvec.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.ranged_iterator(self__.v,self__.start,self__.end); +}); + +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 { +var G__10695 = self__.meta; +var G__10696 = self__.v; +var G__10697 = self__.start; +var G__10698 = (self__.end - (1)); +var G__10699 = null; +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(G__10695,G__10696,G__10697,G__10698,G__10699) : cljs.core.build_subvec.call(null,G__10695,G__10696,G__10697,G__10698,G__10699)); +} +}); + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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; +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,start__$1){ +var self__ = this; +var coll__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start__$1); +}); + +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.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(meta__$1,self__.v,self__.start,self__.end,self__.__hash) : cljs.core.build_subvec.call(null,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; +var G__10701 = self__.meta; +var G__10702 = cljs.core._assoc_n(self__.v,self__.end,o); +var G__10703 = self__.start; +var G__10704 = (self__.end + (1)); +var G__10705 = null; +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(G__10701,G__10702,G__10703,G__10704,G__10705) : cljs.core.build_subvec.call(null,G__10701,G__10702,G__10703,G__10704,G__10705)); +}); + +cljs.core.Subvec.prototype.call = (function() { +var G__10711 = null; +var G__10711__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__10711__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__10711 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__10711__2.call(this,self__,k); +case 3: +return G__10711__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10711.cljs$core$IFn$_invoke$arity$2 = G__10711__2; +G__10711.cljs$core$IFn$_invoke$arity$3 = G__10711__3; +return G__10711; +})() +; + +cljs.core.Subvec.prototype.apply = (function (self__,args10686){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10686))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/Subvec"); +}); + +cljs.core.__GT_Subvec = (function cljs$core$__GT_Subvec(meta,v,start,end,__hash){ +return (new cljs.core.Subvec(meta,v,start,end,__hash)); +}); + +(cljs.core.Subvec.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.build_subvec = (function cljs$core$build_subvec(meta,v,start,end,__hash){ +while(true){ +if((v instanceof cljs.core.Subvec)){ +var G__10712 = meta; +var G__10713 = v.v; +var G__10714 = (v.start + start); +var G__10715 = (v.start + end); +var G__10716 = __hash; +meta = G__10712; +v = G__10713; +start = G__10714; +end = G__10715; +__hash = G__10716; +continue; +} else { +var c = cljs.core.count(v); +if(((start < (0))) || ((end < (0))) || ((start > c)) || ((end > c))){ +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 args10717 = []; +var len__7625__auto___10720 = arguments.length; +var i__7626__auto___10721 = (0); +while(true){ +if((i__7626__auto___10721 < len__7625__auto___10720)){ +args10717.push((arguments[i__7626__auto___10721])); + +var G__10722 = (i__7626__auto___10721 + (1)); +i__7626__auto___10721 = G__10722; +continue; +} else { +} +break; +} + +var G__10719 = args10717.length; +switch (G__10719) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10717.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){ +return cljs.core.build_subvec(null,v,start,end,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__10732 = tv; +var G__10733 = (level - (5)); +var G__10734 = child; +var G__10735 = 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__10732,G__10733,G__10734,G__10735) : cljs.core.tv_push_tail.call(null,G__10732,G__10733,G__10734,G__10735)); +} 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__10739 = tv; +var G__10740 = (level - (5)); +var G__10741 = 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__10739,G__10740,G__10741) : cljs.core.tv_pop_tail.call(null,G__10739,G__10740,G__10741)); +})(); +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__10742 = cljs.core.tv_ensure_editable(root.edit,cljs.core.pv_aget(node,((i >>> level) & (31)))); +var G__10743 = (level - (5)); +node = G__10742; +level = G__10743; +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 (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)) +.call(null,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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Index "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" 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__10747 = null; +var G__10747__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__10747__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__10747 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__10747__2.call(this,self__,k); +case 3: +return G__10747__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10747.cljs$core$IFn$_invoke$arity$2 = G__10747__2; +G__10747.cljs$core$IFn$_invoke$arity$3 = G__10747__3; +return G__10747; +})() +; + +cljs.core.TransientVector.prototype.apply = (function (self__,args10744){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10744))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__6512__auto__ = (!((self__.fseq == null))) && (cljs.core.seq(self__.fseq)); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +var and__6500__auto__ = !((self__.riter == null)); +if(and__6500__auto__){ +return self__.riter.hasNext(); +} else { +return and__6500__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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.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$ = 31850572; +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__10748 = null; +var G__10748__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10748__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10748 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10748__1.call(this,x); +case 2: +return G__10748__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10748.cljs$core$IFn$_invoke$arity$1 = G__10748__1; +G__10748.cljs$core$IFn$_invoke$arity$2 = G__10748__2; +return G__10748; +})() +; + +cljs.core.PersistentQueueSeq.prototype.lastIndexOf = (function() { +var G__10749 = null; +var G__10749__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__10749__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10749 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10749__1.call(this,x); +case 2: +return G__10749__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10749.cljs$core$IFn$_invoke$arity$1 = G__10749__1; +G__10749.cljs$core$IFn$_invoke$arity$2 = G__10749__2; +return G__10749; +})() +; + +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$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/PersistentQueueSeq"); +}); + +cljs.core.__GT_PersistentQueueSeq = (function cljs$core$__GT_PersistentQueueSeq(meta,front,rear,__hash){ +return (new cljs.core.PersistentQueueSeq(meta,front,rear,__hash)); +}); + +(cljs.core.PersistentQueueSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.PersistentQueue = (function (meta,count,front,rear,__hash){ +this.meta = meta; +this.count = count; +this.front = front; +this.rear = rear; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 31858766; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}) +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__10750 = null; +var G__10750__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10750__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10750 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10750__1.call(this,x); +case 2: +return G__10750__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10750.cljs$core$IFn$_invoke$arity$1 = G__10750__1; +G__10750.cljs$core$IFn$_invoke$arity$2 = G__10750__2; +return G__10750; +})() +; + +cljs.core.PersistentQueue.prototype.lastIndexOf = (function() { +var G__10751 = null; +var G__10751__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__10751__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10751 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10751__1.call(this,x); +case 2: +return G__10751__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10751.cljs$core$IFn$_invoke$arity$1 = G__10751__1; +G__10751.cljs$core$IFn$_invoke$arity$2 = G__10751__2; +return G__10751; +})() +; + +cljs.core.PersistentQueue.prototype.cljs$core$IIterable$ = cljs.core.PROTOCOL_SENTINEL; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__6512__auto__ = self__.front; +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__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__6512__auto__ = self__.rear; +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/PersistentQueue"); +}); + +cljs.core.__GT_PersistentQueue = (function cljs$core$__GT_PersistentQueue(meta,count,front,rear,__hash){ +return (new cljs.core.PersistentQueue(meta,count,front,rear,__hash)); +}); + +cljs.core.PersistentQueue.EMPTY = (new cljs.core.PersistentQueue(null,(0),null,cljs.core.PersistentVector.EMPTY,cljs.core.empty_ordered_hash)); +(cljs.core.PersistentQueue.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IEquiv} +*/ +cljs.core.NeverEquiv = (function (){ +this.cljs$lang$protocol_mask$partition0$ = 2097152; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.NeverEquiv.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); +}); + +cljs.core.NeverEquiv.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ +var self__ = this; +var o__$1 = this; +return false; +}); + +cljs.core.NeverEquiv.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +}); + +cljs.core.NeverEquiv.cljs$lang$type = true; + +cljs.core.NeverEquiv.cljs$lang$ctorStr = "cljs.core/NeverEquiv"; + +cljs.core.NeverEquiv.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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()); +/** + * Assumes y is a map. 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.count(x) === cljs.core.count(y)))?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__10752 = (i + incr); +i = G__10752; +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__10753 = (i + (1)); +var G__10754 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,k__$1,(so[k__$1])); +i = G__10753; +out = G__10754; +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_10759 = (0); +while(true){ +if((i_10759 < l)){ +var k_10760 = (ks[i_10759]); +(new_obj[k_10760] = (obj[k_10760])); + +var G__10761 = (i_10759 + (1)); +i_10759 = G__10761; +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.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.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__10764 = init__$1; +var G__10765 = k; +var G__10766 = (self__.strobj[k]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10764,G__10765,G__10766) : f.call(null,G__10764,G__10765,G__10766)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10767 = cljs.core.rest(keys__$1); +var G__10768 = init__$2; +keys__$1 = G__10767; +init__$1 = G__10768; +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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); +(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); +(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__10762_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__10762_SHARP_,(self__.strobj[p1__10762_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__10769 = null; +var G__10769__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__10769__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__10769 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__10769__2.call(this,self__,k); +case 3: +return G__10769__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10769.cljs$core$IFn$_invoke$arity$2 = G__10769__2; +G__10769.cljs$core$IFn$_invoke$arity$3 = G__10769__3; +return G__10769; +})() +; + +cljs.core.ObjMap.prototype.apply = (function (self__,args10763){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10763))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__6512__auto__ = (self__.i < self__.base_count); +if(or__6512__auto__){ +return or__6512__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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10772 = cljs.core.first(self__.s); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10772,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10772,(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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10775 = (i + (2)); +i = G__10775; +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__10776 = (i + (2)); +i = G__10776; +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__10777 = (i + (2)); +i = G__10777; +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__10778 = (i + (2)); +i = G__10778; +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__10779 = (i + (2)); +i = G__10779; +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_10780 = (0); +while(true){ +if((i_10780 < l)){ +(narr[i_10780] = (arr[i_10780])); + +var G__10781 = (i_10780 + (1)); +i_10780 = G__10781; +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.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__10782 = null; +var G__10782__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10782__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10782 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10782__1.call(this,x); +case 2: +return G__10782__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10782.cljs$core$IFn$_invoke$arity$1 = G__10782__1; +G__10782.cljs$core$IFn$_invoke$arity$2 = G__10782__2; +return G__10782; +})() +; + +cljs.core.PersistentArrayMapSeq.prototype.lastIndexOf = (function() { +var G__10783 = null; +var G__10783__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__10783__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10783 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10783__1.call(this,x); +case 2: +return G__10783__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10783.cljs$core$IFn$_invoke$arity$1 = G__10783__1; +G__10783.cljs$core$IFn$_invoke$arity$2 = G__10783__2; +return G__10783; +})() +; + +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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/PersistentArrayMapSeq"); +}); + +cljs.core.__GT_PersistentArrayMapSeq = (function cljs$core$__GT_PersistentArrayMapSeq(arr,i,_meta){ +return (new cljs.core.PersistentArrayMapSeq(arr,i,_meta)); +}); + +(cljs.core.PersistentArrayMapSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.persistent_array_map_seq = (function cljs$core$persistent_array_map_seq(arr,i,_meta){ +if((i <= (arr.length - (2)))){ +return (new cljs.core.PersistentArrayMapSeq(arr,i,_meta)); +} else { +return null; +} +}); + + +/** +* @constructor +*/ +cljs.core.PersistentArrayMapIterator = (function (arr,i,cnt){ +this.arr = arr; +this.i = i; +this.cnt = cnt; +}) +cljs.core.PersistentArrayMapIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.cnt); +}); + +cljs.core.PersistentArrayMapIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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.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$ = 8196; +}) +cljs.core.PersistentArrayMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +}); + +cljs.core.PersistentArrayMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); +}); + +cljs.core.PersistentArrayMap.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.keys.cljs$core$IFn$_invoke$arity$1 ? cljs.core.keys.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.keys.call(null,coll))); +}); + +cljs.core.PersistentArrayMap.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +}); + +cljs.core.PersistentArrayMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.vals.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vals.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.vals.call(null,coll))); +}); + +cljs.core.PersistentArrayMap.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +}); + +cljs.core.PersistentArrayMap.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); + +cljs.core.PersistentArrayMap.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__10785 = cljs.core.seq(coll); +var chunk__10786 = null; +var count__10787 = (0); +var i__10788 = (0); +while(true){ +if((i__10788 < count__10787)){ +var vec__10789 = chunk__10786.cljs$core$IIndexed$_nth$arity$2(null,i__10788); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10789,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10789,(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__10802 = seq__10785; +var G__10803 = chunk__10786; +var G__10804 = count__10787; +var G__10805 = (i__10788 + (1)); +seq__10785 = G__10802; +chunk__10786 = G__10803; +count__10787 = G__10804; +i__10788 = G__10805; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__10785); +if(temp__4657__auto__){ +var seq__10785__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__10785__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__10785__$1); +var G__10806 = cljs.core.chunk_rest(seq__10785__$1); +var G__10807 = c__7331__auto__; +var G__10808 = cljs.core.count(c__7331__auto__); +var G__10809 = (0); +seq__10785 = G__10806; +chunk__10786 = G__10807; +count__10787 = G__10808; +i__10788 = G__10809; +continue; +} else { +var vec__10792 = cljs.core.first(seq__10785__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10792,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10792,(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__10810 = cljs.core.next(seq__10785__$1); +var G__10811 = null; +var G__10812 = (0); +var G__10813 = (0); +seq__10785 = G__10810; +chunk__10786 = G__10811; +count__10787 = G__10812; +i__10788 = G__10813; +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__10795 = init__$1; +var G__10796 = (self__.arr[i]); +var G__10797 = (self__.arr[(i + (1))]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10795,G__10796,G__10797) : f.call(null,G__10795,G__10796,G__10797)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10814 = (i + (2)); +var G__10815 = init__$2; +i = G__10814; +init__$1 = G__10815; +continue; +} +} else { +return init__$1; +} +break; +} +}); + +cljs.core.PersistentArrayMap.prototype.cljs$core$IIterable$ = cljs.core.PROTOCOL_SENTINEL; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__auto____$1; +} +}); + +cljs.core.PersistentArrayMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +if(((!((other == null)))?((((other.cljs$lang$protocol_mask$partition0$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === other.cljs$core$IMap$)))?true:false):false)){ +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__10816 = (i + (2)); +i = G__10816; +continue; +} else { +return false; +} +} else { +return false; +} +} else { +return true; +} +break; +} +} else { +return false; +} +} else { +return cljs.core.equiv_map(coll__$1,other); +} +}); + +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.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +}); + +cljs.core.PersistentArrayMap.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.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__10817 = (s + (2)); +var G__10818 = d; +s = G__10817; +d = G__10818; +continue; +} else { +(new_arr[d] = (self__.arr[s])); + +(new_arr[(d + (1))] = (self__.arr[(s + (1))])); + +var G__10819 = (s + (2)); +var G__10820 = (d + (2)); +s = G__10819; +d = G__10820; +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__10801 = cljs.core.aclone(self__.arr); +(G__10801[(idx + (1))] = v); + +return G__10801; +})(); +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__10821 = 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__10822 = cljs.core.next(es); +ret = G__10821; +es = G__10822; +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__10823 = null; +var G__10823__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__10823__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__10823 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__10823__2.call(this,self__,k); +case 3: +return G__10823__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10823.cljs$core$IFn$_invoke$arity$2 = G__10823__2; +G__10823.cljs$core$IFn$_invoke$arity$3 = G__10823__3; +return G__10823; +})() +; + +cljs.core.PersistentArrayMap.prototype.apply = (function (self__,args10784){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10784))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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_10824 = (0); +while(true){ +if((i_10824 < arr__$1.length)){ +var k_10825 = (arr__$1[i_10824]); +var v_10826 = (arr__$1[(i_10824 + (1))]); +var idx_10827 = cljs.core.array_index_of(ret,k_10825); +if((idx_10827 === (-1))){ +ret.push(k_10825); + +ret.push(v_10826); +} else { +} + +var G__10828 = (i_10824 + (2)); +i_10824 = G__10828; +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_10830 = (0); +while(true){ +if((i_10830 < arr.length)){ +var k_10831 = (arr[i_10830]); +var v_10832 = (arr[(i_10830 + (1))]); +var idx_10833 = cljs.core.array_index_of(ret,k_10831); +if((idx_10833 === (-1))){ +var G__10829_10834 = ret; +G__10829_10834.push(k_10831); + +G__10829_10834.push(v_10832); + +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Duplicate key: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(k_10831)].join(''))); +} + +var G__10835 = (i_10830 + (2)); +i_10830 = G__10835; +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_10837 = (0); +while(true){ +if((i_10837 < arr.length)){ +var k_10838 = (arr[i_10837]); +var v_10839 = (arr[(i_10837 + (1))]); +var idx_10840 = cljs.core.array_index_of(ret,k_10838); +if((idx_10840 === (-1))){ +var G__10836_10841 = ret; +G__10836_10841.push(k_10838); + +G__10836_10841.push(v_10839); + +} else { +(ret[(idx_10840 + (1))] = v_10839); +} + +var G__10842 = (i_10837 + (2)); +i_10837 = G__10842; +continue; +} else { +} +break; +} + +return (new cljs.core.PersistentArrayMap(null,(ret.length / (2)),ret,null)); +}); +(cljs.core.PersistentArrayMap.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @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$ = 258; +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(((!((o == null)))?((((o.cljs$lang$protocol_mask$partition0$ & (2048))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMapEntry$)))?true:(((!o.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IMapEntry,o):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IMapEntry,o))){ +return tcoll__$1.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,(cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.key.call(null,o)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.val.call(null,o))); +} else { +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__10845 = cljs.core.next(es); +var G__10846 = tcoll__$2.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,(cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.key.call(null,e)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.val.call(null,e))); +es = G__10845; +tcoll__$2 = G__10846; +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.cljs$core$IFn$_invoke$arity$2 ? cljs.core.array__GT_transient_hash_map.cljs$core$IFn$_invoke$arity$2(self__.len,self__.arr) : cljs.core.array__GT_transient_hash_map.call(null,self__.len,self__.arr)),key,val); +} +} else { +if((val === (self__.arr[(idx + (1))]))){ +return tcoll__$1; +} else { +(self__.arr[(idx + (1))] = val); + +return tcoll__$1; +} +} +} else { +throw (new Error("assoc! after persistent!")); +} +}); + +cljs.core.TransientArrayMap.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 = (function (tcoll,key){ +var self__ = this; +var tcoll__$1 = this; +if(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__10844_10847 = self__.arr; +G__10844_10847.pop(); + +G__10844_10847.pop(); + + +self__.len = (self__.len - (2)); +} else { +} + +return tcoll__$1; +} else { +throw (new Error("dissoc! after persistent!")); +} +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10848 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,(arr[i]),(arr[(i + (1))])); +var G__10849 = (i + (2)); +out = G__10848; +i = G__10849; +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args10850 = []; +var len__7625__auto___10855 = arguments.length; +var i__7626__auto___10856 = (0); +while(true){ +if((i__7626__auto___10856 < len__7625__auto___10855)){ +args10850.push((arguments[i__7626__auto___10856])); + +var G__10857 = (i__7626__auto___10856 + (1)); +i__7626__auto___10856 = G__10857; +continue; +} else { +} +break; +} + +var G__10852 = args10850.length; +switch (G__10852) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10850.length)].join(''))); + +} +}); + +cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3 = (function (arr,i,a){ +var G__10853 = cljs.core.aclone(arr); +(G__10853[i] = a); + +return G__10853; +}); + +cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5 = (function (arr,i,a,j,b){ +var G__10854 = cljs.core.aclone(arr); +(G__10854[i] = a); + +(G__10854[j] = b); + +return G__10854; +}); + +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 args10859 = []; +var len__7625__auto___10862 = arguments.length; +var i__7626__auto___10863 = (0); +while(true){ +if((i__7626__auto___10863 < len__7625__auto___10862)){ +args10859.push((arguments[i__7626__auto___10863])); + +var G__10864 = (i__7626__auto___10863 + (1)); +i__7626__auto___10863 = G__10864; +continue; +} else { +} +break; +} + +var G__10861 = args10859.length; +switch (G__10861) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10859.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__10869 = init__$1; +var G__10870 = k; +var G__10871 = (arr[(i + (1))]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10869,G__10870,G__10871) : f.call(null,G__10869,G__10870,G__10871)); +} 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 (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10872 = (i + (2)); +var G__10873 = init__$2; +i = G__10872; +init__$1 = G__10873; +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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [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__6512__auto__ = !((self__.next_entry == null)); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +var or__6512__auto____$1 = !((self__.next_iter == null)); +if(or__6512__auto____$1){ +return or__6512__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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; +}) +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_[(0)] = true); + +return inode.edit_and_remove_pair(edit__$1,bit,idx); +} else { +return inode; + +} +} +} +}); + +cljs.core.BitmapIndexedNode.prototype.edit_and_remove_pair = (function (e,bit,i){ +var self__ = this; +var inode = this; +if((self__.bitmap === bit)){ +return null; +} else { +var editable = inode.ensure_editable(e); +var earr = editable.arr; +var len = earr.length; +editable.bitmap = (bit ^ editable.bitmap); + +cljs.core.array_copy(earr,((2) * (i + (1))),earr,((2) * i),(len - ((2) * (i + (1))))); + +(earr[(len - (2))] = null); + +(earr[(len - (1))] = null); + +return editable; +} +}); + +cljs.core.BitmapIndexedNode.prototype.inode_seq = (function (){ +var self__ = this; +var inode = this; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1(self__.arr) : cljs.core.create_inode_seq.call(null,self__.arr)); +}); + +cljs.core.BitmapIndexedNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var inode = this; +return cljs.core.inode_kv_reduce(self__.arr,f,init); +}); + +cljs.core.BitmapIndexedNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +if(((self__.bitmap & bit) === (0))){ +return not_found; +} else { +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +return val_or_node.inode_lookup((shift + (5)),hash,key,not_found); +} else { +if(cljs.core.key_test(key,key_or_nil)){ +return val_or_node; +} else { +return not_found; + +} +} +} +}); + +cljs.core.BitmapIndexedNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +if(((self__.bitmap & bit) === (0))){ +var n = cljs.core.bit_count(self__.bitmap); +if((((2) * n) < self__.arr.length)){ +var editable = inode.ensure_editable(edit__$1); +var earr = editable.arr; +added_leaf_QMARK_.val = true; + +cljs.core.array_copy_downward(earr,((2) * idx),earr,((2) * (idx + (1))),((2) * (n - idx))); + +(earr[((2) * idx)] = key); + +(earr[(((2) * idx) + (1))] = val); + +editable.bitmap = (editable.bitmap | bit); + +return editable; +} else { +if((n >= (16))){ +var nodes = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +var jdx = ((hash >>> shift) & 0x01f); +(nodes[jdx] = cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_)); + +var i_10887 = (0); +var j_10888 = (0); +while(true){ +if((i_10887 < (32))){ +if((((self__.bitmap >>> i_10887) & (1)) === (0))){ +var G__10889 = (i_10887 + (1)); +var G__10890 = j_10888; +i_10887 = G__10889; +j_10888 = G__10890; +continue; +} else { +(nodes[i_10887] = ((!(((self__.arr[j_10888]) == null)))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),cljs.core.hash((self__.arr[j_10888])),(self__.arr[j_10888]),(self__.arr[(j_10888 + (1))]),added_leaf_QMARK_):(self__.arr[(j_10888 + (1))]))); + +var G__10891 = (i_10887 + (1)); +var G__10892 = (j_10888 + (2)); +i_10887 = G__10891; +j_10888 = G__10892; +continue; +} +} else { +} +break; +} + +return (new cljs.core.ArrayNode(edit__$1,(n + (1)),nodes)); +} else { +var new_arr = (new Array(((2) * (n + (4))))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * idx)); + +(new_arr[((2) * idx)] = key); + +(new_arr[(((2) * idx) + (1))] = val); + +cljs.core.array_copy(self__.arr,((2) * idx),new_arr,((2) * (idx + (1))),((2) * (n - idx))); + +added_leaf_QMARK_.val = true; + +var editable = inode.ensure_editable(edit__$1); +editable.arr = new_arr; + +editable.bitmap = (editable.bitmap | bit); + +return editable; + +} +} +} else { +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +var n = val_or_node.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_); +if((n === val_or_node)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),n); +} +} else { +if(cljs.core.key_test(key,key_or_nil)){ +if((val === val_or_node)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),val); +} +} else { +added_leaf_QMARK_.val = true; + +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6(inode,edit__$1,((2) * idx),null,(((2) * idx) + (1)),(function (){var G__10874 = edit__$1; +var G__10875 = (shift + (5)); +var G__10876 = key_or_nil; +var G__10877 = val_or_node; +var G__10878 = hash; +var G__10879 = key; +var G__10880 = val; +return (cljs.core.create_node.cljs$core$IFn$_invoke$arity$7 ? cljs.core.create_node.cljs$core$IFn$_invoke$arity$7(G__10874,G__10875,G__10876,G__10877,G__10878,G__10879,G__10880) : cljs.core.create_node.call(null,G__10874,G__10875,G__10876,G__10877,G__10878,G__10879,G__10880)); +})()); + +} +} +} +}); + +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_10893 = (0); +var j_10894 = (0); +while(true){ +if((i_10893 < (32))){ +if((((self__.bitmap >>> i_10893) & (1)) === (0))){ +var G__10895 = (i_10893 + (1)); +var G__10896 = j_10894; +i_10893 = G__10895; +j_10894 = G__10896; +continue; +} else { +(nodes[i_10893] = ((!(((self__.arr[j_10894]) == null)))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),cljs.core.hash((self__.arr[j_10894])),(self__.arr[j_10894]),(self__.arr[(j_10894 + (1))]),added_leaf_QMARK_):(self__.arr[(j_10894 + (1))]))); + +var G__10897 = (i_10893 + (1)); +var G__10898 = (j_10894 + (2)); +i_10893 = G__10897; +j_10894 = G__10898; +continue; +} +} else { +} +break; +} + +return (new cljs.core.ArrayNode(null,(n + (1)),nodes)); +} else { +var new_arr = (new Array(((2) * (n + (1))))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * idx)); + +(new_arr[((2) * idx)] = key); + +(new_arr[(((2) * idx) + (1))] = val); + +cljs.core.array_copy(self__.arr,((2) * idx),new_arr,((2) * (idx + (1))),((2) * (n - idx))); + +added_leaf_QMARK_.val = true; + +return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap | bit),new_arr)); +} +} else { +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +var n = val_or_node.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_); +if((n === val_or_node)){ +return inode; +} else { +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),n))); +} +} else { +if(cljs.core.key_test(key,key_or_nil)){ +if((val === val_or_node)){ +return inode; +} else { +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),val))); +} +} else { +added_leaf_QMARK_.val = true; + +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5(self__.arr,((2) * idx),null,(((2) * idx) + (1)),(function (){var G__10881 = (shift + (5)); +var G__10882 = key_or_nil; +var G__10883 = val_or_node; +var G__10884 = hash; +var G__10885 = key; +var G__10886 = val; +return (cljs.core.create_node.cljs$core$IFn$_invoke$arity$6 ? cljs.core.create_node.cljs$core$IFn$_invoke$arity$6(G__10881,G__10882,G__10883,G__10884,G__10885,G__10886) : cljs.core.create_node.call(null,G__10881,G__10882,G__10883,G__10884,G__10885,G__10886)); +})()))); + +} +} +} +}); + +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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [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$ = cljs.core.PROTOCOL_SENTINEL; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10899 = (i + (1)); +var G__10900 = (j + (2)); +var G__10901 = (bitmap | ((1) << i)); +i = G__10899; +j = G__10900; +bitmap = G__10901; +continue; +} else { +var G__10902 = (i + (1)); +var G__10903 = j; +var G__10904 = bitmap; +i = G__10902; +j = G__10903; +bitmap = G__10904; +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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; +}) +cljs.core.ArrayNode.prototype.ensure_editable = (function (e){ +var self__ = this; +var inode = this; +if((e === self__.edit)){ +return inode; +} else { +return (new cljs.core.ArrayNode(e,self__.cnt,cljs.core.aclone(self__.arr))); +} +}); + +cljs.core.ArrayNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((node == null)){ +return inode; +} else { +var n = node.inode_without_BANG_(edit__$1,(shift + (5)),hash,key,removed_leaf_QMARK_); +if((n === node)){ +return inode; +} else { +if((n == null)){ +if((self__.cnt <= (8))){ +return cljs.core.pack_array_node(inode,edit__$1,idx); +} else { +var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); +editable.cnt = (editable.cnt - (1)); + +return editable; +} +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); + +} +} +} +}); + +cljs.core.ArrayNode.prototype.inode_seq = (function (){ +var self__ = this; +var inode = this; +return (cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1(self__.arr) : cljs.core.create_array_node_seq.call(null,self__.arr)); +}); + +cljs.core.ArrayNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var inode = this; +var len = self__.arr.length; +var i = (0); +var init__$1 = init; +while(true){ +if((i < len)){ +var node = (self__.arr[i]); +if(!((node == null))){ +var init__$2 = node.kv_reduce(f,init__$1); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var G__10905 = (i + (1)); +var G__10906 = init__$2; +i = G__10905; +init__$1 = G__10906; +continue; +} +} else { +var G__10907 = (i + (1)); +var G__10908 = init__$1; +i = G__10907; +init__$1 = G__10908; +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$ = cljs.core.PROTOCOL_SENTINEL; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10909 = (i + (2)); +i = G__10909; +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; +}) +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_[(0)] = true); + +if((self__.cnt === (1))){ +return null; +} else { +var editable = inode.ensure_editable(edit__$1); +var earr = editable.arr; +(earr[idx] = (earr[(((2) * self__.cnt) - (2))])); + +(earr[(idx + (1))] = (earr[(((2) * self__.cnt) - (1))])); + +(earr[(((2) * self__.cnt) - (1))] = null); + +(earr[(((2) * self__.cnt) - (2))] = null); + +editable.cnt = (editable.cnt - (1)); + +return editable; +} +} +}); + +cljs.core.HashCollisionNode.prototype.inode_seq = (function (){ +var self__ = this; +var inode = this; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1(self__.arr) : cljs.core.create_inode_seq.call(null,self__.arr)); +}); + +cljs.core.HashCollisionNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var inode = this; +return cljs.core.inode_kv_reduce(self__.arr,f,init); +}); + +cljs.core.HashCollisionNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx < (0))){ +return not_found; +} else { +if(cljs.core.key_test(key,(self__.arr[idx]))){ +return (self__.arr[(idx + (1))]); +} else { +return not_found; + +} +} +}); + +cljs.core.HashCollisionNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +if((hash === self__.collision_hash)){ +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx === (-1))){ +if((self__.arr.length > ((2) * self__.cnt))){ +var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6(inode,edit__$1,((2) * self__.cnt),key,(((2) * self__.cnt) + (1)),val); +added_leaf_QMARK_.val = true; + +editable.cnt = (editable.cnt + (1)); + +return editable; +} else { +var len = self__.arr.length; +var new_arr = (new Array((len + (2)))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),len); + +(new_arr[len] = key); + +(new_arr[(len + (1))] = val); + +added_leaf_QMARK_.val = true; + +return inode.ensure_editable_array(edit__$1,(self__.cnt + (1)),new_arr); +} +} else { +if(((self__.arr[(idx + (1))]) === val)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(idx + (1)),val); +} +} +} else { +return (new cljs.core.BitmapIndexedNode(edit__$1,(1 << ((self__.collision_hash >>> shift) & 0x01f)),[null,inode,null,null])).inode_assoc_BANG_(edit__$1,shift,hash,key,val,added_leaf_QMARK_); +} +}); + +cljs.core.HashCollisionNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +if((hash === self__.collision_hash)){ +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx === (-1))){ +var len = ((2) * self__.cnt); +var new_arr = (new Array((len + (2)))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),len); + +(new_arr[len] = key); + +(new_arr[(len + (1))] = val); + +added_leaf_QMARK_.val = true; + +return (new cljs.core.HashCollisionNode(null,self__.collision_hash,(self__.cnt + (1)),new_arr)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((self__.arr[(idx + (1))]),val)){ +return inode; +} else { +return (new cljs.core.HashCollisionNode(null,self__.collision_hash,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(idx + (1)),val))); +} +} +} else { +return (new cljs.core.BitmapIndexedNode(null,(1 << ((self__.collision_hash >>> shift) & 0x01f)),[null,inode])).inode_assoc(shift,hash,key,val,added_leaf_QMARK_); +} +}); + +cljs.core.HashCollisionNode.prototype.ensure_editable_array = (function (e,count,array){ +var self__ = this; +var inode = this; +if((e === self__.edit)){ +self__.arr = array; + +self__.cnt = count; + +return inode; +} else { +return (new cljs.core.HashCollisionNode(self__.edit,self__.collision_hash,count,array)); +} +}); + +cljs.core.HashCollisionNode.prototype.inode_find = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx < (0))){ +return not_found; +} else { +if(cljs.core.key_test(key,(self__.arr[idx]))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(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$ = cljs.core.PROTOCOL_SENTINEL; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args10910 = []; +var len__7625__auto___10913 = arguments.length; +var i__7626__auto___10914 = (0); +while(true){ +if((i__7626__auto___10914 < len__7625__auto___10913)){ +args10910.push((arguments[i__7626__auto___10914])); + +var G__10915 = (i__7626__auto___10914 + (1)); +i__7626__auto___10914 = G__10915; +continue; +} else { +} +break; +} + +var G__10912 = args10910.length; +switch (G__10912) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10910.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.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$ = 32374860; +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__10923 = null; +var G__10923__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10923__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10923 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10923__1.call(this,x); +case 2: +return G__10923__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10923.cljs$core$IFn$_invoke$arity$1 = G__10923__1; +G__10923.cljs$core$IFn$_invoke$arity$2 = G__10923__2; +return G__10923; +})() +; + +cljs.core.NodeSeq.prototype.lastIndexOf = (function() { +var G__10924 = null; +var G__10924__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__10924__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10924 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10924__1.call(this,x); +case 2: +return G__10924__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10924.cljs$core$IFn$_invoke$arity$1 = G__10924__1; +G__10924.cljs$core$IFn$_invoke$arity$2 = G__10924__2; +return G__10924; +})() +; + +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$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(self__.nodes[self__.i]),(self__.nodes[(self__.i + (1))])], null); +} else { +return cljs.core.first(self__.s); +} +}); + +cljs.core.NodeSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var ret = (((self__.s == null))?(function (){var G__10917 = self__.nodes; +var G__10918 = (self__.i + (2)); +var G__10919 = null; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(G__10917,G__10918,G__10919) : cljs.core.create_inode_seq.call(null,G__10917,G__10918,G__10919)); +})():(function (){var G__10920 = self__.nodes; +var G__10921 = self__.i; +var G__10922 = cljs.core.next(self__.s); +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(G__10920,G__10921,G__10922) : cljs.core.create_inode_seq.call(null,G__10920,G__10921,G__10922)); +})()); +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/NodeSeq"); +}); + +cljs.core.__GT_NodeSeq = (function cljs$core$__GT_NodeSeq(meta,nodes,i,s,__hash){ +return (new cljs.core.NodeSeq(meta,nodes,i,s,__hash)); +}); + +(cljs.core.NodeSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.create_inode_seq = (function cljs$core$create_inode_seq(var_args){ +var args10925 = []; +var len__7625__auto___10928 = arguments.length; +var i__7626__auto___10929 = (0); +while(true){ +if((i__7626__auto___10929 < len__7625__auto___10928)){ +args10925.push((arguments[i__7626__auto___10929])); + +var G__10930 = (i__7626__auto___10929 + (1)); +i__7626__auto___10929 = G__10930; +continue; +} else { +} +break; +} + +var G__10927 = args10925.length; +switch (G__10927) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10925.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__10932 = (j + (2)); +j = G__10932; +continue; +} +} else { +var G__10933 = (j + (2)); +j = G__10933; +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.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$ = 32374860; +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__10938 = null; +var G__10938__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10938__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10938 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10938__1.call(this,x); +case 2: +return G__10938__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10938.cljs$core$IFn$_invoke$arity$1 = G__10938__1; +G__10938.cljs$core$IFn$_invoke$arity$2 = G__10938__2; +return G__10938; +})() +; + +cljs.core.ArrayNodeSeq.prototype.lastIndexOf = (function() { +var G__10939 = null; +var G__10939__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__10939__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10939 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10939__1.call(this,x); +case 2: +return G__10939__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10939.cljs$core$IFn$_invoke$arity$1 = G__10939__1; +G__10939.cljs$core$IFn$_invoke$arity$2 = G__10939__2; +return G__10939; +})() +; + +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$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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 = (function (){var G__10934 = null; +var G__10935 = self__.nodes; +var G__10936 = self__.i; +var G__10937 = cljs.core.next(self__.s); +return (cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(G__10934,G__10935,G__10936,G__10937) : cljs.core.create_array_node_seq.call(null,G__10934,G__10935,G__10936,G__10937)); +})(); +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/ArrayNodeSeq"); +}); + +cljs.core.__GT_ArrayNodeSeq = (function cljs$core$__GT_ArrayNodeSeq(meta,nodes,i,s,__hash){ +return (new cljs.core.ArrayNodeSeq(meta,nodes,i,s,__hash)); +}); + +(cljs.core.ArrayNodeSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.create_array_node_seq = (function cljs$core$create_array_node_seq(var_args){ +var args10940 = []; +var len__7625__auto___10943 = arguments.length; +var i__7626__auto___10944 = (0); +while(true){ +if((i__7626__auto___10944 < len__7625__auto___10943)){ +args10940.push((arguments[i__7626__auto___10944])); + +var G__10945 = (i__7626__auto___10944 + (1)); +i__7626__auto___10944 = G__10945; +continue; +} else { +} +break; +} + +var G__10942 = args10940.length; +switch (G__10942) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args10940.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__10947 = (j + (1)); +j = G__10947; +continue; +} +} else { +var G__10948 = (j + (1)); +j = G__10948; +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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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.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$ = 8196; +}) +cljs.core.PersistentHashMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +}); + +cljs.core.PersistentHashMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); +}); + +cljs.core.PersistentHashMap.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.keys.cljs$core$IFn$_invoke$arity$1 ? cljs.core.keys.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.keys.call(null,coll))); +}); + +cljs.core.PersistentHashMap.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +}); + +cljs.core.PersistentHashMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.vals.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vals.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.vals.call(null,coll))); +}); + +cljs.core.PersistentHashMap.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +}); + +cljs.core.PersistentHashMap.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); + +cljs.core.PersistentHashMap.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__10950 = cljs.core.seq(coll); +var chunk__10951 = null; +var count__10952 = (0); +var i__10953 = (0); +while(true){ +if((i__10953 < count__10952)){ +var vec__10954 = chunk__10951.cljs$core$IIndexed$_nth$arity$2(null,i__10953); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10954,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10954,(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__10962 = seq__10950; +var G__10963 = chunk__10951; +var G__10964 = count__10952; +var G__10965 = (i__10953 + (1)); +seq__10950 = G__10962; +chunk__10951 = G__10963; +count__10952 = G__10964; +i__10953 = G__10965; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__10950); +if(temp__4657__auto__){ +var seq__10950__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__10950__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__10950__$1); +var G__10966 = cljs.core.chunk_rest(seq__10950__$1); +var G__10967 = c__7331__auto__; +var G__10968 = cljs.core.count(c__7331__auto__); +var G__10969 = (0); +seq__10950 = G__10966; +chunk__10951 = G__10967; +count__10952 = G__10968; +i__10953 = G__10969; +continue; +} else { +var vec__10957 = cljs.core.first(seq__10950__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10957,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10957,(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__10970 = cljs.core.next(seq__10950__$1); +var G__10971 = null; +var G__10972 = (0); +var G__10973 = (0); +seq__10950 = G__10970; +chunk__10951 = G__10971; +count__10952 = G__10972; +i__10953 = G__10973; +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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$1) : cljs.core.deref.call(null,init__$1)); +} else { +if(!((self__.root == null))){ +return self__.root.kv_reduce(f,init__$1); +} else { +return init__$1; + +} +} +}); + +cljs.core.PersistentHashMap.prototype.cljs$core$IIterable$ = cljs.core.PROTOCOL_SENTINEL; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [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__10974 = 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__10975 = cljs.core.next(es); +ret = G__10974; +es = G__10975; +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__10976 = null; +var G__10976__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__10976__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__10976 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__10976__2.call(this,self__,k); +case 3: +return G__10976__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10976.cljs$core$IFn$_invoke$arity$2 = G__10976__2; +G__10976.cljs$core$IFn$_invoke$arity$3 = G__10976__3; +return G__10976; +})() +; + +cljs.core.PersistentHashMap.prototype.apply = (function (self__,args10949){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10949))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10977 = (i + (2)); +var G__10978 = cljs.core._assoc_BANG_(ret,(arr__$1[i]),(arr__$1[(i + (1))])); +i = G__10977; +ret = G__10978; +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__10979 = (i + (1)); +var G__10980 = out.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,(ks[i]),(vs[i])); +i = G__10979; +out = G__10980; +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_10981 = (0); +while(true){ +if((i_10981 < len)){ +cljs.core._assoc_BANG_(ret,(arr[i_10981]),(arr[(i_10981 + (1))])); + +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core._count(ret),((i_10981 / (2)) + (1)))){ +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Duplicate key: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1((arr[i_10981]))].join(''))); +} else { +var G__10982 = (i_10981 + (2)); +i_10981 = G__10982; +continue; +} +} else { +} +break; +} + +return cljs.core._persistent_BANG_(ret); +}); +(cljs.core.PersistentHashMap.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @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$ = 258; +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(((!((o == null)))?((((o.cljs$lang$protocol_mask$partition0$ & (2048))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMapEntry$)))?true:(((!o.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IMapEntry,o):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IMapEntry,o))){ +return tcoll.assoc_BANG_((cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.key.call(null,o)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.val.call(null,o))); +} else { +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__10984 = cljs.core.next(es); +var G__10985 = tcoll__$1.assoc_BANG_((cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.key.call(null,e)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.val.call(null,e))); +es = G__10984; +tcoll__$1 = G__10985; +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(cljs.core.truth_((removed_leaf_QMARK_[(0)]))){ +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.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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__10986 = ((ascending_QMARK_)?t.left:t.right); +var G__10987 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack__$1,t); +t = G__10986; +stack__$1 = G__10987; +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.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$ = 32374862; +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__10988 = null; +var G__10988__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__10988__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10988 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10988__1.call(this,x); +case 2: +return G__10988__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +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; +})() +; + +cljs.core.PersistentTreeMapSeq.prototype.lastIndexOf = (function() { +var G__10989 = null; +var G__10989__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__10989__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__10989 = function(x,start){ +switch(arguments.length){ +case 1: +return G__10989__1.call(this,x); +case 2: +return G__10989__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__10989.cljs$core$IFn$_invoke$arity$1 = G__10989__1; +G__10989.cljs$core$IFn$_invoke$arity$2 = G__10989__2; +return G__10989; +})() +; + +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$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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/PersistentTreeMapSeq"); +}); + +cljs.core.__GT_PersistentTreeMapSeq = (function cljs$core$__GT_PersistentTreeMapSeq(meta,stack,ascending_QMARK_,cnt,__hash){ +return (new cljs.core.PersistentTreeMapSeq(meta,stack,ascending_QMARK_,cnt,__hash)); +}); + +(cljs.core.PersistentTreeMapSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.create_tree_map_seq = (function cljs$core$create_tree_map_seq(tree,ascending_QMARK_,cnt){ +return (new cljs.core.PersistentTreeMapSeq(null,cljs.core.tree_map_seq_push(tree,null,ascending_QMARK_),ascending_QMARK_,cnt,null)); +}); + +cljs.core.balance_left = (function cljs$core$balance_left(key,val,ins,right){ +if((ins instanceof cljs.core.RedNode)){ +if((ins.left instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.key,ins.val,ins.left.blacken(),(new cljs.core.BlackNode(key,val,ins.right,right,null)),null)); +} else { +if((ins.right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.right.key,ins.right.val,(new cljs.core.BlackNode(ins.key,ins.val,ins.left,ins.right.left,null)),(new cljs.core.BlackNode(key,val,ins.right.right,right,null)),null)); +} else { +return (new cljs.core.BlackNode(key,val,ins,right,null)); + +} +} +} else { +return (new cljs.core.BlackNode(key,val,ins,right,null)); +} +}); +cljs.core.balance_right = (function cljs$core$balance_right(key,val,left,ins){ +if((ins instanceof cljs.core.RedNode)){ +if((ins.right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.key,ins.val,(new cljs.core.BlackNode(key,val,left,ins.left,null)),ins.right.blacken(),null)); +} else { +if((ins.left instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.left.key,ins.left.val,(new cljs.core.BlackNode(key,val,left,ins.left.left,null)),(new cljs.core.BlackNode(ins.key,ins.val,ins.left.right,ins.right,null)),null)); +} else { +return (new cljs.core.BlackNode(key,val,left,ins,null)); + +} +} +} else { +return (new cljs.core.BlackNode(key,val,left,ins,null)); +} +}); +cljs.core.balance_left_del = (function cljs$core$balance_left_del(key,val,del,right){ +if((del instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(key,val,del.blacken(),right,null)); +} else { +if((right instanceof cljs.core.BlackNode)){ +return cljs.core.balance_right(key,val,del,right.redden()); +} else { +if(((right instanceof cljs.core.RedNode)) && ((right.left instanceof cljs.core.BlackNode))){ +return (new cljs.core.RedNode(right.left.key,right.left.val,(new cljs.core.BlackNode(key,val,del,right.left.left,null)),cljs.core.balance_right(right.key,right.val,right.left.right,right.right.redden()),null)); +} else { +throw (new Error("red-black tree invariant violation")); + +} +} +} +}); +cljs.core.balance_right_del = (function cljs$core$balance_right_del(key,val,left,del){ +if((del instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(key,val,left,del.blacken(),null)); +} else { +if((left instanceof cljs.core.BlackNode)){ +return cljs.core.balance_left(key,val,left.redden(),del); +} else { +if(((left instanceof cljs.core.RedNode)) && ((left.right instanceof cljs.core.BlackNode))){ +return (new cljs.core.RedNode(left.right.key,left.right.val,cljs.core.balance_left(left.key,left.val,left.left.redden(),left.right.left),(new cljs.core.BlackNode(key,val,left.right.right,del,null)),null)); +} else { +throw (new Error("red-black tree invariant violation")); + +} +} +} +}); +cljs.core.tree_map_kv_reduce = (function cljs$core$tree_map_kv_reduce(node,f,init){ +var init__$1 = ((!((node.left == null)))?(function (){var G__10999 = node.left; +var G__11000 = f; +var G__11001 = 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__10999,G__11000,G__11001) : cljs.core.tree_map_kv_reduce.call(null,G__10999,G__11000,G__11001)); +})():init); +if(cljs.core.reduced_QMARK_(init__$1)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$1) : cljs.core.deref.call(null,init__$1)); +} else { +var init__$2 = (function (){var G__11002 = init__$1; +var G__11003 = node.key; +var G__11004 = node.val; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11002,G__11003,G__11004) : f.call(null,G__11002,G__11003,G__11004)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$2) : cljs.core.deref.call(null,init__$2)); +} else { +var init__$3 = ((!((node.right == null)))?(function (){var G__11005 = node.right; +var G__11006 = f; +var G__11007 = 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__11005,G__11006,G__11007) : cljs.core.tree_map_kv_reduce.call(null,G__11005,G__11006,G__11007)); +})():init__$2); +if(cljs.core.reduced_QMARK_(init__$3)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init__$3) : cljs.core.deref.call(null,init__$3)); +} else { +return init__$3; +} +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @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$ = 32402207; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.BlackNode.prototype.lastIndexOf = (function() { +var G__11009 = null; +var G__11009__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__11009__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11009 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11009__1.call(this,x); +case 2: +return G__11009__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11009.cljs$core$IFn$_invoke$arity$1 = G__11009__1; +G__11009.cljs$core$IFn$_invoke$arity$2 = G__11009__2; +return G__11009; +})() +; + +cljs.core.BlackNode.prototype.indexOf = (function() { +var G__11010 = null; +var G__11010__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11010__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11010 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11010__1.call(this,x); +case 2: +return G__11010__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11010.cljs$core$IFn$_invoke$arity$1 = G__11010__1; +G__11010.cljs$core$IFn$_invoke$arity$2 = G__11010__2; +return G__11010; +})() +; + +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 { +return null; + +} +} +}); + +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$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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 cljs.core.PersistentVector.EMPTY; +}); + +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$ISeqable$_seq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +var x__7354__auto__ = self__.key; +return cljs.core._conj((function (){var x__7354__auto____$1 = self__.val; +return cljs.core._conj(cljs.core.List.EMPTY,x__7354__auto____$1); +})(),x__7354__auto__); +}); + +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__11011 = null; +var G__11011__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11011__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11011 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11011__2.call(this,self__,k); +case 3: +return G__11011__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11011.cljs$core$IFn$_invoke$arity$2 = G__11011__2; +G__11011.cljs$core$IFn$_invoke$arity$3 = G__11011__3; +return G__11011; +})() +; + +cljs.core.BlackNode.prototype.apply = (function (self__,args11008){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11008))); +}); + +cljs.core.BlackNode.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var node = this; +return node.cljs$core$ILookup$_lookup$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$ILookup$_lookup$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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/BlackNode"); +}); + +cljs.core.__GT_BlackNode = (function cljs$core$__GT_BlackNode(key,val,left,right,__hash){ +return (new cljs.core.BlackNode(key,val,left,right,__hash)); +}); + +(cljs.core.BlackNode.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @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$ = 32402207; +this.cljs$lang$protocol_mask$partition1$ = 0; +}) +cljs.core.RedNode.prototype.lastIndexOf = (function() { +var G__11013 = null; +var G__11013__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__11013__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11013 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11013__1.call(this,x); +case 2: +return G__11013__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11013.cljs$core$IFn$_invoke$arity$1 = G__11013__1; +G__11013.cljs$core$IFn$_invoke$arity$2 = G__11013__2; +return G__11013; +})() +; + +cljs.core.RedNode.prototype.indexOf = (function() { +var G__11014 = null; +var G__11014__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11014__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11014 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11014__1.call(this,x); +case 2: +return G__11014__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11014.cljs$core$IFn$_invoke$arity$1 = G__11014__1; +G__11014.cljs$core$IFn$_invoke$arity$2 = G__11014__2; +return G__11014; +})() +; + +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 { +return null; + +} +} +}); + +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$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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 cljs.core.PersistentVector.EMPTY; +}); + +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$ISeqable$_seq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +var x__7354__auto__ = self__.key; +return cljs.core._conj((function (){var x__7354__auto____$1 = self__.val; +return cljs.core._conj(cljs.core.List.EMPTY,x__7354__auto____$1); +})(),x__7354__auto__); +}); + +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__11015 = null; +var G__11015__2 = (function (self__,k){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$ILookup$_lookup$arity$2(null,k); +}); +var G__11015__3 = (function (self__,k,not_found){ +var self__ = this; +var self____$1 = this; +var node = self____$1; +return node.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); +G__11015 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11015__2.call(this,self__,k); +case 3: +return G__11015__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11015.cljs$core$IFn$_invoke$arity$2 = G__11015__2; +G__11015.cljs$core$IFn$_invoke$arity$3 = G__11015__3; +return G__11015; +})() +; + +cljs.core.RedNode.prototype.apply = (function (self__,args11012){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11012))); +}); + +cljs.core.RedNode.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var node = this; +return node.cljs$core$ILookup$_lookup$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$ILookup$_lookup$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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/RedNode"); +}); + +cljs.core.__GT_RedNode = (function cljs$core$__GT_RedNode(key,val,left,right,__hash){ +return (new cljs.core.RedNode(key,val,left,right,__hash)); +}); + +(cljs.core.RedNode.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.tree_map_add = (function cljs$core$tree_map_add(comp,tree,k,v,found){ +if((tree == null)){ +return (new cljs.core.RedNode(k,v,null,null,null)); +} else { +var c = (function (){var G__11028 = k; +var G__11029 = tree.key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11028,G__11029) : comp.call(null,G__11028,G__11029)); +})(); +if((c === (0))){ +(found[(0)] = tree); + +return null; +} else { +if((c < (0))){ +var ins = (function (){var G__11030 = comp; +var G__11031 = tree.left; +var G__11032 = k; +var G__11033 = v; +var G__11034 = 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__11030,G__11031,G__11032,G__11033,G__11034) : cljs.core.tree_map_add.call(null,G__11030,G__11031,G__11032,G__11033,G__11034)); +})(); +if(!((ins == null))){ +return tree.add_left(ins); +} else { +return null; +} +} else { +var ins = (function (){var G__11035 = comp; +var G__11036 = tree.right; +var G__11037 = k; +var G__11038 = v; +var G__11039 = 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__11035,G__11036,G__11037,G__11038,G__11039) : cljs.core.tree_map_add.call(null,G__11035,G__11036,G__11037,G__11038,G__11039)); +})(); +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__11048 = left.right; +var G__11049 = 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__11048,G__11049) : cljs.core.tree_map_append.call(null,G__11048,G__11049)); +})(); +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__11050 = left.right; +var G__11051 = 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__11050,G__11051) : cljs.core.tree_map_append.call(null,G__11050,G__11051)); +})(),null)); +} +} else { +if((right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(right.key,right.val,(function (){var G__11052 = left; +var G__11053 = 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__11052,G__11053) : cljs.core.tree_map_append.call(null,G__11052,G__11053)); +})(),right.right,null)); +} else { +var app = (function (){var G__11054 = left.right; +var G__11055 = 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__11054,G__11055) : cljs.core.tree_map_append.call(null,G__11054,G__11055)); +})(); +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__11066 = k; +var G__11067 = tree.key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11066,G__11067) : comp.call(null,G__11066,G__11067)); +})(); +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__11068 = comp; +var G__11069 = tree.left; +var G__11070 = k; +var G__11071 = 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__11068,G__11069,G__11070,G__11071) : cljs.core.tree_map_remove.call(null,G__11068,G__11069,G__11070,G__11071)); +})(); +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__11072 = comp; +var G__11073 = tree.right; +var G__11074 = k; +var G__11075 = 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__11072,G__11073,G__11074,G__11075) : cljs.core.tree_map_remove.call(null,G__11072,G__11073,G__11074,G__11075)); +})(); +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__11084 = comp; +var G__11085 = tree.left; +var G__11086 = k; +var G__11087 = 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__11084,G__11085,G__11086,G__11087) : cljs.core.tree_map_replace.call(null,G__11084,G__11085,G__11086,G__11087)); +})(),tree.right); +} else { +return tree.replace(tk,tree.val,tree.left,(function (){var G__11088 = comp; +var G__11089 = tree.right; +var G__11090 = k; +var G__11091 = 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__11088,G__11089,G__11090,G__11091) : cljs.core.tree_map_replace.call(null,G__11088,G__11089,G__11090,G__11091)); +})()); + +} +} +}); + +/** +* @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.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.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__11093 = cljs.core.seq(coll); +var chunk__11094 = null; +var count__11095 = (0); +var i__11096 = (0); +while(true){ +if((i__11096 < count__11095)){ +var vec__11097 = chunk__11094.cljs$core$IIndexed$_nth$arity$2(null,i__11096); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11097,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11097,(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__11107 = seq__11093; +var G__11108 = chunk__11094; +var G__11109 = count__11095; +var G__11110 = (i__11096 + (1)); +seq__11093 = G__11107; +chunk__11094 = G__11108; +count__11095 = G__11109; +i__11096 = G__11110; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11093); +if(temp__4657__auto__){ +var seq__11093__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11093__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__11093__$1); +var G__11111 = cljs.core.chunk_rest(seq__11093__$1); +var G__11112 = c__7331__auto__; +var G__11113 = cljs.core.count(c__7331__auto__); +var G__11114 = (0); +seq__11093 = G__11111; +chunk__11094 = G__11112; +count__11095 = G__11113; +i__11096 = G__11114; +continue; +} else { +var vec__11100 = cljs.core.first(seq__11093__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11100,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11100,(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__11115 = cljs.core.next(seq__11093__$1); +var G__11116 = null; +var G__11117 = (0); +var G__11118 = (0); +seq__11093 = G__11115; +chunk__11094 = G__11116; +count__11095 = G__11117; +i__11096 = G__11118; +continue; +} +} else { +return null; +} +} +break; +} +}); + +cljs.core.PersistentTreeMap.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); +}); + +cljs.core.PersistentTreeMap.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +}); + +cljs.core.PersistentTreeMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +}); + +cljs.core.PersistentTreeMap.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.keys.cljs$core$IFn$_invoke$arity$1 ? cljs.core.keys.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.keys.call(null,coll))); +}); + +cljs.core.PersistentTreeMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.vals.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vals.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.vals.call(null,coll))); +}); + +cljs.core.PersistentTreeMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); +}); + +cljs.core.PersistentTreeMap.prototype.entry_at = (function (k){ +var self__ = this; +var coll = this; +var t = self__.tree; +while(true){ +if(!((t == null))){ +var c = (function (){var G__11103 = k; +var G__11104 = t.key; +return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__11103,G__11104) : self__.comp.call(null,G__11103,G__11104)); +})(); +if((c === (0))){ +return t; +} else { +if((c < (0))){ +var G__11119 = t.left; +t = G__11119; +continue; +} else { +var G__11120 = t.right; +t = G__11120; +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.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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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__11121 = 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__11122 = cljs.core.next(es); +ret = G__11121; +es = G__11122; +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__11123 = null; +var G__11123__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__11123__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__11123 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11123__2.call(this,self__,k); +case 3: +return G__11123__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11123.cljs$core$IFn$_invoke$arity$2 = G__11123__2; +G__11123.cljs$core$IFn$_invoke$arity$3 = G__11123__3; +return G__11123; +})() +; + +cljs.core.PersistentTreeMap.prototype.apply = (function (self__,args11092){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11092))); +}); + +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__11105 = k; +var G__11106 = t.key; +return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__11105,G__11106) : self__.comp.call(null,G__11105,G__11106)); +})(); +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__11124 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); +var G__11125 = t.left; +stack = G__11124; +t = G__11125; +continue; +} else { +var G__11126 = stack; +var G__11127 = t.right; +stack = G__11126; +t = G__11127; +continue; +} +} else { +if((c > (0))){ +var G__11128 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); +var G__11129 = t.right; +stack = G__11128; +t = G__11129; +continue; +} else { +var G__11130 = stack; +var G__11131 = t.left; +stack = G__11130; +t = G__11131; +continue; +} + +} +} +} else { +if((stack == null)){ +return null; +} else { +return (new cljs.core.PersistentTreeMapSeq(null,stack,ascending_QMARK_,(-1),null)); +} +} +break; +} +} else { +return null; +} +}); + +cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_entry_key$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(entry) : cljs.core.key.call(null,entry)); +}); + +cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_comparator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.comp; +}); + +cljs.core.PersistentTreeMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"comp","comp",-1462482139,null),new cljs.core.Symbol(null,"tree","tree",1444219499,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +}); + +cljs.core.PersistentTreeMap.cljs$lang$type = true; + +cljs.core.PersistentTreeMap.cljs$lang$ctorStr = "cljs.core/PersistentTreeMap"; + +cljs.core.PersistentTreeMap.cljs$lang$ctorPrWriter = (function (this__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/PersistentTreeMap"); +}); + +cljs.core.__GT_PersistentTreeMap = (function cljs$core$__GT_PersistentTreeMap(comp,tree,cnt,meta,__hash){ +return (new cljs.core.PersistentTreeMap(comp,tree,cnt,meta,__hash)); +}); + +cljs.core.PersistentTreeMap.EMPTY = (new cljs.core.PersistentTreeMap(cljs.core.compare,null,(0),null,cljs.core.empty_unordered_hash)); +(cljs.core.PersistentTreeMap.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * keyval => key val + * Returns a new hash map with supplied mappings. + */ +cljs.core.hash_map = (function cljs$core$hash_map(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11133 = arguments.length; +var i__7626__auto___11134 = (0); +while(true){ +if((i__7626__auto___11134 < len__7625__auto___11133)){ +args__7632__auto__.push((arguments[i__7626__auto___11134])); + +var G__11135 = (i__7626__auto___11134 + (1)); +i__7626__auto___11134 = G__11135; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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__11136 = cljs.core.nnext(in$); +var G__11137 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__11136; +out = G__11137; +continue; +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} +}); + +cljs.core.hash_map.cljs$lang$maxFixedArity = (0); + +cljs.core.hash_map.cljs$lang$applyTo = (function (seq11132){ +return cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11132)); +}); + +/** + * keyval => key val + * Returns a new array map with supplied mappings. + */ +cljs.core.array_map = (function cljs$core$array_map(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11139 = arguments.length; +var i__7626__auto___11140 = (0); +while(true){ +if((i__7626__auto___11140 < len__7625__auto___11139)){ +args__7632__auto__.push((arguments[i__7626__auto___11140])); + +var G__11141 = (i__7626__auto___11140 + (1)); +i__7626__auto___11140 = G__11141; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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,true,false); +}); + +cljs.core.array_map.cljs$lang$maxFixedArity = (0); + +cljs.core.array_map.cljs$lang$applyTo = (function (seq11138){ +return cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11138)); +}); + +/** + * keyval => key val + * Returns a new object map with supplied mappings. + */ +cljs.core.obj_map = (function cljs$core$obj_map(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11145 = arguments.length; +var i__7626__auto___11146 = (0); +while(true){ +if((i__7626__auto___11146 < len__7625__auto___11145)){ +args__7632__auto__.push((arguments[i__7626__auto___11146])); + +var G__11147 = (i__7626__auto___11146 + (1)); +i__7626__auto___11146 = G__11147; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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)); + +(obj[cljs.core.first(kvs)] = cljs.core.second(kvs)); + +var G__11148 = cljs.core.nnext(kvs); +kvs = G__11148; +continue; +} else { +return cljs.core.ObjMap.fromObject(ks,obj); +} +break; +} +}); + +cljs.core.obj_map.cljs$lang$maxFixedArity = (0); + +cljs.core.obj_map.cljs$lang$applyTo = (function (seq11142){ +return cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11142)); +}); + +/** + * keyval => key val + * Returns a new sorted map with supplied mappings. + */ +cljs.core.sorted_map = (function cljs$core$sorted_map(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11150 = arguments.length; +var i__7626__auto___11151 = (0); +while(true){ +if((i__7626__auto___11151 < len__7625__auto___11150)){ +args__7632__auto__.push((arguments[i__7626__auto___11151])); + +var G__11152 = (i__7626__auto___11151 + (1)); +i__7626__auto___11151 = G__11152; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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__11153 = cljs.core.nnext(in$); +var G__11154 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__11153; +out = G__11154; +continue; +} else { +return out; +} +break; +} +}); + +cljs.core.sorted_map.cljs$lang$maxFixedArity = (0); + +cljs.core.sorted_map.cljs$lang$applyTo = (function (seq11149){ +return cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11149)); +}); + +/** + * 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__7632__auto__ = []; +var len__7625__auto___11157 = arguments.length; +var i__7626__auto___11158 = (0); +while(true){ +if((i__7626__auto___11158 < len__7625__auto___11157)){ +args__7632__auto__.push((arguments[i__7626__auto___11158])); + +var G__11159 = (i__7626__auto___11158 + (1)); +i__7626__auto___11158 = G__11159; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((1) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((1)),(0),null)):null); +return cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7633__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__11160 = cljs.core.nnext(in$); +var G__11161 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__11160; +out = G__11161; +continue; +} else { +return out; +} +break; +} +}); + +cljs.core.sorted_map_by.cljs$lang$maxFixedArity = (1); + +cljs.core.sorted_map_by.cljs$lang$applyTo = (function (seq11155){ +var G__11156 = cljs.core.first(seq11155); +var seq11155__$1 = cljs.core.next(seq11155); +return cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic(G__11156,seq11155__$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__11164 = null; +var G__11164__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11164__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11164 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11164__1.call(this,x); +case 2: +return G__11164__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11164.cljs$core$IFn$_invoke$arity$1 = G__11164__1; +G__11164.cljs$core$IFn$_invoke$arity$2 = G__11164__2; +return G__11164; +})() +; + +cljs.core.KeySeq.prototype.lastIndexOf = (function() { +var G__11165 = null; +var G__11165__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__11165__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11165 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11165__1.call(this,x); +case 2: +return G__11165__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11165.cljs$core$IFn$_invoke$arity$1 = G__11165__1; +G__11165.cljs$core$IFn$_invoke$arity$2 = G__11165__2; +return G__11165; +})() +; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/KeySeq"); +}); + +cljs.core.__GT_KeySeq = (function cljs$core$__GT_KeySeq(mseq,_meta){ +return (new cljs.core.KeySeq(mseq,_meta)); +}); + +(cljs.core.KeySeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * 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__11168 = null; +var G__11168__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11168__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11168 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11168__1.call(this,x); +case 2: +return G__11168__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11168.cljs$core$IFn$_invoke$arity$1 = G__11168__1; +G__11168.cljs$core$IFn$_invoke$arity$2 = G__11168__2; +return G__11168; +})() +; + +cljs.core.ValSeq.prototype.lastIndexOf = (function() { +var G__11169 = null; +var G__11169__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__11169__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__11169 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11169__1.call(this,x); +case 2: +return G__11169__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11169.cljs$core$IFn$_invoke$arity$1 = G__11169__1; +G__11169.cljs$core$IFn$_invoke$arity$2 = G__11169__2; +return G__11169; +})() +; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/ValSeq"); +}); + +cljs.core.__GT_ValSeq = (function cljs$core$__GT_ValSeq(mseq,_meta){ +return (new cljs.core.ValSeq(mseq,_meta)); +}); + +(cljs.core.ValSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * 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__7632__auto__ = []; +var len__7625__auto___11173 = arguments.length; +var i__7626__auto___11174 = (0); +while(true){ +if((i__7626__auto___11174 < len__7625__auto___11173)){ +args__7632__auto__.push((arguments[i__7626__auto___11174])); + +var G__11175 = (i__7626__auto___11174 + (1)); +i__7626__auto___11174 = G__11175; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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__11170_SHARP_,p2__11171_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2((function (){var or__6512__auto__ = p1__11170_SHARP_; +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +})(),p2__11171_SHARP_); +}),maps); +} else { +return null; +} +}); + +cljs.core.merge.cljs$lang$maxFixedArity = (0); + +cljs.core.merge.cljs$lang$applyTo = (function (seq11172){ +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11172)); +}); + +/** + * 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__7632__auto__ = []; +var len__7625__auto___11180 = arguments.length; +var i__7626__auto___11181 = (0); +while(true){ +if((i__7626__auto___11181 < len__7625__auto___11180)){ +args__7632__auto__.push((arguments[i__7626__auto___11181])); + +var G__11182 = (i__7626__auto___11181 + (1)); +i__7626__auto___11181 = G__11182; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((1) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((1)),(0),null)):null); +return cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7633__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__11178 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__11179 = v; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11178,G__11179) : f.call(null,G__11178,G__11179)); +})()); +} 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__6512__auto__ = m1; +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__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); + +cljs.core.merge_with.cljs$lang$applyTo = (function (seq11176){ +var G__11177 = cljs.core.first(seq11176); +var seq11176__$1 = cljs.core.next(seq11176); +return cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic(G__11177,seq11176__$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__11183 = ((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__11184 = cljs.core.next(keys); +ret = G__11183; +keys = G__11184; +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().tail[(0)]); +} 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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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$ = 8196; +}) +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__11187 = cljs.core.seq(coll); +var chunk__11188 = null; +var count__11189 = (0); +var i__11190 = (0); +while(true){ +if((i__11190 < count__11189)){ +var vec__11191 = chunk__11188.cljs$core$IIndexed$_nth$arity$2(null,i__11190); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11191,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11191,(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__11197 = seq__11187; +var G__11198 = chunk__11188; +var G__11199 = count__11189; +var G__11200 = (i__11190 + (1)); +seq__11187 = G__11197; +chunk__11188 = G__11198; +count__11189 = G__11199; +i__11190 = G__11200; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11187); +if(temp__4657__auto__){ +var seq__11187__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11187__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__11187__$1); +var G__11201 = cljs.core.chunk_rest(seq__11187__$1); +var G__11202 = c__7331__auto__; +var G__11203 = cljs.core.count(c__7331__auto__); +var G__11204 = (0); +seq__11187 = G__11201; +chunk__11188 = G__11202; +count__11189 = G__11203; +i__11190 = G__11204; +continue; +} else { +var vec__11194 = cljs.core.first(seq__11187__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11194,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11194,(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__11205 = cljs.core.next(seq__11187__$1); +var G__11206 = null; +var G__11207 = (0); +var G__11208 = (0); +seq__11187 = G__11205; +chunk__11188 = G__11206; +count__11189 = G__11207; +i__11190 = G__11208; +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$ = cljs.core.PROTOCOL_SENTINEL; + +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.every_QMARK_(((function (coll__$1){ +return (function (p1__11185_SHARP_){ +return cljs.core.contains_QMARK_(coll__$1,p1__11185_SHARP_); +});})(coll__$1)) +,other)); +}); + +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__11209 = null; +var G__11209__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__11209__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__11209 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11209__2.call(this,self__,k); +case 3: +return G__11209__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11209.cljs$core$IFn$_invoke$arity$2 = G__11209__2; +G__11209.cljs$core$IFn$_invoke$arity$3 = G__11209__3; +return G__11209; +})() +; + +cljs.core.PersistentHashSet.prototype.apply = (function (self__,args11186){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11186))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__11210 = (i + (1)); +var G__11211 = cljs.core._assoc_BANG_(out,(items[i]),null); +i = G__11210; +out = G__11211; +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__11212 = (i + (1)); +var G__11213 = cljs.core._conj_BANG_(out,(items[i])); +i = G__11212; +out = G__11213; +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__7435__auto___11214 = len; +var i_11215 = (0); +while(true){ +if((i_11215 < n__7435__auto___11214)){ +cljs.core._conj_BANG_(t,(items[i_11215])); + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(t),(i_11215 + (1)))){ +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Duplicate key: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1((items[i_11215]))].join(''))); +} + +var G__11216 = (i_11215 + (1)); +i_11215 = G__11216; +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__7435__auto___11217 = len; +var i_11218 = (0); +while(true){ +if((i_11218 < n__7435__auto___11217)){ +cljs.core._conj_BANG_(t,(items[i_11218])); + +var G__11219 = (i_11218 + (1)); +i_11218 = G__11219; +continue; +} else { +} +break; +} + +return cljs.core._persistent_BANG_(t); +}); +(cljs.core.PersistentHashSet.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.ITransientSet} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ILookup} +*/ +cljs.core.TransientHashSet = (function (transient_map){ +this.transient_map = transient_map; +this.cljs$lang$protocol_mask$partition1$ = 136; +this.cljs$lang$protocol_mask$partition0$ = 259; +}) +cljs.core.TransientHashSet.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ +var self__ = this; +var tcoll__$1 = this; +self__.transient_map = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(self__.transient_map,o,null); + +return tcoll__$1; +}); + +cljs.core.TransientHashSet.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +return (new cljs.core.PersistentHashSet(null,cljs.core.persistent_BANG_(self__.transient_map),null)); +}); + +cljs.core.TransientHashSet.prototype.cljs$core$ITransientSet$_disjoin_BANG_$arity$2 = (function (tcoll,v){ +var self__ = this; +var tcoll__$1 = this; +self__.transient_map = cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2(self__.transient_map,v); + +return tcoll__$1; +}); + +cljs.core.TransientHashSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +return cljs.core.count(self__.transient_map); +}); + +cljs.core.TransientHashSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,v){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.cljs$core$ILookup$_lookup$arity$3(null,v,null); +}); + +cljs.core.TransientHashSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,v,not_found){ +var self__ = this; +var tcoll__$1 = this; +if((cljs.core._lookup.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__11221 = null; +var G__11221__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__11221__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__11221 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11221__2.call(this,self__,k); +case 3: +return G__11221__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11221.cljs$core$IFn$_invoke$arity$2 = G__11221__2; +G__11221.cljs$core$IFn$_invoke$arity$3 = G__11221__3; +return G__11221; +})() +; + +cljs.core.TransientHashSet.prototype.apply = (function (self__,args11220){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11220))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__11224 = cljs.core.seq(coll); +var chunk__11225 = null; +var count__11226 = (0); +var i__11227 = (0); +while(true){ +if((i__11227 < count__11226)){ +var vec__11228 = chunk__11225.cljs$core$IIndexed$_nth$arity$2(null,i__11227); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11228,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11228,(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__11234 = seq__11224; +var G__11235 = chunk__11225; +var G__11236 = count__11226; +var G__11237 = (i__11227 + (1)); +seq__11224 = G__11234; +chunk__11225 = G__11235; +count__11226 = G__11236; +i__11227 = G__11237; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11224); +if(temp__4657__auto__){ +var seq__11224__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11224__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__11224__$1); +var G__11238 = cljs.core.chunk_rest(seq__11224__$1); +var G__11239 = c__7331__auto__; +var G__11240 = cljs.core.count(c__7331__auto__); +var G__11241 = (0); +seq__11224 = G__11238; +chunk__11225 = G__11239; +count__11226 = G__11240; +i__11227 = G__11241; +continue; +} else { +var vec__11231 = cljs.core.first(seq__11224__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11231,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11231,(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__11242 = cljs.core.next(seq__11224__$1); +var G__11243 = null; +var G__11244 = (0); +var G__11245 = (0); +seq__11224 = G__11242; +chunk__11225 = G__11243; +count__11226 = G__11244; +i__11227 = G__11245; +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__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.every_QMARK_(((function (coll__$1){ +return (function (p1__11222_SHARP_){ +return cljs.core.contains_QMARK_(coll__$1,p1__11222_SHARP_); +});})(coll__$1)) +,other)); +}); + +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__11246 = null; +var G__11246__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__11246__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__11246 = function(self__,k,not_found){ +switch(arguments.length){ +case 2: +return G__11246__2.call(this,self__,k); +case 3: +return G__11246__3.call(this,self__,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11246.cljs$core$IFn$_invoke$arity$2 = G__11246__2; +G__11246.cljs$core$IFn$_invoke$arity$3 = G__11246__3; +return G__11246; +})() +; + +cljs.core.PersistentTreeSet.prototype.apply = (function (self__,args11223){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11223))); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/PersistentTreeSet"); +}); + +cljs.core.__GT_PersistentTreeSet = (function cljs$core$__GT_PersistentTreeSet(meta,tree_map,__hash){ +return (new cljs.core.PersistentTreeSet(meta,tree_map,__hash)); +}); + +cljs.core.PersistentTreeSet.EMPTY = (new cljs.core.PersistentTreeSet(null,cljs.core.PersistentTreeMap.EMPTY,cljs.core.empty_unordered_hash)); +(cljs.core.PersistentTreeSet.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +cljs.core.set_from_indexed_seq = (function cljs$core$set_from_indexed_seq(iseq){ +var arr = iseq.arr; +var ret = (function (){var a__7429__auto__ = arr; +var i = (0); +var res = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); +while(true){ +if((i < a__7429__auto__.length)){ +var G__11247 = (i + (1)); +var G__11248 = res.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,(arr[i])); +i = G__11247; +res = G__11248; +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__11249 = cljs.core.next(in$__$1); +var G__11250 = out.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,in$__$1.cljs$core$ISeq$_first$arity$1(null)); +in$__$1 = G__11249; +out = G__11250; +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 args11251 = []; +var len__7625__auto___11255 = arguments.length; +var i__7626__auto___11256 = (0); +while(true){ +if((i__7626__auto___11256 < len__7625__auto___11255)){ +args11251.push((arguments[i__7626__auto___11256])); + +var G__11257 = (i__7626__auto___11256 + (1)); +i__7626__auto___11256 = G__11257; +continue; +} else { +} +break; +} + +var G__11254 = args11251.length; +switch (G__11254) { +case 0: +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args11251.slice((0)),(0),null)); +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic(argseq__7644__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); +}); + +cljs.core.hash_set.cljs$lang$applyTo = (function (seq11252){ +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11252)); +}); + +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__7632__auto__ = []; +var len__7625__auto___11260 = arguments.length; +var i__7626__auto___11261 = (0); +while(true){ +if((i__7626__auto___11261 < len__7625__auto___11260)){ +args__7632__auto__.push((arguments[i__7626__auto___11261])); + +var G__11262 = (i__7626__auto___11261 + (1)); +i__7626__auto___11261 = G__11262; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.sorted_set.cljs$lang$applyTo = (function (seq11259){ +return cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11259)); +}); + +/** + * 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__7632__auto__ = []; +var len__7625__auto___11265 = arguments.length; +var i__7626__auto___11266 = (0); +while(true){ +if((i__7626__auto___11266 < len__7625__auto___11265)){ +args__7632__auto__.push((arguments[i__7626__auto___11266])); + +var G__11267 = (i__7626__auto___11266 + (1)); +i__7626__auto___11266 = G__11267; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((1) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((1)),(0),null)):null); +return cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7633__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); + +cljs.core.sorted_set_by.cljs$lang$applyTo = (function (seq11263){ +var G__11264 = cljs.core.first(seq11263); +var seq11263__$1 = cljs.core.next(seq11263); +return cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic(G__11264,seq11263__$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 args11270 = []; +var len__7625__auto___11273 = arguments.length; +var i__7626__auto___11274 = (0); +while(true){ +if((i__7626__auto___11274 < len__7625__auto___11273)){ +args11270.push((arguments[i__7626__auto___11274])); + +var G__11275 = (i__7626__auto___11274 + (1)); +i__7626__auto___11274 = G__11275; +continue; +} else { +} +break; +} + +var G__11272 = args11270.length; +switch (G__11272) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11270.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__11268_SHARP_){ +var temp__4655__auto__ = cljs.core.find(smap,p1__11268_SHARP_); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +return cljs.core.val(e); +} else { +return p1__11268_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__11269_SHARP_){ +var temp__4655__auto__ = cljs.core.find(smap,p1__11269_SHARP_); +if(cljs.core.truth_(temp__4655__auto__)){ +var e = temp__4655__auto__; +return cljs.core.second(e); +} else { +return p1__11269_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 args11277 = []; +var len__7625__auto___11290 = arguments.length; +var i__7626__auto___11291 = (0); +while(true){ +if((i__7626__auto___11291 < len__7625__auto___11290)){ +args11277.push((arguments[i__7626__auto___11291])); + +var G__11292 = (i__7626__auto___11291 + (1)); +i__7626__auto___11291 = G__11292; +continue; +} else { +} +break; +} + +var G__11279 = args11277.length; +switch (G__11279) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11277.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__11294 = null; +var G__11294__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11294__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__11294__2 = (function (result,input){ +if(cljs.core.contains_QMARK_((cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(seen) : cljs.core.deref.call(null,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__11294 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11294__0.call(this); +case 1: +return G__11294__1.call(this,result); +case 2: +return G__11294__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11294.cljs$core$IFn$_invoke$arity$0 = G__11294__0; +G__11294.cljs$core$IFn$_invoke$arity$1 = G__11294__1; +G__11294.cljs$core$IFn$_invoke$arity$2 = G__11294__2; +return G__11294; +})() +;})(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 (){ +return (function (p__11286,seen__$1){ +while(true){ +var vec__11287 = p__11286; +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11287,(0),null); +var xs__$1 = vec__11287; +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__11295 = cljs.core.rest(s); +var G__11296 = seen__$1; +p__11286 = G__11295; +seen__$1 = G__11296; +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; +} +}).call(null,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__11297 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,cljs.core.first(s__$1)); +var G__11298 = cljs.core.next(s__$1); +ret = G__11297; +s__$1 = G__11298; +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("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__11301 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(map,cljs.core.first(ks),cljs.core.first(vs)); +var G__11302 = cljs.core.next(ks); +var G__11303 = cljs.core.next(vs); +map = G__11301; +ks = G__11302; +vs = G__11303; +continue; +} else { +return cljs.core.persistent_BANG_(map); +} +break; +} +}); +/** + * Returns the x for which (k x), a number, is greatest. + */ +cljs.core.max_key = (function cljs$core$max_key(var_args){ +var args11306 = []; +var len__7625__auto___11313 = arguments.length; +var i__7626__auto___11314 = (0); +while(true){ +if((i__7626__auto___11314 < len__7625__auto___11313)){ +args11306.push((arguments[i__7626__auto___11314])); + +var G__11315 = (i__7626__auto___11314 + (1)); +i__7626__auto___11314 = G__11315; +continue; +} else { +} +break; +} + +var G__11312 = args11306.length; +switch (G__11312) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args11306.slice((3)),(0),null)); +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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__11304_SHARP_,p2__11305_SHARP_){ +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,p1__11304_SHARP_,p2__11305_SHARP_); +}),cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,x,y),more); +}); + +cljs.core.max_key.cljs$lang$applyTo = (function (seq11307){ +var G__11308 = cljs.core.first(seq11307); +var seq11307__$1 = cljs.core.next(seq11307); +var G__11309 = cljs.core.first(seq11307__$1); +var seq11307__$2 = cljs.core.next(seq11307__$1); +var G__11310 = cljs.core.first(seq11307__$2); +var seq11307__$3 = cljs.core.next(seq11307__$2); +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic(G__11308,G__11309,G__11310,seq11307__$3); +}); + +cljs.core.max_key.cljs$lang$maxFixedArity = (3); + +/** + * Returns the x for which (k x), a number, is least. + */ +cljs.core.min_key = (function cljs$core$min_key(var_args){ +var args11319 = []; +var len__7625__auto___11326 = arguments.length; +var i__7626__auto___11327 = (0); +while(true){ +if((i__7626__auto___11327 < len__7625__auto___11326)){ +args11319.push((arguments[i__7626__auto___11327])); + +var G__11328 = (i__7626__auto___11327 + (1)); +i__7626__auto___11327 = G__11328; +continue; +} else { +} +break; +} + +var G__11325 = args11319.length; +switch (G__11325) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args11319.slice((3)),(0),null)); +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__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__11317_SHARP_,p2__11318_SHARP_){ +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,p1__11317_SHARP_,p2__11318_SHARP_); +}),cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,x,y),more); +}); + +cljs.core.min_key.cljs$lang$applyTo = (function (seq11320){ +var G__11321 = cljs.core.first(seq11320); +var seq11320__$1 = cljs.core.next(seq11320); +var G__11322 = cljs.core.first(seq11320__$1); +var seq11320__$2 = cljs.core.next(seq11320__$1); +var G__11323 = cljs.core.first(seq11320__$2); +var seq11320__$3 = cljs.core.next(seq11320__$2); +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic(G__11321,G__11322,G__11323,seq11320__$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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 args11330 = []; +var len__7625__auto___11333 = arguments.length; +var i__7626__auto___11334 = (0); +while(true){ +if((i__7626__auto___11334 < len__7625__auto___11333)){ +args11330.push((arguments[i__7626__auto___11334])); + +var G__11335 = (i__7626__auto___11334 + (1)); +i__7626__auto___11334 = G__11335; +continue; +} else { +} +break; +} + +var G__11332 = args11330.length; +switch (G__11332) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11330.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__11337 = null; +var G__11337__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11337__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__11337__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__11337 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11337__0.call(this); +case 1: +return G__11337__1.call(this,result); +case 2: +return G__11337__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11337.cljs$core$IFn$_invoke$arity$0 = G__11337__0; +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; +})() +;})(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 args11338 = []; +var len__7625__auto___11342 = arguments.length; +var i__7626__auto___11343 = (0); +while(true){ +if((i__7626__auto___11343 < len__7625__auto___11342)){ +args11338.push((arguments[i__7626__auto___11343])); + +var G__11344 = (i__7626__auto___11343 + (1)); +i__7626__auto___11343 = G__11344; +continue; +} else { +} +break; +} + +var G__11340 = args11338.length; +switch (G__11340) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11338.length)].join(''))); + +} +}); + +cljs.core.take_while.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return (function (rf){ +return (function() { +var G__11346 = null; +var G__11346__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11346__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__11346__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__11346 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11346__0.call(this); +case 1: +return G__11346__1.call(this,result); +case 2: +return G__11346__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11346.cljs$core$IFn$_invoke$arity$0 = G__11346__0; +G__11346.cljs$core$IFn$_invoke$arity$1 = G__11346__1; +G__11346.cljs$core$IFn$_invoke$arity$2 = G__11346__2; +return G__11346; +})() +}); +}); + +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__11341 = cljs.core.first(s); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__11341) : pred.call(null,G__11341)); +})())){ +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__11351 = (function (){var G__11353 = cljs.core._entry_key(sc,e); +var G__11354 = key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11353,G__11354) : comp.call(null,G__11353,G__11354)); +})(); +var G__11352 = (0); +return (test.cljs$core$IFn$_invoke$arity$2 ? test.cljs$core$IFn$_invoke$arity$2(G__11351,G__11352) : test.call(null,G__11351,G__11352)); +}); +}); +/** + * 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 args11355 = []; +var len__7625__auto___11364 = arguments.length; +var i__7626__auto___11365 = (0); +while(true){ +if((i__7626__auto___11365 < len__7625__auto___11364)){ +args11355.push((arguments[i__7626__auto___11365])); + +var G__11366 = (i__7626__auto___11365 + (1)); +i__7626__auto___11365 = G__11366; +continue; +} else { +} +break; +} + +var G__11357 = args11355.length; +switch (G__11357) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11355.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_(cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._GT_,cljs.core._GT__EQ_], true).call(null,test))){ +var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,key,true); +if(cljs.core.truth_(temp__4657__auto__)){ +var vec__11358 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11358,(0),null); +var s = vec__11358; +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__11361 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11361,(0),null); +var s = vec__11361; +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,end_test,end_key),(cljs.core.truth_(cljs.core.mk_bound_fn(sc,start_test,start_key).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 args11368 = []; +var len__7625__auto___11377 = arguments.length; +var i__7626__auto___11378 = (0); +while(true){ +if((i__7626__auto___11378 < len__7625__auto___11377)){ +args11368.push((arguments[i__7626__auto___11378])); + +var G__11379 = (i__7626__auto___11378 + (1)); +i__7626__auto___11378 = G__11379; +continue; +} else { +} +break; +} + +var G__11370 = args11368.length; +switch (G__11370) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11368.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_(cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._LT_,cljs.core._LT__EQ_], true).call(null,test))){ +var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,key,false); +if(cljs.core.truth_(temp__4657__auto__)){ +var vec__11371 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11371,(0),null); +var s = vec__11371; +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__11374 = temp__4657__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11374,(0),null); +var s = vec__11374; +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,start_test,start_key),(cljs.core.truth_(cljs.core.mk_bound_fn(sc,end_test,end_key).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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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$ = 8192; +}) +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__11382 = null; +var G__11382__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__11382__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__11382 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__11382__1.call(this,x); +case 2: +return G__11382__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11382.cljs$core$IFn$_invoke$arity$1 = G__11382__1; +G__11382.cljs$core$IFn$_invoke$arity$2 = G__11382__2; +return G__11382; +})() +; + +cljs.core.Range.prototype.lastIndexOf = (function() { +var G__11383 = null; +var G__11383__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__11383__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__11383 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__11383__1.call(this,x); +case 2: +return G__11383__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11383.cljs$core$IFn$_invoke$arity$1 = G__11383__1; +G__11383.cljs$core$IFn$_invoke$arity$2 = G__11383__2; +return G__11383; +})() +; + +cljs.core.Range.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (rng,n){ +var self__ = this; +var rng__$1 = this; +if((n < rng__$1.cljs$core$ICounted$_count$arity$1(null))){ +return (self__.start + (n * self__.step)); +} else { +if(((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((n < rng__$1.cljs$core$ICounted$_count$arity$1(null))){ +return (self__.start + (n * self__.step)); +} else { +if(((self__.start > self__.end)) && ((self__.step === (0)))){ +return self__.start; +} else { +return not_found; +} +} +}); + +cljs.core.Range.prototype.cljs$core$IIterable$ = cljs.core.PROTOCOL_SENTINEL; + +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__11381 = ((self__.end - self__.start) / self__.step); +return Math.ceil(G__11381); +} +}); + +cljs.core.Range.prototype.cljs$core$IHash$_hash$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +var h__6952__auto__ = self__.__hash; +if(!((h__6952__auto__ == null))){ +return h__6952__auto__; +} else { +var h__6952__auto____$1 = cljs.core.hash_ordered_coll(rng__$1); +self__.__hash = h__6952__auto____$1; + +return h__6952__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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(ret__$1) : cljs.core.deref.call(null,ret__$1)); +} else { +var G__11384 = (i + self__.step); +var G__11385 = ret__$1; +i = G__11384; +ret = G__11385; +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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)); +}); + +(cljs.core.Range.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Returns a lazy seq of nums from start (inclusive) to end + * (exclusive), by step, where start defaults to 0, step to 1, + * and end to infinity. + */ +cljs.core.range = (function cljs$core$range(var_args){ +var args11386 = []; +var len__7625__auto___11389 = arguments.length; +var i__7626__auto___11390 = (0); +while(true){ +if((i__7626__auto___11390 < len__7625__auto___11389)){ +args11386.push((arguments[i__7626__auto___11390])); + +var G__11391 = (i__7626__auto___11390 + (1)); +i__7626__auto___11390 = G__11391; +continue; +} else { +} +break; +} + +var G__11388 = args11386.length; +switch (G__11388) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11386.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 args11393 = []; +var len__7625__auto___11396 = arguments.length; +var i__7626__auto___11397 = (0); +while(true){ +if((i__7626__auto___11397 < len__7625__auto___11396)){ +args11393.push((arguments[i__7626__auto___11397])); + +var G__11398 = (i__7626__auto___11397 + (1)); +i__7626__auto___11397 = G__11398; +continue; +} else { +} +break; +} + +var G__11395 = args11393.length; +switch (G__11395) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11393.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__11400 = null; +var G__11400__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11400__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__11400__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__11400 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11400__0.call(this); +case 1: +return G__11400__1.call(this,result); +case 2: +return G__11400__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11400.cljs$core$IFn$_invoke$arity$0 = G__11400__0; +G__11400.cljs$core$IFn$_invoke$arity$1 = G__11400__1; +G__11400.cljs$core$IFn$_invoke$arity$2 = G__11400__2; +return G__11400; +})() +;})(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 args11402 = []; +var len__7625__auto___11405 = arguments.length; +var i__7626__auto___11406 = (0); +while(true){ +if((i__7626__auto___11406 < len__7625__auto___11405)){ +args11402.push((arguments[i__7626__auto___11406])); + +var G__11407 = (i__7626__auto___11406 + (1)); +i__7626__auto___11406 = G__11407; +continue; +} else { +} +break; +} + +var G__11404 = args11402.length; +switch (G__11404) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11402.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__11409 = null; +var G__11409__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11409__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__11409__2 = (function (result,input){ +var pval = (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(pa) : cljs.core.deref.call(null,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__11409 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11409__0.call(this); +case 1: +return G__11409__1.call(this,result); +case 2: +return G__11409__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11409.cljs$core$IFn$_invoke$arity$0 = G__11409__0; +G__11409.cljs$core$IFn$_invoke$arity$1 = G__11409__1; +G__11409.cljs$core$IFn$_invoke$arity$2 = G__11409__2; +return G__11409; +})() +;})(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__11401_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__11401_SHARP_) : f.call(null,p1__11401_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 args11410 = []; +var len__7625__auto___11415 = arguments.length; +var i__7626__auto___11416 = (0); +while(true){ +if((i__7626__auto___11416 < len__7625__auto___11415)){ +args11410.push((arguments[i__7626__auto___11416])); + +var G__11417 = (i__7626__auto___11416 + (1)); +i__7626__auto___11416 = G__11417; +continue; +} else { +} +break; +} + +var G__11412 = args11410.length; +switch (G__11412) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11410.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 { +var x__7354__auto__ = (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); +return cljs.core._conj(cljs.core.List.EMPTY,x__7354__auto__); +} +}),null,null)); +}); + +cljs.core.reductions.cljs$core$IFn$_invoke$arity$3 = (function (f,init,coll){ +if(cljs.core.reduced_QMARK_(init)){ +var x__7354__auto__ = (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(init) : cljs.core.deref.call(null,init)); +return cljs.core._conj(cljs.core.List.EMPTY,x__7354__auto__); +} 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__11413 = init; +var G__11414 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11413,G__11414) : f.call(null,G__11413,G__11414)); +})(),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 args11429 = []; +var len__7625__auto___11436 = arguments.length; +var i__7626__auto___11437 = (0); +while(true){ +if((i__7626__auto___11437 < len__7625__auto___11436)){ +args11429.push((arguments[i__7626__auto___11437])); + +var G__11438 = (i__7626__auto___11437 + (1)); +i__7626__auto___11437 = G__11438; +continue; +} else { +} +break; +} + +var G__11435 = args11429.length; +switch (G__11435) { +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 argseq__7644__auto__ = (new cljs.core.IndexedSeq(args11429.slice((3)),(0),null)); +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7644__auto__); + +} +}); + +cljs.core.juxt.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function() { +var G__11440 = null; +var G__11440__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__11440__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__11440__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__11440__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__11440__4 = (function() { +var G__11441__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__11441 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11442__i = 0, G__11442__a = new Array(arguments.length - 3); +while (G__11442__i < G__11442__a.length) {G__11442__a[G__11442__i] = arguments[G__11442__i + 3]; ++G__11442__i;} + args = new cljs.core.IndexedSeq(G__11442__a,0); +} +return G__11441__delegate.call(this,x,y,z,args);}; +G__11441.cljs$lang$maxFixedArity = 3; +G__11441.cljs$lang$applyTo = (function (arglist__11443){ +var x = cljs.core.first(arglist__11443); +arglist__11443 = cljs.core.next(arglist__11443); +var y = cljs.core.first(arglist__11443); +arglist__11443 = cljs.core.next(arglist__11443); +var z = cljs.core.first(arglist__11443); +var args = cljs.core.rest(arglist__11443); +return G__11441__delegate(x,y,z,args); +}); +G__11441.cljs$core$IFn$_invoke$arity$variadic = G__11441__delegate; +return G__11441; +})() +; +G__11440 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__11440__0.call(this); +case 1: +return G__11440__1.call(this,x); +case 2: +return G__11440__2.call(this,x,y); +case 3: +return G__11440__3.call(this,x,y,z); +default: +var G__11444 = null; +if (arguments.length > 3) { +var G__11445__i = 0, G__11445__a = new Array(arguments.length - 3); +while (G__11445__i < G__11445__a.length) {G__11445__a[G__11445__i] = arguments[G__11445__i + 3]; ++G__11445__i;} +G__11444 = new cljs.core.IndexedSeq(G__11445__a,0); +} +return G__11440__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11444); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11440.cljs$lang$maxFixedArity = 3; +G__11440.cljs$lang$applyTo = G__11440__4.cljs$lang$applyTo; +G__11440.cljs$core$IFn$_invoke$arity$0 = G__11440__0; +G__11440.cljs$core$IFn$_invoke$arity$1 = G__11440__1; +G__11440.cljs$core$IFn$_invoke$arity$2 = G__11440__2; +G__11440.cljs$core$IFn$_invoke$arity$3 = G__11440__3; +G__11440.cljs$core$IFn$_invoke$arity$variadic = G__11440__4.cljs$core$IFn$_invoke$arity$variadic; +return G__11440; +})() +}); + +cljs.core.juxt.cljs$core$IFn$_invoke$arity$2 = (function (f,g){ +return (function() { +var G__11446 = null; +var G__11446__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__11446__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__11446__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__11446__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__11446__4 = (function() { +var G__11447__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__11447 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11448__i = 0, G__11448__a = new Array(arguments.length - 3); +while (G__11448__i < G__11448__a.length) {G__11448__a[G__11448__i] = arguments[G__11448__i + 3]; ++G__11448__i;} + args = new cljs.core.IndexedSeq(G__11448__a,0); +} +return G__11447__delegate.call(this,x,y,z,args);}; +G__11447.cljs$lang$maxFixedArity = 3; +G__11447.cljs$lang$applyTo = (function (arglist__11449){ +var x = cljs.core.first(arglist__11449); +arglist__11449 = cljs.core.next(arglist__11449); +var y = cljs.core.first(arglist__11449); +arglist__11449 = cljs.core.next(arglist__11449); +var z = cljs.core.first(arglist__11449); +var args = cljs.core.rest(arglist__11449); +return G__11447__delegate(x,y,z,args); +}); +G__11447.cljs$core$IFn$_invoke$arity$variadic = G__11447__delegate; +return G__11447; +})() +; +G__11446 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__11446__0.call(this); +case 1: +return G__11446__1.call(this,x); +case 2: +return G__11446__2.call(this,x,y); +case 3: +return G__11446__3.call(this,x,y,z); +default: +var G__11450 = null; +if (arguments.length > 3) { +var G__11451__i = 0, G__11451__a = new Array(arguments.length - 3); +while (G__11451__i < G__11451__a.length) {G__11451__a[G__11451__i] = arguments[G__11451__i + 3]; ++G__11451__i;} +G__11450 = new cljs.core.IndexedSeq(G__11451__a,0); +} +return G__11446__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11450); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11446.cljs$lang$maxFixedArity = 3; +G__11446.cljs$lang$applyTo = G__11446__4.cljs$lang$applyTo; +G__11446.cljs$core$IFn$_invoke$arity$0 = G__11446__0; +G__11446.cljs$core$IFn$_invoke$arity$1 = G__11446__1; +G__11446.cljs$core$IFn$_invoke$arity$2 = G__11446__2; +G__11446.cljs$core$IFn$_invoke$arity$3 = G__11446__3; +G__11446.cljs$core$IFn$_invoke$arity$variadic = G__11446__4.cljs$core$IFn$_invoke$arity$variadic; +return G__11446; +})() +}); + +cljs.core.juxt.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ +return (function() { +var G__11452 = null; +var G__11452__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__11452__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__11452__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__11452__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__11452__4 = (function() { +var G__11453__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__11453 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11454__i = 0, G__11454__a = new Array(arguments.length - 3); +while (G__11454__i < G__11454__a.length) {G__11454__a[G__11454__i] = arguments[G__11454__i + 3]; ++G__11454__i;} + args = new cljs.core.IndexedSeq(G__11454__a,0); +} +return G__11453__delegate.call(this,x,y,z,args);}; +G__11453.cljs$lang$maxFixedArity = 3; +G__11453.cljs$lang$applyTo = (function (arglist__11455){ +var x = cljs.core.first(arglist__11455); +arglist__11455 = cljs.core.next(arglist__11455); +var y = cljs.core.first(arglist__11455); +arglist__11455 = cljs.core.next(arglist__11455); +var z = cljs.core.first(arglist__11455); +var args = cljs.core.rest(arglist__11455); +return G__11453__delegate(x,y,z,args); +}); +G__11453.cljs$core$IFn$_invoke$arity$variadic = G__11453__delegate; +return G__11453; +})() +; +G__11452 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__11452__0.call(this); +case 1: +return G__11452__1.call(this,x); +case 2: +return G__11452__2.call(this,x,y); +case 3: +return G__11452__3.call(this,x,y,z); +default: +var G__11456 = null; +if (arguments.length > 3) { +var G__11457__i = 0, G__11457__a = new Array(arguments.length - 3); +while (G__11457__i < G__11457__a.length) {G__11457__a[G__11457__i] = arguments[G__11457__i + 3]; ++G__11457__i;} +G__11456 = new cljs.core.IndexedSeq(G__11457__a,0); +} +return G__11452__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11456); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11452.cljs$lang$maxFixedArity = 3; +G__11452.cljs$lang$applyTo = G__11452__4.cljs$lang$applyTo; +G__11452.cljs$core$IFn$_invoke$arity$0 = G__11452__0; +G__11452.cljs$core$IFn$_invoke$arity$1 = G__11452__1; +G__11452.cljs$core$IFn$_invoke$arity$2 = G__11452__2; +G__11452.cljs$core$IFn$_invoke$arity$3 = G__11452__3; +G__11452.cljs$core$IFn$_invoke$arity$variadic = G__11452__4.cljs$core$IFn$_invoke$arity$variadic; +return G__11452; +})() +}); + +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__11458 = null; +var G__11458__0 = (function (){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__11419_SHARP_,p2__11420_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__11419_SHARP_,(p2__11420_SHARP_.cljs$core$IFn$_invoke$arity$0 ? p2__11420_SHARP_.cljs$core$IFn$_invoke$arity$0() : p2__11420_SHARP_.call(null))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__11458__1 = (function (x){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__11421_SHARP_,p2__11422_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__11421_SHARP_,(p2__11422_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p2__11422_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p2__11422_SHARP_.call(null,x))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__11458__2 = (function (x,y){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__11423_SHARP_,p2__11424_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__11423_SHARP_,(p2__11424_SHARP_.cljs$core$IFn$_invoke$arity$2 ? p2__11424_SHARP_.cljs$core$IFn$_invoke$arity$2(x,y) : p2__11424_SHARP_.call(null,x,y))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__11458__3 = (function (x,y,z){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__11425_SHARP_,p2__11426_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__11425_SHARP_,(p2__11426_SHARP_.cljs$core$IFn$_invoke$arity$3 ? p2__11426_SHARP_.cljs$core$IFn$_invoke$arity$3(x,y,z) : p2__11426_SHARP_.call(null,x,y,z))); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__11458__4 = (function() { +var G__11459__delegate = function (x,y,z,args){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ +return (function (p1__11427_SHARP_,p2__11428_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__11427_SHARP_,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(p2__11428_SHARP_,x,y,z,args)); +});})(fs__$1)) +,cljs.core.PersistentVector.EMPTY,fs__$1); +}; +var G__11459 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__11460__i = 0, G__11460__a = new Array(arguments.length - 3); +while (G__11460__i < G__11460__a.length) {G__11460__a[G__11460__i] = arguments[G__11460__i + 3]; ++G__11460__i;} + args = new cljs.core.IndexedSeq(G__11460__a,0); +} +return G__11459__delegate.call(this,x,y,z,args);}; +G__11459.cljs$lang$maxFixedArity = 3; +G__11459.cljs$lang$applyTo = (function (arglist__11461){ +var x = cljs.core.first(arglist__11461); +arglist__11461 = cljs.core.next(arglist__11461); +var y = cljs.core.first(arglist__11461); +arglist__11461 = cljs.core.next(arglist__11461); +var z = cljs.core.first(arglist__11461); +var args = cljs.core.rest(arglist__11461); +return G__11459__delegate(x,y,z,args); +}); +G__11459.cljs$core$IFn$_invoke$arity$variadic = G__11459__delegate; +return G__11459; +})() +; +G__11458 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__11458__0.call(this); +case 1: +return G__11458__1.call(this,x); +case 2: +return G__11458__2.call(this,x,y); +case 3: +return G__11458__3.call(this,x,y,z); +default: +var G__11462 = null; +if (arguments.length > 3) { +var G__11463__i = 0, G__11463__a = new Array(arguments.length - 3); +while (G__11463__i < G__11463__a.length) {G__11463__a[G__11463__i] = arguments[G__11463__i + 3]; ++G__11463__i;} +G__11462 = new cljs.core.IndexedSeq(G__11463__a,0); +} +return G__11458__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11462); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11458.cljs$lang$maxFixedArity = 3; +G__11458.cljs$lang$applyTo = G__11458__4.cljs$lang$applyTo; +G__11458.cljs$core$IFn$_invoke$arity$0 = G__11458__0; +G__11458.cljs$core$IFn$_invoke$arity$1 = G__11458__1; +G__11458.cljs$core$IFn$_invoke$arity$2 = G__11458__2; +G__11458.cljs$core$IFn$_invoke$arity$3 = G__11458__3; +G__11458.cljs$core$IFn$_invoke$arity$variadic = G__11458__4.cljs$core$IFn$_invoke$arity$variadic; +return G__11458; +})() +;})(fs__$1)) +}); + +cljs.core.juxt.cljs$lang$applyTo = (function (seq11430){ +var G__11431 = cljs.core.first(seq11430); +var seq11430__$1 = cljs.core.next(seq11430); +var G__11432 = cljs.core.first(seq11430__$1); +var seq11430__$2 = cljs.core.next(seq11430__$1); +var G__11433 = cljs.core.first(seq11430__$2); +var seq11430__$3 = cljs.core.next(seq11430__$2); +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic(G__11431,G__11432,G__11433,seq11430__$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 args11464 = []; +var len__7625__auto___11467 = arguments.length; +var i__7626__auto___11468 = (0); +while(true){ +if((i__7626__auto___11468 < len__7625__auto___11467)){ +args11464.push((arguments[i__7626__auto___11468])); + +var G__11469 = (i__7626__auto___11468 + (1)); +i__7626__auto___11468 = G__11469; +continue; +} else { +} +break; +} + +var G__11466 = args11464.length; +switch (G__11466) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11464.length)].join(''))); + +} +}); + +cljs.core.dorun.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +while(true){ +if(cljs.core.seq(coll)){ +var G__11471 = cljs.core.next(coll); +coll = G__11471; +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__11472 = (n - (1)); +var G__11473 = cljs.core.next(coll); +n = G__11472; +coll = G__11473; +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 args11474 = []; +var len__7625__auto___11477 = arguments.length; +var i__7626__auto___11478 = (0); +while(true){ +if((i__7626__auto___11478 < len__7625__auto___11477)){ +args11474.push((arguments[i__7626__auto___11478])); + +var G__11479 = (i__7626__auto___11478 + (1)); +i__7626__auto___11478 = G__11479; +continue; +} else { +} +break; +} + +var G__11476 = args11474.length; +switch (G__11476) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11474.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_match = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(match_idx + cljs.core.count(match_str))); +if(cljs.core.truth_(match_data)){ +return (new cljs.core.LazySeq(null,((function (match_data,match_idx,match_str,post_match){ +return (function (){ +return cljs.core.cons(match_data,((cljs.core.seq(post_match))?(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_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__11484 = cljs.core.re_find(/^\(\?([idmsux]*)\)/,s); +var prefix = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11484,(0),null); +var flags = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11484,(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__6512__auto__ = flags; +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__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_11494 = 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__6512__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return "..."; +} +})()); +} else { +} +} else { +if(cljs.core.seq(coll)){ +var G__11495_11501 = cljs.core.first(coll); +var G__11496_11502 = writer; +var G__11497_11503 = opts; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__11495_11501,G__11496_11502,G__11497_11503) : print_one.call(null,G__11495_11501,G__11496_11502,G__11497_11503)); +} else { +} + +var coll_11504__$1 = cljs.core.next(coll); +var n_11505 = (new cljs.core.Keyword(null,"print-length","print-length",1931866356).cljs$core$IFn$_invoke$arity$1(opts) - (1)); +while(true){ +if((coll_11504__$1) && (((n_11505 == null)) || (!((n_11505 === (0)))))){ +cljs.core._write(writer,sep); + +var G__11498_11506 = cljs.core.first(coll_11504__$1); +var G__11499_11507 = writer; +var G__11500_11508 = opts; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__11498_11506,G__11499_11507,G__11500_11508) : print_one.call(null,G__11498_11506,G__11499_11507,G__11500_11508)); + +var G__11509 = cljs.core.next(coll_11504__$1); +var G__11510 = (n_11505 - (1)); +coll_11504__$1 = G__11509; +n_11505 = G__11510; +continue; +} else { +if((cljs.core.seq(coll_11504__$1)) && ((n_11505 === (0)))){ +cljs.core._write(writer,sep); + +cljs.core._write(writer,(function (){var or__6512__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +return "..."; +} +})()); +} else { +} +} +break; +} +} + +return cljs.core._write(writer,end); +} +}finally {cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR_11494; +}}); +cljs.core.write_all = (function cljs$core$write_all(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11517 = arguments.length; +var i__7626__auto___11518 = (0); +while(true){ +if((i__7626__auto___11518 < len__7625__auto___11517)){ +args__7632__auto__.push((arguments[i__7626__auto___11518])); + +var G__11519 = (i__7626__auto___11518 + (1)); +i__7626__auto___11518 = G__11519; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((1) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((1)),(0),null)):null); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7633__auto__); +}); + +cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic = (function (writer,ss){ +var seq__11513 = cljs.core.seq(ss); +var chunk__11514 = null; +var count__11515 = (0); +var i__11516 = (0); +while(true){ +if((i__11516 < count__11515)){ +var s = chunk__11514.cljs$core$IIndexed$_nth$arity$2(null,i__11516); +cljs.core._write(writer,s); + +var G__11520 = seq__11513; +var G__11521 = chunk__11514; +var G__11522 = count__11515; +var G__11523 = (i__11516 + (1)); +seq__11513 = G__11520; +chunk__11514 = G__11521; +count__11515 = G__11522; +i__11516 = G__11523; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11513); +if(temp__4657__auto__){ +var seq__11513__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11513__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__11513__$1); +var G__11524 = cljs.core.chunk_rest(seq__11513__$1); +var G__11525 = c__7331__auto__; +var G__11526 = cljs.core.count(c__7331__auto__); +var G__11527 = (0); +seq__11513 = G__11524; +chunk__11514 = G__11525; +count__11515 = G__11526; +i__11516 = G__11527; +continue; +} else { +var s = cljs.core.first(seq__11513__$1); +cljs.core._write(writer,s); + +var G__11528 = cljs.core.next(seq__11513__$1); +var G__11529 = null; +var G__11530 = (0); +var G__11531 = (0); +seq__11513 = G__11528; +chunk__11514 = G__11529; +count__11515 = G__11530; +i__11516 = G__11531; +continue; +} +} else { +return null; +} +} +break; +} +}); + +cljs.core.write_all.cljs$lang$maxFixedArity = (1); + +cljs.core.write_all.cljs$lang$applyTo = (function (seq11511){ +var G__11512 = cljs.core.first(seq11511); +var seq11511__$1 = cljs.core.next(seq11511); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(G__11512,seq11511__$1); +}); + +cljs.core.string_print = (function cljs$core$string_print(x){ +(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 obj11533 = {"\"":"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"}; +return obj11533; +})(); +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__6500__auto__ = cljs.core.boolean$(cljs.core.get.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"meta","meta",1499536964))); +if(and__6500__auto__){ +var and__6500__auto____$1 = ((!((obj == null)))?((((obj.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IMeta$)))?true:false):false); +if(and__6500__auto____$1){ +return !((cljs.core.meta(obj) == null)); +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__auto__; +} +}); +cljs.core.pr_writer_impl = (function cljs$core$pr_writer_impl(obj,writer,opts){ +if((obj == null)){ +return cljs.core._write(writer,"nil"); +} else { +if(cljs.core.print_meta_QMARK_(opts,obj)){ +cljs.core._write(writer,"^"); + +var G__11548_11556 = cljs.core.meta(obj); +var G__11549_11557 = writer; +var G__11550_11558 = opts; +(cljs.core.pr_writer.cljs$core$IFn$_invoke$arity$3 ? cljs.core.pr_writer.cljs$core$IFn$_invoke$arity$3(G__11548_11556,G__11549_11557,G__11550_11558) : cljs.core.pr_writer.call(null,G__11548_11556,G__11549_11557,G__11550_11558)); + +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) || (typeof obj === 'number')){ +return cljs.core._write(writer,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)].join('')); +} else { +if(cljs.core.object_QMARK_(obj)){ +cljs.core._write(writer,"#js "); + +var G__11552 = cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (k){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(k),(obj[k])], null); +}),cljs.core.js_keys(obj)); +var G__11553 = cljs.core.pr_writer; +var G__11554 = writer; +var G__11555 = opts; +return (cljs.core.print_map.cljs$core$IFn$_invoke$arity$4 ? cljs.core.print_map.cljs$core$IFn$_invoke$arity$4(G__11552,G__11553,G__11554,G__11555) : cljs.core.print_map.call(null,G__11552,G__11553,G__11554,G__11555)); +} 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__6512__auto__ = (name == null); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +return goog.string.isEmpty(name); +} +})())?"Function":name); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.array_seq(["#object[",name__$1," \"",[cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)].join(''),"\"]"], 0)); +} else { +if((obj instanceof Date)){ +var normalize = (function (n,len){ +var ns = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)].join(''); +while(true){ +if((cljs.core.count(ns) < len)){ +var G__11559 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1("0"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''); +ns = G__11559; +continue; +} else { +return ns; +} +break; +} +}); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.array_seq(["#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.array_seq(["#\"",obj.source,"\""], 0)); +} else { +if(cljs.core.truth_(obj.constructor.cljs$lang$ctorStr)){ +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.array_seq(["#object[",obj.constructor.cljs$lang$ctorStr.replace((new RegExp("/","g")),"."),"]"], 0)); +} else { +var name = obj.constructor.name; +var name__$1 = (cljs.core.truth_((function (){var or__6512__auto__ = (name == null); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +return goog.string.isEmpty(name); +} +})())?"Object":name); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.array_seq(["#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__11563 = obj; +var G__11564 = writer; +var G__11565 = 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__11563,G__11564,G__11565) : alt_impl.call(null,G__11563,G__11564,G__11565)); +} 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__11570 = cljs.core.seq(cljs.core.next(objs)); +var chunk__11571 = null; +var count__11572 = (0); +var i__11573 = (0); +while(true){ +if((i__11573 < count__11572)){ +var obj = chunk__11571.cljs$core$IIndexed$_nth$arity$2(null,i__11573); +cljs.core._write(writer," "); + +cljs.core.pr_writer(obj,writer,opts); + +var G__11574 = seq__11570; +var G__11575 = chunk__11571; +var G__11576 = count__11572; +var G__11577 = (i__11573 + (1)); +seq__11570 = G__11574; +chunk__11571 = G__11575; +count__11572 = G__11576; +i__11573 = G__11577; +continue; +} else { +var temp__4657__auto__ = cljs.core.seq(seq__11570); +if(temp__4657__auto__){ +var seq__11570__$1 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__11570__$1)){ +var c__7331__auto__ = cljs.core.chunk_first(seq__11570__$1); +var G__11578 = cljs.core.chunk_rest(seq__11570__$1); +var G__11579 = c__7331__auto__; +var G__11580 = cljs.core.count(c__7331__auto__); +var G__11581 = (0); +seq__11570 = G__11578; +chunk__11571 = G__11579; +count__11572 = G__11580; +i__11573 = G__11581; +continue; +} else { +var obj = cljs.core.first(seq__11570__$1); +cljs.core._write(writer," "); + +cljs.core.pr_writer(obj,writer,opts); + +var G__11582 = cljs.core.next(seq__11570__$1); +var G__11583 = null; +var G__11584 = (0); +var G__11585 = (0); +seq__11570 = G__11582; +chunk__11571 = G__11583; +count__11572 = G__11584; +i__11573 = G__11585; +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 args11586 = []; +var len__7625__auto___11589 = arguments.length; +var i__7626__auto___11590 = (0); +while(true){ +if((i__7626__auto___11590 < len__7625__auto___11589)){ +args11586.push((arguments[i__7626__auto___11590])); + +var G__11591 = (i__7626__auto___11590 + (1)); +i__7626__auto___11590 = G__11591; +continue; +} else { +} +break; +} + +var G__11588 = args11586.length; +switch (G__11588) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11586.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__7632__auto__ = []; +var len__7625__auto___11594 = arguments.length; +var i__7626__auto___11595 = (0); +while(true){ +if((i__7626__auto___11595 < len__7625__auto___11594)){ +args__7632__auto__.push((arguments[i__7626__auto___11595])); + +var G__11596 = (i__7626__auto___11595 + (1)); +i__7626__auto___11595 = G__11596; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.pr_str.cljs$lang$applyTo = (function (seq11593){ +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11593)); +}); + +/** + * Same as pr-str followed by (newline) + */ +cljs.core.prn_str = (function cljs$core$prn_str(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11598 = arguments.length; +var i__7626__auto___11599 = (0); +while(true){ +if((i__7626__auto___11599 < len__7625__auto___11598)){ +args__7632__auto__.push((arguments[i__7626__auto___11599])); + +var G__11600 = (i__7626__auto___11599 + (1)); +i__7626__auto___11599 = G__11600; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.prn_str.cljs$lang$applyTo = (function (seq11597){ +return cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11597)); +}); + +/** + * 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__7632__auto__ = []; +var len__7625__auto___11602 = arguments.length; +var i__7626__auto___11603 = (0); +while(true){ +if((i__7626__auto___11603 < len__7625__auto___11602)){ +args__7632__auto__.push((arguments[i__7626__auto___11603])); + +var G__11604 = (i__7626__auto___11603 + (1)); +i__7626__auto___11603 = G__11604; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.pr.cljs$lang$applyTo = (function (seq11601){ +return cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11601)); +}); + +/** + * 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__11605__i = 0, G__11605__a = new Array(arguments.length - 0); +while (G__11605__i < G__11605__a.length) {G__11605__a[G__11605__i] = arguments[G__11605__i + 0]; ++G__11605__i;} + objs = new cljs.core.IndexedSeq(G__11605__a,0); +} +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__11606){ +var objs = cljs.core.seq(arglist__11606); +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__7632__auto__ = []; +var len__7625__auto___11608 = arguments.length; +var i__7626__auto___11609 = (0); +while(true){ +if((i__7626__auto___11609 < len__7625__auto___11608)){ +args__7632__auto__.push((arguments[i__7626__auto___11609])); + +var G__11610 = (i__7626__auto___11609 + (1)); +i__7626__auto___11609 = G__11610; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.print_str.cljs$lang$applyTo = (function (seq11607){ +return cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11607)); +}); + +/** + * Same as print followed by (newline) + */ +cljs.core.println = (function cljs$core$println(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11612 = arguments.length; +var i__7626__auto___11613 = (0); +while(true){ +if((i__7626__auto___11613 < len__7625__auto___11612)){ +args__7632__auto__.push((arguments[i__7626__auto___11613])); + +var G__11614 = (i__7626__auto___11613 + (1)); +i__7626__auto___11613 = G__11614; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.println.cljs$lang$applyTo = (function (seq11611){ +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11611)); +}); + +/** + * println to a string, returning it + */ +cljs.core.println_str = (function cljs$core$println_str(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11616 = arguments.length; +var i__7626__auto___11617 = (0); +while(true){ +if((i__7626__auto___11617 < len__7625__auto___11616)){ +args__7632__auto__.push((arguments[i__7626__auto___11617])); + +var G__11618 = (i__7626__auto___11617 + (1)); +i__7626__auto___11617 = G__11618; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.println_str.cljs$lang$applyTo = (function (seq11615){ +return cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11615)); +}); + +/** + * Same as pr followed by (newline). + */ +cljs.core.prn = (function cljs$core$prn(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11620 = arguments.length; +var i__7626__auto___11621 = (0); +while(true){ +if((i__7626__auto___11621 < len__7625__auto___11620)){ +args__7632__auto__.push((arguments[i__7626__auto___11621])); + +var G__11622 = (i__7626__auto___11621 + (1)); +i__7626__auto___11621 = G__11622; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.prn.cljs$lang$applyTo = (function (seq11619){ +return cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11619)); +}); + +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__11648 = cljs.core.seq(m); +var vec__11649 = G__11648; +var seq__11650 = cljs.core.seq(vec__11649); +var first__11651 = cljs.core.first(seq__11650); +var seq__11650__$1 = cljs.core.next(seq__11650); +var vec__11652 = first__11651; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11652,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11652,(1),null); +var entry = vec__11652; +var entries = seq__11650__$1; +var lm = cljs.core.empty(m); +var ns__$1 = ns; +var G__11648__$1 = G__11648; +var lm__$1 = lm; +while(true){ +var ns__$2 = ns__$1; +var vec__11655 = G__11648__$1; +var seq__11656 = cljs.core.seq(vec__11655); +var first__11657 = cljs.core.first(seq__11656); +var seq__11656__$1 = cljs.core.next(seq__11656); +var vec__11658 = first__11657; +var k__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11658,(0),null); +var v__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11658,(1),null); +var entry__$1 = vec__11658; +var entries__$1 = seq__11656__$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__11661 = ns__$2; +var G__11662 = entries__$1; +var G__11663 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); +ns__$1 = G__11661; +G__11648__$1 = G__11662; +lm__$1 = G__11663; +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__11664 = new_ns; +var G__11665 = entries__$1; +var G__11666 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); +ns__$1 = G__11664; +G__11648__$1 = G__11665; +lm__$1 = G__11666; +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__11673_11679 = cljs.core.key(e); +var G__11674_11680 = w; +var G__11675_11681 = opts__$1; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__11673_11679,G__11674_11680,G__11675_11681) : print_one.call(null,G__11673_11679,G__11674_11680,G__11675_11681)); + +cljs.core._write(w," "); + +var G__11676 = cljs.core.val(e); +var G__11677 = w; +var G__11678 = opts__$1; +return (print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__11676,G__11677,G__11678) : print_one.call(null,G__11676,G__11677,G__11678)); +}),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prefix),cljs.core.str.cljs$core$IFn$_invoke$arity$1("{")].join(''),", ","}",opts,cljs.core.seq(m)); +}); +cljs.core.print_map = (function cljs$core$print_map(m,print_one,writer,opts){ +var vec__11685 = cljs.core.lift_ns(m); +var ns = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11685,(0),null); +var lift_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11685,(1),null); +if(cljs.core.truth_(ns)){ +return cljs.core.print_prefix_map([cljs.core.str.cljs$core$IFn$_invoke$arity$1("#:"),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.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.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.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.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.LazyTransformer.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; + +cljs.core.LazyTransformer.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.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.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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cannot compare "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$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__7632__auto__ = []; +var len__7625__auto___11691 = arguments.length; +var i__7626__auto___11692 = (0); +while(true){ +if((i__7626__auto___11692 < len__7625__auto___11691)){ +args__7632__auto__.push((arguments[i__7626__auto___11692])); + +var G__11693 = (i__7626__auto___11692 + (1)); +i__7626__auto___11692 = G__11693; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((2) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((2)),(0),null)):null); +return cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7633__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); + +cljs.core.alter_meta_BANG_.cljs$lang$applyTo = (function (seq11688){ +var G__11689 = cljs.core.first(seq11688); +var seq11688__$1 = cljs.core.next(seq11688); +var G__11690 = cljs.core.first(seq11688__$1); +var seq11688__$2 = cljs.core.next(seq11688__$1); +return cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__11689,G__11690,seq11688__$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 args11694 = []; +var len__7625__auto___11697 = arguments.length; +var i__7626__auto___11698 = (0); +while(true){ +if((i__7626__auto___11698 < len__7625__auto___11697)){ +args11694.push((arguments[i__7626__auto___11698])); + +var G__11699 = (i__7626__auto___11698 + (1)); +i__7626__auto___11698 = G__11699; +continue; +} else { +} +break; +} + +var G__11696 = args11694.length; +switch (G__11696) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11694.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 ? cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)) : cljs.core.atom.call(null,(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; + +cljs.core.fixture1 = (1); +cljs.core.fixture2 = (2); + +/** +* @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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(x) : cljs.core.deref.call(null,x)); +} else { +return x; +} +}); +/** + * 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__11701_SHARP_,p2__11702_SHARP_){ +var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(p1__11701_SHARP_,p2__11702_SHARP_) : rf.call(null,p1__11701_SHARP_,p2__11702_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__11703 = null; +var G__11703__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11703__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__11703__2 = (function (result,input){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(rf1,result,input); +}); +G__11703 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11703__0.call(this); +case 1: +return G__11703__1.call(this,result); +case 2: +return G__11703__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11703.cljs$core$IFn$_invoke$arity$0 = G__11703__0; +G__11703.cljs$core$IFn$_invoke$arity$1 = G__11703__1; +G__11703.cljs$core$IFn$_invoke$arity$2 = G__11703__2; +return G__11703; +})() +;})(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 args11704 = []; +var len__7625__auto___11709 = arguments.length; +var i__7626__auto___11710 = (0); +while(true){ +if((i__7626__auto___11710 < len__7625__auto___11709)){ +args11704.push((arguments[i__7626__auto___11710])); + +var G__11711 = (i__7626__auto___11710 + (1)); +i__7626__auto___11710 = G__11711; +continue; +} else { +} +break; +} + +var G__11706 = args11704.length; +switch (G__11706) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11704.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__11713 = null; +var G__11713__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11713__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__11713__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__11707 = (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); +var G__11708 = input; +return (retf.cljs$core$IFn$_invoke$arity$2 ? retf.cljs$core$IFn$_invoke$arity$2(G__11707,G__11708) : retf.call(null,G__11707,G__11708)); +})():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__11713 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11713__0.call(this); +case 1: +return G__11713__1.call(this,result); +case 2: +return G__11713__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11713.cljs$core$IFn$_invoke$arity$0 = G__11713__0; +G__11713.cljs$core$IFn$_invoke$arity$1 = G__11713__1; +G__11713.cljs$core$IFn$_invoke$arity$2 = G__11713__2; +return G__11713; +})() +}); +}); + +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 args11714 = []; +var len__7625__auto___11717 = arguments.length; +var i__7626__auto___11718 = (0); +while(true){ +if((i__7626__auto___11718 < len__7625__auto___11717)){ +args11714.push((arguments[i__7626__auto___11718])); + +var G__11719 = (i__7626__auto___11718 + (1)); +i__7626__auto___11718 = G__11719; +continue; +} else { +} +break; +} + +var G__11716 = args11714.length; +switch (G__11716) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11714.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__11721 = null; +var G__11721__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); +}); +var G__11721__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__11721__2 = (function (result,input){ +var prior = (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(pa) : cljs.core.deref.call(null,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__11721 = function(result,input){ +switch(arguments.length){ +case 0: +return G__11721__0.call(this); +case 1: +return G__11721__1.call(this,result); +case 2: +return G__11721__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11721.cljs$core$IFn$_invoke$arity$0 = G__11721__0; +G__11721.cljs$core$IFn$_invoke$arity$1 = G__11721__1; +G__11721.cljs$core$IFn$_invoke$arity$2 = G__11721__2; +return G__11721; +})() +;})(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 args11722 = []; +var len__7625__auto___11725 = arguments.length; +var i__7626__auto___11726 = (0); +while(true){ +if((i__7626__auto___11726 < len__7625__auto___11725)){ +args11722.push((arguments[i__7626__auto___11726])); + +var G__11727 = (i__7626__auto___11726 + (1)); +i__7626__auto___11726 = G__11727; +continue; +} else { +} +break; +} + +var G__11724 = args11722.length; +switch (G__11724) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11722.length)].join(''))); + +} +}); + +cljs.core.random_sample.cljs$core$IFn$_invoke$arity$1 = (function (prob){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$1((function (_){ +return ((cljs.core.rand.cljs$core$IFn$_invoke$arity$0 ? cljs.core.rand.cljs$core$IFn$_invoke$arity$0() : cljs.core.rand.call(null)) < prob); +})); +}); + +cljs.core.random_sample.cljs$core$IFn$_invoke$arity$2 = (function (prob,coll){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (_){ +return ((cljs.core.rand.cljs$core$IFn$_invoke$arity$0 ? cljs.core.rand.cljs$core$IFn$_invoke$arity$0() : cljs.core.rand.call(null)) < prob); +}),coll); +}); + +cljs.core.random_sample.cljs$lang$maxFixedArity = 2; + + +/** +* @constructor + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.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$ = 0; +}) +cljs.core.Eduction.prototype.indexOf = (function() { +var G__11729 = null; +var G__11729__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__11729__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__11729 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11729__1.call(this,x); +case 2: +return G__11729__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11729.cljs$core$IFn$_invoke$arity$1 = G__11729__1; +G__11729.cljs$core$IFn$_invoke$arity$2 = G__11729__2; +return G__11729; +})() +; + +cljs.core.Eduction.prototype.lastIndexOf = (function() { +var G__11730 = null; +var G__11730__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__11730__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__11730 = function(x,start){ +switch(arguments.length){ +case 1: +return G__11730__1.call(this,x); +case 2: +return G__11730__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__11730.cljs$core$IFn$_invoke$arity$1 = G__11730__1; +G__11730.cljs$core$IFn$_invoke$arity$2 = G__11730__2; +return G__11730; +})() +; + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"cljs.core/Eduction"); +}); + +cljs.core.__GT_Eduction = (function cljs$core$__GT_Eduction(xform,coll){ +return (new cljs.core.Eduction(xform,coll)); +}); + +(cljs.core.Eduction.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__7526__auto__ = this; +return cljs.core.es6_iterator(this__7526__auto__); +})); +/** + * Returns a reducible/iterable application of the transducers + * to the items in coll. Transducers are applied in order as if + * combined with comp. Note that these applications will be + * performed every time reduce/iterator is called. + */ +cljs.core.eduction = (function cljs$core$eduction(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11732 = arguments.length; +var i__7626__auto___11733 = (0); +while(true){ +if((i__7626__auto___11733 < len__7625__auto___11732)){ +args__7632__auto__.push((arguments[i__7626__auto___11733])); + +var G__11734 = (i__7626__auto___11733 + (1)); +i__7626__auto___11733 = G__11734; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((0) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((0)),(0),null)):null); +return cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic(argseq__7633__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); + +cljs.core.eduction.cljs$lang$applyTo = (function (seq11731){ +return cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11731)); +}); + +/** + * 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__11736_SHARP_,p2__11735_SHARP_){ +return (proc.cljs$core$IFn$_invoke$arity$1 ? proc.cljs$core$IFn$_invoke$arity$1(p2__11735_SHARP_) : proc.call(null,p2__11735_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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._clj__GT_js[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__7181__auto__.call(null,x)); +} else { +var m__7181__auto____$1 = (cljs.core._clj__GT_js["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__7181__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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._key__GT_js[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__7181__auto__.call(null,x)); +} else { +var m__7181__auto____$1 = (cljs.core._key__GT_js["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__7181__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(k){ +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 (cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$1 ? cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$1(k) : cljs.core.clj__GT_js.call(null,k)); +} else { +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.array_seq([k], 0)); +} +} +}); +/** + * 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. + */ +cljs.core.clj__GT_js = (function cljs$core$clj__GT_js(x){ +if((x == null)){ +return null; +} else { +if(((!((x == null)))?(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IEncodeJS$)))?true:(((!x.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,x))){ +return cljs.core._clj__GT_js(x); +} else { +if((x instanceof cljs.core.Keyword)){ +return cljs.core.name(x); +} else { +if((x instanceof cljs.core.Symbol)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''); +} else { +if(cljs.core.map_QMARK_(x)){ +var m = {}; +var seq__11759_11773 = cljs.core.seq(x); +var chunk__11760_11774 = null; +var count__11761_11775 = (0); +var i__11762_11776 = (0); +while(true){ +if((i__11762_11776 < count__11761_11775)){ +var vec__11763_11777 = chunk__11760_11774.cljs$core$IIndexed$_nth$arity$2(null,i__11762_11776); +var k_11778 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11763_11777,(0),null); +var v_11779 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11763_11777,(1),null); +(m[cljs.core.key__GT_js(k_11778)] = (cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$1 ? cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$1(v_11779) : cljs.core.clj__GT_js.call(null,v_11779))); + +var G__11780 = seq__11759_11773; +var G__11781 = chunk__11760_11774; +var G__11782 = count__11761_11775; +var G__11783 = (i__11762_11776 + (1)); +seq__11759_11773 = G__11780; +chunk__11760_11774 = G__11781; +count__11761_11775 = G__11782; +i__11762_11776 = G__11783; +continue; +} else { +var temp__4657__auto___11784 = cljs.core.seq(seq__11759_11773); +if(temp__4657__auto___11784){ +var seq__11759_11785__$1 = temp__4657__auto___11784; +if(cljs.core.chunked_seq_QMARK_(seq__11759_11785__$1)){ +var c__7331__auto___11786 = cljs.core.chunk_first(seq__11759_11785__$1); +var G__11787 = cljs.core.chunk_rest(seq__11759_11785__$1); +var G__11788 = c__7331__auto___11786; +var G__11789 = cljs.core.count(c__7331__auto___11786); +var G__11790 = (0); +seq__11759_11773 = G__11787; +chunk__11760_11774 = G__11788; +count__11761_11775 = G__11789; +i__11762_11776 = G__11790; +continue; +} else { +var vec__11766_11791 = cljs.core.first(seq__11759_11785__$1); +var k_11792 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11766_11791,(0),null); +var v_11793 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11766_11791,(1),null); +(m[cljs.core.key__GT_js(k_11792)] = (cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$1 ? cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$1(v_11793) : cljs.core.clj__GT_js.call(null,v_11793))); + +var G__11794 = cljs.core.next(seq__11759_11785__$1); +var G__11795 = null; +var G__11796 = (0); +var G__11797 = (0); +seq__11759_11773 = G__11794; +chunk__11760_11774 = G__11795; +count__11761_11775 = G__11796; +i__11762_11776 = G__11797; +continue; +} +} else { +} +} +break; +} + +return m; +} else { +if(cljs.core.coll_QMARK_(x)){ +var arr = []; +var seq__11769_11798 = cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.clj__GT_js,x)); +var chunk__11770_11799 = null; +var count__11771_11800 = (0); +var i__11772_11801 = (0); +while(true){ +if((i__11772_11801 < count__11771_11800)){ +var x_11802__$1 = chunk__11770_11799.cljs$core$IIndexed$_nth$arity$2(null,i__11772_11801); +arr.push(x_11802__$1); + +var G__11803 = seq__11769_11798; +var G__11804 = chunk__11770_11799; +var G__11805 = count__11771_11800; +var G__11806 = (i__11772_11801 + (1)); +seq__11769_11798 = G__11803; +chunk__11770_11799 = G__11804; +count__11771_11800 = G__11805; +i__11772_11801 = G__11806; +continue; +} else { +var temp__4657__auto___11807 = cljs.core.seq(seq__11769_11798); +if(temp__4657__auto___11807){ +var seq__11769_11808__$1 = temp__4657__auto___11807; +if(cljs.core.chunked_seq_QMARK_(seq__11769_11808__$1)){ +var c__7331__auto___11809 = cljs.core.chunk_first(seq__11769_11808__$1); +var G__11810 = cljs.core.chunk_rest(seq__11769_11808__$1); +var G__11811 = c__7331__auto___11809; +var G__11812 = cljs.core.count(c__7331__auto___11809); +var G__11813 = (0); +seq__11769_11798 = G__11810; +chunk__11770_11799 = G__11811; +count__11771_11800 = G__11812; +i__11772_11801 = G__11813; +continue; +} else { +var x_11814__$1 = cljs.core.first(seq__11769_11808__$1); +arr.push(x_11814__$1); + +var G__11815 = cljs.core.next(seq__11769_11808__$1); +var G__11816 = null; +var G__11817 = (0); +var G__11818 = (0); +seq__11769_11798 = G__11815; +chunk__11770_11799 = G__11816; +count__11771_11800 = G__11817; +i__11772_11801 = G__11818; +continue; +} +} else { +} +} +break; +} + +return arr; +} else { +return x; + +} +} +} +} +} +} +}); + +/** + * @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__7180__auto__ = (((x == null))?null:x); +var m__7181__auto__ = (cljs.core._js__GT_clj[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(x,options) : m__7181__auto__.call(null,x,options)); +} else { +var m__7181__auto____$1 = (cljs.core._js__GT_clj["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(x,options) : m__7181__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 args11819 = []; +var len__7625__auto___11844 = arguments.length; +var i__7626__auto___11845 = (0); +while(true){ +if((i__7626__auto___11845 < len__7625__auto___11844)){ +args11819.push((arguments[i__7626__auto___11845])); + +var G__11846 = (i__7626__auto___11845 + (1)); +i__7626__auto___11845 = G__11846; +continue; +} else { +} +break; +} + +var G__11823 = args11819.length; +switch (G__11823) { +case 1: +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args11819.slice((1)),(0),null)); +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7644__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.array_seq([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__11824 = opts; +var map__11824__$1 = ((((!((map__11824 == null)))?((((map__11824.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__11824.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__11824):map__11824); +var keywordize_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__11824__$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__11824,map__11824__$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.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__7300__auto__ = ((function (map__11824,map__11824__$1,keywordize_keys,keyfn){ +return (function cljs$core$thisfn_$_iter__11838(s__11839){ +return (new cljs.core.LazySeq(null,((function (map__11824,map__11824__$1,keywordize_keys,keyfn){ +return (function (){ +var s__11839__$1 = s__11839; +while(true){ +var temp__4657__auto__ = cljs.core.seq(s__11839__$1); +if(temp__4657__auto__){ +var s__11839__$2 = temp__4657__auto__; +if(cljs.core.chunked_seq_QMARK_(s__11839__$2)){ +var c__7298__auto__ = cljs.core.chunk_first(s__11839__$2); +var size__7299__auto__ = cljs.core.count(c__7298__auto__); +var b__11841 = cljs.core.chunk_buffer(size__7299__auto__); +if((function (){var i__11840 = (0); +while(true){ +if((i__11840 < size__7299__auto__)){ +var k = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c__7298__auto__,i__11840); +cljs.core.chunk_append(b__11841,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__11848 = (i__11840 + (1)); +i__11840 = G__11848; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__11841),cljs$core$thisfn_$_iter__11838(cljs.core.chunk_rest(s__11839__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__11841),null); +} +} else { +var k = cljs.core.first(s__11839__$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__11838(cljs.core.rest(s__11839__$2))); +} +} else { +return null; +} +break; +} +});})(map__11824,map__11824__$1,keywordize_keys,keyfn)) +,null,null)); +});})(map__11824,map__11824__$1,keywordize_keys,keyfn)) +; +return iter__7300__auto__(cljs.core.js_keys(x__$1)); +})()); +} else { +return x__$1; + +} +} +} +} +} +});})(map__11824,map__11824__$1,keywordize_keys,keyfn)) +; +return f(x); +}); + +cljs.core.js__GT_clj.cljs$lang$applyTo = (function (seq11820){ +var G__11821 = cljs.core.first(seq11820); +var seq11820__$1 = cljs.core.next(seq11820); +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic(G__11821,seq11820__$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 = (function (){var G__11850 = cljs.core.PersistentArrayMap.EMPTY; +return (cljs.core.atom.cljs$core$IFn$_invoke$arity$1 ? cljs.core.atom.cljs$core$IFn$_invoke$arity$1(G__11850) : cljs.core.atom.call(null,G__11850)); +})(); +return ((function (mem){ +return (function() { +var G__11851__delegate = function (args){ +var v = cljs.core.get.cljs$core$IFn$_invoke$arity$3((cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(mem) : cljs.core.deref.call(null,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__11851 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__11852__i = 0, G__11852__a = new Array(arguments.length - 0); +while (G__11852__i < G__11852__a.length) {G__11852__a[G__11852__i] = arguments[G__11852__i + 0]; ++G__11852__i;} + args = new cljs.core.IndexedSeq(G__11852__a,0); +} +return G__11851__delegate.call(this,args);}; +G__11851.cljs$lang$maxFixedArity = 0; +G__11851.cljs$lang$applyTo = (function (arglist__11853){ +var args = cljs.core.seq(arglist__11853); +return G__11851__delegate(args); +}); +G__11851.cljs$core$IFn$_invoke$arity$variadic = G__11851__delegate; +return G__11851; +})() +; +;})(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 args11854 = []; +var len__7625__auto___11859 = arguments.length; +var i__7626__auto___11860 = (0); +while(true){ +if((i__7626__auto___11860 < len__7625__auto___11859)){ +args11854.push((arguments[i__7626__auto___11860])); + +var G__11861 = (i__7626__auto___11860 + (1)); +i__7626__auto___11860 = G__11861; +continue; +} else { +} +break; +} + +var G__11858 = args11854.length; +switch (G__11858) { +case 1: +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var argseq__7644__auto__ = (new cljs.core.IndexedSeq(args11854.slice((1)),(0),null)); +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7644__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__11863 = ret; +f = G__11863; +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); +})); +}); + +cljs.core.trampoline.cljs$lang$applyTo = (function (seq11855){ +var G__11856 = cljs.core.first(seq11855); +var seq11855__$1 = cljs.core.next(seq11855); +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic(G__11856,seq11855__$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 args11864 = []; +var len__7625__auto___11867 = arguments.length; +var i__7626__auto___11868 = (0); +while(true){ +if((i__7626__auto___11868 < len__7625__auto___11867)){ +args11864.push((arguments[i__7626__auto___11868])); + +var G__11869 = (i__7626__auto___11868 + (1)); +i__7626__auto___11868 = G__11869; +continue; +} else { +} +break; +} + +var G__11866 = args11864.length; +switch (G__11866) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11864.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__11872 = (Math.random() * n); +return Math.floor(G__11872); +}); +/** + * 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 = (function (){var G__11874 = cljs.core.make_hierarchy(); +return (cljs.core.atom.cljs$core$IFn$_invoke$arity$1 ? cljs.core.atom.cljs$core$IFn$_invoke$arity$1(G__11874) : cljs.core.atom.call(null,G__11874)); +})(); +} else { +} + +return cljs.core._global_hierarchy; +}); +cljs.core.swap_global_hierarchy_BANG_ = (function cljs$core$swap_global_hierarchy_BANG_(var_args){ +var args__7632__auto__ = []; +var len__7625__auto___11877 = arguments.length; +var i__7626__auto___11878 = (0); +while(true){ +if((i__7626__auto___11878 < len__7625__auto___11877)){ +args__7632__auto__.push((arguments[i__7626__auto___11878])); + +var G__11879 = (i__7626__auto___11878 + (1)); +i__7626__auto___11878 = G__11879; +continue; +} else { +} +break; +} + +var argseq__7633__auto__ = ((((1) < args__7632__auto__.length))?(new cljs.core.IndexedSeq(args__7632__auto__.slice((1)),(0),null)):null); +return cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7633__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); + +cljs.core.swap_global_hierarchy_BANG_.cljs$lang$applyTo = (function (seq11875){ +var G__11876 = cljs.core.first(seq11875); +var seq11875__$1 = cljs.core.next(seq11875); +return cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic(G__11876,seq11875__$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 args11880 = []; +var len__7625__auto___11884 = arguments.length; +var i__7626__auto___11885 = (0); +while(true){ +if((i__7626__auto___11885 < len__7625__auto___11884)){ +args11880.push((arguments[i__7626__auto___11885])); + +var G__11886 = (i__7626__auto___11885 + (1)); +i__7626__auto___11885 = G__11886; +continue; +} else { +} +break; +} + +var G__11882 = args11880.length; +switch (G__11882) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11880.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((function (){var G__11883 = cljs.core.get_global_hierarchy(); +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(G__11883) : cljs.core.deref.call(null,G__11883)); +})(),child,parent); +}); + +cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3 = (function (h,child,parent){ +var or__6512__auto__ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(child,parent); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +var or__6512__auto____$1 = cljs.core.contains_QMARK_(new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h).call(null,child),parent); +if(or__6512__auto____$1){ +return or__6512__auto____$1; +} else { +var and__6500__auto__ = cljs.core.vector_QMARK_(parent); +if(and__6500__auto__){ +var and__6500__auto____$1 = cljs.core.vector_QMARK_(child); +if(and__6500__auto____$1){ +var and__6500__auto____$2 = (cljs.core.count(parent) === cljs.core.count(child)); +if(and__6500__auto____$2){ +var ret = true; +var i = (0); +while(true){ +if((!(ret)) || ((i === cljs.core.count(parent)))){ +return ret; +} else { +var G__11888 = 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__11889 = (i + (1)); +ret = G__11888; +i = G__11889; +continue; +} +break; +} +} else { +return and__6500__auto____$2; +} +} else { +return and__6500__auto____$1; +} +} else { +return and__6500__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 args11890 = []; +var len__7625__auto___11894 = arguments.length; +var i__7626__auto___11895 = (0); +while(true){ +if((i__7626__auto___11895 < len__7625__auto___11894)){ +args11890.push((arguments[i__7626__auto___11895])); + +var G__11896 = (i__7626__auto___11895 + (1)); +i__7626__auto___11895 = G__11896; +continue; +} else { +} +break; +} + +var G__11892 = args11890.length; +switch (G__11892) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11890.length)].join(''))); + +} +}); + +cljs.core.parents.cljs$core$IFn$_invoke$arity$1 = (function (tag){ +return cljs.core.parents.cljs$core$IFn$_invoke$arity$2((function (){var G__11893 = cljs.core.get_global_hierarchy(); +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(G__11893) : cljs.core.deref.call(null,G__11893)); +})(),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 args11898 = []; +var len__7625__auto___11902 = arguments.length; +var i__7626__auto___11903 = (0); +while(true){ +if((i__7626__auto___11903 < len__7625__auto___11902)){ +args11898.push((arguments[i__7626__auto___11903])); + +var G__11904 = (i__7626__auto___11903 + (1)); +i__7626__auto___11903 = G__11904; +continue; +} else { +} +break; +} + +var G__11900 = args11898.length; +switch (G__11900) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11898.length)].join(''))); + +} +}); + +cljs.core.ancestors.cljs$core$IFn$_invoke$arity$1 = (function (tag){ +return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2((function (){var G__11901 = cljs.core.get_global_hierarchy(); +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(G__11901) : cljs.core.deref.call(null,G__11901)); +})(),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 args11906 = []; +var len__7625__auto___11910 = arguments.length; +var i__7626__auto___11911 = (0); +while(true){ +if((i__7626__auto___11911 < len__7625__auto___11910)){ +args11906.push((arguments[i__7626__auto___11911])); + +var G__11912 = (i__7626__auto___11911 + (1)); +i__7626__auto___11911 = G__11912; +continue; +} else { +} +break; +} + +var G__11908 = args11906.length; +switch (G__11908) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11906.length)].join(''))); + +} +}); + +cljs.core.descendants.cljs$core$IFn$_invoke$arity$1 = (function (tag){ +return cljs.core.descendants.cljs$core$IFn$_invoke$arity$2((function (){var G__11909 = cljs.core.get_global_hierarchy(); +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(G__11909) : cljs.core.deref.call(null,G__11909)); +})(),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 args11914 = []; +var len__7625__auto___11917 = arguments.length; +var i__7626__auto___11918 = (0); +while(true){ +if((i__7626__auto___11918 < len__7625__auto___11917)){ +args11914.push((arguments[i__7626__auto___11918])); + +var G__11919 = (i__7626__auto___11918 + (1)); +i__7626__auto___11918 = G__11919; +continue; +} else { +} +break; +} + +var G__11916 = args11914.length; +switch (G__11916) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11914.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.array_seq([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__6512__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),cljs.core.str.cljs$core$IFn$_invoke$arity$1("already has"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(parent),cljs.core.str.cljs$core$IFn$_invoke$arity$1("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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Cyclic derivation:"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(parent),cljs.core.str.cljs$core$IFn$_invoke$arity$1("has"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),cljs.core.str.cljs$core$IFn$_invoke$arity$1("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__6512__auto__)){ +return or__6512__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 args11924 = []; +var len__7625__auto___11927 = arguments.length; +var i__7626__auto___11928 = (0); +while(true){ +if((i__7626__auto___11928 < len__7625__auto___11927)){ +args11924.push((arguments[i__7626__auto___11928])); + +var G__11929 = (i__7626__auto___11928 + (1)); +i__7626__auto___11928 = G__11929; +continue; +} else { +} +break; +} + +var G__11926 = args11924.length; +switch (G__11926) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11924.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.array_seq([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__11921_SHARP_){ +return cljs.core.cons(cljs.core.first(p1__11921_SHARP_),cljs.core.interpose.cljs$core$IFn$_invoke$arity$2(cljs.core.first(p1__11921_SHARP_),cljs.core.second(p1__11921_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__11922_SHARP_,p2__11923_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.derive,p1__11922_SHARP_,p2__11923_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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(method_table) : cljs.core.deref.call(null,method_table)); +})); + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(cached_hierarchy,(function (_){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(hierarchy) : cljs.core.deref.call(null,hierarchy)); +})); +}); +cljs.core.prefers_STAR_ = (function cljs$core$prefers_STAR_(x,y,prefer_table){ +var xprefs = (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(prefer_table) : cljs.core.deref.call(null,prefer_table)).call(null,x); +var or__6512__auto__ = (cljs.core.truth_((function (){var and__6500__auto__ = xprefs; +if(cljs.core.truth_(and__6500__auto__)){ +return (xprefs.cljs$core$IFn$_invoke$arity$1 ? xprefs.cljs$core$IFn$_invoke$arity$1(y) : xprefs.call(null,y)); +} else { +return and__6500__auto__; +} +})())?true:null); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__auto__; +} else { +var or__6512__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__11946 = x; +var G__11947 = cljs.core.first(ps); +var G__11948 = prefer_table; +return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__11946,G__11947,G__11948) : cljs.core.prefers_STAR_.call(null,G__11946,G__11947,G__11948)); +})())){ +} else { +} + +var G__11955 = cljs.core.rest(ps); +ps = G__11955; +continue; +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(or__6512__auto____$1)){ +return or__6512__auto____$1; +} else { +var or__6512__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__11952 = cljs.core.first(ps); +var G__11953 = y; +var G__11954 = prefer_table; +return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__11952,G__11953,G__11954) : cljs.core.prefers_STAR_.call(null,G__11952,G__11953,G__11954)); +})())){ +} else { +} + +var G__11956 = cljs.core.rest(ps); +ps = G__11956; +continue; +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(or__6512__auto____$2)){ +return or__6512__auto____$2; +} else { +return false; +} +} +} +}); +cljs.core.dominates = (function cljs$core$dominates(x,y,prefer_table,hierarchy){ +var or__6512__auto__ = cljs.core.prefers_STAR_(x,y,prefer_table); +if(cljs.core.truth_(or__6512__auto__)){ +return or__6512__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){ +var best_entry = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (be,p__11961){ +var vec__11962 = p__11961; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11962,(0),null); +var _ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11962,(1),null); +var e = vec__11962; +if(cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3((cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(hierarchy) : cljs.core.deref.call(null,hierarchy)),dispatch_val,k)){ +var be2 = (cljs.core.truth_((function (){var or__6512__auto__ = (be == null); +if(or__6512__auto__){ +return or__6512__auto__; +} else { +return cljs.core.dominates(k,cljs.core.first(be),prefer_table,(cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(hierarchy) : cljs.core.deref.call(null,hierarchy))); +} +})())?e:be); +if(cljs.core.truth_(cljs.core.dominates(cljs.core.first(be2),k,prefer_table,(cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(hierarchy) : cljs.core.deref.call(null,hierarchy))))){ +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Multiple methods in multimethod '"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),cljs.core.str.cljs$core$IFn$_invoke$arity$1("' match dispatch value: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" -> "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(k),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" and "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(be2)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(", and neither is preferred")].join(''))); +} + +return be2; +} else { +return be; +} +}),null,(cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(method_table) : cljs.core.deref.call(null,method_table))); +if(cljs.core.truth_(best_entry)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(cached_hierarchy) : cljs.core.deref.call(null,cached_hierarchy)),(cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(hierarchy) : cljs.core.deref.call(null,hierarchy)))){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(method_cache,cljs.core.assoc,dispatch_val,cljs.core.second(best_entry)); + +return cljs.core.second(best_entry); +} 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$7 ? cljs.core.find_and_cache_best_method.cljs$core$IFn$_invoke$arity$7(name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy) : cljs.core.find_and_cache_best_method.call(null,name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy)); +} +} 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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._reset[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__auto__.call(null,mf)); +} else { +var m__7181__auto____$1 = (cljs.core._reset["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._add_method[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__7181__auto__.call(null,mf,dispatch_val,method)); +} else { +var m__7181__auto____$1 = (cljs.core._add_method["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._remove_method[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__7181__auto__.call(null,mf,dispatch_val)); +} else { +var m__7181__auto____$1 = (cljs.core._remove_method["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._prefer_method[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__7181__auto__.call(null,mf,dispatch_val,dispatch_val_y)); +} else { +var m__7181__auto____$1 = (cljs.core._prefer_method["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._get_method[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__7181__auto__.call(null,mf,dispatch_val)); +} else { +var m__7181__auto____$1 = (cljs.core._get_method["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._methods[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__auto__.call(null,mf)); +} else { +var m__7181__auto____$1 = (cljs.core._methods["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._prefers[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__auto__.call(null,mf)); +} else { +var m__7181__auto____$1 = (cljs.core._prefers["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._default_dispatch_val[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__auto__.call(null,mf)); +} else { +var m__7181__auto____$1 = (cljs.core._default_dispatch_val["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__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__7180__auto__ = (((mf == null))?null:mf); +var m__7181__auto__ = (cljs.core._dispatch_fn[goog.typeOf(x__7180__auto__)]); +if(!((m__7181__auto__ == null))){ +return (m__7181__auto__.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__auto__.call(null,mf)); +} else { +var m__7181__auto____$1 = (cljs.core._dispatch_fn["_"]); +if(!((m__7181__auto____$1 == null))){ +return (m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__7181__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__7181__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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("No method in multimethod '"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),cljs.core.str.cljs$core$IFn$_invoke$arity$1("' 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__11966 = null; +var G__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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__11966__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.array_seq([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.array_seq([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); +}); +G__11966 = 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__11966__1.call(this,self__); +case 2: +return G__11966__2.call(this,self__,a); +case 3: +return G__11966__3.call(this,self__,a,b); +case 4: +return G__11966__4.call(this,self__,a,b,c); +case 5: +return G__11966__5.call(this,self__,a,b,c,d); +case 6: +return G__11966__6.call(this,self__,a,b,c,d,e); +case 7: +return G__11966__7.call(this,self__,a,b,c,d,e,f); +case 8: +return G__11966__8.call(this,self__,a,b,c,d,e,f,g); +case 9: +return G__11966__9.call(this,self__,a,b,c,d,e,f,g,h); +case 10: +return G__11966__10.call(this,self__,a,b,c,d,e,f,g,h,i); +case 11: +return G__11966__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__11966__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__11966__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__11966__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__11966__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__11966__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__11966__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__11966__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__11966__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__11966__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__11966__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__11966__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)); +}; +G__11966.cljs$core$IFn$_invoke$arity$1 = G__11966__1; +G__11966.cljs$core$IFn$_invoke$arity$2 = G__11966__2; +G__11966.cljs$core$IFn$_invoke$arity$3 = G__11966__3; +G__11966.cljs$core$IFn$_invoke$arity$4 = G__11966__4; +G__11966.cljs$core$IFn$_invoke$arity$5 = G__11966__5; +G__11966.cljs$core$IFn$_invoke$arity$6 = G__11966__6; +G__11966.cljs$core$IFn$_invoke$arity$7 = G__11966__7; +G__11966.cljs$core$IFn$_invoke$arity$8 = G__11966__8; +G__11966.cljs$core$IFn$_invoke$arity$9 = G__11966__9; +G__11966.cljs$core$IFn$_invoke$arity$10 = G__11966__10; +G__11966.cljs$core$IFn$_invoke$arity$11 = G__11966__11; +G__11966.cljs$core$IFn$_invoke$arity$12 = G__11966__12; +G__11966.cljs$core$IFn$_invoke$arity$13 = G__11966__13; +G__11966.cljs$core$IFn$_invoke$arity$14 = G__11966__14; +G__11966.cljs$core$IFn$_invoke$arity$15 = G__11966__15; +G__11966.cljs$core$IFn$_invoke$arity$16 = G__11966__16; +G__11966.cljs$core$IFn$_invoke$arity$17 = G__11966__17; +G__11966.cljs$core$IFn$_invoke$arity$18 = G__11966__18; +G__11966.cljs$core$IFn$_invoke$arity$19 = G__11966__19; +G__11966.cljs$core$IFn$_invoke$arity$20 = G__11966__20; +G__11966.cljs$core$IFn$_invoke$arity$21 = G__11966__21; +G__11966.cljs$core$IFn$_invoke$arity$22 = G__11966__22; +return G__11966; +})() +; + +cljs.core.MultiFn.prototype.apply = (function (self__,args11965){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11965))); +}); + +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.array_seq([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.array_seq([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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Preference conflict in multimethod '"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name),cljs.core.str.cljs$core$IFn$_invoke$arity$1("': "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val_y),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" 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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(self__.method_table) : cljs.core.deref.call(null,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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(self__.prefer_table) : cljs.core.deref.call(null,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.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(self__.cached_hierarchy) : cljs.core.deref.call(null,self__.cached_hierarchy)),(cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(self__.hierarchy) : cljs.core.deref.call(null,self__.hierarchy)))){ +} else { +cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); +} + +var temp__4655__auto__ = (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(self__.method_cache) : cljs.core.deref.call(null,self__.method_cache)).call(null,dispatch_val); +if(cljs.core.truth_(temp__4655__auto__)){ +var target_fn = temp__4655__auto__; +return target_fn; +} else { +var temp__4655__auto____$1 = 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); +if(cljs.core.truth_(temp__4655__auto____$1)){ +var target_fn = temp__4655__auto____$1; +return target_fn; +} else { +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(self__.method_table) : cljs.core.deref.call(null,self__.method_table)).call(null,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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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,[cljs.core.str.cljs$core$IFn$_invoke$arity$1("#uuid \""),cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.uuid),cljs.core.str.cljs$core$IFn$_invoke$arity$1("\"")].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__11967 = self__.uuid; +var G__11968 = other.uuid; +return goog.array.defaultCompare(G__11967,G__11968); +}); + +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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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){ +return (new cljs.core.UUID(s,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("-"),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("-"),cljs.core.str.cljs$core$IFn$_invoke$arity$1("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("-"),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("-"),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 args11971 = []; +var len__7625__auto___11974 = arguments.length; +var i__7626__auto___11975 = (0); +while(true){ +if((i__7626__auto___11975 < len__7625__auto___11974)){ +args11971.push((arguments[i__7626__auto___11975])); + +var G__11976 = (i__7626__auto___11975 + (1)); +i__7626__auto___11975 = G__11976; +continue; +} else { +} +break; +} + +var G__11973 = args11971.length; +switch (G__11973) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args11971.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, 23, [new cljs.core.Symbol(null,"&","&",-2144855648,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__11978 = (((v instanceof cljs.core.Keyword))?v.fqn:null); +switch (G__11978) { +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("#"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.tag),cljs.core.str.cljs$core$IFn$_invoke$arity$1(" ")].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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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 = ["abstract","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"]; +/** + * @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__11980_SHARP_,p2__11981_SHARP_){ +goog.object.set(p1__11980_SHARP_,p2__11981_SHARP_,true); + +return p1__11980_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__11984 = cljs.core.next(ks__$1); +var G__11985 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var G__11983 = ret; +if(!((ret === ""))){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__11983),cljs.core.str.cljs$core$IFn$_invoke$arity$1("|")].join(''); +} else { +return G__11983; +} +})()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(ks__$1))].join(''); +ks__$1 = G__11984; +ret = G__11985; +continue; +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(ret),cljs.core.str.cljs$core$IFn$_invoke$arity$1("|\\$")].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_11986 = (0); +while(true){ +if((i_11986 < name.length)){ +var c_11987 = name.charAt(i_11986); +var sub_11988 = goog.object.get(cljs.core.CHAR_MAP,c_11987); +if(!((sub_11988 == null))){ +sb.append(sub_11988); +} else { +sb.append(c_11987); +} + +var G__11989 = (i_11986 + (1)); +i_11986 = G__11989; +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_),cljs.core.str.cljs$core$IFn$_invoke$arity$1("$")].join(''):name_SINGLEQUOTE_ +)); +if((name instanceof cljs.core.Symbol)){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(name_SINGLEQUOTE___$1); +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_SINGLEQUOTE___$1)].join(''); +} +}); +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__11993 = match; +var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11993,(0),null); +var G__11996 = [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__11997 = r.lastIndex; +ret = G__11996; +last_match_end = G__11997; +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){ +return (((name instanceof cljs.core.Symbol))?cljs.core.symbol:cljs.core.str).call(null,(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([cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join('')); +} +})()); +}); +/** + * 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__7123__auto__,writer__7124__auto__,opt__7125__auto__){ +return cljs.core._write(writer__7124__auto__,"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__12002 = (function (){var G__12000 = ctxt; +var G__12001 = cljs.core.first(xs); +return goog.object.get(G__12000,G__12001); +})(); +var G__12003 = cljs.core.next(xs); +ctxt = G__12002; +xs = G__12003; +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__12007 = cljs.core._STAR_target_STAR_; +switch (G__12007) { +case "nodejs": +if(cljs.core.truth_(COMPILED)){ +return cljs.core.find_ns_obj_STAR_((function (){try{var G__12009 = cljs.core.first(segs); +return eval(G__12009); +}catch (e12008){if((e12008 instanceof ReferenceError)){ +var e = e12008; +return null; +} else { +throw e12008; + +} +}})(),cljs.core.next(segs)); +} else { +return cljs.core.find_ns_obj_STAR_(global,segs); +} + +break; +case "default": +return cljs.core.find_ns_obj_STAR_(goog.global,segs); + +break; +default: +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("find-ns-obj not supported for target "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core._STAR_target_STAR_)].join(''))); + +} +}); +/** + * 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)); +}); +/** + * Bootstrap only. + */ +cljs.core.create_ns = (function cljs$core$create_ns(var_args){ +var args12011 = []; +var len__7625__auto___12014 = arguments.length; +var i__7626__auto___12015 = (0); +while(true){ +if((i__7626__auto___12015 < len__7625__auto___12014)){ +args12011.push((arguments[i__7626__auto___12015])); + +var G__12016 = (i__7626__auto___12015 + (1)); +i__7626__auto___12015 = G__12016; +continue; +} else { +} +break; +} + +var G__12013 = args12011.length; +switch (G__12013) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args12011.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; + +/** + * Bootstrap only. + */ +cljs.core.find_ns = (function cljs$core$find_ns(ns){ +if((cljs.core.NS_CACHE == null)){ +cljs.core.NS_CACHE = (function (){var G__12019 = cljs.core.PersistentArrayMap.EMPTY; +return (cljs.core.atom.cljs$core$IFn$_invoke$arity$1 ? cljs.core.atom.cljs$core$IFn$_invoke$arity$1(G__12019) : cljs.core.atom.call(null,G__12019)); +})(); +} else { +} + +var the_ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2((cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(cljs.core.NS_CACHE) : cljs.core.deref.call(null,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; +} +} +}); +/** + * Bootstrap only. + */ +cljs.core.find_macros_ns = (function cljs$core$find_macros_ns(ns){ +if((cljs.core.NS_CACHE == null)){ +cljs.core.NS_CACHE = (function (){var G__12021 = cljs.core.PersistentArrayMap.EMPTY; +return (cljs.core.atom.cljs$core$IFn$_invoke$arity$1 ? cljs.core.atom.cljs$core$IFn$_invoke$arity$1(G__12021) : cljs.core.atom.call(null,G__12021)); +})(); +} else { +} + +var the_ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2((cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(cljs.core.NS_CACHE) : cljs.core.deref.call(null,cljs.core.NS_CACHE)),ns); +if(!((the_ns == null))){ +return the_ns; +} 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),cljs.core.str.cljs$core$IFn$_invoke$arity$1("$macros")].join('')):ns); +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; +} +} +}); +/** + * Bootstrap only. + */ +cljs.core.ns_name = (function cljs$core$ns_name(ns_obj){ +return ns_obj.name; +}); + +//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/assets/viz/2/cljs/core.js.map b/assets/viz/2/cljs/core.js.map new file mode 100644 index 0000000..89c76ee --- /dev/null +++ b/assets/viz/2/cljs/core.js.map @@ -0,0 +1 @@ +{"version":3,"file":"out\/cljs\/core.js","sources":["core.cljs"],"lineCount":35801,"mappings":";AAQA;;;;;;;AASA,8CAAA,9CAAKA;AAEL,qCAAA,rCAAKC;AACL,sCAAA,tCAAKC;AAEL,GAAA,OAASC;AAAT;AAAA,AAAA,8BAAA,9BAASA;;AAET,AAAA,AAAA;AAAA;AAAA,AAAAC,YAAA,+BAAA;AAQA;;;;2BAAA,3BAIEC;AAEF;;;4BAAA,5BAGEC;AAEF,+BAAA,\/BAEEC;AAEF,GAAA,OAIEC;AAJF;AAAA,AAAA;;;;;AAIEA,iCACA,yCAAKC;AAAL,AACE,MAAO,KAAAC,MAAA;;;AAEX,GAAA,OAIEC;AAJF;AAAA,AAAA;;;;;AAIEA,qCACA,6CAAKF;AAAL,AACE,MAAO,KAAAC,MAAA;;;AAEX;;;+BAAA,\/BAAME,sEAEHC;AAFH,AAEM,OAAML,iCAAWK;;AAEvB;;;mCAAA,nCAAMC,8EAEHD;AAFH,AAEM,OAAMF,qCAAeE;;AAE3B;;;;;yCAAA,zCAKEE;AAEF;;;;;sCAAA,tCAKEC;AAEF;;;;;;uCAAA,vCAMEC;AAEF;;;;;;mCAAA,nCAMEC;AAEF;;;;;;kCAAA,lCAMEC;AAEF;;;;;;6CAAA,7CAMEC;AAEF;;;;;;;;;;qCAAA,rCAUEC;AAEF;;;;;;;;;;;oCAAA,pCAWEC;AAEF,GAAA,OAGEC;AAHF;AAAA,AAAA;;;oCAAA,pCAGEA;;AAEF,oBAAA,pBAAOC;AAAP,AAAA,kDAAA,oHAAA,kGAAA,sFAAA,kFAAA,jTACqBT,oGACRE,0FACJC,mFACDC,qGACSE;;AAEjB,AAAA,AAEA;;;uCAAA,vCAAMI;AAAN,AAGE,sCAAA,tCAAMT;;AACN,AAAMR,iCACJ;kCA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AAA;;;AADlB;;AAEA,IAAM21C,SAAO,4CAAA,CAAAnpE,gDAAAA,oEAAAA,jKAACyL,2IAAKo8D,gDAAAA,qBAAS1uE;AAA5B,AACE,GAAA,EAAQ,WAAA,VAAMgwE;AACZA;;AACA,IAAMG,SAAO,6CAAKnwE;IACbA,SAAG,EAAI,EAAK,4BAAA,5BAAUowE,qBAAiBD,oBAClC,AAAC5S,+CAAO,iGAAA,pDAAK4S,0EACbnwE;IACLouE,SAAO,AAACW,sBAAY\/uE;AAJzB,AAKC,GAAU,WAAA,VAAMouE;AAAhB;;AAAA,AACE,IAAMtS,SAAO,AAAC+T,kDAAU7vE,OAAGouE;AAA3B,AACE,AAAC1L,mDAAMgM,mBAAS5hE,gBAAM9M,OAAG87D;;AACzBA;;;;AAEX;;;oBAAA,pBAAMuU,gDAEHjC;AAFH,AAGE,OAAQA","names":["cljs.core\/*clojurescript-version*","cljs.core\/*unchecked-if*","cljs.core\/*warn-on-infer*","cljs.core\/PROTOCOL_SENTINEL","goog\/define","cljs.core\/*ns*","cljs.core\/*out*","cljs.core\/*assert*","cljs.core\/*print-fn*","_","js\/Error","cljs.core\/*print-err-fn*","cljs.core\/set-print-fn!","f","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\/*loaded-libs*","cljs.core\/pr-opts","cljs.core\/enable-console-print!","args","js\/console","cljs.core\/into-array","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\/type","cljs.core\/missing-protocol","proto","obj","ty","and__6500__auto__","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","args8827","len__7625__auto__","i__7626__auto__","G__8832","cljs.core\/make-array","argseq__7644__auto__","cljs.core\/IndexedSeq","seq8828","G__8829","cljs.core\/first","cljs.core\/next","G__8830","size","type","more-sizes","dims","dimarray","n__7435__auto__","i","cljs.core\/apply","cljs.core\/aclone","arr","len","new-arr","cljs.core\/array","var-args","a","args8844","G__8849","cljs.core\/aget","seq8845","G__8846","G__8847","array","idxs","G__8850","G__8851","G__8852","args8857","G__8863","cljs.core\/aset","seq8858","G__8859","G__8860","G__8861","val","idx","idx2","idxv","G__8864","G__8865","G__8866","G__8867","cljs.core\/alength","args8872","G__8874","aseq","cljs.core.into_array.cljs$core$IFn$_invoke$arity$2","G__8875","G__8876","G__8877","cljs.core\/reduce","args__7632__auto__","argseq__7633__auto__","cljs.core\/js-invoke","seq8882","G__8883","G__8884","cljs.core.into_array.cljs$core$IFn$_invoke$arity$1","cljs.core\/Fn","args8888","G__8890","cljs.core\/-invoke","x__7180__auto__","m__7181__auto__","cljs\/core.-invoke","cljs.core\/IFn","this","b","c","d","e","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","args8895","G__8897","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","args8902","G__8904","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.-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","args8909","G__8911","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","args8916","G__8918","cljs.core\/-swap!","cljs\/core.-swap!","cljs.core\/ISwap","xs","cljs\/core.-vreset!","cljs.core\/IVolatile","cljs.core\/-vreset!","cljs\/core.-iterator","cljs.core\/IIterable","cljs.core\/-iterator","this__7123__auto__","writer__7124__auto__","opt__7125__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","cljs.core\/hash-string","cljs.core\/hash","js\/isFinite","Math\/floor","G__8936","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__8944","G__8945","goog.array\/defaultCompare","G__8946","G__8947","G__8948","G__8949","self__","args8950","cljs.core\/->Symbol","ns","name","str","_hash","_meta","cljs.core\/get","new-meta","h__6952__auto__","args8952","G__8954","cljs.core\/symbol","cljs.core.symbol.cljs$core$IFn$_invoke$arity$2","sym-str","args8959","cljs.core\/Var","cljs.core\/->Var","G__8960","G__8961","cljs.core\/=","G__8962","G__8963","G__8964","G__8965","G__8966","G__8967","G__8968","G__8969","G__8970","G__8971","G__8972","G__8973","G__8974","G__8975","G__8976","G__8977","G__8978","G__8979","G__8980","G__8981","G__8982","G__8983","G__8984","G__8985","G__8986","G__8987","G__8988","G__8989","G__8990","G__8991","G__8992","G__8993","G__8994","G__8995","G__8996","G__8997","G__8998","G__8999","G__9000","G__9001","G__9002","G__9003","G__9004","G__9005","cljs.core\/var?","cljs\/core.Var","cljs.core\/iterable?","cljs.core\/clone","cljs.core\/cloneable?","cljs.core\/seq","cljs.core\/rest","args9019","G__9024","seq9020","G__9021","G__9022","more","cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2","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__9038","G__9039","cljs\/core.inst-ms*","cljs.core\/Inst","cljs.core\/inst-ms*","inst","cljs.core\/inst-ms","cljs.core\/inst?","goog\/getUid","cljs.core\/inc","cljs.core\/Reduced","cljs.core\/->Reduced","cljs.core\/reduced","cljs.core\/reduced?","cljs.core\/ensure-reduced","cljs.core\/unreduced","cljs.core\/deref","args9042","G__9044","cljs.core\/ci-reduce","cicoll","cnt","cljs.core._nth.cljs$core$IFn$_invoke$arity$2","nval","G__9045","G__9046","G__9047","G__9048","G__9049","G__9050","args9061","G__9063","cljs.core\/array-reduce","G__9064","G__9065","G__9066","G__9067","G__9068","G__9069","cljs.core\/counted?","cljs.core\/indexed?","args9084","G__9086","cljs.core\/-indexOf","cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3","cljs.core\/count","x__6848__auto__","y__6849__auto__","cljs.core\/nth","args9092","G__9094","cljs.core\/-lastIndexOf","cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3","x__6855__auto__","y__6856__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","this__7526__auto__","args9102","G__9104","cljs.core\/prim-seq","prim","cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2","args9109","G__9111","cljs.core\/array-seq","cljs.core\/->RSeq","ci","G__9116","G__9117","cljs.core\/with-meta","col","cljs.core\/seq-reduce","cljs.core\/second","cljs.core\/ffirst","cljs.core\/nfirst","cljs.core\/fnext","cljs.core\/nnext","cljs.core\/last","sn","args9121","G__9126","cljs.core\/conj","seq9122","G__9123","G__9124","x__7354__auto__","cljs.core.conj.cljs$core$IFn$_invoke$arity$2","cljs.core\/empty","cljs.core\/accumulating-seq-count","acc","args9140","G__9142","cljs.core\/linear-traversal-nth","cljs.core._nth.cljs$core$IFn$_invoke$arity$3","args9152","G__9154","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","args9165","G__9167","cljs.core._lookup.cljs$core$IFn$_invoke$arity$2","cljs.core._lookup.cljs$core$IFn$_invoke$arity$3","args9174","G__9180","cljs.core\/assoc","seq9175","G__9176","G__9177","G__9178","cljs.core\/PersistentHashMap","kvs","cljs.core.assoc.cljs$core$IFn$_invoke$arity$3","args9189","G__9194","cljs.core\/dissoc","seq9190","G__9191","G__9192","ks","cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2","cljs.core\/fn?","or__6512__auto__","goog\/isFunction","args9206","cljs.core\/MetaFn","cljs.core\/->MetaFn","afn","cljs.core\/meta","cljs.core\/peek","cljs.core\/pop","args9212","G__9217","cljs.core\/disj","seq9213","G__9214","G__9215","cljs.core.disj.cljs$core$IFn$_invoke$arity$2","cljs.core\/empty?","cljs.core\/coll?","cljs.core\/set?","cljs.core\/associative?","cljs.core\/sequential?","cljs.core\/sorted?","cljs.core\/reduceable?","cljs.core\/map?","cljs.core\/record?","cljs.core\/vector?","cljs.core\/chunked-seq?","args9245","G__9248","cljs.core\/js-obj","seq9246","keyvals","goog.object\/create","cljs.core\/js-keys","keys","G__9257","G__9258","goog.object\/forEach","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.get.cljs$core$IFn$_invoke$arity$3","cljs.core\/find","cljs.core.get.cljs$core$IFn$_invoke$arity$2","args9279","G__9284","cljs.core\/distinct?","seq9280","G__9281","G__9282","etc","cljs.core\/compare","args9293","G__9295","cljs.core\/compare-indexed","ys","xl","yl","cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4","cljs.core.nth.cljs$core$IFn$_invoke$arity$2","cljs.core\/fn->comparator","args9304","G__9306","cljs.core\/sort","cljs.core.sort.cljs$core$IFn$_invoke$arity$2","comp","cljs.core\/to-array","G__9307","G__9308","goog.array\/stableSort","cljs.core\/chunk-first","s__11839","args9315","G__9317","cljs.core\/sort-by","keyfn","cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3","args9322","G__9324","G__9325","G__9326","G__9327","G__9328","G__9329","cljs.core\/shuffle","goog.array\/shuffle","cljs.core\/vec","args9336","G__9338","cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core._reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.seq_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.seq_reduce.cljs$core$IFn$_invoke$arity$3","cljs.core\/reduce-kv","cljs.core\/identity","args9345","G__9347","cljs.core\/completing","cljs.core.completing.cljs$core$IFn$_invoke$arity$2","cf","args9353","G__9355","cljs.core\/transduce","xform","cljs.core.transduce.cljs$core$IFn$_invoke$arity$4","cljs.core.reduce.cljs$core$IFn$_invoke$arity$3","args9360","G__9365","cljs.core\/+","seq9361","G__9362","G__9363","args9370","G__9375","cljs.core\/-","seq9371","G__9372","G__9373","args9380","G__9385","cljs.core\/*","seq9381","G__9382","G__9383","cljs.core\/\/","args9390","G__9395","seq9391","G__9392","G__9393","args9400","G__9405","cljs.core\/<","seq9401","G__9402","G__9403","args9413","G__9418","cljs.core\/<=","seq9414","G__9415","G__9416","args9426","G__9431","cljs.core\/>","seq9427","G__9428","G__9429","args9439","G__9444","cljs.core\/>=","seq9440","G__9441","G__9442","cljs.core\/dec","args9452","G__9457","cljs.core\/max","seq9453","G__9454","G__9455","args9462","G__9467","cljs.core\/min","seq9463","G__9464","G__9465","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","args9472","G__9477","cljs.core\/unchecked-add","seq9473","G__9474","G__9475","args9482","G__9487","cljs.core\/unchecked-add-int","seq9483","G__9484","G__9485","cljs.core\/unchecked-dec","cljs.core\/unchecked-dec-int","args9492","G__9497","cljs.core\/unchecked-divide-int","seq9493","G__9494","G__9495","cljs.core\/unchecked-inc","cljs.core\/unchecked-inc-int","args9502","G__9507","cljs.core\/unchecked-multiply","seq9503","G__9504","G__9505","args9512","G__9517","cljs.core\/unchecked-multiply-int","seq9513","G__9514","G__9515","cljs.core\/unchecked-negate","cljs.core\/unchecked-negate-int","cljs.core\/unchecked-remainder-int","cljs.core\/mod","args9522","G__9527","cljs.core\/unchecked-subtract","seq9523","G__9524","G__9525","args9532","G__9537","cljs.core\/unchecked-subtract-int","seq9533","G__9534","G__9535","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","args9542","G__9547","cljs.core\/bit-xor","seq9543","G__9544","G__9545","args9552","G__9557","cljs.core\/bit-and","seq9553","G__9554","G__9555","args9562","G__9567","cljs.core\/bit-or","seq9563","G__9564","G__9565","args9572","G__9577","cljs.core\/bit-and-not","seq9573","G__9574","G__9575","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","args9582","G__9587","cljs.core\/==","seq9583","G__9584","G__9585","cljs.core\/pos?","cljs.core\/zero?","cljs.core\/neg?","cljs.core\/nthnext","args9597","G__9601","cljs.core\/str","seq9598","G__9599","args9608","G__9610","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__9633","chunk__9634","count__9635","i__9636","vec__9637","cljs.core.nth.cljs$core$IFn$_invoke$arity$3","temp__4657__auto__","c__7331__auto__","cljs.core\/chunk-rest","vec__9640","key-name","str-name","cljs.core\/name","cljs.core\/->List","first","__hash","cljs.core\/list?","cljs.core\/EmptyList","cljs.core\/->EmptyList","cljs.core\/reversible?","cljs.core\/rseq","rev","cljs.core\/reverse","cljs.core\/list","seq9678","cljs.core\/Cons","cljs.core\/->Cons","cljs.core\/hash-keyword","cljs.core\/compare-keywords","G__9697","G__9698","G__9699","G__9700","G__9701","G__9702","args9703","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?","args9707","G__9709","cljs.core\/keyword","parts","cljs.core\/LazySeq","cljs.core\/->LazySeq","fn","ls","cljs.core\/ChunkBuffer","cljs.core\/->ChunkBuffer","buf","cljs.core\/ArrayChunk","cljs.core\/chunk-buffer","capacity","cljs.core\/->ArrayChunk","off","args9717","G__9719","cljs.core\/array-chunk","cljs.core\/ChunkedCons","cljs.core\/->ChunkedCons","chunk","cljs.core\/chunk-cons","cljs.core\/chunk-append","cljs.core\/chunk","cljs.core\/chunk-next","ary","cljs.core\/to-array-2d","args9733","G__9735","cljs.core\/int-array","size-or-seq","cljs.core.int_array.cljs$core$IFn$_invoke$arity$2","init-val-or-seq","args9745","G__9747","cljs.core\/long-array","cljs.core.long_array.cljs$core$IFn$_invoke$arity$2","args9757","G__9759","cljs.core\/double-array","cljs.core.double_array.cljs$core$IFn$_invoke$arity$2","args9769","G__9771","cljs.core\/object-array","cljs.core.object_array.cljs$core$IFn$_invoke$arity$2","cljs.core\/bounded-count","cljs.core\/spread","arglist","G__9784","args9785","G__9790","cljs.core\/concat","seq9786","G__9787","G__9788","cljs.core.concat.cljs$core$IFn$_invoke$arity$2","zs","cat","xys","args9801","G__9808","cljs.core\/list*","seq9802","G__9803","G__9804","G__9805","G__9806","cljs.core\/transient","cljs.core\/persistent!","args9813","G__9818","cljs.core\/conj!","seq9814","G__9815","G__9816","vals","ntcoll","args9826","G__9832","cljs.core\/assoc!","seq9827","G__9828","G__9829","G__9830","args9841","G__9846","cljs.core\/dissoc!","seq9842","G__9843","G__9844","cljs.core\/pop!","args9854","G__9859","cljs.core\/disj!","seq9855","G__9856","G__9857","cljs.core\/apply-to","argc","a7479","b7480","c7481","d7482","e7483","f7484","g7485","h7486","i7487","j7488","k7489","l7490","m7491","n7492","o7493","p7494","q7495","r7496","s7497","t7498","args9867","G__9875","seq9868","G__9869","G__9870","G__9871","G__9872","G__9873","fixed-arity","bc","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","args9880","G__9889","cljs.core\/vary-meta","seq9881","G__9882","G__9883","G__9884","G__9885","G__9886","G__9887","G__9890","G__9891","G__9892","G__9893","G__9894","G__9895","G__9896","G__9897","G__9898","G__9899","G__9900","G__9901","G__9902","G__9903","G__9904","cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic","args9909","G__9914","cljs.core\/not=","seq9910","G__9911","G__9912","cljs.core.apply.cljs$core$IFn$_invoke$arity$4","cljs.core\/not-empty","cljs.core\/nil-iter","cljs.core\/t_cljs$core9922","_9924","meta9923","cljs.core\/->t_cljs$core9922","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\/lazy-transformer","stepper","cljs.core\/LazyTransformer","cljs.core\/Stepper","cljs.core\/->Stepper","lt","G__9925","G__9926","cljs.core\/stepper","result","input","stepfn","cljs.core\/MultiStepper","cljs.core\/->MultiStepper","iters","nexts","cljs.core.apply.cljs$core$IFn$_invoke$arity$2","args9931","G__9933","cljs.core\/multi-stepper","cljs.core.multi_stepper.cljs$core$IFn$_invoke$arity$3","cljs.core\/->LazyTransformer","colls","seq__9940","chunk__9941","count__9942","i__9943","args9965","G__9970","cljs.core\/sequence","seq9966","G__9967","G__9968","cljs.core\/every?","pred","G__9976","cljs.core\/not-every?","cljs.core\/some","G__9982","cljs.core\/not-any?","cljs.core\/even?","cljs.core\/odd?","cljs.core\/complement","cljs.core\/constantly","args9994","G__10000","cljs.core\/comp","seq9995","G__9996","G__9997","G__9998","G__10001","G__10002","G__10003","G__10004","G__10005","cljs.core.apply.cljs$core$IFn$_invoke$arity$5","G__10006","G__10007","G__10008","G__10009","G__10010","G__10011","G__10012","G__10013","G__10014","G__10015","f1","f2","f3","fs","args10037","G__10044","cljs.core\/partial","seq10038","G__10039","G__10040","G__10041","G__10042","arg1","arg2","arg3","args10070","G__10072","cljs.core\/fnil","G__10073","G__10074","G__10075","G__10076","G__10077","G__10078","ds","G__10079","G__10080","G__10081","G__10082","G__10083","G__10084","G__10085","G__10086","G__10087","G__10088","args10111","G__10113","cljs.core\/map-indexed","rf","cljs.core\/volatile!","G__10114","G__10115","G__10116","G__10117","G__10138","G__10139","mapi","G__10140","G__10141","args10150","G__10152","cljs.core\/keep","G__10153","cljs.core.keep.cljs$core$IFn$_invoke$arity$2","G__10154","cljs.core\/Atom","cljs.core\/->Atom","state","validator","watches","seq__10164","chunk__10165","count__10166","i__10167","vec__10168","vec__10171","args10186","G__10190","cljs.core\/atom","p__10191","map__10192","cljs.core\/hash-map","seq10187","G__10188","cljs.core\/reset!","validate","old-value","args10198","G__10205","cljs.core\/swap!","seq10199","G__10200","G__10201","G__10202","G__10203","G__10206","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2","G__10207","G__10208","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3","G__10209","G__10210","G__10211","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5","cljs.core\/compare-and-set!","cljs.core\/set-validator!","iref","cljs.core\/get-validator","cljs.core\/Volatile","cljs.core\/->Volatile","new-state","cljs.core\/volatile?","cljs.core\/vreset!","vol","args10216","G__10218","cljs.core\/keep-indexed","ia","G__10243","G__10244","keepi","G__10245","G__10246","args10262","G__10268","cljs.core\/every-pred","seq10263","G__10264","G__10265","G__10266","cljs$core$ep1.cljs$core$IFn$_invoke$arity$3","p1","p2","cljs$core$ep2.cljs$core$IFn$_invoke$arity$3","p1__10256#","p3","cljs$core$ep3.cljs$core$IFn$_invoke$arity$3","p1__10257#","ps","p1__10258#","p1__10259#","p1__10260#","cljs$core$epn.cljs$core$IFn$_invoke$arity$3","p1__10261#","args10299","G__10305","cljs.core\/some-fn","seq10300","G__10301","G__10302","G__10303","cljs$core$sp1.cljs$core$IFn$_invoke$arity$3","cljs$core$sp2.cljs$core$IFn$_invoke$arity$3","p1__10293#","cljs$core$sp3.cljs$core$IFn$_invoke$arity$3","p1__10294#","p1__10295#","p1__10296#","p1__10297#","cljs$core$spn.cljs$core$IFn$_invoke$arity$3","p1__10298#","args10331","G__10338","cljs.core\/map","seq10332","G__10333","G__10334","G__10335","G__10336","G__10339","G__10340","inputs","G__10341","G__10342","cljs.core.apply.cljs$core$IFn$_invoke$arity$3","G__10343","cljs.core.map.cljs$core$IFn$_invoke$arity$2","G__10344","c1","c2","s1","s2","G__10345","G__10346","cljs.core.map.cljs$core$IFn$_invoke$arity$3","c3","s3","G__10347","G__10348","G__10349","cljs.core.map.cljs$core$IFn$_invoke$arity$4","step","cs","ss","p1__10330#","cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic","args10364","G__10366","cljs.core\/take","na","nn","cljs.core.take.cljs$core$IFn$_invoke$arity$2","args10372","G__10374","cljs.core\/drop","args10382","G__10384","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","args10391","G__10393","cljs.core\/drop-while","da","drop?","G__10395","cljs.core\/cycle","cljs.core\/split-at","args10403","G__10405","cljs.core\/repeat","cljs.core.repeat.cljs$core$IFn$_invoke$arity$1","cljs.core\/replicate","args10410","G__10412","cljs.core\/repeatedly","cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1","cljs.core\/iterate","G__10419","G__10420","args10421","G__10426","cljs.core\/interleave","seq10422","G__10423","G__10424","cljs.core.interleave.cljs$core$IFn$_invoke$arity$2","args10431","G__10433","cljs.core\/interpose","sep","started","sepr","cljs.core\/flatten1","args10447","G__10451","cljs.core\/mapcat","seq10448","G__10449","cljs.core.comp.cljs$core$IFn$_invoke$arity$2","cljs.core.map.cljs$core$IFn$_invoke$arity$1","cljs.core\/cat","args10456","G__10458","cljs.core\/filter","G__10459","cljs.core.filter.cljs$core$IFn$_invoke$arity$2","args10468","G__10470","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__10475#","args10476","G__10478","cljs.core\/into","args10485","G__10492","cljs.core\/mapv","seq10486","G__10487","G__10488","G__10489","G__10490","cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2","cljs.core.into.cljs$core$IFn$_invoke$arity$2","cljs.core\/filterv","args10497","G__10499","cljs.core\/partition","cljs.core.partition.cljs$core$IFn$_invoke$arity$3","pad","cljs.core.partition.cljs$core$IFn$_invoke$arity$4","args10504","G__10506","cljs.core\/get-in","sentinel","p__10514","vec__10521","seq__10522","first__10523","cljs.core\/assoc-in","G__10524","G__10525","G__10526","args10527","G__10536","cljs.core\/update-in","p__10537","vec__10538","seq__10539","first__10540","p__10542","vec__10543","seq__10544","first__10545","p__10548","vec__10549","seq__10550","first__10551","p__10555","vec__10556","seq__10557","first__10558","p__10563","vec__10564","seq__10565","first__10566","seq10528","G__10529","G__10530","G__10531","G__10532","G__10533","G__10534","cljs.core.update_in.cljs$core$IFn$_invoke$arity$3","G__10541","cljs.core.update_in.cljs$core$IFn$_invoke$arity$4","G__10546","G__10547","cljs.core.update_in.cljs$core$IFn$_invoke$arity$5","G__10552","G__10553","G__10554","cljs.core.update_in.cljs$core$IFn$_invoke$arity$6","G__10559","G__10560","G__10561","G__10562","args10571","G__10580","cljs.core\/update","seq10572","G__10573","G__10574","G__10575","G__10576","G__10577","G__10578","G__10581","G__10582","G__10583","G__10584","G__10585","G__10586","G__10587","G__10588","G__10589","G__10590","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__10601","G__10602","G__10603","G__10604","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__10614","G__10615","G__10616","G__10617","G__10618","cljs.core\/pop-tail","new-child","G__10622","G__10623","G__10624","cljs.core\/RangedIterator","cljs.core\/->RangedIterator","base","cljs.core\/ranged-iterator","args10625","cljs.core\/PersistentVector","cljs.core\/->PersistentVector","shift","tail","new-tail","nr","new-root","cnt-1","root-overflow?","new-shift","n-r","me-iter","you-iter","G__10631","G__10632","G__10633","G__10634","cljs.core\/chunked-seq","cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2","G__10629","G__10630","G__10626","G__10627","G__10628","cljs.core\/TransientVector","cljs.core\/tv-editable-root","cljs.core\/tv-editable-tail","no-clone","out","cljs.core\/vector","seq10651","cljs.core\/ChunkedSeq","cljs.core\/->ChunkedSeq","vec","G__10665","G__10666","G__10667","G__10668","G__10655","G__10656","G__10657","G__10658","cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2","G__10669","G__10670","G__10671","G__10672","G__10673","G__10674","G__10675","G__10676","G__10659","G__10660","G__10661","cljs.core\/subvec","cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3","G__10662","G__10663","G__10664","args10679","G__10681","args10686","cljs.core\/Subvec","cljs.core\/->Subvec","cljs.core\/build-subvec","G__10695","G__10696","G__10697","G__10698","G__10699","G__10701","G__10702","G__10703","G__10704","G__10705","subvec-seq","v-pos","G__10690","G__10691","G__10692","G__10693","G__10694","G__10687","G__10688","G__10689","args10717","G__10719","cljs.core.subvec.cljs$core$IFn$_invoke$arity$3","cljs.core\/tv-ensure-editable","tl","cljs.core\/tv-push-tail","tv","tail-node","G__10732","G__10733","G__10734","G__10735","cljs.core\/tv-pop-tail","G__10739","G__10740","G__10741","cljs.core\/unchecked-editable-array-for","args10744","cljs.core\/->TransientVector","new-root-array","trimmed-tail","go","cljs.core\/PersistentQueueIter","cljs.core\/->PersistentQueueIter","fseq","riter","cljs.core\/PersistentQueueSeq","cljs.core\/->PersistentQueueSeq","front","rear","cljs.core\/PersistentQueue","cljs.core\/->PersistentQueue","cljs.core\/NeverEquiv","cljs.core\/->NeverEquiv","cljs.core\/never-equiv","cljs.core\/equiv-map","xkv","cljs.core\/scan-array","incr","cljs.core\/obj-map-compare-keys","cljs.core\/obj-map->hash-map","so","mm","cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3","cljs.core\/obj-clone","new-obj","args10763","cljs.core\/ObjMap","cljs.core\/->ObjMap","strobj","update-count","p1__10762#","new-strobj","new-keys","G__10764","G__10765","G__10766","cljs.core\/RecordIter","cljs.core\/->RecordIter","record","base-count","fields","ext-map-iter","cljs.core\/ES6EntriesIterator","cljs.core\/->ES6EntriesIterator","vec__10772","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","cljs.core\/PersistentArrayMapSeq","cljs.core\/->PersistentArrayMapSeq","cljs.core\/persistent-array-map-seq","cljs.core\/PersistentArrayMapIterator","cljs.core\/->PersistentArrayMapIterator","args10784","cljs.core\/PersistentArrayMap","cljs.core\/->PersistentArrayMap","cljs.core\/keys","cljs.core\/vals","seq__10785","chunk__10786","count__10787","i__10788","vec__10789","vec__10792","es","alen","G__10801","new-len","G__10795","G__10796","G__10797","cljs.core\/TransientArrayMap","no-check","G__10829","G__10836","cljs.core\/->TransientArrayMap","editable?","cljs.core\/array->transient-hash-map","G__10844","cljs.core\/Box","cljs.core\/->Box","cljs.core\/key-test","cljs.core\/mask","args10850","G__10852","cljs.core\/clone-and-set","G__10853","G__10854","cljs.core\/remove-pair","cljs.core\/bitmap-indexed-node-index","bitmap","bit","cljs.core\/bitpos","args10859","G__10861","cljs.core\/edit-and-set","inode","editable","cljs.core\/inode-kv-reduce","G__10869","G__10870","G__10871","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","G__10881","G__10882","G__10883","G__10884","G__10885","G__10886","cljs.core\/create-node","cljs.core\/create-inode-seq","earr","cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4","cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6","G__10874","G__10875","G__10876","G__10877","G__10878","G__10879","G__10880","removed-leaf?","cljs.core\/pack-array-node","array-node","cljs.core\/ArrayNodeIterator","cljs.core\/->ArrayNodeIterator","cljs.core\/->ArrayNode","cljs.core\/create-array-node-seq","cljs.core\/hash-collision-node-find-index","lim","cljs.core\/HashCollisionNode","cljs.core\/->HashCollisionNode","collision-hash","args10910","G__10912","key1","val1","key2hash","key2","val2","key1hash","cljs.core\/NodeSeq","cljs.core\/->NodeSeq","G__10917","G__10918","G__10919","G__10920","G__10921","G__10922","args10925","G__10927","cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3","node-seq","cljs.core\/ArrayNodeSeq","cljs.core\/->ArrayNodeSeq","G__10934","G__10935","G__10936","G__10937","args10940","G__10942","cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4","nj","cljs.core\/HashMapIter","cljs.core\/->HashMapIter","nil-val","root-iter","seen","args10949","cljs.core\/->PersistentHashMap","has-nil?","seq__10950","chunk__10951","count__10952","i__10953","vec__10954","vec__10957","cljs.core\/TransientHashMap","vs","cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2","cljs.core\/->TransientHashMap","cljs.core\/tree-map-seq-push","stack","cljs.core\/PersistentTreeMapSeq","cljs.core\/->PersistentTreeMapSeq","next-stack","cljs.core\/create-tree-map-seq","tree","cljs.core\/balance-left","ins","right","cljs.core\/RedNode","cljs.core\/BlackNode","cljs.core\/balance-right","left","cljs.core\/balance-left-del","del","cljs.core\/balance-right-del","cljs.core\/tree-map-kv-reduce","G__10999","G__11000","G__11001","G__11002","G__11003","G__11004","G__11005","G__11006","G__11007","args11008","cljs.core\/->BlackNode","args11012","cljs.core\/->RedNode","cljs.core\/tree-map-add","G__11028","G__11029","G__11030","G__11031","G__11032","G__11033","G__11034","G__11035","G__11036","G__11037","G__11038","G__11039","cljs.core\/tree-map-append","app","G__11048","G__11049","G__11050","G__11051","G__11052","G__11053","G__11054","G__11055","cljs.core\/tree-map-remove","G__11066","G__11067","G__11068","G__11069","G__11070","G__11071","G__11072","G__11073","G__11074","G__11075","cljs.core\/tree-map-replace","tk","G__11084","G__11085","G__11086","G__11087","G__11088","G__11089","G__11090","G__11091","args11092","cljs.core\/PersistentTreeMap","cljs.core\/->PersistentTreeMap","seq__11093","chunk__11094","count__11095","i__11096","vec__11097","vec__11100","G__11103","G__11104","found-node","G__11105","G__11106","seq11132","cljs.core\/array-map","seq11138","cljs.core\/obj-map","seq11142","cljs.core\/sorted-map","seq11149","cljs.core\/sorted-map-by","seq11155","G__11156","comparator","cljs.core\/KeySeq","cljs.core\/->KeySeq","mseq","me","nseq","hash-map","map-entry","cljs.core\/ValSeq","cljs.core\/->ValSeq","cljs.core\/merge","seq11172","maps","p1__11170#","p2__11171#","cljs.core.reduce.cljs$core$IFn$_invoke$arity$2","cljs.core\/merge-with","seq11176","G__11177","merge-entry","G__11178","G__11179","merge2","m1","m2","cljs.core\/select-keys","map","keyseq","cljs.core\/HashSetIter","cljs.core\/->HashSetIter","args11186","cljs.core\/PersistentHashSet","cljs.core\/->PersistentHashSet","seq__11187","chunk__11188","count__11189","i__11190","vec__11191","vec__11194","p1__11185#","cljs.core\/TransientHashSet","items","args11220","cljs.core\/->TransientHashSet","transient-map","cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2","args11223","cljs.core\/PersistentTreeSet","cljs.core\/->PersistentTreeSet","tree-map","seq__11224","chunk__11225","count__11226","i__11227","vec__11228","vec__11231","p1__11222#","cljs.core\/set-from-indexed-seq","iseq","a__7429__auto__","cljs.core\/set","args11251","G__11254","cljs.core\/hash-set","seq11252","cljs.core\/sorted-set","seq11259","cljs.core\/sorted-set-by","seq11263","G__11264","args11270","G__11272","cljs.core\/replace","smap","p1__11268#","p1__11269#","args11277","G__11279","cljs.core\/distinct","p__11286","vec__11287","cljs.core\/butlast","cljs.core\/zipmap","args11306","G__11312","cljs.core\/max-key","seq11307","G__11308","G__11309","G__11310","p1__11304#","p2__11305#","cljs.core.max_key.cljs$core$IFn$_invoke$arity$3","args11319","G__11325","cljs.core\/min-key","seq11320","G__11321","G__11322","G__11323","p1__11317#","p2__11318#","cljs.core.min_key.cljs$core$IFn$_invoke$arity$3","cljs.core\/ArrayList","cljs.core\/->ArrayList","cljs.core\/array-list","args11330","G__11332","cljs.core\/partition-all","cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3","args11338","G__11340","cljs.core\/take-while","G__11341","cljs.core.take_while.cljs$core$IFn$_invoke$arity$2","cljs.core\/mk-bound-fn","sc","test","G__11351","G__11352","G__11353","G__11354","args11355","G__11357","cljs.core\/subseq","include","vec__11358","start-test","start-key","end-test","end-key","vec__11361","args11368","G__11370","cljs.core\/rsubseq","vec__11371","vec__11374","cljs.core\/RangeIterator","cljs.core\/->RangeIterator","cljs.core\/Range","cljs.core\/->Range","rng","G__11381","args11386","G__11388","cljs.core\/range","cljs.core.range.cljs$core$IFn$_invoke$arity$3","js\/Number","args11393","G__11395","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","args11402","G__11404","cljs.core\/partition-by","pa","pval","fst","fv","run","p1__11401#","cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2","cljs.core\/frequencies","counts","args11410","G__11412","cljs.core\/reductions","cljs.core.reductions.cljs$core$IFn$_invoke$arity$3","G__11413","G__11414","args11429","G__11435","cljs.core\/juxt","seq11430","G__11431","G__11432","G__11433","p1__11419#","p2__11420#","p1__11421#","p2__11422#","p1__11423#","p2__11424#","p1__11425#","p2__11426#","p1__11427#","p2__11428#","args11464","G__11466","cljs.core\/dorun","args11474","G__11476","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-match","cljs.core.subs.cljs$core$IFn$_invoke$arity$2","cljs.core\/re-pattern","vec__11484","prefix","flags","pattern","cljs.core\/pr-sequential-writer","print-one","begin","*print-level*11494","G__11495","G__11496","G__11497","G__11498","G__11499","G__11500","cljs.core\/write-all","seq11511","G__11512","seq__11513","chunk__11514","count__11515","i__11516","cljs.core\/string-print","cljs.core\/flush","cljs.core\/char-escapes","obj11533","cljs.core\/quote-string","match","cljs.core\/print-meta?","cljs.core\/pr-writer-impl","G__11548","G__11549","G__11550","cljs.core\/pr-writer","G__11552","G__11553","G__11554","G__11555","cljs.core\/print-map","cljs.core.keyword.cljs$core$IFn$_invoke$arity$1","goog.string\/isEmpty","cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic","normalize","alt-impl","G__11563","G__11564","G__11565","cljs.core\/pr-seq-writer","objs","seq__11570","chunk__11571","count__11572","i__11573","cljs.core\/pr-sb-with-opts","cljs.core\/pr-str-with-opts","cljs.core\/prn-str-with-opts","cljs.core\/pr-with-opts","args11586","G__11588","cljs.core\/newline","cljs.core.newline.cljs$core$IFn$_invoke$arity$1","cljs.core\/pr-str","seq11593","cljs.core\/prn-str","seq11597","cljs.core\/pr","seq11601","cljs.core\/print","cljs.core\/print-str","seq11607","cljs.core\/println","seq11611","cljs.core\/println-str","seq11615","cljs.core\/prn","seq11619","cljs.core\/strip-ns","named","cljs.core.keyword.cljs$core$IFn$_invoke$arity$2","cljs.core\/lift-ns","G__11648","vec__11649","seq__11650","first__11651","vec__11652","vec__11655","seq__11656","first__11657","vec__11658","entries","lm","new-ns","cljs.core\/print-prefix-map","w","G__11673","G__11674","G__11675","G__11676","G__11677","G__11678","vec__11685","lift-map","cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2","cljs.core\/alter-meta!","seq11688","G__11689","G__11690","cljs.core\/reset-meta!","cljs.core\/add-watch","cljs.core\/remove-watch","cljs.core\/gensym_counter","args11694","G__11696","cljs.core\/gensym","cljs.core.gensym.cljs$core$IFn$_invoke$arity$1","prefix-string","cljs.core.symbol.cljs$core$IFn$_invoke$arity$1","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2","cljs.core\/fixture1","cljs.core\/fixture2","cljs.core\/Delay","cljs.core\/->Delay","cljs.core\/delay?","cljs.core\/force","cljs.core\/realized?","p1__11701#","p2__11702#","cljs.core\/preserving-reduced","rf1","args11704","G__11706","cljs.core\/halt-when","cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2","retf","G__11707","G__11708","args11714","G__11716","cljs.core\/dedupe","prior","cljs.core.sequence.cljs$core$IFn$_invoke$arity$2","cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0","args11722","G__11724","cljs.core\/random-sample","prob","cljs.core\/rand","cljs.core\/Eduction","cljs.core\/->Eduction","cljs.core.transduce.cljs$core$IFn$_invoke$arity$3","cljs.core.completing.cljs$core$IFn$_invoke$arity$1","cljs.core\/eduction","seq11731","xforms","cljs.core\/run!","proc","p1__11736#","p2__11735#","cljs\/core.-clj->js","cljs\/core.-key->js","cljs.core\/IEncodeJS","cljs.core\/-clj->js","cljs.core\/-key->js","cljs.core\/key->js","cljs.core\/clj->js","cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic","seq__11759","chunk__11760","count__11761","i__11762","vec__11763","vec__11766","seq__11769","chunk__11770","count__11771","i__11772","cljs\/core.-js->clj","cljs.core\/IEncodeClojure","cljs.core\/-js->clj","options","args11819","G__11823","cljs.core\/js->clj","seq11820","G__11821","cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic","map__11824","keywordize-keys","cljs.core.doall.cljs$core$IFn$_invoke$arity$1","thisfn","iter__7300__auto__","c__7298__auto__","size__7299__auto__","b__11841","i__11840","iter__11838","cljs.core\/memoize","mem","G__11850","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4","args11854","G__11858","cljs.core\/trampoline","seq11855","G__11856","cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1","args11864","G__11866","cljs.core.rand.cljs$core$IFn$_invoke$arity$1","Math\/random","cljs.core\/rand-int","G__11872","cljs.core\/rand-nth","cljs.core\/group-by","cljs.core\/make-hierarchy","cljs.core\/-global-hierarchy","cljs.core\/get-global-hierarchy","G__11874","cljs.core\/swap-global-hierarchy!","seq11875","G__11876","args11880","G__11882","cljs.core\/isa?","G__11883","cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3","args11890","G__11892","cljs.core\/parents","tag","G__11893","cljs.core.parents.cljs$core$IFn$_invoke$arity$2","args11898","G__11900","cljs.core\/ancestors","G__11901","cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2","args11906","G__11908","cljs.core\/descendants","G__11909","cljs.core.descendants.cljs$core$IFn$_invoke$arity$2","args11914","G__11916","cljs.core\/derive","cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic","tp","td","ta","tf","source","sources","target","targets","args11924","G__11926","cljs.core\/underive","parentMap","childsParents","newParents","deriv-seq","p1__11921#","cljs.core.interpose.cljs$core$IFn$_invoke$arity$2","p1__11922#","p2__11923#","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","cljs.core.parents.cljs$core$IFn$_invoke$arity$1","G__11946","G__11947","G__11948","G__11952","G__11953","G__11954","cljs.core\/dominates","cljs.core\/find-and-cache-best-method","dispatch-val","best-entry","p__11961","vec__11962","be","be2","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","args11965","cljs.core\/MultiFn","cljs.core\/->MultiFn","dispatch-fn","default-dispatch-val","target-fn","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3","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__11967","G__11968","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","args11971","G__11973","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__11978","cljs.core\/tagged-literal?","cljs.core\/tagged-literal","cljs.core\/js-reserved-arr","cljs.core\/js-reserved","cljs.core\/js-reserved?","p1__11980#","p2__11981#","goog.object\/set","cljs.core\/demunge-pattern","G__11983","cljs.core\/munge-str","sub","goog.object\/get","cljs.core\/munge","name'","cljs.core\/demunge-str","munged-name","goog.string\/endsWith","last-match-end","vec__11993","cljs.core\/demunge","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__12000","G__12001","cljs.core\/find-ns-obj","munged-ns","segs","G__12007","e12008","G__12009","js\/eval","js\/ReferenceError","js\/global","goog\/global","cljs.core\/ns-interns*","args12011","G__12013","cljs.core\/create-ns","cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2","cljs.core\/find-ns","G__12019","the-ns","cljs.core\/find-macros-ns","G__12021","ns-str","goog.string\/contains","cljs.core\/ns-name"]} \ No newline at end of file diff --git a/assets/viz/2/cljs/core/constants.js b/assets/viz/2/cljs/core/constants.js new file mode 100644 index 0000000..ec9c2b1 --- /dev/null +++ b/assets/viz/2/cljs/core/constants.js @@ -0,0 +1,368 @@ +goog.provide('cljs.core.constants'); +goog.require('cljs.core'); +cljs.core.cst$kw$y = new cljs.core.Keyword(null,"y","y",-1757859776); +cljs.core.cst$sym$form = new cljs.core.Symbol(null,"form","form",16469056,null); +cljs.core.cst$kw$key_DASH_code = new cljs.core.Keyword(null,"key-code","key-code",-1732114304); +cljs.core.cst$sym$tag = new cljs.core.Symbol(null,"tag","tag",350170304,null); +cljs.core.cst$sym$_AMPERSAND_ = new cljs.core.Symbol(null,"&","&",-2144855648,null); +cljs.core.cst$sym$stepper = new cljs.core.Symbol(null,"stepper","stepper",1159163296,null); +cljs.core.cst$kw$grid_DASH_def = new cljs.core.Keyword(null,"grid-def","grid-def",-392588768); +cljs.core.cst$sym$uuid = new cljs.core.Symbol(null,"uuid","uuid",-504564192,null); +cljs.core.cst$kw$shift = new cljs.core.Keyword(null,"shift","shift",997140064); +cljs.core.cst$kw$features = new cljs.core.Keyword(null,"features","features",-1146962336); +cljs.core.cst$sym$$endDraw = new cljs.core.Symbol(null,".endDraw",".endDraw",795589408,null); +cljs.core.cst$kw$open = new cljs.core.Keyword(null,"open","open",-1763596448); +cljs.core.cst$kw$baseline = new cljs.core.Keyword(null,"baseline","baseline",1151033280); +cljs.core.cst$sym$end = new cljs.core.Symbol(null,"end","end",1372345569,null); +cljs.core.cst$kw$disable_DASH_stroke_DASH_perspective = new cljs.core.Keyword(null,"disable-stroke-perspective","disable-stroke-perspective",479198433); +cljs.core.cst$kw$active_DASH_node_DASH_ids = new cljs.core.Keyword(null,"active-node-ids","active-node-ids",-398210751); +cljs.core.cst$sym$defrecord_STAR_ = new cljs.core.Symbol(null,"defrecord*","defrecord*",-1936366207,null); +cljs.core.cst$sym$base = new cljs.core.Symbol(null,"base","base",1825810849,null); +cljs.core.cst$sym$obj = new cljs.core.Symbol(null,"obj","obj",-1672671807,null); +cljs.core.cst$kw$hsb = new cljs.core.Keyword(null,"hsb","hsb",-753472031); +cljs.core.cst$kw$quads = new cljs.core.Keyword(null,"quads","quads",1347497505); +cljs.core.cst$sym$fqn = new cljs.core.Symbol(null,"fqn","fqn",-1749334463,null); +cljs.core.cst$kw$arrow = new cljs.core.Keyword(null,"arrow","arrow",1071351425); +cljs.core.cst$kw$dilate = new cljs.core.Keyword(null,"dilate","dilate",1504745153); +cljs.core.cst$sym$first = new cljs.core.Symbol(null,"first","first",996428481,null); +cljs.core.cst$sym$quil$core_SLASH_current_DASH_fill = new cljs.core.Symbol("quil.core","current-fill","quil.core/current-fill",269663137,null); +cljs.core.cst$sym$try = new cljs.core.Symbol(null,"try","try",-1273693247,null); +cljs.core.cst$sym$has_DASH_nil_QMARK_ = new cljs.core.Symbol(null,"has-nil?","has-nil?",825886722,null); +cljs.core.cst$kw$min = new cljs.core.Keyword(null,"min","min",444991522); +cljs.core.cst$sym$quil$core_SLASH__STAR_graphics_STAR_ = new cljs.core.Symbol("quil.core","*graphics*","quil.core/*graphics*",-1088142302,null); +cljs.core.cst$kw$quad_DASH_strip = new cljs.core.Keyword(null,"quad-strip","quad-strip",-1297270686); +cljs.core.cst$kw$down = new cljs.core.Keyword(null,"down","down",1565245570); +cljs.core.cst$kw$grid_DASH_width = new cljs.core.Keyword(null,"grid-width","grid-width",837583106); +cljs.core.cst$kw$disable_DASH_depth_DASH_mask = new cljs.core.Keyword(null,"disable-depth-mask","disable-depth-mask",3298562); +cljs.core.cst$kw$pixels_DASH_in_DASH_360 = new cljs.core.Keyword(null,"pixels-in-360","pixels-in-360",1789567298); +cljs.core.cst$kw$frame_DASH_rate = new cljs.core.Keyword(null,"frame-rate","frame-rate",-994918942); +cljs.core.cst$kw$p_DASH_y = new cljs.core.Keyword(null,"p-y","p-y",-530704830); +cljs.core.cst$kw$step_DASH_size = new cljs.core.Keyword(null,"step-size","step-size",1545609922); +cljs.core.cst$kw$zoom = new cljs.core.Keyword(null,"zoom","zoom",-1827487038); +cljs.core.cst$sym$rear = new cljs.core.Symbol(null,"rear","rear",-900164830,null); +cljs.core.cst$sym$hierarchy = new cljs.core.Symbol(null,"hierarchy","hierarchy",587061186,null); +cljs.core.cst$sym$iter = new cljs.core.Symbol(null,"iter","iter",-1346195486,null); +cljs.core.cst$sym$cljs$core_SLASH_binding = new cljs.core.Symbol("cljs.core","binding","cljs.core/binding",2050379843,null); +cljs.core.cst$kw$burn = new cljs.core.Keyword(null,"burn","burn",-458179293); +cljs.core.cst$sym$step = new cljs.core.Symbol(null,"step","step",-1365547645,null); +cljs.core.cst$sym$tr__10249__auto__ = new cljs.core.Symbol(null,"tr__10249__auto__","tr__10249__auto__",-739839485,null); +cljs.core.cst$sym$boolean = new cljs.core.Symbol(null,"boolean","boolean",-278886877,null); +cljs.core.cst$kw$key_DASH_typed = new cljs.core.Keyword(null,"key-typed","key-typed",-876037597); +cljs.core.cst$sym$update_DASH_count = new cljs.core.Symbol(null,"update-count","update-count",-411982269,null); +cljs.core.cst$kw$mouse_DASH_clicked = new cljs.core.Keyword(null,"mouse-clicked","mouse-clicked",-199339421); +cljs.core.cst$sym$method_DASH_table = new cljs.core.Symbol(null,"method-table","method-table",-1878263165,null); +cljs.core.cst$kw$mouse_DASH_released = new cljs.core.Keyword(null,"mouse-released","mouse-released",-664480061); +cljs.core.cst$kw$posterize = new cljs.core.Keyword(null,"posterize","posterize",-148251901); +cljs.core.cst$sym$chunk = new cljs.core.Symbol(null,"chunk","chunk",449371907,null); +cljs.core.cst$kw$fn = new cljs.core.Keyword(null,"fn","fn",-1175266204); +cljs.core.cst$sym$quil$sketch_SLASH_with_DASH_sketch = new cljs.core.Symbol("quil.sketch","with-sketch","quil.sketch/with-sketch",-634067708,null); +cljs.core.cst$sym$i = new cljs.core.Symbol(null,"i","i",253690212,null); +cljs.core.cst$kw$f8 = new cljs.core.Keyword(null,"f8","f8",-2141475484); +cljs.core.cst$sym$rest = new cljs.core.Symbol(null,"rest","rest",398835108,null); +cljs.core.cst$kw$meta = new cljs.core.Keyword(null,"meta","meta",1499536964); +cljs.core.cst$sym$quil$core_SLASH_translate = new cljs.core.Symbol("quil.core","translate","quil.core/translate",150889028,null); +cljs.core.cst$sym$old_DASH_fill__10239__auto__ = new cljs.core.Symbol(null,"old-fill__10239__auto__","old-fill__10239__auto__",-4319548,null); +cljs.core.cst$kw$screen = new cljs.core.Keyword(null,"screen","screen",1990059748); +cljs.core.cst$kw$enable_DASH_depth_DASH_test = new cljs.core.Keyword(null,"enable-depth-test","enable-depth-test",1519326084); +cljs.core.cst$kw$mouse_DASH_exited = new cljs.core.Keyword(null,"mouse-exited","mouse-exited",-483205244); +cljs.core.cst$kw$gray = new cljs.core.Keyword(null,"gray","gray",1013268388); +cljs.core.cst$kw$frame = new cljs.core.Keyword(null,"frame","frame",-1711082588); +cljs.core.cst$kw$enable_DASH_depth_DASH_sort = new cljs.core.Keyword(null,"enable-depth-sort","enable-depth-sort",-383089627); +cljs.core.cst$kw$f1 = new cljs.core.Keyword(null,"f1","f1",1714532389); +cljs.core.cst$kw$dup = new cljs.core.Keyword(null,"dup","dup",556298533); +cljs.core.cst$kw$java2d = new cljs.core.Keyword(null,"java2d","java2d",166099237); +cljs.core.cst$kw$corner = new cljs.core.Keyword(null,"corner","corner",1296717125); +cljs.core.cst$kw$disable_DASH_texture_DASH_mipmaps = new cljs.core.Keyword(null,"disable-texture-mipmaps","disable-texture-mipmaps",1697917541); +cljs.core.cst$kw$key = new cljs.core.Keyword(null,"key","key",-1516042587); +cljs.core.cst$sym$comp = new cljs.core.Symbol(null,"comp","comp",-1462482139,null); +cljs.core.cst$sym$dispatch_DASH_fn = new cljs.core.Symbol(null,"dispatch-fn","dispatch-fn",-1401088155,null); +cljs.core.cst$kw$darkest = new cljs.core.Keyword(null,"darkest","darkest",68197253); +cljs.core.cst$kw$f10 = new cljs.core.Keyword(null,"f10","f10",627525541); +cljs.core.cst$kw$dodge = new cljs.core.Keyword(null,"dodge","dodge",-1556666427); +cljs.core.cst$kw$bottom = new cljs.core.Keyword(null,"bottom","bottom",-1550509018); +cljs.core.cst$kw$bevel = new cljs.core.Keyword(null,"bevel","bevel",2090515654); +cljs.core.cst$kw$else = new cljs.core.Keyword(null,"else","else",-1508377146); +cljs.core.cst$kw$on_DASH_close = new cljs.core.Keyword(null,"on-close","on-close",-761178394); +cljs.core.cst$kw$disable_DASH_stroke_DASH_pure = new cljs.core.Keyword(null,"disable-stroke-pure","disable-stroke-pure",735493926); +cljs.core.cst$kw$replace = new cljs.core.Keyword(null,"replace","replace",-786587770); +cljs.core.cst$kw$next_DASH_id = new cljs.core.Keyword(null,"next-id","next-id",-224240762); +cljs.core.cst$kw$alt = new cljs.core.Keyword(null,"alt","alt",-3214426); +cljs.core.cst$sym$left = new cljs.core.Symbol(null,"left","left",1241415590,null); +cljs.core.cst$sym$ns_STAR_ = new cljs.core.Symbol(null,"ns*","ns*",1840949383,null); +cljs.core.cst$kw$cljs$core_SLASH_none = new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439); +cljs.core.cst$sym$shift = new cljs.core.Symbol(null,"shift","shift",-1657295705,null); +cljs.core.cst$sym$iters = new cljs.core.Symbol(null,"iters","iters",719353031,null); +cljs.core.cst$kw$button = new cljs.core.Keyword(null,"button","button",1456579943); +cljs.core.cst$kw$top = new cljs.core.Keyword(null,"top","top",-1856271961); +cljs.core.cst$kw$mouse_DASH_wheel = new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439); +cljs.core.cst$sym$cljs$core_SLASH_apply = new cljs.core.Symbol("cljs.core","apply","cljs.core/apply",1757277831,null); +cljs.core.cst$sym$xform = new cljs.core.Symbol(null,"xform","xform",-85179481,null); +cljs.core.cst$kw$validator = new cljs.core.Keyword(null,"validator","validator",-1966190681); +cljs.core.cst$kw$disable_DASH_depth_DASH_test = new cljs.core.Keyword(null,"disable-depth-test","disable-depth-test",284606407); +cljs.core.cst$sym$finally = new cljs.core.Symbol(null,"finally","finally",-1065347064,null); +cljs.core.cst$kw$keyPressed = new cljs.core.Keyword(null,"keyPressed","keyPressed",1791025256); +cljs.core.cst$kw$default = new cljs.core.Keyword(null,"default","default",-1987822328); +cljs.core.cst$sym$prefer_DASH_table = new cljs.core.Symbol(null,"prefer-table","prefer-table",462168584,null); +cljs.core.cst$kw$bar = new cljs.core.Keyword(null,"bar","bar",-1386246584); +cljs.core.cst$sym$loop_STAR_ = new cljs.core.Symbol(null,"loop*","loop*",615029416,null); +cljs.core.cst$sym$watches = new cljs.core.Symbol(null,"watches","watches",1367433992,null); +cljs.core.cst$kw$ns = new cljs.core.Keyword(null,"ns","ns",441598760); +cljs.core.cst$kw$grid = new cljs.core.Keyword(null,"grid","grid",402978600); +cljs.core.cst$kw$pie = new cljs.core.Keyword(null,"pie","pie",1530441672); +cljs.core.cst$sym$quil$core_SLASH_pop_DASH_matrix = new cljs.core.Symbol("quil.core","pop-matrix","quil.core/pop-matrix",310892617,null); +cljs.core.cst$kw$decor = new cljs.core.Keyword(null,"decor","decor",-1730969431); +cljs.core.cst$kw$w = new cljs.core.Keyword(null,"w","w",354169001); +cljs.core.cst$sym$bitmap = new cljs.core.Symbol(null,"bitmap","bitmap",501334601,null); +cljs.core.cst$kw$enable_DASH_stroke_DASH_perspective = new cljs.core.Keyword(null,"enable-stroke-perspective","enable-stroke-perspective",-259923319); +cljs.core.cst$sym$_seq = new cljs.core.Symbol(null,"_seq","_seq",-449557847,null); +cljs.core.cst$sym$nil_DASH_val = new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null); +cljs.core.cst$kw$opengl = new cljs.core.Keyword(null,"opengl","opengl",-614998103); +cljs.core.cst$kw$exit_DASH_wait_DASH_frames = new cljs.core.Keyword(null,"exit-wait-frames","exit-wait-frames",1417213098); +cljs.core.cst$kw$mouse_DASH_moved = new cljs.core.Keyword(null,"mouse-moved","mouse-moved",-1918152310); +cljs.core.cst$kw$parent_DASH_pos = new cljs.core.Keyword(null,"parent-pos","parent-pos",-282368566); +cljs.core.cst$sym$v = new cljs.core.Symbol(null,"v","v",1661996586,null); +cljs.core.cst$kw$safe_DASH_draw_DASH_fn = new cljs.core.Keyword(null,"safe-draw-fn","safe-draw-fn",1454900202); +cljs.core.cst$kw$chord = new cljs.core.Keyword(null,"chord","chord",-696248342); +cljs.core.cst$sym$riter = new cljs.core.Symbol(null,"riter","riter",-237834262,null); +cljs.core.cst$sym$__hash = new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null); +cljs.core.cst$kw$rgb = new cljs.core.Keyword(null,"rgb","rgb",1432123467); +cljs.core.cst$sym$meta = new cljs.core.Symbol(null,"meta","meta",-1154898805,null); +cljs.core.cst$sym$_meta = new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null); +cljs.core.cst$sym$$dispose = new cljs.core.Symbol(null,".dispose",".dispose",-1697594101,null); +cljs.core.cst$kw$lines = new cljs.core.Keyword(null,"lines","lines",-700165781); +cljs.core.cst$sym$afn = new cljs.core.Symbol(null,"afn","afn",216963467,null); +cljs.core.cst$kw$argb = new cljs.core.Keyword(null,"argb","argb",633844107); +cljs.core.cst$kw$mouseOut = new cljs.core.Keyword(null,"mouseOut","mouseOut",-386669045); +cljs.core.cst$kw$move = new cljs.core.Keyword(null,"move","move",-2110884309); +cljs.core.cst$sym$tree = new cljs.core.Symbol(null,"tree","tree",1444219499,null); +cljs.core.cst$sym$fn = new cljs.core.Symbol(null,"fn","fn",465265323,null); +cljs.core.cst$kw$f5 = new cljs.core.Keyword(null,"f5","f5",1587057387); +cljs.core.cst$kw$settings = new cljs.core.Keyword(null,"settings","settings",1556144875); +cljs.core.cst$sym$front = new cljs.core.Symbol(null,"front","front",117022539,null); +cljs.core.cst$sym$buf = new cljs.core.Symbol(null,"buf","buf",1426618187,null); +cljs.core.cst$kw$pos = new cljs.core.Keyword(null,"pos","pos",-864607220); +cljs.core.cst$kw$gif_DASH_seconds = new cljs.core.Keyword(null,"gif-seconds","gif-seconds",1861397548); +cljs.core.cst$kw$command = new cljs.core.Keyword(null,"command","command",-894540724); +cljs.core.cst$kw$mouseScrolled = new cljs.core.Keyword(null,"mouseScrolled","mouseScrolled",31878252); +cljs.core.cst$sym$next_DASH_entry = new cljs.core.Symbol(null,"next-entry","next-entry",1091342476,null); +cljs.core.cst$kw$val = new cljs.core.Keyword(null,"val","val",128701612); +cljs.core.cst$sym$key = new cljs.core.Symbol(null,"key","key",124488940,null); +cljs.core.cst$sym$_next = new cljs.core.Symbol(null,"_next","_next",101877036,null); +cljs.core.cst$sym$quil$core_SLASH_stroke = new cljs.core.Symbol("quil.core","stroke","quil.core/stroke",577473004,null); +cljs.core.cst$kw$update = new cljs.core.Keyword(null,"update","update",1045576396); +cljs.core.cst$sym$root_DASH_iter = new cljs.core.Symbol(null,"root-iter","root-iter",1974672108,null); +cljs.core.cst$sym$do = new cljs.core.Symbol(null,"do","do",1686842252,null); +cljs.core.cst$sym$vec = new cljs.core.Symbol(null,"vec","vec",982683596,null); +cljs.core.cst$sym$js_SLASH_Processing$prototype$PConstants = new cljs.core.Symbol("js","Processing.prototype.PConstants","js/Processing.prototype.PConstants",2034048972,null); +cljs.core.cst$kw$miter = new cljs.core.Keyword(null,"miter","miter",327727052); +cljs.core.cst$kw$points = new cljs.core.Keyword(null,"points","points",-1486596883); +cljs.core.cst$kw$fallback_DASH_impl = new cljs.core.Keyword(null,"fallback-impl","fallback-impl",-1501286995); +cljs.core.cst$kw$hand = new cljs.core.Keyword(null,"hand","hand",791601933); +cljs.core.cst$kw$flush_DASH_on_DASH_newline = new cljs.core.Keyword(null,"flush-on-newline","flush-on-newline",-151457939); +cljs.core.cst$kw$mouseDragged = new cljs.core.Keyword(null,"mouseDragged","mouseDragged",129975181); +cljs.core.cst$sym$default_DASH_dispatch_DASH_val = new cljs.core.Symbol(null,"default-dispatch-val","default-dispatch-val",-1231201266,null); +cljs.core.cst$kw$no_DASH_test = new cljs.core.Keyword(null,"no-test","no-test",-1679482642); +cljs.core.cst$kw$close = new cljs.core.Keyword(null,"close","close",1835149582); +cljs.core.cst$kw$roots = new cljs.core.Keyword(null,"roots","roots",-1088919250); +cljs.core.cst$sym$validator = new cljs.core.Symbol(null,"validator","validator",-325659154,null); +cljs.core.cst$kw$radius = new cljs.core.Keyword(null,"radius","radius",-2073122258); +cljs.core.cst$kw$normal = new cljs.core.Keyword(null,"normal","normal",-1519123858); +cljs.core.cst$sym$letfn_STAR_ = new cljs.core.Symbol(null,"letfn*","letfn*",-110097810,null); +cljs.core.cst$sym$if = new cljs.core.Symbol(null,"if","if",1181717262,null); +cljs.core.cst$kw$s = new cljs.core.Keyword(null,"s","s",1705939918); +cljs.core.cst$sym$arr = new cljs.core.Symbol(null,"arr","arr",2115492975,null); +cljs.core.cst$kw$threshold = new cljs.core.Keyword(null,"threshold","threshold",204221583); +cljs.core.cst$sym$new = new cljs.core.Symbol(null,"new","new",-444906321,null); +cljs.core.cst$kw$rotate_DASH_on = new cljs.core.Keyword(null,"rotate-on","rotate-on",-1282225937); +cljs.core.cst$kw$up = new cljs.core.Keyword(null,"up","up",-269712113); +cljs.core.cst$kw$descendants = new cljs.core.Keyword(null,"descendants","descendants",1824886031); +cljs.core.cst$kw$renderer = new cljs.core.Keyword(null,"renderer","renderer",336841071); +cljs.core.cst$sym$ns = new cljs.core.Symbol(null,"ns","ns",2082130287,null); +cljs.core.cst$kw$size = new cljs.core.Keyword(null,"size","size",1098693007); +cljs.core.cst$kw$title = new cljs.core.Keyword(null,"title","title",636505583); +cljs.core.cst$kw$tail_DASH_length = new cljs.core.Keyword(null,"tail-length","tail-length",-2007115089); +cljs.core.cst$kw$center = new cljs.core.Keyword(null,"center","center",-748944368); +cljs.core.cst$kw$setup = new cljs.core.Keyword(null,"setup","setup",1987730512); +cljs.core.cst$kw$mouse_DASH_pressed = new cljs.core.Keyword(null,"mouse-pressed","mouse-pressed",736955536); +cljs.core.cst$kw$ancestors = new cljs.core.Keyword(null,"ancestors","ancestors",-776045424); +cljs.core.cst$kw$middleware = new cljs.core.Keyword(null,"middleware","middleware",1462115504); +cljs.core.cst$kw$round = new cljs.core.Keyword(null,"round","round",2009433328); +cljs.core.cst$kw$disable_DASH_optimized_DASH_stroke = new cljs.core.Keyword(null,"disable-optimized-stroke","disable-optimized-stroke",74038544); +cljs.core.cst$sym$meta8588 = new cljs.core.Symbol(null,"meta8588","meta8588",1105839504,null); +cljs.core.cst$sym$value = new cljs.core.Symbol(null,"value","value",1946509744,null); +cljs.core.cst$kw$focus_DASH_gained = new cljs.core.Keyword(null,"focus-gained","focus-gained",-857086384); +cljs.core.cst$sym$name = new cljs.core.Symbol(null,"name","name",-810760592,null); +cljs.core.cst$sym$gr__10259__auto__ = new cljs.core.Symbol(null,"gr__10259__auto__","gr__10259__auto__",-992087344,null); +cljs.core.cst$kw$readably = new cljs.core.Keyword(null,"readably","readably",1129599760); +cljs.core.cst$kw$global_DASH_key_DASH_events = new cljs.core.Keyword(null,"global-key-events","global-key-events",335064944); +cljs.core.cst$kw$more_DASH_marker = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935); +cljs.core.cst$sym$cljs$core_SLASH_let = new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null); +cljs.core.cst$sym$fields = new cljs.core.Symbol(null,"fields","fields",-291534703,null); +cljs.core.cst$kw$corners = new cljs.core.Keyword(null,"corners","corners",-137817903); +cljs.core.cst$sym$method_DASH_cache = new cljs.core.Symbol(null,"method-cache","method-cache",1230193905,null); +cljs.core.cst$kw$z = new cljs.core.Keyword(null,"z","z",-789527183); +cljs.core.cst$sym$nexts = new cljs.core.Symbol(null,"nexts","nexts",-1683579407,null); +cljs.core.cst$kw$f11 = new cljs.core.Keyword(null,"f11","f11",-1417398799); +cljs.core.cst$kw$host = new cljs.core.Keyword(null,"host","host",-1558485167); +cljs.core.cst$sym$edit = new cljs.core.Symbol(null,"edit","edit",-1302639,null); +cljs.core.cst$sym$editable_QMARK_ = new cljs.core.Symbol(null,"editable?","editable?",-164945806,null); +cljs.core.cst$kw$opaque = new cljs.core.Keyword(null,"opaque","opaque",-1243552654); +cljs.core.cst$kw$straight = new cljs.core.Keyword(null,"straight","straight",-1252567854); +cljs.core.cst$sym$base_DASH_count = new cljs.core.Symbol(null,"base-count","base-count",-1180647182,null); +cljs.core.cst$kw$overlay = new cljs.core.Keyword(null,"overlay","overlay",-139131598); +cljs.core.cst$kw$mouse_DASH_entered = new cljs.core.Keyword(null,"mouse-entered","mouse-entered",811350322); +cljs.core.cst$sym$collision_DASH_hash = new cljs.core.Symbol(null,"collision-hash","collision-hash",-35831342,null); +cljs.core.cst$kw$forest = new cljs.core.Keyword(null,"forest","forest",278860306); +cljs.core.cst$sym$deftype_STAR_ = new cljs.core.Symbol(null,"deftype*","deftype*",962659890,null); +cljs.core.cst$sym$let_STAR_ = new cljs.core.Symbol(null,"let*","let*",1920721458,null); +cljs.core.cst$kw$enable_DASH_opengl_DASH_errors = new cljs.core.Keyword(null,"enable-opengl-errors","enable-opengl-errors",89998962); +cljs.core.cst$kw$leaves = new cljs.core.Keyword(null,"leaves","leaves",-2143630574); +cljs.core.cst$sym$start = new cljs.core.Symbol(null,"start","start",1285322546,null); +cljs.core.cst$sym$coll = new cljs.core.Symbol(null,"coll","coll",-1006698606,null); +cljs.core.cst$sym$not_DASH_native = new cljs.core.Symbol(null,"not-native","not-native",-236392494,null); +cljs.core.cst$sym$js_STAR_ = new cljs.core.Symbol(null,"js*","js*",-1134233646,null); +cljs.core.cst$kw$enable_DASH_stroke_DASH_pure = new cljs.core.Keyword(null,"enable-stroke-pure","enable-stroke-pure",881345587); +cljs.core.cst$sym$strobj = new cljs.core.Symbol(null,"strobj","strobj",1088091283,null); +cljs.core.cst$kw$nodes = new cljs.core.Keyword(null,"nodes","nodes",-2099585805); +cljs.core.cst$kw$no_DASH_safe_DASH_draw = new cljs.core.Keyword(null,"no-safe-draw","no-safe-draw",-1157778157); +cljs.core.cst$kw$blur = new cljs.core.Keyword(null,"blur","blur",-453500461); +cljs.core.cst$sym$_rest = new cljs.core.Symbol(null,"_rest","_rest",-2100466189,null); +cljs.core.cst$kw$project = new cljs.core.Keyword(null,"project","project",1124394579); +cljs.core.cst$kw$triangle_DASH_fan = new cljs.core.Keyword(null,"triangle-fan","triangle-fan",1743150739); +cljs.core.cst$kw$focus_DASH_lost = new cljs.core.Keyword(null,"focus-lost","focus-lost",-554849613); +cljs.core.cst$sym$fn_STAR_ = new cljs.core.Symbol(null,"fn*","fn*",-752876845,null); +cljs.core.cst$kw$f3 = new cljs.core.Keyword(null,"f3","f3",1954829043); +cljs.core.cst$sym$val = new cljs.core.Symbol(null,"val","val",1769233139,null); +cljs.core.cst$sym$ascending_QMARK_ = new cljs.core.Symbol(null,"ascending?","ascending?",-1938452653,null); +cljs.core.cst$sym$recur = new cljs.core.Symbol(null,"recur","recur",1202958259,null); +cljs.core.cst$sym$ci = new cljs.core.Symbol(null,"ci","ci",2049808339,null); +cljs.core.cst$kw$enable_DASH_depth_DASH_mask = new cljs.core.Keyword(null,"enable-depth-mask","enable-depth-mask",872785875); +cljs.core.cst$kw$key_DASH_pressed = new cljs.core.Keyword(null,"key-pressed","key-pressed",-757100364); +cljs.core.cst$kw$key_DASH_released = new cljs.core.Keyword(null,"key-released","key-released",215919828); +cljs.core.cst$kw$print_DASH_length = new cljs.core.Keyword(null,"print-length","print-length",1931866356); +cljs.core.cst$kw$max = new cljs.core.Keyword(null,"max","max",61366548); +cljs.core.cst$kw$foo = new cljs.core.Keyword(null,"foo","foo",1268894036); +cljs.core.cst$kw$f2 = new cljs.core.Keyword(null,"f2","f2",396168596); +cljs.core.cst$kw$keyReleased = new cljs.core.Keyword(null,"keyReleased","keyReleased",541714964); +cljs.core.cst$kw$id = new cljs.core.Keyword(null,"id","id",-1388402092); +cljs.core.cst$sym$state = new cljs.core.Symbol(null,"state","state",-348086572,null); +cljs.core.cst$kw$control = new cljs.core.Keyword(null,"control","control",1892578036); +cljs.core.cst$kw$ok = new cljs.core.Keyword(null,"ok","ok",967785236); +cljs.core.cst$kw$difference = new cljs.core.Keyword(null,"difference","difference",1916101396); +cljs.core.cst$sym$quil$core_SLASH_push_DASH_matrix = new cljs.core.Symbol("quil.core","push-matrix","quil.core/push-matrix",1356326676,null); +cljs.core.cst$kw$cljs$core_SLASH_halt = new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715); +cljs.core.cst$kw$mouseClicked = new cljs.core.Keyword(null,"mouseClicked","mouseClicked",1764302965); +cljs.core.cst$kw$square = new cljs.core.Keyword(null,"square","square",812434677); +cljs.core.cst$sym$cached_DASH_hierarchy = new cljs.core.Symbol(null,"cached-hierarchy","cached-hierarchy",-1085460203,null); +cljs.core.cst$kw$enable_DASH_optimized_DASH_stroke = new cljs.core.Keyword(null,"enable-optimized-stroke","enable-optimized-stroke",1537575253); +cljs.core.cst$kw$parent_DASH_id = new cljs.core.Keyword(null,"parent-id","parent-id",-1400729131); +cljs.core.cst$sym$s = new cljs.core.Symbol(null,"s","s",-948495851,null); +cljs.core.cst$kw$parents = new cljs.core.Keyword(null,"parents","parents",-2027538891); +cljs.core.cst$sym$cnt = new cljs.core.Symbol(null,"cnt","cnt",1924510325,null); +cljs.core.cst$kw$p_DASH_x = new cljs.core.Keyword(null,"p-x","p-x",-1721211211); +cljs.core.cst$kw$p2d = new cljs.core.Keyword(null,"p2d","p2d",-2106175755); +cljs.core.cst$kw$keep_DASH_on_DASH_top = new cljs.core.Keyword(null,"keep-on-top","keep-on-top",-970284267); +cljs.core.cst$kw$navigation_DASH_3d = new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301); +cljs.core.cst$sym$node = new cljs.core.Symbol(null,"node","node",-2073234571,null); +cljs.core.cst$kw$mouseReleased = new cljs.core.Keyword(null,"mouseReleased","mouseReleased",1116234838); +cljs.core.cst$kw$mousePressed = new cljs.core.Keyword(null,"mousePressed","mousePressed",1776186454); +cljs.core.cst$kw$shape = new cljs.core.Keyword(null,"shape","shape",1190694006); +cljs.core.cst$sym$sym = new cljs.core.Symbol(null,"sym","sym",195671222,null); +cljs.core.cst$kw$mouseMoved = new cljs.core.Keyword(null,"mouseMoved","mouseMoved",-1936954058); +cljs.core.cst$kw$f12 = new cljs.core.Keyword(null,"f12","f12",853352790); +cljs.core.cst$sym$sb = new cljs.core.Symbol(null,"sb","sb",-1249746442,null); +cljs.core.cst$kw$mouseOver = new cljs.core.Keyword(null,"mouseOver","mouseOver",-1334461930); +cljs.core.cst$kw$exclusion = new cljs.core.Keyword(null,"exclusion","exclusion",531897910); +cljs.core.cst$sym$quil$core_SLASH_fill = new cljs.core.Symbol("quil.core","fill","quil.core/fill",814613078,null); +cljs.core.cst$sym$meta8585 = new cljs.core.Symbol(null,"meta8585","meta8585",663620534,null); +cljs.core.cst$sym$old_DASH_stroke__10244__auto__ = new cljs.core.Symbol(null,"old-stroke__10244__auto__","old-stroke__10244__auto__",1374294039,null); +cljs.core.cst$kw$disable_DASH_opengl_DASH_errors = new cljs.core.Keyword(null,"disable-opengl-errors","disable-opengl-errors",506822839); +cljs.core.cst$kw$unknown_DASH_key = new cljs.core.Keyword(null,"unknown-key","unknown-key",255305911); +cljs.core.cst$kw$alpha = new cljs.core.Keyword(null,"alpha","alpha",-1574982441); +cljs.core.cst$kw$wait = new cljs.core.Keyword(null,"wait","wait",-260664777); +cljs.core.cst$kw$right = new cljs.core.Keyword(null,"right","right",-452581833); +cljs.core.cst$kw$random = new cljs.core.Keyword(null,"random","random",-557811113); +cljs.core.cst$sym$quil$core_SLASH_current_DASH_stroke = new cljs.core.Symbol("quil.core","current-stroke","quil.core/current-stroke",-1148124489,null); +cljs.core.cst$kw$host_DASH_id = new cljs.core.Keyword(null,"host-id","host-id",742376279); +cljs.core.cst$kw$repeat = new cljs.core.Keyword(null,"repeat","repeat",832692087); +cljs.core.cst$kw$hard_DASH_light = new cljs.core.Keyword(null,"hard-light","hard-light",-37591145); +cljs.core.cst$sym$quil$sketch$macros_SLASH_defsketch = new cljs.core.Symbol("quil.sketch$macros","defsketch","quil.sketch$macros/defsketch",2065609719,null); +cljs.core.cst$kw$keyTyped = new cljs.core.Keyword(null,"keyTyped","keyTyped",1437329399); +cljs.core.cst$kw$position = new cljs.core.Keyword(null,"position","position",-2011731912); +cljs.core.cst$kw$no_DASH_start = new cljs.core.Keyword(null,"no-start","no-start",1381488856); +cljs.core.cst$sym$_hash = new cljs.core.Symbol(null,"_hash","_hash",-2130838312,null); +cljs.core.cst$kw$image = new cljs.core.Keyword(null,"image","image",-58725096); +cljs.core.cst$kw$d = new cljs.core.Keyword(null,"d","d",1972142424); +cljs.core.cst$kw$dial = new cljs.core.Keyword(null,"dial","dial",1238392184); +cljs.core.cst$kw$multiply = new cljs.core.Keyword(null,"multiply","multiply",-1036907048); +cljs.core.cst$kw$lightest = new cljs.core.Keyword(null,"lightest","lightest",-2043115912); +cljs.core.cst$sym$quil$core_SLASH_rotate = new cljs.core.Symbol("quil.core","rotate","quil.core/rotate",-1944995048,null); +cljs.core.cst$kw$f7 = new cljs.core.Keyword(null,"f7","f7",356150168); +cljs.core.cst$kw$ghost = new cljs.core.Keyword(null,"ghost","ghost",-1531157576); +cljs.core.cst$sym$keys = new cljs.core.Symbol(null,"keys","keys",-1586012071,null); +cljs.core.cst$kw$x = new cljs.core.Keyword(null,"x","x",2099068185); +cljs.core.cst$kw$blend = new cljs.core.Keyword(null,"blend","blend",249565561); +cljs.core.cst$sym$set_BANG_ = new cljs.core.Symbol(null,"set!","set!",250714521,null); +cljs.core.cst$kw$disable_DASH_depth_DASH_sort = new cljs.core.Keyword(null,"disable-depth-sort","disable-depth-sort",-1568352839); +cljs.core.cst$kw$tag = new cljs.core.Keyword(null,"tag","tag",-1290361223); +cljs.core.cst$sym$tree_DASH_map = new cljs.core.Symbol(null,"tree-map","tree-map",1373073049,null); +cljs.core.cst$kw$raw_DASH_key = new cljs.core.Keyword(null,"raw-key","raw-key",-162482279); +cljs.core.cst$kw$target = new cljs.core.Keyword(null,"target","target",253001721); +cljs.core.cst$sym$_DOT_ = new cljs.core.Symbol(null,".",".",1975675962,null); +cljs.core.cst$sym$var = new cljs.core.Symbol(null,"var","var",870848730,null); +cljs.core.cst$kw$mutable = new cljs.core.Keyword(null,"mutable","mutable",875778266); +cljs.core.cst$sym$quote = new cljs.core.Symbol(null,"quote","quote",1377916282,null); +cljs.core.cst$kw$f9 = new cljs.core.Keyword(null,"f9","f9",704633338); +cljs.core.cst$sym$root = new cljs.core.Symbol(null,"root","root",1191874074,null); +cljs.core.cst$sym$str = new cljs.core.Symbol(null,"str","str",-1564826950,null); +cljs.core.cst$kw$draw = new cljs.core.Keyword(null,"draw","draw",1358331674); +cljs.core.cst$sym$nodes = new cljs.core.Symbol(null,"nodes","nodes",-459054278,null); +cljs.core.cst$sym$seen = new cljs.core.Symbol(null,"seen","seen",1121531738,null); +cljs.core.cst$sym$hash_DASH_map = new cljs.core.Symbol(null,"hash-map","hash-map",-439030950,null); +cljs.core.cst$kw$erode = new cljs.core.Keyword(null,"erode","erode",1539530618); +cljs.core.cst$kw$centered = new cljs.core.Keyword(null,"centered","centered",-515171141); +cljs.core.cst$kw$add = new cljs.core.Keyword(null,"add","add",235287739); +cljs.core.cst$sym$catch = new cljs.core.Symbol(null,"catch","catch",-1616370245,null); +cljs.core.cst$kw$soft_DASH_light = new cljs.core.Keyword(null,"soft-light","soft-light",513207899); +cljs.core.cst$kw$child_DASH_ids = new cljs.core.Keyword(null,"child-ids","child-ids",-604525861); +cljs.core.cst$kw$alt_DASH_impl = new cljs.core.Keyword(null,"alt-impl","alt-impl",670969595); +cljs.core.cst$sym$ext_DASH_map_DASH_iter = new cljs.core.Symbol(null,"ext-map-iter","ext-map-iter",-1215982757,null); +cljs.core.cst$sym$tail = new cljs.core.Symbol(null,"tail","tail",494507963,null); +cljs.core.cst$sym$quil$core_SLASH_with_DASH_graphics = new cljs.core.Symbol("quil.core","with-graphics","quil.core/with-graphics",481277883,null); +cljs.core.cst$kw$subtract = new cljs.core.Keyword(null,"subtract","subtract",2136988635); +cljs.core.cst$kw$clamp = new cljs.core.Keyword(null,"clamp","clamp",1803814940); +cljs.core.cst$sym$record = new cljs.core.Symbol(null,"record","record",861424668,null); +cljs.core.cst$sym$mseq = new cljs.core.Symbol(null,"mseq","mseq",1602647196,null); +cljs.core.cst$sym$count = new cljs.core.Symbol(null,"count","count",-514511684,null); +cljs.core.cst$kw$f6 = new cljs.core.Keyword(null,"f6","f6",2103080604); +cljs.core.cst$kw$keywordize_DASH_keys = new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252); +cljs.core.cst$sym$off = new cljs.core.Symbol(null,"off","off",-2047994980,null); +cljs.core.cst$kw$clj = new cljs.core.Keyword(null,"clj","clj",-660495428); +cljs.core.cst$kw$f4 = new cljs.core.Keyword(null,"f4","f4",990968764); +cljs.core.cst$kw$triangle_DASH_strip = new cljs.core.Keyword(null,"triangle-strip","triangle-strip",221845500); +cljs.core.cst$kw$navigation_DASH_2d = new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611); +cljs.core.cst$sym$stack = new cljs.core.Symbol(null,"stack","stack",847125597,null); +cljs.core.cst$sym$transient_DASH_map = new cljs.core.Symbol(null,"transient-map","transient-map",351764893,null); +cljs.core.cst$sym$len = new cljs.core.Symbol(null,"len","len",-1230778691,null); +cljs.core.cst$kw$cross = new cljs.core.Keyword(null,"cross","cross",194557789); +cljs.core.cst$sym$right = new cljs.core.Symbol(null,"right","right",1187949694,null); +cljs.core.cst$sym$throw = new cljs.core.Symbol(null,"throw","throw",595905694,null); +cljs.core.cst$kw$p3d = new cljs.core.Keyword(null,"p3d","p3d",-850380194); +cljs.core.cst$sym$fseq = new cljs.core.Symbol(null,"fseq","fseq",-1466412450,null); +cljs.core.cst$kw$a = new cljs.core.Keyword(null,"a","a",-2123407586); +cljs.core.cst$kw$triangles = new cljs.core.Keyword(null,"triangles","triangles",-1525417058); +cljs.core.cst$sym$$beginDraw = new cljs.core.Symbol(null,".beginDraw",".beginDraw",1110767550,null); +cljs.core.cst$kw$mouse_DASH_dragged = new cljs.core.Keyword(null,"mouse-dragged","mouse-dragged",-1220073441); +cljs.core.cst$sym$cljs$core_SLASH_aget = new cljs.core.Symbol("cljs.core","aget","cljs.core/aget",6345791,null); +cljs.core.cst$sym$tr__10254__auto__ = new cljs.core.Symbol(null,"tr__10254__auto__","tr__10254__auto__",1519210815,null); +cljs.core.cst$kw$left = new cljs.core.Keyword(null,"left","left",-399115937); +cljs.core.cst$kw$cljs$core_SLASH_not_DASH_found = new cljs.core.Keyword("cljs.core","not-found","cljs.core/not-found",-1572889185); +cljs.core.cst$sym$more = new cljs.core.Symbol(null,"more","more",-418290273,null); +cljs.core.cst$sym$def = new cljs.core.Symbol(null,"def","def",597100991,null); +cljs.core.cst$kw$invert = new cljs.core.Keyword(null,"invert","invert",1553577503); +cljs.core.cst$kw$text = new cljs.core.Keyword(null,"text","text",-1790561697); +cljs.core.cst$kw$enable_DASH_texture_DASH_mipmaps = new cljs.core.Keyword(null,"enable-texture-mipmaps","enable-texture-mipmaps",1241892671); +cljs.core.cst$kw$model = new cljs.core.Keyword(null,"model","model",331153215); +cljs.core.cst$sym$f = new cljs.core.Symbol(null,"f","f",43394975,null); +cljs.core.cst$sym$next_DASH_iter = new cljs.core.Symbol(null,"next-iter","next-iter",1526626239,null); +cljs.core.cst$sym$gr__10066__auto__ = new cljs.core.Symbol(null,"gr__10066__auto__","gr__10066__auto__",-614350849,null); diff --git a/assets/viz/2/cljs_deps.js b/assets/viz/2/cljs_deps.js new file mode 100644 index 0000000..ec29896 --- /dev/null +++ b/assets/viz/2/cljs_deps.js @@ -0,0 +1,18 @@ +goog.addDependency("base.js", ['goog'], []); +goog.addDependency("../cljs/core.js", ['cljs.core'], ['goog.string', 'goog.object', 'goog.math.Integer', 'goog.string.StringBuffer', 'goog.array', 'goog.math.Long']); +goog.addDependency("../viz/grid.js", ['viz.grid'], ['cljs.core']); +goog.addDependency("../viz/forest.js", ['viz.forest'], ['cljs.core', 'viz.grid']); +goog.addDependency("../processing.js", ['org.processingjs.Processing'], []); +goog.addDependency("../quil/middlewares/deprecated_options.js", ['quil.middlewares.deprecated_options'], ['cljs.core']); +goog.addDependency("../clojure/string.js", ['clojure.string'], ['goog.string', 'cljs.core', 'goog.string.StringBuffer']); +goog.addDependency("../quil/util.js", ['quil.util'], ['cljs.core', 'clojure.string']); +goog.addDependency("../quil/sketch.js", ['quil.sketch'], ['goog.dom', 'cljs.core', 'quil.middlewares.deprecated_options', 'goog.events.EventType', 'goog.events', 'quil.util']); +goog.addDependency("../quil/core.js", ['quil.core'], ['org.processingjs.Processing', 'quil.sketch', 'cljs.core', 'clojure.string', 'quil.util']); +goog.addDependency("../quil/middlewares/navigation_3d.js", ['quil.middlewares.navigation_3d'], ['cljs.core', 'quil.core']); +goog.addDependency("../quil/middlewares/navigation_2d.js", ['quil.middlewares.navigation_2d'], ['cljs.core', 'quil.core']); +goog.addDependency("../quil/middlewares/fun_mode.js", ['quil.middlewares.fun_mode'], ['cljs.core', 'quil.core']); +goog.addDependency("../quil/middleware.js", ['quil.middleware'], ['cljs.core', 'quil.middlewares.navigation_3d', 'quil.middlewares.navigation_2d', 'quil.middlewares.fun_mode']); +goog.addDependency("../clojure/set.js", ['clojure.set'], ['cljs.core']); +goog.addDependency("../viz/ghost.js", ['viz.ghost'], ['cljs.core', 'viz.forest', 'clojure.set', 'viz.grid']); +goog.addDependency("../viz/dial.js", ['viz.dial'], ['cljs.core', 'quil.core']); +goog.addDependency("../viz/core.js", ['viz.core'], ['goog.string', 'cljs.core', 'viz.forest', 'quil.core', 'quil.middleware', 'goog.string.format', 'viz.ghost', 'viz.grid', 'viz.dial']); diff --git a/assets/viz/2/clojure/set.cljs b/assets/viz/2/clojure/set.cljs new file mode 100644 index 0000000..b9ba41f --- /dev/null +++ b/assets/viz/2/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/assets/viz/2/clojure/set.cljs.cache.edn b/assets/viz/2/clojure/set.cljs.cache.edn new file mode 100644 index 0000000..2341e7d --- /dev/null +++ b/assets/viz/2/clojure/set.cljs.cache.edn @@ -0,0 +1 @@ +{:rename-macros {}, :renames {}, :externs {Error {}}, :use-macros {}, :excludes #{}, :name clojure.set, :imports nil, :requires nil, :uses nil, :defs {union {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 19, :column 7, :end-line 19, :end-column 12, :arglists (quote ([] [s1] [s1 s2] [s1 s2 & sets])), :doc "Return a set that is the union of the input sets", :top-fn {:variadic true, :max-fixed-arity 2, :method-params ([] [s1] [s1 s2]), :arglists ([] [s1] [s1 s2] [s1 s2 & sets]), :arglists-meta (nil nil nil nil)}}, :name clojure.set/union, :variadic true, :file "out/clojure/set.cljs", :end-column 12, :top-fn {:variadic true, :max-fixed-arity 2, :method-params ([] [s1] [s1 s2]), :arglists ([] [s1] [s1 s2] [s1 s2 & sets]), :arglists-meta (nil nil nil nil)}, :method-params ([] [s1] [s1 s2]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :line 19, :end-line 19, :max-fixed-arity 2, :fn-var true, :arglists ([] [s1] [s1 s2] [s1 s2 & sets]), :doc "Return a set that is the union of the input sets"}, map-invert {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 97, :column 7, :end-line 97, :end-column 17, :arglists (quote ([m])), :doc "Returns the map with the vals mapped to the keys."}, :name clojure.set/map-invert, :variadic false, :file "out/clojure/set.cljs", :end-column 17, :method-params ([m]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 97, :end-line 97, :max-fixed-arity 1, :fn-var true, :arglists (quote ([m])), :doc "Returns the map with the vals mapped to the keys."}, join {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 101, :column 7, :end-line 101, :end-column 11, :arglists (quote ([xrel yrel] [xrel yrel km])), :doc "When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys.", :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([xrel yrel] [xrel yrel km]), :arglists ([xrel yrel] [xrel yrel km]), :arglists-meta (nil nil)}}, :name clojure.set/join, :variadic false, :file "out/clojure/set.cljs", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([xrel yrel] [xrel yrel km]), :arglists ([xrel yrel] [xrel yrel km]), :arglists-meta (nil nil)}, :method-params ([xrel yrel] [xrel yrel km]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 101, :end-line 101, :max-fixed-arity 3, :fn-var true, :arglists ([xrel yrel] [xrel yrel km]), :doc "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 {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 61, :column 7, :end-line 61, :end-column 13, :arglists (quote ([pred xset])), :doc "Returns a set of the elements for which pred is true"}, :name clojure.set/select, :variadic false, :file "out/clojure/set.cljs", :end-column 13, :method-params ([pred xset]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 61, :end-line 61, :max-fixed-arity 2, :fn-var true, :arglists (quote ([pred xset])), :doc "Returns a set of the elements for which pred is true"}, intersection {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 31, :column 7, :end-line 31, :end-column 19, :arglists (quote ([s1] [s1 s2] [s1 s2 & sets])), :doc "Return a set that is the intersection of the input sets", :top-fn {:variadic true, :max-fixed-arity 2, :method-params ([s1] [s1 s2]), :arglists ([s1] [s1 s2] [s1 s2 & sets]), :arglists-meta (nil nil nil)}}, :name clojure.set/intersection, :variadic true, :file "out/clojure/set.cljs", :end-column 19, :top-fn {:variadic true, :max-fixed-arity 2, :method-params ([s1] [s1 s2]), :arglists ([s1] [s1 s2] [s1 s2 & sets]), :arglists-meta (nil nil nil)}, :method-params ([s1] [s1 s2]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :line 31, :end-line 31, :max-fixed-arity 2, :fn-var true, :arglists ([s1] [s1 s2] [s1 s2 & sets]), :doc "Return a set that is the intersection of the input sets"}, superset? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 137, :column 7, :end-line 137, :end-column 16, :arglists (quote ([set1 set2])), :doc "Is set1 a superset of set2?"}, :name clojure.set/superset?, :variadic false, :file "out/clojure/set.cljs", :end-column 16, :method-params ([set1 set2]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 137, :end-line 137, :max-fixed-arity 2, :fn-var true, :arglists (quote ([set1 set2])), :doc "Is set1 a superset of set2?"}, index {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 87, :column 7, :end-line 87, :end-column 12, :arglists (quote ([xrel ks])), :doc "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."}, :name clojure.set/index, :variadic false, :file "out/clojure/set.cljs", :end-column 12, :method-params ([xrel ks]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 87, :end-line 87, :max-fixed-arity 2, :fn-var true, :arglists (quote ([xrel ks])), :doc "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 {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 13, :column 8, :end-line 13, :end-column 22, :private true, :arglists (quote ([k coll]))}, :private true, :name clojure.set/bubble-max-key, :variadic false, :file "out/clojure/set.cljs", :end-column 22, :method-params ([k coll]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 13, :end-line 13, :max-fixed-arity 2, :fn-var true, :arglists (quote ([k coll]))}, subset? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 131, :column 7, :end-line 131, :end-column 14, :arglists (quote ([set1 set2])), :doc "Is set1 a subset of set2?"}, :name clojure.set/subset?, :variadic false, :file "out/clojure/set.cljs", :end-column 14, :method-params ([set1 set2]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 131, :end-line 131, :max-fixed-arity 2, :fn-var true, :arglists (quote ([set1 set2])), :doc "Is set1 a subset of set2?"}, rename {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 82, :column 7, :end-line 82, :end-column 13, :arglists (quote ([xrel kmap])), :doc "Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap"}, :name clojure.set/rename, :variadic false, :file "out/clojure/set.cljs", :end-column 13, :method-params ([xrel kmap]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 82, :end-line 82, :max-fixed-arity 2, :fn-var true, :arglists (quote ([xrel kmap])), :doc "Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap"}, rename-keys {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 72, :column 7, :end-line 72, :end-column 18, :arglists (quote ([map kmap])), :doc "Returns the map with the keys in kmap renamed to the vals in kmap"}, :name clojure.set/rename-keys, :variadic false, :file "out/clojure/set.cljs", :end-column 18, :method-params ([map kmap]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 72, :end-line 72, :max-fixed-arity 2, :fn-var true, :arglists (quote ([map kmap])), :doc "Returns the map with the keys in kmap renamed to the vals in kmap"}, project {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 67, :column 7, :end-line 67, :end-column 14, :arglists (quote ([xrel ks])), :doc "Returns a rel of the elements of xrel with only the keys in ks"}, :name clojure.set/project, :variadic false, :file "out/clojure/set.cljs", :end-column 14, :method-params ([xrel ks]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 67, :end-line 67, :max-fixed-arity 2, :fn-var true, :arglists (quote ([xrel ks])), :doc "Returns a rel of the elements of xrel with only the keys in ks"}, difference {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/set.cljs", :line 46, :column 7, :end-line 46, :end-column 17, :arglists (quote ([s1] [s1 s2] [s1 s2 & sets])), :doc "Return a set that is the first set without elements of the remaining sets", :top-fn {:variadic true, :max-fixed-arity 2, :method-params ([s1] [s1 s2]), :arglists ([s1] [s1 s2] [s1 s2 & sets]), :arglists-meta (nil nil nil)}}, :name clojure.set/difference, :variadic true, :file "out/clojure/set.cljs", :end-column 17, :top-fn {:variadic true, :max-fixed-arity 2, :method-params ([s1] [s1 s2]), :arglists ([s1] [s1 s2] [s1 s2 & sets]), :arglists-meta (nil nil nil)}, :method-params ([s1] [s1 s2]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :line 46, :end-line 46, :max-fixed-arity 2, :fn-var true, :arglists ([s1] [s1 s2] [s1 s2 & sets]), :doc "Return a set that is the first set without elements of the remaining sets"}}, :require-macros nil, :doc "Set operations such as union/intersection."} \ No newline at end of file diff --git a/assets/viz/2/clojure/set.js b/assets/viz/2/clojure/set.js new file mode 100644 index 0000000..4f9c5dc --- /dev/null +++ b/assets/viz/2/clojure/set.js @@ -0,0 +1,400 @@ +// Compiled by ClojureScript 1.9.473 {} +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__9452_SHARP_){ +return (max === p1__9452_SHARP_); +});})(max)) +,coll)); +}); +/** + * Return a set that is the union of the input sets + */ +clojure.set.union = (function clojure$set$union(var_args){ +var args9453 = []; +var len__7927__auto___9459 = arguments.length; +var i__7928__auto___9460 = (0); +while(true){ +if((i__7928__auto___9460 < len__7927__auto___9459)){ +args9453.push((arguments[i__7928__auto___9460])); + +var G__9461 = (i__7928__auto___9460 + (1)); +i__7928__auto___9460 = G__9461; +continue; +} else { +} +break; +} + +var G__9458 = args9453.length; +switch (G__9458) { +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 argseq__7946__auto__ = (new cljs.core.IndexedSeq(args9453.slice((2)),(0),null)); +return clojure.set.union.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7946__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)); +}); + +clojure.set.union.cljs$lang$applyTo = (function (seq9454){ +var G__9455 = cljs.core.first.call(null,seq9454); +var seq9454__$1 = cljs.core.next.call(null,seq9454); +var G__9456 = cljs.core.first.call(null,seq9454__$1); +var seq9454__$2 = cljs.core.next.call(null,seq9454__$1); +return clojure.set.union.cljs$core$IFn$_invoke$arity$variadic(G__9455,G__9456,seq9454__$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 args9464 = []; +var len__7927__auto___9470 = arguments.length; +var i__7928__auto___9471 = (0); +while(true){ +if((i__7928__auto___9471 < len__7927__auto___9470)){ +args9464.push((arguments[i__7928__auto___9471])); + +var G__9472 = (i__7928__auto___9471 + (1)); +i__7928__auto___9471 = G__9472; +continue; +} else { +} +break; +} + +var G__9469 = args9464.length; +switch (G__9469) { +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 argseq__7946__auto__ = (new cljs.core.IndexedSeq(args9464.slice((2)),(0),null)); +return clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7946__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__9474 = s2; +var G__9475 = s1; +s1 = G__9474; +s2 = G__9475; +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__9463_SHARP_){ +return (- cljs.core.count.call(null,p1__9463_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)); +}); + +clojure.set.intersection.cljs$lang$applyTo = (function (seq9465){ +var G__9466 = cljs.core.first.call(null,seq9465); +var seq9465__$1 = cljs.core.next.call(null,seq9465); +var G__9467 = cljs.core.first.call(null,seq9465__$1); +var seq9465__$2 = cljs.core.next.call(null,seq9465__$1); +return clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic(G__9466,G__9467,seq9465__$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 args9476 = []; +var len__7927__auto___9482 = arguments.length; +var i__7928__auto___9483 = (0); +while(true){ +if((i__7928__auto___9483 < len__7927__auto___9482)){ +args9476.push((arguments[i__7928__auto___9483])); + +var G__9484 = (i__7928__auto___9483 + (1)); +i__7928__auto___9483 = G__9484; +continue; +} else { +} +break; +} + +var G__9481 = args9476.length; +switch (G__9481) { +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 argseq__7946__auto__ = (new cljs.core.IndexedSeq(args9476.slice((2)),(0),null)); +return clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__7946__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)); +}); + +clojure.set.difference.cljs$lang$applyTo = (function (seq9477){ +var G__9478 = cljs.core.first.call(null,seq9477); +var seq9477__$1 = cljs.core.next.call(null,seq9477); +var G__9479 = cljs.core.first.call(null,seq9477__$1); +var seq9477__$2 = cljs.core.next.call(null,seq9477__$1); +return clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic(G__9478,G__9479,seq9477__$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__9486_SHARP_){ +return cljs.core.select_keys.call(null,p1__9486_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__9491){ +var vec__9492 = p__9491; +var old = cljs.core.nth.call(null,vec__9492,(0),null); +var new$ = cljs.core.nth.call(null,vec__9492,(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__9495_SHARP_){ +return clojure.set.rename_keys.call(null,p1__9495_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__9500){ +var vec__9501 = p__9500; +var k = cljs.core.nth.call(null,vec__9501,(0),null); +var v = cljs.core.nth.call(null,vec__9501,(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 args9508 = []; +var len__7927__auto___9517 = arguments.length; +var i__7928__auto___9518 = (0); +while(true){ +if((i__7928__auto___9518 < len__7927__auto___9517)){ +args9508.push((arguments[i__7928__auto___9518])); + +var G__9519 = (i__7928__auto___9518 + (1)); +i__7928__auto___9518 = G__9519; +continue; +} else { +} +break; +} + +var G__9510 = args9508.length; +switch (G__9510) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9508.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__9511 = (((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__9511,(0),null); +var s = cljs.core.nth.call(null,vec__9511,(1),null); +var idx = clojure.set.index.call(null,r,ks); +return cljs.core.reduce.call(null,((function (ks,vec__9511,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__9511,r,s,idx){ +return (function (p1__9504_SHARP_,p2__9505_SHARP_){ +return cljs.core.conj.call(null,p1__9504_SHARP_,cljs.core.merge.call(null,p2__9505_SHARP_,x)); +});})(found,ks,vec__9511,r,s,idx)) +,ret,found); +} else { +return ret; +} +});})(ks,vec__9511,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__9514 = (((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__9514,(0),null); +var s = cljs.core.nth.call(null,vec__9514,(1),null); +var k = cljs.core.nth.call(null,vec__9514,(2),null); +var idx = clojure.set.index.call(null,r,cljs.core.vals.call(null,k)); +return cljs.core.reduce.call(null,((function (vec__9514,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__9514,r,s,k,idx){ +return (function (p1__9506_SHARP_,p2__9507_SHARP_){ +return cljs.core.conj.call(null,p1__9506_SHARP_,cljs.core.merge.call(null,p2__9507_SHARP_,x)); +});})(found,vec__9514,r,s,k,idx)) +,ret,found); +} else { +return ret; +} +});})(vec__9514,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__9521_SHARP_){ +return cljs.core.contains_QMARK_.call(null,set2,p1__9521_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__9522_SHARP_){ +return cljs.core.contains_QMARK_.call(null,set1,p1__9522_SHARP_); +}),set2)); +}); + +//# sourceMappingURL=set.js.map \ No newline at end of file diff --git a/assets/viz/2/clojure/set.js.map b/assets/viz/2/clojure/set.js.map new file mode 100644 index 0000000..94818dd --- /dev/null +++ b/assets/viz/2/clojure/set.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/clojure\/set.js","sources":["set.cljs"],"line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C;AAFR,AAGE,QAAK,CAAI,AAAC9E,0BAAM6E,SAAM,AAAC7E,0BAAM8E,YACxB,iCAAA,WAAAC,5CAACC;AAAD,AAAS,gDAAAD,zCAAChE,oCAAU+D;GAAQD;;AAEnC;;;8BAAA,9BAAMI,oEAEHJ,KAAKC;AAFR,AAGE,QAAK,CAAI,AAAC9E,0BAAM6E,SAAM,AAAC7E,0BAAM8E,YACxB,iCAAA,WAAAI,5CAACF;AAAD,AAAS,gDAAAE,zCAACnE,oCAAU8D;GAAQC;;AAEnC","names":["clojure.set\/bubble-max-key","k","coll","max","cljs.core\/apply","cljs.core\/max-key","cljs.core\/cons","p1__9452#","cljs.core\/remove","var_args","args9453","len__7927__auto__","i__7928__auto__","G__9458","clojure.set\/union","argseq__7946__auto__","cljs.core\/IndexedSeq","seq9454","G__9455","cljs.core\/first","cljs.core\/next","G__9456","s1","s2","cljs.core\/count","cljs.core\/reduce","cljs.core\/conj","sets","bubbled-sets","cljs.core\/into","cljs.core\/rest","args9464","G__9469","clojure.set\/intersection","seq9465","G__9466","G__9467","result","item","cljs.core\/contains?","cljs.core\/disj","p1__9463#","args9476","G__9481","clojure.set\/difference","seq9477","G__9478","G__9479","clojure.set\/select","pred","xset","s","clojure.set\/project","xrel","ks","cljs.core\/set","p1__9486#","cljs.core\/map","cljs.core\/select-keys","clojure.set\/rename-keys","map","kmap","p__9491","vec__9492","cljs.core\/nth","m","old","new","cljs.core\/assoc","cljs.core\/get","cljs.core\/dissoc","cljs.core\/keys","clojure.set\/rename","p1__9495#","clojure.set\/index","x","ik","clojure.set\/map-invert","p__9500","vec__9501","v","args9508","G__9510","clojure.set\/join","js\/Error","yrel","cljs.core\/seq","vec__9511","r","idx","ret","found","p1__9504#","p2__9505#","cljs.core\/merge","km","vec__9514","cljs.core\/vals","p1__9506#","p2__9507#","clojure.set\/subset?","set1","set2","p1__9521#","cljs.core\/every?","clojure.set\/superset?","p1__9522#"]} \ No newline at end of file diff --git a/assets/viz/2/clojure/string.cljs b/assets/viz/2/clojure/string.cljs new file mode 100644 index 0000000..4cf5ede --- /dev/null +++ b/assets/viz/2/clojure/string.cljs @@ -0,0 +1,258 @@ +; 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] + (.replace s (js/RegExp. (.-source re) "g") 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)." + [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)." + [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] + (if (< (count s) 2) + (upper-case s) + (str (upper-case (subs s 0 1)) + (lower-case (subs s 1))))) + +;; 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/assets/viz/2/clojure/string.cljs.cache.edn b/assets/viz/2/clojure/string.cljs.cache.edn new file mode 100644 index 0000000..e4ac146 --- /dev/null +++ b/assets/viz/2/clojure/string.cljs.cache.edn @@ -0,0 +1 @@ +{:rename-macros {}, :renames {}, :externs {RegExp {}, Error {}}, :use-macros {}, :excludes #{reverse replace}, :name clojure.string, :imports {StringBuffer goog.string.StringBuffer}, :requires {gstring goog.string, goog.string goog.string, StringBuffer goog.string.StringBuffer}, :uses nil, :defs {ends-with? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 250, :column 16, :end-line 250, :end-column 26, :tag boolean, :arglists (quote ([s substr])), :doc "True if s ends with substr."}, :name clojure.string/ends-with?, :variadic false, :file "out/clojure/string.cljs", :end-column 26, :method-params ([s substr]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 250, :ret-tag boolean, :end-line 250, :max-fixed-arity 2, :tag boolean, :fn-var true, :arglists (quote ([s substr])), :doc "True if s ends with substr."}, seq-reverse {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 14, :column 8, :end-line 14, :end-column 19, :private true, :arglists (quote ([coll]))}, :private true, :name clojure.string/seq-reverse, :variadic false, :file "out/clojure/string.cljs", :end-column 19, :method-params ([coll]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 14, :end-line 14, :max-fixed-arity 1, :fn-var true, :arglists (quote ([coll]))}, replace-with {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 31, :column 8, :end-line 31, :end-column 20, :private true, :arglists (quote ([f]))}, :private true, :name clojure.string/replace-with, :variadic false, :file "out/clojure/string.cljs", :end-column 20, :method-params ([f]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 31, :end-line 31, :max-fixed-arity 1, :fn-var true, :arglists (quote ([f]))}, capitalize {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 95, :column 7, :end-line 95, :end-column 17, :arglists (quote ([s])), :doc "Converts first character of the string to upper-case, all other\n characters to lower-case."}, :name clojure.string/capitalize, :variadic false, :file "out/clojure/string.cljs", :end-column 17, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 95, :end-line 95, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Converts first character of the string to upper-case, all other\n characters to lower-case."}, reverse {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 21, :column 7, :end-line 21, :end-column 14, :arglists (quote ([s])), :doc "Returns s with its characters reversed."}, :name clojure.string/reverse, :variadic false, :file "out/clojure/string.cljs", :end-column 14, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 21, :end-line 21, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Returns s with its characters reversed."}, join {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 66, :column 7, :end-line 66, :end-column 11, :arglists (quote ([coll] [separator coll])), :doc "Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator.", :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([coll] [separator coll]), :arglists ([coll] [separator coll]), :arglists-meta (nil nil)}}, :name clojure.string/join, :variadic false, :file "out/clojure/string.cljs", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([coll] [separator coll]), :arglists ([coll] [separator coll]), :arglists-meta (nil nil)}, :method-params ([coll] [separator coll]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 66, :end-line 66, :max-fixed-arity 2, :fn-var true, :arglists ([coll] [separator coll]), :doc "Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator."}, replace-first {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 57, :column 7, :end-line 57, :end-column 20, :arglists (quote ([s match replacement])), :doc "Replaces the first instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."}, :name clojure.string/replace-first, :variadic false, :file "out/clojure/string.cljs", :end-column 20, :method-params ([s match replacement]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 57, :end-line 57, :max-fixed-arity 3, :fn-var true, :arglists (quote ([s match replacement])), :doc "Replaces the first instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."}, starts-with? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 245, :column 16, :end-line 245, :end-column 28, :tag boolean, :arglists (quote ([s substr])), :doc "True if s starts with substr."}, :name clojure.string/starts-with?, :variadic false, :file "out/clojure/string.cljs", :end-column 28, :method-params ([s substr]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 245, :ret-tag boolean, :end-line 245, :max-fixed-arity 2, :tag boolean, :fn-var true, :arglists (quote ([s substr])), :doc "True if s starts with substr."}, escape {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 198, :column 7, :end-line 198, :end-column 13, :arglists (quote ([s cmap])), :doc "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."}, :name clojure.string/escape, :variadic false, :file "out/clojure/string.cljs", :end-column 13, :method-params ([s cmap]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 198, :end-line 198, :max-fixed-arity 2, :fn-var true, :arglists (quote ([s cmap])), :doc "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 {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 27, :column 8, :end-line 27, :end-column 19, :private true, :arglists (quote ([s re replacement]))}, :private true, :name clojure.string/replace-all, :variadic false, :file "out/clojure/string.cljs", :end-column 19, :method-params ([s re replacement]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 27, :end-line 27, :max-fixed-arity 3, :fn-var true, :arglists (quote ([s re replacement]))}, discard-trailing-if-needed {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 120, :column 8, :end-line 120, :end-column 34, :private true, :arglists (quote ([limit v]))}, :private true, :name clojure.string/discard-trailing-if-needed, :variadic false, :file "out/clojure/string.cljs", :end-column 34, :method-params ([limit v]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 120, :end-line 120, :max-fixed-arity 2, :fn-var true, :arglists (quote ([limit v]))}, last-index-of {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 231, :column 7, :end-line 231, :end-column 20, :arglists (quote ([s value] [s value from-index])), :doc "Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found.", :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s value] [s value from-index]), :arglists ([s value] [s value from-index]), :arglists-meta (nil nil)}}, :name clojure.string/last-index-of, :variadic false, :file "out/clojure/string.cljs", :end-column 20, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s value] [s value from-index]), :arglists ([s value] [s value from-index]), :arglists-meta (nil nil)}, :method-params ([s value] [s value from-index]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 231, :end-line 231, :max-fixed-arity 3, :fn-var true, :arglists ([s value] [s value from-index]), :doc "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 {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 113, :column 8, :end-line 113, :end-column 28, :private true, :arglists (quote ([v]))}, :private true, :name clojure.string/pop-last-while-empty, :variadic false, :file "out/clojure/string.cljs", :end-column 28, :method-params ([v]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 113, :end-line 113, :max-fixed-arity 1, :fn-var true, :arglists (quote ([v]))}, includes? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 255, :column 16, :end-line 255, :end-column 25, :tag boolean, :arglists (quote ([s substr])), :doc "True if s includes substr."}, :name clojure.string/includes?, :variadic false, :file "out/clojure/string.cljs", :end-column 25, :method-params ([s substr]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 255, :ret-tag boolean, :end-line 255, :max-fixed-arity 2, :tag boolean, :fn-var true, :arglists (quote ([s substr])), :doc "True if s includes substr."}, replace {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 39, :column 7, :end-line 39, :end-column 14, :arglists (quote ([s match replacement])), :doc "Replaces all instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."}, :name clojure.string/replace, :variadic false, :file "out/clojure/string.cljs", :end-column 14, :method-params ([s match replacement]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 39, :end-line 39, :max-fixed-arity 3, :fn-var true, :arglists (quote ([s match replacement])), :doc "Replaces all instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."}, split-lines {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 160, :column 7, :end-line 160, :end-column 18, :arglists (quote ([s])), :doc "Splits s on \n or \r\n."}, :name clojure.string/split-lines, :variadic false, :file "out/clojure/string.cljs", :end-column 18, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 160, :end-line 160, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Splits s on \n or \r\n."}, lower-case {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 90, :column 7, :end-line 90, :end-column 17, :arglists (quote ([s])), :doc "Converts string to all lower-case."}, :name clojure.string/lower-case, :variadic false, :file "out/clojure/string.cljs", :end-column 17, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 90, :end-line 90, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Converts string to all lower-case."}, trim-newline {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 180, :column 7, :end-line 180, :end-column 19, :arglists (quote ([s])), :doc "Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."}, :name clojure.string/trim-newline, :variadic false, :file "out/clojure/string.cljs", :end-column 19, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 180, :end-line 180, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."}, upper-case {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 85, :column 7, :end-line 85, :end-column 17, :arglists (quote ([s])), :doc "Converts string to all upper-case."}, :name clojure.string/upper-case, :variadic false, :file "out/clojure/string.cljs", :end-column 17, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 85, :end-line 85, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Converts string to all upper-case."}, split {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 136, :column 7, :end-line 136, :end-column 12, :arglists (quote ([s re] [s re limit])), :doc "Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits.", :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s re] [s re limit]), :arglists ([s re] [s re limit]), :arglists-meta (nil nil)}}, :name clojure.string/split, :variadic false, :file "out/clojure/string.cljs", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s re] [s re limit]), :arglists ([s re] [s re limit]), :arglists-meta (nil nil)}, :method-params ([s re] [s re limit]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 136, :end-line 136, :max-fixed-arity 3, :fn-var true, :arglists ([s re] [s re limit]), :doc "Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits."}, trimr {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 175, :column 7, :end-line 175, :end-column 12, :arglists (quote ([s])), :doc "Removes whitespace from the right side of string."}, :name clojure.string/trimr, :variadic false, :file "out/clojure/string.cljs", :end-column 12, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 175, :end-line 175, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Removes whitespace from the right side of string."}, index-of {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 217, :column 7, :end-line 217, :end-column 15, :arglists (quote ([s value] [s value from-index])), :doc "Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found.", :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s value] [s value from-index]), :arglists ([s value] [s value from-index]), :arglists-meta (nil nil)}}, :name clojure.string/index-of, :variadic false, :file "out/clojure/string.cljs", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s value] [s value from-index]), :arglists ([s value] [s value from-index]), :arglists-meta (nil nil)}, :method-params ([s value] [s value from-index]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 217, :end-line 217, :max-fixed-arity 3, :fn-var true, :arglists ([s value] [s value from-index]), :doc "Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found."}, trim {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 165, :column 7, :end-line 165, :end-column 11, :arglists (quote ([s])), :doc "Removes whitespace from both ends of string."}, :name clojure.string/trim, :variadic false, :file "out/clojure/string.cljs", :end-column 11, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 165, :end-line 165, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Removes whitespace from both ends of string."}, triml {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 170, :column 7, :end-line 170, :end-column 12, :arglists (quote ([s])), :doc "Removes whitespace from the left side of string."}, :name clojure.string/triml, :variadic false, :file "out/clojure/string.cljs", :end-column 12, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 170, :end-line 170, :max-fixed-arity 1, :fn-var true, :arglists (quote ([s])), :doc "Removes whitespace from the left side of string."}, blank? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 193, :column 16, :end-line 193, :end-column 22, :tag boolean, :arglists (quote ([s])), :doc "True is s is nil, empty, or contains only whitespace."}, :name clojure.string/blank?, :variadic false, :file "out/clojure/string.cljs", :end-column 22, :method-params ([s]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 193, :ret-tag boolean, :end-line 193, :max-fixed-arity 1, :tag boolean, :fn-var true, :arglists (quote ([s])), :doc "True is s is nil, empty, or contains only whitespace."}, re-surrogate-pair {:name clojure.string/re-surrogate-pair, :file "out/clojure/string.cljs", :line 18, :column 1, :end-line 18, :end-column 33, :private true, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 18, :column 16, :end-line 18, :end-column 33, :private true}, :tag js/RegExp}, split-with-empty-regex {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/clojure/string.cljs", :line 126, :column 8, :end-line 126, :end-column 30, :private true, :arglists (quote ([s limit]))}, :private true, :name clojure.string/split-with-empty-regex, :variadic false, :file "out/clojure/string.cljs", :end-column 30, :method-params ([s limit]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 126, :end-line 126, :max-fixed-arity 2, :fn-var true, :arglists (quote ([s limit]))}}, :require-macros nil, :cljs.analyzer/constants {:seen #{:else}, :order [:else]}, :doc nil} \ No newline at end of file diff --git a/assets/viz/2/clojure/string.js b/assets/viz/2/clojure/string.js new file mode 100644 index 0000000..b2f5754 --- /dev/null +++ b/assets/viz/2/clojure/string.js @@ -0,0 +1,505 @@ +// Compiled by ClojureScript 1.9.473 {} +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){ +return s.replace((new RegExp(re.source,"g")),replacement); +}); +clojure.string.replace_with = (function clojure$string$replace_with(f){ +return (function() { +var G__8074__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__8074 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__8075__i = 0, G__8075__a = new Array(arguments.length - 0); +while (G__8075__i < G__8075__a.length) {G__8075__a[G__8075__i] = arguments[G__8075__i + 0]; ++G__8075__i;} + args = new cljs.core.IndexedSeq(G__8075__a,0); +} +return G__8074__delegate.call(this,args);}; +G__8074.cljs$lang$maxFixedArity = 0; +G__8074.cljs$lang$applyTo = (function (arglist__8076){ +var args = cljs.core.seq(arglist__8076); +return G__8074__delegate(args); +}); +G__8074.cljs$core$IFn$_invoke$arity$variadic = G__8074__delegate; +return G__8074; +})() +; +}); +/** + * Replaces all instance of match with replacement in s. + * match/replacement can be: + * + * string / string + * pattern / (string or function of match). + */ +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 [cljs.core.str.cljs$core$IFn$_invoke$arity$1("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). + */ +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 args8077 = []; +var len__7927__auto___8080 = arguments.length; +var i__7928__auto___8081 = (0); +while(true){ +if((i__7928__auto___8081 < len__7927__auto___8080)){ +args8077.push((arguments[i__7928__auto___8081])); + +var G__8082 = (i__7928__auto___8081 + (1)); +i__7928__auto___8081 = G__8082; +continue; +} else { +} +break; +} + +var G__8079 = args8077.length; +switch (G__8079) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8077.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__8084 = sb.append([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,coll__$1))].join('')); +var G__8085 = cljs.core.next.call(null,coll__$1); +sb = G__8084; +coll__$1 = G__8085; +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__8086 = sb; +var G__8087 = coll__$2; +sb = G__8086; +coll__$1 = G__8087; +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){ +if((cljs.core.count.call(null,s) < (2))){ +return clojure.string.upper_case.call(null,s); +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.upper_case.call(null,cljs.core.subs.call(null,s,(0),(1)))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(clojure.string.lower_case.call(null,cljs.core.subs.call(null,s,(1))))].join(''); +} +}); +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__8088 = cljs.core.pop.call(null,v__$1); +v__$1 = G__8088; +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__8092 = cljs.core._EQ__EQ_; +var expr__8093 = limit; +if(cljs.core.truth_(pred__8092.call(null,(1),expr__8093))){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[s],null)); +} else { +if(cljs.core.truth_(pred__8092.call(null,(2),expr__8093))){ +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 args8095 = []; +var len__7927__auto___8098 = arguments.length; +var i__7928__auto___8099 = (0); +while(true){ +if((i__7928__auto___8099 < len__7927__auto___8098)){ +args8095.push((arguments[i__7928__auto___8099])); + +var G__8100 = (i__7928__auto___8099 + (1)); +i__7928__auto___8099 = G__8100; +continue; +} else { +} +break; +} + +var G__8097 = args8095.length; +switch (G__8097) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8095.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__8102 = s__$1.substring((index + cljs.core.count.call(null,m))); +var G__8103 = (limit__$1 - (1)); +var G__8104 = cljs.core.conj.call(null,parts,s__$1.substring((0),index)); +s__$1 = G__8102; +limit__$1 = G__8103; +parts = G__8104; +continue; +} else { +return cljs.core.conj.call(null,parts,s__$1); +} +} +break; +} +})()))); +}); + +clojure.string.split.cljs$lang$maxFixedArity = 3; + +/** + * Splits s on + * or + * . + */ +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__8105 = (index - (1)); +index = G__8105; +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__8106 = (index + (1)); +index = G__8106; +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 args8107 = []; +var len__7927__auto___8110 = arguments.length; +var i__7928__auto___8111 = (0); +while(true){ +if((i__7928__auto___8111 < len__7927__auto___8110)){ +args8107.push((arguments[i__7928__auto___8111])); + +var G__8112 = (i__7928__auto___8111 + (1)); +i__7928__auto___8111 = G__8112; +continue; +} else { +} +break; +} + +var G__8109 = args8107.length; +switch (G__8109) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8107.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 args8114 = []; +var len__7927__auto___8117 = arguments.length; +var i__7928__auto___8118 = (0); +while(true){ +if((i__7928__auto___8118 < len__7927__auto___8117)){ +args8114.push((arguments[i__7928__auto___8118])); + +var G__8119 = (i__7928__auto___8118 + (1)); +i__7928__auto___8118 = G__8119; +continue; +} else { +} +break; +} + +var G__8116 = args8114.length; +switch (G__8116) { +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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8114.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 \ No newline at end of file diff --git a/assets/viz/2/clojure/string.js.map b/assets/viz/2/clojure/string.js.map new file mode 100644 index 0000000..12d3b4d --- /dev/null +++ b/assets/viz/2/clojure/string.js.map @@ -0,0 +1 @@ +{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/clojure\/string.js","sources":["string.cljs"],"lineCount":505,"mappings":";AAQA;;;;AAKA,6BAAA,7BAAOA,kEACJC;AADH,AAEE,iDAAA,1CAACC,2BAAOC,oCAAQF;;AAElB,AAAeG,mCACb,KAAAC,OAAA,yCAAA;AAEF;;;yBAAA,zBAAMC,0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cljs.core\/reduce","cljs.core\/conj","clojure.string\/re-surrogate-pair","js\/RegExp","clojure.string\/reverse","s","clojure.string\/replace-all","re","replacement","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","args8077","len__7927__auto__","i__7928__auto__","G__8079","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","cljs.core\/subs","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__8092","expr__8093","cljs.core\/==","cljs.core\/PersistentVector","c","cljs.core\/subvec","args8095","G__8097","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","args8107","G__8109","clojure.string\/index-of","value","result","from-index","args8114","G__8116","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/assets/viz/2/goog/array/array.js b/assets/viz/2/goog/array/array.js new file mode 100644 index 0000000..4fdfcaf --- /dev/null +++ b/assets/viz/2/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(Array.prototype, 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(Array.prototype, 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/assets/viz/2/goog/asserts/asserts.js b/assets/viz/2/goog/asserts/asserts.js new file mode 100644 index 0000000..1f4b653 --- /dev/null +++ b/assets/viz/2/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/assets/viz/2/goog/base.js b/assets/viz/2/goog/base.js new file mode 100644 index 0000000..97a9947 --- /dev/null +++ b/assets/viz/2/goog/base.js @@ -0,0 +1,2727 @@ +// 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 write out 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. + * + * @author arv@google.com (Erik Arvidsson) + * + * @provideGoog + */ + + +/** + * @define {boolean} Overridden to true by the compiler when + * --process_closure_primitives is specified. + */ +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. + * WARNING: Do not use this to test if an object has a property. Use the in + * operator instead. + * + * @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; +}; + + +/** + * 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]); + } + + // Certain browsers cannot parse code in the form for((a in b); c;); + // This pattern is produced by the JSCompiler when it collapses the + // statement above into the conditional loop below. To prevent this from + // happening, use a for-loop and reserve the init logic as below. + + // Parentheses added to eliminate strict JS warning in Firefox. + 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 = 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 && + Object.prototype.hasOwnProperty.call( + goog.global.CLOSURE_UNCOMPILED_DEFINES, name)) { + value = goog.global.CLOSURE_UNCOMPILED_DEFINES[name]; + } else if ( + goog.global.CLOSURE_DEFINES && + 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 js_binary can be easily stripped + * by specifying --define goog.DEBUG=false to the 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 JSCompiler + * 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), see http://wiki/Main/IIISynonyms. + */ +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 JSCompiler. + */ +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. + */ +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.'); + } + 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 (goog.isProvided_(name)) { + // goog.require only return a value with-in goog.module files. + return name in goog.loadedModules_ ? goog.loadedModules_[name] : + goog.getObjectByName(name); + } else { + 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. + * + * + * @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 is being 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 JSCompiler when the --process_closure_primitives option is + * used. + * @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 do 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 { + return null; + } + } + + if (goog.ENABLE_DEBUG_LOADER) { + var path = goog.getPathFromDeps_(name); + if (path) { + goog.writeScripts_(path); + return null; + } + } + + var errorMessage = 'goog.require could not find: ' + name; + goog.logToConsole_(errorMessage); + + throw Error(errorMessage); + } +}; + + +/** + * 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 write out Closure's deps file. By default, the deps are written. + * @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. + * + * Note: This does not take the name of the function to override as an argument + * because that would make it more difficult to obfuscate our JavaScript code. + * + * @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) { + 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)) { + goog.basePath = goog.global.CLOSURE_BASE_PATH; + return; + } else if (!goog.inHtmlDocument_()) { + return; + } + /** @type {Document} */ + var doc = goog.global.document; + 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); + + + /** + * 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); + } + } + }; + + + /** + * 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] || {}; + if (path && (loadFlags['module'] == 'goog' || + goog.needsTranspile_(loadFlags['lang']))) { + 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); + }; + + + /** + * @param {function(?):?|string} moduleDef The module definition. + */ + goog.loadModule = function(moduleDef) { + // NOTE: we allow function definitions to be either in the from + // of a string to eval (which keeps the original source intact) or + // in a eval forbidden environment (CSP) we allow a function definition + // which in its body must call {@code goog.module}, and return the exports + // of the module. + var previousState = goog.moduleLoaderState_; + try { + goog.moduleLoaderState_ = { + moduleName: undefined, + declareLegacyNamespace: false + }; + var exports; + if (goog.isFunction(moduleDef)) { + exports = moduleDef.call(goog.global, {}); + } else if (goog.isString(moduleDef)) { + exports = goog.loadModuleFromSource_.call(goog.global, moduleDef); + } else { + throw Error('Invalid module definition'); + } + + var moduleName = goog.moduleLoaderState_.moduleName; + if (!goog.isString(moduleName) || !moduleName) { + throw Error('Invalid module name \"' + moduleName + '\"'); + } + + // Don't seal legacy namespaces as they may be uses as a parent of + // another namespace + if (goog.moduleLoaderState_.declareLegacyNamespace) { + goog.constructNamespace_(moduleName, exports); + } else if (goog.SEAL_MODULE_EXPORTS && Object.seal) { + Object.seal(exports); + } + + goog.loadedModules_[moduleName] = exports; + } finally { + goog.moduleLoaderState_ = previousState; + } + }; + + + /** + * @private @const {function(string):?} + * + * The new type inference warns because this function has no formal + * parameters, but its jsdoc says that it takes one argument. + * (The argument is used via arguments[0], but NTI does not detect this.) + * @suppress {newCheckTypes} + */ + goog.loadModuleFromSource_ = function() { + // NOTE: we avoid declaring parameters or local variables here to avoid + // masking globals or leaking values into the module definition. + 'use strict'; + var exports = {}; + eval(arguments[0]); + return exports; + }; + + + /** + * 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( + '