System.register([],function(Di){"use strict";return{execute:function(){Di({compose:lr,pipe:fr});Di("F",function(){return!1});Di("T",function(){return!0});Di("__",{"@@functional/placeholder":!0});functions(t){return(s="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functionf(t){returnnull!=t&&"object"===s(t)&&!0===t["@@functional/placeholder"]}functiono(n){returnfunctiont(r){return0===arguments.length||f(r)?t:n.apply(this,arguments)}}functionr(e){returnfunctiont(r,n){switch(arguments.length){case0:returnt;case1:returnf(r)?t:o(function(t){returne(r,t)});default:returnf(r)&&f(n)?t:f(r)?o(function(t){returne(t,n)}):f(n)?o(function(t){returne(r,t)}):e(r,n)}}}vart=r(function(t,r){return+t++r});functiona(t,r){varn,e=(t=t||[]).length,u=(r=r||[]).length,i=[];for(n=0;n<e;)i[i.length]=t[n],n+=1;for(n=0;n<u;)i[i.length]=r[n],n+=1;returni}functionl(t,s){switch(t){case0:returnfunction(){returns.apply(this,arguments)};case1:returnfunction(t){returns.apply(this,arguments)};case2:returnfunction(t,r){returns.apply(this,arguments)};case3:returnfunction(t,r,n){returns.apply(this,arguments)};case4:returnfunction(t,r,n,e){returns.apply(this,arguments)};case5:returnfunction(t,r,n,e,u){returns.apply(this,arguments)};case6:returnfunction(t,r,n,e,u,i){returns.apply(this,arguments)};case7:returnfunction(t,r,n,e,u,i,o){returns.apply(this,arguments)};case8:returnfunction(t,r,n,e,u,i,o,a){returns.apply(this,arguments)};case9:returnfunction(t,r,n,e,u,i,o,a,c){returns.apply(this,arguments)};case10:returnfunction(t,r,n,e,u,i,o,a,c,f){returns.apply(this,arguments)};default:throwError("First argument to _arity must be a non-negative integer no greater than ten")}}functionp(o,a,c){returnfunction(){for(vart=[],r=0,n=o,e=0,u=!1;e<a.length||r<arguments.length;){vari;a.length<=e||f(a[e])&&r<arguments.length?(i=arguments[r],r+=1):i=a[e],f(t[e]=i)?u=!0:n-=1,e+=1}returnu||0<n?l(Math.max(0,n),p(o,t,c)):c.apply(this,t)}}Di("add",t);varc=r(function(t,r){return1===t?o(r):l(t,p(t,[],r))});Di("curryN",c);varn=o(function(u){returnc(u.length,function(){varr=0,n=arguments[0],e=arguments[arguments.length-1],t=Array.prototype.slice.call(arguments,0);returnt[0]=function(){vart=n.apply(this,a(arguments,[r,e]));returnr+=1,t},u.apply(this,t)})});Di("addIndex",n);vare=o(function(u){returnc(u.length,function(){varr=arguments[0],n=arguments[arguments.length-1],e=n.length-1,t=Array.prototype.slice.call(arguments,0);returnt[0]=function(){vart=r.apply(this,a(arguments,[e,n]));returne-=1,t},u.apply(this,t)})});functionu(i){returnfunctiont(n,e,u){switch(arguments.length){case0:returnt;case1:returnf(n)?t:r(function(t,r){returni(n,t,r)});case2:returnf(n)&&f(e)?t:f(n)?r(function(t,r){returni(t,e,r)}):f(e)?r(function(t,r){returni(n,t,r)}):o(function(t){returni(n,e,t)});default:returnf(n)&&f(e)&&f(u)?t:f(n)&&f(e)?r(function(t,r){returni(t,r,u)}):f(n)&&f(u)?r(function(t,r){returni(t,e,r)}):f(e)&&f(u)?r(function(t,r){returni(n,t,r)}):f(n)?o(function(t){returni(t,e,u)}):f(e)?o(function(t){returni(n,t,u)}):f(u)?o(function(t){returni(n,e,t)}):i(n,e,u)}}}Di("addIndexRight",e);vari=u(function(t,r,n){vare=n.length;if(e<=t||t<-e)returnn;varu=(e+t)%e,i=a(n);returni[u]=r(n[u]),i});Di("adjust",i);varh=Array.isArray||function(t){returnnull!=t&&0<=t.length&&"[object Array]"===Object.prototype.toString.call(t)};functionv(t){returnnull!=t&&"function"==typeoft["@@transducer/step"]}functiony(n,e,u){returnfunction(){if(0===arguments.length)returnu();vart=arguments[arguments.length-1];if(!h(t)){for(varr=0;r<n.length;){if("function"==typeoft[n[r]])returnt[n[r]].apply(t,Array.prototype.slice.call(arguments,0,-1));r+=1}if(v(t))returne.apply(null,Array.prototype.slice.call(arguments,0,-1))(t)}returnu.apply(this,arguments)}}functiond(t){returnt&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}varg=function(){returnthis.xf["@@transducer/init"]()},m=function(t){returnthis.xf["@@transducer/result"](t)};functionb(t,r){this.xf=r,this.f=t,this.all=!0}b.prototype["@@transducer/init"]=g,b.prototype["@@transducer/result"]=function(t){returnthis.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},b.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)||(this.all=!1,t=d(this.xf["@@transducer/step"](t,!1))),t};varx=r(y(["all"],function(r){returnfunction(t){returnnewb(r,t)}},function(t,r){for(varn=0;n<r.length;){if(!t(r[n]))return!1;n+=1}return!0}));functionw(t){for(varr,n=[];!(r=t.next()).done;)n.push(r.value);returnn}functionj(t,r,n){for(vare=0,u=n.length;e<u;){if(t(r,n[e]))return!0;e+=1}return!1}functionA(t,r){returnObject.prototype.hasOwnProperty.call(r,t)}Di("all",x);functionO(t,r){for(varn=0;n<t.length;){if(t[n]===r)return!0;n+=1}return!1}varS="function"==typeofObject.is?Object.is:function(t,r){returnt===r?0!==t||1/t==1/r:t!=t&&r!=r},E=Object.prototype.toString,_=function(){return"[object Arguments]"===E.call(arguments)?function(t){return"[object Arguments]"===E.call(t)}:function(t){returnA("callee",t)}}(),I=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=function(){returnarguments.propertyIsEnumerable("length")}(),W=o("function"!=typeofObject.keys||k?function(t){if(Object(t)!==t)return[];varr,n,e=[],u=k&&_(t);for(rint)!A(r,t)||u&&"length"===r||(e[e.length]=r);if(I)for(n=N.length-1;0<=n;)A(r=N[n],t)&&!O(e,r)&&(e[e.length]=r),n-=1;returne}:function(t){returnObject(t)!==t?[]:Object.keys(t)});Di("keys",W);varq=o(function(t){returnnull===t?"Null":void0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});functionU(t,r,n,e){varu=w(t);functioni(t,r){returnF(t,r,n.slice(),e.slice())}return!j(function(t,r){return!j(i,r,t)},w(r),u)}functionF(t,r,n,e){if(S(t,r))return!0;varu=q(t);if(u!==q(r))return!1;if("function"==typeoft["fantasy-land/equals"]||"function"==typeofr["fantasy-land/equals"])return"function"==typeoft["fantasy-land/equals"]&&t["fantasy-land/equals"](r)&&"function"==typeofr["fantasy-land/equals"]&&r["fantasy-land/equals"](t);if("function"==typeoft.equals||"function"==typeofr.equals)return"function"==typeoft.equals&&t.equals(r)&&"function"==typeofr.equals&&r.equals(t);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeoft.constructor&&"Promise"===function(t){varr=(t+"").match(/^function (\w*)/);returnnull==r?"":r[1]}(t.constructor))returnt===r;break;case"Boolean":case"Number":case"String":if(s(t)!==s(r)||!S(t.valueOf(),r.valueOf()))return!1;break;case"Date":if(!S(t.valueOf(),r.valueOf()))return!1;break;case"Error":returnt.name===r.name&&t.message===r.message;case"RegExp":if(t.source!==r.source||t.global!==r.global||t.ignoreCase!==r.ignoreCase||t.multiline!==r.multiline||t.sticky!==r.sticky||t.unicode!==r.unicode)return!1}for(vari=n.length-1;0<=i;){if(n[i]===t)returne[i]===r;i-=1}switch(u){case"Map":returnt.size===r.size&&U(t.entries(),r.entries(),n.concat([t]),e.concat([r]));case"Set":returnt.size===r.size&&U(t.values(),r.values(),n.concat([t]),e.concat([r]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}varo=W(t);if(o.length!==W(r).length)return!1;vara=n.concat([t]),c=e.concat([r]);for(i=o.length-1;0<=i;){varf=o[i];if(!A(f,r)||!F(r[f],t[f],a,c))return!1;i-=1}return!0}Di("type",q);varB=r(function(t,r){returnF(t,r,[],[])});functionP(t,r,n){vare,u;if("function"==typeoft.indexOf)switch(s(r)){case"number":if(0===r){for(e=1/r;n<t.length;){if(0===(u=t[n])&&1/u==e)returnn;n+=1}return-1}if(r==r)returnt.indexOf(r,n);for(;n<t.length;){if("number"==typeof(u=t[n])&&u!=u)returnn;n+=1}return-1;case"string":case"boolean":case"function":case"undefined":returnt.indexOf(r,n);case"object":if(null===r)returnt.indexOf(r,n)}for(;n<t.length;){if(B(t[n],r))returnn;n+=1}return-1}functionC(t,r){return0<=P(r,t,0)}functionT(t,r){for(varn=0,e=r.length,u=Array(e);n<e;)u[n]=t(r[n]),n+=1;returnu}functionR(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}Di("equals",B);functionM(t){return(t<10?"0":"")+t}varD="function"==typeofDate.prototype.toISOString?function(t){returnt.toISOString()}:function(t){returnt.getUTCFullYear()+"-"+M(1+t.getUTCMonth())+"-"+M(t.getUTCDate())+"T"+M(t.getUTCHours())+":"+M(t.getUTCMinutes())+":"+M(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};functionz(t){returnfunction(){return!t.apply(this,arguments)}}functionL(t,r,n){for(vare=0,u=n.length;e<u;)r=t(r,n[e]),e+=1;returnr}functionV(t,r){for(varn=0,e=r.length,u=[];n<e;)t(r[n])&&(u[u.length]=r[n]),n+=1;returnu}functionG(t){return"[object Object]"===Object.prototype.toString.call(t)}functionK(t,r){this.xf=r,this.f=t}K.prototype["@@transducer/init"]=g,K.prototype["@@transducer/result"]=m,K.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)?this.xf["@@transducer/step"](t,r):t};var$=r(y(["fantasy-land/filter","filter"],function(r){returnfunction(t){returnnewK(r,t)}},function(n,e){returnG(e)?L(function(t,r){returnn(e[r])&&(t[r]=e[r]),t},{},W(e)):V(n,e)}));Di("filter",$);varH=r(function(t,r){return$(z(t),r)});functionJ(n,e){functionu(t){varr=e.concat([n]);returnC(t,r)?"<Circular>":J(t,r)}functiont(r,t){returnT(function(t){returnR(t)+": "+u(r[t])},t.slice().sort())}switch(Object.prototype.toString.call(n)){case"[object Arguments]":return"(function() { return arguments; }("+T(u,n).join(", ")+"))";case"[object Array]":return"["+T(u,n).concat(t(n,H(function(t){return/^\d+$/.test(t)},W(n)))).join(", ")+"]";case"[object Boolean]":return"object"===s(n)?"new Boolean("+u(n.valueOf())+")":""+n;case"[object Date]":return"new Date("+(isNaN(n.valueOf())?u(NaN):R(D(n)))+")";case"[object Map]":return"new Map("+u(Array.from(n))+")";case"[object Null]":return"null";case"[object Number]":return"object"===s(n)?"new Number("+u(n.valueOf())+")":1/n==-1/0?"-0":n.toString(10);case"[object Set]":return"new Set("+u(Array.from(n).sort())+")";case"[object String]":return"object"===s(n)?"new String("+u(n.valueOf())+")":R(n);case"[object Undefined]":return"undefined";default:if("function"==typeofn.toString){varr=""+n;if("[object Object]"!=r)returnr}return"{"+t(n,W(n)).join(", ")+"}"}}Di("reject",H);varX=o(function(t){returnJ(t,[])});Di("toString",X);varY=r(function(t,r){if(t===r)returnr;functionn(t,r){if(r<t!=t<r)returnt<r?r:t}vare=n(t,r);if(void0!==e)returne;varu=n(s(t),s(r));if(void0!==u)returnu===s(t)?t:r;vari=X(t),o=n(i,X(r));returnvoid0!==o&&o===i?t:r});functionZ(t,r){this.xf=r,this.f=t}Di("max",Y),Z.prototype["@@transducer/init"]=g,Z.prototype["@@transducer/result"]=m,Z.prototype["@@transducer/step"]=function(t,r){returnthis.xf["@@transducer/step"](t,this.f(r))};functionQ(r){returnfunction(t){returnnewZ(r,t)}}vartt=r(y(["fantasy-land/map","map"],Q,function(n,e){switch(Object.prototype.toString.call(e)){case"[object Function]":returnc(e.length,function(){returnn.call(this,e.apply(this,arguments))});case"[object Object]":returnL(function(t,r){returnt[r]=n(e[r]),t},{},W(e));default:returnT(n,e)}}));Di("map",tt);varrt=Number.isInteger||function(t){returnt<<0===t};functionnt(t){return"[object String]"===Object.prototype.toString.call(t)}functionet(t,r){varn=t<0?r.length+t:t;returnnt(r)?r[0|n]:r[n]}varut=r(function(t,r){if(null!=r)returnrt(t)?et(t,r):r[t]});Di("prop",ut);varit=r(function(t,r){returntt(ut(t),r)});Di("pluck",it);varot=o(function(t){return!!h(t)||!!t&&("object"===s(t)&&(!nt(t)&&(0===t.length||0<t.length&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}),at="undefined"!=typeofSymbol?Symbol.iterator:"@@iterator";functionct(e,u,i){returnfunction(t,r,n){if(ot(n))returne(t,r,n);if(null==n)returnr;if("function"==typeofn["fantasy-land/reduce"])returnu(t,r,n,"fantasy-land/reduce");if(null!=n[at])returni(t,r,n[at]());if("function"==typeofn.next)returni(t,r,n);if("function"==typeofn.reduce)returnu(t,r,n,"reduce");thrownewTypeError("reduce: list must be array or iterable")}}functionft(t,r,n){for(vare=0,u=n.length;e<u;){if((r=t["@@transducer/step"](r,n[e]))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e+=1}returnt["@@transducer/result"](r)}varst=r(function(t,r){returnl(t.length,function(){returnt.apply(r,arguments)})});Di("bind",st);varlt=ct(ft,function(t,r,n,e){returnt["@@transducer/result"](n[e](st(t["@@transducer/step"],t),r))},function(t,r,n){for(vare=n.next();!e.done;){if((r=t["@@transducer/step"](r,e.value))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e=n.next()}returnt["@@transducer/result"](r)});functionpt(t){this.f=t}functionht(t){returnnewpt(t)}pt.prototype["@@transducer/init"]=function(){throwError("init not implemented on XWrap")},pt.prototype["@@transducer/result"]=function(t){returnt},pt.prototype["@@transducer/step"]=function(t,r){returnthis.f(t,r)};varvt=u(function(t,r,n){returnlt("function"==typeoft?ht(t):t,r,n)});Di("reduce",vt);varyt=o(function(n){returnc(vt(Y,0,it("length",n)),function(){for(vart=0,r=n.length;t<r;){if(!n[t].apply(this,arguments))return!1;t+=1}return!0})});Di("allPass",yt);vardt=o(function(t){returnfunction(){returnt}});Di("always",dt);vargt=r(function(t,r){returnt&&r});functionmt(t,r){this.xf=r,this.f=t,this.any=!1}Di("and",gt),mt.prototype["@@transducer/init"]=g,mt.prototype["@@transducer/result"]=function(t){returnthis.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},mt.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)&&(this.any=!0,t=d(this.xf["@@transducer/step"](t,!0))),t};varbt=r(y(["any"],function(r){returnfunction(t){returnnewmt(r,t)}},function(t,r){for(varn=0;n<r.length;){if(t(r[n]))return!0;n+=1}return!1}));Di("any",bt);varxt=o(function(n){returnc(vt(Y,0,it("length",n)),function(){for(vart=0,r=n.length;t<r;){if(n[t].apply(this,arguments))return!0;t+=1}return!1})});Di("anyPass",xt);varwt=ct(L,function(t,r,n,e){returnn[e](t,r)},function(t,r,n){for(vare=n.next();!e.done;)r=t(r,e.value),e=n.next();returnr}),jt=r(function(r,n){return"function"==typeofn["fantasy-land/ap"]?n["fantasy-land/ap"](r):"function"==typeofr.ap?r.ap(n):"function"==typeofr?function(t){returnr(t)(n(t))}:wt(function(t,r){returna(t,tt(r,n))},[],r)});functionAt(t,r){this.xf=r,this.pos=0,this.full=!1,this.acc=Array(t)}Di("ap",jt),At.prototype["@@transducer/init"]=g,At.prototype["@@transducer/result"]=function(t){returnthis.acc=null,this.xf["@@transducer/result"](t)},At.prototype["@@transducer/step"]=function(t,r){returnthis.store(r),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},At.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},At.prototype.getCopy=function(){returna(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};varOt=r(y([],function(r){returnfunction(t){returnnewAt(r,t)}},function(t,r){for(varn=0,e=r.length-(t-1),u=Array(e<0?0:e);n<e;)u[n]=Array.prototype.slice.call(r,n,n+t),n+=1;returnu}));Di("aperture",Ot);varSt=r(function(t,r){returna(r,[t])});Di("append",St);varEt=r(function(t,r){returnt.apply(this,r)});Di("apply",Et);var_t=o(function(t){for(varr=W(t),n=r.length,e=[],u=0;u<n;)e[u]=t[r[u]],u+=1;returne});functionIt(n,e){returnh(e)?e.map(n):W(e).reduce(function(t,r){returnt[r]=n(e[r]),t},{})}Di("values",_t);varNt=o(functionr(t){returnt=It(function(t){return"function"==typeoft?t:r(t)},t),c(vt(Y,0,it("length",_t(t))),function(){varr=arguments;returnIt(function(t){returnEt(t,r)},t)})});Di("applySpec",Nt);varkt=r(function(t,r){returnr(t)});Di("applyTo",kt);varWt=u(function(t,r,n){vare=t(r),u=t(n);returne<u?-1:u<e?1:0});functionqt(t,r,n){if(rt(t)&&h(n)){vare=[].concat(n);returne[t]=r,e}varu={};for(variinn)u[i]=n[i];returnu[t]=r,u}Di("ascend",Wt);varUt=o(function(t){returnnull==t});Di("isNil",Ut);varFt=u(functiont(r,n,e){if(0===r.length)returnn;varu=r[0];if(1<r.length){vari=!Ut(e)&&A(u,e)&&"object"===s(e[u])?e[u]:rt(r[1])?[]:{};n=t(Array.prototype.slice.call(r,1),n,i)}returnqt(u,n,e)});Di("assocPath",Ft);varBt=u(function(t,r,n){returnFt([t],r,n)});Di("assoc",Bt);varPt=r(function(t,s){switch(t){case0:returnfunction(){returns.call(this)};case1:returnfunction(t){returns.call(this,t)};case2:returnfunction(t,r){returns.call(this,t,r)};case3:returnfunction(t,r,n){returns.call(this,t,r,n)};case4:returnfunction(t,r,n,e){returns.call(this,t,r,n,e)};case5:returnfunction(t,r,n,e,u){returns.call(this,t,r,n,e,u)};case6:returnfunction(t,r,n,e,u,i){returns.call(this,t,r,n,e,u,i)};case7:returnfunction(t,r,n,e,u,i,o){returns.call(this,t,r,n,e,u,i,o)};case8:returnfunction(t,r,n,e,u,i,o,a){returns.call(this,t,r,n,e,u,i,o,a)};case9:returnfunction(t,r,n,e,u,i,o,a,c){returns.call(this,t,r,n,e,u,i,o,a,c)};case10:returnfunction(t,r,n,e,u,i,o,a,c,f){returns.call(this,t,r,n,e,u,i,o,a,c,f)};default:throwError("First argument to nAry must be a non-negative integer no greater than ten")}});Di("nAry",Pt);varCt=o(function(t){returnPt(2,t)});functionTt(t){varr=Object.prototype.toString.call(t);return"[object Function]"===r||"[object AsyncFunction]"===r||"[object GeneratorFunction]"===r||"[object AsyncGeneratorFunction]"===r}Di("binary",Ct);varRt=r(function(t,r){varn=c(t,r);returnc(t,function(){returnL(jt,tt(n,arguments[0]),Array.prototype.slice.call(arguments,1))})});Di("liftN",Rt);varMt=o(function(t){returnRt(t.length,t)});Di("lift",Mt);varDt=r(function(t,r){returnTt(t)?function(){returnt.apply(this,arguments)&&r.apply(this,arguments)}:Mt(gt)(t,r)});Di("both",Dt);varzt=o(function(t){returnt.apply(this,Array.prototype.slice.call(arguments,1))});functionLt(c){returnfunctiont(r){for(varn,e,u,i=[],o=0,a=r.length;o<a;){if(ot(r[o]))for(u=0,e=(n=c?t(r[o]):r[o]).length;u<e;)i[i.length]=n[u],u+=1;elsei[i.length]=r[o];o+=1}returni}}Di("call",zt);varVt="@@transducer/init",Gt="@@transducer/step",Kt="@@transducer/result";function$t(t){this.xf=t}functionHt(t){this.xf=new$t(t)}$t.prototype[Vt]=g,$t.prototype[Kt]=m,$t.prototype[Gt]=function(t,r){varn=this.xf[Gt](t,r);returnn["@@transducer/reduced"]?function(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}(n):n},Ht.prototype[Vt]=g,Ht.prototype[Kt]=m,Ht.prototype[Gt]=function(t,r){returnot(r)?lt(this.xf,t,r):ft(this.xf,t,[r])};varJt=r(y(["fantasy-land/chain","chain"],function(r){returnfunction(t){returnQ(r)(function(t){returnnewHt(t)}(t))}},function(r,n){return"function"==typeofn?function(t){returnr(n(t))(t)}:Lt(!1)(tt(r,n))}));Di("chain",Jt);varXt=u(function(t,r,n){if(r<t)throwError("min must not be greater than max in clamp(min, max, value)");returnn<t?t:r<n?r:n});functionYt(t){returnRegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}functionZt(e,u,i){if(i||(i=newQt),function(t){varr=s(t);returnnull==t||"object"!=r&&"function"!=r}(e))returne;functiont(t){varr=i.get(e);if(r)returnr;for(varnini.set(e,t),e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=u?Zt(e[n],!0,i):e[n]);returnt}switch(q(e)){case"Object":returnt(Object.create(Object.getPrototypeOf(e)));case"Array":returnt([]);case"Date":returnnewDate(e.valueOf());case"RegExp":returnYt(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":returne.slice();default:returne}}functionQt(){this.map={},this.length=0}Di("clamp",Xt),Qt.prototype.set=function(t,r){varn=this.hash(t),e=this.map[n];e||(this.map[n]=e=[]),e.push([t,r]),this.length+=1},Qt.prototype.hash=function(t){varr=[];for(varnint)r.push(Object.prototype.toString.call(t[n]));returnr.join()},Qt.prototype.get=function(t){if(180<this.length){varr=this.hash(t),n=this.map[r];if(n)for(vare=0;e<n.length;e+=1){varu=n[e];if(u[0]===t)returnu[1]}}elsefor(variinthis.map)for(varo=this.map[i],a=0;a<o.length;a+=1){varc=o[a];if(c[0]===t)returnc[1]}};vartr=o(function(t){returnnull!=t&&"function"==typeoft.clone?t.clone():Zt(t,!0)});Di("clone",tr);varrr=r(function(e,t){varr=wt(function(t,r){varn=e(r);returnvoid0===t[n]&&(t[n]=[]),t[n].push(r),t},{},t),n=[];for(varuinr)n.push(r[u]);returnn});Di("collectBy",rr);varnr=o(function(n){returnfunction(t,r){returnn(t,r)?-1:n(r,t)?1:0}});Di("comparator",nr);varer=o(function(t){return!t});Di("not",er);varur=Mt(er);functionir(t,r){returnfunction(){returnr.call(this,t.apply(this,arguments))}}functionor(n,e){returnfunction(){vart=arguments.length;if(0===t)returne();varr=arguments[t-1];returnh(r)||"function"!=typeofr[n]?e.apply(this,arguments):r[n].apply(r,Array.prototype.slice.call(arguments,0,t-1))}}Di("complement",ur);varar=u(or("slice",function(t,r,n){returnArray.prototype.slice.call(n,t,r)}));Di("slice",ar);varcr=o(or("tail",ar(1,1/0)));functionfr(){if(0===arguments.length)throwError("pipe requires at least one argument");returnl(arguments[0].length,vt(ir,arguments[0],cr(arguments)))}Di("tail",cr);varsr=o(function(t){returnnt(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});functionlr(){if(0===arguments.length)throwError("compose requires at least one argument");returnfr.apply(this,sr(arguments))}Di("reverse",sr);varpr=o(function(t){returnet(0,t)});functionhr(t){returnt}Di("head",pr);varvr=o(hr);Di("identity",vr);varyr=r(function(n,t){if(t.length<=0)returnvr;varr=pr(t),e=cr(t);returnl(r.length,function(){returnwt(function(t,r){returnn.call(this,r,t)},r.apply(this,arguments),e)})});Di("pipeWith",yr);vardr=r(function(t,r){returnyr.call(this,t,sr(r))});Di("composeWith",dr);vargr=r(function(t,r){if(h(t)){if(h(r))returnt.concat(r);thrownewTypeError(X(r)+" is not an array")}if(nt(t)){if(nt(r))returnt+r;thrownewTypeError(X(r)+" is not a string")}if(null!=t&&Tt(t["fantasy-land/concat"]))returnt["fantasy-land/concat"](r);if(null!=t&&Tt(t.concat))returnt.concat(r);thrownewTypeError(X(t)+' does not have a method named "concat" or "fantasy-land/concat"')});Di("concat",gr);varmr=o(function(r){returnl(vt(Y,0,tt(function(t){returnt[0].length},r)),function(){for(vart=0;t<r.length;){if(r[t][0].apply(this,arguments))returnr[t][1].apply(this,arguments);t+=1}})});Di("cond",mr);varbr=o(function(t){returnc(t.length,t)});Di("curry",br);varxr=r(function(s,l){if(10<s)throwError("Constructor with greater than ten arguments");return0===s?function(){returnnewl}:br(Pt(s,function(t,r,n,e,u,i,o,a,c,f){switch(s){case1:returnnewl(t);case2:returnnewl(t,r);case3:returnnewl(t,r,n);case4:returnnewl(t,r,n,e);case5:returnnewl(t,r,n,e,u);case6:returnnewl(t,r,n,e,u,i);case7:returnnewl(t,r,n,e,u,i,o);case8:returnnewl(t,r,n,e,u,i,o,a);case9:returnnewl(t,r,n,e,u,i,o,a,c);case10:returnnewl(t,r,n,e,u,i,o,a,c,f)}}))});Di("constructN",xr);varwr=o(function(t){returnxr(t.length,t)});Di("construct",wr);varjr=r(function(t,e){returnc(vt(Y,0,it("length",e)),function(){varr=arguments,n=this;returnt.apply(n,T(function(t){returnt.apply(n,r)},e))})});Di("converge",jr);varAr=br(function(n,t){returnwt(function(t,r){returnn(r)?t+1:t},0,t)});functionOr(t,r,n,e){this.valueFn=t,this.valueAcc=r,this.keyFn=n,this.xf=e,this.inputs={}}Di("count",Ar),Or.prototype["@@transducer/init"]=g,Or.prototype["@@transducer/result"]=function(t){varr;for(rinthis.inputs)if(A(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}returnthis.inputs=null,this.xf["@@transducer/result"](t)},Or.prototype["@@transducer/step"]=function(t,r){varn=this.keyFn(r);returnthis.inputs[n]=this.inputs[n]||[n,Zt(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),t};varSr=p(4,[],y([],function(r,n,e){returnfunction(t){returnnewOr(r,n,e,t)}},function(u,i,o,t){varr=ht(function(t,r){varn=o(r),e=u(A(n,t)?t[n]:Zt(i,!1),r);returne&&e["@@transducer/reduced"]?d(t):(t[n]=e,t)});returnlt(r,{},t)}));Di("reduceBy",Sr);varEr=Sr(function(t,r){returnt+1},0);Di("countBy",Er);var_r=t(-1);Di("dec",_r);varIr=r(function(t,r){returnnull==r||r!=r?t:r});Di("defaultTo",Ir);varNr=u(function(t,r,n){vare=t(r),u=t(n);returnu<e?-1:e<u?1:0});functionkr(){this._nativeSet="function"==typeofSet?newSet:null,this._items={}}functionWr(t,r,n){vare,u=s(t);switch(u){case"string":case"number":return0===t&&1/t==-1/0?!!n._items["-0"]||(r&&(n._items["-0"]=!0),!1):null!==n._nativeSet?r?(e=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===e):n._nativeSet.has(t):uinn._items?tinn._items[u]||(r&&(n._items[u][t]=!0),!1):(r&&(n._items[u]={},n._items[u][t]=!0),!1);case"boolean":if(uinn._items){vari=t?1:0;return!!n._items[u][i]||(r&&(n._items[u][i]=!0),!1)}returnr&&(n._items[u]=t?[!1,!0]:[!0,!1]),!1;case"function":returnnull!==n._nativeSet?r?(e=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===e):n._nativeSet.has(t):uinn._items?!!C(t,n._items[u])||(r&&n._items[u].push(t),!1):(r&&(n._items[u]=[t]),!1);case"undefined":return!!n._items[u]||(r&&(n._items[u]=!0),!1);case"object":if(null===t)return!!n._items.null||(r&&(n._items.null=!0),!1);default:return(u=Object.prototype.toString.call(t))inn._items?!!C(t,n._items[u])||(r&&n._items[u].push(t),!1):(r&&(n._items[u]=[t]),!1)}}Di("descend",Nr),kr.prototype.add=function(t){return!Wr(t,!0,this)},kr.prototype.has=function(t){returnWr(t,!1,this)};varqr=r(function(t,r){for(varn=[],e=0,u=t.length,i=r.length,o=newkr,a=0;a<i;a+=1)o.add(r[a]);for(;e<u;)o.add(t[e])&&(n[n.length]=t[e]),e+=1;returnn});Di("difference",qr);varUr=u(function(t,r,n){for(vare=[],u=0,i=r.length;u<i;)j(t,r[u],n)||j(t,r[u],e)||e.push(r[u]),u+=1;returne});Di("differenceWith",Ur);varFr=u(function(t,r,n){vare=Array.prototype.slice.call(n,0);returne.splice(t,r),e});Di("remove",Fr);varBr=r(functiont(r,n){if(null==n)returnn;switch(r.length){case0:returnn;case1:returnfunction(t,r){if(null==r)returnr;if(rt(t)&&h(r))returnFr(t,1,r);varn={};for(vareinr)n[e]=r[e];returndeleten[t],n}(r[0],n);default:vare=r[0],u=Array.prototype.slice.call(r,1);returnnull==n[e]?function(t,r){if(rt(t)&&h(r))return[].concat(r);varn={};for(vareinr)n[e]=r[e];returnn}(e,n):Bt(e,t(u,n[e]),n)}});Di("dissocPath",Br);varPr=r(function(t,r){returnBr([t],r)});Di("dissoc",Pr);varCr=r(function(t,r){returnt/r});functionTr(t,r){this.xf=r,this.n=t}Di("divide",Cr),Tr.prototype["@@transducer/init"]=g,Tr.prototype["@@transducer/result"]=m,Tr.prototype["@@transducer/step"]=function(t,r){return0<this.n?(this.n-=1,t):this.xf["@@transducer/step"](t,r)};varRr=r(y(["drop"],function(r){returnfunction(t){returnnewTr(r,t)}},function(t,r){returnar(Math.max(0,t),1/0,r)}));functionMr(t,r){this.xf=r,this.n=t,this.i=0}Di("drop",Rr),Mr.prototype["@@transducer/init"]=g,Mr.prototype["@@transducer/result"]=m,Mr.prototype["@@transducer/step"]=function(t,r){this.i+=1;varn=0===this.n?t:this.xf["@@transducer/step"](t,r);returnthis.n<0||this.i<this.n?n:d(n)};varDr=r(y(["take"],function(r){returnfunction(t){returnnewMr(r,t)}},function(t,r){returnar(0,t<0?1/0:t,r)}));functionzr(t,r){if(t<=0)returnr;this.xf=r,this.pos=0,this.full=!1,this.acc=Array(t)}Di("take",Dr),zr.prototype["@@transducer/init"]=g,zr.prototype["@@transducer/result"]=function(t){returnthis.acc=null,this.xf["@@transducer/result"](t)},zr.prototype["@@transducer/step"]=function(t,r){returnthis.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(r),t},zr.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)};varLr=r(y([],function(r){returnfunction(t){returnnewzr(r,t)}},function(t,r){returnDr(t<r.length?r.length-t:0,r)}));functionVr(t,r){this.f=t,this.retained=[],this.xf=r}Di("dropLast",Lr),Vr.prototype["@@transducer/init"]=g,Vr.prototype["@@transducer/result"]=function(t){returnthis.retained=null,this.xf["@@transducer/result"](t)},Vr.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)?this.retain(t,r):this.flush(t,r)},Vr.prototype.flush=function(t,r){returnt=lt(this.xf,t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,r)},Vr.prototype.retain=function(t,r){returnthis.retained.push(r),t};varGr=r(y([],function(r){returnfunction(t){returnnewVr(r,t)}},function(t,r){for(varn=r.length-1;0<=n&&t(r[n]);)n-=1;returnar(0,n+1,r)}));functionKr(t,r){this.xf=r,this.pred=t,this.lastValue=void0,this.seenFirstValue=!1}function$r(r){returnfunction(t){returnnewKr(r,t)}}Di("dropLastWhile",Gr),Kr.prototype["@@transducer/init"]=g,Kr.prototype["@@transducer/result"]=m,Kr.prototype["@@transducer/step"]=function(t,r){varn=!1;returnthis.seenFirstValue?this.pred(this.lastValue,r)&&(n=!0):this.seenFirstValue=!0,this.lastValue=r,n?t:this.xf["@@transducer/step"](t,r)};varHr=o(function(t){returnet(-1,t)});Di("last",Hr);varJr=r(y([],$r,function(t,r){varn=[],e=1,u=r.length;if(0!==u)for(n[0]=r[0];e<u;)t(Hr(n),r[e])||(n[n.length]=r[e]),e+=1;returnn}));Di("dropRepeatsWith",Jr);varXr=o(y([],function(){return$r(B)},Jr(B)));Di("dropRepeats",Xr);varYr=u(function(t,r,n){returnB(t(r),t(n))});Di("eqBy",Yr);varZr=r(function(t,r){returny([],function(){return$r(Yr(t))},Jr(Yr(t)))(r)});functionQr(t,r){this.xf=r,this.f=t}Di("dropRepeatsBy",Zr),Qr.prototype["@@transducer/init"]=g,Qr.prototype["@@transducer/result"]=m,Qr.prototype["@@transducer/step"]=function(t,r){if(this.f){if(this.f(r))returnt;this.f=null}returnthis.xf["@@transducer/step"](t,r)};vartn=r(y(["dropWhile"],function(r){returnfunction(t){returnnewQr(r,t)}},function(t,r){for(varn=0,e=r.length;n<e&&t(r[n]);)n+=1;returnar(n,1/0,r)}));Di("dropWhile",tn);varrn=r(function(t,r){returnt||r});Di("or",rn);varnn=r(function(t,r){returnTt(t)?function(){returnt.apply(this,arguments)||r.apply(this,arguments)}:Mt(rn)(t,r)});Di("either",nn);varen=o(function(t){returnnull!=t&&"function"==typeoft["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeoft.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeoft.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeoft.constructor.empty?t.constructor.empty():h(t)?[]:nt(t)?"":G(t)?{}:_(t)?function(){returnarguments}():function(t){varr=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===r||"[object Int8Array]"===r||"[object Uint8Array]"===r||"[object Int16Array]"===r||"[object Uint16Array]"===r||"[object Int32Array]"===r||"[object Uint32Array]"===r||"[object Float32Array]"===r||"[object Float64Array]"===r||"[object BigInt64Array]"===r||"[object BigUint64Array]"===r}(t)?t.constructor.from(""):void0});Di("empty",en);varun=r(function(t,r){returnRr(t<0?0:r.length-t,r)});Di("takeLast",un);varon=r(function(t,r){returnB(un(t.length,r),t)});Di("endsWith",on);varan=u(function(t,r,n){returnB(r[t],n[t])});Di("eqProps",an);varcn=r(functiont(r,n){if(!G(n)&&!h(n))returnn;vare,u,i,o=ninstanceofArray?[]:{};for(uinn)i=s(e=r[u]),o[u]="function"===i?e(n[u]):e&&"object"===i?t(e,n[u]):n[u];returno});functionfn(t,r){this.xf=r,this.f=t,this.found=!1}Di("evolve",cn),fn.prototype["@@transducer/init"]=g,fn.prototype["@@transducer/result"]=function(t){returnthis.found||(t=this.xf["@@transducer/step"](t,void0)),this.xf["@@transducer/result"](t)},fn.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)&&(this.found=!0,t=d(this.xf["@@transducer/step"](t,r))),t};varsn=r(y(["find"],function(r){returnfunction(t){returnnewfn(r,t)}},function(t,r){for(varn=0,e=r.length;n<e;){if(t(r[n]))returnr[n];n+=1}}));functionln(t,r){this.xf=r,this.f=t,this.idx=-1,this.found=!1}Di("find",sn),ln.prototype["@@transducer/init"]=g,ln.prototype["@@transducer/result"]=function(t){returnthis.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},ln.prototype["@@transducer/step"]=function(t,r){returnthis.idx+=1,this.f(r)&&(this.found=!0,t=d(this.xf["@@transducer/step"](t,this.idx))),t};varpn=r(y([],function(r){returnfunction(t){returnnewln(r,t)}},function(t,r){for(varn=0,e=r.length;n<e;){if(t(r[n]))returnn;n+=1}return-1}));functionhn(t,r){this.xf=r,this.f=t}Di("findIndex",pn),hn.prototype["@@transducer/init"]=g,hn.prototype["@@transducer/result"]=function(t){returnthis.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},hn.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)&&(this.last=r),t};varvn=r(y([],function(r){returnfunction(t){returnnewhn(r,t)}},function(t,r){for(varn=r.length-1;0<=n;){if(t(r[n]))returnr[n];n-=1}}));functionyn(t,r){this.xf=r,this.f=t,this.idx=-1,this.lastIdx=-1}Di("findLast",vn),yn.prototype["@@transducer/init"]=g,yn.prototype["@@transducer/result"]=function(t){returnthis.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},yn.prototype["@@transducer/step"]=function(t,r){returnthis.idx+=1,this.f(r)&&(this.lastIdx=this.idx),t};vardn=r(y([],function(r){returnfunction(t){returnnewyn(r,t)}},function(t,r){for(varn=r.length-1;0<=n;){if(t(r[n]))returnn;n-=1}return-1}));Di("findLastIndex",dn);vargn=o(Lt(!0));Di("flatten",gn);varmn=o(function(e){returnc(e.length,function(t,r){varn=Array.prototype.slice.call(arguments,0);returnn[0]=r,n[1]=t,e.apply(this,n)})});Di("flip",mn);varbn=r(or("forEach",function(t,r){for(varn=r.length,e=0;e<n;)t(r[e]),e+=1;returnr}));Di("forEach",bn);varxn=r(function(t,r){for(varn=W(r),e=0;e<n.length;){varu=n[e];t(r[u],u,r),e+=1}returnr});Di("forEachObjIndexed",xn);varwn=o(function(t){for(varr={},n=0;n<t.length;)r[t[n][0]]=t[n][1],n+=1;returnr});Di("fromPairs",wn);varjn=r(or("groupBy",Sr(function(t,r){returnt.push(r),t},[])));Di("groupBy",jn);varAn=r(function(t,r){for(varn=[],e=0,u=r.length;e<u;){for(vari=e+1;i<u&&t(r[i-1],r[i]);)i+=1;n.push(r.slice(e,i)),e=i}returnn});Di("groupWith",An);varOn=r(function(t,r){returnr<t});Di("gt",On);varSn=r(function(t,r){returnr<=t});Di("gte",Sn);varEn=r(function(t,r){if(0===t.length||Ut(r))return!1;for(varn=r,e=0;e<t.length;){if(Ut(n)||!A(t[e],n))return!1;n=n[t[e]],e+=1}return!0});Di("hasPath",En);var_n=r(function(t,r){returnEn([t],r)});Di("has",_n);varIn=r(function(t,r){return!Ut(r)&&tinr});Di("hasIn",In);Di("identical",functiont(n,r){switch(arguments.length){case0:returnt;case1:returnfunctiont(r){switch(arguments.length){case0:returnt;default:returnS(n,r)}};default:returnS(n,r)}});varNn=u(function(t,r,n){returnc(Math.max(t.length,r.length,n.length),function(){returnt.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)})});Di("ifElse",Nn);varkn=t(1);Di("inc",kn);varWn=r(C);Di("includes",Wn);varqn=Sr(function(t,r){returnr},null);Di("indexBy",qn);varUn=r(function(t,r){return"function"!=typeofr.indexOf||h(r)?P(r,t,0):r.indexOf(t)});Di("indexOf",Un);varFn=ar(0,-1);Di("init",Fn);varBn=u(function(r,t,n){returnV(function(t){returnj(r,t,n)},t)});Di("innerJoin",Bn);varPn=u(function(t,r,n){t=t<n.length&&0<=t?t:n.length;vare=Array.prototype.slice.call(n,0);returne.splice(t,0,r),e});Di("insert",Pn);varCn=u(function(t,r,n){return[].concat(Array.prototype.slice.call(n,0,t=t<n.length&&0<=t?t:n.length),r,Array.prototype.slice.call(n,t))});functionTn(t,r){this.xf=r,this.f=t,this.set=newkr}Di("insertAll",Cn),Tn.prototype["@@transducer/init"]=g,Tn.prototype["@@transducer/result"]=m,Tn.prototype["@@transducer/step"]=function(t,r){returnthis.set.add(this.f(r))?this.xf["@@transducer/step"](t,r):t};varRn=r(y([],function(r){returnfunction(t){returnnewTn(r,t)}},function(t,r){for(varn,e,u=newkr,i=[],o=0;o<r.length;)n=t(e=r[o]),u.add(n)&&i.push(e),o+=1;returni}));Di("uniqBy",Rn);varMn=Rn(vr);Di("uniq",Mn);varDn=r(function(t,r){for(varn=newkr,e=0;e<t.length;e+=1)n.add(t[e]);returnMn(V(n.has.bind(n),r))});Di("intersection",Dn);varzn=r(or("intersperse",function(t,r){for(varn=[],e=0,u=r.length;e<u;)e===u-1?n.push(r[e]):n.push(r[e],t),e+=1;returnn}));Di("intersperse",zn);varLn="function"==typeofObject.assign?Object.assign:function(t){if(null==t)thrownewTypeError("Cannot convert undefined or null to object");for(varr=Object(t),n=1,e=arguments.length;n<e;){varu=arguments[n];if(null!=u)for(variinu)A(i,u)&&(r[i]=u[i]);n+=1}returnr},Vn=r(function(t,r){varn={};returnn[t]=r,n});Di("objOf",Vn);varGn={"@@transducer/init":Array,"@@transducer/step":function(t,r){returnt.push(r),t},"@@transducer/result":hr},Kn={"@@transducer/init":String,"@@transducer/step":function(t,r){returnt+r},"@@transducer/result":hr},$n={"@@transducer/init":Object,"@@transducer/step":function(t,r){returnLn(t,ot(r)?Vn(r[0],r[1]):r)},"@@transducer/result":hr};varHn=u(function(t,r,n){vare=r(v(t)?t:function(t){if(v(t))returnt;if(ot(t))returnGn;if("string"==typeoft)returnKn;if("object"===s(t))return$n;throwError("Cannot create transformer for "+t)}(t));returnlt(e,e["@@transducer/init"](),n)});Di("into",Hn);varJn=o(function(t){for(varr=W(t),n=r.length,e=0,u={};e<n;){vari=r[e],o=t[i],a=A(o,u)?u[o]:u[o]=[];a[a.length]=i,e+=1}returnu});Di("invert",Jn);varXn=o(function(t){for(varr=W(t),n=r.length,e=0,u={};e<n;){vari=r[e];u[t[i]]=i,e+=1}returnu});Di("invertObj",Xn);varYn=r(function(r,n){returnc(r+1,function(){vart=arguments[r];if(null!=t&&Tt(t[n]))returnt[n].apply(t,Array.prototype.slice.call(arguments,0,r));thrownewTypeError(X(t)+' does not have a method named "'+n+'"')})});Di("invoker",Yn);varZn=r(function(t,r){returnrinstanceoft||null!=r&&(r.constructor===t||"Object"===t.name&&"object"===s(r))});Di("is",Zn);varQn=o(function(t){returnnull!=t&&B(t,en(t))});Di("isEmpty",Qn);varte=o(function(t){return!Ut(t)});Di("isNotNil",te);varre=Yn(1,"join");Di("join",re);varne=o(function(t){returnjr(function(){returnArray.prototype.slice.call(arguments,0)},t)});Di("juxt",ne);varee=o(function(t){varr,n=[];for(rint)n[n.length]=r;returnn});Di("keysIn",ee);varue=r(function(t,r){if("function"!=typeofr.lastIndexOf||h(r)){for(varn=r.length-1;0<=n;){if(B(r[n],t))returnn;n-=1}return-1}returnr.lastIndexOf(t)});functionie(t){return"[object Number]"===Object.prototype.toString.call(t)}Di("lastIndexOf",ue);varoe=o(function(t){returnnull!=t&&ie(t.length)?t.length:NaN});Di("length",oe);varae=r(function(n,e){returnfunction(t){returnfunction(r){returntt(function(t){returne(t,r)},t(n(r)))}}});Di("lens",ae);varce=u(function(t,r,n){returni(t,dt(r),n)});Di("update",ce);varfe=o(function(r){returnae(function(t){returnet(r,t)},ce(r))});functionse(t,r){for(varn=r,e=0;e<t.length;e+=1){if(null==n)return;varu=t[e];n=rt(u)?et(u,n):n[u]}returnn}Di("lensIndex",fe);varle=o(function(r){returnae(function(t){returnse(r,t)},Ft(r))});Di("lensPath",le);varpe=o(function(t){returnae(ut(t),Bt(t))});Di("lensProp",pe);varhe=r(function(t,r){returnt<r});Di("lt",he);varve=r(function(t,r){returnt<=r});Di("lte",ve);varye=u(function(t,r,n){for(vare=0,u=n.length,i=[],o=[r];e<u;)o=t(o[0],n[e]),i[e]=o[1],e+=1;return[o[0],i]});Di("mapAccum",ye);varde=u(function(t,r,n){for(vare=n.length-1,u=[],i=[r];0<=e;)i=t(i[0],n[e]),u[e]=i[1],e-=1;return[i[0],u]});Di("mapAccumRight",de);varge=r(function(n,e){returnL(function(t,r){returnt[r]=n(e[r],r,e),t},{},W(e))});Di("mapObjIndexed",ge);varme=r(function(t,r){returnr.match(t)||[]});Di("match",me);varbe=r(function(t,r){returnrt(t)?!rt(r)||r<1?NaN:(t%r+r)%r:NaN});Di("mathMod",be);varxe=u(function(t,r,n){vare=t(n);returnY(t(r),e)===e?n:r});Di("maxBy",xe);varwe=vt(t,0);Di("sum",we);varje=o(function(t){returnwe(t)/t.length});Di("mean",je);varAe=o(function(t){varr=t.length;if(0===r)returnNaN;varn=2-r%2,e=(r-n)/2;returnje(Array.prototype.slice.call(t,0).sort(function(t,r){returnt<r?-1:r<t?1:0}).slice(e,e+n))});Di("median",Ae);varOe=r(function(r,n){vare={};returnl(n.length,function(){vart=r.apply(this,arguments);returnA(t,e)||(e[t]=n.apply(this,arguments)),e[t]})});Di("memoizeWith",Oe);varSe=o(function(t){returnLn.apply(null,[{}].concat(t))});Di("mergeAll",Se);varEe=u(function(t,r,n){vare,u={};for(einn=n||{},r=r||{})A(e,r)&&(u[e]=A(e,n)?t(e,r[e],n[e]):r[e]);for(einn)A(e,n)&&!A(e,u)&&(u[e]=n[e]);returnu});Di("mergeWithKey",Ee);var_e=u(functione(u,t,r){returnEe(function(t,r,n){returnG(r)&&G(n)?e(u,r,n):u(t,r,n)},t,r)});Di("mergeDeepWithKey",_e);varIe=r(function(t,r){return_e(function(t,r,n){returnr},t,r)});Di("mergeDeepLeft",Ie);varNe=r(function(t,r){return_e(function(t,r,n){returnn},t,r)});Di("mergeDeepRight",Ne);varke=u(function(e,t,r){return_e(function(t,r,n){returne(r,n)},t,r)});Di("mergeDeepWith",ke);varWe=r(function(t,r){returnLn({},r,t)});Di("mergeLeft",We);varqe=r(function(t,r){returnLn({},t,r)});Di("mergeRight",qe);varUe=u(function(e,t,r){returnEe(function(t,r,n){returne(r,n)},t,r)});Di("mergeWith",Ue);varFe=r(function(t,r){if(t===r)returnt;functionn(t,r){if(t<r!=r<t)returnr<t?r:t}vare=n(t,r);if(void0!==e)returne;varu=n(s(t),s(r));if(void0!==u)returnu===s(t)?t:r;vari=X(t),o=n(i,X(r));returnvoid0!==o?o===i?t:r:t});Di("min",Fe);varBe=u(function(t,r,n){vare=t(n);returnFe(t(r),e)===e?n:r});Di("minBy",Be);varPe=u(functiont(r,n,e){if(!G(e)&&!h(e))returne;if(0===r.length)returnn(e);varu=r[0];if(!A(u,e))returne;if(1===r.length)returnfunction(t,r,n){if(rt(t)&&h(n)){vare=[].concat(n);returne[t]=r(e[t]),e}varu={};for(variinn)u[i]=n[i];returnu[t]=r(u[t]),u}(u,n,e);vari=t(Array.prototype.slice.call(r,1),n,e[u]);returni===e[u]?e:qt(u,i,e)});Di("modifyPath",Pe);varCe=u(function(t,r,n){returnPe([t],r,n)});Di("modify",Ce);varTe=r(function(t,r){returnt%r});Di("modulo",Te);varRe=u(function(t,r,n){vare=n.length,u=n.slice(),i=t<0?e+t:t,o=r<0?e+r:r,a=u.splice(i,1);returni<0||n.length<=i||o<0||n.length<=o?n:[].concat(u.slice(0,o)).concat(a).concat(u.slice(o,n.length))});Di("move",Re);varMe=r(function(t,r){returnt*r});Di("multiply",Me);varDe=r(function(r,n){returnfunction(t){returnr.call(void0,Ne(n,t))}});Di("partialObject",De);varze=o(function(t){return-t});Di("negate",ze);varLe=r(function(t,r){returnx(z(t),r)});Di("none",Le);varVe=r(et);Di("nth",Ve);varGe=o(function(t){returnc(t<0?1:t+1,function(){returnet(t,arguments)})});Di("nthArg",Ge);varKe=u(function(t,r,n){returnt(r(n))});Di("o",Ke);var$e=r(function(t,r){return"function"==typeoft["fantasy-land/of"]?t["fantasy-land/of"](r):"function"==typeoft.of?t.of(r):[r]});Di("of",$e);varHe=r(function(t,r){for(varn={},e={},u=0,i=t.length;u<i;)u+=e[t[u]]=1;for(varoinr)e.hasOwnProperty(o)||(n[o]=r[o]);returnn});Di("omit",He);varJe=p(4,[],function(t,r,n,e){returnt(r(n),r(e))});Di("on",Je);varXe=o(function(t){varr,n=!1;returnl(t.length,function(){returnn?r:(n=!0,r=t.apply(this,arguments))})});functionYe(t,r){if(null==r||!Tt(r.then))thrownewTypeError("`"+t+"` expected a Promise, received "+J(r,[]))}Di("once",Xe);varZe=r(function(t,r){returnYe("otherwise",r),r.then(null,t)});Di("otherwise",Ze);varQe=u(function(t,r,n){returnt(function(t){returnfunctionr(n){return{value:n,map:function(t){returnr(t(n))}}}(r(t))})(n).value});Di("over",Qe);vartu=r(function(t,r){return[t,r]});functionru(n){returnr(function(t,r){returnl(Math.max(0,t.length-r.length),function(){returnt.apply(this,n(r,arguments))})})}Di("pair",tu);varnu=ru(a);Di("partial",nu);vareu=ru(mn(a));Di("partialRight",eu);varuu=ne([$,H]);Di("partition",uu);variu=r(se);Di("path",iu);varou=r(function(t,u){returnt.map(function(t){for(varr,n=u,e=0;e<t.length;){if(null==n)return;n=rt(r=t[e])?et(r,n):n[r],e+=1}returnn})});Di("paths",ou);varau=u(function(t,r,n){returnB(se(r,n),t)});Di("pathEq",au);varcu=u(function(t,r,n){returnIr(t,se(r,n))});Di("pathOr",cu);varfu=u(function(t,r,n){returnt(se(r,n))});Di("pathSatisfies",fu);varsu=r(function(t,r){for(varn={},e=0;e<t.length;)t[e]inr&&(n[t[e]]=r[t[e]]),e+=1;returnn});Di("pick",su);varlu=r(function(t,r){for(varn={},e=0,u=t.length;e<u;){vari=t[e];n[i]=r[i],e+=1}returnn});Di("pickAll",lu);varpu=r(function(t,r){varn={};for(vareinr)t(r[e],e,r)&&(n[e]=r[e]);returnn});Di("pickBy",pu);varhu=r(function(t,r){returna([t],r)});Di("prepend",hu);varvu=vt(Me,1);Di("product",vu);varyu=r(function(n,e){returnc(e.length,function(){for(vart=[],r=0;r<e.length;)t.push(e[r].call(this,arguments[r])),r+=1;returnn.apply(this,t.concat(Array.prototype.slice.call(arguments,e.length)))})});Di("useWith",yu);vardu=yu(T,[lu,vr]);functiongu(r,n,e){returnfunction(t){returnn(e(r(t)))}}functionmu(t,r,n){this.xf=n,this.f=t,this.g=r}Di("project",du),mu.prototype["@@transducer/init"]=g,mu.prototype["@@transducer/result"]=m,mu.prototype["@@transducer/step"]=function(t,r){returnthis.xf["@@transducer/step"](t,gu(this.f,this.g,r))};varbu=u(y(["fantasy-land/promap","promap"],function(r,n){returnfunction(t){returnnewmu(r,n,t)}},gu));Di("promap",bu);varxu=u(function(t,r,n){returnB(t,ut(r,n))});Di("propEq",xu);varwu=u(function(t,r,n){returnZn(t,ut(r,n))});Di("propIs",wu);varju=u(function(t,r,n){returnIr(t,ut(r,n))});Di("propOr",ju);varAu=u(function(t,r,n){returnt(ut(r,n))});Di("propSatisfies",Au);varOu=r(function(t,r){returnt.map(function(t){returnut(t,r)})});Di("props",Ou);varSu=r(function(t,r){if(!ie(t)||!ie(r))thrownewTypeError("Both arguments to range must be numbers");for(varn=[],e=t;e<r;)n.push(e),e+=1;returnn});Di("range",Su);varEu=u(function(t,r,n){for(vare=n.length-1;0<=e;){if((r=t(n[e],r))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e-=1}returnr});Di("reduceRight",Eu);var_u=p(4,[],function(n,e,t,r){varu=ht(function(t,r){returnn(t,r)?e(t,r):d(t)});returnlt(u,t,r)});Di("reduceWhile",_u);varIu=o(d);Di("reduced",Iu);varNu=r(function(t,r){varn,e=+r,u=0;if(e<0||isNaN(e))thrownewRangeError("n must be a non-negative number");for(n=[];u<e;)n.push(t(u)),u+=1;returnn});Di("times",Nu);varku=r(function(t,r){returnNu(dt(t),r)});Di("repeat",ku);varWu=u(function(t,r,n){returnn.replace(t,r)});Di("replace",Wu);varqu="@@transducer/init",Uu="@@transducer/step";functionFu(t,r,n){this.xf=n,this.f=t,this.acc=r}Fu.prototype[qu]=function(){returnthis.xf[Uu](this.xf[qu](),this.acc)},Fu.prototype["@@transducer/result"]=m,Fu.prototype[Uu]=function(t,r){returnt["@@transducer/reduced"]?t:(this.acc=this.f(this.acc,r),this.xf[Uu](t,this.acc))};varBu=u(y([],u(function(t,r,n){returnnewFu(t,r,n)}),function(t,r,n){for(vare=0,u=n.length,i=[r];e<u;)r=t(r,n[e]),i[e+1]=r,e+=1;returni}));Di("scan",Bu);varPu=r(function(t,r){varn="function"==typeoft["fantasy-land/of"]?t["fantasy-land/of"]:"function"==typeoft.of?t.of:t,e={"fantasy-land/of":n};return"function"==typeofr["fantasy-land/traverse"]?r["fantasy-land/traverse"](e,hr):"function"==typeofr.traverse?r.traverse(e,hr):Eu(function(t,r){returnjt(tt(hu,t),r)},n([]),r)});Di("sequence",Pu);varCu=u(function(t,r,n){returnQe(t,dt(r),n)});Di("set",Cu);varTu=r(function(t,r){returnArray.prototype.slice.call(r,0).sort(t)});Di("sort",Tu);varRu=r(function(u,t){returnArray.prototype.slice.call(t,0).sort(function(t,r){varn=u(t),e=u(r);returnn<e?-1:e<n?1:0})});Di("sortBy",Ru);varMu=r(function(u,t){returnArray.prototype.slice.call(t,0).sort(function(t,r){for(varn=0,e=0;0===n&&e<u.length;)n=u[e](t,r),e+=1;returnn})});Di("sortWith",Mu);varDu=Yn(1,"split");Di("split",Du);varzu=r(function(t,r){return[ar(0,t,r),ar(t,oe(r),r)]});Di("splitAt",zu);varLu=r(function(t,r){if(t<=0)throwError("First argument to splitEvery must be a positive integer");for(varn=[],e=0;e<r.length;)n.push(ar(e,e+=t,r));returnn});Di("splitEvery",Lu);varVu=r(function(t,r){for(varn=0,e=r.length,u=[];n<e&&!t(r[n]);)u.push(r[n]),n+=1;return[u,Array.prototype.slice.call(r,n)]});Di("splitWhen",Vu);varGu=p(2,[],function(t,r){for(varn=[],e=[],u=0;u<r.length;u+=1)t(r[u])||e.push(r[u]),(u<r.length-1&&t(r[u+1])||u===r.length-1)&&0<e.length&&(n.push(e),e=[]);returnn});Di("splitWhenever",Gu);varKu=r(function(t,r){returnB(Dr(t.length,r),t)});Di("startsWith",Ku);var$u=r(function(t,r){return+t-+r});Di("subtract",$u);functionHu(t,r,n){vare=n.length,u=n.slice(),i=t<0?e+t:t,o=r<0?e+r:r,a=Math.min(i,o),c=Math.max(i,o);returni<0||e<i?u:o<0||e<o?u:i===o?u:u=[].concat(u.slice(0,a)).concat([u[c]]).concat(u.slice(1+a,c)).concat([u[a]]).concat(u.slice(1+c,e))}varJu=u(function(t,r,n){returnh(n)?Hu(t,r,n):nt(n)?function(t,r,n){vare=Hu(t,r,n);returnh(e)?e.join(""):e}(t,r,n):function(t,r,n){vare=tr(n),u=Object.getOwnPropertyNames(e);if(u.includes(t)&&u.includes(r)){vari=e[t];e[t]=e[r],e[r]=i}returne}(t,r,n)});Di("swap",Ju);varXu=r(function(t,r){returngr(qr(t,r),qr(r,t))});Di("symmetricDifference",Xu);varYu=u(function(t,r,n){returngr(Ur(t,r,n),Ur(t,n,r))});Di("symmetricDifferenceWith",Yu);varZu=r(function(t,r){for(varn=r.length-1;0<=n&&t(r[n]);)n-=1;returnar(n+1,1/0,r)});functionQu(t,r){this.xf=r,this.f=t}Di("takeLastWhile",Zu),Qu.prototype["@@transducer/init"]=g,Qu.prototype["@@transducer/result"]=m,Qu.prototype["@@transducer/step"]=function(t,r){returnthis.f(r)?this.xf["@@transducer/step"](t,r):d(t)};varti=r(y(["takeWhile"],function(r){returnfunction(t){returnnewQu(r,t)}},function(t,r){for(varn=0,e=r.length;n<e&&t(r[n]);)n+=1;returnar(0,n,r)}));functionri(t,r){this.xf=r,this.f=t}Di("takeWhile",ti),ri.prototype["@@transducer/init"]=g,ri.prototype["@@transducer/result"]=m,ri.prototype["@@transducer/step"]=function(t,r){returnthis.f(r),this.xf["@@transducer/step"](t,r)};varni=r(y([],function(r){returnfunction(t){returnnewri(r,t)}},function(t,r){returnt(r),r}));Di("tap",ni);varei=r(function(t,r){if(!function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(t))thrownewTypeError("‘test’ requires a value of type RegExp as its first argument; received "+X(t));returnYt(t).test(r)});Di("test",ei);varui=r(function(t,r){returnYe("andThen",r),r.then(t)});Di("andThen",ui);varii=Yn(0,"toLowerCase");Di("toLower",ii);varoi=o(function(t){varr=[];for(varnint)A(n,t)&&(r[r.length]=[n,t[n]]);returnr});Di("toPairs",oi);varai=o(function(t){varr=[];for(varnint)r[r.length]=[n,t[n]];returnr});Di("toPairsIn",ai);varci=Yn(0,"toUpperCase");Di("toUpper",ci);varfi=c(4,function(t,r,n,e){returnlt(t("function"==typeofr?ht(r):r),n,e)});Di("transduce",fi);varsi=o(function(t){for(varr=0,n=[];r<t.length;){for(vare=t[r],u=0;u<e.length;)void0===n[u]&&(n[u]=[]),n[u].push(e[u]),u+=1;r+=1}returnn});Di("transpose",si);varli=u(function(t,r,n){vare={"fantasy-land/of":"function"==typeoft["fantasy-land/of"]?t["fantasy-land/of"]:"function"==typeoft.of?t.of:t};return"function"==typeofn["fantasy-land/traverse"]?n["fantasy-land/traverse"](e,r):"function"==typeofn.traverse?n.traverse(e,r):Pu(e,tt(r,n))});Di("traverse",li);varpi="\t\n\v\f\r \u2028\u2029\ufeff",hi=!("function"==typeofString.prototype.trim)||pi.trim()?o(function(t){varr=RegExp("^["+pi+"]["+pi+"]*"),n=RegExp("["+pi+"]["+pi+"]*$");returnt.replace(r,"").replace(n,"")}):o(function(t){returnt.trim()});Di("trim",hi);varvi=r(function(t,r){returnl(t.length,function(){try{returnt.apply(this,arguments)}catch(t){returnr.apply(this,a([t],arguments))}})});Di("tryCatch",vi);varyi=o(function(t){returnfunction(){returnt(Array.prototype.slice.call(arguments,0))}});Di("unapply",yi);vardi=o(function(t){returnPt(1,t)});Di("unary",di);vargi=r(function(u,i){returnc(u,function(){for(vart,r=1,n=i,e=0;r<=u&&"function"==typeofn;)n=n.apply(this,Array.prototype.slice.call(arguments,e,t=r===u?arguments.length:e+n.length)),r+=1,e=t;returnn})});Di("uncurryN",gi);varmi=r(function(t,r){for(varn=t(r),e=[];n&&n.length;)e[e.length]=n[0],n=t(n[1]);returne});Di("unfold",mi);varbi=r(lr(Mn,a));functionxi(t,r){this.xf=r,this.pred=t,this.items=[]}Di("union",bi),xi.prototype["@@transducer/init"]=g,xi.prototype["@@transducer/result"]=m,xi.prototype["@@transducer/step"]=function(t,r){returnj(this.pred,r,this.items)?t:(this.items.push(r),this.xf["@@transducer/step"](t,r))};varwi=r(y([],function(r){returnfunction(t){returnnewxi(r,t)}},function(t,r){for(varn,e=0,u=r.length,i=[];e<u;)j(t,n=r[e],i)||(i[i.length]=n),e+=1;returni}));Di("uniqWith",wi);varji=u(function(t,r,n){returnwi(t,a(r,n))});Di("unionWith",ji);varAi=u(function(t,r,n){returnt(n)?n:r(n)});Di("unless",Ai);varOi=Jt(hr);Di("unnest",Oi);varSi=u(function(t,r,n){for(vare=n;!t(e);)e=r(e);returne});Di("until",Si);varEi=r(function(r,n){returnrinn&&h(n[r])?T(function(t){returnqt(r,t,n)},n[r]):[n]});Di("unwind",Ei);var_i=o(function(t){varr,n=[];for(rint)n[n.length]=t[r];returnn});Di("valuesIn",_i);functionIi(t){return{value:t,"fantasy-land/map":function(){returnthis}}}varNi=r(function(t,r){returnt(Ii)(r).value});Di("view",Ni);varki=u(function(t,r,n){returnt(n)?r(n):n});Di("when",ki);varWi=r(function(t,r){for(varnint)if(A(n,t)&&!t[n](r[n]))return!1;return!0});Di("where",Wi);varqi=r(function(t,r){for(varnint)if(A(n,t)&&t[n](r[n]))return!0;return!1});Di("whereAny",qi);varUi=r(function(t,r){returnWi(tt(B,t),r)});Di("whereEq",Ui);varFi=r(function(t,r){for(varn=newkr,e=0;e<t.length;e+=1)n.add(t[e]);returnH(n.has.bind(n),r)});Di("without",Fi);varBi=r(function(t,r){return!!(!t^!r)});Di("xor",Bi);varPi=r(function(t,r){for(varn,e=0,u=t.length,i=r.length,o=[];e<u;){for(n=0;n<i;)o[o.length]=[t[e],r[n]],n+=1;e+=1}returno});Di("xprod",Pi);varCi=r(function(t,r){for(varn=[],e=0,u=Math.min(t.length,r.length);e<u;)n[e]=[t[e],r[e]],e+=1;returnn});Di("zip",Ci);varTi=r(function(t,r){for(varn=0,e=Math.min(t.length,r.length),u={};n<e;)u[t[n]]=r[n],n+=1;returnu});Di("zipObj",Ti);varRi=u(function(t,r,n){for(vare=[],u=0,i=Math.min(r.length,n.length);u<i;)e[u]=t(r[u],n[u]),u+=1;returne});Di("zipWith",Ri);varMi=o(function(r){returnc(r.length,function(){vart=arguments;returnfunction(){returnr.apply(this,t)}})});Di("thunkify",Mi)}}});