Socket
Socket
Sign inDemoInstall

ramda

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.15.0 to 0.15.1

src/eq.js

4

BOOKMARKLET.md

@@ -11,4 +11,4 @@ # Ramda Bookmarklet

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

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

// Ramda v0.15.0
// Ramda v0.15.1
// https://github.com/ramda/ramda

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

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

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

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

@@ -62,3 +62,2 @@ "license": "MIT",

"jshint": "2.7.x",
"lodash": "latest",
"mocha": "2.x.x",

@@ -65,0 +64,0 @@ "q": "^1.1.1",

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

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

@@ -103,3 +103,3 @@

```html
<script src="//cdn.jsdelivr.net/ramda/0.15.0/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.15.1/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.15/ramda.min.js"></script>

@@ -106,0 +106,0 @@ <script src="//cdn.jsdelivr.net/ramda/latest/ramda.min.js"></script>

@@ -9,5 +9,2 @@ var commuteMap = require('./commuteMap');

*
* Note: `commute` may be more useful to convert a list of non-Array Functors (e.g.
* Maybe, Either, etc.) to Functor of a list.
*
* @func

@@ -17,17 +14,14 @@ * @memberOf R

* @see R.commuteMap
* @sig (x -> [x]) -> [[*]...]
* @sig Functor f => (x -> f x) -> [f a] -> f [a]
* @param {Function} of A function that returns the data type to return
* @param {Array} list An Array (or other Functor) of Arrays (or other Functors)
* @return {Array}
* @param {Array} list An array of functors of the same type
* @return {*}
* @example
*
* var as = [[1], [3, 4]];
* R.commute(R.of, as); //=> [[1, 3], [1, 4]]
*
* var bs = [[1, 2], [3]];
* R.commute(R.of, bs); //=> [[1, 3], [2, 3]]
*
* var cs = [[1, 2], [3, 4]];
* R.commute(R.of, cs); //=> [[1, 3], [2, 3], [1, 4], [2, 4]]
* R.commute(R.of, [[1], [2, 3]]); //=> [[1, 2], [1, 3]]
* R.commute(R.of, [[1, 2], [3]]); //=> [[1, 3], [2, 3]]
* R.commute(R.of, [[1], [2], [3]]); //=> [[1, 2, 3]]
* R.commute(Maybe.of, [Just(1), Just(2), Just(3)]); //=> Just([1, 2, 3])
* R.commute(Maybe.of, [Just(1), Just(2), Nothing()]); //=> Nothing()
*/
module.exports = commuteMap(map(identity));

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

*
* Note: `commuteMap` may be more useful to convert a list of non-Array Functors (e.g.
* Maybe, Either, etc.) to Functor of a list.
*
* @func

@@ -20,18 +17,14 @@ * @memberOf R

* @see R.commute
* @sig (a -> (b -> c)) -> (x -> [x]) -> [[*]...]
* @sig Functor f => (f a -> f b) -> (x -> f x) -> [f a] -> f [b]
* @param {Function} fn The transformation function
* @param {Function} of A function that returns the data type to return
* @param {Array} list An Array (or other Functor) of Arrays (or other Functors)
* @return {Array}
* @param {Array} list An array of functors of the same type
* @return {*}
* @example
*
* var plus10map = R.map(function(x) { return x + 10; });
* var as = [[1], [3, 4]];
* R.commuteMap(R.map(function(x) { return x + 10; }), R.of, as); //=> [[11, 13], [11, 14]]
*
* var bs = [[1, 2], [3]];
* R.commuteMap(plus10map, R.of, bs); //=> [[11, 13], [12, 13]]
*
* var cs = [[1, 2], [3, 4]];
* R.commuteMap(plus10map, R.of, cs); //=> [[11, 13], [12, 13], [11, 14], [12, 14]]
* R.commuteMap(R.map(R.add(10)), R.of, [[1], [2, 3]]); //=> [[11, 12], [11, 13]]
* R.commuteMap(R.map(R.add(10)), R.of, [[1, 2], [3]]); //=> [[11, 13], [12, 13]]
* R.commuteMap(R.map(R.add(10)), R.of, [[1], [2], [3]]); //=> [[11, 12, 13]]
* R.commuteMap(R.map(R.add(10)), Maybe.of, [Just(1), Just(2), Just(3)]); //=> Just([11, 12, 13])
* R.commuteMap(R.map(R.add(10)), Maybe.of, [Just(1), Just(2), Nothing()]); //=> Nothing()
*/

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

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

var counts = {};
var len = list.length;
var idx = 0;
while (idx < list.length) {
while (idx < len) {
var key = fn(list[idx]);

@@ -32,0 +33,0 @@ counts[key] = (_has(key, counts) ? counts[key] : 0) + 1;

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

var idx = 0;
while (idx < first.length) {
var firstLen = first.length;
while (idx < firstLen) {
if (!_contains(first[idx], second) && !_contains(first[idx], out)) {

@@ -27,0 +28,0 @@ out[out.length] = first[idx];

@@ -29,4 +29,5 @@ var _curry3 = require('./internal/_curry3');

var idx = 0;
var firstLen = first.length;
var containsPred = containsWith(pred);
while (idx < first.length) {
while (idx < firstLen) {
if (!containsPred(first[idx], second) && !containsPred(first[idx], out)) {

@@ -33,0 +34,0 @@ out[out.length] = first[idx];

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

*
* Dispatches to its second argument's `slice` method if present. As a
* result, one may replace `[a]` with `String` in the type signature.
*
* @func

@@ -23,3 +26,7 @@ * @memberOf R

*
* R.drop(3, [1,2,3,4,5,6,7]); //=> [4,5,6,7]
* R.drop(1, ['foo', 'bar', 'baz']); //=> ['bar', 'baz']
* R.drop(2, ['foo', 'bar', 'baz']); //=> ['baz']
* R.drop(3, ['foo', 'bar', 'baz']); //=> []
* R.drop(4, ['foo', 'bar', 'baz']); //=> []
* R.drop(3, 'ramda'); //=> 'da'
*/

@@ -26,0 +33,0 @@ module.exports = _curry2(_dispatchable('drop', _xdrop, function drop(n, xs) {

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

var idx = 1;
if (list.length > 0) {
var len = list.length;
if (len !== 0) {
result[0] = list[0];
while (idx < list.length) {
while (idx < len) {
if (!pred(last(result), list[idx])) {

@@ -36,0 +37,0 @@ result[result.length] = list[idx];

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

module.exports = _curry2(_dispatchable('dropWhile', _xdropWhile, function dropWhile(pred, list) {
var idx = 0;
while (idx < list.length && pred(list[idx])) {
var idx = 0, len = list.length;
while (idx < len && pred(list[idx])) {
idx += 1;

@@ -35,0 +35,0 @@ }

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

var idx = 0;
while (idx < list.length) {
var len = list.length;
while (idx < len) {
if (fn(list[idx])) {

@@ -32,0 +33,0 @@ return list[idx];

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

var idx = 0;
while (idx < list.length) {
var len = list.length;
while (idx < len) {
if (fn(list[idx])) {

@@ -32,0 +33,0 @@ return idx;

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

module.exports = _curry2(function forEachIndexed(fn, list) {
var idx = 0;
while (idx < list.length) {
var idx = 0, len = list.length;
while (idx < len) {
fn(list[idx], idx, list);

@@ -39,0 +39,0 @@ idx += 1;

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

module.exports = _curry1(function fromPairs(pairs) {
var idx = 0, out = {};
while (idx < pairs.length) {
var idx = 0, len = pairs.length, out = {};
while (idx < len) {
if (_isArray(pairs[idx]) && pairs[idx].length) {

@@ -23,0 +23,0 @@ out[pairs[idx][0]] = pairs[idx][1];

@@ -16,4 +16,5 @@ var _cloneRegExp = require('./_cloneRegExp');

var copy = function copy(copiedValue) {
var len = refFrom.length;
var idx = 0;
while (idx < refFrom.length) {
while (idx < len) {
if (value === refFrom[idx]) {

@@ -20,0 +21,0 @@ return refTo[idx];

@@ -17,10 +17,11 @@ var _isArray = require('./_isArray');

return function() {
if (arguments.length === 0) {
var length = arguments.length;
if (length === 0) {
return fn();
}
var obj = arguments[arguments.length - 1];
var obj = arguments[length - 1];
return (_isArray(obj) || typeof obj[methodname] !== 'function') ?
fn.apply(this, arguments) :
obj[methodname].apply(obj, _slice(arguments, 0, arguments.length - 1));
obj[methodname].apply(obj, _slice(arguments, 0, length - 1));
};
};

@@ -16,6 +16,8 @@ /**

var idx;
var len1 = set1.length;
var len2 = set2.length;
var result = [];
idx = 0;
while (idx < set1.length) {
while (idx < len1) {
result[result.length] = set1[idx];

@@ -25,3 +27,3 @@ idx += 1;

idx = 0;
while (idx < set2.length) {
while (idx < len2) {
result[result.length] = set2[idx];

@@ -28,0 +30,0 @@ idx += 1;

module.exports = function _containsWith(pred, x, list) {
var idx = 0;
while (idx < list.length) {
var idx = 0, len = list.length;
while (idx < len) {
if (pred(x, list[idx])) {

@@ -5,0 +5,0 @@ return true;

@@ -22,8 +22,9 @@ var _isArray = require('./_isArray');

return function() {
if (arguments.length === 0) {
var length = arguments.length;
if (length === 0) {
return fn();
}
var obj = arguments[arguments.length - 1];
var obj = arguments[length - 1];
if (!_isArray(obj)) {
var args = _slice(arguments, 0, arguments.length - 1);
var args = _slice(arguments, 0, length - 1);
if (typeof obj[methodname] === 'function') {

@@ -30,0 +31,0 @@ return obj[methodname].apply(obj, args);

@@ -21,4 +21,4 @@ var keys = require('../keys');

var props = keys(other);
var idx = 0;
while (idx < props.length) {
var idx = 0, length = props.length;
while (idx < length) {
destination[props[idx]] = other[props[idx]];

@@ -25,0 +25,0 @@ idx += 1;

module.exports = function _filter(fn, list) {
var idx = 0, result = [];
while (idx < list.length) {
var idx = 0, len = list.length, result = [];
while (idx < len) {
if (fn(list[idx])) {

@@ -5,0 +5,0 @@ result[result.length] = list[idx];

module.exports = function _filterIndexed(fn, list) {
var idx = 0, result = [];
while (idx < list.length) {
var idx = 0, len = list.length, result = [];
while (idx < len) {
if (fn(list[idx], idx, list)) {

@@ -5,0 +5,0 @@ result[result.length] = list[idx];

module.exports = function _forEach(fn, list) {
var idx = 0;
while (idx < list.length) {
var idx = 0, len = list.length;
while (idx < len) {
fn(list[idx]);

@@ -5,0 +5,0 @@ idx += 1;

@@ -5,7 +5,7 @@ var equals = require('../equals');

module.exports = function _indexOf(list, item, from) {
var idx = 0;
var idx = 0, len = list.length;
if (typeof from === 'number') {
idx = from < 0 ? Math.max(0, list.length + from) : from;
idx = from < 0 ? Math.max(0, len + from) : from;
}
while (idx < list.length) {
while (idx < len) {
if (equals(list[idx], item)) {

@@ -12,0 +12,0 @@ return idx;

@@ -12,8 +12,9 @@ var isArrayLike = require('../isArrayLike');

return function flatt(list) {
var value, result = [], idx = 0, j;
while (idx < list.length) {
var value, result = [], idx = 0, j, ilen = list.length, jlen;
while (idx < ilen) {
if (isArrayLike(list[idx])) {
value = recursive ? flatt(list[idx]) : list[idx];
j = 0;
while (j < value.length) {
jlen = value.length;
while (j < jlen) {
result[result.length] = value[j];

@@ -20,0 +21,0 @@ j += 1;

module.exports = function _map(fn, list) {
var idx = 0, result = [];
while (idx < list.length) {
var idx = 0, len = list.length, result = [];
while (idx < len) {
result[idx] = fn(list[idx]);

@@ -5,0 +5,0 @@ idx += 1;

@@ -21,3 +21,3 @@ /**

var val = obj;
for (var idx = 0; idx < paths.length && val != null; idx += 1) {
for (var idx = 0, len = paths.length; idx < len && val != null; idx += 1) {
val = val[paths[idx]];

@@ -24,0 +24,0 @@ }

@@ -8,4 +8,4 @@ var _xwrap = require('./_xwrap');

function _arrayReduce(xf, acc, list) {
var idx = 0;
while (idx < list.length) {
var idx = 0, len = list.length;
while (idx < len) {
acc = xf['@@transducer/step'](acc, list[idx]);

@@ -12,0 +12,0 @@ if (acc && acc['@@transducer/reduced']) {

@@ -22,4 +22,5 @@ var _checkForMethod = require('./internal/_checkForMethod');

var idx = 0;
while (idx < list.length) {
if (idx === list.length - 1) {
var length = list.length;
while (idx < length) {
if (idx === length - 1) {
out.push(list[idx]);

@@ -26,0 +27,0 @@ } else {

@@ -30,6 +30,7 @@ var _curry1 = require('./internal/_curry1');

var props = keys(obj);
var len = props.length;
var idx = 0;
var out = {};
while (idx < props.length) {
while (idx < len) {
var key = props[idx];

@@ -36,0 +37,0 @@ var val = obj[key];

@@ -31,6 +31,7 @@ var _curry1 = require('./internal/_curry1');

var props = keys(obj);
var len = props.length;
var idx = 0;
var out = {};
while (idx < props.length) {
while (idx < len) {
var key = props[idx];

@@ -37,0 +38,0 @@ out[obj[key]] = key;

@@ -15,6 +15,9 @@ var _curry1 = require('./internal/_curry1');

*
* R.isEmpty([1, 2, 3]); //=> false
* R.isEmpty([]); //=> true
* R.isEmpty(''); //=> true
* R.isEmpty(null); //=> false
* R.isEmpty([1, 2, 3]); //=> false
* R.isEmpty([]); //=> true
* R.isEmpty(''); //=> true
* R.isEmpty(null); //=> false
* R.isEmpty(R.keys({})); //=> true
* R.isEmpty({}); //=> false ({} does not have a length property)
* R.isEmpty({length: 0}); //=> true
*/

@@ -21,0 +24,0 @@ module.exports = _curry1(function isEmpty(list) {

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

module.exports = _curry1(function isSet(list) {
var len = list.length;
var idx = 0;
while (idx < list.length) {
while (idx < len) {
if (_indexOf(list, list[idx], idx + 1) >= 0) {

@@ -26,0 +27,0 @@ return false;

@@ -1,5 +0,7 @@

var _slice = require('./internal/_slice');
var _curry1 = require('./internal/_curry1');
var lens = require('./lens');
var nth = require('./nth');
var update = require('./update');
/**

@@ -23,6 +25,4 @@ * Creates a lens that will focus on index `n` of the source array.

*/
module.exports = function lensIndex(n) {
return lens(nth(n), function(x, xs) {
return _slice(xs, 0, n).concat([x], _slice(xs, n + 1));
});
};
module.exports = _curry1(function lensIndex(n) {
return lens(nth(n), update(n));
});

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

var _curry1 = require('./internal/_curry1');
var assoc = require('./assoc');

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

/**

@@ -27,5 +29,4 @@ * Creates a lens that will focus on property `k` of the source object.

*/
module.exports = function(k) {
module.exports = _curry1(function lensProp(k) {
return lens(prop(k), assoc(k));
};
});

@@ -30,4 +30,4 @@ var _curry3 = require('./internal/_curry3');

module.exports = _curry3(function mapAccum(fn, acc, list) {
var idx = 0, result = [], tuple = [acc];
while (idx < list.length) {
var idx = 0, len = list.length, result = [], tuple = [acc];
while (idx < len) {
tuple = fn(tuple[0], list[idx]);

@@ -34,0 +34,0 @@ result[idx] = tuple[1];

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

module.exports = _curry2(function mapIndexed(fn, list) {
var idx = 0, result = [];
while (idx < list.length) {
var idx = 0, len = list.length, result = [];
while (idx < len) {
result[idx] = fn(list[idx], idx, list);

@@ -37,0 +37,0 @@ idx += 1;

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

module.exports = _curry1(function median(list) {
if (list.length === 0) {
var len = list.length;
if (len === 0) {
return NaN;
}
var width = 2 - list.length % 2;
var idx = (list.length - width) / 2;
var width = 2 - len % 2;
var idx = (len - width) / 2;
return mean(_slice(list).sort(function(a, b) {

@@ -29,0 +30,0 @@ return a < b ? -1 : a > b ? 1 : 0;

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

/**
* Create a new object with the own properties of a
* merged with the own properties of object b.
* Create a new object with the own properties of `a`
* merged with the own properties of object `b`.
* This function will *not* mutate passed-in objects.

@@ -10,0 +10,0 @@ *

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

var idx = 0;
while (idx < names.length) {
var len = names.length;
while (idx < len) {
var name = names[idx];

@@ -26,0 +27,0 @@ result[name] = obj[name];

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

module.exports = _curry2(function props(ps, obj) {
var len = ps.length;
var out = [];
var idx = 0;
while (idx < ps.length) {
while (idx < len) {
out[idx] = obj[ps[idx]];

@@ -29,0 +30,0 @@ idx += 1;

@@ -36,4 +36,4 @@ var _curry3 = require('./internal/_curry3');

module.exports = _curry3(function reduceIndexed(fn, acc, list) {
var idx = 0;
while (idx < list.length) {
var idx = 0, len = list.length;
while (idx < len) {
acc = fn(acc, list[idx], idx, list);

@@ -40,0 +40,0 @@ idx += 1;

@@ -22,4 +22,4 @@ var _curry3 = require('./internal/_curry3');

module.exports = _curry3(function scan(fn, acc, list) {
var idx = 0, result = [acc];
while (idx < list.length) {
var idx = 0, len = list.length, result = [acc];
while (idx < len) {
acc = fn(acc, list[idx]);

@@ -26,0 +26,0 @@ result[idx + 1] = acc;

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

*
* Dispatches to its third argument's `slice` method if present. As a
* result, one may replace `[a]` with `String` in the type signature.
*
* @func

@@ -20,4 +23,7 @@ * @memberOf R

*
* var xs = R.range(0, 10);
* R.slice(2, 5)(xs); //=> [2, 3, 4]
* R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']
* R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']
* R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']
* R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']
* R.slice(0, 3, 'ramda'); //=> 'ram'
*/

@@ -24,0 +30,0 @@ module.exports = _curry3(_checkForMethod('slice', function slice(fromIndex, toIndex, xs) {

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

/**
* Sorts the list according to a key generated by the supplied function.
* Sorts the list according to the supplied function.
*

@@ -12,4 +12,4 @@ * @func

* @category Relation
* @sig (a -> String) -> [a] -> [a]
* @param {Function} fn The function mapping `list` items to keys.
* @sig Ord b => (a -> b) -> [a] -> [a]
* @param {Function} fn
* @param {Array} list The list to sort.

@@ -16,0 +16,0 @@ * @return {Array} A new list sorted by the keys generated by `fn`.

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

*
* Dispatches to its second argument's `slice` method if present. As a
* result, one may replace `[a]` with `String` in the type signature.
*
* @func

@@ -24,9 +27,21 @@ * @memberOf R

*
* R.take(3,[1,2,3,4,5]); //=> [1,2,3]
* R.take(1, ['foo', 'bar', 'baz']); //=> ['foo']
* R.take(2, ['foo', 'bar', 'baz']); //=> ['foo', 'bar']
* R.take(3, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']
* R.take(4, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']
* R.take(3, 'ramda'); //=> 'ram'
*
* var members= [ "Paul Desmond","Bob Bates","Joe Dodge","Ron Crotty","Lloyd Davis","Joe Morello","Norman Bates",
* "Eugene Wright","Gerry Mulligan","Jack Six","Alan Dawson","Darius Brubeck","Chris Brubeck",
* "Dan Brubeck","Bobby Militello","Michael Moore","Randy Jones"];
* var takeFive = R.take(5);
* takeFive(members); //=> ["Paul Desmond","Bob Bates","Joe Dodge","Ron Crotty","Lloyd Davis"]
* var personnel = [
* 'Dave Brubeck',
* 'Paul Desmond',
* 'Eugene Wright',
* 'Joe Morello',
* 'Gerry Mulligan',
* 'Bob Bates',
* 'Joe Dodge',
* 'Ron Crotty'
* ];
*
* takeFive(personnel);
* //=> ['Dave Brubeck', 'Paul Desmond', 'Eugene Wright', 'Joe Morello', 'Gerry Mulligan']
*/

@@ -33,0 +48,0 @@ module.exports = _curry2(_dispatchable('take', _xtake, function take(n, xs) {

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

module.exports = _curry2(_dispatchable('takeWhile', _xtakeWhile, function takeWhile(fn, list) {
var idx = 0;
while (idx < list.length && fn(list[idx])) {
var idx = 0, len = list.length;
while (idx < len && fn(list[idx])) {
idx += 1;

@@ -36,0 +36,0 @@ }

@@ -1,3 +0,1 @@

var _contains = require('./internal/_contains');
var _curry1 = require('./internal/_curry1');
var equals = require('./equals');

@@ -23,38 +21,2 @@ var uniqWith = require('./uniqWith');

*/
module.exports = (function() {
/**
* Uses a native `Set` instance where possible for
* removing duplicate items. Items that implement
* the fantasy-land Setoid spec fallback to using
* `_contains` to support custom equality behaviour.
*/
function uniq(list) {
/* global Set */
var item,
set = new Set(),
idx = 0,
len = list.length,
items = [],
uniqs = [];
while (idx < len) {
item = list[idx];
// `_contains` is also used to differentiate between
// +0 and -0, as the native Set does not.
if (item === 0 || (item != null && typeof item.equals === 'function')) {
if (!_contains(item, items)) {
items.push(item);
uniqs.push(item);
}
} else {
if (set.size !== set.add(item).size) {
uniqs.push(item);
}
}
idx += 1;
}
return uniqs;
}
return typeof Set !== 'function' ? uniqWith(equals) : _curry1(uniq);
})();
module.exports = uniqWith(equals);

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

module.exports = _curry2(function uniqWith(pred, list) {
var idx = 0;
var idx = 0, len = list.length;
var result = [], item;
while (idx < list.length) {
while (idx < len) {
item = list[idx];

@@ -31,0 +31,0 @@ if (!_containsWith(pred, item, result)) {

@@ -71,10 +71,11 @@ var _slice = require('./internal/_slice');

var transformers = _slice(arguments, 1);
return curry(arity(transformers.length, function() {
var tlen = transformers.length;
return curry(arity(tlen, function() {
var args = [], idx = 0;
while (idx < transformers.length) {
while (idx < tlen) {
args[idx] = transformers[idx](arguments[idx]);
idx += 1;
}
return fn.apply(this, args.concat(_slice(arguments, transformers.length)));
return fn.apply(this, args.concat(_slice(arguments, tlen)));
}));
});

@@ -22,5 +22,6 @@ var _curry1 = require('./internal/_curry1');

var props = keys(obj);
var len = props.length;
var vals = [];
var idx = 0;
while (idx < props.length) {
while (idx < len) {
vals[idx] = obj[props[idx]];

@@ -27,0 +28,0 @@ idx += 1;

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

var idx = 0;
var ilen = a.length;
var j;
var jlen = b.length;
var result = [];
while (idx < a.length) {
while (idx < ilen) {
j = 0;
while (j < b.length) {
while (j < jlen) {
result[result.length] = [a[idx], b[j]];

@@ -29,0 +31,0 @@ j += 1;

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

module.exports = _curry2(function zipObj(keys, values) {
var idx = 0, out = {};
while (idx < keys.length) {
var idx = 0, len = keys.length, out = {};
while (idx < len) {
out[keys[idx]] = values[idx];

@@ -23,0 +23,0 @@ idx += 1;

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc