squint-cljs 0.8.128 → 0.8.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var squint;(squint||={}).core=(()=>{var Z=Object.defineProperty;var ve=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Ee=Object.prototype.hasOwnProperty;var Re=(t,e)=>{for(var n in e)Z(t,n,{get:e[n],enumerable:!0})},Se=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Me(e))!Ee.call(t,o)&&o!==n&&Z(t,o,{get:()=>e[o],enumerable:!(r=ve(e,o))||r.enumerable});return t};var ke=t=>Se(Z({},"__esModule",{value:!0}),t);var ko={};Re(ko,{Atom:()=>Ft,Cons:()=>zt,Delay:()=>Ro,IIterable:()=>rt,IIterable__iterator:()=>Ot,LazySeq:()=>pr,NaN_QMARK_:()=>Fr,PROTOCOL_SENTINEL:()=>ln,_:()=>Ne,_EQ_:()=>Qe,_GT_:()=>bt,_GT__EQ_:()=>At,_LT_:()=>Ke,_LT__EQ_:()=>Ie,_PLUS_:()=>je,_STAR_:()=>Te,__protocol_satisfies:()=>Oe,_iterator:()=>L,abs:()=>yo,aclone:()=>Qr,add_watch:()=>Kr,alength:()=>Er,apply:()=>An,array_QMARK_:()=>V,aset:()=>Rr,assoc:()=>k,assoc_BANG_:()=>b,assoc_in:()=>Mt,assoc_in_BANG_:()=>Et,atom:()=>hn,boolean$:()=>gr,boolean_QMARK_:()=>Hr,bounded_count:()=>to,butlast:()=>hr,cat:()=>bo,clj__GT_js:()=>So,coll_QMARK_:()=>pe,comp:()=>$e,compare:()=>v,complement:()=>ct,concat:()=>Vt,conj:()=>St,conj_BANG_:()=>z,cons:()=>Ze,constantly:()=>Mn,contains_QMARK_:()=>Qt,count:()=>O,counted_QMARK_:()=>de,cycle:()=>Yn,dec:()=>Ce,deref:()=>ot,disj:()=>Fe,disj_BANG_:()=>kt,dissoc:()=>Ye,dissoc_BANG_:()=>Pe,distinct:()=>Wn,doall:()=>kr,dorun:()=>Sr,drop:()=>X,drop_last:()=>_r,drop_while:()=>ne,empty:()=>W,empty_QMARK_:()=>ir,ensure_reduced:()=>ee,es6_iterator:()=>$,even_QMARK_:()=>Ct,every_QMARK_:()=>re,every_pred:()=>Tr,ex_cause:()=>Wr,ex_data:()=>Dr,ex_info:()=>Jr,ex_message:()=>Vr,false_QMARK_:()=>mr,ffirst:()=>Ve,filter:()=>C,filterv:()=>tn,find:()=>eo,first:()=>Q,flatten:()=>fo,fn_QMARK_:()=>Lr,fnil:()=>ht,frequencies:()=>ar,get:()=>w,get_in:()=>pt,group_by:()=>lr,identical_QMARK_:()=>Bn,identity:()=>Wt,inc:()=>Kt,int_QMARK_:()=>he,integer_QMARK_:()=>Ur,interleave:()=>Jt,interpose:()=>kn,into:()=>lt,into_array:()=>se,iterable:()=>s,iterate:()=>Or,js_keys:()=>Pr,js_obj:()=>Mr,juxt:()=>Gr,keep:()=>Hn,keep_indexed:()=>cn,key:()=>Ht,keys:()=>ae,last:()=>We,lazy:()=>a,list:()=>Dt,list_QMARK_:()=>En,long$:()=>mo,map:()=>M,map_QMARK_:()=>ce,map_indexed:()=>rn,mapcat:()=>Rn,mapv:()=>it,max:()=>ie,max_key:()=>oo,memoize:()=>Ao,merge:()=>On,merge_with:()=>Gn,meta:()=>Xr,min:()=>jr,min_key:()=>ro,mod:()=>no,neg_QMARK_:()=>Ar,next:()=>tt,nil_QMARK_:()=>fn,nnext:()=>qr,not:()=>Lt,not_any_QMARK_:()=>or,not_empty:()=>so,not_every_QMARK_:()=>Xn,nth:()=>jt,number_QMARK_:()=>le,object_QMARK_:()=>ze,odd_QMARK_:()=>vn,parse_long:()=>io,partial:()=>Pn,partition:()=>Xt,partition_all:()=>Ut,partition_by:()=>Nn,partitionv:()=>In,partitionv_all:()=>jn,peek:()=>vo,persistent_BANG_:()=>ao,pop:()=>Mo,pos_QMARK_:()=>vr,pr_str:()=>$t,println:()=>It,prn:()=>pn,quot:()=>ye,rand_int:()=>ue,rand_nth:()=>cr,range:()=>dn,re_find:()=>yn,re_matches:()=>xn,re_pattern:()=>mn,re_seq:()=>$r,reduce:()=>K,reduce_kv:()=>xt,reduced:()=>P,reduced_QMARK_:()=>A,reductions:()=>Ue,regexp_QMARK_:()=>Cr,rem:()=>ge,remove:()=>en,remove_watch:()=>Ir,repeat:()=>at,repeatedly:()=>fr,replace:()=>ur,reset_BANG_:()=>Pt,rest:()=>F,reverse:()=>tr,satisfies_QMARK_:()=>Ge,second:()=>De,select_keys:()=>Qn,seq:()=>R,seq_QMARK_:()=>Tt,seqable_QMARK_:()=>Nt,sequential_QMARK_:()=>H,set:()=>bn,shuffle:()=>rr,some:()=>oe,some_QMARK_:()=>wr,some_fn:()=>Nr,sort:()=>_t,sort_by:()=>nr,sorted_set:()=>po,split_at:()=>dr,split_with:()=>xr,str:()=>sn,string_QMARK_:()=>yt,subs:()=>fe,subseq:()=>xo,subvec:()=>wn,swap_BANG_:()=>_n,system_time:()=>qn,t:()=>zr,take:()=>J,take_nth:()=>Fn,take_while:()=>U,to_array:()=>Br,transduce:()=>wt,transient$:()=>lo,tree_seq:()=>me,true_QMARK_:()=>yr,truth_:()=>_,type:()=>wo,unreduced:()=>ft,update:()=>Jn,update_BANG_:()=>dt,update_in:()=>Un,update_keys:()=>Eo,update_vals:()=>be,val:()=>te,vals:()=>Yr,vec:()=>S,vector:()=>ut,vector_QMARK_:()=>gn,warn_on_lazy_reusage_BANG_:()=>Xe,with_meta:()=>Zr,zero_QMARK_:()=>br,zipmap:()=>co});function f(t){if(t==null||t instanceof Function)return t;const e=typeof t;return e==="string"?(n,r)=>w(n,t,r):e==="object"?(n,r)=>w(t,n,r):t}function I(t,e){return t.every(function(n,r){return r===0||e(t[r-1],n)})}function Qe(...t){return I(t,(e,n)=>e===n)}function bt(...t){return I(t,(e,n)=>e>n)}function At(...t){return I(t,(e,n)=>e>=n)}function Ke(...t){return I(t,(e,n)=>e<n)}function Ie(...t){return I(t,(e,n)=>e<=n)}function je(...t){return t.reduce((e,n)=>e+n,0)}function Te(...t){return t.reduce((e,n)=>e*n,1)}function Ne(...t){return t.length==1?0-t[0]:t.reduce((e,n)=>e-n)}const Oe={};function Ge(t,e){return e==null?t[null]:typeof t=="symbol"?e[t]:e[t.__sym]}function qe(t,e,n){return t.set(e,n),t}function Be(t,e,n){return t[e]=n,t}function vt(t){switch(p(t)){case h:return qe;case x:case y:return Be}}function b(t,e,n,...r){if(r.length%2!==0)throw new Error("Illegal argument: assoc expects an odd number of arguments.");switch(p(t)){case h:t.set(e,n);for(let o=0;o<r.length;o+=2)t.set(r[o],r[o+1]);break;case x:case y:t[e]=n;for(let o=0;o<r.length;o+=2)t[r[o]]=r[o+1];break;default:throw new Error(`Illegal argument: assoc! expects a Map, Array, or Object as the first argument, but got ${typeof t}.`)}return t}function j(t){switch(p(t)){case h:return new Map(t);case m:return new t.constructor(t);case x:return[...t];case y:return{...t};default:throw new Error(`Don't know how to copy object of type ${typeof t}.`)}}function k(t,e,n,...r){t||(t={});const o=j(t);return b(o,e,n,...r),o}const h=1,x=2,y=3,E=4,m=5,G=6;function q(t){switch(t){case h:return new Map;case x:return[];case y:return{};case E:return new D;case m:return new Set;case G:return a(function*(){})}}function B(t){return t.constructor===Object}function ze(t){return t!=null&&B(t)}function p(t){if(t!=null){if(B(t))return y;if(t instanceof Map)return h;if(t instanceof Set)return m;if(t instanceof D)return E;if(Array.isArray(t))return x;if(t instanceof Y)return G;if(t instanceof T)return m;if(t instanceof Object)return y}}function Le(t,e,n,r,o){r=S(r);const u=p(n);if(u!==h&&u!==x&&u!==y)throw new Error(`Illegal argument: ${e} expects the first argument to be a Map, Array, or Object.`);const i=[n];let c=n;for(let l=0;l<r.length-1;l+=1){const g=r[l];let d;c instanceof Map?d=c.get(g):d=c[g],d||(d=q(u)),i.push(d),c=d}i.push(o);for(let l=i.length-2;l>=0;l-=1)i[l]=t(i[l],r[l],i[l+1]);return i[0]}function Mt(t,e,n){return Le(k,"assoc-in",t,e,n)}function Et(t,e,n){e=S(e);var r=t;const o=p(t);for(const u of e.splice(0,e.length-1)){let i=w(r,u);i===void 0&&(i=q(o),b(r,u,i)),r=i}return b(r,e[e.length-1],n),t}function $e(...t){if(t=t.map(f),t.length===0)return Wt;if(t.length===1)return t[0];const[e,...n]=t.slice().reverse();return function(...r){let o=e(...r);for(const u of n)o=u(o);return o}}function Rt(t,e){for(const n of e)t.add(n);return t}function z(...t){if(t.length===0)return ut();const[e,...n]=t;let r=e;switch(r==null&&(r=[]),p(r)){case m:Rt(r,n);break;case E:r.unshift(...n.reverse());break;case x:r.push(...n);break;case h:for(const o of n)Array.isArray(o)?r.set(o[0],o[1]):s(o).forEach(u=>{r.set(u[0],u[1])});break;case y:for(const o of n)Array.isArray(o)?r[o[0]]=o[1]:Object.assign(r,o);break;default:throw new Error("Illegal argument: conj! expects a Set, Array, List, Map, or Object as the first argument.")}return r}function St(...t){if(t.length===0)return ut();const[e,...n]=t;let r=e;r==null&&(r=Dt());let o,u;switch(p(r)){case m:return r instanceof T?Rt(new r.constructor(r),n):new r.constructor([...r,...n]);case E:return new D(...n.reverse(),...r);case x:return[...r,...n];case h:o=new Map(r);for(const i of n)Array.isArray(i)?o.set(i[0],i[1]):s(i).forEach(c=>{o.set(c[0],c[1])});return o;case G:return a(function*(){yield*n,yield*r});case y:u={...r};for(const i of n)Array.isArray(i)?u[i[0]]=i[1]:Object.assign(u,i);return u;default:throw new Error("Illegal argument: conj expects a Set, Array, List, Map, or Object as the first argument.")}}function kt(t,...e){for(const n of e)t.delete(n);return t}function Fe(t,...e){const n=new t.constructor([...t]);return kt(n,...e)}function Qt(t,e){switch(p(t)){case m:case h:return t.has(e);case void 0:return!1;default:return e in t}}function Pe(t,...e){for(const n of e)delete t[n];return t}function Ye(t,...e){if(e.length===0)return t;const n=j(t);switch(p(t)){case h:for(const r of e)n.delete(r);break;default:for(const r of e)delete n[r];break}return n}function Kt(t){return t+1}function Ce(t){return t-1}function It(...t){console.log(...t)}function jt(t,e,n){if(t){var r=void 0;if(Array.isArray(t))r=t[e];else{const o=s(t);let u=0;for(const i of o)if(u++==e){r=i;break}}if(r!==void 0)return r}return n}function w(t,e,n=void 0){if(t==null)return n;let r;if(B(t))return r=t[e],r===void 0?n:r;let o;switch(p(t)){case m:t.has(e)&&(r=e);break;case h:r=t.get(e);break;case x:r=t[e];break;default:if(o=t.get,o instanceof Function)try{r=t.get(e);break}catch{}r=t[e];break}return r!==void 0?r:n}function Tt(t){return t!=null&&!!t[Symbol.iterator]}const H=Tt;function Nt(t){return t==null||!!t[Symbol.iterator]}function s(t){if(t==null)return[];if(Nt(t))return t;if(t instanceof Object)return Object.entries(t);throw new TypeError(`${t} is not iterable`)}const rt=Symbol("Iterable"),Ot=Symbol.iterator;function L(t){return t[Symbol.iterator]()}const $=L;function R(t){if(t==null)return t;const e=s(t);return e.length===0||e.size===0||e[Symbol.iterator]().next().done?null:e}function Q(t){const[e]=s(t);return e}function De(t){const[e,n]=s(t);return n}function Ve(t){return Q(Q(t))}function F(t){return a(function*(){let e=!0;for(const n of s(t))e?e=!1:yield n})}class Gt{then(e,n){return e(this._deref())}}class N extends Gt{value;constructor(e){super(),this.value=e}_deref(){return this.value}}function We(t){t=s(t);let e;switch(p(t)){case x:return t[t.length-1];default:for(const n of t)e=n;return e}}function P(t){return new N(t)}function A(t){return t instanceof N}function K(t,e,n){t=f(t);let r,o;if(arguments.length===2){const u=s(e)[Symbol.iterator](),i=u.next();i.done?o=t():o=i.value,r=u}else o=e,r=s(n);if(o instanceof N)return o.value;for(const u of r)if(o=t(o,u),o instanceof N){o=o.value;break}return o}function*Je(t,e){const n=e.next();n.done?yield t():yield*qt(t,n.value,e)}function*qt(t,e,n){let r=e,o=n;for(;;){if(A(r)){yield r.value;return}else yield r;const u=o.next();if(u.done)break;r=t(r,u.value)}}function Ue(t,e,n){return t=f(t),arguments.length===2?a(function*(){yield*Je(t,s(e)[Symbol.iterator]())}):a(function*(){yield*qt(t,e,s(n)[Symbol.iterator]())})}var Bt=!1;function Xe(){Bt=!0}class Y{constructor(e){this.gen=e,this.usages=0}[Symbol.iterator](){if(this.usages++,this.usages>=2&&Bt)try{throw new Error}catch(e){console.warn("Re-use of lazy value",e.stack)}return this.gen()}}Y.prototype[rt]=!0;function a(t){return new Y(t)}class zt{constructor(e,n){this.x=e,this.coll=n}*[Symbol.iterator](){yield this.x,yield*s(this.coll)}}function Ze(t,e){return new zt(t,e)}function M(t,...e){switch(t=f(t),e.length){case 0:return n=>(...r)=>{switch(r.length){case 0:return n();case 1:return n(r[0]);case 2:return n(r[0],t(r[1]));default:return n(r[0],t(...r.slice(1)))}};case 1:return a(function*(){for(const n of s(e[0]))yield t(n)});default:return a(function*(){const n=e.map(r=>$(s(r)));for(;;){const r=[];for(const o of n){const u=o.next();if(u.done)return;r.push(u.value)}yield t(...r)}})}}function He(t){return e=>(...n)=>{switch(n.length){case 0:return e();case 1:return e(n[0]);case 2:{const r=n[0],o=n[1];return _(t(o))?e(r,o):r}}}}function C(t,e){return arguments.length===1?He(t):(t=f(t),a(function*(){for(const n of s(e))_(t(n))&&(yield n)}))}function tn(t,e){return[...C(t,e)]}function en(t,e){return C(ct(t),e)}function nn(t){return e=>{let n=-1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:return e(r[0],t((n=n+1,n),r[1]))}}}}function rn(t,e){if(t=f(t),arguments.length===1)return nn(t);const n=[];let r=0;for(const o of s(e))n.push(t(r,o)),r++;return n}function on(t,e){t=f(t);const n=[];let r=0;for(const o of s(e)){const u=t(r,o);_(u)&&n.push(u),r++}return n}function un(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];n++;const c=t(n,i);return c==null?u:e(u,c)}}}}function cn(t,e){return arguments.length===1?un(t):on(t,e)}function sn(...t){return t.join("")}function Lt(t){return!_(t)}function fn(t){return t==null}const ln={};function an(t){return t===null?"null":JSON.stringify(t,(e,n)=>{switch(p(n)){case m:case G:return[...n];case h:return Object.fromEntries(n);default:return n}})}function $t(...t){return t.map(an).join(" ")}function pn(...t){It($t(...t))}class Ft extends Gt{constructor(e){super(),this.val=e,this._watches={},this._deref=()=>this.val,this._hasWatches=!1,this._reset_BANG_=n=>{const r=this.val;if(this.val=n,this._hasWatches)for(const o of Object.entries(this._watches)){const u=o[0],i=o[1];i(u,this,r,n)}return n},this._add_watch=(n,r)=>{this._watches[n]=r,this._hasWatches=!0},this._remove_watch=n=>{delete this._watches[n]}}}function hn(t){return new Ft(t)}function ot(t){return t._deref()}function Pt(t,e){t._reset_BANG_(e)}function _n(t,e,...n){e=f(e);const r=e(ot(t),...n);return Pt(t,r),r}function dn(t,e,n){return a(function*(){let r=t,o=e,u=n;e===void 0&&(r=0,o=t);let i=r||0;for(u=n||1;o===void 0||i<o;)yield i,i+=u})}function xn(t,e){const n=t.exec(e);return n&&e===n[0]?n.length===1?n[0]:n:null}function yn(t,e){if(yt(e)){const n=t.exec(e);return n!=null?n.length===1?n[0]:[...n]:null}else throw new TypeError("re-find must match against a string.")}function mn(t){if(t instanceof RegExp)return t;const e=t.match(/^\(\?([dgimsuvy]*)\)/);return e?new RegExp(t.slice(e[0].length),e[1]):new RegExp(t)}function wn(t,e,n){return t.slice(e,n)}function ut(...t){return t}function gn(t){return p(t)===x}function it(...t){if(t.length===2){const[n,r]=t;if(r instanceof Y){var e=[];for(const o of r)e.push(n(o));return e}return lt([],M(n),r)}return[...M(...t)]}function S(t){return V(t)?t:[...s(t)]}function bn(t){return new Set(s(t))}const Yt=Symbol("IApply__apply");function An(t,...e){t=f(t);const n=e.slice(0,e.length-1),r=s(e[e.length-1]),o=t[Yt];return o?o(...n,r):t(...n,...r)}function Ct(t){return t%2==0}function vn(t){return!Ct(t)}function ct(t){return t=f(t),(...e)=>Lt(t(...e))}function Mn(t){return(...e)=>t}class D extends Array{constructor(...e){super(),this.push(...e)}}function En(t){return p(t)===E}function Dt(...t){return new D(...t)}function V(t){return Array.isArray(t)}function st(t){return a(function*(){for(const e of t)yield*s(e)})}function Vt(...t){return st(t)}Vt[Yt]=t=>st(t);function Rn(t,...e){const n=M(t,...e);return st(n)}function Wt(t){return t}function Jt(...t){return a(function*(){const e=t.map(n=>$(s(n)));for(;;){const n=[];for(const r of e){const o=r.next();if(o.done)return;n.push(o.value)}yield*n}})}function Sn(t){return e=>{let n=!1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:if(n){const o=e(r[0],t);return A(o)?o:e(o,r[1])}else return n=!0,e(r[0],r[1])}}}}function kn(t,e){return arguments.length===1?Sn(t):X(1,Jt(at(t),e))}function Qn(t,e){const n=p(t),r=q(n)||{};for(const o of e){const u=w(t,o);u!=null&&b(r,o,u)}return r}function ft(t){return A(t)?ot(t):t}function Kn(t){return e=>{let n=[];return(...r)=>{let o,u;switch(r.length){case 0:return e();case 1:return o=r[0],n.length!==0&&(u=[...n],n=[],o=ft(e(o,u))),e(o);case 2:return o=r[0],n.push(r[1]),t===n.length?(u=[...n],n=[],e(o,u)):o}}}}function Ut(t,...e){if(arguments.length===1)return Kn(t);let n=t,r=e[0];return e.length===2&&([n,r]=e),Zt(t,n,[],r,!0)}function Xt(t,...e){let n=t,r=[],o=e[0];return e.length===2?[n,o]=e:e.length>2&&([n,r,o]=e),Zt(t,n,r,o,!1)}const In=Xt,jn=Ut;function Zt(t,e,n,r,o){return a(function*(){let u=[],i=0;for(const c of s(r))i<t&&(u.push(c),u.length===t&&(yield u,u=e<t?u.slice(e):[])),i++,i===e&&(i=0);u.length>0&&(u.length===t||o?yield u:n.length&&(u.push(...n.slice(0,t-u.length)),yield u))})}function Tn(t){return e=>{let n=[];const r={};let o=r;return(...u)=>{const i=u.length;if(i===0)return e();if(i===1){let c=u[0];if(n.length!==0){const l=[...n];n=[],c=ft(e(c,l))}return e(c)}if(i===2){const c=u[0],l=u[1],g=o,d=t(l);if(o=d,g===r||d===g)return n.push(l),c;{const Ae=[...n];n=[];const gt=e(c,Ae);return A(gt)||n.push(l),gt}}}}}function Nn(t,e){return t=f(t),arguments.length===1?Tn(t):a(function*(){const n=$(e),r=n.next();r.done&&(yield*null);const o=r.value;let u=t(o),i=[o],c=[];for(;;){const l=n.next();if(l.done){yield i;break}const g=l.value,d=t(g);u==d?i.push(g):(yield i,c.push(g),i=c,u=d,c=[])}})}function W(t){const e=p(t);if(e!=null)return q(e);throw new Error(`Can't create empty of ${typeof t}`)}function On(...t){const e=t[0];let n;return e==null?n={}:n=lt(W(e),e),z(n,...t.slice(1))}function Ht(t){return t[0]}function te(t){return t[1]}function Gn(t,...e){t=f(t);var n=!1;for(const r of e)if(r!=null){n=!0;break}if(n){const r=(u,i)=>{const c=Ht(i),l=te(i);return Qt(u,c)?k(u,c,t(w(u,c),l)):k(u,c,l)};return K((u,i)=>K(r,u||{},R(i)),e)}else return null}function qn(){return performance.now()}function lt(...t){let e,n,r,o,u;switch(t.length){case 0:return[];case 1:return t[0];case 2:return St(t[0]??[],...s(t[1]));case 3:return e=t[0],n=t[1],r=t[2],o=j(e),u=(i,c)=>c===void 0?i:z(i,c),wt(n,u,o,r);default:throw TypeError(`Invalid arity call of into: ${t.length}`)}}function Bn(t,e){return t===e}function at(...t){if(t.length==0||t.length>2)throw new Error(`Invalid arity: ${t.length}`);return{[rt]:!0,[Ot]:t.length==1?function*(){const e=t[0];for(;;)yield e}:function*(){const[e,n]=t;for(var r=0;r<e;r++)yield n}}}function ee(t){return A(t)?t:P(t)}function zn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1){const u=r[0];return e(u)}if(o===2){let u=r[0];const i=r[1],c=n,l=(n=n-1,n);return c>0&&(u=e(u,i)),l>0?u:ee(u)}}}}function J(t,e){return arguments.length===1?zn(t):a(function*(){let n=t-1;for(const r of s(e))if(n-->=0&&(yield r),n<0)return})}function Ln(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1];return _(t(u))?e(o,u):P(o)}}}function U(t,e){return t=f(t),arguments.length===1?Ln(t):a(function*(){for(const n of s(e))if(_(t(n)))yield n;else return})}function $n(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];return n++,ge(n,t)===0?e(u,i):u}}}}function Fn(t,e){return arguments.length===1?$n(t):t<=0?at(Q(e)):a(function*(){let n=0;for(const r of s(e))n%t===0&&(yield r),n++})}function Pn(t,...e){return t=f(t),function(...n){return t(...e,...n)}}function Yn(t){return a(function*(){for(;;)yield*t})}function Cn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1],c=n;return n--,c>0?u:e(u,i)}}}}function X(t,e){return arguments.length===1?Cn(t):a(function*(){const n=L(s(e));for(let r=0;r<t;r++)n.next();yield*n})}function Dn(t){return e=>{let n=!0;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=n,i=r[0],c=r[1];return u&&_(t(c))?i:(n=null,e(i,c))}}}}function ne(t,e){return t=f(t),arguments.length===1?Dn(t):a(function*(){const n=L(s(e));for(;;){const r=n.next();if(r.done)break;const o=r.value;if(!_(t(o))){yield o;break}}yield*n})}function Vn(){return t=>{const e=new Set;return(...n)=>{const r=n.length;if(r===0)return t();if(r===1)return t(n[0]);if(r===2){const o=n[0],u=n[1];return e.has(u)?o:(e.add(u),t(o,u))}}}}function Wn(t){return arguments.length===0?Vn():a(function*(){const e=new Set;for(const n of s(t))e.has(n)||(yield n),e.add(n)})}function Jn(t,e,n,...r){return n=f(n),k(t,e,n(w(t,e),...r))}function pt(t,e,n){let r=t;for(const o of e)r=w(r,o);return r===void 0?n:r}function Un(t,e,n,...r){return n=f(n),Mt(t,e,n(pt(t,e),...r))}function ht(t,e,...n){return t=f(t),function(r,...o){return r?t(r,...n,...o):t(e,...n,...o)}}function re(t,e){t=f(t);for(const n of s(e))if(!t(n))return!1;return!0}function Xn(t,e){return!re(t,e)}function Zn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1],i=t(u);return i==null?o:e(o,i)}}}function Hn(t,e){return t=f(t),arguments.length===1?Zn(t):a(function*(){for(const n of s(e)){const r=t(n);_(r)&&(yield r)}})}function tr(t){return t=s(t),[...t].reverse()}function _t(t,e){return arguments.length===1&&(e=t,t=void 0),t=f(t),e=s(e),[...e].sort(t||v)}function er(t){return t===v?t:(e,n)=>{const r=t(e,n);return le(r)?r:r?-1:t(n,e)?1:0}}function nr(t,e,n){return arguments.length===2&&(n=e,e=v),t=f(t),e=f(e),_t((r,o)=>{const u=er(e),i=t(r),c=t(o);return u(i,c)},n)}function rr(t){const e=[...t];let n=t.length;for(;n;){const r=Math.floor(Math.random()*n--),o=e[n];e[n]=e[r],e[r]=o}return e}function oe(t,e){t=f(t);for(const n of s(e)){const r=t(n);if(_(r))return r}}function or(t,e){return t=f(t),!oe(t,e)}function ur(t,e){return(Array.isArray(e)?it:M)(r=>{const o=t[r];return o!==void 0?o:r},e)}function ir(t){return!R(t)}function ue(t){return Math.floor(Math.random()*t)}function cr(t){const e=ue(O(t));return jt(t,e)}function sr(t){return a(function*(){for(;;)yield t()})}function fr(t,e){arguments.length===1&&(e=t,t=void 0);const n=sr(e);return t?J(t,n):n}function dt(t,e,n,...r){const o=w(t,e);return b(t,e,n(o,...r))}function lr(t,e){t=f(t);const n={};for(const r of s(e)){const o=t(r);dt(n,o,ht(z,[]),r)}return n}function ar(t){const e={},n=ht(Kt,0);for(const r of s(t))dt(e,r,n);return e}class pr{constructor(e){this.f=e,this.res=void 0}*[Symbol.iterator](){this.res===void 0&&(this.res=this.f(),this.f=null),yield*s(this.res)}}function hr(t){const e=[...s(t)];return e.pop(),e.length>0?e:null}function _r(...t){const[e,n]=t.length>1?t:[1,t[0]];return M((r,o)=>r,n,X(e,n))}function dr(t,e){return[J(t,e),X(t,e)]}function xr(t,e){return[U(t,e),ne(t,e)]}function O(t){if(!t)return 0;const e=t.length||t.size;if(typeof e=="number")return e;let n=0;for(const r of s(t))n++;return n}function yr(t){return t===!0}function mr(t){return t===!1}function wr(t){return t!=null}function gr(t){return!!t}function br(t){return t===0}function Ar(t){return t<0}function vr(t){return t>0}function Mr(...t){let e=0;const n={};for(;!(e>=t.length);)n[t[e]]=t[e+1],e=e+2;return n}function Er(t){return t.length}function Rr(t,e,n,...r){if(r.length==0)return t[e]=n,n;{const o=[e,n,...r],u=o[o.length-1];let i=t,c=0;const l=o.length-2;for(;c<l;c++)i=i[o[c]];return i[o[c]]=u,n}}function Sr(t){for(const e of s(t));return null}function kr(t){return S(t)}function Qr(t){return[...t]}function Kr(t,e,n){return t._add_watch(e,n)}function Ir(t,e){return t._remove_watch(e)}function xt(t,e,n){if(!n)return e;var r=e;for(const o of s(n))r=t(r,o[0],o[1]);return r}function ie(t,e,...n){return e==null?t:Math.max(t,e,...n)}function jr(t,e,...n){return e==null?t:Math.min(t,e,...n)}function ce(t){return t==null?!1:!!(B(t)||t instanceof Map)}function Tr(...t){return(...e)=>{for(const n of t)for(const r of e)if(!n(r))return!1;return!0}}function Nr(...t){return(...e)=>{for(const n of t)for(const r of e){const o=n(r);if(o)return o}}}function se(t,e){return S(e||t)}function Or(t,e){var n=e;return a(function*(){for(;;)yield n,n=t(n)})}function Gr(...t){return t=t.map(f),(...e)=>{const n=[];for(const r of t)n.push(r(...e));return n}}function tt(t){if(Array.isArray(t)){const e=t.slice(1);return e.length>0?e:null}else return R(F(t))}function qr(t){return tt(tt(t))}function v(t,e){if(t===e)return 0;{if(t==null)return-1;if(e==null)return 1;const n=typeof t,r=typeof e;if(n==="number"&&r==="number"||n==="string"&&r==="string")return t===e?0:t<e?-1:1;throw new Error(`comparing ${n} to ${r}`)}}function Br(t){return se(t)}function _(t){return t!=null&&t!==!1}const zr=_;function fe(t,e,n){return t.substring(e,n)}function Lr(t){return typeof t=="function"}function $r(t,e){return a(function*(){for(;;){const n=t.exec(e);if(n){const r=n[0];yield n.length===1?r:S(n);const u=n.index+ie(1,r.length);if(u>e.length)break;e=fe(e,u)}else break}})}function Fr(t){return Number.isNaN(t)}function le(t){return typeof t=="number"}function ae(t){return t?Object.keys(t):null}function Pr(t){return ae(t)}function Yr(t){return t?Object.values(t):null}function yt(t){return typeof t=="string"}function pe(t){return p(t)!=null}function Cr(t){return t instanceof RegExp}class mt extends Error{constructor(e,n,r){super(e),this._data=n,this._cause=r}}function Dr(t){return t instanceof mt?t._data:null}function Vr(t){return t instanceof Error?t.message:null}function Wr(t){return t instanceof mt?t._cause:null}function Jr(t,e,n){return new mt(t,e,n)}function he(t){return Number.isInteger(t)}const Ur=he,_e=Symbol("meta");function Xr(t){return t instanceof Object?t[_e]:null}function Zr(t,e){const n=j(t);return n[_e]=e,n}function Hr(t){return t===!0||t===!1}function de(t){switch(p(t)){case x:case h:case y:case E:case m:return!0}return!1}function to(t,e){return de(e)?O(e):O(J(t,e))}function eo(t,e){const n=w(t,e);if(n!==void 0)return[e,n]}function no(t,e){return(t%e+e)%e}function ro(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i<=r&&(r=i,o=u)}),o}function oo(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i>=r&&(r=i,o=u)}),o}function uo(t){throw new Error(`Expected string, got: ${typeof t}`)}function io(t){if(yt(t)){if(/^[+-]?\d+$/.test(t)){const e=parseInt(t);if(Number.MIN_SAFE_INTEGER<=e<=Number.MAX_SAFE_INTEGER)return e}return null}return uo(t)}function xe(t){return t>=0?Math.floor(t):Math.ceil(t)}function ye(t,e){const n=t%e;return xe((t-n)/e)}function wt(t,...e){switch(e.length){case 2:{const n=e[0],r=e[1];return wt(t,n,n(),r)}default:{let n=e[0];const r=e[1],o=e[2];n=t(n);const u=K(n,r,o);return n(u)}}}function co(t,e){const n={},r=s(t)[Symbol.iterator](),o=s(e)[Symbol.iterator]();let u,i;for(;u=r.next(),!(u.done||(i=o.next(),i.done));)n[u.value]=i.value;return n}function so(t){return R(t)?t:null}function me(t,e,n){const r=function*(o){if(yield o,_(t(o)))for(const u of s(e(o)))yield*r(u)};return a(function*(){yield*r(n)})}function fo(t){return C(ct(H),F(me(H,R,t)))}function lo(t){return j(t)}function ao(t){return Object.freeze(t)}class T{constructor(e){e instanceof T||(e=_t(e));const r=new Set(e);this._elts=[...r],this._set=r}add(e){if(this._set.has(e))return this;const n=this._elts;let r=!1;for(let o=0;o<n.length;o++)if(v(e,n[o])<=0){n.splice(o,0,e),r=!0;break}return r?this._set=new Set(n):(n.push(e),this._set.add(e)),this.size=n.length,this}delete(e){if(!this._set.has(e))return this;const n=this._elts,r=n.indexOf(e);return n.splice(r,1),this._set=new Set(n),this.size=n.length,this}has(e){return this._set.has(e)}keys(){return this.values()}values(){return this._elts[Symbol.iterator]()}entries(){return this._set.entries()}forEach(...e){return this.set.forEach(...e)}clear(){this._elts=[],this._set=new Set(this._elts)}[Symbol.iterator](){return this.keys()}}function po(...t){return new T(t)}function et(t,e,n){return r=>e(v(r,n),0)}function we(t,e,n=!0){let r=0;for(;r<t.length&&v(e,t[r])>0;r++);return r}function ho([t,e,n]){const r=et(t,e,n);if(e===bt||e===At){const o=[...t],u=we(o,n,!0);return o.splice(0,u),r(o[0])||o.splice(0,1),o}else return[...U(r,t)]}function _o([t,e,n,r,o]){const u=[...t],i=we(u,n,!0);u.splice(0,i);const c=et(t,r,o);return et(t,e,n)(u[0])||u.splice(0,1),[...U(c,u)]}function xo(...t){if(t.length===3)return ho(t);if(t.length===5)return _o(t)}function yo(t){return Math.abs(t)}function mo(t){return xe(t)}function wo(t){return t!=null&&t.constructor}function go(t){return(e,n)=>{const r=t(e,n);return A(r)?P(r):r}}function bo(t){return t=go(t),(...e)=>{switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return K(t,e[0],e[1])}}}function ge(t,e){const n=ye(t,e);return t-e*n}function Ao(t){const e=new Map;return(...n)=>{const r=[n.length,...n],o=pt(e,r);if(o===void 0){const u=t(...n);return Et(e,r,u),u}else return o}}function vo(t){return V(t)?t[t.length-1]:Q(t)}function Mo(t){if(V(t)){const e=[...t];return e.pop(),e}else return F(t)}function Eo(t,e){const n=W(t),r=vt(t)||b;return xt((o,u,i)=>r(o,e(u),i),n,t),n}function be(t,e){const n=W(t),r=vt(t)||b;return xt((o,u,i)=>r(o,u,e(i)),n,t),n}class Ro{constructor(e){this.f=e}_deref(){return this.realized?this.v:(this.v=this.f(),this.realized=!0,this.v)}}function nt(t,e){return e.has(t)?t:(e.add(t),ce(t)?be(t,n=>nt(n,e)):pe(t)?it(n=>nt(n,e),t):t)}function So(t){return nt(t,new Set)}return ke(ko);})();
1
+ var squint;(squint||={}).core=(()=>{var Z=Object.defineProperty;var Ae=Object.getOwnPropertyDescriptor;var ve=Object.getOwnPropertyNames;var Me=Object.prototype.hasOwnProperty;var Ee=(t,e)=>{for(var n in e)Z(t,n,{get:e[n],enumerable:!0})},Re=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of ve(e))!Me.call(t,o)&&o!==n&&Z(t,o,{get:()=>e[o],enumerable:!(r=Ae(e,o))||r.enumerable});return t};var Se=t=>Re(Z({},"__esModule",{value:!0}),t);var ko={};Ee(ko,{Atom:()=>Ft,Cons:()=>zt,Delay:()=>Ro,IIterable:()=>rt,IIterable__iterator:()=>Ot,LazySeq:()=>ar,NaN_QMARK_:()=>$r,PROTOCOL_SENTINEL:()=>fn,_:()=>Te,_EQ_:()=>ke,_GT_:()=>bt,_GT__EQ_:()=>At,_LT_:()=>Qe,_LT__EQ_:()=>Ke,_PLUS_:()=>Ie,_STAR_:()=>je,__protocol_satisfies:()=>Ne,_iterator:()=>L,abs:()=>yo,aclone:()=>kr,add_watch:()=>Qr,alength:()=>Mr,apply:()=>bn,array_QMARK_:()=>V,aset:()=>Er,assoc:()=>k,assoc_BANG_:()=>b,assoc_in:()=>Mt,assoc_in_BANG_:()=>Et,atom:()=>pn,boolean$:()=>wr,boolean_QMARK_:()=>Hr,bounded_count:()=>to,butlast:()=>pr,cat:()=>bo,clj__GT_js:()=>So,coll_QMARK_:()=>Yr,comp:()=>Le,compare:()=>v,complement:()=>ct,concat:()=>Vt,conj:()=>St,conj_BANG_:()=>z,cons:()=>Xe,constantly:()=>vn,contains_QMARK_:()=>Qt,count:()=>O,counted_QMARK_:()=>_e,cycle:()=>Pn,dec:()=>Ye,deref:()=>ot,disj:()=>$e,disj_BANG_:()=>kt,dissoc:()=>Pe,dissoc_BANG_:()=>Fe,distinct:()=>Vn,doall:()=>Sr,dorun:()=>Rr,drop:()=>X,drop_last:()=>hr,drop_while:()=>ne,empty:()=>W,empty_QMARK_:()=>ur,ensure_reduced:()=>ee,es6_iterator:()=>$,even_QMARK_:()=>Ct,every_QMARK_:()=>re,every_pred:()=>jr,ex_cause:()=>Wr,ex_data:()=>Dr,ex_info:()=>Jr,ex_message:()=>Vr,false_QMARK_:()=>yr,ffirst:()=>De,filter:()=>C,filterv:()=>He,find:()=>eo,first:()=>Q,flatten:()=>fo,fn_QMARK_:()=>zr,fnil:()=>ht,frequencies:()=>lr,get:()=>w,get_in:()=>pt,group_by:()=>fr,identical_QMARK_:()=>qn,identity:()=>Wt,inc:()=>Kt,int_QMARK_:()=>pe,integer_QMARK_:()=>Ur,interleave:()=>Jt,interpose:()=>Sn,into:()=>lt,into_array:()=>se,iterable:()=>s,iterate:()=>Nr,js_keys:()=>Fr,js_obj:()=>vr,juxt:()=>Or,keep:()=>Zn,keep_indexed:()=>un,key:()=>Ht,keys:()=>ae,last:()=>Ve,lazy:()=>a,list:()=>Dt,list_QMARK_:()=>Mn,long$:()=>mo,map:()=>M,map_QMARK_:()=>ce,map_indexed:()=>nn,mapcat:()=>En,mapv:()=>it,max:()=>ie,max_key:()=>oo,memoize:()=>Ao,merge:()=>Nn,merge_with:()=>On,meta:()=>Xr,min:()=>Ir,min_key:()=>ro,mod:()=>no,neg_QMARK_:()=>br,next:()=>tt,nil_QMARK_:()=>sn,nnext:()=>Gr,not:()=>Lt,not_any_QMARK_:()=>rr,not_empty:()=>so,not_every_QMARK_:()=>Un,nth:()=>jt,number_QMARK_:()=>le,object_QMARK_:()=>Be,odd_QMARK_:()=>An,parse_long:()=>io,partial:()=>Fn,partition:()=>Xt,partition_all:()=>Ut,partition_by:()=>Tn,partitionv:()=>Kn,partitionv_all:()=>In,peek:()=>vo,persistent_BANG_:()=>ao,pop:()=>Mo,pos_QMARK_:()=>Ar,pr_str:()=>$t,println:()=>It,prn:()=>an,quot:()=>xe,rand_int:()=>ue,rand_nth:()=>ir,range:()=>_n,re_find:()=>xn,re_matches:()=>dn,re_pattern:()=>yn,re_seq:()=>Lr,reduce:()=>K,reduce_kv:()=>xt,reduced:()=>P,reduced_QMARK_:()=>A,reductions:()=>Je,regexp_QMARK_:()=>Cr,rem:()=>we,remove:()=>tn,remove_watch:()=>Kr,repeat:()=>at,repeatedly:()=>sr,replace:()=>or,reset_BANG_:()=>Pt,rest:()=>F,reverse:()=>Hn,satisfies_QMARK_:()=>Oe,second:()=>Ce,select_keys:()=>kn,seq:()=>R,seq_QMARK_:()=>Tt,seqable_QMARK_:()=>Nt,sequential_QMARK_:()=>H,set:()=>gn,shuffle:()=>nr,some:()=>oe,some_QMARK_:()=>mr,some_fn:()=>Tr,sort:()=>_t,sort_by:()=>er,sorted_set:()=>po,split_at:()=>_r,split_with:()=>dr,str:()=>cn,string_QMARK_:()=>yt,subs:()=>fe,subseq:()=>xo,subvec:()=>mn,swap_BANG_:()=>hn,system_time:()=>Gn,t:()=>Br,take:()=>J,take_nth:()=>$n,take_while:()=>U,to_array:()=>qr,transduce:()=>wt,transient$:()=>lo,tree_seq:()=>ye,true_QMARK_:()=>xr,truth_:()=>_,type:()=>wo,unreduced:()=>ft,update:()=>Wn,update_BANG_:()=>dt,update_in:()=>Jn,update_keys:()=>Eo,update_vals:()=>ge,val:()=>te,vals:()=>Pr,vec:()=>S,vector:()=>ut,vector_QMARK_:()=>wn,warn_on_lazy_reusage_BANG_:()=>Ue,with_meta:()=>Zr,zero_QMARK_:()=>gr,zipmap:()=>co});function f(t){if(t==null||t instanceof Function)return t;const e=typeof t;return e==="string"?(n,r)=>w(n,t,r):e==="object"?(n,r)=>w(t,n,r):t}function I(t,e){return t.every(function(n,r){return r===0||e(t[r-1],n)})}function ke(...t){return I(t,(e,n)=>e===n)}function bt(...t){return I(t,(e,n)=>e>n)}function At(...t){return I(t,(e,n)=>e>=n)}function Qe(...t){return I(t,(e,n)=>e<n)}function Ke(...t){return I(t,(e,n)=>e<=n)}function Ie(...t){return t.reduce((e,n)=>e+n,0)}function je(...t){return t.reduce((e,n)=>e*n,1)}function Te(...t){return t.length==1?0-t[0]:t.reduce((e,n)=>e-n)}const Ne={};function Oe(t,e){return e==null?t[null]:typeof t=="symbol"?e[t]:e[t.__sym]}function Ge(t,e,n){return t.set(e,n),t}function qe(t,e,n){return t[e]=n,t}function vt(t){switch(p(t)){case h:return Ge;case x:case y:return qe}}function b(t,e,n,...r){if(r.length%2!==0)throw new Error("Illegal argument: assoc expects an odd number of arguments.");switch(p(t)){case h:t.set(e,n);for(let o=0;o<r.length;o+=2)t.set(r[o],r[o+1]);break;case x:case y:t[e]=n;for(let o=0;o<r.length;o+=2)t[r[o]]=r[o+1];break;default:throw new Error(`Illegal argument: assoc! expects a Map, Array, or Object as the first argument, but got ${typeof t}.`)}return t}function j(t){switch(p(t)){case h:return new Map(t);case m:return new t.constructor(t);case x:return[...t];case y:return{...t};default:throw new Error(`Don't know how to copy object of type ${typeof t}.`)}}function k(t,e,n,...r){t||(t={});const o=j(t);return b(o,e,n,...r),o}const h=1,x=2,y=3,E=4,m=5,G=6;function q(t){switch(t){case h:return new Map;case x:return[];case y:return{};case E:return new D;case m:return new Set;case G:return a(function*(){})}}function B(t){return t.constructor===Object}function Be(t){return t!=null&&B(t)}function p(t){if(t!=null){if(B(t))return y;if(t instanceof Map)return h;if(t instanceof Set)return m;if(t instanceof D)return E;if(Array.isArray(t))return x;if(t instanceof Y)return G;if(t instanceof T)return m;if(t instanceof Object)return y}}function ze(t,e,n,r,o){r=S(r);const u=p(n);if(u!==h&&u!==x&&u!==y)throw new Error(`Illegal argument: ${e} expects the first argument to be a Map, Array, or Object.`);const i=[n];let c=n;for(let l=0;l<r.length-1;l+=1){const g=r[l];let d;c instanceof Map?d=c.get(g):d=c[g],d||(d=q(u)),i.push(d),c=d}i.push(o);for(let l=i.length-2;l>=0;l-=1)i[l]=t(i[l],r[l],i[l+1]);return i[0]}function Mt(t,e,n){return ze(k,"assoc-in",t,e,n)}function Et(t,e,n){e=S(e);var r=t;const o=p(t);for(const u of e.splice(0,e.length-1)){let i=w(r,u);i===void 0&&(i=q(o),b(r,u,i)),r=i}return b(r,e[e.length-1],n),t}function Le(...t){if(t=t.map(f),t.length===0)return Wt;if(t.length===1)return t[0];const[e,...n]=t.slice().reverse();return function(...r){let o=e(...r);for(const u of n)o=u(o);return o}}function Rt(t,e){for(const n of e)t.add(n);return t}function z(...t){if(t.length===0)return ut();const[e,...n]=t;let r=e;switch(r==null&&(r=[]),p(r)){case m:Rt(r,n);break;case E:r.unshift(...n.reverse());break;case x:r.push(...n);break;case h:for(const o of n)Array.isArray(o)?r.set(o[0],o[1]):s(o).forEach(u=>{r.set(u[0],u[1])});break;case y:for(const o of n)Array.isArray(o)?r[o[0]]=o[1]:Object.assign(r,o);break;default:throw new Error("Illegal argument: conj! expects a Set, Array, List, Map, or Object as the first argument.")}return r}function St(...t){if(t.length===0)return ut();const[e,...n]=t;let r=e;r==null&&(r=Dt());let o,u;switch(p(r)){case m:return r instanceof T?Rt(new r.constructor(r),n):new r.constructor([...r,...n]);case E:return new D(...n.reverse(),...r);case x:return[...r,...n];case h:o=new Map(r);for(const i of n)Array.isArray(i)?o.set(i[0],i[1]):s(i).forEach(c=>{o.set(c[0],c[1])});return o;case G:return a(function*(){yield*n,yield*r});case y:u={...r};for(const i of n)Array.isArray(i)?u[i[0]]=i[1]:Object.assign(u,i);return u;default:throw new Error("Illegal argument: conj expects a Set, Array, List, Map, or Object as the first argument.")}}function kt(t,...e){for(const n of e)t.delete(n);return t}function $e(t,...e){const n=new t.constructor([...t]);return kt(n,...e)}function Qt(t,e){switch(p(t)){case m:case h:return t.has(e);case void 0:return!1;default:return e in t}}function Fe(t,...e){for(const n of e)delete t[n];return t}function Pe(t,...e){if(e.length===0)return t;const n=j(t);switch(p(t)){case h:for(const r of e)n.delete(r);break;default:for(const r of e)delete n[r];break}return n}function Kt(t){return t+1}function Ye(t){return t-1}function It(...t){console.log(...t)}function jt(t,e,n){if(t){var r=void 0;if(Array.isArray(t))r=t[e];else{const o=s(t);let u=0;for(const i of o)if(u++==e){r=i;break}}if(r!==void 0)return r}return n}function w(t,e,n=void 0){if(t==null)return n;let r;if(B(t))return r=t[e],r===void 0?n:r;let o;switch(p(t)){case m:t.has(e)&&(r=e);break;case h:r=t.get(e);break;case x:r=t[e];break;default:if(o=t.get,o instanceof Function)try{r=t.get(e);break}catch{}r=t[e];break}return r!==void 0?r:n}function Tt(t){return t!=null&&!!t[Symbol.iterator]}const H=Tt;function Nt(t){return t==null||!!t[Symbol.iterator]}function s(t){if(t==null)return[];if(Nt(t))return t;if(t instanceof Object)return Object.entries(t);throw new TypeError(`${t} is not iterable`)}const rt=Symbol("Iterable"),Ot=Symbol.iterator;function L(t){return t[Symbol.iterator]()}const $=L;function R(t){if(t==null)return t;const e=s(t);return e.length===0||e.size===0||e[Symbol.iterator]().next().done?null:e}function Q(t){const[e]=s(t);return e}function Ce(t){const[e,n]=s(t);return n}function De(t){return Q(Q(t))}function F(t){return a(function*(){let e=!0;for(const n of s(t))e?e=!1:yield n})}class Gt{then(e,n){return e(this._deref())}}class N extends Gt{value;constructor(e){super(),this.value=e}_deref(){return this.value}}function Ve(t){t=s(t);let e;switch(p(t)){case x:return t[t.length-1];default:for(const n of t)e=n;return e}}function P(t){return new N(t)}function A(t){return t instanceof N}function K(t,e,n){t=f(t);let r,o;if(arguments.length===2){const u=s(e)[Symbol.iterator](),i=u.next();i.done?o=t():o=i.value,r=u}else o=e,r=s(n);if(o instanceof N)return o.value;for(const u of r)if(o=t(o,u),o instanceof N){o=o.value;break}return o}function*We(t,e){const n=e.next();n.done?yield t():yield*qt(t,n.value,e)}function*qt(t,e,n){let r=e,o=n;for(;;){if(A(r)){yield r.value;return}else yield r;const u=o.next();if(u.done)break;r=t(r,u.value)}}function Je(t,e,n){return t=f(t),arguments.length===2?a(function*(){yield*We(t,s(e)[Symbol.iterator]())}):a(function*(){yield*qt(t,e,s(n)[Symbol.iterator]())})}var Bt=!1;function Ue(){Bt=!0}class Y{constructor(e){this.gen=e,this.usages=0}[Symbol.iterator](){if(this.usages++,this.usages>=2&&Bt)try{throw new Error}catch(e){console.warn("Re-use of lazy value",e.stack)}return this.gen()}}Y.prototype[rt]=!0;function a(t){return new Y(t)}class zt{constructor(e,n){this.x=e,this.coll=n}*[Symbol.iterator](){yield this.x,yield*s(this.coll)}}function Xe(t,e){return new zt(t,e)}function M(t,...e){switch(t=f(t),e.length){case 0:return n=>(...r)=>{switch(r.length){case 0:return n();case 1:return n(r[0]);case 2:return n(r[0],t(r[1]));default:return n(r[0],t(...r.slice(1)))}};case 1:return a(function*(){for(const n of s(e[0]))yield t(n)});default:return a(function*(){const n=e.map(r=>$(s(r)));for(;;){const r=[];for(const o of n){const u=o.next();if(u.done)return;r.push(u.value)}yield t(...r)}})}}function Ze(t){return e=>(...n)=>{switch(n.length){case 0:return e();case 1:return e(n[0]);case 2:{const r=n[0],o=n[1];return _(t(o))?e(r,o):r}}}}function C(t,e){return arguments.length===1?Ze(t):(t=f(t),a(function*(){for(const n of s(e))_(t(n))&&(yield n)}))}function He(t,e){return[...C(t,e)]}function tn(t,e){return C(ct(t),e)}function en(t){return e=>{let n=-1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:return e(r[0],t((n=n+1,n),r[1]))}}}}function nn(t,e){if(t=f(t),arguments.length===1)return en(t);const n=[];let r=0;for(const o of s(e))n.push(t(r,o)),r++;return n}function rn(t,e){t=f(t);const n=[];let r=0;for(const o of s(e)){const u=t(r,o);_(u)&&n.push(u),r++}return n}function on(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];n++;const c=t(n,i);return c==null?u:e(u,c)}}}}function un(t,e){return arguments.length===1?on(t):rn(t,e)}function cn(...t){return t.join("")}function Lt(t){return!_(t)}function sn(t){return t==null}const fn={};function ln(t){return t===null?"null":JSON.stringify(t,(e,n)=>{switch(p(n)){case m:case G:return[...n];case h:return Object.fromEntries(n);default:return n}})}function $t(...t){return t.map(ln).join(" ")}function an(...t){It($t(...t))}class Ft extends Gt{constructor(e){super(),this.val=e,this._watches={},this._deref=()=>this.val,this._hasWatches=!1,this._reset_BANG_=n=>{const r=this.val;if(this.val=n,this._hasWatches)for(const o of Object.entries(this._watches)){const u=o[0],i=o[1];i(u,this,r,n)}return n},this._add_watch=(n,r)=>{this._watches[n]=r,this._hasWatches=!0},this._remove_watch=n=>{delete this._watches[n]}}}function pn(t){return new Ft(t)}function ot(t){return t._deref()}function Pt(t,e){t._reset_BANG_(e)}function hn(t,e,...n){e=f(e);const r=e(ot(t),...n);return Pt(t,r),r}function _n(t,e,n){return a(function*(){let r=t,o=e,u=n;e===void 0&&(r=0,o=t);let i=r||0;for(u=n||1;o===void 0||i<o;)yield i,i+=u})}function dn(t,e){const n=t.exec(e);return n&&e===n[0]?n.length===1?n[0]:n:null}function xn(t,e){if(yt(e)){const n=t.exec(e);return n!=null?n.length===1?n[0]:[...n]:null}else throw new TypeError("re-find must match against a string.")}function yn(t){if(t instanceof RegExp)return t;const e=t.match(/^\(\?([dgimsuvy]*)\)/);return e?new RegExp(t.slice(e[0].length),e[1]):new RegExp(t)}function mn(t,e,n){return t.slice(e,n)}function ut(...t){return t}function wn(t){return p(t)===x}function it(...t){if(t.length===2){const[n,r]=t;if(r instanceof Y){var e=[];for(const o of r)e.push(n(o));return e}return lt([],M(n),r)}return[...M(...t)]}function S(t){return V(t)?t:[...s(t)]}function gn(t){return new Set(s(t))}const Yt=Symbol("IApply__apply");function bn(t,...e){t=f(t);const n=e.slice(0,e.length-1),r=s(e[e.length-1]),o=t[Yt];return o?o(...n,r):t(...n,...r)}function Ct(t){return t%2==0}function An(t){return!Ct(t)}function ct(t){return t=f(t),(...e)=>Lt(t(...e))}function vn(t){return(...e)=>t}class D extends Array{constructor(...e){super(),this.push(...e)}}function Mn(t){return p(t)===E}function Dt(...t){return new D(...t)}function V(t){return Array.isArray(t)}function st(t){return a(function*(){for(const e of t)yield*s(e)})}function Vt(...t){return st(t)}Vt[Yt]=t=>st(t);function En(t,...e){const n=M(t,...e);return st(n)}function Wt(t){return t}function Jt(...t){return a(function*(){const e=t.map(n=>$(s(n)));for(;;){const n=[];for(const r of e){const o=r.next();if(o.done)return;n.push(o.value)}yield*n}})}function Rn(t){return e=>{let n=!1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:if(n){const o=e(r[0],t);return A(o)?o:e(o,r[1])}else return n=!0,e(r[0],r[1])}}}}function Sn(t,e){return arguments.length===1?Rn(t):X(1,Jt(at(t),e))}function kn(t,e){const n=p(t),r=q(n)||{};for(const o of e){const u=w(t,o);u!=null&&b(r,o,u)}return r}function ft(t){return A(t)?ot(t):t}function Qn(t){return e=>{let n=[];return(...r)=>{let o,u;switch(r.length){case 0:return e();case 1:return o=r[0],n.length!==0&&(u=[...n],n=[],o=ft(e(o,u))),e(o);case 2:return o=r[0],n.push(r[1]),t===n.length?(u=[...n],n=[],e(o,u)):o}}}}function Ut(t,...e){if(arguments.length===1)return Qn(t);let n=t,r=e[0];return e.length===2&&([n,r]=e),Zt(t,n,[],r,!0)}function Xt(t,...e){let n=t,r=[],o=e[0];return e.length===2?[n,o]=e:e.length>2&&([n,r,o]=e),Zt(t,n,r,o,!1)}const Kn=Xt,In=Ut;function Zt(t,e,n,r,o){return a(function*(){let u=[],i=0;for(const c of s(r))i<t&&(u.push(c),u.length===t&&(yield u,u=e<t?u.slice(e):[])),i++,i===e&&(i=0);u.length>0&&(u.length===t||o?yield u:n.length&&(u.push(...n.slice(0,t-u.length)),yield u))})}function jn(t){return e=>{let n=[];const r={};let o=r;return(...u)=>{const i=u.length;if(i===0)return e();if(i===1){let c=u[0];if(n.length!==0){const l=[...n];n=[],c=ft(e(c,l))}return e(c)}if(i===2){const c=u[0],l=u[1],g=o,d=t(l);if(o=d,g===r||d===g)return n.push(l),c;{const be=[...n];n=[];const gt=e(c,be);return A(gt)||n.push(l),gt}}}}}function Tn(t,e){return t=f(t),arguments.length===1?jn(t):a(function*(){const n=$(e),r=n.next();r.done&&(yield*null);const o=r.value;let u=t(o),i=[o],c=[];for(;;){const l=n.next();if(l.done){yield i;break}const g=l.value,d=t(g);u==d?i.push(g):(yield i,c.push(g),i=c,u=d,c=[])}})}function W(t){const e=p(t);if(e!=null)return q(e);throw new Error(`Can't create empty of ${typeof t}`)}function Nn(...t){const e=t[0];let n;return e==null?n={}:n=lt(W(e),e),z(n,...t.slice(1))}function Ht(t){return t[0]}function te(t){return t[1]}function On(t,...e){t=f(t);var n=!1;for(const r of e)if(r!=null){n=!0;break}if(n){const r=(u,i)=>{const c=Ht(i),l=te(i);return Qt(u,c)?k(u,c,t(w(u,c),l)):k(u,c,l)};return K((u,i)=>K(r,u||{},R(i)),e)}else return null}function Gn(){return performance.now()}function lt(...t){let e,n,r,o,u;switch(t.length){case 0:return[];case 1:return t[0];case 2:return St(t[0]??[],...s(t[1]));case 3:return e=t[0],n=t[1],r=t[2],o=j(e),u=(i,c)=>c===void 0?i:z(i,c),wt(n,u,o,r);default:throw TypeError(`Invalid arity call of into: ${t.length}`)}}function qn(t,e){return t===e}function at(...t){if(t.length==0||t.length>2)throw new Error(`Invalid arity: ${t.length}`);return{[rt]:!0,[Ot]:t.length==1?function*(){const e=t[0];for(;;)yield e}:function*(){const[e,n]=t;for(var r=0;r<e;r++)yield n}}}function ee(t){return A(t)?t:P(t)}function Bn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1){const u=r[0];return e(u)}if(o===2){let u=r[0];const i=r[1],c=n,l=(n=n-1,n);return c>0&&(u=e(u,i)),l>0?u:ee(u)}}}}function J(t,e){return arguments.length===1?Bn(t):a(function*(){let n=t-1;for(const r of s(e))if(n-->=0&&(yield r),n<0)return})}function zn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1];return _(t(u))?e(o,u):P(o)}}}function U(t,e){return t=f(t),arguments.length===1?zn(t):a(function*(){for(const n of s(e))if(_(t(n)))yield n;else return})}function Ln(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];return n++,we(n,t)===0?e(u,i):u}}}}function $n(t,e){return arguments.length===1?Ln(t):t<=0?at(Q(e)):a(function*(){let n=0;for(const r of s(e))n%t===0&&(yield r),n++})}function Fn(t,...e){return t=f(t),function(...n){return t(...e,...n)}}function Pn(t){return a(function*(){for(;;)yield*t})}function Yn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1],c=n;return n--,c>0?u:e(u,i)}}}}function X(t,e){return arguments.length===1?Yn(t):a(function*(){const n=L(s(e));for(let r=0;r<t;r++)n.next();yield*n})}function Cn(t){return e=>{let n=!0;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=n,i=r[0],c=r[1];return u&&_(t(c))?i:(n=null,e(i,c))}}}}function ne(t,e){return t=f(t),arguments.length===1?Cn(t):a(function*(){const n=L(s(e));for(;;){const r=n.next();if(r.done)break;const o=r.value;if(!_(t(o))){yield o;break}}yield*n})}function Dn(){return t=>{const e=new Set;return(...n)=>{const r=n.length;if(r===0)return t();if(r===1)return t(n[0]);if(r===2){const o=n[0],u=n[1];return e.has(u)?o:(e.add(u),t(o,u))}}}}function Vn(t){return arguments.length===0?Dn():a(function*(){const e=new Set;for(const n of s(t))e.has(n)||(yield n),e.add(n)})}function Wn(t,e,n,...r){return n=f(n),k(t,e,n(w(t,e),...r))}function pt(t,e,n){let r=t;for(const o of e)r=w(r,o);return r===void 0?n:r}function Jn(t,e,n,...r){return n=f(n),Mt(t,e,n(pt(t,e),...r))}function ht(t,e,...n){return t=f(t),function(r,...o){return r?t(r,...n,...o):t(e,...n,...o)}}function re(t,e){t=f(t);for(const n of s(e))if(!t(n))return!1;return!0}function Un(t,e){return!re(t,e)}function Xn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1],i=t(u);return i==null?o:e(o,i)}}}function Zn(t,e){return t=f(t),arguments.length===1?Xn(t):a(function*(){for(const n of s(e)){const r=t(n);_(r)&&(yield r)}})}function Hn(t){return t=s(t),[...t].reverse()}function _t(t,e){return arguments.length===1&&(e=t,t=void 0),t=f(t),e=s(e),[...e].sort(t||v)}function tr(t){return t===v?t:(e,n)=>{const r=t(e,n);return le(r)?r:r?-1:t(n,e)?1:0}}function er(t,e,n){return arguments.length===2&&(n=e,e=v),t=f(t),e=f(e),_t((r,o)=>{const u=tr(e),i=t(r),c=t(o);return u(i,c)},n)}function nr(t){const e=[...t];let n=t.length;for(;n;){const r=Math.floor(Math.random()*n--),o=e[n];e[n]=e[r],e[r]=o}return e}function oe(t,e){t=f(t);for(const n of s(e)){const r=t(n);if(_(r))return r}}function rr(t,e){return t=f(t),!oe(t,e)}function or(t,e){return(Array.isArray(e)?it:M)(r=>{const o=t[r];return o!==void 0?o:r},e)}function ur(t){return!R(t)}function ue(t){return Math.floor(Math.random()*t)}function ir(t){const e=ue(O(t));return jt(t,e)}function cr(t){return a(function*(){for(;;)yield t()})}function sr(t,e){arguments.length===1&&(e=t,t=void 0);const n=cr(e);return t?J(t,n):n}function dt(t,e,n,...r){const o=w(t,e);return b(t,e,n(o,...r))}function fr(t,e){t=f(t);const n={};for(const r of s(e)){const o=t(r);dt(n,o,ht(z,[]),r)}return n}function lr(t){const e={},n=ht(Kt,0);for(const r of s(t))dt(e,r,n);return e}class ar{constructor(e){this.f=e,this.res=void 0}*[Symbol.iterator](){this.res===void 0&&(this.res=this.f(),this.f=null),yield*s(this.res)}}function pr(t){const e=[...s(t)];return e.pop(),e.length>0?e:null}function hr(...t){const[e,n]=t.length>1?t:[1,t[0]];return M((r,o)=>r,n,X(e,n))}function _r(t,e){return[J(t,e),X(t,e)]}function dr(t,e){return[U(t,e),ne(t,e)]}function O(t){if(!t)return 0;const e=t.length||t.size;if(typeof e=="number")return e;let n=0;for(const r of s(t))n++;return n}function xr(t){return t===!0}function yr(t){return t===!1}function mr(t){return t!=null}function wr(t){return!!t}function gr(t){return t===0}function br(t){return t<0}function Ar(t){return t>0}function vr(...t){let e=0;const n={};for(;!(e>=t.length);)n[t[e]]=t[e+1],e=e+2;return n}function Mr(t){return t.length}function Er(t,e,n,...r){if(r.length==0)return t[e]=n,n;{const o=[e,n,...r],u=o[o.length-1];let i=t,c=0;const l=o.length-2;for(;c<l;c++)i=i[o[c]];return i[o[c]]=u,n}}function Rr(t){for(const e of s(t));return null}function Sr(t){return S(t)}function kr(t){return[...t]}function Qr(t,e,n){return t._add_watch(e,n)}function Kr(t,e){return t._remove_watch(e)}function xt(t,e,n){if(!n)return e;var r=e;for(const o of s(n))r=t(r,o[0],o[1]);return r}function ie(t,e,...n){return e==null?t:Math.max(t,e,...n)}function Ir(t,e,...n){return e==null?t:Math.min(t,e,...n)}function ce(t){return t==null?!1:!!(B(t)||t instanceof Map)}function jr(...t){return(...e)=>{for(const n of t)for(const r of e)if(!n(r))return!1;return!0}}function Tr(...t){return(...e)=>{for(const n of t)for(const r of e){const o=n(r);if(o)return o}}}function se(t,e){return S(e||t)}function Nr(t,e){var n=e;return a(function*(){for(;;)yield n,n=t(n)})}function Or(...t){return t=t.map(f),(...e)=>{const n=[];for(const r of t)n.push(r(...e));return n}}function tt(t){if(Array.isArray(t)){const e=t.slice(1);return e.length>0?e:null}else return R(F(t))}function Gr(t){return tt(tt(t))}function v(t,e){if(t===e)return 0;{if(t==null)return-1;if(e==null)return 1;const n=typeof t,r=typeof e;if(n==="number"&&r==="number"||n==="string"&&r==="string")return t===e?0:t<e?-1:1;throw new Error(`comparing ${n} to ${r}`)}}function qr(t){return se(t)}function _(t){return t!=null&&t!==!1}const Br=_;function fe(t,e,n){return t.substring(e,n)}function zr(t){return typeof t=="function"}function Lr(t,e){return a(function*(){for(;;){const n=t.exec(e);if(n){const r=n[0];yield n.length===1?r:S(n);const u=n.index+ie(1,r.length);if(u>e.length)break;e=fe(e,u)}else break}})}function $r(t){return Number.isNaN(t)}function le(t){return typeof t=="number"}function ae(t){return t?Object.keys(t):null}function Fr(t){return ae(t)}function Pr(t){return t?Object.values(t):null}function yt(t){return typeof t=="string"}function Yr(t){return p(t)!=null}function Cr(t){return t instanceof RegExp}class mt extends Error{constructor(e,n,r){super(e),this._data=n,this._cause=r}}function Dr(t){return t instanceof mt?t._data:null}function Vr(t){return t instanceof Error?t.message:null}function Wr(t){return t instanceof mt?t._cause:null}function Jr(t,e,n){return new mt(t,e,n)}function pe(t){return Number.isInteger(t)}const Ur=pe,he=Symbol("meta");function Xr(t){return t instanceof Object?t[he]:null}function Zr(t,e){const n=j(t);return n[he]=e,n}function Hr(t){return t===!0||t===!1}function _e(t){switch(p(t)){case x:case h:case y:case E:case m:return!0}return!1}function to(t,e){return _e(e)?O(e):O(J(t,e))}function eo(t,e){const n=w(t,e);if(n!==void 0)return[e,n]}function no(t,e){return(t%e+e)%e}function ro(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i<=r&&(r=i,o=u)}),o}function oo(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i>=r&&(r=i,o=u)}),o}function uo(t){throw new Error(`Expected string, got: ${typeof t}`)}function io(t){if(yt(t)){if(/^[+-]?\d+$/.test(t)){const e=parseInt(t);if(Number.MIN_SAFE_INTEGER<=e<=Number.MAX_SAFE_INTEGER)return e}return null}return uo(t)}function de(t){return t>=0?Math.floor(t):Math.ceil(t)}function xe(t,e){const n=t%e;return de((t-n)/e)}function wt(t,...e){switch(e.length){case 2:{const n=e[0],r=e[1];return wt(t,n,n(),r)}default:{let n=e[0];const r=e[1],o=e[2];n=t(n);const u=K(n,r,o);return n(u)}}}function co(t,e){const n={},r=s(t)[Symbol.iterator](),o=s(e)[Symbol.iterator]();let u,i;for(;u=r.next(),!(u.done||(i=o.next(),i.done));)n[u.value]=i.value;return n}function so(t){return R(t)?t:null}function ye(t,e,n){const r=function*(o){if(yield o,_(t(o)))for(const u of s(e(o)))yield*r(u)};return a(function*(){yield*r(n)})}function fo(t){return C(ct(H),F(ye(H,R,t)))}function lo(t){return j(t)}function ao(t){return Object.freeze(t)}class T{constructor(e){e instanceof T||(e=_t(e));const r=new Set(e);this._elts=[...r],this._set=r}add(e){if(this._set.has(e))return this;const n=this._elts;let r=!1;for(let o=0;o<n.length;o++)if(v(e,n[o])<=0){n.splice(o,0,e),r=!0;break}return r?this._set=new Set(n):(n.push(e),this._set.add(e)),this.size=n.length,this}delete(e){if(!this._set.has(e))return this;const n=this._elts,r=n.indexOf(e);return n.splice(r,1),this._set=new Set(n),this.size=n.length,this}has(e){return this._set.has(e)}keys(){return this.values()}values(){return this._elts[Symbol.iterator]()}entries(){return this._set.entries()}forEach(...e){return this.set.forEach(...e)}clear(){this._elts=[],this._set=new Set(this._elts)}[Symbol.iterator](){return this.keys()}}function po(...t){return new T(t)}function et(t,e,n){return r=>e(v(r,n),0)}function me(t,e,n=!0){let r=0;for(;r<t.length&&v(e,t[r])>0;r++);return r}function ho([t,e,n]){const r=et(t,e,n);if(e===bt||e===At){const o=[...t],u=me(o,n,!0);return o.splice(0,u),r(o[0])||o.splice(0,1),o}else return[...U(r,t)]}function _o([t,e,n,r,o]){const u=[...t],i=me(u,n,!0);u.splice(0,i);const c=et(t,r,o);return et(t,e,n)(u[0])||u.splice(0,1),[...U(c,u)]}function xo(...t){if(t.length===3)return ho(t);if(t.length===5)return _o(t)}function yo(t){return Math.abs(t)}function mo(t){return de(t)}function wo(t){return t!=null&&t.constructor}function go(t){return(e,n)=>{const r=t(e,n);return A(r)?P(r):r}}function bo(t){return t=go(t),(...e)=>{switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return K(t,e[0],e[1])}}}function we(t,e){const n=xe(t,e);return t-e*n}function Ao(t){const e=new Map;return(...n)=>{const r=[n.length,...n],o=pt(e,r);if(o===void 0){const u=t(...n);return Et(e,r,u),u}else return o}}function vo(t){return V(t)?t[t.length-1]:Q(t)}function Mo(t){if(V(t)){const e=[...t];return e.pop(),e}else return F(t)}function Eo(t,e){const n=W(t),r=vt(t)||b;return xt((o,u,i)=>r(o,e(u),i),n,t),n}function ge(t,e){const n=W(t),r=vt(t)||b;return xt((o,u,i)=>r(o,u,e(i)),n,t),n}class Ro{constructor(e){this.f=e}_deref(){return this.realized?this.v:(this.v=this.f(),this.realized=!0,this.v)}}function nt(t,e){if(e.has(t))return t;if(e.add(t),ce(t))return ge(t,r=>nt(r,e));const n=p(t);return n&&n!=y?it(r=>nt(r,e),t):t}function So(t){return nt(t,new Set)}return Se(ko);})();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "squint-cljs",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.8.128",
5
+ "version": "0.8.129",
6
6
  "files": [
7
7
  "core.js",
8
8
  "src/squint/core.js",
@@ -2751,7 +2751,8 @@ function clj__GT_js_(x, seen) {
2751
2751
  return update_vals(x, x => clj__GT_js_(x, seen));
2752
2752
  }
2753
2753
 
2754
- if (coll_QMARK_(x)) {
2754
+ const tc = typeConst(x);
2755
+ if (tc && tc != OBJECT_TYPE) {
2755
2756
  return mapv(x => clj__GT_js_(x, seen), x);
2756
2757
  }
2757
2758
  return x;