Socket
Socket
Sign inDemoInstall

ramda

Package Overview
Dependencies
0
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.0 to 0.13.0

src/isNaN.js

4

dist/ramda.min.js

@@ -1,2 +0,2 @@

// Ramda v0.12.0
// Ramda v0.13.0
// https://github.com/ramda/ramda

@@ -6,2 +6,2 @@ // (c) 2013-2015 Scott Sauyet, Michael Hurley, and David Chambers

(function(){"use strict";var n={ramda:"placeholder"},t=function(n,t){return n+t},r=function(n,t){for(var r=-1;++r<t.length;)if(!n(t[r]))return!1;return!0},e=function(n,t){for(var r=-1;++r<t.length;)if(n(t[r]))return!0;return!1},u=function(n,t,r){var e={};for(var u in r)e[u]=r[u];return e[n]=t,e},i=function(n){return new RegExp(n.source,(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":""))},o=function(n){return function(){return!n.apply(this,arguments)}},f=function(n,t){return function(){return n.call(this,t.apply(this,arguments))}},c=function(n,t){n=n||[],t=t||[];var r,e=n.length,u=t.length,i=[];for(r=-1;++r<e;)i[i.length]=n[r];for(r=-1;++r<u;)i[i.length]=t[r];return i},a=function(n,t,r){for(var e=-1,u=r.length;++e<u;)if(n(t,r[e]))return!0;return!1},s=function(n,t){var r={};return r[n]=t,r},l=function(n){return function(t,r){if(r&&r.length>0){for(var e,u=0,i=r[u],o=t(i);++u<r.length;)e=t(r[u]),n(e,o)&&(o=e,i=r[u]);return i}}},h=function(t){return function r(e){return 0===arguments.length?r:e===n?r:t(e)}},p=function(t){return function r(e,u){var i=arguments.length;return 0===i?r:1===i&&e===n?r:1===i?h(function(n){return t(e,n)}):2===i&&e===n&&u===n?r:2===i&&e===n?h(function(n){return t(n,u)}):2===i&&u===n?h(function(n){return t(e,n)}):t(e,u)}},g=function(t){return function r(e,u,i){var o=arguments.length;return 0===o?r:1===o&&e===n?r:1===o?p(function(n,r){return t(e,n,r)}):2===o&&e===n&&u===n?r:2===o&&e===n?p(function(n,r){return t(n,u,r)}):2===o&&u===n?p(function(n,r){return t(e,n,r)}):2===o?h(function(n){return t(e,u,n)}):3===o&&e===n&&u===n&&i===n?r:3===o&&e===n&&u===n?p(function(n,r){return t(n,r,i)}):3===o&&e===n&&i===n?p(function(n,r){return t(n,u,r)}):3===o&&u===n&&i===n?p(function(n,r){return t(e,n,r)}):3===o&&e===n?h(function(n){return t(n,u,i)}):3===o&&u===n?h(function(n){return t(e,n,i)}):3===o&&i===n?h(function(n){return t(e,u,n)}):t(e,u,i)}},y=function(n,t){var r={};for(var e in t)e!==n&&(r[e]=t[e]);return r},m=function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)n(t[r])&&(u[u.length]=t[r]);return u},v=function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)n(t[r],r,t)&&(u[u.length]=t[r]);return u},d=function(n,t){for(var r=-1,e=t.length;++r<e;)n(t[r]);return t},x=function(n){return function(t){return m(function(n){return"function"==typeof t[n]},n(t))}},w=function(n,t){return n>t},b=function(n,t){return Object.prototype.hasOwnProperty.call(t,n)},j=function(n){return n},O=function(n,t,r){var e=0,u=n.length;for("number"==typeof r&&(e=0>r?Math.max(0,u+r):r);u>e;){if(n[e]===t)return e;++e}return-1},_=Array.isArray||function(n){return null!=n&&n.length>=0&&"[object Array]"===Object.prototype.toString.call(n)},I=Number.isInteger||function(n){return n<<0===n},A=function(n){return null!=n&&n===Object(n)&&"function"==typeof n.then},k=function(n){return"function"==typeof n.step&&"function"==typeof n.result},E=function(n,t,r){var e=n.length;for("number"==typeof r&&(e=0>r?e+r+1:Math.min(e,r+1));--e>=0;)if(n[e]===t)return e;return-1},P=function(n,t){return t>n},C=function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)u[r]=n(t[r]);return u},M=function(n,t){return n*t},S=function(n,t){return 0>n?t[t.length+n]:t[n]},W=function(n,t){if(null!=t&&0!==n.length){for(var r=t,e=0,u=n.length;u>e&&null!=r;e+=1)r=r[n[e]];return r}},R=function(n,t){return c([n],t)},L=function(n){return n&&n.__transducers_reduced__?n:{value:n,__transducers_reduced__:!0}},N=function(n,t,r){if(n===r)return!0;if(null==r)return!1;t.fn=t.fn||[],t.obj=t.obj||[];for(var e,u,i=-1,o=t.fn.length,f=-1,c=t.obj.length;++i<o;){if(e=t.fn[i],u=n[e],!(e in r))return!1;if(!u(r[e],r))return!1}for(;++f<c;)if(e=t.obj[f],n[e]!==r[e])return!1;return!0},T=function su(n,t,r){switch(arguments.length){case 1:return su(n,0,n.length);case 2:return su(n,t,n.length);default:for(var e=Math.max(0,r-t),u=[],i=-1;++i<e;)u[i]=n[t+i];return u}},q=function(){function n(n,t){this.xf=t,this.f=n,this.all=!0}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.all&&(n=this.xf.step(n,!0)),this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)||(this.all=!1,n=L(this.xf.step(n,!1))),n},p(function(t,r){return new n(t,r)})}(),B=function(){function n(n,t){this.xf=t,this.f=n,this.any=!1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.any||(n=this.xf.step(n,!1)),this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)&&(this.any=!0,n=L(this.xf.step(n,!0))),n},p(function(t,r){return new n(t,r)})}(),z=function(){function n(n,t){this.xf=t,this.n=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.n>0?(this.n-=1,n):this.xf.step(n,t)},p(function(t,r){return new n(t,r)})}(),D=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){if(this.f){if(this.f(t))return n;this.f=null}return this.xf.step(n,t)},p(function(t,r){return new n(t,r)})}(),F=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)?this.xf.step(n,t):n},p(function(t,r){return new n(t,r)})}(),U=function(){function n(n,t){this.xf=t,this.f=n,this.found=!1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.found||(n=this.xf.step(n,void 0)),this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)&&(this.found=!0,n=L(this.xf.step(n,t))),n},p(function(t,r){return new n(t,r)})}(),X=function(){function n(n,t){this.xf=t,this.f=n,this.idx=-1,this.found=!1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.found||(n=this.xf.step(n,-1)),this.xf.result(n)},n.prototype.step=function(n,t){return this.idx+=1,this.f(t)&&(this.found=!0,n=L(this.xf.step(n,this.idx))),n},p(function(t,r){return new n(t,r)})}(),$=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(this.xf.step(n,this.last))},n.prototype.step=function(n,t){return this.f(t)&&(this.last=t),n},p(function(t,r){return new n(t,r)})}(),G=function(){function n(n,t){this.xf=t,this.f=n,this.idx=-1,this.lastIdx=-1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(this.xf.step(n,this.lastIdx))},n.prototype.step=function(n,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),n},p(function(t,r){return new n(t,r)})}(),H=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.xf.step(n,this.f(t))},p(function(t,r){return new n(t,r)})}(),J=function(){function n(n,t){this.xf=t,this.n=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.n-=1,0===this.n?L(this.xf.step(n,t)):this.xf.step(n,t)},p(function(t,r){return new n(t,r)})}(),K=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)?this.xf.step(n,t):L(n)},p(function(t,r){return new n(t,r)})}(),Q=function(){function n(n){this.f=n}return n.prototype.init=function(){throw new Error("init not implemented on XWrap")},n.prototype.result=function(n){return n},n.prototype.step=function(n,t){return this.f(n,t)},function(t){return new n(t)}}(),V=p(t),Y=h(function(n){return function(){return n}}),Z=p(function(n,t){return n&&t}),nn=p(function(n,t){for(var r=-1,e=t.length-(n-1),u=new Array(e>=0?e:0);++r<e;)u[r]=T(t,r,r+n);return u}),tn=p(function(n,t){return n.apply(this,t)}),rn=p(function(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(n){return t.apply(this,arguments)};case 2:return function(n,r){return t.apply(this,arguments)};case 3:return function(n,r,e){return t.apply(this,arguments)};case 4:return function(n,r,e,u){return t.apply(this,arguments)};case 5:return function(n,r,e,u,i){return t.apply(this,arguments)};case 6:return function(n,r,e,u,i,o){return t.apply(this,arguments)};case 7:return function(n,r,e,u,i,o,f){return t.apply(this,arguments)};case 8:return function(n,r,e,u,i,o,f,c){return t.apply(this,arguments)};case 9:return function(n,r,e,u,i,o,f,c,a){return t.apply(this,arguments)};case 10:return function(n,r,e,u,i,o,f,c,a,s){return t.apply(this,arguments)};default:throw new Error("First argument to arity must be a non-negative integer no greater than ten")}}),en=g(u),un=p(function(n,t){return rn(n.length,function(){return n.apply(t,arguments)})}),on=p(function(n,t){return function(){return n.apply(this,arguments)&&t.apply(this,arguments)}}),fn=h(function(n){return function(t,r){return n(t,r)?-1:n(r,t)?1:0}}),cn=h(o),an=function(){var n=arguments;return function(){for(var t=-1;++t<n.length;)if(n[t][0].apply(this,arguments))return n[t][1].apply(this,arguments)}},sn=g(a),ln=p(function(n,t){for(var r={},e=t.length,u=-1;++u<e;){var i=n(t[u]);r[i]=(b(i,r)?r[i]:0)+1}return r}),hn=p(s),pn=p(function lu(t,r){return rn(t,function(){for(var e=arguments.length,u=t-e,i=e;--i>=0;)arguments[i]===n&&(u+=1);if(0>=u)return r.apply(this,arguments);var o=T(arguments);return lu(u,function(){for(var t=T(arguments),u=[],i=-1;++i<e;){var f=o[i];u[i]=f===n?t.shift():f}return r.apply(this,u.concat(t))})})}),gn=V(-1),yn=p(function(n,t){return null==t?n:t}),mn=g(function(n,t,r){for(var e=[],u=-1,i=t.length,o=sn(n);++u<i;)o(t[u],r)||o(t[u],e)||(e[u]=t[u]);return e}),vn=p(y),dn=p(function(n,t){return n/t}),xn=p(function(n,t){return function(){return n.apply(this,arguments)||t.apply(this,arguments)}}),wn=p(function(n,t){return 0===n?1/n===1/t:n===t||n!==n&&t!==t}),bn=g(function(n,t,r){return t[n]===r[n]}),jn=p(v),On=p(d),_n=p(function(n,t){for(var r=-1,e=t.length;++r<e;)n(t[r],r,t);return t}),In=h(function(n){for(var t=-1,r=n.length,e={};++t<r;)_(n[t])&&n[t].length&&(e[n[t][0]]=n[t][1]);return e}),An=p(w),kn=p(function(n,t){return n>=t}),En=p(b),Pn=p(function(n,t){return n in t}),Cn=h(j),Mn=g(function(n,t,r){return pn(Math.max(n.length,t.length,r.length),function(){return n.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)})}),Sn=V(1),Wn=p(function(n,t){return O(t,n)}),Rn=g(function(n,t,r){return n=n<r.length&&n>=0?n:r.length,c(c(T(r,0,n),t),T(r,n))}),Ln=p(function(n,t){return null!=t&&t.constructor===n||t instanceof n}),Nn=h(function(n){return _(n)?!0:n?"object"!=typeof n?!1:n instanceof String?!1:1===n.nodeType?!!n.length:0===n.length?!0:n.length>0?n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1):!1:!1}),Tn=h(function(n){return 0===Object(n).length}),qn=h(function(n){return null==n}),Bn=h(function(n){for(var t=n.length,r=-1;++r<t;)if(O(n,n[r],r+1)>=0)return!1;return!0}),zn=h(function(n){var t,r=[];for(t in n)r[r.length]=t;return r}),Dn=p(function(n,t){return E(t,n)}),Fn=h(function(n){return null!=n&&Ln(Number,n.length)?n.length:0/0}),Un=p(function(n,t){var r=function(t){return n(t)};return r.set=p(t),r.map=p(function(r,e){return t(r(n(e)),e)}),r}),Xn=g(function(n,t,r){var e=function(){return n(r)};return e.set=t,e.map=function(e){return t(e(n(r)))},e}),$n=p(P),Gn=p(function(n,t){return t>=n}),Hn=g(function(n,t,r){for(var e=-1,u=r.length,i=[],o=[t];++e<u;)o=n(o[0],r[e]),i[e]=o[1];return[o[0],i]}),Jn=g(function(n,t,r){for(var e=r.length,u=[],i=[t];--e>=0;)i=n(i[0],r[e]),u[e]=i[1];return[i[0],u]}),Kn=p(function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)u[r]=n(t[r],r,t);return u}),Qn=p(function(n,t){return I(n)?!I(t)||1>t?0/0:(n%t+t)%t:0/0}),Vn=p(l(w)),Yn=function(){var n=function(n){return n+"::"+Object.prototype.toString.call(n)},t=function(t){return t.length+":{"+C(n,t).join(",")+"}"};return h(function(n){var r={};return function(){var e=t(arguments);return b(e,r)||(r[e]=n.apply(this,arguments)),r[e]}})}(),Zn=p(l(P)),nt=p(function(n,t){return n%t}),tt=p(M),rt=p(function(n,t){switch(n){case 0:return function(){return t.call(this)};case 1:return function(n){return t.call(this,n)};case 2:return function(n,r){return t.call(this,n,r)};case 3:return function(n,r,e){return t.call(this,n,r,e)};case 4:return function(n,r,e,u){return t.call(this,n,r,e,u)};case 5:return function(n,r,e,u,i){return t.call(this,n,r,e,u,i)};case 6:return function(n,r,e,u,i,o){return t.call(this,n,r,e,u,i,o)};case 7:return function(n,r,e,u,i,o,f){return t.call(this,n,r,e,u,i,o,f)};case 8:return function(n,r,e,u,i,o,f,c){return t.call(this,n,r,e,u,i,o,f,c)};case 9:return function(n,r,e,u,i,o,f,c,a){return t.call(this,n,r,e,u,i,o,f,c,a)};case 10:return function(n,r,e,u,i,o,f,c,a,s){return t.call(this,n,r,e,u,i,o,f,c,a,s)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),et=h(function(n){return-n}),ut=h(function(n){return!n}),it=p(S),ot=h(function(n){return function(){return S(n,arguments)}}),ft=p(function(n,t){return t.charAt(0>n?t.length+n:n)}),ct=p(function(n,t){return t.charCodeAt(0>n?t.length+n:n)}),at=h(function(n){return[n]}),st=p(function(n,t){var r={};for(var e in t)O(n,e)<0&&(r[e]=t[e]);return r}),lt=h(function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments))}}),ht=p(function(n,t){return n||t}),pt=p(W),gt=g(function(n,t,r){return W(n,r)===t}),yt=p(function(n,t){var r={};for(var e in t)O(n,e)>=0&&(r[e]=t[e]);return r}),mt=p(function(n,t){for(var r={},e=-1,u=n.length;++e<u;){var i=n[e];r[i]=t[i]}return r}),vt=p(function(n,t){var r={};for(var e in t)n(t[e],e,t)&&(r[e]=t[e]);return r}),dt=p(R),xt=p(function(n,t){return t[n]}),wt=g(function(n,t,r){return r[n]===t}),bt=g(function(n,t,r){return b(t,r)?r[t]:n}),jt=p(function(n,t){for(var r=n.length,e=[],u=-1;++u<r;)e[u]=t[n[u]];return e}),Ot=p(function(n,t){for(var r=[],e=n;t>e;)r[r.length]=e,e+=1;return r}),_t=g(function(n,t,r){for(var e=-1,u=r.length;++e<u;)t=n(t,r[e],e,r);return t}),It=g(function(n,t,r){for(var e=r.length;--e>=0;)t=n(t,r[e]);return t}),At=g(function(n,t,r){for(var e=r.length;--e>=0;)t=n(t,r[e],e,r);return t}),kt=p(function(n,t){return v(o(n),t)}),Et=g(function(n,t,r){return c(T(r,0,Math.min(n,r.length)),T(r,Math.min(r.length,n+t)))}),Pt=g(function(n,t,r){return r.replace(n,t)}),Ct=h(function(n){return T(n).reverse()}),Mt=g(function(n,t,r){for(var e=0,u=r.length+1,i=[t];++e<u;)t=n(t,r[e-1]),i[e]=t;return i}),St=p(function(n,t){return T(t).sort(function(t,r){var e=n(t),u=n(r);return u>e?-1:e>u?1:0})}),Wt=p(function(n,t){return t.indexOf(n)}),Rt=p(function(n,t){return t.lastIndexOf(n)}),Lt=p(function(n,t){return n-t}),Nt=p(function(n,t){return n(t),t}),Tt=p(function(n,t){return i(n).test(t)}),qt=p(function(n,t){for(var r=Number(t),e=new Array(r),u=0;r>u;)e[u]=n(u),u+=1;return e}),Bt=h(function(n){var t=[];for(var r in n)b(r,n)&&(t[t.length]=[r,n[r]]);return t}),zt=h(function(n){var t=[];for(var r in n)t[t.length]=[r,n[r]];return t}),Dt=function(){var n=" \n \f\r   ᠎              \u2028\u2029\ufeff",t="​",r="function"==typeof String.prototype.trim;return h(r&&!n.trim()&&t.trim()?function(n){return n.trim()}:function(t){var r=new RegExp("^["+n+"]["+n+"]*"),e=new RegExp("["+n+"]["+n+"]*$");return t.replace(r,"").replace(e,"")})}(),Ft=h(function(n){return null===n?"Null":void 0===n?"Undefined":Object.prototype.toString.call(n).slice(8,-1)}),Ut=h(function(n){return function(){return n(T(arguments))}}),Xt=h(function(n){return rt(1,n)}),$t=p(function(n,t){for(var r=n(t),e=[];r&&r.length;)e[e.length]=r[0],r=n(r[1]);return e}),Gt=p(function(n,t){for(var r,e=-1,u=t.length,i=[];++e<u;)r=t[e],a(n,r,i)||(i[i.length]=r);return i}),Ht=h(function(n){var t,r=[];for(t in n)r[r.length]=n[t];return r}),Jt=p(function(n,t){return pn(n.length,function(){return t.apply(this,c([n],arguments))})}),Kt=p(function(n,t){for(var r,e=-1,u=n.length,i=t.length,o=[];++e<u;)for(r=-1;++r<i;)o[o.length]=[n[e],t[r]];return o}),Qt=p(function(n,t){for(var r=[],e=-1,u=Math.min(n.length,t.length);++e<u;)r[e]=[n[e],t[e]];return r}),Vt=p(function(n,t){for(var r=-1,e=n.length,u={};++r<e;)u[n[r]]=t[r];return u}),Yt=g(function(n,t,r){for(var e=[],u=-1,i=Math.min(t.length,r.length);++u<i;)e[u]=n(t[u],r[u]);return e}),Zt=Y(!1),nr=Y(!0),tr=function(n,t){return c(t,[n])},rr=function hu(n,t,r){switch(n.length){case 0:return r;case 1:return u(n[0],t,r);default:return u(n[0],hu(T(n,1),t,Object(r[n[0]])),r)}},er=function pu(n,t,r){var e=function(e){for(var u=t.length,i=-1;++i<u;)if(n===t[i])return r[i];t[i+1]=n,r[i+1]=e;for(var o in n)e[o]=pu(n[o],t,r);return e};switch(Ft(n)){case"Object":return e({});case"Array":return e([]);case"Date":return new Date(n);case"RegExp":return i(n);default:return n}},ur=function(n,t){return function(){var r=arguments.length;if(0===r)return t();var e=arguments[r-1];return _(e)||"function"!=typeof e[n]?t.apply(this,arguments):e[n].apply(e,T(arguments,0,r-1))}},ir=function(n,t){return function(){var r=this,e=t.apply(this,arguments);return A(e)?e.then(function(t){return n.call(r,t)}):n.call(this,e)}},or=function(n,t){return O(t,n)>=0},fr=function(n){return function(){for(var t=arguments.length-1,r=arguments[t],e=r.length;--t>=0;)r=n(arguments[t],r);return rn(e,r)}},cr=function(n,t){return h(function(r){for(var e,u=-1,i=t;++u<r.length;)e=+r[u],n(e,i)&&(i=e);return i})},ar=function(n){return function(t){var r=T(arguments,1);return rn(Math.max(0,t.length-r.length),function(){return t.apply(this,n(r,arguments))})}},sr=function(n,t,r){return function(){var e=arguments.length;if(0===e)return r();var u=arguments[e-1];if(!_(u)){var i=T(arguments,0,e-1);if("function"==typeof u[n])return u[n].apply(u,i);if(k(u)){var o=t.apply(null,i);return o(u)}}return r.apply(this,arguments)}},lr=function gu(n,t){switch(n.length){case 0:return t;case 1:return y(n[0],t);default:var r=n[0],e=T(n,1);return null==t[r]?t:u(r,gu(e,t[r]),t)}},hr=function(n,t){return null!=t&&!_(t)&&"function"==typeof t[n]},pr=function(n){return function t(r){for(var e,u,i,o=[],f=-1,c=r.length;++f<c;)if(Nn(r[f]))for(e=n?t(r[f]):r[f],u=-1,i=e.length;++u<i;)o[o.length]=e[u];else o[o.length]=r[f];return o}},gr=function(n,t){return C(xt(n),t)},yr=function(){function n(n,t,r){for(var e=-1,u=r.length;++e<u;)if(t=n.step(t,r[e]),t&&t.__transducers_reduced__){t=t.value;break}return n.result(t)}function t(n,t,r){for(var e=r.next();!e.done;){if(t=n.step(t,e.value),t&&t.__transducers_reduced__){t=t.value;break}e=r.next()}return n.result(t)}function r(n,t,r){return n.result(r.reduce(un(n.step,n),t))}var e="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(u,i,o){if("function"==typeof u&&(u=Q(u)),Nn(o))return n(u,i,o);if("function"==typeof o.reduce)return r(u,i,o);if(null!=o[e])return t(u,i,o[e]());if("function"==typeof o.next)return t(u,i,o);throw new TypeError("reduce: list must be array or iterable")}}(),mr=function(){function n(n,t){this.xf=t,this.f=n,this.inputs={}}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){var t;for(t in this.inputs)if(b(t,this.inputs)&&(n=this.xf.step(n,this.inputs[t]),n.__transducers_reduced__)){n=n.value;break}return this.xf.result(n)},n.prototype.step=function(n,t){var r=this.f(t);return this.inputs[r]=this.inputs[r]||[r,[]],this.inputs[r][1]=tr(t,this.inputs[r][1]),n},p(function(t,r){return new n(t,r)})}(),vr=p(sr("all",q,r)),dr=p(sr("any",B,e)),xr=p(tr),wr=g(rr),br=h(function(n){return rt(2,n)}),jr=h(function(n){return er(n,[],[])}),Or=fr(f),_r=fr(ir),Ir=p(function(n,t){if(_(t))return c(n,t);if(hr("concat",n))return n.concat(t);throw new TypeError("can't concat "+typeof n)}),Ar=p(or),kr=pn(3,function(n){var t=T(arguments,1);return function(){var r=arguments;return n.apply(this,C(function(n){return n.apply(this,r)},t))}}),Er=h(function(n){return pn(n.length,n)}),Pr=p(function(n,t){for(var r=[],e=-1,u=n.length;++e<u;)or(n[e],t)||or(n[e],r)||(r[r.length]=n[e]);return r}),Cr=p(lr),Mr=p(sr("drop",z,function(n,t){return n<t.length?T(t,n):[]})),Sr=p(sr("dropWhile",D,function(n,t){for(var r=-1,e=t.length;++r<e&&n(t[r]););return T(t,r)})),Wr=h(function(n){return hr("empty",n)?n.empty():[]}),Rr=p(sr("filter",F,m)),Lr=p(sr("find",U,function(n,t){for(var r=-1,e=t.length;++r<e;)if(n(t[r]))return t[r]})),Nr=p(sr("findIndex",X,function(n,t){for(var r=-1,e=t.length;++r<e;)if(n(t[r]))return r;return-1})),Tr=p(sr("findLast",$,function(n,t){for(var r=t.length;--r>=0;)if(n(t[r]))return t[r]})),qr=p(sr("findLastIndex",G,function(n,t){for(var r=t.length;--r>=0;)if(n(t[r]))return r;return-1})),Br=h(pr(!0)),zr=h(function(n){return Er(function(t,r){var e=T(arguments);return e[0]=r,e[1]=t,n.apply(this,e)})}),Dr=Er(function(n,t){return t[n].apply(t,T(arguments,2))}),Fr=h(x(zn)),Ur=p(sr("groupBy",mr,function(n,t){return yr(function(t,r){var e=n(r);return t[e]=tr(r,t[e]||(t[e]=[])),t},{},t)})),Xr=it(0),$r=g(function(n,t,r){return n=n<r.length&&n>=0?n:r.length,c(tr(t,T(r,0,n)),T(r,n))}),Gr=g(function(n,t,r){for(var e=[],u=-1;++u<t.length;)a(n,t[u],r)&&(e[e.length]=t[u]);return Gt(n,e)}),Hr=Er(function(n,t,r){return t[n].apply(t,r)}),Jr=Er(function(n,t){var r=T(arguments,2),e=n-r.length;return pn(e+1,function(){var n=arguments[e],u=r.concat(T(arguments,0,e));return n[t].apply(n,u)})}),Kr=Jr(1,"join"),Qr=function(){var n=!{toString:null}.propertyIsEnumerable("toString"),t=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];return h(function(r){if(Object(r)!==r)return[];if(Object.keys)return Object.keys(r);var e,u,i=[];for(e in r)b(e,r)&&(i[i.length]=e);if(n)for(u=t.length;--u>=0;)e=t[u],b(e,r)&&!or(e,i)&&(i[i.length]=e);return i})}(),Vr=it(-1),Yr=p(sr("map",H,C)),Zr=p(function(n,t){return yr(function(r,e){return r[e]=n(t[e]),r},{},Qr(t))}),ne=p(function(n,t){return yr(function(r,e){return r[e]=n(t[e],e,t),r},{},Qr(t))}),te=Jr(1,"match"),re=cr(w,-(1/0)),ee=cr(P,1/0),ue=p(o(sr("any",B,e))),ie=Er(ar(c)),oe=Er(ar(zr(c))),fe=p(function(n,t){return yr(function(t,r){var e=t[n(r)?0:1];return e[e.length]=r,t},[[],[]],t)}),ce=function(){return Or.apply(this,Ct(arguments))},ae=function(){return _r.apply(this,Ct(arguments))},se=p(gr),le=g(yr),he=p(function(n,t){return Rr(o(n),t)}),pe=p(function(n,t){return qt(Y(n),t)}),ge=g(ur("slice",function(n,t,r){return Array.prototype.slice.call(r,n,t)})),ye=p(function(n,t){return jr(t).sort(n)}),me=Jr(1,"split"),ve=ge,de=ve(n,1/0),xe=ve(0),we=le(t,0),be=ur("tail",function(n){return T(n,1)}),je=p(sr("take",J,function(n,t){return T(t,0,Math.min(n,t.length))})),Oe=p(sr("takeWhile",K,function(n,t){for(var r=-1,e=t.length;++r<e&&n(t[r]););return T(t,0,r)})),_e=Jr(0,"toLowerCase"),Ie=Jr(0,"toUpperCase"),Ae=pn(4,function(n,t,r,e){return yr(n("function"==typeof t?Q(t):t),r,e)}),ke=g(function(n,t,r){return Gt(n,c(t,r))}),Ee=h(function(n){for(var t,r=-1,e=n.length,u=[];++r<e;)t=n[r],or(t,u)||(u[u.length]=t);return u}),Pe=h(pr(!1)),Ce=Er(function(n){var t=T(arguments,1),r=t.length;return Er(rn(r,function(){for(var e=[],u=-1;++u<r;)e[u]=t[u](arguments[u]);return n.apply(this,e.concat(T(arguments,r)))}))}),Me=h(function(n){for(var t=Qr(n),r=t.length,e=[],u=-1;++u<r;)e[u]=n[t[u]];return e}),Se=p(function(n,t){var r=Ur(function(t){return"function"==typeof n[t]?"fn":"obj"},Qr(n));return N(n,r,t)}),We=function yu(n,t,r,e){var u=Ft(n);if(u!==Ft(t))return!1;if(wn(n,t))return!0;if("RegExp"==u)return n.source===t.source&&n.global===t.global&&n.ignoreCase===t.ignoreCase&&n.multiline===t.multiline&&n.sticky===t.sticky&&n.unicode===t.unicode;if(Object(n)===n){if("Date"===u&&n.getTime()!=t.getTime())return!1;var i=Qr(n);if(i.length!==Qr(t).length)return!1;for(var o=r.length;--o>=0;)if(r[o]===n)return e[o]===t;for(r[r.length]=n,e[e.length]=t,o=i.length;--o>=0;){var f=i[o];if(!b(f,t)||!yu(t[f],n[f],r,e))return!1}return r.pop(),e.pop(),!0}return!1},Re=function(n,t){for(var r=Qr(t),e=-1,u=r.length;++e<u;)n[r[e]]=t[r[e]];return n},Le=function(n){return function(t){var r=function(){var r=arguments;return n(function(n){return n.apply(null,r)},t)};return arguments.length>1?r.apply(null,T(arguments,1)):rn(re(gr("length",t)),r)}},Ne=Er(Le(r)),Te=Er(Le(e)),qe=p(function(n,t){return hr("ap",n)?n.ap(t):yr(function(n,r){return c(n,Yr(r,t))},[],n)}),Be=Er(function(n){return n.apply(this,T(arguments,1))}),ze=p(ur("chain",function(n,t){return Pe(C(n,t))})),De=Jr(1,"charAt"),Fe=Jr(1,"charCodeAt"),Ue=g(function(n,t,r){function e(t,r){return qe(Yr(xr,n(r)),t)}return yr(e,t([]),r)}),Xe=p(function(n,t){if(n>10)throw new Error("Constructor with greater than ten arguments");return 0===n?function(){return new t}:Er(rt(n,function(n,r,e,u,i,o,f,c,a,s){switch(arguments.length){case 1:return new t(n);case 2:return new t(n,r);case 3:return new t(n,r,e);case 4:return new t(n,r,e,u);case 5:return new t(n,r,e,u,i);case 6:return new t(n,r,e,u,i,o);case 7:return new t(n,r,e,u,i,o,f);case 8:return new t(n,r,e,u,i,o,f,c);case 9:return new t(n,r,e,u,i,o,f,c,a);case 10:return new t(n,r,e,u,i,o,f,c,a,s)}}))}),$e=p(function(n,t){return We(n,t,[],[])}),Ge=p(function(n,t){return Re(Re({},t),ne(function(n,r){return n(t[r])},n))}),He=h(x(Qr)),Je=ge(0,-1),Ke=p(function(n,t){return Ee(m(zr(or)(n),t))}),Qe=h(function(n){for(var t=Qr(n),r=t.length,e=-1,u={};++e<r;){var i=t[e],o=n[i],f=b(o,u)?u[o]:u[o]=[];f[f.length]=i}return u}),Ve=h(function(n){for(var t=Qr(n),r=t.length,e=-1,u={};++e<r;){var i=t[e];u[n[i]]=i}return u}),Ye=p(function(n,t){var r=pn(n,t);return pn(n,function(){return yr(qe,Yr(r,arguments[0]),T(arguments,1))})}),Ze=p(function(n,t){return Re(Re({},n),t)}),nu=h(function(n){return le(Ze,{},n)}),tu=le(M,1),ru=Ce(C,mt,Cn),eu=p(Or(Ee,c)),uu=function(){var n={init:Array,step:function(n,t){return c(n,[t])},result:j},r={init:String,step:t,result:j},e={init:Object,step:function(n,t){return Ze(n,Nn(t)?s(t[0],t[1]):t)},result:j};return function(t){if(k(t))return t;if(Nn(t))return n;if("string"==typeof t)return r;if("object"==typeof t)return e;throw new Error("Cannot create transformer for "+t)}}(),iu=Ue(Yr(Cn)),ou=h(function(n){return Xe(n.length,n)}),fu=g(function(n,t,r){return k(n)?yr(t(n),n.init(),r):yr(t(uu(n)),n,r)}),cu=h(function(n){return Ye(n.length,n)}),au={F:Zt,T:nr,__:n,add:V,all:vr,allPass:Ne,always:Y,and:Z,any:dr,anyPass:Te,ap:qe,aperture:nn,append:xr,apply:tn,arity:rn,assoc:en,assocPath:wr,binary:br,bind:un,both:on,call:Be,chain:ze,charAt:De,charCodeAt:Fe,clone:jr,commute:iu,commuteMap:Ue,comparator:fn,complement:cn,compose:Or,composeP:_r,concat:Ir,cond:an,construct:ou,constructN:Xe,contains:Ar,containsWith:sn,converge:kr,countBy:ln,createMapEntry:hn,curry:Er,curryN:pn,dec:gn,defaultTo:yn,difference:Pr,differenceWith:mn,dissoc:vn,dissocPath:Cr,divide:dn,drop:Mr,dropWhile:Sr,either:xn,empty:Wr,eq:wn,eqDeep:$e,eqProps:bn,evolve:Ge,filter:Rr,filterIndexed:jn,find:Lr,findIndex:Nr,findLast:Tr,findLastIndex:qr,flatten:Br,flip:zr,forEach:On,forEachIndexed:_n,fromPairs:In,func:Dr,functions:He,functionsIn:Fr,groupBy:Ur,gt:An,gte:kn,has:En,hasIn:Pn,head:Xr,identity:Cn,ifElse:Mn,inc:Sn,indexOf:Wn,init:Je,insert:$r,insertAll:Rn,intersection:Ke,intersectionWith:Gr,into:fu,invert:Qe,invertObj:Ve,invoke:Hr,invoker:Jr,is:Ln,isArrayLike:Nn,isEmpty:Tn,isNil:qn,isSet:Bn,join:Kr,keys:Qr,keysIn:zn,last:Vr,lastIndexOf:Dn,length:Fn,lens:Un,lensOn:Xn,lift:cu,liftN:Ye,lt:$n,lte:Gn,map:Yr,mapAccum:Hn,mapAccumRight:Jn,mapIndexed:Kn,mapObj:Zr,mapObjIndexed:ne,match:te,mathMod:Qn,max:re,maxBy:Vn,memoize:Yn,merge:Ze,mergeAll:nu,min:ee,minBy:Zn,modulo:nt,multiply:tt,nAry:rt,negate:et,none:ue,not:ut,nth:it,nthArg:ot,nthChar:ft,nthCharCode:ct,of:at,omit:st,once:lt,or:ht,partial:ie,partialRight:oe,partition:fe,path:pt,pathEq:gt,pick:yt,pickAll:mt,pickBy:vt,pipe:ce,pipeP:ae,pluck:se,prepend:dt,product:tu,project:ru,prop:xt,propEq:wt,propOr:bt,props:jt,range:Ot,reduce:le,reduceIndexed:_t,reduceRight:It,reduceRightIndexed:At,reject:he,rejectIndexed:kt,remove:Et,repeat:pe,replace:Pt,reverse:Ct,scan:Mt,slice:ge,sort:ye,sortBy:St,split:me,strIndexOf:Wt,strLastIndexOf:Rt,substring:ve,substringFrom:de,substringTo:xe,subtract:Lt,sum:we,tail:be,take:je,takeWhile:Oe,tap:Nt,test:Tt,times:qt,toLower:_e,toPairs:Bt,toPairsIn:zt,toUpper:Ie,transduce:Ae,trim:Dt,type:Ft,unapply:Ut,unary:Xt,unfold:$t,union:eu,unionWith:ke,uniq:Ee,uniqWith:Gt,unnest:Pe,useWith:Ce,values:Me,valuesIn:Ht,where:Se,wrap:Jt,xprod:Kt,zip:Qt,zipObj:Vt,zipWith:Yt};"object"==typeof exports?module.exports=au:"function"==typeof define&&define.amd?define(function(){return au}):this.R=au}).call(this);
(function(){"use strict";var n={ramda:"placeholder"},t=function(n,t){return n+t},r=function(n,t){for(var r=-1;++r<t.length;)if(!n(t[r]))return!1;return!0},e=function(n,t){for(var r=-1;++r<t.length;)if(n(t[r]))return!0;return!1},u=function(n,t,r){var e={};for(var u in r)e[u]=r[u];return e[n]=t,e},i=function(n){return new RegExp(n.source,(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":""))},o=function(n){return function(){return!n.apply(this,arguments)}},f=function(n,t){return function(){return n.call(this,t.apply(this,arguments))}},c=function(n,t){n=n||[],t=t||[];var r,e=n.length,u=t.length,i=[];for(r=-1;++r<e;)i[i.length]=n[r];for(r=-1;++r<u;)i[i.length]=t[r];return i},a=function(n,t,r){for(var e=-1,u=r.length;++e<u;)if(n(t,r[e]))return!0;return!1},s=function(n,t){var r={};return r[n]=t,r},l=function(n){return function(t,r){if(r&&r.length>0){for(var e,u=0,i=r[u],o=t(i);++u<r.length;)e=t(r[u]),n(e,o)&&(o=e,i=r[u]);return i}}},h=function(t){return function r(e){return 0===arguments.length?r:e===n?r:t(e)}},p=function(t){return function r(e,u){var i=arguments.length;return 0===i?r:1===i&&e===n?r:1===i?h(function(n){return t(e,n)}):2===i&&e===n&&u===n?r:2===i&&e===n?h(function(n){return t(n,u)}):2===i&&u===n?h(function(n){return t(e,n)}):t(e,u)}},g=function(t){return function r(e,u,i){var o=arguments.length;return 0===o?r:1===o&&e===n?r:1===o?p(function(n,r){return t(e,n,r)}):2===o&&e===n&&u===n?r:2===o&&e===n?p(function(n,r){return t(n,u,r)}):2===o&&u===n?p(function(n,r){return t(e,n,r)}):2===o?h(function(n){return t(e,u,n)}):3===o&&e===n&&u===n&&i===n?r:3===o&&e===n&&u===n?p(function(n,r){return t(n,r,i)}):3===o&&e===n&&i===n?p(function(n,r){return t(n,u,r)}):3===o&&u===n&&i===n?p(function(n,r){return t(e,n,r)}):3===o&&e===n?h(function(n){return t(n,u,i)}):3===o&&u===n?h(function(n){return t(e,n,i)}):3===o&&i===n?h(function(n){return t(e,u,n)}):t(e,u,i)}},y=function(n,t){var r={};for(var e in t)e!==n&&(r[e]=t[e]);return r},m=function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)n(t[r])&&(u[u.length]=t[r]);return u},v=function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)n(t[r],r,t)&&(u[u.length]=t[r]);return u},d=function(n,t){for(var r=-1,e=t.length;++r<e;)n(t[r]);return t},x=function(n){return function(t){return m(function(n){return"function"==typeof t[n]},n(t))}},w=function(n,t){return n>t},b=function(n,t){return Object.prototype.hasOwnProperty.call(t,n)},j=function(n){return n},O=function(n,t,r){var e=0,u=n.length;for("number"==typeof r&&(e=0>r?Math.max(0,u+r):r);u>e;){if(n[e]===t)return e;++e}return-1},_=Array.isArray||function(n){return null!=n&&n.length>=0&&"[object Array]"===Object.prototype.toString.call(n)},I=Number.isInteger||function(n){return n<<0===n},A=function(n){return null!=n&&n===Object(n)&&"function"==typeof n.then},k=function(n){return"function"==typeof n.step&&"function"==typeof n.result},E=function(n,t,r){var e=n.length;for("number"==typeof r&&(e=0>r?e+r+1:Math.min(e,r+1));--e>=0;)if(n[e]===t)return e;return-1},P=function(n,t){return t>n},C=function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)u[r]=n(t[r]);return u},M=function(n,t){return n*t},S=function(n,t){return 0>n?t[t.length+n]:t[n]},W=function(n,t){if(null!=t&&0!==n.length){for(var r=t,e=0,u=n.length;u>e&&null!=r;e+=1)r=r[n[e]];return r}},N=function(n,t){return c([n],t)},R=function(n){return n&&n.__transducers_reduced__?n:{value:n,__transducers_reduced__:!0}},L=function(n,t,r){if(n===r)return!0;if(null==r)return!1;t.fn=t.fn||[],t.obj=t.obj||[];for(var e,u,i=-1,o=t.fn.length,f=-1,c=t.obj.length;++i<o;){if(e=t.fn[i],u=n[e],!(e in r))return!1;if(!u(r[e],r))return!1}for(;++f<c;)if(e=t.obj[f],n[e]!==r[e])return!1;return!0},T=function lu(n,t,r){switch(arguments.length){case 1:return lu(n,0,n.length);case 2:return lu(n,t,n.length);default:for(var e=Math.max(0,r-t),u=[],i=-1;++i<e;)u[i]=n[t+i];return u}},q=function(){function n(n,t){this.xf=t,this.f=n,this.all=!0}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.all&&(n=this.xf.step(n,!0)),this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)||(this.all=!1,n=R(this.xf.step(n,!1))),n},p(function(t,r){return new n(t,r)})}(),B=function(){function n(n,t){this.xf=t,this.f=n,this.any=!1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.any||(n=this.xf.step(n,!1)),this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)&&(this.any=!0,n=R(this.xf.step(n,!0))),n},p(function(t,r){return new n(t,r)})}(),z=function(){function n(n,t){this.xf=t,this.n=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.n>0?(this.n-=1,n):this.xf.step(n,t)},p(function(t,r){return new n(t,r)})}(),D=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){if(this.f){if(this.f(t))return n;this.f=null}return this.xf.step(n,t)},p(function(t,r){return new n(t,r)})}(),F=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)?this.xf.step(n,t):n},p(function(t,r){return new n(t,r)})}(),U=function(){function n(n,t){this.xf=t,this.f=n,this.found=!1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.found||(n=this.xf.step(n,void 0)),this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)&&(this.found=!0,n=R(this.xf.step(n,t))),n},p(function(t,r){return new n(t,r)})}(),X=function(){function n(n,t){this.xf=t,this.f=n,this.idx=-1,this.found=!1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.found||(n=this.xf.step(n,-1)),this.xf.result(n)},n.prototype.step=function(n,t){return this.idx+=1,this.f(t)&&(this.found=!0,n=R(this.xf.step(n,this.idx))),n},p(function(t,r){return new n(t,r)})}(),$=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(this.xf.step(n,this.last))},n.prototype.step=function(n,t){return this.f(t)&&(this.last=t),n},p(function(t,r){return new n(t,r)})}(),G=function(){function n(n,t){this.xf=t,this.f=n,this.idx=-1,this.lastIdx=-1}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(this.xf.step(n,this.lastIdx))},n.prototype.step=function(n,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),n},p(function(t,r){return new n(t,r)})}(),H=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.xf.step(n,this.f(t))},p(function(t,r){return new n(t,r)})}(),J=function(){function n(n,t){this.xf=t,this.n=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.n-=1,0===this.n?R(this.xf.step(n,t)):this.xf.step(n,t)},p(function(t,r){return new n(t,r)})}(),K=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){return this.xf.result(n)},n.prototype.step=function(n,t){return this.f(t)?this.xf.step(n,t):R(n)},p(function(t,r){return new n(t,r)})}(),Q=function(){function n(n){this.f=n}return n.prototype.init=function(){throw new Error("init not implemented on XWrap")},n.prototype.result=function(n){return n},n.prototype.step=function(n,t){return this.f(n,t)},function(t){return new n(t)}}(),V=p(t),Y=h(function(n){return function(){return n}}),Z=p(function(n,t){return n&&t}),nn=p(function(n,t){for(var r=-1,e=t.length-(n-1),u=new Array(e>=0?e:0);++r<e;)u[r]=T(t,r,r+n);return u}),tn=p(function(n,t){return n.apply(this,t)}),rn=p(function(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(n){return t.apply(this,arguments)};case 2:return function(n,r){return t.apply(this,arguments)};case 3:return function(n,r,e){return t.apply(this,arguments)};case 4:return function(n,r,e,u){return t.apply(this,arguments)};case 5:return function(n,r,e,u,i){return t.apply(this,arguments)};case 6:return function(n,r,e,u,i,o){return t.apply(this,arguments)};case 7:return function(n,r,e,u,i,o,f){return t.apply(this,arguments)};case 8:return function(n,r,e,u,i,o,f,c){return t.apply(this,arguments)};case 9:return function(n,r,e,u,i,o,f,c,a){return t.apply(this,arguments)};case 10:return function(n,r,e,u,i,o,f,c,a,s){return t.apply(this,arguments)};default:throw new Error("First argument to arity must be a non-negative integer no greater than ten")}}),en=g(u),un=p(function(n,t){return rn(n.length,function(){return n.apply(t,arguments)})}),on=p(function(n,t){return function(){return n.apply(this,arguments)&&t.apply(this,arguments)}}),fn=h(function(n){return function(t,r){return n(t,r)?-1:n(r,t)?1:0}}),cn=h(o),an=function(){var n=arguments;return function(){for(var t=-1;++t<n.length;)if(n[t][0].apply(this,arguments))return n[t][1].apply(this,arguments)}},sn=g(a),ln=p(function(n,t){for(var r={},e=t.length,u=-1;++u<e;){var i=n(t[u]);r[i]=(b(i,r)?r[i]:0)+1}return r}),hn=p(s),pn=p(function hu(t,r){return rn(t,function(){for(var e=arguments.length,u=t-e,i=e;--i>=0;)arguments[i]===n&&(u+=1);if(0>=u)return r.apply(this,arguments);var o=T(arguments);return hu(u,function(){for(var t=T(arguments),u=[],i=-1;++i<e;){var f=o[i];u[i]=f===n?t.shift():f}return r.apply(this,u.concat(t))})})}),gn=V(-1),yn=p(function(n,t){return null==t?n:t}),mn=g(function(n,t,r){for(var e=[],u=-1,i=t.length,o=sn(n);++u<i;)o(t[u],r)||o(t[u],e)||(e[u]=t[u]);return e}),vn=p(y),dn=p(function(n,t){return n/t}),xn=p(function(n,t){return function(){return n.apply(this,arguments)||t.apply(this,arguments)}}),wn=p(function(n,t){return 0===n?1/n===1/t:n===t||n!==n&&t!==t}),bn=g(function(n,t,r){return t[n]===r[n]}),jn=p(v),On=p(d),_n=p(function(n,t){for(var r=-1,e=t.length;++r<e;)n(t[r],r,t);return t}),In=h(function(n){for(var t=-1,r=n.length,e={};++t<r;)_(n[t])&&n[t].length&&(e[n[t][0]]=n[t][1]);return e}),An=p(w),kn=p(function(n,t){return n>=t}),En=p(b),Pn=p(function(n,t){return n in t}),Cn=h(j),Mn=g(function(n,t,r){return pn(Math.max(n.length,t.length,r.length),function(){return n.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)})}),Sn=V(1),Wn=p(function(n,t){return O(t,n)}),Nn=g(function(n,t,r){return n=n<r.length&&n>=0?n:r.length,c(c(T(r,0,n),t),T(r,n))}),Rn=p(function(n,t){return null!=t&&t.constructor===n||t instanceof n}),Ln=h(function(n){return _(n)?!0:n?"object"!=typeof n?!1:n instanceof String?!1:1===n.nodeType?!!n.length:0===n.length?!0:n.length>0?n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1):!1:!1}),Tn=h(function(n){return 0===Object(n).length}),qn=h(function(n){return"number"==typeof n&&n!==n}),Bn=h(function(n){return null==n}),zn=h(function(n){for(var t=n.length,r=-1;++r<t;)if(O(n,n[r],r+1)>=0)return!1;return!0}),Dn=h(function(n){var t,r=[];for(t in n)r[r.length]=t;return r}),Fn=p(function(n,t){return E(t,n)}),Un=h(function(n){return null!=n&&Rn(Number,n.length)?n.length:0/0}),Xn=p(function(n,t){var r=function(t){return n(t)};return r.set=p(t),r.map=p(function(r,e){return t(r(n(e)),e)}),r}),$n=g(function(n,t,r){var e=function(){return n(r)};return e.set=t,e.map=function(e){return t(e(n(r)))},e}),Gn=p(P),Hn=p(function(n,t){return t>=n}),Jn=g(function(n,t,r){for(var e=-1,u=r.length,i=[],o=[t];++e<u;)o=n(o[0],r[e]),i[e]=o[1];return[o[0],i]}),Kn=g(function(n,t,r){for(var e=r.length,u=[],i=[t];--e>=0;)i=n(i[0],r[e]),u[e]=i[1];return[i[0],u]}),Qn=p(function(n,t){for(var r=-1,e=t.length,u=[];++r<e;)u[r]=n(t[r],r,t);return u}),Vn=p(function(n,t){return I(n)?!I(t)||1>t?0/0:(n%t+t)%t:0/0}),Yn=p(l(w)),Zn=function(){var n=function(n){return n+"::"+Object.prototype.toString.call(n)},t=function(t){return t.length+":{"+C(n,t).join(",")+"}"};return h(function(n){var r={};return function(){var e=t(arguments);return b(e,r)||(r[e]=n.apply(this,arguments)),r[e]}})}(),nt=p(l(P)),tt=p(function(n,t){return n%t}),rt=p(M),et=p(function(n,t){switch(n){case 0:return function(){return t.call(this)};case 1:return function(n){return t.call(this,n)};case 2:return function(n,r){return t.call(this,n,r)};case 3:return function(n,r,e){return t.call(this,n,r,e)};case 4:return function(n,r,e,u){return t.call(this,n,r,e,u)};case 5:return function(n,r,e,u,i){return t.call(this,n,r,e,u,i)};case 6:return function(n,r,e,u,i,o){return t.call(this,n,r,e,u,i,o)};case 7:return function(n,r,e,u,i,o,f){return t.call(this,n,r,e,u,i,o,f)};case 8:return function(n,r,e,u,i,o,f,c){return t.call(this,n,r,e,u,i,o,f,c)};case 9:return function(n,r,e,u,i,o,f,c,a){return t.call(this,n,r,e,u,i,o,f,c,a)};case 10:return function(n,r,e,u,i,o,f,c,a,s){return t.call(this,n,r,e,u,i,o,f,c,a,s)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ut=h(function(n){return-n}),it=h(function(n){return!n}),ot=p(S),ft=h(function(n){return function(){return S(n,arguments)}}),ct=p(function(n,t){return t.charAt(0>n?t.length+n:n)}),at=p(function(n,t){return t.charCodeAt(0>n?t.length+n:n)}),st=h(function(n){return[n]}),lt=p(function(n,t){var r={};for(var e in t)O(n,e)<0&&(r[e]=t[e]);return r}),ht=h(function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments))}}),pt=p(function(n,t){return n||t}),gt=p(W),yt=g(function(n,t,r){return W(n,r)===t}),mt=p(function(n,t){var r={};for(var e in t)O(n,e)>=0&&(r[e]=t[e]);return r}),vt=p(function(n,t){for(var r={},e=-1,u=n.length;++e<u;){var i=n[e];r[i]=t[i]}return r}),dt=p(function(n,t){var r={};for(var e in t)n(t[e],e,t)&&(r[e]=t[e]);return r}),xt=p(N),wt=p(function(n,t){return t[n]}),bt=g(function(n,t,r){return r[n]===t}),jt=g(function(n,t,r){return b(t,r)?r[t]:n}),Ot=p(function(n,t){for(var r=n.length,e=[],u=-1;++u<r;)e[u]=t[n[u]];return e}),_t=p(function(n,t){for(var r=[],e=n;t>e;)r[r.length]=e,e+=1;return r}),It=g(function(n,t,r){for(var e=-1,u=r.length;++e<u;)t=n(t,r[e],e,r);return t}),At=g(function(n,t,r){for(var e=r.length;--e>=0;)t=n(t,r[e]);return t}),kt=g(function(n,t,r){for(var e=r.length;--e>=0;)t=n(t,r[e],e,r);return t}),Et=p(function(n,t){return v(o(n),t)}),Pt=g(function(n,t,r){return c(T(r,0,Math.min(n,r.length)),T(r,Math.min(r.length,n+t)))}),Ct=g(function(n,t,r){return r.replace(n,t)}),Mt=h(function(n){return T(n).reverse()}),St=g(function(n,t,r){for(var e=0,u=r.length+1,i=[t];++e<u;)t=n(t,r[e-1]),i[e]=t;return i}),Wt=p(function(n,t){return T(t).sort(function(t,r){var e=n(t),u=n(r);return u>e?-1:e>u?1:0})}),Nt=p(function(n,t){return t.indexOf(n)}),Rt=p(function(n,t){return t.lastIndexOf(n)}),Lt=p(function(n,t){return n-t}),Tt=p(function(n,t){return n(t),t}),qt=p(function(n,t){return i(n).test(t)}),Bt=p(function(n,t){for(var r=Number(t),e=new Array(r),u=0;r>u;)e[u]=n(u),u+=1;return e}),zt=h(function(n){var t=[];for(var r in n)b(r,n)&&(t[t.length]=[r,n[r]]);return t}),Dt=h(function(n){var t=[];for(var r in n)t[t.length]=[r,n[r]];return t}),Ft=function(){var n=" \n \f\r   ᠎              \u2028\u2029\ufeff",t="​",r="function"==typeof String.prototype.trim;return h(r&&!n.trim()&&t.trim()?function(n){return n.trim()}:function(t){var r=new RegExp("^["+n+"]["+n+"]*"),e=new RegExp("["+n+"]["+n+"]*$");return t.replace(r,"").replace(e,"")})}(),Ut=h(function(n){return null===n?"Null":void 0===n?"Undefined":Object.prototype.toString.call(n).slice(8,-1)}),Xt=h(function(n){return function(){return n(T(arguments))}}),$t=h(function(n){return et(1,n)}),Gt=p(function(n,t){for(var r=n(t),e=[];r&&r.length;)e[e.length]=r[0],r=n(r[1]);return e}),Ht=p(function(n,t){for(var r,e=-1,u=t.length,i=[];++e<u;)r=t[e],a(n,r,i)||(i[i.length]=r);return i}),Jt=h(function(n){var t,r=[];for(t in n)r[r.length]=n[t];return r}),Kt=p(function(n,t){return pn(n.length,function(){return t.apply(this,c([n],arguments))})}),Qt=p(function(n,t){for(var r,e=-1,u=n.length,i=t.length,o=[];++e<u;)for(r=-1;++r<i;)o[o.length]=[n[e],t[r]];return o}),Vt=p(function(n,t){for(var r=[],e=-1,u=Math.min(n.length,t.length);++e<u;)r[e]=[n[e],t[e]];return r}),Yt=p(function(n,t){for(var r=-1,e=n.length,u={};++r<e;)u[n[r]]=t[r];return u}),Zt=g(function(n,t,r){for(var e=[],u=-1,i=Math.min(t.length,r.length);++u<i;)e[u]=n(t[u],r[u]);return e}),nr=Y(!1),tr=Y(!0),rr=function(n,t){return c(t,[n])},er=function pu(n,t,r){switch(n.length){case 0:return r;case 1:return u(n[0],t,r);default:return u(n[0],pu(T(n,1),t,Object(r[n[0]])),r)}},ur=function gu(n,t,r){var e=function(e){for(var u=t.length,i=-1;++i<u;)if(n===t[i])return r[i];t[i+1]=n,r[i+1]=e;for(var o in n)e[o]=gu(n[o],t,r);return e};switch(Ut(n)){case"Object":return e({});case"Array":return e([]);case"Date":return new Date(n);case"RegExp":return i(n);default:return n}},ir=function(n,t){return function(){var r=arguments.length;if(0===r)return t();var e=arguments[r-1];return _(e)||"function"!=typeof e[n]?t.apply(this,arguments):e[n].apply(e,T(arguments,0,r-1))}},or=function(n,t){return function(){var r=this,e=t.apply(this,arguments);return A(e)?e.then(function(t){return n.call(r,t)}):n.call(this,e)}},fr=function(n,t){return O(t,n)>=0},cr=function(n){return function(){for(var t=arguments.length-1,r=arguments[t],e=r.length;--t>=0;)r=n(arguments[t],r);return rn(e,r)}},ar=function(n,t){return h(function(r){for(var e,u=-1,i=t;++u<r.length;)e=+r[u],n(e,i)&&(i=e);return i})},sr=function(n){return function(t){var r=T(arguments,1);return rn(Math.max(0,t.length-r.length),function(){return t.apply(this,n(r,arguments))})}},lr=function(n,t,r){return function(){var e=arguments.length;if(0===e)return r();var u=arguments[e-1];if(!_(u)){var i=T(arguments,0,e-1);if("function"==typeof u[n])return u[n].apply(u,i);if(k(u)){var o=t.apply(null,i);return o(u)}}return r.apply(this,arguments)}},hr=function yu(n,t){switch(n.length){case 0:return t;case 1:return y(n[0],t);default:var r=n[0],e=T(n,1);return null==t[r]?t:u(r,yu(e,t[r]),t)}},pr=function(n,t){return null!=t&&!_(t)&&"function"==typeof t[n]},gr=function(n){return function t(r){for(var e,u,i,o=[],f=-1,c=r.length;++f<c;)if(Ln(r[f]))for(e=n?t(r[f]):r[f],u=-1,i=e.length;++u<i;)o[o.length]=e[u];else o[o.length]=r[f];return o}},yr=function(n,t){return C(wt(n),t)},mr=function(){function n(n,t,r){for(var e=-1,u=r.length;++e<u;)if(t=n.step(t,r[e]),t&&t.__transducers_reduced__){t=t.value;break}return n.result(t)}function t(n,t,r){for(var e=r.next();!e.done;){if(t=n.step(t,e.value),t&&t.__transducers_reduced__){t=t.value;break}e=r.next()}return n.result(t)}function r(n,t,r){return n.result(r.reduce(un(n.step,n),t))}var e="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(u,i,o){if("function"==typeof u&&(u=Q(u)),Ln(o))return n(u,i,o);if("function"==typeof o.reduce)return r(u,i,o);if(null!=o[e])return t(u,i,o[e]());if("function"==typeof o.next)return t(u,i,o);throw new TypeError("reduce: list must be array or iterable")}}(),vr=function(){function n(n,t){this.xf=t,this.f=n,this.inputs={}}return n.prototype.init=function(){return this.xf.init()},n.prototype.result=function(n){var t;for(t in this.inputs)if(b(t,this.inputs)&&(n=this.xf.step(n,this.inputs[t]),n.__transducers_reduced__)){n=n.value;break}return this.xf.result(n)},n.prototype.step=function(n,t){var r=this.f(t);return this.inputs[r]=this.inputs[r]||[r,[]],this.inputs[r][1]=rr(t,this.inputs[r][1]),n},p(function(t,r){return new n(t,r)})}(),dr=p(lr("all",q,r)),xr=p(lr("any",B,e)),wr=p(rr),br=g(er),jr=h(function(n){return et(2,n)}),Or=h(function(n){return ur(n,[],[])}),_r=cr(f),Ir=cr(or),Ar=p(function(n,t){if(_(t))return c(n,t);if(pr("concat",n))return n.concat(t);throw new TypeError("can't concat "+typeof n)}),kr=p(fr),Er=pn(3,function(n){var t=T(arguments,1);return function(){var r=arguments;return n.apply(this,C(function(n){return n.apply(this,r)},t))}}),Pr=h(function(n){return pn(n.length,n)}),Cr=p(function(n,t){for(var r=[],e=-1,u=n.length;++e<u;)fr(n[e],t)||fr(n[e],r)||(r[r.length]=n[e]);return r}),Mr=p(hr),Sr=p(lr("drop",z,function(n,t){return n<t.length?T(t,n):[]})),Wr=p(lr("dropWhile",D,function(n,t){for(var r=-1,e=t.length;++r<e&&n(t[r]););return T(t,r)})),Nr=h(function(n){return pr("empty",n)?n.empty():[]}),Rr=p(lr("filter",F,m)),Lr=p(lr("find",U,function(n,t){for(var r=-1,e=t.length;++r<e;)if(n(t[r]))return t[r]})),Tr=p(lr("findIndex",X,function(n,t){for(var r=-1,e=t.length;++r<e;)if(n(t[r]))return r;return-1})),qr=p(lr("findLast",$,function(n,t){for(var r=t.length;--r>=0;)if(n(t[r]))return t[r]})),Br=p(lr("findLastIndex",G,function(n,t){for(var r=t.length;--r>=0;)if(n(t[r]))return r;return-1})),zr=h(gr(!0)),Dr=h(function(n){return Pr(function(t,r){var e=T(arguments);return e[0]=r,e[1]=t,n.apply(this,e)})}),Fr=Pr(function(n,t){return t[n].apply(t,T(arguments,2))}),Ur=h(x(Dn)),Xr=p(lr("groupBy",vr,function(n,t){return mr(function(t,r){var e=n(r);return t[e]=rr(r,t[e]||(t[e]=[])),t},{},t)})),$r=ot(0),Gr=g(function(n,t,r){return n=n<r.length&&n>=0?n:r.length,c(rr(t,T(r,0,n)),T(r,n))}),Hr=g(function(n,t,r){for(var e=[],u=-1;++u<t.length;)a(n,t[u],r)&&(e[e.length]=t[u]);return Ht(n,e)}),Jr=Pr(function(n,t,r){return r[n].apply(r,t)}),Kr=Pr(function(n,t){var r=T(arguments,2),e=n-r.length;return pn(e+1,function(){var n=arguments[e],u=r.concat(T(arguments,0,e));return n[t].apply(n,u)})}),Qr=Kr(1,"join"),Vr=function(){var n=!{toString:null}.propertyIsEnumerable("toString"),t=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];return h(function(r){if(Object(r)!==r)return[];if(Object.keys)return Object.keys(r);var e,u,i=[];for(e in r)b(e,r)&&(i[i.length]=e);if(n)for(u=t.length;--u>=0;)e=t[u],b(e,r)&&!fr(e,i)&&(i[i.length]=e);return i})}(),Yr=ot(-1),Zr=p(lr("map",H,C)),ne=p(function(n,t){return mr(function(r,e){return r[e]=n(t[e]),r},{},Vr(t))}),te=p(function(n,t){return mr(function(r,e){return r[e]=n(t[e],e,t),r},{},Vr(t))}),re=Kr(1,"match"),ee=ar(w,-(1/0)),ue=ar(P,1/0),ie=p(o(lr("any",B,e))),oe=Pr(sr(c)),fe=Pr(sr(Dr(c))),ce=p(function(n,t){return mr(function(t,r){var e=t[n(r)?0:1];return e[e.length]=r,t},[[],[]],t)}),ae=function(){return _r.apply(this,Mt(arguments))},se=function(){return Ir.apply(this,Mt(arguments))},le=p(yr),he=g(mr),pe=p(function(n,t){return Rr(o(n),t)}),ge=p(function(n,t){return Bt(Y(n),t)}),ye=g(ir("slice",function(n,t,r){return Array.prototype.slice.call(r,n,t)})),me=p(function(n,t){return Or(t).sort(n)}),ve=Kr(1,"split"),de=ye,xe=de(n,1/0),we=de(0),be=he(t,0),je=ir("tail",function(n){return T(n,1)}),Oe=p(lr("take",J,function(n,t){return T(t,0,Math.min(n,t.length))})),_e=p(lr("takeWhile",K,function(n,t){for(var r=-1,e=t.length;++r<e&&n(t[r]););return T(t,0,r)})),Ie=Kr(0,"toLowerCase"),Ae=Kr(0,"toUpperCase"),ke=pn(4,function(n,t,r,e){return mr(n("function"==typeof t?Q(t):t),r,e)}),Ee=g(function(n,t,r){return Ht(n,c(t,r))}),Pe=h(function(n){for(var t,r=-1,e=n.length,u=[];++r<e;)t=n[r],fr(t,u)||(u[u.length]=t);return u}),Ce=h(gr(!1)),Me=Pr(function(n){var t=T(arguments,1),r=t.length;return Pr(rn(r,function(){for(var e=[],u=-1;++u<r;)e[u]=t[u](arguments[u]);return n.apply(this,e.concat(T(arguments,r)))}))}),Se=h(function(n){for(var t=Vr(n),r=t.length,e=[],u=-1;++u<r;)e[u]=n[t[u]];return e}),We=p(function(n,t){var r=Xr(function(t){return"function"==typeof n[t]?"fn":"obj"},Vr(n));return L(n,r,t)}),Ne=function mu(n,t,r,e){var u=Ut(n);if(u!==Ut(t))return!1;if(wn(n,t))return!0;if("RegExp"==u)return n.source===t.source&&n.global===t.global&&n.ignoreCase===t.ignoreCase&&n.multiline===t.multiline&&n.sticky===t.sticky&&n.unicode===t.unicode;if(Object(n)===n){if("Date"===u&&n.getTime()!=t.getTime())return!1;var i=Vr(n);if(i.length!==Vr(t).length)return!1;for(var o=r.length;--o>=0;)if(r[o]===n)return e[o]===t;for(r[r.length]=n,e[e.length]=t,o=i.length;--o>=0;){var f=i[o];if(!b(f,t)||!mu(t[f],n[f],r,e))return!1}return r.pop(),e.pop(),!0}return!1},Re=function(n,t){for(var r=Vr(t),e=-1,u=r.length;++e<u;)n[r[e]]=t[r[e]];return n},Le=function(n){return function(t){var r=function(){var r=arguments;return n(function(n){return n.apply(null,r)},t)};return arguments.length>1?r.apply(null,T(arguments,1)):rn(ee(yr("length",t)),r)}},Te=Pr(Le(r)),qe=Pr(Le(e)),Be=p(function(n,t){return pr("ap",n)?n.ap(t):mr(function(n,r){return c(n,Zr(r,t))},[],n)}),ze=Pr(function(n){return n.apply(this,T(arguments,1))}),De=p(ir("chain",function(n,t){return Ce(C(n,t))})),Fe=Kr(1,"charAt"),Ue=Kr(1,"charCodeAt"),Xe=g(function(n,t,r){function e(t,r){return Be(Zr(wr,n(r)),t)}return mr(e,t([]),r)}),$e=p(function(n,t){if(n>10)throw new Error("Constructor with greater than ten arguments");return 0===n?function(){return new t}:Pr(et(n,function(n,r,e,u,i,o,f,c,a,s){switch(arguments.length){case 1:return new t(n);case 2:return new t(n,r);case 3:return new t(n,r,e);case 4:return new t(n,r,e,u);case 5:return new t(n,r,e,u,i);case 6:return new t(n,r,e,u,i,o);case 7:return new t(n,r,e,u,i,o,f);case 8:return new t(n,r,e,u,i,o,f,c);case 9:return new t(n,r,e,u,i,o,f,c,a);case 10:return new t(n,r,e,u,i,o,f,c,a,s)}}))}),Ge=p(function(n,t){return Ne(n,t,[],[])}),He=p(function(n,t){return Re(Re({},t),te(function(n,r){return n(t[r])},n))}),Je=h(x(Vr)),Ke=ye(0,-1),Qe=p(function(n,t){return Pe(m(Dr(fr)(n),t))}),Ve=h(function(n){for(var t=Vr(n),r=t.length,e=-1,u={};++e<r;){var i=t[e],o=n[i],f=b(o,u)?u[o]:u[o]=[];f[f.length]=i}return u}),Ye=h(function(n){for(var t=Vr(n),r=t.length,e=-1,u={};++e<r;){var i=t[e];u[n[i]]=i}return u}),Ze=p(function(n,t){var r=pn(n,t);return pn(n,function(){return mr(Be,Zr(r,arguments[0]),T(arguments,1))})}),nu=p(function(n,t){return Re(Re({},n),t)}),tu=h(function(n){return he(nu,{},n)}),ru=he(M,1),eu=Me(C,vt,Cn),uu=p(_r(Pe,c)),iu=function(){var n={init:Array,step:function(n,t){return c(n,[t])},result:j},r={init:String,step:t,result:j},e={init:Object,step:function(n,t){return nu(n,Ln(t)?s(t[0],t[1]):t)},result:j};return function(t){if(k(t))return t;if(Ln(t))return n;if("string"==typeof t)return r;if("object"==typeof t)return e;throw new Error("Cannot create transformer for "+t)}}(),ou=Xe(Zr(Cn)),fu=h(function(n){return $e(n.length,n)}),cu=g(function(n,t,r){return k(n)?mr(t(n),n.init(),r):mr(t(iu(n)),n,r)}),au=h(function(n){return Ze(n.length,n)}),su={F:nr,T:tr,__:n,add:V,all:dr,allPass:Te,always:Y,and:Z,any:xr,anyPass:qe,ap:Be,aperture:nn,append:wr,apply:tn,arity:rn,assoc:en,assocPath:br,binary:jr,bind:un,both:on,call:ze,chain:De,charAt:Fe,charCodeAt:Ue,clone:Or,commute:ou,commuteMap:Xe,comparator:fn,complement:cn,compose:_r,composeP:Ir,concat:Ar,cond:an,construct:fu,constructN:$e,contains:kr,containsWith:sn,converge:Er,countBy:ln,createMapEntry:hn,curry:Pr,curryN:pn,dec:gn,defaultTo:yn,difference:Cr,differenceWith:mn,dissoc:vn,dissocPath:Mr,divide:dn,drop:Sr,dropWhile:Wr,either:xn,empty:Nr,eq:wn,eqDeep:Ge,eqProps:bn,evolve:He,filter:Rr,filterIndexed:jn,find:Lr,findIndex:Tr,findLast:qr,findLastIndex:Br,flatten:zr,flip:Dr,forEach:On,forEachIndexed:_n,fromPairs:In,func:Fr,functions:Je,functionsIn:Ur,groupBy:Xr,gt:An,gte:kn,has:En,hasIn:Pn,head:$r,identity:Cn,ifElse:Mn,inc:Sn,indexOf:Wn,init:Ke,insert:Gr,insertAll:Nn,intersection:Qe,intersectionWith:Hr,into:cu,invert:Ve,invertObj:Ye,invoke:Jr,invoker:Kr,is:Rn,isArrayLike:Ln,isEmpty:Tn,isNaN:qn,isNil:Bn,isSet:zn,join:Qr,keys:Vr,keysIn:Dn,last:Yr,lastIndexOf:Fn,length:Un,lens:Xn,lensOn:$n,lift:au,liftN:Ze,lt:Gn,lte:Hn,map:Zr,mapAccum:Jn,mapAccumRight:Kn,mapIndexed:Qn,mapObj:ne,mapObjIndexed:te,match:re,mathMod:Vn,max:ee,maxBy:Yn,memoize:Zn,merge:nu,mergeAll:tu,min:ue,minBy:nt,modulo:tt,multiply:rt,nAry:et,negate:ut,none:ie,not:it,nth:ot,nthArg:ft,nthChar:ct,nthCharCode:at,of:st,omit:lt,once:ht,or:pt,partial:oe,partialRight:fe,partition:ce,path:gt,pathEq:yt,pick:mt,pickAll:vt,pickBy:dt,pipe:ae,pipeP:se,pluck:le,prepend:xt,product:ru,project:eu,prop:wt,propEq:bt,propOr:jt,props:Ot,range:_t,reduce:he,reduceIndexed:It,reduceRight:At,reduceRightIndexed:kt,reject:pe,rejectIndexed:Et,remove:Pt,repeat:ge,replace:Ct,reverse:Mt,scan:St,slice:ye,sort:me,sortBy:Wt,split:ve,strIndexOf:Nt,strLastIndexOf:Rt,substring:de,substringFrom:xe,substringTo:we,subtract:Lt,sum:be,tail:je,take:Oe,takeWhile:_e,tap:Tt,test:qt,times:Bt,toLower:Ie,toPairs:zt,toPairsIn:Dt,toUpper:Ae,transduce:ke,trim:Ft,type:Ut,unapply:Xt,unary:$t,unfold:Gt,union:uu,unionWith:Ee,uniq:Pe,uniqWith:Ht,unnest:Ce,useWith:Me,values:Se,valuesIn:Jt,where:We,wrap:Kt,xprod:Qt,zip:Vt,zipObj:Yt,zipWith:Zt};"object"==typeof exports?module.exports=su:"function"==typeof define&&define.amd?define(function(){return su}):this.R=su}).call(this);

@@ -27,3 +27,3 @@ {

"description": "A practical functional library for JavaScript programmers.",
"version": "0.12.0",
"version": "0.13.0",
"homepage": "https://www.github.com/ramda/ramda",

@@ -30,0 +30,0 @@ "license": "MIT",

@@ -96,3 +96,3 @@ Ramda

```html
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.12.0/ramda.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.13.0/ramda.min.js"></script>
```

@@ -103,4 +103,4 @@

```html
<script src="//cdn.jsdelivr.net/ramda/0.12.0/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.12/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.13.0/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.13/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/latest/ramda.min.js"></script>

@@ -107,0 +107,0 @@ ```

@@ -18,4 +18,2 @@ var _add = require('./internal/_add');

*
* var increment = R.add(1);
* increment(10); //=> 11
* R.add(2, 3); //=> 5

@@ -22,0 +20,0 @@ * R.add(7)(10); //=> 17

@@ -26,7 +26,5 @@ var _all = require('./internal/_all');

* var lessThan3 = R.flip(R.lt)(3);
* var xs = R.range(1, 3);
* xs; //=> [1, 2]
* R.all(lessThan2)(xs); //=> false
* R.all(lessThan3)(xs); //=> true
* R.all(lessThan2)([1, 2]); //=> false
* R.all(lessThan3)([1, 2]); //=> true
*/
module.exports = _curry2(_dispatchable('all', _xall, _all));

@@ -26,7 +26,5 @@ var _any = require('./internal/_any');

* var lessThan2 = R.flip(R.lt)(2);
* var xs = R.range(1, 3);
* xs; //=> [1, 2]
* R.any(lessThan0)(xs); //=> false
* R.any(lessThan2)(xs); //=> true
* R.any(lessThan0)([1, 2]); //=> false
* R.any(lessThan2)([1, 2]); //=> true
*/
module.exports = _curry2(_dispatchable('any', _xany, _any));

@@ -5,3 +5,2 @@ var _curry2 = require('./internal/_curry2');

/**
*
* A function wrapping calls to the two functions in an `&&` operation, returning the result of the first

@@ -8,0 +7,0 @@ * function if it is false-y and the result of the second function otherwise. Note that this is

@@ -26,3 +26,2 @@ var _checkForMethod = require('./internal/_checkForMethod');

* R.chain(duplicate, [1, 2, 3]); //=> [1, 1, 2, 2, 3, 3]
*
*/

@@ -29,0 +28,0 @@ module.exports = _curry2(_checkForMethod('chain', function chain(f, list) {

@@ -21,3 +21,2 @@ var _baseCopy = require('./internal/_baseCopy');

* objects[0] === objectsClone[0]; //=> false
*
*/

@@ -24,0 +23,0 @@ module.exports = _curry1(function clone(value) {

@@ -35,3 +35,2 @@ var _curry3 = require('./internal/_curry3');

* R.commuteMap(plus10map, R.of, cs); //=> [[11, 13], [12, 13], [11, 14], [12, 14]]
*
*/

@@ -38,0 +37,0 @@ module.exports = _curry3(function commuteMap(fn, of, list) {

@@ -33,6 +33,6 @@ var _composeP = require('./internal/_composeP');

* squareAsyncThenDoubleThenTriple(5)
* .then(function(result) {
* // result is 150
* });
* .then(function(result) {
* // result is 150
* });
*/
module.exports = _createComposer(_composeP);

@@ -18,5 +18,5 @@ /**

* var fn = R.cond(
* [R.eq(0), R.always('water freezes at 0°C')],
* [R.eq(100), R.always('water boils at 100°C')],
* [R.T, function(temp) { return 'nothing special happens at ' + temp + '°C'; }]
* [R.eq(0), R.always('water freezes at 0°C')],
* [R.eq(100), R.always('water boils at 100°C')],
* [R.T, function(temp) { return 'nothing special happens at ' + temp + '°C'; }]
* );

@@ -23,0 +23,0 @@ * fn(0); //=> 'water freezes at 0°C'

@@ -18,4 +18,4 @@ var _createMapEntry = require('./internal/_createMapEntry');

* var matchPhrases = R.compose(
* R.createMapEntry('must'),
* R.map(R.createMapEntry('match_phrase'))
* R.createMapEntry('must'),
* R.map(R.createMapEntry('match_phrase'))
* );

@@ -22,0 +22,0 @@ * matchPhrases(['foo', 'bar', 'baz']); //=> {must: [{match_phrase: 'foo'}, {match_phrase: 'bar'}, {match_phrase: 'baz'}]}

@@ -25,3 +25,2 @@ var _curry3 = require('./internal/_curry3');

* R.differenceWith(cmp, l1, l2); //=> [{a: 1}, {a: 2}]
*
*/

@@ -28,0 +27,0 @@ module.exports = _curry3(function differenceWith(pred, first, second) {

@@ -18,7 +18,7 @@ var _curry2 = require('./internal/_curry2');

* function Rectangle(width, height) {
* this.width = width;
* this.height = height;
* this.width = width;
* this.height = height;
* }
* Rectangle.prototype.area = function() {
* return this.width * this.height;
* return this.width * this.height;
* };

@@ -25,0 +25,0 @@ *

@@ -23,5 +23,5 @@ var _isThenable = require('./_isThenable');

* squareAsyncThenDouble(5)
* .then(function(result) {
* // the result is now 50.
* });
* .then(function(result) {
* // the result is now 50.
* });
*/

@@ -28,0 +28,0 @@ module.exports = function _composeP(f, g) {

@@ -8,3 +8,2 @@ var _filter = require('./_filter');

* @return {Function} A function that takes an object and returns an array of function names.
*
*/

@@ -11,0 +10,0 @@ module.exports = function _functionsWith(fn) {

@@ -12,3 +12,2 @@ /**

* @return {Number} The index of the found item, or -1.
*
*/

@@ -15,0 +14,0 @@ module.exports = function _indexOf(list, item, from) {

@@ -12,3 +12,2 @@ /**

* @return {Number} The index of the found item, or -1.
*
*/

@@ -15,0 +14,0 @@ module.exports = function _lastIndexOf(list, item, from) {

@@ -27,3 +27,2 @@ var _curry1 = require('./internal/_curry1');

* //=> { 'alice': ['first', 'third'], 'jake':['second'] }
*
*/

@@ -30,0 +29,0 @@ module.exports = _curry1(function invert(obj) {

@@ -10,6 +10,6 @@ var curry = require('./curry');

* @category Object
* @sig String -> Object -> [*] -> *
* @sig String -> [*] -> Object -> *
* @param {String} methodName
* @param {Array} args
* @param {Object} obj
* @param {Array} args
* @return {*}

@@ -19,3 +19,3 @@ * @example

* // toBinary :: Number -> String
* var toBinary = R.invoke('toString', R.__, [2])
* var toBinary = R.invoke('toString', [2])
*

@@ -25,4 +25,4 @@ * toBinary(42); //=> '101010'

*/
module.exports = curry(function invoke(methodName, obj, args) {
module.exports = curry(function invoke(methodName, args, obj) {
return obj[methodName].apply(obj, args);
});

@@ -24,4 +24,4 @@ var _curry2 = require('./internal/_curry2');

* var headLens = R.lens(
* function get(arr) { return arr[0]; },
* function set(val, arr) { return [val].concat(arr.slice(1)); }
* function get(arr) { return arr[0]; },
* function set(val, arr) { return [val].concat(arr.slice(1)); }
* );

@@ -33,8 +33,8 @@ * headLens([10, 20, 30, 40]); //=> 10

* var phraseLens = R.lens(
* function get(obj) { return obj.phrase; },
* function set(val, obj) {
* var out = R.clone(obj);
* out.phrase = val;
* return out;
* }
* function get(obj) { return obj.phrase; },
* function set(val, obj) {
* var out = R.clone(obj);
* out.phrase = val;
* return out;
* }
* );

@@ -41,0 +41,0 @@ * var obj1 = { phrase: 'Absolute filth . . . and I LOVED it!'};

@@ -7,3 +7,2 @@ var _curry3 = require('./internal/_curry3');

*
*
* @func

@@ -27,3 +26,2 @@ * @memberOf R

* xoLens.map(R.add(1)); //=> {x: 2}
*
*/

@@ -30,0 +28,0 @@ module.exports = _curry3(function lensOn(get, set, obj) {

@@ -19,3 +19,3 @@ var _curry1 = require('./internal/_curry1');

* var madd3 = R.lift(R.curry(function(a, b, c) {
* return a + b + c;
* return a + b + c;
* }));

@@ -25,3 +25,3 @@ * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]

* var madd5 = R.lift(R.curry(function(a, b, c, d, e) {
* return a + b + c + d + e;
* return a + b + c + d + e;
* }));

@@ -28,0 +28,0 @@ * madd5([1,2], [3], [4, 5], [6], [7, 8]); //=> [21, 22, 22, 23, 22, 23, 23, 24]

@@ -23,3 +23,3 @@ var _curry2 = require('./internal/_curry2');

* var madd3 = R.liftN(3, R.curryN(3, function() {
* return R.reduce(R.add, 0, arguments);
* return R.reduce(R.add, 0, arguments);
* }));

@@ -26,0 +26,0 @@ * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]

@@ -24,3 +24,3 @@ var _curry3 = require('./internal/_curry3');

* var append = function(a, b) {
* return [a + b, a + b];
* return [a + b, a + b];
* }

@@ -27,0 +27,0 @@ *

@@ -27,3 +27,3 @@ var _curry3 = require('./internal/_curry3');

* var append = function(a, b) {
* return [a + b, a + b];
* return [a + b, a + b];
* }

@@ -30,0 +30,0 @@ *

@@ -25,4 +25,4 @@ var _curry1 = require('./internal/_curry1');

* var factorial = R.memoize(function(n) {
* count += 1;
* return R.product(R.range(1, n + 1));
* count += 1;
* return R.product(R.range(1, n + 1));
* });

@@ -29,0 +29,0 @@ * factorial(5); //=> 120

@@ -21,5 +21,5 @@ var _any = require('./internal/_any');

*
* R.none(isNaN, [1, 2, 3]); //=> true
* R.none(isNaN, [1, 2, 3, NaN]); //=> false
* R.none(R.isNaN, [1, 2, 3]); //=> true
* R.none(R.isNaN, [1, 2, 3, NaN]); //=> false
*/
module.exports = _curry2(_complement(_dispatchable('any', _xany, _any)));

@@ -34,5 +34,5 @@ var composeP = require('./composeP');

* squareAsyncThenDoubleThenTriple(5)
* .then(function(result) {
* // result is 150
* });
* .then(function(result) {
* // result is 150
* });
*/

@@ -39,0 +39,0 @@ module.exports = function pipeP() {

@@ -22,7 +22,7 @@ var _curry2 = require('./internal/_curry2');

* var alice = {
* name: 'ALICE',
* age: 101
* name: 'ALICE',
* age: 101
* };
* var bob = {
* name: 'Bob',
* name: 'Bob',
* age: -10

@@ -29,0 +29,0 @@ * };

@@ -32,7 +32,7 @@ var _slice = require('./internal/_slice');

* var kids = [
* {name: 'Abbie', age: 6},
* {name: 'Brian', age: 5},
* {name: 'Chris', age: 6},
* {name: 'David', age: 4},
* {name: 'Ellie', age: 5}
* {name: 'Abbie', age: 6},
* {name: 'Brian', age: 5},
* {name: 'Chris', age: 6},
* {name: 'David', age: 4},
* {name: 'Ellie', age: 5}
* ];

@@ -42,3 +42,2 @@ *

*
*
* // Example 2:

@@ -45,0 +44,0 @@ *

@@ -22,3 +22,3 @@ var _concat = require('./internal/_concat');

* var shoutedGreet = R.wrap(greet, function(gr, name) {
* return gr(name).toUpperCase();
* return gr(name).toUpperCase();
* });

@@ -28,6 +28,5 @@ * shoutedGreet("Kathy"); //=> "HELLO KATHY"

* var shortenedGreet = R.wrap(greet, function(gr, name) {
* return gr(name.substring(0, 3));
* return gr(name.substring(0, 3));
* });
* shortenedGreet("Robert"); //=> "Hello Rob"
*
*/

@@ -34,0 +33,0 @@ module.exports = _curry2(function wrap(fn, wrapper) {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc