You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
45 KiB

!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t=t||self).R={})}(this,function(t){"use strict";function a(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function o(r){return function t(n){return 0===arguments.length||a(n)?t:r.apply(this,arguments)}}function n(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:o(function(t){return e(n,t)});default:return a(n)&&a(r)?t:a(n)?o(function(t){return e(t,r)}):a(r)?o(function(t){return e(n,t)}):e(n,r)}}}var r=n(function(t,n){return+t+ +n});function i(t,n){var r,e=(t=t||[]).length,u=(n=n||[]).length,i=[];for(r=0;r<e;)i[i.length]=t[r],r+=1;for(r=0;r<u;)i[i.length]=n[r],r+=1;return i}function f(t,s){switch(t){case 0:return function(){return s.apply(this,arguments)};case 1:return function(t){return s.apply(this,arguments)};case 2:return function(t,n){return s.apply(this,arguments)};case 3:return function(t,n,r){return s.apply(this,arguments)};case 4:return function(t,n,r,e){return s.apply(this,arguments)};case 5:return function(t,n,r,e,u){return s.apply(this,arguments)};case 6:return function(t,n,r,e,u,i){return s.apply(this,arguments)};case 7:return function(t,n,r,e,u,i,o){return s.apply(this,arguments)};case 8:return function(t,n,r,e,u,i,o,c){return s.apply(this,arguments)};case 9:return function(t,n,r,e,u,i,o,c,a){return s.apply(this,arguments)};case 10:return function(t,n,r,e,u,i,o,c,a,f){return s.apply(this,arguments)};default:throw Error("First argument to _arity must be a non-negative integer no greater than ten")}}function s(i,o,c){return function(){for(var t=[],n=0,r=i,e=0;e<o.length||n<arguments.length;){var u;o.length<=e||a(o[e])&&n<arguments.length?(u=arguments[n],n+=1):u=o[e],a(t[e]=u)||(r-=1),e+=1}return 0<r?f(r,s(i,t,c)):c.apply(this,t)}}var c=n(function(t,n){return 1===t?o(n):f(t,s(t,[],n))}),e=o(function(u){return c(u.length,function(){var n=0,r=arguments[0],e=arguments[arguments.length-1],t=Array.prototype.slice.call(arguments,0);return t[0]=function(){var t=r.apply(this,i(arguments,[n,e]));return n+=1,t},u.apply(this,t)})});function u(i){return function t(r,e,u){switch(arguments.length){case 0:return t;case 1:return a(r)?t:n(function(t,n){return i(r,t,n)});case 2:return a(r)&&a(e)?t:a(r)?n(function(t,n){return i(t,e,n)}):a(e)?n(function(t,n){return i(r,t,n)}):o(function(t){return i(r,e,t)});default:return a(r)&&a(e)&&a(u)?t:a(r)&&a(e)?n(function(t,n){return i(t,n,u)}):a(r)&&a(u)?n(function(t,n){return i(t,e,n)}):a(e)&&a(u)?n(function(t,n){return i(r,t,n)}):a(r)?o(function(t){return i(t,e,u)}):a(e)?o(function(t){return i(r,t,u)}):a(u)?o(function(t){return i(r,e,t)}):i(r,e,u)}}}var l=u(function(t,n,r){if(r.length<=t||t<-r.length)return r;var e=(t<0?r.length:0)+t,u=i(r);return u[e]=n(r[e]),u}),p=Array.isArray||function(t){return null!=t&&0<=t.length&&"[object Array]"===Object.prototype.toString.call(t)};function h(t){return null!=t&&"function"==typeof t["@@transducer/step"]}function y(e,u,i){return function(){if(0===arguments.length)return i();var t=Array.prototype.slice.call(arguments,0),n=t.pop();if(!p(n)){for(var r=0;r<e.length;){if("function"==typeof n[e[r]])return n[e[r]].apply(n,t);r+=1}if(h(n))return u.apply(null,t)(n)}return i.apply(this,arguments)}}function d(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var g={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function v(t,n){this.xf=n,this.f=t,this.all=!0}v.prototype["@@transducer/init"]=g.init,v.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},v.prototype["@@transducer/step"]=function(t,n){return this.f(n)||(this.all=!1,t=d(this.xf["@@transducer/step"](t,!1))),t};var m=n(y(["all"],n(function(t,n){return new v(t,n)}),function(t,n){for(var r=0;r<n.length;){if(!t(n[r]))return!1;r+=1}return!0})),b=n(function(t,n){return t<n?n:t});function x(t,n){for(var r=0,e=n.length,u=Array(e);r<e;)u[r]=t(n[r]),r+=1;return u}function w(t){return"[object String]"===Object.prototype.toString.call(t)}var j=o(function(t){return!!p(t)||!!t&&("object"==typeof t&&(!w(t)&&(1===t.nodeType?!!t.length:0===t.length||0<t.length&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))});function A(t){this.f=t}function O(t){return new A(t)}A.prototype["@@transducer/init"]=function(){throw Error("init not implemented on XWrap")},A.prototype["@@transducer/result"]=function(t){return t},A.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)};var S=n(function(t,n){return f(t.length,function(){return t.apply(n,arguments)})});function E(t,n,r){for(var e=r.next();!e.done;){if((n=t["@@transducer/step"](n,e.value))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e=r.next()}return t["@@transducer/result"](n)}function _(t,n,r,e){return t["@@transducer/result"](r[e](S(t["@@transducer/step"],t),n))}var q="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function k(t,n,r){if("function"==typeof t&&(t=O(t)),j(r))return function(t,n,r){for(var e=0,u=r.length;e<u;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}(t,n,r);if("function"==typeof r["fantasy-land/reduce"])return _(t,n,r,"fantasy-land/reduce");if(null!=r[q])return E(t,n,r[q]());if("function"==typeof r.next)return E(t,n,r);if("function"==typeof r.reduce)return _(t,n,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}function N(t,n){this.xf=n,this.f=t}N.prototype["@@transducer/init"]=g.init,N.prototype["@@transducer/result"]=g.result,N.prototype["@@transducer/step"]=function(t,n){return this.xf["@@transducer/step"](t,this.f(n))};var W=n(function(t,n){return new N(t,n)});function I(t,n){return Object.prototype.hasOwnProperty.call(n,t)}function P(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1}var T=Object.prototype.toString,C=function(){return"[object Arguments]"===T.call(arguments)?function(t){return"[object Arguments]"===T.call(t)}:function(t){return I("callee",t)}}(),F=!{toString:null}.propertyIsEnumerable("toString"),B=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=function(){return arguments.propertyIsEnumerable("length")}(),U=o("function"!=typeof Object.keys||R?function(t){if(Object(t)!==t)return[];var n,r,e=[],u=R&&C(t);for(n in t)!I(n,t)||u&&"length"===n||(e[e.length]=n);if(F)for(r=B.length-1;0<=r;)I(n=B[r],t)&&!P(e,n)&&(e[e.length]=n),r-=1;return e}:function(t){return Object(t)!==t?[]:Object.keys(t)}),D=n(y(["fantasy-land/map","map"],W,function(r,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return c(e.length,function(){return r.call(this,e.apply(this,arguments))});case"[object Object]":return k(function(t,n){return t[n]=r(e[n]),t},{},U(e));default:return x(r,e)}})),z=Number.isInteger||function(t){return t<<0===t},M=n(function(t,n){var r=t<0?n.length+t:t;return w(n)?n[0|r]:n[r]}),L=n(function(t,u){return t.map(function(t){for(var n,r=u,e=0;e<t.length;){if(null==r)return;r=z(n=t[e])?M(n,r):r[n],e+=1}return r})}),K=n(function(t,n){return L([t],n)[0]}),V=n(function(t,n){return K([t],n)}),G=n(function(t,n){return D(V(t),n)}),$=u(k),H=o(function(r){return c($(b,0,G("length",r)),function(){for(var t=0,n=r.length;t<n;){if(!r[t].apply(this,arguments))return!1;t+=1}return!0})}),J=o(function(t){return function(){return t}}),X=n(function(t,n){return t&&n});function Y(t,n){this.xf=n,this.f=t,this.any=!1}Y.prototype["@@transducer/init"]=g.init,Y.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},Y.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.any=!0,t=d(this.xf["@@transducer/step"](t,!0))),t};var Z=n(y(["any"],n(function(t,n){return new Y(t,n)}),function(t,n){for(var r=0;r<n.length;){if(t(n[r]))return!0;r+=1}return!1})),Q=o(function(r){return c($(b,0,G("length",r)),function(){for(var t=0,n=r.length;t<n;){if(r[t].apply(this,arguments))return!0;t+=1}return!1})}),tt=n(function(n,r){return"function"==typeof r["fantasy-land/ap"]?r["fantasy-land/ap"](n):"function"==typeof n.ap?n.ap(r):"function"==typeof n?function(t){return n(t)(r(t))}:k(function(t,n){return i(t,D(n,r))},[],n)});function nt(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=Array(t)}nt.prototype["@@transducer/init"]=g.init,nt.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},nt.prototype["@@transducer/step"]=function(t,n){return this.store(n),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},nt.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},nt.prototype.getCopy=function(){return i(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};var rt=n(y([],n(function(t,n){return new nt(t,n)}),function(t,n){for(var r=0,e=n.length-(t-1),u=Array(e<0?0:e);r<e;)u[r]=Array.prototype.slice.call(n,r,r+t),r+=1;return u})),et=n(function(t,n){return i(n,[t])}),ut=n(function(t,n){return t.apply(this,n)}),it=o(function(t){for(var n=U(t),r=n.length,e=[],u=0;u<r;)e[u]=t[n[u]],u+=1;return e});function ot(r,e){return U(e).reduce(function(t,n){return t[n]=r(e[n]),t},{})}var ct=o(function n(t){return t=ot(function(t){return"function"==typeof t?t:n(t)},t),c($(b,0,G("length",it(t))),function(){var n=arguments;return ot(function(t){return ut(t,n)},t)})}),at=n(function(t,n){return n(t)}),ft=u(function(t,n,r){var e=t(n),u=t(r);return e<u?-1:u<e?1:0}),st=u(function(t,n,r){var e={};for(var u in r)e[u]=r[u];return e[t]=n,e}),lt=o(function(t){return null==t}),pt=u(function t(n,r,e){if(0===n.length)return r;var u=n[0];if(1<n.length){var i=!lt(e)&&I(u,e)?e[u]:z(n[1])?[]:{};r=t(Array.prototype.slice.call(n,1),r,i)}if(z(u)&&p(e)){var o=[].concat(e);return o[u]=r,o}return st(u,r,e)}),ht=n(function(t,s){switch(t){case 0:return function(){return s.call(this)};case 1:return function(t){return s.call(this,t)};case 2:return function(t,n){return s.call(this,t,n)};case 3:return function(t,n,r){return s.call(this,t,n,r)};case 4:return function(t,n,r,e){return s.call(this,t,n,r,e)};case 5:return function(t,n,r,e,u){return s.call(this,t,n,r,e,u)};case 6:return function(t,n,r,e,u,i){return s.call(this,t,n,r,e,u,i)};case 7:return function(t,n,r,e,u,i,o){return s.call(this,t,n,r,e,u,i,o)};case 8:return function(t,n,r,e,u,i,o,c){return s.call(this,t,n,r,e,u,i,o,c)};case 9:return function(t,n,r,e,u,i,o,c,a){return s.call(this,t,n,r,e,u,i,o,c,a)};case 10:return function(t,n,r,e,u,i,o,c,a,f){return s.call(this,t,n,r,e,u,i,o,c,a,f)};default:throw Error("First argument to nAry must be a non-negative integer no greater than ten")}}),yt=o(function(t){return ht(2,t)});function dt(t){var n=Object.prototype.toString.call(t);return"[object Function]"===n||"[object AsyncFunction]"===n||"[object GeneratorFunction]"===n||"[object AsyncGeneratorFunction]"===n}var gt=n(function(t,n){var r=c(t,n);return c(t,function(){return k(tt,D(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),vt=o(function(t){return gt(t.length,t)}),mt=n(function(t,n){return dt(t)?function(){return t.apply(this,arguments)&&n.apply(this,arguments)}:vt(X)(t,n)}),bt=o(function(t){return c(t.length,t)}),xt=bt(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});function wt(a){return function t(n){for(var r,e,u,i=[],o=0,c=n.length;o<c;){if(j(n[o]))for(u=0,e=(r=a?t(n[o]):n[o]).length;u<e;)i[i.length]=r[u],u+=1;else i[i.length]=n[o];o+=1}return i}}function jt(t){var r=function(e){return{"@@transducer/init":g.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var r=e["@@transducer/step"](t,n);return r["@@transducer/reduced"]?function(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}(r):r}}}(t);return{"@@transducer/init":g.init,"@@transducer/result":function(t){return r["@@transducer/result"](t)},"@@transducer/step":function(t,n){return j(n)?k(r,t,n):k(r,t,[n])}}}var At=n(y(["fantasy-land/chain","chain"],n(function(t,n){return D(t,jt(n))}),function(n,r){return"function"==typeof r?function(t){return n(r(t))(t)}:wt(!1)(D(n,r))})),Ot=u(function(t,n,r){if(n<t)throw Error("min must not be greater than max in clamp(min, max, value)");return r<t?t:n<r?n:r});function St(t){return RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}var Et=o(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function _t(u,i,o,c){function t(t){for(var n=i.length,r=0;r<n;){if(u===i[r])return o[r];r+=1}for(var e in i[r+1]=u,o[r+1]=t,u)t[e]=c?_t(u[e],i,o,!0):u[e];return t}switch(Et(u)){case"Object":return t({});case"Array":return t([]);case"Date":return new Date(u.valueOf());case"RegExp":return St(u);default:return u}}var qt=o(function(t){return null!=t&&"function"==typeof t.clone?t.clone():_t(t,[],[],!0)}),kt=o(function(r){return function(t,n){return r(t,n)?-1:r(n,t)?1:0}}),Nt=o(function(t){return!t}),Wt=vt(Nt);function It(t,n){return function(){return n.call(this,t.apply(this,arguments))}}function Pt(r,e){return function(){var t=arguments.length;if(0===t)return e();var n=arguments[t-1];return p(n)||"function"!=typeof n[r]?e.apply(this,arguments):n[r].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}var Tt=u(Pt("slice",function(t,n,r){return Array.prototype.slice.call(r,t,n)})),Ct=o(Pt("tail",Tt(1,1/0)));function Ft(){if(0===arguments.length)throw Error("pipe requires at least one argument");return f(arguments[0].length,$(It,arguments[0],Ct(arguments)))}var Bt=o(function(t){return w(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});function Rt(){if(0===arguments.length)throw Error("compose requires at least one argument");return Ft.apply(this,Bt(arguments))}function Ut(){if(0===arguments.length)throw Error("composeK requires at least one argument");var t=Array.prototype.slice.call(arguments),n=t.pop();return Rt(Rt.apply(this,D(At,t)),n)}function Dt(t,r){return function(){var n=this;return t.apply(n,arguments).then(function(t){return r.call(n,t)})}}function zt(){if(0===arguments.length)throw Error("pipeP requires at least one argument");return f(arguments[0].length,$(Dt,arguments[0],Ct(arguments)))}var Mt=M(0);function Lt(t){return t}var Kt=o(Lt),Vt=n(function(r,t){if(t.length<=0)return Kt;var n=Mt(t),e=Ct(t);return f(n.length,function(){return k(function(t,n){return r.call(this,n,t)},n.apply(this,arguments),e)})}),Gt=n(function(t,n){return Vt.call(this,t,Bt(n))});function $t(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}function Ht(t,n,r){for(var e=0,u=r.length;e<u;){if(t(n,r[e]))return!0;e+=1}return!1}var Jt="function"==typeof Object.is?Object.is:function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n};function Xt(t,n,r,e){var u=$t(t);function i(t,n){return Yt(t,n,r.slice(),e.slice())}return!Ht(function(t,n){return!Ht(i,n,t)},$t(n),u)}function Yt(t,n,r,e){if(Jt(t,n))return!0;var u=Et(t);if(u!==Et(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===function(t){var n=(t+"").match(/^function (\w*)/);return null==n?"":n[1]}(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!Jt(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!Jt(t.valueOf(),n.valueOf()))return!1;break;case"Error":return t.name===n.name&&t.message===n.message;case"RegExp":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1}for(var i=r.length-1;0<=i;){if(r[i]===t)return e[i]===n;i-=1}switch(u){case"Map":return t.size===n.size&&Xt(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":return t.size===n.size&&Xt(t.values(),n.values(),r.concat([t]),e.concat([n]));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}var o=U(t);if(o.length!==U(n).length)return!1;var c=r.concat([t]),a=e.concat([n]);for(i=o.length-1;0<=i;){var f=o[i];if(!I(f,n)||!Yt(n[f],t[f],c,a))return!1;i-=1}return!0}var Zt=n(function(t,n){return Yt(t,n,[],[])});function Qt(t,n,r){var e,u;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(e=1/n;r<t.length;){if(0===(u=t[r])&&1/u==e)return r;r+=1}return-1}if(n==n)return t.indexOf(n,r);for(;r<t.length;){if("number"==typeof(u=t[r])&&u!=u)return r;r+=1}return-1;case"string":case"boolean":case"function":case"undefined":return t.indexOf(n,r);case"object":if(null===n)return t.indexOf(n,r)}for(;r<t.length;){if(Zt(t[r],n))return r;r+=1}return-1}function tn(t,n){return 0<=Qt(n,t,0)}function nn(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,'\\"')+'"'}function rn(t){return(t<10?"0":"")+t}var en="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+rn(1+t.getUTCMonth())+"-"+rn(t.getUTCDate())+"T"+rn(t.getUTCHours())+":"+rn(t.getUTCMinutes())+":"+rn(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function un(t){return function(){return!t.apply(this,arguments)}}function on(t,n){for(var r=0,e=n.length,u=[];r<e;)t(n[r])&&(u[u.length]=n[r]),r+=1;return u}function cn(t){return"[object Object]"===Object.prototype.toString.call(t)}function an(t,n){this.xf=n,this.f=t}an.prototype["@@transducer/init"]=g.init,an.prototype["@@transducer/result"]=g.result,an.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t};var fn=n(y(["filter"],n(function(t,n){return new an(t,n)}),function(r,e){return cn(e)?k(function(t,n){return r(e[n])&&(t[n]=e[n]),t},{},U(e)):on(r,e)})),sn=n(function(t,n){return fn(un(t),n)});function ln(r,e){function u(t){var n=e.concat([r]);return tn(t,n)?"<Circular>":ln(t,n)}function t(n,t){return x(function(t){return nn(t)+": "+u(n[t])},t.slice().sort())}switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+x(u,r).join(", ")+"))";case"[object Array]":return"["+x(u,r).concat(t(r,sn(function(t){return/^\d+$/.test(t)},U(r)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof r?"new Boolean("+u(r.valueOf())+")":""+r;case"[object Date]":return"new Date("+(isNaN(r.valueOf())?u(NaN):nn(en(r)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof r?"new Number("+u(r.valueOf())+")":1/r==-1/0?"-0":r.toString(10);case"[object String]":return"object"==typeof r?"new String("+u(r.valueOf())+")":nn(r);case"[object Undefined]":return"undefined";default:if("function"==typeof r.toString){var n=""+r;if("[object Object]"!=n)return n}return"{"+t(r,U(r)).join(", ")+"}"}}var pn=o(function(t){return ln(t,[])}),hn=n(function(t,n){if(p(t)){if(p(n))return t.concat(n);throw new TypeError(pn(n)+" is not an array")}if(w(t)){if(w(n))return t+n;throw new TypeError(pn(n)+" is not a string")}if(null!=t&&dt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](n);if(null!=t&&dt(t.concat))return t.concat(n);throw new TypeError(pn(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),yn=o(function(n){return f($(b,0,D(function(t){return t[0].length},n)),function(){for(var t=0;t<n.length;){if(n[t][0].apply(this,arguments))return n[t][1].apply(this,arguments);t+=1}})}),dn=n(function(t,s){if(10<t)throw Error("Constructor with greater than ten arguments");return 0===t?function(){return new s}:bt(ht(t,function(t,n,r,e,u,i,o,c,a,f){switch(arguments.length){case 1:return new s(t);case 2:return new s(t,n);case 3:return new s(t,n,r);case 4:return new s(t,n,r,e);case 5:return new s(t,n,r,e,u);case 6:return new s(t,n,r,e,u,i);case 7:return new s(t,n,r,e,u,i,o);case 8:return new s(t,n,r,e,u,i,o,c);case 9:return new s(t,n,r,e,u,i,o,c,a);case 10:return new s(t,n,r,e,u,i,o,c,a,f)}}))}),gn=o(function(t){return dn(t.length,t)}),vn=n(tn),mn=n(function(t,e){return c($(b,0,G("length",e)),function(){var n=arguments,r=this;return t.apply(r,x(function(t){return t.apply(r,n)},e))})});function bn(t,n,r,e){this.valueFn=t,this.valueAcc=n,this.keyFn=r,this.xf=e,this.inputs={}}bn.prototype["@@transducer/init"]=g.init,bn.prototype["@@transducer/result"]=function(t){var n;for(n in this.inputs)if(I(n,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[n]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},bn.prototype["@@transducer/step"]=function(t,n){var r=this.keyFn(n);return this.inputs[r]=this.inputs[r]||[r,this.valueAcc],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),t};var xn=s(4,[],y([],s(4,[],function(t,n,r,e){return new bn(t,n,r,e)}),function(e,u,i,t){return k(function(t,n){var r=i(n);return t[r]=e(I(r,t)?t[r]:_t(u,[],[],!1),n),t},{},t)})),wn=xn(function(t,n){return t+1},0),jn=r(-1),An=n(function(t,n){return null==n||n!=n?t:n}),On=u(function(t,n,r){var e=t(n),u=t(r);return u<e?-1:e<u?1:0});function Sn(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function En(t,n,r){var e,u=typeof t;switch(u){case"string":case"number":return 0===t&&1/t==-1/0?!!r._items["-0"]||(n&&(r._items["-0"]=!0),!1):null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?t in r._items[u]||(n&&(r._items[u][t]=!0),!1):(n&&(r._items[u]={},r._items[u][t]=!0),!1);case"boolean":if(u in r._items){var i=t?1:0;return!!r._items[u][i]||(n&&(r._items[u][i]=!0),!1)}return n&&(r._items[u]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?!!tn(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1);case"undefined":return!!r._items[u]||(n&&(r._items[u]=!0),!1);case"object":if(null===t)return!!r._items.null||(n&&(r._items.null=!0),!1);default:return(u=Object.prototype.toString.call(t))in r._items?!!tn(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1)}}Sn.prototype.add=function(t){return!En(t,!0,this)},Sn.prototype.has=function(t){return En(t,!1,this)};var _n=n(function(t,n){for(var r=[],e=0,u=t.length,i=n.length,o=new Sn,c=0;c<i;c+=1)o.add(n[c]);for(;e<u;)o.add(t[e])&&(r[r.length]=t[e]),e+=1;return r}),qn=u(function(t,n,r){for(var e=[],u=0,i=n.length;u<i;)Ht(t,n[u],r)||Ht(t,n[u],e)||e.push(n[u]),u+=1;return e}),kn=n(function(t,n){var r={};for(var e in n)r[e]=n[e];return delete r[t],r}),Nn=u(function(t,n,r){var e=Array.prototype.slice.call(r,0);return e.splice(t,n),e}),Wn=u(function(t,n,r){return l(t,J(n),r)}),In=n(function t(n,r){switch(n.length){case 0:return r;case 1:return z(n[0])&&p(r)?Nn(n[0],1,r):kn(n[0],r);default:var e=n[0],u=Array.prototype.slice.call(n,1);return null==r[e]?r:z(e)&&p(r)?Wn(e,t(u,r[e]),r):st(e,t(u,r[e]),r)}}),Pn=n(function(t,n){return t/n});function Tn(t,n){this.xf=n,this.n=t}Tn.prototype["@@transducer/init"]=g.init,Tn.prototype["@@transducer/result"]=g.result,Tn.prototype["@@transducer/step"]=function(t,n){return 0<this.n?(this.n-=1,t):this.xf["@@transducer/step"](t,n)};var Cn=n(y(["drop"],n(function(t,n){return new Tn(t,n)}),function(t,n){return Tt(Math.max(0,t),1/0,n)}));function Fn(t,n){this.xf=n,this.n=t,this.i=0}Fn.prototype["@@transducer/init"]=g.init,Fn.prototype["@@transducer/result"]=g.result,Fn.prototype["@@transducer/step"]=function(t,n){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,n);return this.n<0||this.i<this.n?r:d(r)};var Bn=n(y(["take"],n(function(t,n){return new Fn(t,n)}),function(t,n){return Tt(0,t<0?1/0:t,n)}));function Rn(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=Array(t)}Rn.prototype["@@transducer/init"]=g.init,Rn.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},Rn.prototype["@@transducer/step"]=function(t,n){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(n),t},Rn.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)};var Un=n(y([],n(function(t,n){return new Rn(t,n)}),function(t,n){return Bn(t<n.length?n.length-t:0,n)}));function Dn(t,n){this.f=t,this.retained=[],this.xf=n}Dn.prototype["@@transducer/init"]=g.init,Dn.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},Dn.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.retain(t,n):this.flush(t,n)},Dn.prototype.flush=function(t,n){return t=k(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,n)},Dn.prototype.retain=function(t,n){return this.retained.push(n),t};var zn=n(y([],n(function(t,n){return new Dn(t,n)}),function(t,n){for(var r=n.length-1;0<=r&&t(n[r]);)r-=1;return Tt(0,r+1,n)}));function Mn(t,n){this.xf=n,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}Mn.prototype["@@transducer/init"]=g.init,Mn.prototype["@@transducer/result"]=g.result,Mn.prototype["@@transducer/step"]=function(t,n){var r=!1;return this.seenFirstValue?this.pred(this.lastValue,n)&&(r=!0):this.seenFirstValue=!0,this.lastValue=n,r?t:this.xf["@@transducer/step"](t,n)};var Ln=n(function(t,n){return new Mn(t,n)}),Kn=M(-1),Vn=n(y([],Ln,function(t,n){var r=[],e=1,u=n.length;if(0!==u)for(r[0]=n[0];e<u;)t(Kn(r),n[e])||(r[r.length]=n[e]),e+=1;return r})),Gn=o(y([],Ln(Zt),Vn(Zt)));function $n(t,n){this.xf=n,this.f=t}$n.prototype["@@transducer/init"]=g.init,$n.prototype["@@transducer/result"]=g.result,$n.prototype["@@transducer/step"]=function(t,n){if(this.f){if(this.f(n))return t;this.f=null}return this.xf["@@transducer/step"](t,n)};var Hn=n(y(["dropWhile"],n(function(t,n){return new $n(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Tt(r,1/0,n)})),Jn=n(function(t,n){return t||n}),Xn=n(function(t,n){return dt(t)?function(){return t.apply(this,arguments)||n.apply(this,arguments)}:vt(Jn)(t,n)}),Yn=o(function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():p(t)?[]:w(t)?"":cn(t)?{}:C(t)?function(){return arguments}():void 0}),Zn=n(function(t,n){return Cn(t<0?0:n.length-t,n)}),Qn=n(function(t,n){return Zt(Zn(t.length,n),t)}),tr=u(function(t,n,r){return Zt(t(n),t(r))}),nr=u(function(t,n,r){return Zt(n[t],r[t])}),rr=n(function t(n,r){var e,u,i,o=r instanceof Array?[]:{};for(u in r)o[u]="function"==(i=typeof(e=n[u]))?e(r[u]):e&&"object"==i?t(e,r[u]):r[u];return o});function er(t,n){this.xf=n,this.f=t,this.found=!1}er.prototype["@@transducer/init"]=g.init,er.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},er.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.found=!0,t=d(this.xf["@@transducer/step"](t,n))),t};var ur=n(y(["find"],n(function(t,n){return new er(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return n[r];r+=1}}));function ir(t,n){this.xf=n,this.f=t,this.idx=-1,this.found=!1}ir.prototype["@@transducer/init"]=g.init,ir.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},ir.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.found=!0,t=d(this.xf["@@transducer/step"](t,this.idx))),t};var or=n(y([],n(function(t,n){return new ir(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return r;r+=1}return-1}));function cr(t,n){this.xf=n,this.f=t}cr.prototype["@@transducer/init"]=g.init,cr.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},cr.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.last=n),t};var ar=n(y([],n(function(t,n){return new cr(t,n)}),function(t,n){for(var r=n.length-1;0<=r;){if(t(n[r]))return n[r];r-=1}}));function fr(t,n){this.xf=n,this.f=t,this.idx=-1,this.lastIdx=-1}fr.prototype["@@transducer/init"]=g.init,fr.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},fr.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.lastIdx=this.idx),t};var sr=n(y([],n(function(t,n){return new fr(t,n)}),function(t,n){for(var r=n.length-1;0<=r;){if(t(n[r]))return r;r-=1}return-1})),lr=o(wt(!0)),pr=o(function(e){return c(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),hr=n(Pt("forEach",function(t,n){for(var r=n.length,e=0;e<r;)t(n[e]),e+=1;return n})),yr=n(function(t,n){for(var r=U(n),e=0;e<r.length;){var u=r[e];t(n[u],u,n),e+=1}return n}),dr=o(function(t){for(var n={},r=0;r<t.length;)n[t[r][0]]=t[r][1],r+=1;return n}),gr=n(Pt("groupBy",xn(function(t,n){return null==t&&(t=[]),t.push(n),t},null))),vr=n(function(t,n){for(var r=[],e=0,u=n.length;e<u;){for(var i=e+1;i<u&&t(n[i-1],n[i]);)i+=1;r.push(n.slice(e,i)),e=i}return r}),mr=n(function(t,n){return n<t}),br=n(function(t,n){return n<=t}),xr=n(function(t,n){if(0===t.length||lt(n))return!1;for(var r=n,e=0;e<t.length;){if(lt(r)||!I(t[e],r))return!1;r=r[t[e]],e+=1}return!0}),wr=n(function(t,n){return xr([t],n)}),jr=n(function(t,n){return t in n}),Ar=n(Jt),Or=u(function(t,n,r){return c(Math.max(t.length,n.length,r.length),function(){return t.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),Sr=r(1),Er=n(tn),_r=xn(function(t,n){return n},null),qr=n(function(t,n){return"function"!=typeof n.indexOf||p(n)?Qt(n,t,0):n.indexOf(t)}),kr=Tt(0,-1),Nr=u(function(n,t,r){return on(function(t){return Ht(n,t,r)},t)}),Wr=u(function(t,n,r){t=t<r.length&&0<=t?t:r.length;var e=Array.prototype.slice.call(r,0);return e.splice(t,0,n),e}),Ir=u(function(t,n,r){return[].concat(Array.prototype.slice.call(r,0,t=t<r.length&&0<=t?t:r.length),n,Array.prototype.slice.call(r,t))}),Pr=n(function(t,n){for(var r,e,u=new Sn,i=[],o=0;o<n.length;)r=t(e=n[o]),u.add(r)&&i.push(e),o+=1;return i}),Tr=Pr(Kt),Cr=n(function(t,n){var r,e;return e=n.length<t.length?(r=t,n):(r=n,t),Tr(on(pr(tn)(r),e))}),Fr=n(Pt("intersperse",function(t,n){for(var r=[],e=0,u=n.length;e<u;)e===u-1?r.push(n[e]):r.push(n[e],t),e+=1;return r}));var Br="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,e=arguments.length;r<e;){var u=arguments[r];if(null!=u)for(var i in u)I(i,u)&&(n[i]=u[i]);r+=1}return n},Rr=n(function(t,n){var r={};return r[t]=n,r}),Ur={"@@transducer/init":Array,"@@transducer/step":function(t,n){return t.push(n),t},"@@transducer/result":Lt},Dr={"@@transducer/init":String,"@@transducer/step":function(t,n){return t+n},"@@transducer/result":Lt},zr={"@@transducer/init":Object,"@@transducer/step":function(t,n){return Br(t,j(n)?Rr(n[0],n[1]):n)},"@@transducer/result":Lt};var Mr=u(function(t,n,r){return h(t)?k(n(t),t["@@transducer/init"](),r):k(n(function(t){if(h(t))return t;if(j(t))return Ur;if("string"==typeof t)return Dr;if("object"==typeof t)return zr;throw Error("Cannot create transformer for "+t)}(t)),_t(t,[],[],!1),r)}),Lr=o(function(t){for(var n=U(t),r=n.length,e=0,u={};e<r;){var i=n[e],o=t[i],c=I(o,u)?u[o]:u[o]=[];c[c.length]=i,e+=1}return u}),Kr=o(function(t){for(var n=U(t),r=n.length,e=0,u={};e<r;){var i=n[e];u[t[i]]=i,e+=1}return u}),Vr=n(function(n,r){return c(n+1,function(){var t=arguments[n];if(null!=t&&dt(t[r]))return t[r].apply(t,Array.prototype.slice.call(arguments,0,n));throw new TypeError(pn(t)+' does not have a method named "'+r+'"')})}),Gr=n(function(t,n){return null!=n&&n.constructor===t||n instanceof t}),$r=o(function(t){return null!=t&&Zt(t,Yn(t))}),Hr=Vr(1,"join"),Jr=o(function(t){return mn(function(){return Array.prototype.slice.call(arguments,0)},t)}),Xr=o(function(t){var n,r=[];for(n in t)r[r.length]=n;return r}),Yr=n(function(t,n){if("function"!=typeof n.lastIndexOf||p(n)){for(var r=n.length-1;0<=r;){if(Zt(n[r],t))return r;r-=1}return-1}return n.lastIndexOf(t)});function Zr(t){return"[object Number]"===Object.prototype.toString.call(t)}var Qr=o(function(t){return null!=t&&Zr(t.length)?t.length:NaN}),te=n(function(r,e){return function(t){return function(n){return D(function(t){return e(t,n)},t(r(n)))}}}),ne=o(function(t){return te(M(t),Wn(t))}),re=o(function(t){return te(K(t),pt(t))}),ee=o(function(t){return te(V(t),st(t))}),ue=n(function(t,n){return t<n}),ie=n(function(t,n){return t<=n}),oe=u(function(t,n,r){for(var e=0,u=r.length,i=[],o=[n];e<u;)o=t(o[0],r[e]),i[e]=o[1],e+=1;return[o[0],i]}),ce=u(function(t,n,r){for(var e=r.length-1,u=[],i=[n];0<=e;)i=t(i[0],r[e]),u[e]=i[1],e-=1;return[i[0],u]}),ae=n(function(r,e){return k(function(t,n){return t[n]=r(e[n],n,e),t},{},U(e))}),fe=n(function(t,n){return n.match(t)||[]}),se=n(function(t,n){return z(t)?!z(n)||n<1?NaN:(t%n+n)%n:NaN}),le=u(function(t,n,r){return t(r)>t(n)?r:n}),pe=$(r,0),he=o(function(t){return pe(t)/t.length}),ye=o(function(t){var n=t.length;if(0===n)return NaN;var r=2-n%2,e=(n-r)/2;return he(Array.prototype.slice.call(t,0).sort(function(t,n){return t<n?-1:n<t?1:0}).slice(e,e+r))}),de=n(function(n,r){var e={};return f(r.length,function(){var t=n.apply(this,arguments);return I(t,e)||(e[t]=r.apply(this,arguments)),e[t]})}),ge=n(function(t,n){return Br({},t,n)}),ve=o(function(t){return Br.apply(null,[{}].concat(t))}),me=u(function(t,n,r){var e,u={};for(e in n)I(e,n)&&(u[e]=I(e,r)?t(e,n[e],r[e]):n[e]);for(e in r)I(e,r)&&!I(e,u)&&(u[e]=r[e]);return u}),be=u(function e(u,t,n){return me(function(t,n,r){return cn(n)&&cn(r)?e(u,n,r):u(t,n,r)},t,n)}),xe=n(function(t,n){return be(function(t,n,r){return n},t,n)}),we=n(function(t,n){return be(function(t,n,r){return r},t,n)}),je=u(function(e,t,n){return be(function(t,n,r){return e(n,r)},t,n)}),Ae=n(function(t,n){return Br({},n,t)}),Oe=n(function(t,n){return Br({},t,n)}),Se=u(function(e,t,n){return me(function(t,n,r){return e(n,r)},t,n)}),Ee=n(function(t,n){return n<t?n:t}),_e=u(function(t,n,r){return t(r)<t(n)?r:n}),qe=n(function(t,n){return t%n}),ke=u(function(t,n,r){var e=r.length,u=r.slice(),i=t<0?e+t:t,o=n<0?e+n:n,c=u.splice(i,1);return i<0||r.length<=i||o<0||r.length<=o?r:[].concat(u.slice(0,o)).concat(c).concat(u.slice(o,r.length))}),Ne=n(function(t,n){return t*n}),We=o(function(t){return-t}),Ie=n(function(t,n){return m(un(t),n)}),Pe=o(function(t){return c(t<0?1:t+1,function(){return M(t,arguments)})}),Te=u(function(t,n,r){return t(n(r))});var Ce=o(function(t){return[t]}),Fe=n(function(t,n){for(var r={},e={},u=0,i=t.length;u<i;)u+=e[t[u]]=1;for(var o in n)e.hasOwnProperty(o)||(r[o]=n[o]);return r}),Be=o(function(t){var n,r=!1;return f(t.length,function(){return r?n:(r=!0,n=t.apply(this,arguments))})});function Re(t,n){if(null==n||!dt(n.then))throw new TypeError("`"+t+"` expected a Promise, received "+ln(n,[]))}var Ue=n(function(t,n){return Re("otherwise",n),n.then(null,t)}),De=function(n){return{value:n,map:function(t){return De(t(n))}}},ze=u(function(t,n,r){return t(function(t){return De(n(t))})(r).value}),Me=n(function(t,n){return[t,n]});function Le(r){return n(function(t,n){return f(Math.max(0,t.length-n.length),function(){return t.apply(this,r(n,arguments))})})}var Ke=Le(i),Ve=Le(pr(i)),Ge=Jr([fn,sn]),$e=u(function(t,n,r){return Zt(K(t,r),n)}),He=u(function(t,n,r){return An(t,K(n,r))}),Je=u(function(t,n,r){return t(K(n,r))}),Xe=n(function(t,n){for(var r={},e=0;e<t.length;)t[e]in n&&(r[t[e]]=n[t[e]]),e+=1;return r}),Ye=n(function(t,n){for(var r={},e=0,u=t.length;e<u;){var i=t[e];r[i]=n[i],e+=1}return r}),Ze=n(function(t,n){var r={};for(var e in n)t(n[e],e,n)&&(r[e]=n[e]);return r});var Qe=n(function(t,n){return i([t],n)}),tu=$(Ne,1),nu=n(function(r,e){return c(e.length,function(){for(var t=[],n=0;n<e.length;)t.push(e[n].call(this,arguments[n])),n+=1;return r.apply(this,t.concat(Array.prototype.slice.call(arguments,e.length)))})}),ru=nu(x,[Ye,Kt]),eu=u(function(t,n,r){return Zt(n,r[t])}),uu=u(function(t,n,r){return Gr(t,r[n])}),iu=u(function(t,n,r){return He(t,[n],r)}),ou=u(function(t,n,r){return t(r[n])}),cu=n(function(t,n){return t.map(function(t){return K([t],n)})}),au=n(function(t,n){if(!Zr(t)||!Zr(n))throw new TypeError("Both arguments to range must be numbers");for(var r=[],e=t;e<n;)r.push(e),e+=1;return r}),fu=u(function(t,n,r){for(var e=r.length-1;0<=e;)n=t(r[e],n),e-=1;return n}),su=s(4,[],function(r,e,t,n){return k(function(t,n){return r(t,n)?e(t,n):d(t)},t,n)}),lu=o(d),pu=n(function(t,n){var r,e=+n,u=0;if(e<0||isNaN(e))throw new RangeError("n must be a non-negative number");for(r=Array(e);u<e;)r[u]=t(u),u+=1;return r}),hu=n(function(t,n){return pu(J(t),n)}),yu=u(function(t,n,r){return r.replace(t,n)}),du=u(function(t,n,r){for(var e=0,u=r.length,i=[n];e<u;)n=t(n,r[e]),i[e+1]=n,e+=1;return i}),gu=n(function(t,n){return"function"==typeof n.sequence?n.sequence(t):fu(function(t,n){return tt(D(Qe,t),n)},t([]),n)}),vu=u(function(t,n,r){return ze(t,J(n),r)}),mu=n(function(t,n){return Array.prototype.slice.call(n,0).sort(t)}),bu=n(function(u,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=u(t),e=u(n);return r<e?-1:e<r?1:0})}),xu=n(function(u,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,e=0;0===r&&e<u.length;)r=u[e](t,n),e+=1;return r})}),wu=Vr(1,"split"),ju=n(function(t,n){return[Tt(0,t,n),Tt(t,Qr(n),n)]}),Au=n(function(t,n){if(t<=0)throw Error("First argument to splitEvery must be a positive integer");for(var r=[],e=0;e<n.length;)r.push(Tt(e,e+=t,n));return r}),Ou=n(function(t,n){for(var r=0,e=n.length,u=[];r<e&&!t(n[r]);)u.push(n[r]),r+=1;return[u,Array.prototype.slice.call(n,r)]}),Su=n(function(t,n){return Zt(Bn(t.length,n),t)}),Eu=n(function(t,n){return+t-+n}),_u=n(function(t,n){return hn(_n(t,n),_n(n,t))}),qu=u(function(t,n,r){return hn(qn(t,n,r),qn(t,r,n))}),ku=n(function(t,n){for(var r=n.length-1;0<=r&&t(n[r]);)r-=1;return Tt(r+1,1/0,n)});function Nu(t,n){this.xf=n,this.f=t}Nu.prototype["@@transducer/init"]=g.init,Nu.prototype["@@transducer/result"]=g.result,Nu.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):d(t)};var Wu=n(y(["takeWhile"],n(function(t,n){return new Nu(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Tt(0,r,n)}));function Iu(t,n){this.xf=n,this.f=t}Iu.prototype["@@transducer/init"]=g.init,Iu.prototype["@@transducer/result"]=g.result,Iu.prototype["@@transducer/step"]=function(t,n){return this.f(n),this.xf["@@transducer/step"](t,n)};var Pu=n(y([],n(function(t,n){return new Iu(t,n)}),function(t,n){return t(n),n}));function Tu(t){return{value:t,"fantasy-land/map":function(){return this}}}var Cu=n(function(t,n){if(!function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(t))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+pn(t));return St(t).test(n)}),Fu=n(function(t,n){return Re("andThen",n),n.then(t)}),Bu=Vr(0,"toLowerCase"),Ru=o(function(t){var n=[];for(var r in t)I(r,t)&&(n[n.length]=[r,t[r]]);return n}),Uu=o(function(t){var n=[];for(var r in t)n[n.length]=[r,t[r]];return n}),Du=Vr(0,"toUpperCase"),zu=c(4,function(t,n,r,e){return k(t("function"==typeof n?O(n):n),r,e)}),Mu=o(function(t){for(var n=0,r=[];n<t.length;){for(var e=t[n],u=0;u<e.length;)void 0===r[u]&&(r[u]=[]),r[u].push(e[u]),u+=1;n+=1}return r}),Lu=u(function(t,n,r){return"function"==typeof r["fantasy-land/traverse"]?r["fantasy-land/traverse"](n,t):gu(t,D(n,r))}),Ku="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Vu=!("function"==typeof String.prototype.trim)||Ku.trim()?o(function(t){var n=RegExp("^["+Ku+"]["+Ku+"]*"),r=RegExp("["+Ku+"]["+Ku+"]*$");return t.replace(n,"").replace(r,"")}):o(function(t){return t.trim()}),Gu=n(function(t,n){return f(t.length,function(){try{return t.apply(this,arguments)}catch(t){return n.apply(this,i([t],arguments))}})}),$u=o(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}}),Hu=o(function(t){return ht(1,t)}),Ju=n(function(u,i){return c(u,function(){for(var t,n=1,r=i,e=0;n<=u&&"function"==typeof r;)r=r.apply(this,Array.prototype.slice.call(arguments,e,t=n===u?arguments.length:e+r.length)),n+=1,e=t;return r})}),Xu=n(function(t,n){for(var r=t(n),e=[];r&&r.length;)e[e.length]=r[0],r=t(r[1]);return e}),Yu=n(Rt(Tr,i)),Zu=n(function(t,n){for(var r,e=0,u=n.length,i=[];e<u;)Ht(t,r=n[e],i)||(i[i.length]=r),e+=1;return i}),Qu=u(function(t,n,r){return Zu(t,i(n,r))}),ti=u(function(t,n,r){return t(r)?r:n(r)}),ni=At(Lt),ri=u(function(t,n,r){for(var e=r;!t(e);)e=n(e);return e}),ei=o(function(t){var n,r=[];for(n in t)r[r.length]=t[n];return r}),ui=n(function(t,n){return t(Tu)(n).value}),ii=u(function(t,n,r){return t(r)?n(r):r}),oi=n(function(t,n){for(var r in t)if(I(r,t)&&!t[r](n[r]))return!1;return!0}),ci=n(function(t,n){return oi(D(Zt,t),n)}),ai=n(function(t,n){return sn(pr(tn)(t),n)}),fi=n(function(t,n){return!!(!t^!n)}),si=n(function(t,n){for(var r,e=0,u=t.length,i=n.length,o=[];e<u;){for(r=0;r<i;)o[o.length]=[t[e],n[r]],r+=1;e+=1}return o}),li=n(function(t,n){for(var r=[],e=0,u=Math.min(t.length,n.length);e<u;)r[e]=[t[e],n[e]],e+=1;return r}),pi=n(function(t,n){for(var r=0,e=Math.min(t.length,n.length),u={};r<e;)u[t[r]]=n[r],r+=1;return u}),hi=u(function(t,n,r){for(var e=[],u=0,i=Math.min(n.length,r.length);u<i;)e[u]=t(n[u],r[u]),u+=1;return e}),yi=o(function(n){return c(n.length,function(){var t=arguments;return function(){return n.apply(this,t)}})});t.F=function(){return!1},t.T=function(){return!0},t.__={"@@functional/placeholder":!0},t.add=r,t.addIndex=e,t.adjust=l,t.all=m,t.allPass=H,t.always=J,t.and=X,t.any=Z,t.anyPass=Q,t.ap=tt,t.aperture=rt,t.append=et,t.apply=ut,t.applySpec=ct,t.applyTo=at,t.ascend=ft,t.assoc=st,t.assocPath=pt,t.binary=yt,t.bind=S,t.both=mt,t.call=xt,t.chain=At,t.clamp=Ot,t.clone=qt,t.comparator=kt,t.complement=Wt,t.compose=Rt,t.composeK=Ut,t.composeP=function(){if(0===arguments.length)throw Error("composeP requires at least one argument");return zt.apply(this,Bt(arguments))},t.composeWith=Gt,t.concat=hn,t.cond=yn,t.construct=gn,t.constructN=dn,t.contains=vn,t.converge=mn,t.countBy=wn,t.curry=bt,t.curryN=c,t.dec=jn,t.defaultTo=An,t.descend=On,t.difference=_n,t.differenceWith=qn,t.dissoc=kn,t.dissocPath=In,t.divide=Pn,t.drop=Cn,t.dropLast=Un,t.dropLastWhile=zn,t.dropRepeats=Gn,t.dropRepeatsWith=Vn,t.dropWhile=Hn,t.either=Xn,t.empty=Yn,t.endsWith=Qn,t.eqBy=tr,t.eqProps=nr,t.equals=Zt,t.evolve=rr,t.filter=fn,t.find=ur,t.findIndex=or,t.findLast=ar,t.findLastIndex=sr,t.flatten=lr,t.flip=pr,t.forEach=hr,t.forEachObjIndexed=yr,t.fromPairs=dr,t.groupBy=gr,t.groupWith=vr,t.gt=mr,t.gte=br,t.has=wr,t.hasIn=jr,t.hasPath=xr,t.head=Mt,t.identical=Ar,t.identity=Kt,t.ifElse=Or,t.inc=Sr,t.includes=Er,t.indexBy=_r,t.indexOf=qr,t.init=kr,t.innerJoin=Nr,t.insert=Wr,t.insertAll=Ir,t.intersection=Cr,t.intersperse=Fr,t.into=Mr,t.invert=Lr,t.invertObj=Kr,t.invoker=Vr,t.is=Gr,t.isEmpty=$r,t.isNil=lt,t.join=Hr,t.juxt=Jr,t.keys=U,t.keysIn=Xr,t.last=Kn,t.lastIndexOf=Yr,t.length=Qr,t.lens=te,t.lensIndex=ne,t.lensPath=re,t.lensProp=ee,t.lift=vt,t.liftN=gt,t.lt=ue,t.lte=ie,t.map=D,t.mapAccum=oe,t.mapAccumRight=ce,t.mapObjIndexed=ae,t.match=fe,t.mathMod=se,t.max=b,t.maxBy=le,t.mean=he,t.median=ye,t.memoizeWith=de,t.merge=ge,t.mergeAll=ve,t.mergeDeepLeft=xe,t.mergeDeepRight=we,t.mergeDeepWith=je,t.mergeDeepWithKey=be,t.mergeLeft=Ae,t.mergeRight=Oe,t.mergeWith=Se,t.mergeWithKey=me,t.min=Ee,t.minBy=_e,t.modulo=qe,t.move=ke,t.multiply=Ne,t.nAry=ht,t.negate=We,t.none=Ie,t.not=Nt,t.nth=M,t.nthArg=Pe,t.o=Te,t.objOf=Rr,t.of=Ce,t.omit=Fe,t.once=Be,t.or=Jn,t.otherwise=Ue,t.over=ze,t.pair=Me,t.partial=Ke,t.partialRight=Ve,t.partition=Ge,t.path=K,t.paths=L,t.pathEq=$e,t.pathOr=He,t.pathSatisfies=Je,t.pick=Xe,t.pickAll=Ye,t.pickBy=Ze,t.pipe=Ft,t.pipeK=function(){if(0===arguments.length)throw Error("pipeK requires at least one argument");return Ut.apply(this,Bt(arguments))},t.pipeP=zt,t.pipeWith=Vt,t.pluck=G,t.prepend=Qe,t.product=tu,t.project=ru,t.prop=V,t.propEq=eu,t.propIs=uu,t.propOr=iu,t.propSatisfies=ou,t.props=cu,t.range=au,t.reduce=$,t.reduceBy=xn,t.reduceRight=fu,t.reduceWhile=su,t.reduced=lu,t.reject=sn,t.remove=Nn,t.repeat=hu,t.replace=yu,t.reverse=Bt,t.scan=du,t.sequence=gu,t.set=vu,t.slice=Tt,t.sort=mu,t.sortBy=bu,t.sortWith=xu,t.split=wu,t.splitAt=ju,t.splitEvery=Au,t.splitWhen=Ou,t.startsWith=Su,t.subtract=Eu,t.sum=pe,t.symmetricDifference=_u,t.symmetricDifferenceWith=qu,t.tail=Ct,t.take=Bn,t.takeLast=Zn,t.takeLastWhile=ku,t.takeWhile=Wu,t.tap=Pu,t.test=Cu,t.andThen=Fu,t.times=pu,t.toLower=Bu,t.toPairs=Ru,t.toPairsIn=Uu,t.toString=pn,t.toUpper=Du,t.transduce=zu,t.transpose=Mu,t.traverse=Lu,t.trim=Vu,t.tryCatch=Gu,t.type=Et,t.unapply=$u,t.unary=Hu,t.uncurryN=Ju,t.unfold=Xu,t.union=Yu,t.unionWith=Qu,t.uniq=Tr,t.uniqBy=Pr,t.uniqWith=Zu,t.unless=ti,t.unnest=ni,t.until=ri,t.update=Wn,t.useWith=nu,t.values=it,t.valuesIn=ei,t.view=ui,t.when=ii,t.where=oi,t.whereEq=ci,t.without=ai,t.xor=fi,t.xprod=si,t.zip=li,t.zipObj=pi,t.zipWith=hi,t.thunkify=yi,Object.defineProperty(t,"__esModule",{value:!0})});