Socket
Socket
Sign inDemoInstall

ramda

Package Overview
Dependencies
0
Maintainers
8
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.27.2 to 0.28.0

es/collectBy.js

2

dist/ramda.min.js

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

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

@@ -19,3 +19,3 @@ import _concat from "./internal/_concat.js";

* @category List
* @sig ((a ... -> b) ... -> [a] -> *) -> ((a ..., Int, [a] -> b) ... -> [a] -> *)
* @sig (((a ...) -> b) ... -> [a] -> *) -> (((a ..., Int, [a]) -> b) ... -> [a] -> *)
* @param {Function} fn A list iteration function that does not pass index or list to its callback

@@ -22,0 +22,0 @@ * @return {Function} An altered list iteration function that passes (item, index, list) to its callback

@@ -32,10 +32,10 @@ import _concat from "./internal/_concat.js";

_curry3(function adjust(idx, fn, list) {
if (idx >= list.length || idx < -list.length) {
var len = list.length;
if (idx >= len || idx < -len) {
return list;
}
var start = idx < 0 ? list.length : 0;
var _idx = (len + idx) % len;
var _idx = start + idx;
var _list = _concat(list);

@@ -42,0 +42,0 @@

import _curry2 from "./internal/_curry2.js";
/**
* Returns `true` if both arguments are `true`; `false` otherwise.
* Returns the first argument if it is falsy, otherwise the second argument.
* Acts as the boolean `and` statement if both inputs are `Boolean`s.
*

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

* @param {Any} b
* @return {Any} the first argument if it is falsy, otherwise the second argument.
* @see R.both, R.xor
* @return {Any}
* @see R.both, R.or
* @example

@@ -16,0 +17,0 @@ *

@@ -20,6 +20,8 @@ import _curry2 from "./internal/_curry2.js";

*
* var makeQuery = (email) => ({ query: { email }});
* const makeQuery = email => ({ query: { email }});
* const fetchMember = request =>
* Promise.resolve({ firstName: 'Bob', lastName: 'Loblaw', id: 42 });
*
* //getMemberName :: String -> Promise ({firstName, lastName})
* var getMemberName = R.pipe(
* //getMemberName :: String -> Promise ({ firstName, lastName })
* const getMemberName = R.pipe(
* makeQuery,

@@ -29,2 +31,4 @@ * fetchMember,

* );
*
* getMemberName('bob@gmail.com').then(console.log);
*/

@@ -31,0 +35,0 @@

import _curry1 from "./internal/_curry1.js";
import _isArray from "./internal/_isArray.js";
import apply from "./apply.js";

@@ -12,3 +13,3 @@ import curryN from "./curryN.js";

function mapValues(fn, obj) {
return keys(obj).reduce(function (acc, key) {
return _isArray(obj) ? obj.map(fn) : keys(obj).reduce(function (acc, key) {
acc[key] = fn(obj[key]);

@@ -15,0 +16,0 @@ return acc;

import _curry3 from "./internal/_curry3.js";
import assocPath from "./assocPath.js";
/**

@@ -12,4 +13,5 @@ * Makes a shallow clone of an object, setting or overriding the specified

* @category Object
* @sig String -> a -> {k: v} -> {k: v}
* @param {String} prop The property name to set
* @typedefn Idx = String | Int
* @sig Idx -> a -> {k: v} -> {k: v}
* @param {String|Number} prop The property name to set
* @param {*} val The new value

@@ -27,12 +29,5 @@ * @param {Object} obj The object to clone

_curry3(function assoc(prop, val, obj) {
var result = {};
for (var p in obj) {
result[p] = obj[p];
}
result[prop] = val;
return result;
return assocPath([prop], val, obj);
});
export default assoc;
import _curry3 from "./internal/_curry3.js";
import _has from "./internal/_has.js";
import _isArray from "./internal/_isArray.js";
import _isInteger from "./internal/_isInteger.js";
import assoc from "./assoc.js";
import _assoc from "./internal/_assoc.js";
import isNil from "./isNil.js";

@@ -17,3 +16,3 @@ /**

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> a -> {a} -> {a}

@@ -47,11 +46,5 @@ * @param {Array} path the path to set

if (_isInteger(idx) && _isArray(obj)) {
var arr = [].concat(obj);
arr[idx] = val;
return arr;
} else {
return assoc(idx, val, obj);
}
return _assoc(idx, val, obj);
});
export default assocPath;

@@ -12,3 +12,3 @@ import _curry1 from "./internal/_curry1.js";

* @category Function
* @sig (* -> c) -> (a, b -> c)
* @sig (a -> b -> c -> ... -> z) -> ((a, b) -> z)
* @param {Function} fn The function to wrap.

@@ -15,0 +15,0 @@ * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of

@@ -24,3 +24,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together.
* @see R.and
* @see R.either, R.and
* @example

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

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

import curry from "./curry.js";
import _curry1 from "./internal/_curry1.js";
/**

@@ -13,3 +13,3 @@ * Returns the result of calling its first argument with the remaining

* @category Function
* @sig (*... -> a),*... -> a
* @sig ((*... -> a), *...) -> a
* @param {Function} fn The function to apply to the remaining arguments.

@@ -23,10 +23,15 @@ * @param {...*} args Any number of positional arguments.

*
* const indentN = R.pipe(R.repeat(' '),
* R.join(''),
* R.replace(/^(?!$)/gm));
* const indentN = R.pipe(
* R.repeat(' '),
* R.join(''),
* R.replace(/^(?!$)/gm)
* );
*
* const format = R.converge(R.call, [
* R.pipe(R.prop('indent'), indentN),
* R.prop('value')
* ]);
* const format = R.converge(
* R.call,
* [
* R.pipe(R.prop('indent'), indentN),
* R.prop('value')
* ]
* );
*

@@ -39,5 +44,6 @@ * format({indent: 2, value: 'foo\nbar\nbaz\n'}); //=> ' foo\n bar\n baz\n'

/*#__PURE__*/
curry(function call(fn) {
_curry1(function call(fn) {
return fn.apply(this, Array.prototype.slice.call(arguments, 1));
});
export default call;
import _clone from "./internal/_clone.js";
import _curry1 from "./internal/_curry1.js";
/**
* Creates a deep copy of the value which may contain (nested) `Array`s and
* `Object`s, `Number`s, `String`s, `Boolean`s and `Date`s. `Function`s are
* assigned by reference rather than copied
* Creates a deep copy of the source that can be used in place of the source
* object without retaining any references to it.
* The source object may contain (nested) `Array`s and `Object`s,
* `Number`s, `String`s, `Boolean`s and `Date`s.
* `Function`s are assigned by reference rather than copied.
*
* Dispatches to a `clone` method if present.
*
* Note that if the source object has multiple nodes that share a reference,
* the returned object will have the same structure, but the references will
* be pointed to the location within the cloned value.
*
* @func

@@ -11,0 +17,0 @@ * @memberOf R

@@ -20,5 +20,5 @@ import lift from "./lift.js";

* const isNotNil = R.complement(R.isNil);
* isNil(null); //=> true
* R.isNil(null); //=> true
* isNotNil(null); //=> false
* isNil(7); //=> false
* R.isNil(7); //=> false
* isNotNil(7); //=> true

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

@@ -26,2 +26,3 @@ import pipe from "./pipe.js";

* @symb R.compose(f, g, h)(a, b) = f(g(h(a, b)))
* @symb R.compose(f, g, h)(a)(b) = f(g(h(a)))(b)
*/

@@ -28,0 +29,0 @@

@@ -5,7 +5,7 @@ import _curry2 from "./internal/_curry2.js";

/**
* Performs right-to-left function composition using transforming function. The last argument may have
* any arity; the remaining arguments must be unary.
* Performs right-to-left function composition using transforming function. The last function may have
* any arity; the remaining functions must be unary.
*
* **Note:** The result of compose is not automatically curried. Transforming function is not used on the
* last argument.
* **Note:** The result of composeWith is not automatically curried. Transforming function is not used
* on the last argument.
*

@@ -17,3 +17,4 @@ * @func

* @sig ((* -> *), [(y -> z), (x -> y), ..., (o -> p), ((a, b, ..., n) -> o)]) -> ((a, b, ..., n) -> z)
* @param {...Function} ...functions The functions to compose
* @param {Function} transformer The transforming function
* @param {Array} functions The functions to compose
* @return {Function}

@@ -20,0 +21,0 @@ * @see R.compose, R.pipeWith

@@ -14,2 +14,6 @@ import _arity from "./internal/_arity.js";

*
* **Please note**: This is not a direct substitute for a `switch` statement.
* Remember that both elements of every pair passed to `cond` are *functions*,
* and `cond` returns a function.
*
* @func

@@ -16,0 +20,0 @@ * @memberOf R

import _curry2 from "./internal/_curry2.js";
import dissocPath from "./dissocPath.js";
/**

@@ -22,12 +23,5 @@ * Returns a new object that does not contain a `prop` property.

_curry2(function dissoc(prop, obj) {
var result = {};
for (var p in obj) {
result[p] = obj[p];
}
delete result[prop];
return result;
return dissocPath([prop], obj);
});
export default dissoc;
import _curry2 from "./internal/_curry2.js";
import _dissoc from "./internal/_dissoc.js";
import _isInteger from "./internal/_isInteger.js";
import _isArray from "./internal/_isArray.js";
import assoc from "./assoc.js";
import dissoc from "./dissoc.js";
import remove from "./remove.js";
import update from "./update.js";
/**
* Makes a shallow clone of an object. Note that this copies and flattens
* prototype properties onto the new object as well. All non-primitive
* properties are copied by reference.
*
* @private
* @param {String|Integer} prop The prop operating
* @param {Object|Array} obj The object to clone
* @return {Object|Array} A new object equivalent to the original.
*/
function _shallowCloneObject(prop, obj) {
if (_isInteger(prop) && _isArray(obj)) {
return [].concat(obj);
}
var result = {};
for (var p in obj) {
result[p] = obj[p];
}
return result;
}
/**
* Makes a shallow clone of an object, omitting the property at the given path.

@@ -17,3 +39,3 @@ * Note that this copies and flattens prototype properties onto the new object

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {k: v} -> {k: v}

@@ -29,5 +51,10 @@ * @param {Array} path The path to the value to omit

var dissocPath =
/*#__PURE__*/
_curry2(function dissocPath(path, obj) {
if (obj == null) {
return obj;
}
switch (path.length) {

@@ -38,3 +65,3 @@ case 0:

case 1:
return _isInteger(path[0]) && _isArray(obj) ? remove(path[0], 1, obj) : dissoc(path[0], obj);
return _dissoc(path[0], obj);

@@ -46,5 +73,3 @@ default:

if (obj[head] == null) {
return obj;
} else if (_isInteger(head) && _isArray(obj)) {
return update(head, dissocPath(tail, obj[head]), obj);
return _shallowCloneObject(head, obj);
} else {

@@ -51,0 +76,0 @@ return assoc(head, dissocPath(tail, obj[head]), obj);

@@ -23,3 +23,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Function} a function that applies its arguments to `f` and `g` and `||`s their outputs together.
* @see R.or
* @see R.both, R.or
* @example

@@ -26,0 +26,0 @@ *

@@ -6,5 +6,7 @@ import _curry1 from "./internal/_curry1.js";

import _isString from "./internal/_isString.js";
import _isTypedArray from "./internal/_isTypedArray.js";
/**
* Returns the empty value of its argument's type. Ramda defines the empty
* value of Array (`[]`), Object (`{}`), String (`''`), and Arguments. Other
* value of Array (`[]`), Object (`{}`), String (`''`),
* TypedArray (`Uint8Array []`, `Float32Array []`, etc), and Arguments. Other
* types are supported if they define `<Type>.empty`,

@@ -25,6 +27,7 @@ * `<Type>.prototype.empty` or implement the

*
* R.empty(Just(42)); //=> Nothing()
* R.empty([1, 2, 3]); //=> []
* R.empty('unicorns'); //=> ''
* R.empty({x: 1, y: 2}); //=> {}
* R.empty(Just(42)); //=> Nothing()
* R.empty([1, 2, 3]); //=> []
* R.empty('unicorns'); //=> ''
* R.empty({x: 1, y: 2}); //=> {}
* R.empty(Uint8Array.from('123')); //=> Uint8Array []
*/

@@ -37,3 +40,3 @@

return arguments;
}() : void 0 // else
}() : _isTypedArray(x) ? x.constructor.from('') : void 0 // else
;

@@ -40,0 +43,0 @@ });

import _curry2 from "./internal/_curry2.js";
import _isArray from "./internal/_isArray.js";
import _isObject from "./internal/_isObject.js";
/**

@@ -33,2 +35,6 @@ * Creates a new object by recursively evolving a shallow copy of `object`,

_curry2(function evolve(transformations, object) {
if (!_isObject(object) && !_isArray(object)) {
return object;
}
var result = object instanceof Array ? [] : {};

@@ -35,0 +41,0 @@ var transformation, key, type;

@@ -40,3 +40,3 @@ import _curry2 from "./internal/_curry2.js";

/*#__PURE__*/
_dispatchable(['filter'], _xfilter, function (pred, filterable) {
_dispatchable(['fantasy-land/filter', 'filter'], _xfilter, function (pred, filterable) {
return _isObject(filterable) ? _reduce(function (acc, key) {

@@ -43,0 +43,0 @@ if (pred(filterable[key])) {

@@ -19,3 +19,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Number} The index of the element found, or `-1`.
* @see R.transduce
* @see R.transduce, R.indexOf
* @example

@@ -22,0 +22,0 @@ *

@@ -19,3 +19,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Number} The index of the element found, or `-1`.
* @see R.transduce
* @see R.transduce, R.lastIndexOf
* @example

@@ -22,0 +22,0 @@ *

@@ -6,3 +6,3 @@ import _checkForMethod from "./internal/_checkForMethod.js";

* Splits a list into sub-lists stored in an object, based on the result of
* calling a String-returning function on each element, and grouping the
* calling a key-returning function on each element, and grouping the
* results according to values returned.

@@ -18,8 +18,9 @@ *

* @category List
* @sig (a -> String) -> [a] -> {String: [a]}
* @param {Function} fn Function :: a -> String
* @typedefn Idx = String | Int | Symbol
* @sig Idx a => (b -> a) -> [b] -> {a: [b]}
* @param {Function} fn Function :: a -> Idx
* @param {Array} list The array to group
* @return {Object} An object with the output of `fn` for keys, mapped to arrays of elements
* that produced that key when passed to `fn`.
* @see R.reduceBy, R.transduce
* @see R.reduceBy, R.transduce, R.indexBy
* @example

@@ -54,10 +55,6 @@ *

reduceBy(function (acc, item) {
if (acc == null) {
acc = [];
}
acc.push(item);
return acc;
}, null)));
}, [])));
export default groupBy;

@@ -29,2 +29,3 @@ import _curry2 from "./internal/_curry2.js";

*
* const isVowel = R.test(/^[aeiou]$/i);
* R.groupWith(R.eqBy(isVowel), 'aestiou')

@@ -31,0 +32,0 @@ * //=> ['ae', 'st', 'iou']

import _curry2 from "./internal/_curry2.js";
import isNil from "./isNil.js";
/**

@@ -32,2 +33,6 @@ * Returns whether or not an object or its prototype chain has a property with

_curry2(function hasIn(prop, obj) {
if (isNil(obj)) {
return false;
}
return prop in obj;

@@ -34,0 +39,0 @@ });

@@ -12,3 +12,3 @@ import _curry2 from "./internal/_curry2.js";

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {a} -> Boolean

@@ -15,0 +15,0 @@ * @param {Array} path The path to use.

@@ -25,4 +25,4 @@ import _curry3 from "./internal/_curry3.js";

* );
* incCount({ count: 1 }); //=> { count: 2 }
* incCount({}); //=> { count: 1 }
* incCount({ count: 1 }); //=> { count: 2 }
*/

@@ -29,0 +29,0 @@

@@ -6,3 +6,3 @@ import _includes from "./internal/_includes.js";

* terms, to at least one element of the given list; `false` otherwise.
* Works also with strings.
* Also works with strings.
*

@@ -9,0 +9,0 @@ * @func

@@ -29,7 +29,6 @@ export { default as F } from "./F.js";

export { default as clone } from "./clone.js";
export { default as collectBy } from "./collectBy.js";
export { default as comparator } from "./comparator.js";
export { default as complement } from "./complement.js";
export { default as compose } from "./compose.js";
export { default as composeK } from "./composeK.js";
export { default as composeP } from "./composeP.js";
export { default as composeWith } from "./composeWith.js";

@@ -40,4 +39,4 @@ export { default as concat } from "./concat.js";

export { default as constructN } from "./constructN.js";
export { default as contains } from "./contains.js";
export { default as converge } from "./converge.js";
export { default as count } from "./count.js";
export { default as countBy } from "./countBy.js";

@@ -131,3 +130,2 @@ export { default as curry } from "./curry.js";

export { default as memoizeWith } from "./memoizeWith.js";
export { default as merge } from "./merge.js";
export { default as mergeAll } from "./mergeAll.js";

@@ -144,2 +142,4 @@ export { default as mergeDeepLeft } from "./mergeDeepLeft.js";

export { default as minBy } from "./minBy.js";
export { default as modify } from "./modify.js";
export { default as modifyPath } from "./modifyPath.js";
export { default as modulo } from "./modulo.js";

@@ -149,2 +149,3 @@ export { default as move } from "./move.js";

export { default as nAry } from "./nAry.js";
export { default as partialObject } from "./partialObject.js";
export { default as negate } from "./negate.js";

@@ -159,2 +160,3 @@ export { default as none } from "./none.js";

export { default as omit } from "./omit.js";
export { default as on } from "./on.js";
export { default as once } from "./once.js";

@@ -177,4 +179,2 @@ export { default as or } from "./or.js";

export { default as pipe } from "./pipe.js";
export { default as pipeK } from "./pipeK.js";
export { default as pipeP } from "./pipeP.js";
export { default as pipeWith } from "./pipeWith.js";

@@ -185,2 +185,3 @@ export { default as pluck } from "./pluck.js";

export { default as project } from "./project.js";
export { default as promap } from "./promap.js";
export { default as prop } from "./prop.js";

@@ -214,2 +215,3 @@ export { default as propEq } from "./propEq.js";

export { default as splitWhen } from "./splitWhen.js";
export { default as splitWhenever } from "./splitWhenever.js";
export { default as startsWith } from "./startsWith.js";

@@ -252,2 +254,3 @@ export { default as subtract } from "./subtract.js";

export { default as until } from "./until.js";
export { default as unwind } from "./unwind.js";
export { default as update } from "./update.js";

@@ -260,2 +263,3 @@ export { default as useWith } from "./useWith.js";

export { default as where } from "./where.js";
export { default as whereAny } from "./whereAny.js";
export { default as whereEq } from "./whereEq.js";

@@ -262,0 +266,0 @@ export { default as without } from "./without.js";

@@ -14,6 +14,8 @@ import reduceBy from "./reduceBy.js";

* @category List
* @sig (a -> String) -> [{k: v}] -> {k: {k: v}}
* @param {Function} fn Function :: a -> String
* @typedefn Idx = String | Int | Symbol
* @sig Idx a => (b -> a) -> [b] -> {a: b}
* @param {Function} fn Function :: a -> Idx
* @param {Array} array The array of objects to index
* @return {Object} An object indexing each array element by the given property.
* @see R.groupBy
* @example

@@ -20,0 +22,0 @@ *

@@ -17,3 +17,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Number} the index of the target, or -1 if the target is not found.
* @see R.lastIndexOf
* @see R.lastIndexOf, R.findIndex
* @example

@@ -20,0 +20,0 @@ *

@@ -8,3 +8,3 @@ import _isArray from "./_isArray.js";

* @private
* @param {Function} fn ramda implemtation
* @param {Function} fn ramda implementation
* @param {String} methodname property to check for a custom implementation

@@ -11,0 +11,0 @@ * @return {Object} Whatever the return value of the method is.

@@ -27,7 +27,9 @@ import _cloneRegExp from "./_cloneRegExp.js";

refFrom[idx + 1] = value;
refTo[idx + 1] = copiedValue;
refFrom[idx] = value;
refTo[idx] = copiedValue;
for (var key in value) {
copiedValue[key] = deep ? _clone(value[key], refFrom, refTo, true) : value[key];
if (value.hasOwnProperty(key)) {
copiedValue[key] = deep ? _clone(value[key], refFrom, refTo, true) : value[key];
}
}

@@ -40,3 +42,3 @@

case 'Object':
return copy({});
return copy(Object.create(Object.getPrototypeOf(value)));

@@ -52,2 +54,15 @@ case 'Array':

case 'Int8Array':
case 'Uint8Array':
case 'Uint8ClampedArray':
case 'Int16Array':
case 'Uint16Array':
case 'Int32Array':
case 'Uint32Array':
case 'Float32Array':
case 'Float64Array':
case 'BigInt64Array':
case 'BigUint64Array':
return value.slice();
default:

@@ -54,0 +69,0 @@ return value;

@@ -8,3 +8,4 @@ import _isArray from "./_isArray.js";

* execute that function (functor case). Otherwise, if it is a transformer,
* uses transducer [xf] to return a new transformer (transducer case).
* uses transducer created by [transducerCreator] to return a new transformer
* (transducer case).
* Otherwise, it will default to executing [fn].

@@ -14,3 +15,3 @@ *

* @param {Array} methodNames properties to check for a custom implementation
* @param {Function} xf transducer to initialize if object is transformer
* @param {Function} transducerCreator transducer factory if object is transformer
* @param {Function} fn default ramda implementation

@@ -20,3 +21,3 @@ * @return {Function} A function that dispatches on object in list position

export default function _dispatchable(methodNames, xf, fn) {
export default function _dispatchable(methodNames, transducerCreator, fn) {
return function () {

@@ -27,4 +28,3 @@ if (arguments.length === 0) {

var args = Array.prototype.slice.call(arguments, 0);
var obj = args.pop();
var obj = arguments[arguments.length - 1];

@@ -36,3 +36,3 @@ if (!_isArray(obj)) {

if (typeof obj[methodNames[idx]] === 'function') {
return obj[methodNames[idx]].apply(obj, args);
return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));
}

@@ -44,3 +44,3 @@

if (_isTransformer(obj)) {
var transducer = xf.apply(null, args);
var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));
return transducer(obj);

@@ -47,0 +47,0 @@ }

@@ -14,3 +14,3 @@ import _arrayFromIterator from "./_arrayFromIterator.js";

*
* false-positive result will be returned for comparision of, e.g.
* false-positive result will be returned for comparison of, e.g.
* - [1,2,3] and [1,2,3,4]

@@ -46,6 +46,2 @@ * - [1,1,1] and [1,2,3]

if (a == null || b == null) {
return false;
}
if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {

@@ -52,0 +48,0 @@ return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);

@@ -20,2 +20,3 @@ import _curry1 from "./_curry1.js";

* _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
* _isArrayLike({nodeType: 1, length: 1}) // => false
*/

@@ -42,6 +43,2 @@

if (x.nodeType === 1) {
return !!x.length;
}
if (x.length === 0) {

@@ -48,0 +45,0 @@ return true;

import _curry2 from "./internal/_curry2.js";
/**
* See if an object (`val`) is an instance of the supplied constructor. This
* See if an object (i.e. `val`) is an instance of the supplied constructor. This
* function will check up the inheritance chain, if any.
* If `val` was created using `Object.create`, `R.is(Object, val) === true`.
*

@@ -29,5 +30,5 @@ * @func

_curry2(function is(Ctor, val) {
return val != null && val.constructor === Ctor || val instanceof Ctor;
return val instanceof Ctor || val != null && (val.constructor === Ctor || Ctor.name === 'Object' && typeof val === 'object');
});
export default is;

@@ -18,8 +18,9 @@ import _curry1 from "./internal/_curry1.js";

*
* R.isEmpty([1, 2, 3]); //=> false
* R.isEmpty([]); //=> true
* R.isEmpty(''); //=> true
* R.isEmpty(null); //=> false
* R.isEmpty({}); //=> true
* R.isEmpty({length: 0}); //=> false
* R.isEmpty([1, 2, 3]); //=> false
* R.isEmpty([]); //=> true
* R.isEmpty(''); //=> true
* R.isEmpty(null); //=> false
* R.isEmpty({}); //=> true
* R.isEmpty({length: 0}); //=> false
* R.isEmpty(Uint8Array.from('')); //=> true
*/

@@ -26,0 +27,0 @@

@@ -46,3 +46,3 @@ import _curry1 from "./internal/_curry1.js";

* @return {Array} An array of the object's own properties.
* @see R.keysIn, R.values
* @see R.keysIn, R.values, R.toPairs
* @example

@@ -49,0 +49,0 @@ *

@@ -17,3 +17,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Number} the index of the target, or -1 if the target is not found.
* @see R.indexOf
* @see R.indexOf, R.findLastIndex
* @example

@@ -20,0 +20,0 @@ *

@@ -12,3 +12,3 @@ import _curry1 from "./internal/_curry1.js";

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s

@@ -15,0 +15,0 @@ * @sig [Idx] -> Lens s a

import _curry1 from "./internal/_curry1.js";
import liftN from "./liftN.js";
/**
* "lifts" a function of arity > 1 so that it may "map over" a list, Function or other
* "lifts" a function of arity >= 1 so that it may "map over" a list, Function or other
* object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).

@@ -19,7 +19,7 @@ *

*
* madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]
* madd3([100, 200], [30, 40], [5, 6, 7]); //=> [135, 136, 137, 145, 146, 147, 235, 236, 237, 245, 246, 247]
*
* const madd5 = R.lift((a, b, c, d, e) => a + b + c + d + e);
*
* madd5([1,2], [3], [4, 5], [6], [7, 8]); //=> [21, 22, 22, 23, 22, 23, 23, 24]
* madd5([10, 20], [1], [2, 3], [4], [100, 200]); //=> [117, 217, 118, 218, 127, 227, 128, 228]
*/

@@ -26,0 +26,0 @@

@@ -31,3 +31,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Array} The new list.
* @see R.transduce, R.addIndex
* @see R.transduce, R.addIndex, R.pluck, R.project
* @example

@@ -34,0 +34,0 @@ *

@@ -11,2 +11,4 @@ import _arity from "./internal/_arity.js";

*
* Care must be taken when implementing key generation to avoid key collision,
* or if tracking references, memory leaks and mutating arguments.
*

@@ -24,3 +26,3 @@ * @func

* let count = 0;
* const factorial = R.memoizeWith(R.identity, n => {
* const factorial = R.memoizeWith(Number, n => {
* count += 1;

@@ -27,0 +29,0 @@ * return R.product(R.range(1, n + 1));

import _objectAssign from "./internal/_objectAssign.js";
import _curry1 from "./internal/_curry1.js";
/**
* Merges a list of objects together into one object.
* Creates one new object with the own properties from a list of objects.
* If a key exists in more than one object, the value from the last
* object it exists in will be used.
*

@@ -6,0 +8,0 @@ * @func

@@ -24,3 +24,3 @@ import _complement from "./internal/_complement.js";

* const isEven = n => n % 2 === 0;
* const isOdd = n => n % 2 === 1;
* const isOdd = n => n % 2 !== 0;
*

@@ -27,0 +27,0 @@ * R.none(isEven, [1, 3, 5, 7, 9, 11]); //=> true

import _curry2 from "./internal/_curry2.js";
/**
* Returns `true` if one or both of its arguments are `true`. Returns `false`
* if both arguments are `false`.
* Returns the first argument if it is truthy, otherwise the second argument.
* Acts as the boolean `or` statement if both inputs are `Boolean`s.
*

@@ -13,4 +13,4 @@ * @func

* @param {Any} b
* @return {Any} the first argument if truthy, otherwise the second argument.
* @see R.either, R.xor
* @return {Any}
* @see R.either, R.and
* @example

@@ -17,0 +17,0 @@ *

@@ -17,15 +17,15 @@ import _curry2 from "./internal/_curry2.js";

* @return {Promise} The result of calling `p.then(null, onFailure)`
* @see R.then
* @see R.andThen
* @example
*
* var failedFetch = (id) => Promise.reject('bad ID');
* var useDefault = () => ({ firstName: 'Bob', lastName: 'Loblaw' })
* const failedFetch = id => Promise.reject('bad ID');
* const useDefault = () => ({ firstName: 'Bob', lastName: 'Loblaw' });
*
* //recoverFromFailure :: String -> Promise ({firstName, lastName})
* var recoverFromFailure = R.pipe(
* //recoverFromFailure :: String -> Promise ({ firstName, lastName })
* const recoverFromFailure = R.pipe(
* failedFetch,
* R.otherwise(useDefault),
* R.then(R.pick(['firstName', 'lastName'])),
* R.andThen(R.pick(['firstName', 'lastName'])),
* );
* recoverFromFailure(12345).then(console.log)
* recoverFromFailure(12345).then(console.log);
*/

@@ -32,0 +32,0 @@

@@ -27,3 +27,3 @@ import _curry3 from "./internal/_curry3.js"; // `Identity` is a functor that holds a single value, where `map` simply

* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @see R.view, R.set, R.lens, R.lensIndex, R.lensProp, R.lensPath
* @example

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

@@ -21,3 +21,3 @@ import _concat from "./internal/_concat.js";

* const double = R.partial(multiply2, [2]);
* double(2); //=> 4
* double(3); //=> 6
*

@@ -24,0 +24,0 @@ * const greet = (salutation, title, firstName, lastName) =>

@@ -10,3 +10,3 @@ import _curry2 from "./internal/_curry2.js";

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {a} -> a | Undefined

@@ -13,0 +13,0 @@ * @param {Array} path The path to use.

@@ -12,3 +12,3 @@ import _curry3 from "./internal/_curry3.js";

* @category Relation
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> a -> {a} -> Boolean

@@ -15,0 +15,0 @@ * @param {Array} path The path of the nested property to use

@@ -12,3 +12,3 @@ import _curry3 from "./internal/_curry3.js";

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig a -> [Idx] -> {a} -> a

@@ -15,0 +15,0 @@ * @param {*} d The default value.

@@ -11,3 +11,3 @@ import _curry2 from "./internal/_curry2.js";

* @category Object
* @typedefn Idx = [String | Int]
* @typedefn Idx = [String | Int | Symbol]
* @sig [Idx] -> {a} -> [a | Undefined]

@@ -14,0 +14,0 @@ * @param {Array} pathsArray The array of paths to be fetched.

@@ -11,3 +11,3 @@ import _curry3 from "./internal/_curry3.js";

* @category Logic
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig (a -> Boolean) -> [Idx] -> {a} -> Boolean

@@ -14,0 +14,0 @@ * @param {Function} pred

@@ -27,2 +27,3 @@ import _arity from "./internal/_arity.js";

* @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))
* @symb R.pipe(f, g, h)(a)(b) = h(g(f(a)))(b)
*/

@@ -29,0 +30,0 @@

@@ -8,4 +8,4 @@ import _arity from "./internal/_arity.js";

/**
* Performs left-to-right function composition using transforming function. The first argument may have
* any arity; the remaining arguments must be unary.
* Performs left-to-right function composition using transforming function. The first function may have
* any arity; the remaining functions must be unary.
*

@@ -20,3 +20,4 @@ * **Note:** The result of pipeWith is not automatically curried. Transforming function is not used on the

* @sig ((* -> *), [((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)]) -> ((a, b, ..., n) -> z)
* @param {...Function} functions
* @param {Function} transformer The transforming function
* @param {Array} functions The functions to pipe
* @return {Function}

@@ -23,0 +24,0 @@ * @see R.composeWith, R.pipe

@@ -20,3 +20,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Array} The list of values for the given key.
* @see R.props
* @see R.project, R.prop, R.props
* @example

@@ -23,0 +23,0 @@ *

@@ -17,2 +17,3 @@ import _map from "./internal/_map.js";

* @return {Array} An array of objects with just the `props` properties.
* @see R.pluck, R.props, R.prop
* @example

@@ -19,0 +20,0 @@ *

import _curry2 from "./internal/_curry2.js";
import path from "./path.js";
import _isInteger from "./internal/_isInteger.js";
import nth from "./nth.js";
/**

@@ -11,3 +12,3 @@ * Returns a function that when supplied an object returns the indicated

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig Idx -> {s: a} -> a | Undefined

@@ -17,3 +18,3 @@ * @param {String|Number} p The property name or array index

* @return {*} The value at `obj.p`.
* @see R.path, R.nth
* @see R.path, R.props, R.pluck, R.project, R.nth
* @example

@@ -30,5 +31,9 @@ *

_curry2(function prop(p, obj) {
return path([p], obj);
if (obj == null) {
return;
}
return _isInteger(p) ? nth(p, obj) : obj[p];
});
export default prop;
import _curry3 from "./internal/_curry3.js";
import prop from "./prop.js";
import equals from "./equals.js";

@@ -32,5 +33,5 @@ /**

_curry3(function propEq(name, val, obj) {
return equals(val, obj[name]);
return equals(val, prop(name, obj));
});
export default propEq;
import _curry3 from "./internal/_curry3.js";
import prop from "./prop.js";
import is from "./is.js";

@@ -27,5 +28,5 @@ /**

_curry3(function propIs(type, name, obj) {
return is(type, obj[name]);
return is(type, prop(name, obj));
});
export default propIs;
import _curry3 from "./internal/_curry3.js";
import pathOr from "./pathOr.js";
import defaultTo from "./defaultTo.js";
import prop from "./prop.js";
/**
* If the given, non-null object has an own property with the specified name,
* returns the value of that property. Otherwise returns the provided default
* value.
* Return the specified property of the given non-null object if the property
* is present and it's value is not `null`, `undefined` or `NaN`.
*
* Otherwise the first argument is returned.
*
* @func

@@ -33,5 +35,5 @@ * @memberOf R

_curry3(function propOr(val, p, obj) {
return pathOr(val, [p], obj);
return defaultTo(val, prop(p, obj));
});
export default propOr;

@@ -15,2 +15,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Array} The corresponding values or partially applied function.
* @see R.prop, R.pluck, R.project
* @example

@@ -17,0 +18,0 @@ *

import _curry3 from "./internal/_curry3.js";
import prop from "./prop.js";
/**

@@ -25,5 +26,5 @@ * Returns `true` if the specified object property satisfies the given

_curry3(function propSatisfies(pred, name, obj) {
return pred(obj[name]);
return pred(prop(name, obj));
});
export default propSatisfies;

@@ -6,2 +6,3 @@ import _clone from "./internal/_clone.js";

import _reduce from "./internal/_reduce.js";
import _reduced from "./internal/_reduced.js";
import _xreduceBy from "./internal/_xreduceBy.js";

@@ -13,2 +14,5 @@ /**

*
* The value function receives two values: *(acc, value)*. It may use
* [`R.reduced`](#reduced) to short circuit the iteration.
*
* This function is basically a more general [`groupBy`](#groupBy) function.

@@ -30,3 +34,3 @@ *

* `valueFn` for elements which produced that key when passed to `keyFn`.
* @see R.groupBy, R.reduce
* @see R.groupBy, R.reduce, R.reduced
* @example

@@ -59,3 +63,9 @@ *

var key = keyFn(elt);
acc[key] = valueFn(_has(key, acc) ? acc[key] : _clone(valueAcc, [], [], false), elt);
var value = valueFn(_has(key, acc) ? acc[key] : _clone(valueAcc, [], [], false), elt);
if (value && value['@@transducer/reduced']) {
return _reduced(acc);
}
acc[key] = value;
return acc;

@@ -62,0 +72,0 @@ }, {}, list);

@@ -8,5 +8,7 @@ import _curry1 from "./internal/_curry1.js";

*
* Note: this optimization is only available to the below functions:
* This optimization is available to the below functions:
* - [`reduce`](#reduce)
* - [`reduceWhile`](#reduceWhile)
* - [`reduceBy`](#reduceBy)
* - [`reduceRight`](#reduceRight)
* - [`transduce`](#transduce)

@@ -21,3 +23,3 @@ *

* @return {*} The wrapped value.
* @see R.reduce, R.reduceWhile, R.transduce
* @see R.reduce, R.reduceWhile, R.reduceBy, R.reduceRight, R.transduce
* @example

@@ -24,0 +26,0 @@ *

@@ -11,3 +11,4 @@ import _curry3 from "./internal/_curry3.js";

* The iterator function receives two values: *(value, acc)*, while the arguments'
* order of `reduce`'s iterator function is *(acc, value)*.
* order of `reduce`'s iterator function is *(acc, value)*. `reduceRight` may use [`reduced`](#reduced)
* to short circuit the iteration.
*

@@ -29,3 +30,3 @@ * Note: `R.reduceRight` does not skip deleted or unassigned indices (sparse

* @return {*} The final, accumulated value.
* @see R.reduce, R.addIndex
* @see R.reduce, R.addIndex, R.reduced
* @example

@@ -54,2 +55,8 @@ *

acc = fn(list[idx], acc);
if (acc && acc['@@transducer/reduced']) {
acc = acc['@@transducer/value'];
break;
}
idx -= 1;

@@ -56,0 +63,0 @@ }

@@ -9,3 +9,4 @@ import _curryN from "./internal/_curryN.js";

* returns `false`, it "short-circuits" the iteration and returns the current
* value of the accumulator.
* value of the accumulator. `reduceWhile` may alternatively be short-circuited
* via [`reduced`](#reduced).
*

@@ -27,3 +28,3 @@ * @func

*
* const isOdd = (acc, x) => x % 2 === 1;
* const isOdd = (acc, x) => x % 2 !== 0;
* const xs = [1, 3, 5, 60, 777, 800];

@@ -30,0 +31,0 @@ * R.reduceWhile(isOdd, R.add, 0, xs); //=> 9

@@ -22,3 +22,3 @@ import _complement from "./internal/_complement.js";

*
* const isOdd = (n) => n % 2 === 1;
* const isOdd = (n) => n % 2 !== 0;
*

@@ -25,0 +25,0 @@ * R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]

@@ -18,3 +18,3 @@ import _curry3 from "./internal/_curry3.js";

* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @see R.view, R.over, R.lens, R.lensIndex, R.lensProp, R.lensPath
* @example

@@ -21,0 +21,0 @@ *

@@ -17,2 +17,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Array} a new array with its elements sorted by the comparator function.
* @see R.ascend, R.descend
* @example

@@ -19,0 +20,0 @@ *

@@ -13,2 +13,3 @@ import _curry2 from "./internal/_curry2.js";

* @return {Array} A new list sorted according to the comarator functions.
* @see R.ascend, R.descend
* @example

@@ -15,0 +16,0 @@ *

@@ -16,3 +16,3 @@ import _curry1 from "./internal/_curry1.js";

* @return {Array} An array of key, value arrays from the object's own properties.
* @see R.fromPairs
* @see R.fromPairs, R.keys, R.values
* @example

@@ -19,0 +19,0 @@ *

@@ -18,3 +18,3 @@ import _reduce from "./internal/_reduce.js";

*
* A transformer is an an object that provides a 2-arity reducing iterator
* A transformer is an object that provides a 2-arity reducing iterator
* function, step, 0-arity initial value function, init, and 1-arity result

@@ -48,3 +48,3 @@ * extraction function, result. The step function is used as the iterator

*
* const isOdd = (x) => x % 2 === 1;
* const isOdd = (x) => x % 2 !== 0;
* const firstOddTransducer = R.compose(R.filter(isOdd), R.take(1));

@@ -51,0 +51,0 @@ * R.transduce(firstOddTransducer, R.flip(R.append), [], R.range(0, 100)); //=> [1]

@@ -34,5 +34,5 @@ import _curry3 from "./internal/_curry3.js";

_curry3(function traverse(of, f, traversable) {
return typeof traversable['fantasy-land/traverse'] === 'function' ? traversable['fantasy-land/traverse'](f, of) : sequence(of, map(f, traversable));
return typeof traversable['fantasy-land/traverse'] === 'function' ? traversable['fantasy-land/traverse'](f, of) : typeof traversable.traverse === 'function' ? traversable.traverse(f, of) : sequence(of, map(f, traversable));
});
export default traverse;

@@ -19,7 +19,8 @@ import _arity from "./internal/_arity.js";

* @param {Function} catcher The function that will be evaluated if `tryer` throws.
* @return {Function} A new function that will catch exceptions and send then to the catcher.
* @return {Function} A new function that will catch exceptions and send them to the catcher.
* @example
*
* R.tryCatch(R.prop('x'), R.F)({x: true}); //=> true
* R.tryCatch(() => { throw 'foo'}, R.always('catched'))('bar') // => 'catched'
* R.tryCatch(() => { throw 'foo'}, R.always('caught'))('bar') // =>
* 'caught'
* R.tryCatch(R.times(R.identity), R.always([]))('s') // => []

@@ -26,0 +27,0 @@ * R.tryCatch(() => { throw 'this is not a valid value'}, (err, value)=>({error : err, value }))('bar') // => {'error': 'this is not a valid value', 'value': 'bar'}

@@ -12,3 +12,3 @@ import _curry1 from "./internal/_curry1.js";

* @category Function
* @sig (* -> b) -> (a -> b)
* @sig (a -> b -> c -> ... -> z) -> (a -> z)
* @param {Function} fn The function to wrap.

@@ -15,0 +15,0 @@ * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of

@@ -5,2 +5,5 @@ import _curry2 from "./internal/_curry2.js";

* Returns a function of arity `n` from a (manually) curried function.
* Note that, the returned function is actually a ramda style
* curryied function, which can accept one or more arguments in each
* function calling.
*

@@ -11,7 +14,7 @@ * @func

* @category Function
* @sig Number -> (a -> b) -> (a -> c)
* @sig Number -> (a -> b -> c ... -> z) -> ((a -> b -> c ...) -> z)
* @param {Number} length The arity for the returned function.
* @param {Function} fn The function to uncurry.
* @return {Function} A new function.
* @see R.curry
* @see R.curry, R.curryN
* @example

@@ -18,0 +21,0 @@ *

@@ -7,3 +7,4 @@ import _concat from "./internal/_concat.js";

* of each list. Duplication is determined according to the value returned by
* applying the supplied predicate to two list elements.
* applying the supplied predicate to two list elements. If an element exists
* in both lists, the first element from the first list will be used.
*

@@ -10,0 +11,0 @@ * @func

import _Set from "./internal/_Set.js";
import _curry2 from "./internal/_curry2.js";
import _dispatchable from "./internal/_dispatchable.js";
import _xuniqBy from "./internal/_xuniqBy.js";
/**

@@ -9,2 +11,4 @@ * Returns a new list containing only one copy of each element in the original

*
* Acts as a transducer if a transformer is given in list position.
*
* @func

@@ -25,3 +29,5 @@ * @memberOf R

/*#__PURE__*/
_curry2(function uniqBy(fn, list) {
_curry2(
/*#__PURE__*/
_dispatchable([], _xuniqBy, function (fn, list) {
var set = new _Set();

@@ -44,4 +50,4 @@ var result = [];

return result;
});
}));
export default uniqBy;

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

import _curry2 from "./internal/_curry2.js";
import _dispatchable from "./internal/_dispatchable.js";
import _includesWith from "./internal/_includesWith.js";
import _curry2 from "./internal/_curry2.js";
import _xuniqWith from "./internal/_xuniqWith.js";
/**

@@ -9,2 +11,4 @@ * Returns a new list containing only one copy of each element in the original

*
* Acts as a transducer if a transformer is given in list position.
*
* @func

@@ -29,3 +33,5 @@ * @memberOf R

/*#__PURE__*/
_curry2(function uniqWith(pred, list) {
_curry2(
/*#__PURE__*/
_dispatchable([], _xuniqWith, function (pred, list) {
var idx = 0;

@@ -47,4 +53,4 @@ var len = list.length;

return result;
});
}));
export default uniqWith;

@@ -12,3 +12,3 @@ import _curry3 from "./internal/_curry3.js";

* @category Logic
* @sig (a -> Boolean) -> (a -> a) -> a -> a
* @sig (a -> Boolean) -> (a -> b) -> a -> a | b
* @param {Function} pred A predicate function

@@ -15,0 +15,0 @@ * @param {Function} whenFalseFn A function to invoke when the `pred` evaluates

@@ -15,3 +15,3 @@ import _curry1 from "./internal/_curry1.js";

* @return {Array} An array of the values of the object's own properties.
* @see R.valuesIn, R.keys
* @see R.valuesIn, R.keys, R.toPairs
* @example

@@ -18,0 +18,0 @@ *

@@ -24,3 +24,3 @@ import _curry2 from "./internal/_curry2.js"; // `Const` is a functor that effectively ignores the function given to `map`.

* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @see R.set, R.over, R.lens, R.lensIndex, R.lensProp, R.lensPath
* @example

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

@@ -12,3 +12,3 @@ import _curry3 from "./internal/_curry3.js";

* @category Logic
* @sig (a -> Boolean) -> (a -> a) -> a -> a
* @sig (a -> Boolean) -> (a -> b) -> a -> a | b
* @param {Function} pred A predicate function

@@ -15,0 +15,0 @@ * @param {Function} whenTrueFn A function to invoke when the `condition`

The MIT License (MIT)
Copyright (c) 2013-2018 Scott Sauyet and Michael Hurley
Copyright (c) 2013-2020 Scott Sauyet and Michael Hurley

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

@@ -41,3 +41,3 @@ {

"sideEffects": false,
"version": "0.27.2",
"version": "0.28.0",
"homepage": "https://ramdajs.com/",

@@ -49,4 +49,18 @@ "license": "MIT",

},
"module": "es/index.js",
"main": "src/index",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/ramda"
},
"main": "./src/index.js",
"exports": {
".": {
"require": "./src/index.js",
"import": "./es/index.js",
"default": "./src/index.js"
},
"./es/": "./es/",
"./src/": "./src/",
"./dist/": "./dist/"
},
"module": "./es/index.js",
"unpkg": "dist/ramda.min.js",

@@ -63,15 +77,15 @@ "jsdelivr": "dist/ramda.min.js",

"bookmarklet": "node scripts/bookmarklet",
"build:es": "cross-env BABEL_ENV=es babel source --out-dir es",
"build:es": "cross-env BABEL_ENV=es babel source --out-dir es && node ./scripts/addModulePackageScope.js",
"build:cjs": "cross-env BABEL_ENV=cjs babel source --out-dir src",
"build:mjs": "cross-env BABEL_ENV=es babel source/index.js --out-file src/index.mjs",
"build:umd": "cross-env NODE_ENV=development rollup -c -o dist/ramda.js",
"build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/ramda.min.js",
"build": "npm run build:es && npm run build:cjs && npm run build:umd && npm run build:umd:min && npm run build:mjs",
"build": "npm run build:es && npm run build:cjs && npm run build:umd && npm run build:umd:min",
"partial-build": "node ./scripts/partialBuild",
"clean": "rimraf es/* src/* dist/* coverage/*",
"prepare": "npm run clean && npm run build",
"coverage": "istanbul cover node_modules/.bin/_mocha -- --reporter spec",
"coverage": "BABEL_ENV=cjs nyc --reporter=lcov mocha -- --require @babel/register",
"lint": "eslint scripts/bookmarklet scripts/*.js source/*.js source/internal/*.js test/*.js test/**/*.js lib/sauce/*.js lib/bench/*.js",
"browser_test": "testem ci",
"test": "cross-env BABEL_ENV=cjs mocha --require @babel/register --reporter spec"
"spec": "cross-env BABEL_ENV=cjs mocha --require @babel/register --reporter spec",
"test": "npm run spec && npm run lint"
},

@@ -82,4 +96,6 @@ "dependencies": {},

"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.7.4",
"@babel/register": "^7.4.4",
"@babel/types": "^7.4.4",
"@babel/register": "^7.4.4",
"@rollup/plugin-babel": "^5.0.4",
"babel-plugin-annotate-pure-calls": "^0.4.0",

@@ -95,11 +111,11 @@ "babel-plugin-import-export-rename": "^1.0.1",

"eslint": "^5.16.0",
"eslint-plugin-import": "^2.21.2",
"fast-check": "^2.12.0",
"handlebars": ">=4.1.2",
"istanbul": "^0.4.x",
"js-yaml": "^3.13.1",
"jsverify": "^0.8.4",
"mocha": "^6.1.4",
"ramda": "0.17.x",
"nyc": "^15.0.1",
"rimraf": "^2.6.3",
"rollup": "^0.68.2",
"rollup-plugin-uglify": "^6.0.2",
"rollup": "^1.32.1",
"rollup-plugin-uglify": "^6.0.4",
"sanctuary": "0.7.x",

@@ -106,0 +122,0 @@ "sinon": "^7.3.2",

@@ -6,5 +6,7 @@ Ramda

[![Build Status](https://travis-ci.org/ramda/ramda.svg?branch=master)](https://travis-ci.org/ramda/ramda)
[![Build Status](https://github.com/ramda/ramda/workflows/Build/badge.svg)](https://github.com/ramda/ramda/actions?query=workflow%3ABuild)
[![Test Coverage](https://api.codeclimate.com/v1/badges/953a3c5ee423e5301d18/test_coverage)](https://codeclimate.com/github/ramda/ramda/test_coverage)
[![npm module](https://badge.fury.io/js/ramda.svg)](https://www.npmjs.org/package/ramda)
[![dependencies](https://david-dm.org/ramda/ramda.svg)](https://david-dm.org/ramda/ramda)
[![deno land](http://img.shields.io/badge/available%20on-deno.land/x-lightgrey.svg?logo=deno&labelColor=black)](https://deno.land/x/ramda@v0.27.2)
[![nest badge](https://nest.land/badge.svg)](https://nest.land/package/ramda)
[![Gitter](https://badges.gitter.im/Join_Chat.svg)](https://gitter.im/ramda/ramda?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@@ -51,3 +53,3 @@

* [Hey Underscore, You're Doing It Wrong!](https://www.youtube.com/watch?v=m3svKOdZijA&app=desktop) by Brian Lonsdorf
* [Thinking in Ramda](http://randycoulman.com/blog/categories/thinking-in-ramda) by Randy Coulman
* [Thinking in Ramda](https://randycoulman.com/blog/categories/thinking-in-ramda) by Randy Coulman

@@ -96,2 +98,12 @@

To use directly in [Deno](https://deno.land):
```javascript
import * as R from "https://deno.land/x/ramda@v0.27.2/mod.ts";
```
or using Nest.land:
```javascript
import * as R from "https://x.nest.land/ramda@0.27.2/mod.ts";
```
To use directly in the browser:

@@ -134,2 +146,6 @@

**Note for ES6 module and browsers**
In order to access to the ES6 module in browsers, one has to provide the content of the __es__ directory (see below for the build instructions) and use `import * as R from './node_modules/ramda/es/index.js';`
### Build

@@ -147,3 +163,5 @@

### Install specific functions
[Install individual functions](https://bitsrc.io/ramda/ramda) with bit, npm and yarn without installing the whole library.

@@ -232,3 +250,3 @@ Documentation

- [TypeScript](https://github.com/types/npm-ramda/)
- [TypeScript](https://www.npmjs.com/package/@types/ramda)
- [Flow](https://github.com/flowtype/flow-typed/tree/master/definitions/npm/ramda_v0.x.x)

@@ -246,5 +264,13 @@

- [Russian(Русский)](https://github.com/Guck111/ramda)
- [Spanish(ES)](https://github.com/wirecobweb/ramda)
Funding
-----------------
If you wish to donate to Ramda please see our [Open Collective](https://opencollective.com/ramda) page. Thank you!
Acknowledgements

@@ -251,0 +277,0 @@ -----------------

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Adds two values.

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**

@@ -27,3 +27,3 @@ * Creates a new list iteration function from an existing one by adding two new

* @category List
* @sig ((a ... -> b) ... -> [a] -> *) -> ((a ..., Int, [a] -> b) ... -> [a] -> *)
* @sig (((a ...) -> b) ... -> [a] -> *) -> (((a ..., Int, [a]) -> b) ... -> [a] -> *)
* @param {Function} fn A list iteration function that does not pass index or list to its callback

@@ -30,0 +30,0 @@ * @return {Function} An altered list iteration function that passes (item, index, list) to its callback

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -38,10 +38,10 @@ * Applies a function to the value at the given index of an array, returning a

_curry3(function adjust(idx, fn, list) {
if (idx >= list.length || idx < -list.length) {
var len = list.length;
if (idx >= len || idx < -len) {
return list;
}
var start = idx < 0 ? list.length : 0;
var _idx = (len + idx) % len;
var _idx = start + idx;
var _list = _concat(list);

@@ -48,0 +48,0 @@

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xall =
/*#__PURE__*/
require("./internal/_xall");
require("./internal/_xall.js");
/**

@@ -13,0 +13,0 @@ * Returns `true` if all elements of the list match the predicate, `false` if

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var max =
/*#__PURE__*/
require("./max");
require("./max.js");
var pluck =
/*#__PURE__*/
require("./pluck");
require("./pluck.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
/**

@@ -21,0 +21,0 @@ * Takes a list of predicates and returns a predicate that returns true for a

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Returns a function that always returns the given value. Note that for

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**
* Returns `true` if both arguments are `true`; `false` otherwise.
* Returns the first argument if it is falsy, otherwise the second argument.
* Acts as the boolean `and` statement if both inputs are `Boolean`s.
*

@@ -14,4 +15,4 @@ * @func

* @param {Any} b
* @return {Any} the first argument if it is falsy, otherwise the second argument.
* @see R.both, R.xor
* @return {Any}
* @see R.both, R.or
* @example

@@ -18,0 +19,0 @@ *

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _assertPromise =
/*#__PURE__*/
require("./internal/_assertPromise");
require("./internal/_assertPromise.js");
/**

@@ -25,6 +25,8 @@ * Returns the result of applying the onSuccess function to the value inside

*
* var makeQuery = (email) => ({ query: { email }});
* const makeQuery = email => ({ query: { email }});
* const fetchMember = request =>
* Promise.resolve({ firstName: 'Bob', lastName: 'Loblaw', id: 42 });
*
* //getMemberName :: String -> Promise ({firstName, lastName})
* var getMemberName = R.pipe(
* //getMemberName :: String -> Promise ({ firstName, lastName })
* const getMemberName = R.pipe(
* makeQuery,

@@ -34,2 +36,4 @@ * fetchMember,

* );
*
* getMemberName('bob@gmail.com').then(console.log);
*/

@@ -36,0 +40,0 @@

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xany =
/*#__PURE__*/
require("./internal/_xany");
require("./internal/_xany.js");
/**

@@ -13,0 +13,0 @@ * Returns `true` if at least one of the elements of the list match the predicate,

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var max =
/*#__PURE__*/
require("./max");
require("./max.js");
var pluck =
/*#__PURE__*/
require("./pluck");
require("./pluck.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
/**

@@ -21,0 +21,0 @@ * Takes a list of predicates and returns a predicate that returns true for a

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
/**

@@ -17,0 +17,0 @@ * ap applies a list of functions to a list of values.

var _aperture =
/*#__PURE__*/
require("./internal/_aperture");
require("./internal/_aperture.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xaperture =
/*#__PURE__*/
require("./internal/_xaperture");
require("./internal/_xaperture.js");
/**

@@ -17,0 +17,0 @@ * Returns a new list, composed of n-tuples of consecutive elements. If `n` is

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list containing the contents of the given list, followed by

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Applies function `fn` to the argument list `args`. This is useful for

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray.js");
var apply =
/*#__PURE__*/
require("./apply");
require("./apply.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var max =
/*#__PURE__*/
require("./max");
require("./max.js");
var pluck =
/*#__PURE__*/
require("./pluck");
require("./pluck.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
var values =
/*#__PURE__*/
require("./values"); // Use custom mapValues function to avoid issues with specs that include a "map" key and R.map
require("./values.js"); // Use custom mapValues function to avoid issues with specs that include a "map" key and R.map
// delegating calls to .map

@@ -36,3 +40,3 @@

function mapValues(fn, obj) {
return keys(obj).reduce(function (acc, key) {
return _isArray(obj) ? obj.map(fn) : keys(obj).reduce(function (acc, key) {
acc[key] = fn(obj[key]);

@@ -39,0 +43,0 @@ return acc;

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Takes a value and applies a function to it.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Makes an ascending comparator function out of a function that returns a value

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var assocPath =
/*#__PURE__*/
require("./assocPath.js");
/**

@@ -14,4 +18,5 @@ * Makes a shallow clone of an object, setting or overriding the specified

* @category Object
* @sig String -> a -> {k: v} -> {k: v}
* @param {String} prop The property name to set
* @typedefn Idx = String | Int
* @sig Idx -> a -> {k: v} -> {k: v}
* @param {String|Number} prop The property name to set
* @param {*} val The new value

@@ -30,12 +35,5 @@ * @param {Object} obj The object to clone

_curry3(function assoc(prop, val, obj) {
var result = {};
for (var p in obj) {
result[p] = obj[p];
}
result[prop] = val;
return result;
return assocPath([prop], val, obj);
});
module.exports = assoc;
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray");
var _isInteger =
/*#__PURE__*/
require("./internal/_isInteger");
require("./internal/_isInteger.js");
var assoc =
var _assoc =
/*#__PURE__*/
require("./assoc");
require("./internal/_assoc.js");
var isNil =
/*#__PURE__*/
require("./isNil");
require("./isNil.js");
/**

@@ -34,3 +30,3 @@ * Makes a shallow clone of an object, setting or overriding the nodes required

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> a -> {a} -> {a}

@@ -65,11 +61,5 @@ * @param {Array} path the path to set

if (_isInteger(idx) && _isArray(obj)) {
var arr = [].concat(obj);
arr[idx] = val;
return arr;
} else {
return assoc(idx, val, obj);
}
return _assoc(idx, val, obj);
});
module.exports = assocPath;
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var nAry =
/*#__PURE__*/
require("./nAry");
require("./nAry.js");
/**

@@ -17,3 +17,3 @@ * Wraps a function of any arity (including nullary) in a function that accepts

* @category Function
* @sig (* -> c) -> (a, b -> c)
* @sig (a -> b -> c -> ... -> z) -> ((a, b) -> z)
* @param {Function} fn The function to wrap.

@@ -20,0 +20,0 @@ * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Creates a function that is bound to a context.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isFunction =
/*#__PURE__*/
require("./internal/_isFunction");
require("./internal/_isFunction.js");
var and =
/*#__PURE__*/
require("./and");
require("./and.js");
var lift =
/*#__PURE__*/
require("./lift");
require("./lift.js");
/**

@@ -35,3 +35,3 @@ * A function which calls the two provided functions and returns the `&&`

* @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together.
* @see R.and
* @see R.either, R.and
* @example

@@ -38,0 +38,0 @@ *

@@ -1,4 +0,4 @@

var curry =
var _curry1 =
/*#__PURE__*/
require("./curry");
require("./internal/_curry1.js");
/**

@@ -15,3 +15,3 @@ * Returns the result of calling its first argument with the remaining

* @category Function
* @sig (*... -> a),*... -> a
* @sig ((*... -> a), *...) -> a
* @param {Function} fn The function to apply to the remaining arguments.

@@ -25,10 +25,15 @@ * @param {...*} args Any number of positional arguments.

*
* const indentN = R.pipe(R.repeat(' '),
* R.join(''),
* R.replace(/^(?!$)/gm));
* const indentN = R.pipe(
* R.repeat(' '),
* R.join(''),
* R.replace(/^(?!$)/gm)
* );
*
* const format = R.converge(R.call, [
* R.pipe(R.prop('indent'), indentN),
* R.prop('value')
* ]);
* const format = R.converge(
* R.call,
* [
* R.pipe(R.prop('indent'), indentN),
* R.prop('value')
* ]
* );
*

@@ -42,5 +47,6 @@ * format({indent: 2, value: 'foo\nbar\nbaz\n'}); //=> ' foo\n bar\n baz\n'

/*#__PURE__*/
curry(function call(fn) {
_curry1(function call(fn) {
return fn.apply(this, Array.prototype.slice.call(arguments, 1));
});
module.exports = call;
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _makeFlat =
/*#__PURE__*/
require("./internal/_makeFlat");
require("./internal/_makeFlat.js");
var _xchain =
/*#__PURE__*/
require("./internal/_xchain");
require("./internal/_xchain.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
/**

@@ -21,0 +21,0 @@ * `chain` maps a function over a list and concatenates the results. `chain`

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Restricts a number to be within a range.

var _clone =
/*#__PURE__*/
require("./internal/_clone");
require("./internal/_clone.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**
* Creates a deep copy of the value which may contain (nested) `Array`s and
* `Object`s, `Number`s, `String`s, `Boolean`s and `Date`s. `Function`s are
* assigned by reference rather than copied
* Creates a deep copy of the source that can be used in place of the source
* object without retaining any references to it.
* The source object may contain (nested) `Array`s and `Object`s,
* `Number`s, `String`s, `Boolean`s and `Date`s.
* `Function`s are assigned by reference rather than copied.
*
* Dispatches to a `clone` method if present.
*
* Note that if the source object has multiple nodes that share a reference,
* the returned object will have the same structure, but the references will
* be pointed to the location within the cloned value.
*
* @func

@@ -16,0 +22,0 @@ * @memberOf R

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Makes a comparator function out of a function that reports whether the first

var lift =
/*#__PURE__*/
require("./lift");
require("./lift.js");
var not =
/*#__PURE__*/
require("./not");
require("./not.js");
/**

@@ -25,5 +25,5 @@ * Takes a function `f` and returns a function `g` such that if called with the same arguments

* const isNotNil = R.complement(R.isNil);
* isNil(null); //=> true
* R.isNil(null); //=> true
* isNotNil(null); //=> false
* isNil(7); //=> false
* R.isNil(7); //=> false
* isNotNil(7); //=> true

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

var pipe =
/*#__PURE__*/
require("./pipe");
require("./pipe.js");
var reverse =
/*#__PURE__*/
require("./reverse");
require("./reverse.js");
/**

@@ -31,2 +31,3 @@ * Performs right-to-left function composition. The last argument may have

* @symb R.compose(f, g, h)(a, b) = f(g(h(a, b)))
* @symb R.compose(f, g, h)(a)(b) = f(g(h(a)))(b)
*/

@@ -33,0 +34,0 @@

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var pipeWith =
/*#__PURE__*/
require("./pipeWith");
require("./pipeWith.js");
var reverse =
/*#__PURE__*/
require("./reverse");
require("./reverse.js");
/**
* Performs right-to-left function composition using transforming function. The last argument may have
* any arity; the remaining arguments must be unary.
* Performs right-to-left function composition using transforming function. The last function may have
* any arity; the remaining functions must be unary.
*
* **Note:** The result of compose is not automatically curried. Transforming function is not used on the
* last argument.
* **Note:** The result of composeWith is not automatically curried. Transforming function is not used
* on the last argument.
*

@@ -24,3 +24,4 @@ * @func

* @sig ((* -> *), [(y -> z), (x -> y), ..., (o -> p), ((a, b, ..., n) -> o)]) -> ((a, b, ..., n) -> z)
* @param {...Function} ...functions The functions to compose
* @param {Function} transformer The transforming function
* @param {Array} functions The functions to compose
* @return {Function}

@@ -27,0 +28,0 @@ * @see R.compose, R.pipeWith

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray");
require("./internal/_isArray.js");
var _isFunction =
/*#__PURE__*/
require("./internal/_isFunction");
require("./internal/_isFunction.js");
var _isString =
/*#__PURE__*/
require("./internal/_isString");
require("./internal/_isString.js");
var toString =
/*#__PURE__*/
require("./toString");
require("./toString.js");
/**

@@ -21,0 +21,0 @@ * Returns the result of concatenating the given lists or strings.

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
var max =
/*#__PURE__*/
require("./max");
require("./max.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
/**

@@ -28,2 +28,6 @@ * Returns a function, `fn`, which encapsulates `if/else, if/else, ...` logic.

*
* **Please note**: This is not a direct substitute for a `switch` statement.
* Remember that both elements of every pair passed to `cond` are *functions*,
* and `cond` returns a function.
*
* @func

@@ -30,0 +34,0 @@ * @memberOf R

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var constructN =
/*#__PURE__*/
require("./constructN");
require("./constructN.js");
/**

@@ -9,0 +9,0 @@ * Wraps a constructor function inside a curried function that can be called

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var curry =
/*#__PURE__*/
require("./curry");
require("./curry.js");
var nAry =
/*#__PURE__*/
require("./nAry");
require("./nAry.js");
/**

@@ -13,0 +13,0 @@ * Wraps a constructor function inside a curried function that can be called

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _map =
/*#__PURE__*/
require("./internal/_map");
require("./internal/_map.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var max =
/*#__PURE__*/
require("./max");
require("./max.js");
var pluck =
/*#__PURE__*/
require("./pluck");
require("./pluck.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
/**

@@ -25,0 +25,0 @@ * Accepts a converging function and a list of branching functions and returns

var reduceBy =
/*#__PURE__*/
require("./reduceBy");
require("./reduceBy.js");
/**

@@ -5,0 +5,0 @@ * Counts the elements of a list according to how many match each value of a

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**

@@ -9,0 +9,0 @@ * Returns a curried equivalent of the provided function. The curried function

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _curryN =
/*#__PURE__*/
require("./internal/_curryN");
require("./internal/_curryN.js");
/**

@@ -17,0 +17,0 @@ * Returns a curried equivalent of the provided function, with the specified

var add =
/*#__PURE__*/
require("./add");
require("./add.js");
/**

@@ -5,0 +5,0 @@ * Decrements its argument.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns the second argument if it is not `null`, `undefined` or `NaN`;

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Makes a descending comparator function out of a function that returns a value

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _Set =
/*#__PURE__*/
require("./internal/_Set");
require("./internal/_Set.js");
/**

@@ -9,0 +9,0 @@ * Finds the set (i.e. no duplicates) of all elements in the first list not

var _includesWith =
/*#__PURE__*/
require("./internal/_includesWith");
require("./internal/_includesWith.js");
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -9,0 +9,0 @@ * Finds the set (i.e. no duplicates) of all elements in the first list not

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var dissocPath =
/*#__PURE__*/
require("./dissocPath.js");
/**

@@ -25,12 +29,5 @@ * Returns a new object that does not contain a `prop` property.

_curry2(function dissoc(prop, obj) {
var result = {};
for (var p in obj) {
result[p] = obj[p];
}
delete result[prop];
return result;
return dissocPath([prop], obj);
});
module.exports = dissoc;
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dissoc =
/*#__PURE__*/
require("./internal/_dissoc.js");
var _isInteger =
/*#__PURE__*/
require("./internal/_isInteger");
require("./internal/_isInteger.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray");
require("./internal/_isArray.js");
var assoc =
/*#__PURE__*/
require("./assoc");
require("./assoc.js");
/**
* Makes a shallow clone of an object. Note that this copies and flattens
* prototype properties onto the new object as well. All non-primitive
* properties are copied by reference.
*
* @private
* @param {String|Integer} prop The prop operating
* @param {Object|Array} obj The object to clone
* @return {Object|Array} A new object equivalent to the original.
*/
var dissoc =
/*#__PURE__*/
require("./dissoc");
var remove =
/*#__PURE__*/
require("./remove");
function _shallowCloneObject(prop, obj) {
if (_isInteger(prop) && _isArray(obj)) {
return [].concat(obj);
}
var update =
/*#__PURE__*/
require("./update");
var result = {};
for (var p in obj) {
result[p] = obj[p];
}
return result;
}
/**

@@ -37,3 +54,3 @@ * Makes a shallow clone of an object, omitting the property at the given path.

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {k: v} -> {k: v}

@@ -53,2 +70,6 @@ * @param {Array} path The path to the value to omit

_curry2(function dissocPath(path, obj) {
if (obj == null) {
return obj;
}
switch (path.length) {

@@ -59,3 +80,3 @@ case 0:

case 1:
return _isInteger(path[0]) && _isArray(obj) ? remove(path[0], 1, obj) : dissoc(path[0], obj);
return _dissoc(path[0], obj);

@@ -67,5 +88,3 @@ default:

if (obj[head] == null) {
return obj;
} else if (_isInteger(head) && _isArray(obj)) {
return update(head, dissocPath(tail, obj[head]), obj);
return _shallowCloneObject(head, obj);
} else {

@@ -72,0 +91,0 @@ return assoc(head, dissocPath(tail, obj[head]), obj);

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Divides two numbers. Equivalent to `a / b`.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xdrop =
/*#__PURE__*/
require("./internal/_xdrop");
require("./internal/_xdrop.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -17,0 +17,0 @@ * Returns all but the first `n` elements of the given list, string, or

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _dropLast =
/*#__PURE__*/
require("./internal/_dropLast");
require("./internal/_dropLast.js");
var _xdropLast =
/*#__PURE__*/
require("./internal/_xdropLast");
require("./internal/_xdropLast.js");
/**

@@ -17,0 +17,0 @@ * Returns a list containing all but the last `n` elements of the given `list`.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _dropLastWhile =
/*#__PURE__*/
require("./internal/_dropLastWhile");
require("./internal/_dropLastWhile.js");
var _xdropLastWhile =
/*#__PURE__*/
require("./internal/_xdropLastWhile");
require("./internal/_xdropLastWhile.js");
/**

@@ -17,0 +17,0 @@ * Returns a new list excluding all the tailing elements of a given list which

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xdropRepeatsWith =
/*#__PURE__*/
require("./internal/_xdropRepeatsWith");
require("./internal/_xdropRepeatsWith.js");
var dropRepeatsWith =
/*#__PURE__*/
require("./dropRepeatsWith");
require("./dropRepeatsWith.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
/**

@@ -21,0 +21,0 @@ * Returns a new list without any consecutively repeating elements.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xdropRepeatsWith =
/*#__PURE__*/
require("./internal/_xdropRepeatsWith");
require("./internal/_xdropRepeatsWith.js");
var last =
/*#__PURE__*/
require("./last");
require("./last.js");
/**

@@ -17,0 +17,0 @@ * Returns a new list without any consecutively repeating elements. Equality is

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xdropWhile =
/*#__PURE__*/
require("./internal/_xdropWhile");
require("./internal/_xdropWhile.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -17,0 +17,0 @@ * Returns a new list excluding the leading elements of a given list which

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isFunction =
/*#__PURE__*/
require("./internal/_isFunction");
require("./internal/_isFunction.js");
var lift =
/*#__PURE__*/
require("./lift");
require("./lift.js");
var or =
/*#__PURE__*/
require("./or");
require("./or.js");
/**

@@ -34,3 +34,3 @@ * A function wrapping calls to the two functions in an `||` operation,

* @return {Function} a function that applies its arguments to `f` and `g` and `||`s their outputs together.
* @see R.or
* @see R.both, R.or
* @example

@@ -37,0 +37,0 @@ *

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _isArguments =
/*#__PURE__*/
require("./internal/_isArguments");
require("./internal/_isArguments.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray");
require("./internal/_isArray.js");
var _isObject =
/*#__PURE__*/
require("./internal/_isObject");
require("./internal/_isObject.js");
var _isString =
/*#__PURE__*/
require("./internal/_isString");
require("./internal/_isString.js");
var _isTypedArray =
/*#__PURE__*/
require("./internal/_isTypedArray.js");
/**
* Returns the empty value of its argument's type. Ramda defines the empty
* value of Array (`[]`), Object (`{}`), String (`''`), and Arguments. Other
* value of Array (`[]`), Object (`{}`), String (`''`),
* TypedArray (`Uint8Array []`, `Float32Array []`, etc), and Arguments. Other
* types are supported if they define `<Type>.empty`,

@@ -38,6 +43,7 @@ * `<Type>.prototype.empty` or implement the

*
* R.empty(Just(42)); //=> Nothing()
* R.empty([1, 2, 3]); //=> []
* R.empty('unicorns'); //=> ''
* R.empty({x: 1, y: 2}); //=> {}
* R.empty(Just(42)); //=> Nothing()
* R.empty([1, 2, 3]); //=> []
* R.empty('unicorns'); //=> ''
* R.empty({x: 1, y: 2}); //=> {}
* R.empty(Uint8Array.from('123')); //=> Uint8Array []
*/

@@ -51,3 +57,3 @@

return arguments;
}() : void 0 // else
}() : _isTypedArray(x) ? x.constructor.from('') : void 0 // else
;

@@ -54,0 +60,0 @@ });

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
var takeLast =
/*#__PURE__*/
require("./takeLast");
require("./takeLast.js");
/**

@@ -13,0 +13,0 @@ * Checks if a list ends with the provided sublist.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
/**

@@ -9,0 +9,0 @@ * Takes a function and two values in its domain and returns `true` if the

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
/**

@@ -9,0 +9,0 @@ * Reports whether two objects have the same value, in [`R.equals`](#equals)

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _equals =
/*#__PURE__*/
require("./internal/_equals");
require("./internal/_equals.js");
/**

@@ -9,0 +9,0 @@ * Returns `true` if its arguments are equivalent, `false` otherwise. Handles

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray.js");
var _isObject =
/*#__PURE__*/
require("./internal/_isObject.js");
/**

@@ -36,2 +44,6 @@ * Creates a new object by recursively evolving a shallow copy of `object`,

_curry2(function evolve(transformations, object) {
if (!_isObject(object) && !_isArray(object)) {
return object;
}
var result = object instanceof Array ? [] : {};

@@ -38,0 +50,0 @@ var transformation, key, type;

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _filter =
/*#__PURE__*/
require("./internal/_filter");
require("./internal/_filter.js");
var _isObject =
/*#__PURE__*/
require("./internal/_isObject");
require("./internal/_isObject.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var _xfilter =
/*#__PURE__*/
require("./internal/_xfilter");
require("./internal/_xfilter.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -61,3 +61,3 @@ * Takes a predicate and a `Filterable`, and returns a new filterable of the

/*#__PURE__*/
_dispatchable(['filter'], _xfilter, function (pred, filterable) {
_dispatchable(['fantasy-land/filter', 'filter'], _xfilter, function (pred, filterable) {
return _isObject(filterable) ? _reduce(function (acc, key) {

@@ -64,0 +64,0 @@ if (pred(filterable[key])) {

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xfind =
/*#__PURE__*/
require("./internal/_xfind");
require("./internal/_xfind.js");
/**

@@ -13,0 +13,0 @@ * Returns the first element of the list which matches the predicate, or

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xfindIndex =
/*#__PURE__*/
require("./internal/_xfindIndex");
require("./internal/_xfindIndex.js");
/**

@@ -27,3 +27,3 @@ * Returns the index of the first element of the list which matches the

* @return {Number} The index of the element found, or `-1`.
* @see R.transduce
* @see R.transduce, R.indexOf
* @example

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

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xfindLast =
/*#__PURE__*/
require("./internal/_xfindLast");
require("./internal/_xfindLast.js");
/**

@@ -13,0 +13,0 @@ * Returns the last element of the list which matches the predicate, or

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xfindLastIndex =
/*#__PURE__*/
require("./internal/_xfindLastIndex");
require("./internal/_xfindLastIndex.js");
/**

@@ -27,3 +27,3 @@ * Returns the index of the last element of the list which matches the

* @return {Number} The index of the element found, or `-1`.
* @see R.transduce
* @see R.transduce, R.lastIndexOf
* @example

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

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _makeFlat =
/*#__PURE__*/
require("./internal/_makeFlat");
require("./internal/_makeFlat.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list by pulling every item out of it (and all its sub-arrays)

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**

@@ -9,0 +9,0 @@ * Returns a new function much like the supplied one, except that the first two

var _checkForMethod =
/*#__PURE__*/
require("./internal/_checkForMethod");
require("./internal/_checkForMethod.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Iterate over an input `list`, calling a provided function `fn` for each

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -9,0 +9,0 @@ * Iterate over an input `object`, calling a provided function `fn` for each

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Creates a new object from a list key-value pairs. If a key appears in

var _checkForMethod =
/*#__PURE__*/
require("./internal/_checkForMethod");
require("./internal/_checkForMethod.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var reduceBy =
/*#__PURE__*/
require("./reduceBy");
require("./reduceBy.js");
/**
* Splits a list into sub-lists stored in an object, based on the result of
* calling a String-returning function on each element, and grouping the
* calling a key-returning function on each element, and grouping the
* results according to values returned.

@@ -25,8 +25,9 @@ *

* @category List
* @sig (a -> String) -> [a] -> {String: [a]}
* @param {Function} fn Function :: a -> String
* @typedefn Idx = String | Int | Symbol
* @sig Idx a => (b -> a) -> [b] -> {a: [b]}
* @param {Function} fn Function :: a -> Idx
* @param {Array} list The array to group
* @return {Object} An object with the output of `fn` for keys, mapped to arrays of elements
* that produced that key when passed to `fn`.
* @see R.reduceBy, R.transduce
* @see R.reduceBy, R.transduce, R.indexBy
* @example

@@ -62,10 +63,6 @@ *

reduceBy(function (acc, item) {
if (acc == null) {
acc = [];
}
acc.push(item);
return acc;
}, null)));
}, [])));
module.exports = groupBy;
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -31,2 +31,3 @@ * Takes a list and returns a list of lists where each sublist's elements are

*
* const isVowel = R.test(/^[aeiou]$/i);
* R.groupWith(R.eqBy(isVowel), 'aestiou')

@@ -33,0 +34,0 @@ * //=> ['ae', 'st', 'iou']

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns `true` if the first argument is greater than the second; `false`

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns `true` if the first argument is greater than or equal to the second;

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var hasPath =
/*#__PURE__*/
require("./hasPath");
require("./hasPath.js");
/**

@@ -9,0 +9,0 @@ * Returns whether or not an object has an own property with the specified name

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var isNil =
/*#__PURE__*/
require("./isNil.js");
/**

@@ -35,2 +39,6 @@ * Returns whether or not an object or its prototype chain has a property with

_curry2(function hasIn(prop, obj) {
if (isNil(obj)) {
return false;
}
return prop in obj;

@@ -37,0 +45,0 @@ });

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
var isNil =
/*#__PURE__*/
require("./isNil");
require("./isNil.js");
/**

@@ -20,3 +20,3 @@ * Returns whether or not a path exists in an object. Only the object's

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {a} -> Boolean

@@ -23,0 +23,0 @@ * @param {Array} path The path to use.

var nth =
/*#__PURE__*/
require("./nth");
require("./nth.js");
/**

@@ -5,0 +5,0 @@ * Returns the first element of the given list or string. In some libraries

var _objectIs =
/*#__PURE__*/
require("./internal/_objectIs");
require("./internal/_objectIs.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Returns true if its arguments are identical, false otherwise. Values are

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _identity =
/*#__PURE__*/
require("./internal/_identity");
require("./internal/_identity.js");
/**

@@ -9,0 +9,0 @@ * A function that does nothing but return the parameter supplied to it. Good

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**

@@ -30,4 +30,4 @@ * Creates a function that will process either the `onTrue` or the `onFalse`

* );
* incCount({ count: 1 }); //=> { count: 2 }
* incCount({}); //=> { count: 1 }
* incCount({ count: 1 }); //=> { count: 2 }
*/

@@ -34,0 +34,0 @@

var add =
/*#__PURE__*/
require("./add");
require("./add.js");
/**

@@ -5,0 +5,0 @@ * Increments its argument.

var _includes =
/*#__PURE__*/
require("./internal/_includes");
require("./internal/_includes.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**
* Returns `true` if the specified value is equal, in [`R.equals`](#equals)
* terms, to at least one element of the given list; `false` otherwise.
* Works also with strings.
* Also works with strings.
*

@@ -13,0 +13,0 @@ * @func

module.exports = {};
module.exports.F =
/*#__PURE__*/
require("./F");
require("./F.js");
module.exports.T =
/*#__PURE__*/
require("./T");
require("./T.js");
module.exports.__ =
/*#__PURE__*/
require("./__");
require("./__.js");
module.exports.add =
/*#__PURE__*/
require("./add");
require("./add.js");
module.exports.addIndex =
/*#__PURE__*/
require("./addIndex");
require("./addIndex.js");
module.exports.adjust =
/*#__PURE__*/
require("./adjust");
require("./adjust.js");
module.exports.all =
/*#__PURE__*/
require("./all");
require("./all.js");
module.exports.allPass =
/*#__PURE__*/
require("./allPass");
require("./allPass.js");
module.exports.always =
/*#__PURE__*/
require("./always");
require("./always.js");
module.exports.and =
/*#__PURE__*/
require("./and");
require("./and.js");
module.exports.any =
/*#__PURE__*/
require("./any");
require("./any.js");
module.exports.anyPass =
/*#__PURE__*/
require("./anyPass");
require("./anyPass.js");
module.exports.ap =
/*#__PURE__*/
require("./ap");
require("./ap.js");
module.exports.aperture =
/*#__PURE__*/
require("./aperture");
require("./aperture.js");
module.exports.append =
/*#__PURE__*/
require("./append");
require("./append.js");
module.exports.apply =
/*#__PURE__*/
require("./apply");
require("./apply.js");
module.exports.applySpec =
/*#__PURE__*/
require("./applySpec");
require("./applySpec.js");
module.exports.applyTo =
/*#__PURE__*/
require("./applyTo");
require("./applyTo.js");
module.exports.ascend =
/*#__PURE__*/
require("./ascend");
require("./ascend.js");
module.exports.assoc =
/*#__PURE__*/
require("./assoc");
require("./assoc.js");
module.exports.assocPath =
/*#__PURE__*/
require("./assocPath");
require("./assocPath.js");
module.exports.binary =
/*#__PURE__*/
require("./binary");
require("./binary.js");
module.exports.bind =
/*#__PURE__*/
require("./bind");
require("./bind.js");
module.exports.both =
/*#__PURE__*/
require("./both");
require("./both.js");
module.exports.call =
/*#__PURE__*/
require("./call");
require("./call.js");
module.exports.chain =
/*#__PURE__*/
require("./chain");
require("./chain.js");
module.exports.clamp =
/*#__PURE__*/
require("./clamp");
require("./clamp.js");
module.exports.clone =
/*#__PURE__*/
require("./clone");
require("./clone.js");
module.exports.collectBy =
/*#__PURE__*/
require("./collectBy.js");
module.exports.comparator =
/*#__PURE__*/
require("./comparator");
require("./comparator.js");
module.exports.complement =
/*#__PURE__*/
require("./complement");
require("./complement.js");
module.exports.compose =
/*#__PURE__*/
require("./compose");
module.exports.composeK =
/*#__PURE__*/
require("./composeK");
module.exports.composeP =
/*#__PURE__*/
require("./composeP");
require("./compose.js");
module.exports.composeWith =
/*#__PURE__*/
require("./composeWith");
require("./composeWith.js");
module.exports.concat =
/*#__PURE__*/
require("./concat");
require("./concat.js");
module.exports.cond =
/*#__PURE__*/
require("./cond");
require("./cond.js");
module.exports.construct =
/*#__PURE__*/
require("./construct");
require("./construct.js");
module.exports.constructN =
/*#__PURE__*/
require("./constructN");
module.exports.contains =
/*#__PURE__*/
require("./contains");
require("./constructN.js");
module.exports.converge =
/*#__PURE__*/
require("./converge");
require("./converge.js");
module.exports.count =
/*#__PURE__*/
require("./count.js");
module.exports.countBy =
/*#__PURE__*/
require("./countBy");
require("./countBy.js");
module.exports.curry =
/*#__PURE__*/
require("./curry");
require("./curry.js");
module.exports.curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
module.exports.dec =
/*#__PURE__*/
require("./dec");
require("./dec.js");
module.exports.defaultTo =
/*#__PURE__*/
require("./defaultTo");
require("./defaultTo.js");
module.exports.descend =
/*#__PURE__*/
require("./descend");
require("./descend.js");
module.exports.difference =
/*#__PURE__*/
require("./difference");
require("./difference.js");
module.exports.differenceWith =
/*#__PURE__*/
require("./differenceWith");
require("./differenceWith.js");
module.exports.dissoc =
/*#__PURE__*/
require("./dissoc");
require("./dissoc.js");
module.exports.dissocPath =
/*#__PURE__*/
require("./dissocPath");
require("./dissocPath.js");
module.exports.divide =
/*#__PURE__*/
require("./divide");
require("./divide.js");
module.exports.drop =
/*#__PURE__*/
require("./drop");
require("./drop.js");
module.exports.dropLast =
/*#__PURE__*/
require("./dropLast");
require("./dropLast.js");
module.exports.dropLastWhile =
/*#__PURE__*/
require("./dropLastWhile");
require("./dropLastWhile.js");
module.exports.dropRepeats =
/*#__PURE__*/
require("./dropRepeats");
require("./dropRepeats.js");
module.exports.dropRepeatsWith =
/*#__PURE__*/
require("./dropRepeatsWith");
require("./dropRepeatsWith.js");
module.exports.dropWhile =
/*#__PURE__*/
require("./dropWhile");
require("./dropWhile.js");
module.exports.either =
/*#__PURE__*/
require("./either");
require("./either.js");
module.exports.empty =
/*#__PURE__*/
require("./empty");
require("./empty.js");
module.exports.endsWith =
/*#__PURE__*/
require("./endsWith");
require("./endsWith.js");
module.exports.eqBy =
/*#__PURE__*/
require("./eqBy");
require("./eqBy.js");
module.exports.eqProps =
/*#__PURE__*/
require("./eqProps");
require("./eqProps.js");
module.exports.equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
module.exports.evolve =
/*#__PURE__*/
require("./evolve");
require("./evolve.js");
module.exports.filter =
/*#__PURE__*/
require("./filter");
require("./filter.js");
module.exports.find =
/*#__PURE__*/
require("./find");
require("./find.js");
module.exports.findIndex =
/*#__PURE__*/
require("./findIndex");
require("./findIndex.js");
module.exports.findLast =
/*#__PURE__*/
require("./findLast");
require("./findLast.js");
module.exports.findLastIndex =
/*#__PURE__*/
require("./findLastIndex");
require("./findLastIndex.js");
module.exports.flatten =
/*#__PURE__*/
require("./flatten");
require("./flatten.js");
module.exports.flip =
/*#__PURE__*/
require("./flip");
require("./flip.js");
module.exports.forEach =
/*#__PURE__*/
require("./forEach");
require("./forEach.js");
module.exports.forEachObjIndexed =
/*#__PURE__*/
require("./forEachObjIndexed");
require("./forEachObjIndexed.js");
module.exports.fromPairs =
/*#__PURE__*/
require("./fromPairs");
require("./fromPairs.js");
module.exports.groupBy =
/*#__PURE__*/
require("./groupBy");
require("./groupBy.js");
module.exports.groupWith =
/*#__PURE__*/
require("./groupWith");
require("./groupWith.js");
module.exports.gt =
/*#__PURE__*/
require("./gt");
require("./gt.js");
module.exports.gte =
/*#__PURE__*/
require("./gte");
require("./gte.js");
module.exports.has =
/*#__PURE__*/
require("./has");
require("./has.js");
module.exports.hasIn =
/*#__PURE__*/
require("./hasIn");
require("./hasIn.js");
module.exports.hasPath =
/*#__PURE__*/
require("./hasPath");
require("./hasPath.js");
module.exports.head =
/*#__PURE__*/
require("./head");
require("./head.js");
module.exports.identical =
/*#__PURE__*/
require("./identical");
require("./identical.js");
module.exports.identity =
/*#__PURE__*/
require("./identity");
require("./identity.js");
module.exports.ifElse =
/*#__PURE__*/
require("./ifElse");
require("./ifElse.js");
module.exports.inc =
/*#__PURE__*/
require("./inc");
require("./inc.js");
module.exports.includes =
/*#__PURE__*/
require("./includes");
require("./includes.js");
module.exports.indexBy =
/*#__PURE__*/
require("./indexBy");
require("./indexBy.js");
module.exports.indexOf =
/*#__PURE__*/
require("./indexOf");
require("./indexOf.js");
module.exports.init =
/*#__PURE__*/
require("./init");
require("./init.js");
module.exports.innerJoin =
/*#__PURE__*/
require("./innerJoin");
require("./innerJoin.js");
module.exports.insert =
/*#__PURE__*/
require("./insert");
require("./insert.js");
module.exports.insertAll =
/*#__PURE__*/
require("./insertAll");
require("./insertAll.js");
module.exports.intersection =
/*#__PURE__*/
require("./intersection");
require("./intersection.js");
module.exports.intersperse =
/*#__PURE__*/
require("./intersperse");
require("./intersperse.js");
module.exports.into =
/*#__PURE__*/
require("./into");
require("./into.js");
module.exports.invert =
/*#__PURE__*/
require("./invert");
require("./invert.js");
module.exports.invertObj =
/*#__PURE__*/
require("./invertObj");
require("./invertObj.js");
module.exports.invoker =
/*#__PURE__*/
require("./invoker");
require("./invoker.js");
module.exports.is =
/*#__PURE__*/
require("./is");
require("./is.js");
module.exports.isEmpty =
/*#__PURE__*/
require("./isEmpty");
require("./isEmpty.js");
module.exports.isNil =
/*#__PURE__*/
require("./isNil");
require("./isNil.js");
module.exports.join =
/*#__PURE__*/
require("./join");
require("./join.js");
module.exports.juxt =
/*#__PURE__*/
require("./juxt");
require("./juxt.js");
module.exports.keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
module.exports.keysIn =
/*#__PURE__*/
require("./keysIn");
require("./keysIn.js");
module.exports.last =
/*#__PURE__*/
require("./last");
require("./last.js");
module.exports.lastIndexOf =
/*#__PURE__*/
require("./lastIndexOf");
require("./lastIndexOf.js");
module.exports.length =
/*#__PURE__*/
require("./length");
require("./length.js");
module.exports.lens =
/*#__PURE__*/
require("./lens");
require("./lens.js");
module.exports.lensIndex =
/*#__PURE__*/
require("./lensIndex");
require("./lensIndex.js");
module.exports.lensPath =
/*#__PURE__*/
require("./lensPath");
require("./lensPath.js");
module.exports.lensProp =
/*#__PURE__*/
require("./lensProp");
require("./lensProp.js");
module.exports.lift =
/*#__PURE__*/
require("./lift");
require("./lift.js");
module.exports.liftN =
/*#__PURE__*/
require("./liftN");
require("./liftN.js");
module.exports.lt =
/*#__PURE__*/
require("./lt");
require("./lt.js");
module.exports.lte =
/*#__PURE__*/
require("./lte");
require("./lte.js");
module.exports.map =
/*#__PURE__*/
require("./map");
require("./map.js");
module.exports.mapAccum =
/*#__PURE__*/
require("./mapAccum");
require("./mapAccum.js");
module.exports.mapAccumRight =
/*#__PURE__*/
require("./mapAccumRight");
require("./mapAccumRight.js");
module.exports.mapObjIndexed =
/*#__PURE__*/
require("./mapObjIndexed");
require("./mapObjIndexed.js");
module.exports.match =
/*#__PURE__*/
require("./match");
require("./match.js");
module.exports.mathMod =
/*#__PURE__*/
require("./mathMod");
require("./mathMod.js");
module.exports.max =
/*#__PURE__*/
require("./max");
require("./max.js");
module.exports.maxBy =
/*#__PURE__*/
require("./maxBy");
require("./maxBy.js");
module.exports.mean =
/*#__PURE__*/
require("./mean");
require("./mean.js");
module.exports.median =
/*#__PURE__*/
require("./median");
require("./median.js");
module.exports.memoizeWith =
/*#__PURE__*/
require("./memoizeWith");
module.exports.merge =
/*#__PURE__*/
require("./merge");
require("./memoizeWith.js");
module.exports.mergeAll =
/*#__PURE__*/
require("./mergeAll");
require("./mergeAll.js");
module.exports.mergeDeepLeft =
/*#__PURE__*/
require("./mergeDeepLeft");
require("./mergeDeepLeft.js");
module.exports.mergeDeepRight =
/*#__PURE__*/
require("./mergeDeepRight");
require("./mergeDeepRight.js");
module.exports.mergeDeepWith =
/*#__PURE__*/
require("./mergeDeepWith");
require("./mergeDeepWith.js");
module.exports.mergeDeepWithKey =
/*#__PURE__*/
require("./mergeDeepWithKey");
require("./mergeDeepWithKey.js");
module.exports.mergeLeft =
/*#__PURE__*/
require("./mergeLeft");
require("./mergeLeft.js");
module.exports.mergeRight =
/*#__PURE__*/
require("./mergeRight");
require("./mergeRight.js");
module.exports.mergeWith =
/*#__PURE__*/
require("./mergeWith");
require("./mergeWith.js");
module.exports.mergeWithKey =
/*#__PURE__*/
require("./mergeWithKey");
require("./mergeWithKey.js");
module.exports.min =
/*#__PURE__*/
require("./min");
require("./min.js");
module.exports.minBy =
/*#__PURE__*/
require("./minBy");
require("./minBy.js");
module.exports.modify =
/*#__PURE__*/
require("./modify.js");
module.exports.modifyPath =
/*#__PURE__*/
require("./modifyPath.js");
module.exports.modulo =
/*#__PURE__*/
require("./modulo");
require("./modulo.js");
module.exports.move =
/*#__PURE__*/
require("./move");
require("./move.js");
module.exports.multiply =
/*#__PURE__*/
require("./multiply");
require("./multiply.js");
module.exports.nAry =
/*#__PURE__*/
require("./nAry");
require("./nAry.js");
module.exports.partialObject =
/*#__PURE__*/
require("./partialObject.js");
module.exports.negate =
/*#__PURE__*/
require("./negate");
require("./negate.js");
module.exports.none =
/*#__PURE__*/
require("./none");
require("./none.js");
module.exports.not =
/*#__PURE__*/
require("./not");
require("./not.js");
module.exports.nth =
/*#__PURE__*/
require("./nth");
require("./nth.js");
module.exports.nthArg =
/*#__PURE__*/
require("./nthArg");
require("./nthArg.js");
module.exports.o =
/*#__PURE__*/
require("./o");
require("./o.js");
module.exports.objOf =
/*#__PURE__*/
require("./objOf");
require("./objOf.js");
module.exports.of =
/*#__PURE__*/
require("./of");
require("./of.js");
module.exports.omit =
/*#__PURE__*/
require("./omit");
require("./omit.js");
module.exports.on =
/*#__PURE__*/
require("./on.js");
module.exports.once =
/*#__PURE__*/
require("./once");
require("./once.js");
module.exports.or =
/*#__PURE__*/
require("./or");
require("./or.js");
module.exports.otherwise =
/*#__PURE__*/
require("./otherwise");
require("./otherwise.js");
module.exports.over =
/*#__PURE__*/
require("./over");
require("./over.js");
module.exports.pair =
/*#__PURE__*/
require("./pair");
require("./pair.js");
module.exports.partial =
/*#__PURE__*/
require("./partial");
require("./partial.js");
module.exports.partialRight =
/*#__PURE__*/
require("./partialRight");
require("./partialRight.js");
module.exports.partition =
/*#__PURE__*/
require("./partition");
require("./partition.js");
module.exports.path =
/*#__PURE__*/
require("./path");
require("./path.js");
module.exports.paths =
/*#__PURE__*/
require("./paths");
require("./paths.js");
module.exports.pathEq =
/*#__PURE__*/
require("./pathEq");
require("./pathEq.js");
module.exports.pathOr =
/*#__PURE__*/
require("./pathOr");
require("./pathOr.js");
module.exports.pathSatisfies =
/*#__PURE__*/
require("./pathSatisfies");
require("./pathSatisfies.js");
module.exports.pick =
/*#__PURE__*/
require("./pick");
require("./pick.js");
module.exports.pickAll =
/*#__PURE__*/
require("./pickAll");
require("./pickAll.js");
module.exports.pickBy =
/*#__PURE__*/
require("./pickBy");
require("./pickBy.js");
module.exports.pipe =
/*#__PURE__*/
require("./pipe");
module.exports.pipeK =
/*#__PURE__*/
require("./pipeK");
module.exports.pipeP =
/*#__PURE__*/
require("./pipeP");
require("./pipe.js");
module.exports.pipeWith =
/*#__PURE__*/
require("./pipeWith");
require("./pipeWith.js");
module.exports.pluck =
/*#__PURE__*/
require("./pluck");
require("./pluck.js");
module.exports.prepend =
/*#__PURE__*/
require("./prepend");
require("./prepend.js");
module.exports.product =
/*#__PURE__*/
require("./product");
require("./product.js");
module.exports.project =
/*#__PURE__*/
require("./project");
require("./project.js");
module.exports.promap =
/*#__PURE__*/
require("./promap.js");
module.exports.prop =
/*#__PURE__*/
require("./prop");
require("./prop.js");
module.exports.propEq =
/*#__PURE__*/
require("./propEq");
require("./propEq.js");
module.exports.propIs =
/*#__PURE__*/
require("./propIs");
require("./propIs.js");
module.exports.propOr =
/*#__PURE__*/
require("./propOr");
require("./propOr.js");
module.exports.propSatisfies =
/*#__PURE__*/
require("./propSatisfies");
require("./propSatisfies.js");
module.exports.props =
/*#__PURE__*/
require("./props");
require("./props.js");
module.exports.range =
/*#__PURE__*/
require("./range");
require("./range.js");
module.exports.reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
module.exports.reduceBy =
/*#__PURE__*/
require("./reduceBy");
require("./reduceBy.js");
module.exports.reduceRight =
/*#__PURE__*/
require("./reduceRight");
require("./reduceRight.js");
module.exports.reduceWhile =
/*#__PURE__*/
require("./reduceWhile");
require("./reduceWhile.js");
module.exports.reduced =
/*#__PURE__*/
require("./reduced");
require("./reduced.js");
module.exports.reject =
/*#__PURE__*/
require("./reject");
require("./reject.js");
module.exports.remove =
/*#__PURE__*/
require("./remove");
require("./remove.js");
module.exports.repeat =
/*#__PURE__*/
require("./repeat");
require("./repeat.js");
module.exports.replace =
/*#__PURE__*/
require("./replace");
require("./replace.js");
module.exports.reverse =
/*#__PURE__*/
require("./reverse");
require("./reverse.js");
module.exports.scan =
/*#__PURE__*/
require("./scan");
require("./scan.js");
module.exports.sequence =
/*#__PURE__*/
require("./sequence");
require("./sequence.js");
module.exports.set =
/*#__PURE__*/
require("./set");
require("./set.js");
module.exports.slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
module.exports.sort =
/*#__PURE__*/
require("./sort");
require("./sort.js");
module.exports.sortBy =
/*#__PURE__*/
require("./sortBy");
require("./sortBy.js");
module.exports.sortWith =
/*#__PURE__*/
require("./sortWith");
require("./sortWith.js");
module.exports.split =
/*#__PURE__*/
require("./split");
require("./split.js");
module.exports.splitAt =
/*#__PURE__*/
require("./splitAt");
require("./splitAt.js");
module.exports.splitEvery =
/*#__PURE__*/
require("./splitEvery");
require("./splitEvery.js");
module.exports.splitWhen =
/*#__PURE__*/
require("./splitWhen");
require("./splitWhen.js");
module.exports.splitWhenever =
/*#__PURE__*/
require("./splitWhenever.js");
module.exports.startsWith =
/*#__PURE__*/
require("./startsWith");
require("./startsWith.js");
module.exports.subtract =
/*#__PURE__*/
require("./subtract");
require("./subtract.js");
module.exports.sum =
/*#__PURE__*/
require("./sum");
require("./sum.js");
module.exports.symmetricDifference =
/*#__PURE__*/
require("./symmetricDifference");
require("./symmetricDifference.js");
module.exports.symmetricDifferenceWith =
/*#__PURE__*/
require("./symmetricDifferenceWith");
require("./symmetricDifferenceWith.js");
module.exports.tail =
/*#__PURE__*/
require("./tail");
require("./tail.js");
module.exports.take =
/*#__PURE__*/
require("./take");
require("./take.js");
module.exports.takeLast =
/*#__PURE__*/
require("./takeLast");
require("./takeLast.js");
module.exports.takeLastWhile =
/*#__PURE__*/
require("./takeLastWhile");
require("./takeLastWhile.js");
module.exports.takeWhile =
/*#__PURE__*/
require("./takeWhile");
require("./takeWhile.js");
module.exports.tap =
/*#__PURE__*/
require("./tap");
require("./tap.js");
module.exports.test =
/*#__PURE__*/
require("./test");
require("./test.js");
module.exports.andThen =
/*#__PURE__*/
require("./andThen");
require("./andThen.js");
module.exports.times =
/*#__PURE__*/
require("./times");
require("./times.js");
module.exports.toLower =
/*#__PURE__*/
require("./toLower");
require("./toLower.js");
module.exports.toPairs =
/*#__PURE__*/
require("./toPairs");
require("./toPairs.js");
module.exports.toPairsIn =
/*#__PURE__*/
require("./toPairsIn");
require("./toPairsIn.js");
module.exports.toString =
/*#__PURE__*/
require("./toString");
require("./toString.js");
module.exports.toUpper =
/*#__PURE__*/
require("./toUpper");
require("./toUpper.js");
module.exports.transduce =
/*#__PURE__*/
require("./transduce");
require("./transduce.js");
module.exports.transpose =
/*#__PURE__*/
require("./transpose");
require("./transpose.js");
module.exports.traverse =
/*#__PURE__*/
require("./traverse");
require("./traverse.js");
module.exports.trim =
/*#__PURE__*/
require("./trim");
require("./trim.js");
module.exports.tryCatch =
/*#__PURE__*/
require("./tryCatch");
require("./tryCatch.js");
module.exports.type =
/*#__PURE__*/
require("./type");
require("./type.js");
module.exports.unapply =
/*#__PURE__*/
require("./unapply");
require("./unapply.js");
module.exports.unary =
/*#__PURE__*/
require("./unary");
require("./unary.js");
module.exports.uncurryN =
/*#__PURE__*/
require("./uncurryN");
require("./uncurryN.js");
module.exports.unfold =
/*#__PURE__*/
require("./unfold");
require("./unfold.js");
module.exports.union =
/*#__PURE__*/
require("./union");
require("./union.js");
module.exports.unionWith =
/*#__PURE__*/
require("./unionWith");
require("./unionWith.js");
module.exports.uniq =
/*#__PURE__*/
require("./uniq");
require("./uniq.js");
module.exports.uniqBy =
/*#__PURE__*/
require("./uniqBy");
require("./uniqBy.js");
module.exports.uniqWith =
/*#__PURE__*/
require("./uniqWith");
require("./uniqWith.js");
module.exports.unless =
/*#__PURE__*/
require("./unless");
require("./unless.js");
module.exports.unnest =
/*#__PURE__*/
require("./unnest");
require("./unnest.js");
module.exports.until =
/*#__PURE__*/
require("./until");
require("./until.js");
module.exports.unwind =
/*#__PURE__*/
require("./unwind.js");
module.exports.update =
/*#__PURE__*/
require("./update");
require("./update.js");
module.exports.useWith =
/*#__PURE__*/
require("./useWith");
require("./useWith.js");
module.exports.values =
/*#__PURE__*/
require("./values");
require("./values.js");
module.exports.valuesIn =
/*#__PURE__*/
require("./valuesIn");
require("./valuesIn.js");
module.exports.view =
/*#__PURE__*/
require("./view");
require("./view.js");
module.exports.when =
/*#__PURE__*/
require("./when");
require("./when.js");
module.exports.where =
/*#__PURE__*/
require("./where");
require("./where.js");
module.exports.whereAny =
/*#__PURE__*/
require("./whereAny.js");
module.exports.whereEq =
/*#__PURE__*/
require("./whereEq");
require("./whereEq.js");
module.exports.without =
/*#__PURE__*/
require("./without");
require("./without.js");
module.exports.xor =
/*#__PURE__*/
require("./xor");
require("./xor.js");
module.exports.xprod =
/*#__PURE__*/
require("./xprod");
require("./xprod.js");
module.exports.zip =
/*#__PURE__*/
require("./zip");
require("./zip.js");
module.exports.zipObj =
/*#__PURE__*/
require("./zipObj");
require("./zipObj.js");
module.exports.zipWith =
/*#__PURE__*/
require("./zipWith");
require("./zipWith.js");
module.exports.thunkify =
/*#__PURE__*/
require("./thunkify");
require("./thunkify.js");
var reduceBy =
/*#__PURE__*/
require("./reduceBy");
require("./reduceBy.js");
/**

@@ -16,6 +16,8 @@ * Given a function that generates a key, turns a list of objects into an

* @category List
* @sig (a -> String) -> [{k: v}] -> {k: {k: v}}
* @param {Function} fn Function :: a -> String
* @typedefn Idx = String | Int | Symbol
* @sig Idx a => (b -> a) -> [b] -> {a: b}
* @param {Function} fn Function :: a -> Idx
* @param {Array} array The array of objects to index
* @return {Object} An object indexing each array element by the given property.
* @see R.groupBy
* @example

@@ -22,0 +24,0 @@ *

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _indexOf =
/*#__PURE__*/
require("./internal/_indexOf");
require("./internal/_indexOf.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray");
require("./internal/_isArray.js");
/**

@@ -25,3 +25,3 @@ * Returns the position of the first occurrence of an item in an array, or -1

* @return {Number} the index of the target, or -1 if the target is not found.
* @see R.lastIndexOf
* @see R.lastIndexOf, R.findIndex
* @example

@@ -28,0 +28,0 @@ *

var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -5,0 +5,0 @@ * Returns all but the last element of the given list or string.

var _includesWith =
/*#__PURE__*/
require("./internal/_includesWith");
require("./internal/_includesWith.js");
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var _filter =
/*#__PURE__*/
require("./internal/_filter");
require("./internal/_filter.js");
/**

@@ -13,0 +13,0 @@ * Takes a predicate `pred`, a list `xs`, and a list `ys`, and returns a list

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Inserts the supplied element into the list, at the specified `index`. _Note that

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Inserts the sub-list into the list, at the specified `index`. _Note that this is not

var _isFunction =
/*#__PURE__*/
require("./_isFunction");
require("./_isFunction.js");
var _toString =
/*#__PURE__*/
require("./_toString");
require("./_toString.js");

@@ -9,0 +9,0 @@ function _assertPromise(name, p) {

var _isArray =
/*#__PURE__*/
require("./_isArray");
require("./_isArray.js");
/**

@@ -10,3 +10,3 @@ * This checks whether a function has a [methodname] function. If it isn't an

* @private
* @param {Function} fn ramda implemtation
* @param {Function} fn ramda implementation
* @param {String} methodname property to check for a custom implementation

@@ -13,0 +13,0 @@ * @return {Object} Whatever the return value of the method is.

var _cloneRegExp =
/*#__PURE__*/
require("./_cloneRegExp");
require("./_cloneRegExp.js");
var type =
/*#__PURE__*/
require("../type");
require("../type.js");
/**

@@ -33,7 +33,9 @@ * Copies an object.

refFrom[idx + 1] = value;
refTo[idx + 1] = copiedValue;
refFrom[idx] = value;
refTo[idx] = copiedValue;
for (var key in value) {
copiedValue[key] = deep ? _clone(value[key], refFrom, refTo, true) : value[key];
if (value.hasOwnProperty(key)) {
copiedValue[key] = deep ? _clone(value[key], refFrom, refTo, true) : value[key];
}
}

@@ -46,3 +48,3 @@

case 'Object':
return copy({});
return copy(Object.create(Object.getPrototypeOf(value)));

@@ -58,2 +60,15 @@ case 'Array':

case 'Int8Array':
case 'Uint8Array':
case 'Uint8ClampedArray':
case 'Int16Array':
case 'Uint16Array':
case 'Int32Array':
case 'Uint32Array':
case 'Float32Array':
case 'Float64Array':
case 'BigInt64Array':
case 'BigUint64Array':
return value.slice();
default:

@@ -60,0 +75,0 @@ return value;

var _arity =
/*#__PURE__*/
require("./_arity");
require("./_arity.js");
var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");

@@ -9,0 +9,0 @@ function _createPartialApplicator(concat) {

var _isPlaceholder =
/*#__PURE__*/
require("./_isPlaceholder");
require("./_isPlaceholder.js");
/**

@@ -5,0 +5,0 @@ * Optimized internal one-arity curry function.

var _curry1 =
/*#__PURE__*/
require("./_curry1");
require("./_curry1.js");
var _isPlaceholder =
/*#__PURE__*/
require("./_isPlaceholder");
require("./_isPlaceholder.js");
/**

@@ -9,0 +9,0 @@ * Optimized internal two-arity curry function.

var _curry1 =
/*#__PURE__*/
require("./_curry1");
require("./_curry1.js");
var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _isPlaceholder =
/*#__PURE__*/
require("./_isPlaceholder");
require("./_isPlaceholder.js");
/**

@@ -13,0 +13,0 @@ * Optimized internal three-arity curry function.

var _arity =
/*#__PURE__*/
require("./_arity");
require("./_arity.js");
var _isPlaceholder =
/*#__PURE__*/
require("./_isPlaceholder");
require("./_isPlaceholder.js");
/**

@@ -9,0 +9,0 @@ * Internal curryN function.

var _isArray =
/*#__PURE__*/
require("./_isArray");
require("./_isArray.js");
var _isTransformer =
/*#__PURE__*/
require("./_isTransformer");
require("./_isTransformer.js");
/**

@@ -13,3 +13,4 @@ * Returns a function that dispatches with different strategies based on the

* execute that function (functor case). Otherwise, if it is a transformer,
* uses transducer [xf] to return a new transformer (transducer case).
* uses transducer created by [transducerCreator] to return a new transformer
* (transducer case).
* Otherwise, it will default to executing [fn].

@@ -19,3 +20,3 @@ *

* @param {Array} methodNames properties to check for a custom implementation
* @param {Function} xf transducer to initialize if object is transformer
* @param {Function} transducerCreator transducer factory if object is transformer
* @param {Function} fn default ramda implementation

@@ -26,3 +27,3 @@ * @return {Function} A function that dispatches on object in list position

function _dispatchable(methodNames, xf, fn) {
function _dispatchable(methodNames, transducerCreator, fn) {
return function () {

@@ -33,4 +34,3 @@ if (arguments.length === 0) {

var args = Array.prototype.slice.call(arguments, 0);
var obj = args.pop();
var obj = arguments[arguments.length - 1];

@@ -42,3 +42,3 @@ if (!_isArray(obj)) {

if (typeof obj[methodNames[idx]] === 'function') {
return obj[methodNames[idx]].apply(obj, args);
return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));
}

@@ -50,3 +50,3 @@

if (_isTransformer(obj)) {
var transducer = xf.apply(null, args);
var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));
return transducer(obj);

@@ -53,0 +53,0 @@ }

var take =
/*#__PURE__*/
require("../take");
require("../take.js");

@@ -5,0 +5,0 @@ function dropLast(n, xs) {

var slice =
/*#__PURE__*/
require("../slice");
require("../slice.js");

@@ -5,0 +5,0 @@ function dropLastWhile(pred, xs) {

var _arrayFromIterator =
/*#__PURE__*/
require("./_arrayFromIterator");
require("./_arrayFromIterator.js");
var _includesWith =
/*#__PURE__*/
require("./_includesWith");
require("./_includesWith.js");
var _functionName =
/*#__PURE__*/
require("./_functionName");
require("./_functionName.js");
var _has =
/*#__PURE__*/
require("./_has");
require("./_has.js");
var _objectIs =
/*#__PURE__*/
require("./_objectIs");
require("./_objectIs.js");
var keys =
/*#__PURE__*/
require("../keys");
require("../keys.js");
var type =
/*#__PURE__*/
require("../type");
require("../type.js");
/**

@@ -34,3 +34,3 @@ * private _uniqContentEquals function.

*
* false-positive result will be returned for comparision of, e.g.
* false-positive result will be returned for comparison of, e.g.
* - [1,2,3] and [1,2,3,4]

@@ -67,6 +67,2 @@ * - [1,1,1] and [1,2,3]

if (a == null || b == null) {
return false;
}
if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {

@@ -73,0 +69,0 @@ return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);

var _forceReduced =
/*#__PURE__*/
require("./_forceReduced");
require("./_forceReduced.js");
var _isArrayLike =
/*#__PURE__*/
require("./_isArrayLike");
require("./_isArrayLike.js");
var _reduce =
/*#__PURE__*/
require("./_reduce");
require("./_reduce.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -17,0 +17,0 @@ var preservingReduced = function (xf) {

var _filter =
/*#__PURE__*/
require("./_filter");
require("./_filter.js");
/**

@@ -5,0 +5,0 @@ * @private

var _indexOf =
/*#__PURE__*/
require("./_indexOf");
require("./_indexOf.js");

@@ -5,0 +5,0 @@ function _includes(a, list) {

var equals =
/*#__PURE__*/
require("../equals");
require("../equals.js");

@@ -5,0 +5,0 @@ function _indexOf(list, a, idx) {

var _has =
/*#__PURE__*/
require("./_has");
require("./_has.js");

@@ -5,0 +5,0 @@ var toString = Object.prototype.toString;

var _curry1 =
/*#__PURE__*/
require("./_curry1");
require("./_curry1.js");
var _isArray =
/*#__PURE__*/
require("./_isArray");
require("./_isArray.js");
var _isString =
/*#__PURE__*/
require("./_isString");
require("./_isString.js");
/**

@@ -28,2 +28,3 @@ * Tests whether or not an object is similar to an array.

* _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
* _isArrayLike({nodeType: 1, length: 1}) // => false
*/

@@ -51,6 +52,2 @@

if (x.nodeType === 1) {
return !!x.length;
}
if (x.length === 0) {

@@ -57,0 +54,0 @@ return true;

var _isArrayLike =
/*#__PURE__*/
require("./_isArrayLike");
require("./_isArrayLike.js");
/**

@@ -5,0 +5,0 @@ * `_makeFlat` is a helper function that returns a one-level or fully recursive

var _has =
/*#__PURE__*/
require("./_has"); // Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
require("./_has.js"); // Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign

@@ -5,0 +5,0 @@

var _isArrayLike =
/*#__PURE__*/
require("./_isArrayLike");
require("./_isArrayLike.js");
var _xwrap =
/*#__PURE__*/
require("./_xwrap");
require("./_xwrap.js");
var bind =
/*#__PURE__*/
require("../bind");
require("../bind.js");

@@ -13,0 +13,0 @@ function _arrayReduce(xf, acc, list) {

var _includes =
/*#__PURE__*/
require("./_includes");
require("./_includes.js");

@@ -5,0 +5,0 @@ var _Set =

var _objectAssign =
/*#__PURE__*/
require("./_objectAssign");
require("./_objectAssign.js");
var _identity =
/*#__PURE__*/
require("./_identity");
require("./_identity.js");
var _isArrayLike =
/*#__PURE__*/
require("./_isArrayLike");
require("./_isArrayLike.js");
var _isTransformer =
/*#__PURE__*/
require("./_isTransformer");
require("./_isTransformer.js");
var objOf =
/*#__PURE__*/
require("../objOf");
require("../objOf.js");

@@ -21,0 +21,0 @@ var _stepCatArray = {

var _includes =
/*#__PURE__*/
require("./_includes");
require("./_includes.js");
var _map =
/*#__PURE__*/
require("./_map");
require("./_map.js");
var _quote =
/*#__PURE__*/
require("./_quote");
require("./_quote.js");
var _toISOString =
/*#__PURE__*/
require("./_toISOString");
require("./_toISOString.js");
var keys =
/*#__PURE__*/
require("../keys");
require("../keys.js");
var reject =
/*#__PURE__*/
require("../reject");
require("../reject.js");

@@ -25,0 +25,0 @@ function _toString(x, seen) {

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduced =
/*#__PURE__*/
require("./_reduced");
require("./_reduced.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XAll =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduced =
/*#__PURE__*/
require("./_reduced");
require("./_reduced.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XAny =

var _concat =
/*#__PURE__*/
require("./_concat");
require("./_concat.js");
var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XAperture =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _flatCat =
/*#__PURE__*/
require("./_flatCat");
require("./_flatCat.js");
var map =
/*#__PURE__*/
require("../map");
require("../map.js");

@@ -13,0 +13,0 @@ var _xchain =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XDrop =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XDropLast =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduce =
/*#__PURE__*/
require("./_reduce");
require("./_reduce.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XDropLastWhile =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XDropRepeatsWith =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XDropWhile =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XFilter =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduced =
/*#__PURE__*/
require("./_reduced");
require("./_reduced.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XFind =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduced =
/*#__PURE__*/
require("./_reduced");
require("./_reduced.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XFindIndex =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XFindLast =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XFindLastIndex =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XMap =

var _curryN =
/*#__PURE__*/
require("./_curryN");
require("./_curryN.js");
var _has =
/*#__PURE__*/
require("./_has");
require("./_has.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XReduceBy =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduced =
/*#__PURE__*/
require("./_reduced");
require("./_reduced.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XTake =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _reduced =
/*#__PURE__*/
require("./_reduced");
require("./_reduced.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -13,0 +13,0 @@ var XTakeWhile =

var _curry2 =
/*#__PURE__*/
require("./_curry2");
require("./_curry2.js");
var _xfBase =
/*#__PURE__*/
require("./_xfBase");
require("./_xfBase.js");

@@ -9,0 +9,0 @@ var XTap =

var _includes =
/*#__PURE__*/
require("./internal/_includes");
require("./internal/_includes.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _filter =
/*#__PURE__*/
require("./internal/_filter");
require("./internal/_filter.js");
var flip =
/*#__PURE__*/
require("./flip");
require("./flip.js");
var uniq =
/*#__PURE__*/
require("./uniq");
require("./uniq.js");
/**

@@ -21,0 +21,0 @@ * Combines two lists into a set (i.e. no duplicates) composed of those

var _checkForMethod =
/*#__PURE__*/
require("./internal/_checkForMethod");
require("./internal/_checkForMethod.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Creates a new list with the separator interposed between elements.

var _clone =
/*#__PURE__*/
require("./internal/_clone");
require("./internal/_clone.js");
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var _isTransformer =
/*#__PURE__*/
require("./internal/_isTransformer");
require("./internal/_isTransformer.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var _stepCat =
/*#__PURE__*/
require("./internal/_stepCat");
require("./internal/_stepCat.js");
/**

@@ -21,0 +21,0 @@ * Transforms the items of the list with the transducer and appends the

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -13,0 +13,0 @@ * Same as [`R.invertObj`](#invertObj), however this accounts for objects with

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -9,0 +9,0 @@ * Returns a new object with the keys of the given object as values, and the

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isFunction =
/*#__PURE__*/
require("./internal/_isFunction");
require("./internal/_isFunction.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var toString =
/*#__PURE__*/
require("./toString");
require("./toString.js");
/**

@@ -17,0 +17,0 @@ * Turns a named method with a specified arity into a function that can be

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**
* See if an object (`val`) is an instance of the supplied constructor. This
* See if an object (i.e. `val`) is an instance of the supplied constructor. This
* function will check up the inheritance chain, if any.
* If `val` was created using `Object.create`, `R.is(Object, val) === true`.
*

@@ -32,5 +33,5 @@ * @func

_curry2(function is(Ctor, val) {
return val != null && val.constructor === Ctor || val instanceof Ctor;
return val instanceof Ctor || val != null && (val.constructor === Ctor || Ctor.name === 'Object' && typeof val === 'object');
});
module.exports = is;
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var empty =
/*#__PURE__*/
require("./empty");
require("./empty.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
/**

@@ -26,8 +26,9 @@ * Returns `true` if the given value is its type's empty value; `false`

*
* R.isEmpty([1, 2, 3]); //=> false
* R.isEmpty([]); //=> true
* R.isEmpty(''); //=> true
* R.isEmpty(null); //=> false
* R.isEmpty({}); //=> true
* R.isEmpty({length: 0}); //=> false
* R.isEmpty([1, 2, 3]); //=> false
* R.isEmpty([]); //=> true
* R.isEmpty(''); //=> true
* R.isEmpty(null); //=> false
* R.isEmpty({}); //=> true
* R.isEmpty({length: 0}); //=> false
* R.isEmpty(Uint8Array.from('')); //=> true
*/

@@ -34,0 +35,0 @@

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Checks if the input value is `null` or `undefined`.

var invoker =
/*#__PURE__*/
require("./invoker");
require("./invoker.js");
/**

@@ -5,0 +5,0 @@ * Returns a string made by inserting the `separator` between each element and

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var converge =
/*#__PURE__*/
require("./converge");
require("./converge.js");
/**

@@ -9,0 +9,0 @@ * juxt applies a list of functions to a list of values.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
var _isArguments =
/*#__PURE__*/
require("./internal/_isArguments"); // cover IE < 9 keys issues
require("./internal/_isArguments.js"); // cover IE < 9 keys issues

@@ -55,3 +55,3 @@

* @return {Array} An array of the object's own properties.
* @see R.keysIn, R.values
* @see R.keysIn, R.values, R.toPairs
* @example

@@ -58,0 +58,0 @@ *

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Returns a list containing the names of all the properties of the supplied

var nth =
/*#__PURE__*/
require("./nth");
require("./nth.js");
/**

@@ -5,0 +5,0 @@ * Returns the last element of the given list or string.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isArray =
/*#__PURE__*/
require("./internal/_isArray");
require("./internal/_isArray.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
/**

@@ -25,3 +25,3 @@ * Returns the position of the last occurrence of an item in an array, or -1 if

* @return {Number} the index of the target, or -1 if the target is not found.
* @see R.indexOf
* @see R.indexOf, R.findLastIndex
* @example

@@ -28,0 +28,0 @@ *

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _isNumber =
/*#__PURE__*/
require("./internal/_isNumber");
require("./internal/_isNumber.js");
/**

@@ -9,0 +9,0 @@ * Returns the number of elements in the array by returning `list.length`.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
/**

@@ -9,0 +9,0 @@ * Returns a lens for the given getter and setter functions. The getter "gets"

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var lens =
/*#__PURE__*/
require("./lens");
require("./lens.js");
var nth =
/*#__PURE__*/
require("./nth");
require("./nth.js");
var update =
/*#__PURE__*/
require("./update");
require("./update.js");
/**

@@ -17,0 +17,0 @@ * Returns a lens whose focus is the specified index.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var assocPath =
/*#__PURE__*/
require("./assocPath");
require("./assocPath.js");
var lens =
/*#__PURE__*/
require("./lens");
require("./lens.js");
var path =
/*#__PURE__*/
require("./path");
require("./path.js");
/**

@@ -23,3 +23,3 @@ * Returns a lens whose focus is the specified path.

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s

@@ -26,0 +26,0 @@ * @sig [Idx] -> Lens s a

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var assoc =
/*#__PURE__*/
require("./assoc");
require("./assoc.js");
var lens =
/*#__PURE__*/
require("./lens");
require("./lens.js");
var prop =
/*#__PURE__*/
require("./prop");
require("./prop.js");
/**

@@ -17,0 +17,0 @@ * Returns a lens whose focus is the specified property.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var liftN =
/*#__PURE__*/
require("./liftN");
require("./liftN.js");
/**
* "lifts" a function of arity > 1 so that it may "map over" a list, Function or other
* "lifts" a function of arity >= 1 so that it may "map over" a list, Function or other
* object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).

@@ -24,7 +24,7 @@ *

*
* madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]
* madd3([100, 200], [30, 40], [5, 6, 7]); //=> [135, 136, 137, 145, 146, 147, 235, 236, 237, 245, 246, 247]
*
* const madd5 = R.lift((a, b, c, d, e) => a + b + c + d + e);
*
* madd5([1,2], [3], [4, 5], [6], [7, 8]); //=> [21, 22, 22, 23, 22, 23, 23, 24]
* madd5([10, 20], [1], [2, 3], [4], [100, 200]); //=> [117, 217, 118, 218, 127, 227, 128, 228]
*/

@@ -31,0 +31,0 @@

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var ap =
/*#__PURE__*/
require("./ap");
require("./ap.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
/**

@@ -21,0 +21,0 @@ * "lifts" a function to be the specified arity, so that it may "map over" that

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns `true` if the first argument is less than the second; `false`

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns `true` if the first argument is less than or equal to the second;

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _map =
/*#__PURE__*/
require("./internal/_map");
require("./internal/_map.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var _xmap =
/*#__PURE__*/
require("./internal/_xmap");
require("./internal/_xmap.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -51,3 +51,3 @@ * Takes a function and

* @return {Array} The new list.
* @see R.transduce, R.addIndex
* @see R.transduce, R.addIndex, R.pluck, R.project
* @example

@@ -54,0 +54,0 @@ *

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * The `mapAccum` function behaves like a combination of map and reduce; it

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * The `mapAccumRight` function behaves like a combination of map and reduce; it

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -13,0 +13,0 @@ * An Object-specific version of [`map`](#map). The function is applied to three

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Tests a regular expression against a String. Note that this function will

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isInteger =
/*#__PURE__*/
require("./internal/_isInteger");
require("./internal/_isInteger.js");
/**

@@ -9,0 +9,0 @@ * `mathMod` behaves like the modulo operator should mathematically, unlike the

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns the larger of its two arguments.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Takes a function and two values, and returns whichever value produces the

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var sum =
/*#__PURE__*/
require("./sum");
require("./sum.js");
/**

@@ -9,0 +9,0 @@ * Returns the mean of the given list of numbers.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var mean =
/*#__PURE__*/
require("./mean");
require("./mean.js");
/**

@@ -9,0 +9,0 @@ * Returns the median of the given list of numbers.

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
/**

@@ -19,2 +19,4 @@ * Creates a new function that, when invoked, caches the result of calling `fn`

*
* Care must be taken when implementing key generation to avoid key collision,
* or if tracking references, memory leaks and mutating arguments.
*

@@ -32,3 +34,3 @@ * @func

* let count = 0;
* const factorial = R.memoizeWith(R.identity, n => {
* const factorial = R.memoizeWith(Number, n => {
* count += 1;

@@ -35,0 +37,0 @@ * return R.product(R.range(1, n + 1));

var _objectAssign =
/*#__PURE__*/
require("./internal/_objectAssign");
require("./internal/_objectAssign.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**
* Merges a list of objects together into one object.
* Creates one new object with the own properties from a list of objects.
* If a key exists in more than one object, the value from the last
* object it exists in will be used.
*

@@ -11,0 +13,0 @@ * @func

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var mergeDeepWithKey =
/*#__PURE__*/
require("./mergeDeepWithKey");
require("./mergeDeepWithKey.js");
/**

@@ -9,0 +9,0 @@ * Creates a new object with the own properties of the first object merged with

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var mergeDeepWithKey =
/*#__PURE__*/
require("./mergeDeepWithKey");
require("./mergeDeepWithKey.js");
/**

@@ -9,0 +9,0 @@ * Creates a new object with the own properties of the first object merged with

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var mergeDeepWithKey =
/*#__PURE__*/
require("./mergeDeepWithKey");
require("./mergeDeepWithKey.js");
/**

@@ -9,0 +9,0 @@ * Creates a new object with the own properties of the two provided objects.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var _isObject =
/*#__PURE__*/
require("./internal/_isObject");
require("./internal/_isObject.js");
var mergeWithKey =
/*#__PURE__*/
require("./mergeWithKey");
require("./mergeWithKey.js");
/**

@@ -13,0 +13,0 @@ * Creates a new object with the own properties of the two provided objects.

var _objectAssign =
/*#__PURE__*/
require("./internal/_objectAssign");
require("./internal/_objectAssign.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Create a new object with the own properties of the first object merged with

var _objectAssign =
/*#__PURE__*/
require("./internal/_objectAssign");
require("./internal/_objectAssign.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Create a new object with the own properties of the first object merged with

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var mergeWithKey =
/*#__PURE__*/
require("./mergeWithKey");
require("./mergeWithKey.js");
/**

@@ -9,0 +9,0 @@ * Creates a new object with the own properties of the two provided objects. If

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
/**

@@ -9,0 +9,0 @@ * Creates a new object with the own properties of the two provided objects. If

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns the smaller of its two arguments.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Takes a function and two values, and returns whichever value produces the

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Divides the first parameter by the second and returns the remainder. Note

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Move an item, at index `from`, to index `to`, in a list of elements.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Multiplies two numbers. Equivalent to `a * b` but curried.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Wraps a function of any arity (including nullary) in a function that accepts

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Negates its argument.

var _complement =
/*#__PURE__*/
require("./internal/_complement");
require("./internal/_complement.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var all =
/*#__PURE__*/
require("./all");
require("./all.js");
/**

@@ -32,3 +32,3 @@ * Returns `true` if no elements of the list match the predicate, `false`

* const isEven = n => n % 2 === 0;
* const isOdd = n => n % 2 === 1;
* const isOdd = n => n % 2 !== 0;
*

@@ -35,0 +35,0 @@ * R.none(isEven, [1, 3, 5, 7, 9, 11]); //=> true

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * A function that returns the `!` of its argument. It will return `true` when

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isString =
/*#__PURE__*/
require("./internal/_isString");
require("./internal/_isString.js");
/**

@@ -9,0 +9,0 @@ * Returns the nth element of the given list or string. If n is negative the

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var nth =
/*#__PURE__*/
require("./nth");
require("./nth.js");
/**

@@ -13,0 +13,0 @@ * Returns a function which returns its nth argument.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * `o` is a curried composition function that returns a unary function.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Creates an object containing a single key:value pair.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _of =
/*#__PURE__*/
require("./internal/_of");
require("./internal/_of.js");
/**

@@ -9,0 +9,0 @@ * Returns a singleton array containing the value provided.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns a partial copy of an object omitting the keys specified.

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -9,0 +9,0 @@ * Accepts a function `fn` and returns a function that guards invocation of

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**
* Returns `true` if one or both of its arguments are `true`. Returns `false`
* if both arguments are `false`.
* Returns the first argument if it is truthy, otherwise the second argument.
* Acts as the boolean `or` statement if both inputs are `Boolean`s.
*

@@ -15,4 +15,4 @@ * @func

* @param {Any} b
* @return {Any} the first argument if truthy, otherwise the second argument.
* @see R.either, R.xor
* @return {Any}
* @see R.either, R.and
* @example

@@ -19,0 +19,0 @@ *

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _assertPromise =
/*#__PURE__*/
require("./internal/_assertPromise");
require("./internal/_assertPromise.js");
/**

@@ -22,15 +22,15 @@ * Returns the result of applying the onFailure function to the value inside

* @return {Promise} The result of calling `p.then(null, onFailure)`
* @see R.then
* @see R.andThen
* @example
*
* var failedFetch = (id) => Promise.reject('bad ID');
* var useDefault = () => ({ firstName: 'Bob', lastName: 'Loblaw' })
* const failedFetch = id => Promise.reject('bad ID');
* const useDefault = () => ({ firstName: 'Bob', lastName: 'Loblaw' });
*
* //recoverFromFailure :: String -> Promise ({firstName, lastName})
* var recoverFromFailure = R.pipe(
* //recoverFromFailure :: String -> Promise ({ firstName, lastName })
* const recoverFromFailure = R.pipe(
* failedFetch,
* R.otherwise(useDefault),
* R.then(R.pick(['firstName', 'lastName'])),
* R.andThen(R.pick(['firstName', 'lastName'])),
* );
* recoverFromFailure(12345).then(console.log)
* recoverFromFailure(12345).then(console.log);
*/

@@ -37,0 +37,0 @@

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3"); // `Identity` is a functor that holds a single value, where `map` simply
require("./internal/_curry3.js"); // `Identity` is a functor that holds a single value, where `map` simply
// transforms the held value with the provided function.

@@ -30,3 +30,3 @@

* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @see R.view, R.set, R.lens, R.lensIndex, R.lensProp, R.lensPath
* @example

@@ -33,0 +33,0 @@ *

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Takes two arguments, `fst` and `snd`, and returns `[fst, snd]`.

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _createPartialApplicator =
/*#__PURE__*/
require("./internal/_createPartialApplicator");
require("./internal/_createPartialApplicator.js");
/**

@@ -26,3 +26,3 @@ * Takes a function `f` and a list of arguments, and returns a function `g`.

* const double = R.partial(multiply2, [2]);
* double(2); //=> 4
* double(3); //=> 6
*

@@ -29,0 +29,0 @@ * const greet = (salutation, title, firstName, lastName) =>

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _createPartialApplicator =
/*#__PURE__*/
require("./internal/_createPartialApplicator");
require("./internal/_createPartialApplicator.js");
var flip =
/*#__PURE__*/
require("./flip");
require("./flip.js");
/**

@@ -13,0 +13,0 @@ * Takes a function `f` and a list of arguments, and returns a function `g`.

var filter =
/*#__PURE__*/
require("./filter");
require("./filter.js");
var juxt =
/*#__PURE__*/
require("./juxt");
require("./juxt.js");
var reject =
/*#__PURE__*/
require("./reject");
require("./reject.js");
/**

@@ -13,0 +13,0 @@ * Takes a predicate and a list or other `Filterable` object and returns the

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var paths =
/*#__PURE__*/
require("./paths");
require("./paths.js");
/**

@@ -15,3 +15,3 @@ * Retrieve the value at a given path.

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {a} -> a | Undefined

@@ -18,0 +18,0 @@ * @param {Array} path The path to use.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
var path =
/*#__PURE__*/
require("./path");
require("./path.js");
/**

@@ -20,3 +20,3 @@ * Determines whether a nested path on an object has a specific value, in

* @category Relation
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> a -> {a} -> Boolean

@@ -23,0 +23,0 @@ * @param {Array} path The path of the nested property to use

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var defaultTo =
/*#__PURE__*/
require("./defaultTo");
require("./defaultTo.js");
var path =
/*#__PURE__*/
require("./path");
require("./path.js");
/**

@@ -20,3 +20,3 @@ * If the given, non-null object has a value at the given path, returns the

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig a -> [Idx] -> {a} -> a

@@ -23,0 +23,0 @@ * @param {*} d The default value.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isInteger =
/*#__PURE__*/
require("./internal/_isInteger");
require("./internal/_isInteger.js");
var nth =
/*#__PURE__*/
require("./nth");
require("./nth.js");
/**

@@ -19,3 +19,3 @@ * Retrieves the values at given paths of an object.

* @category Object
* @typedefn Idx = [String | Int]
* @typedefn Idx = [String | Int | Symbol]
* @sig [Idx] -> {a} -> [a | Undefined]

@@ -22,0 +22,0 @@ * @param {Array} pathsArray The array of paths to be fetched.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var path =
/*#__PURE__*/
require("./path");
require("./path.js");
/**

@@ -16,3 +16,3 @@ * Returns `true` if the specified object property at given path satisfies the

* @category Logic
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig (a -> Boolean) -> [Idx] -> {a} -> Boolean

@@ -19,0 +19,0 @@ * @param {Function} pred

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns a partial copy of an object containing only the keys specified. If

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Similar to `pick` except that this one includes a `key: undefined` pair for

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Returns a partial copy of an object containing only the keys that satisfy

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _pipe =
/*#__PURE__*/
require("./internal/_pipe");
require("./internal/_pipe.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
var tail =
/*#__PURE__*/
require("./tail");
require("./tail.js");
/**

@@ -38,2 +38,3 @@ * Performs left-to-right function composition. The first argument may have

* @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))
* @symb R.pipe(f, g, h)(a)(b) = h(g(f(a)))(b)
*/

@@ -40,0 +41,0 @@

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var head =
/*#__PURE__*/
require("./head");
require("./head.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var tail =
/*#__PURE__*/
require("./tail");
require("./tail.js");
var identity =
/*#__PURE__*/
require("./identity");
require("./identity.js");
/**
* Performs left-to-right function composition using transforming function. The first argument may have
* any arity; the remaining arguments must be unary.
* Performs left-to-right function composition using transforming function. The first function may have
* any arity; the remaining functions must be unary.
*

@@ -36,3 +36,4 @@ * **Note:** The result of pipeWith is not automatically curried. Transforming function is not used on the

* @sig ((* -> *), [((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)]) -> ((a, b, ..., n) -> z)
* @param {...Function} functions
* @param {Function} transformer The transforming function
* @param {Array} functions The functions to pipe
* @return {Function}

@@ -39,0 +40,0 @@ * @see R.composeWith, R.pipe

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
var prop =
/*#__PURE__*/
require("./prop");
require("./prop.js");
/**

@@ -28,3 +28,3 @@ * Returns a new list by plucking the same named property off all objects in

* @return {Array} The list of values for the given key.
* @see R.props
* @see R.project, R.prop, R.props
* @example

@@ -31,0 +31,0 @@ *

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list with the given element at the front, followed by the

var multiply =
/*#__PURE__*/
require("./multiply");
require("./multiply.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
/**

@@ -9,0 +9,0 @@ * Multiplies together all the elements of a list.

var _map =
/*#__PURE__*/
require("./internal/_map");
require("./internal/_map.js");
var identity =
/*#__PURE__*/
require("./identity");
require("./identity.js");
var pickAll =
/*#__PURE__*/
require("./pickAll");
require("./pickAll.js");
var useWith =
/*#__PURE__*/
require("./useWith");
require("./useWith.js");
/**

@@ -28,2 +28,3 @@ * Reasonable analog to SQL `select` statement.

* @return {Array} An array of objects with just the `props` properties.
* @see R.pluck, R.props, R.prop
* @example

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

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var path =
var _isInteger =
/*#__PURE__*/
require("./path");
require("./internal/_isInteger.js");
var nth =
/*#__PURE__*/
require("./nth.js");
/**

@@ -16,3 +20,3 @@ * Returns a function that when supplied an object returns the indicated

* @category Object
* @typedefn Idx = String | Int
* @typedefn Idx = String | Int | Symbol
* @sig Idx -> {s: a} -> a | Undefined

@@ -22,3 +26,3 @@ * @param {String|Number} p The property name or array index

* @return {*} The value at `obj.p`.
* @see R.path, R.nth
* @see R.path, R.props, R.pluck, R.project, R.nth
* @example

@@ -36,5 +40,9 @@ *

_curry2(function prop(p, obj) {
return path([p], obj);
if (obj == null) {
return;
}
return _isInteger(p) ? nth(p, obj) : obj[p];
});
module.exports = prop;
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var prop =
/*#__PURE__*/
require("./prop.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
/**

@@ -38,5 +42,5 @@ * Returns `true` if the specified object property is equal, in

_curry3(function propEq(name, val, obj) {
return equals(val, obj[name]);
return equals(val, prop(name, obj));
});
module.exports = propEq;
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var prop =
/*#__PURE__*/
require("./prop.js");
var is =
/*#__PURE__*/
require("./is");
require("./is.js");
/**

@@ -33,5 +37,5 @@ * Returns `true` if the specified object property is of the given type;

_curry3(function propIs(type, name, obj) {
return is(type, obj[name]);
return is(type, prop(name, obj));
});
module.exports = propIs;
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var pathOr =
var defaultTo =
/*#__PURE__*/
require("./pathOr");
require("./defaultTo.js");
var prop =
/*#__PURE__*/
require("./prop.js");
/**
* If the given, non-null object has an own property with the specified name,
* returns the value of that property. Otherwise returns the provided default
* value.
* Return the specified property of the given non-null object if the property
* is present and it's value is not `null`, `undefined` or `NaN`.
*
* Otherwise the first argument is returned.
*
* @func

@@ -39,5 +44,5 @@ * @memberOf R

_curry3(function propOr(val, p, obj) {
return pathOr(val, [p], obj);
return defaultTo(val, prop(p, obj));
});
module.exports = propOr;
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var path =
/*#__PURE__*/
require("./path");
require("./path.js");
/**

@@ -20,2 +20,3 @@ * Acts as multiple `prop`: array of keys in, array of values out. Preserves

* @return {Array} The corresponding values or partially applied function.
* @see R.prop, R.pluck, R.project
* @example

@@ -22,0 +23,0 @@ *

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var prop =
/*#__PURE__*/
require("./prop.js");
/**

@@ -28,5 +32,5 @@ * Returns `true` if the specified object property satisfies the given

_curry3(function propSatisfies(pred, name, obj) {
return pred(obj[name]);
return pred(prop(name, obj));
});
module.exports = propSatisfies;
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isNumber =
/*#__PURE__*/
require("./internal/_isNumber");
require("./internal/_isNumber.js");
/**

@@ -9,0 +9,0 @@ * Returns a list of numbers from `from` (inclusive) to `to` (exclusive).

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
/**

@@ -9,0 +9,0 @@ * Returns a single item by iterating through the list, successively calling

var _clone =
/*#__PURE__*/
require("./internal/_clone");
require("./internal/_clone.js");
var _curryN =
/*#__PURE__*/
require("./internal/_curryN");
require("./internal/_curryN.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var _reduced =
/*#__PURE__*/
require("./internal/_reduced.js");
var _xreduceBy =
/*#__PURE__*/
require("./internal/_xreduceBy");
require("./internal/_xreduceBy.js");
/**

@@ -29,2 +33,5 @@ * Groups the elements of the list according to the result of calling

*
* The value function receives two values: *(acc, value)*. It may use
* [`R.reduced`](#reduced) to short circuit the iteration.
*
* This function is basically a more general [`groupBy`](#groupBy) function.

@@ -46,3 +53,3 @@ *

* `valueFn` for elements which produced that key when passed to `keyFn`.
* @see R.groupBy, R.reduce
* @see R.groupBy, R.reduce, R.reduced
* @example

@@ -76,3 +83,9 @@ *

var key = keyFn(elt);
acc[key] = valueFn(_has(key, acc) ? acc[key] : _clone(valueAcc, [], [], false), elt);
var value = valueFn(_has(key, acc) ? acc[key] : _clone(valueAcc, [], [], false), elt);
if (value && value['@@transducer/reduced']) {
return _reduced(acc);
}
acc[key] = value;
return acc;

@@ -79,0 +92,0 @@ }, {}, list);

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _reduced =
/*#__PURE__*/
require("./internal/_reduced");
require("./internal/_reduced.js");
/**

@@ -13,5 +13,7 @@ * Returns a value wrapped to indicate that it is the final value of the reduce

*
* Note: this optimization is only available to the below functions:
* This optimization is available to the below functions:
* - [`reduce`](#reduce)
* - [`reduceWhile`](#reduceWhile)
* - [`reduceBy`](#reduceBy)
* - [`reduceRight`](#reduceRight)
* - [`transduce`](#transduce)

@@ -26,3 +28,3 @@ *

* @return {*} The wrapped value.
* @see R.reduce, R.reduceWhile, R.transduce
* @see R.reduce, R.reduceWhile, R.reduceBy, R.reduceRight, R.transduce
* @example

@@ -29,0 +31,0 @@ *

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -13,3 +13,4 @@ * Returns a single item by iterating through the list, successively calling

* The iterator function receives two values: *(value, acc)*, while the arguments'
* order of `reduce`'s iterator function is *(acc, value)*.
* order of `reduce`'s iterator function is *(acc, value)*. `reduceRight` may use [`reduced`](#reduced)
* to short circuit the iteration.
*

@@ -31,3 +32,3 @@ * Note: `R.reduceRight` does not skip deleted or unassigned indices (sparse

* @return {*} The final, accumulated value.
* @see R.reduce, R.addIndex
* @see R.reduce, R.addIndex, R.reduced
* @example

@@ -57,2 +58,8 @@ *

acc = fn(list[idx], acc);
if (acc && acc['@@transducer/reduced']) {
acc = acc['@@transducer/value'];
break;
}
idx -= 1;

@@ -59,0 +66,0 @@ }

var _curryN =
/*#__PURE__*/
require("./internal/_curryN");
require("./internal/_curryN.js");
var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var _reduced =
/*#__PURE__*/
require("./internal/_reduced");
require("./internal/_reduced.js");
/**

@@ -17,3 +17,4 @@ * Like [`reduce`](#reduce), `reduceWhile` returns a single item by iterating

* returns `false`, it "short-circuits" the iteration and returns the current
* value of the accumulator.
* value of the accumulator. `reduceWhile` may alternatively be short-circuited
* via [`reduced`](#reduced).
*

@@ -35,3 +36,3 @@ * @func

*
* const isOdd = (acc, x) => x % 2 === 1;
* const isOdd = (acc, x) => x % 2 !== 0;
* const xs = [1, 3, 5, 60, 777, 800];

@@ -38,0 +39,0 @@ * R.reduceWhile(isOdd, R.add, 0, xs); //=> 9

var _complement =
/*#__PURE__*/
require("./internal/_complement");
require("./internal/_complement.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var filter =
/*#__PURE__*/
require("./filter");
require("./filter.js");
/**

@@ -30,3 +30,3 @@ * The complement of [`filter`](#filter).

*
* const isOdd = (n) => n % 2 === 1;
* const isOdd = (n) => n % 2 !== 0;
*

@@ -33,0 +33,0 @@ * R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Removes the sub-list of `list` starting at index `start` and containing

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var always =
/*#__PURE__*/
require("./always");
require("./always.js");
var times =
/*#__PURE__*/
require("./times");
require("./times.js");
/**

@@ -13,0 +13,0 @@ * Returns a fixed list of size `n` containing a specified identical value.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Replace a substring or regex match in a string with a replacement.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _isString =
/*#__PURE__*/
require("./internal/_isString");
require("./internal/_isString.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list or string with the elements or characters in reverse

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Scan is similar to [`reduce`](#reduce), but returns a list of successively

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var ap =
/*#__PURE__*/
require("./ap");
require("./ap.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
var prepend =
/*#__PURE__*/
require("./prepend");
require("./prepend.js");
var reduceRight =
/*#__PURE__*/
require("./reduceRight");
require("./reduceRight.js");
/**

@@ -21,0 +21,0 @@ * Transforms a [Traversable](https://github.com/fantasyland/fantasy-land#traversable)

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var always =
/*#__PURE__*/
require("./always");
require("./always.js");
var over =
/*#__PURE__*/
require("./over");
require("./over.js");
/**

@@ -26,3 +26,3 @@ * Returns the result of "setting" the portion of the given data structure

* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @see R.view, R.over, R.lens, R.lensIndex, R.lensProp, R.lensPath
* @example

@@ -29,0 +29,0 @@ *

var _checkForMethod =
/*#__PURE__*/
require("./internal/_checkForMethod");
require("./internal/_checkForMethod.js");
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -9,0 +9,0 @@ * Returns the elements of the given list or string (or object with a `slice`

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -19,2 +19,3 @@ * Returns a copy of the list, sorted according to the comparator function,

* @return {Array} a new array with its elements sorted by the comparator function.
* @see R.ascend, R.descend
* @example

@@ -21,0 +22,0 @@ *

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Sorts the list according to the supplied function.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -15,2 +15,3 @@ * Sorts a list according to a list of comparators.

* @return {Array} A new list sorted according to the comarator functions.
* @see R.ascend, R.descend
* @example

@@ -17,0 +18,0 @@ *

var invoker =
/*#__PURE__*/
require("./invoker");
require("./invoker.js");
/**

@@ -5,0 +5,0 @@ * Splits a string into an array of strings based on the given

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var length =
/*#__PURE__*/
require("./length");
require("./length.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -13,0 +13,0 @@ * Splits a given list or string at a given index.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -9,0 +9,0 @@ * Splits a collection into slices of the specified length.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Takes a list and a predicate and returns a pair of lists with the following properties:

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
var take =
/*#__PURE__*/
require("./take");
require("./take.js");
/**

@@ -13,0 +13,0 @@ * Checks if a list starts with the provided sublist.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Subtracts its second argument from its first argument.

var add =
/*#__PURE__*/
require("./add");
require("./add.js");
var reduce =
/*#__PURE__*/
require("./reduce");
require("./reduce.js");
/**

@@ -9,0 +9,0 @@ * Adds together all the elements of a list.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var concat =
/*#__PURE__*/
require("./concat");
require("./concat.js");
var difference =
/*#__PURE__*/
require("./difference");
require("./difference.js");
/**

@@ -13,0 +13,0 @@ * Finds the set (i.e. no duplicates) of all elements contained in the first or

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var concat =
/*#__PURE__*/
require("./concat");
require("./concat.js");
var differenceWith =
/*#__PURE__*/
require("./differenceWith");
require("./differenceWith.js");
/**

@@ -13,0 +13,0 @@ * Finds the set (i.e. no duplicates) of all elements contained in the first or

var _checkForMethod =
/*#__PURE__*/
require("./internal/_checkForMethod");
require("./internal/_checkForMethod.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -13,0 +13,0 @@ * Returns all but the first element of the given list or string (or object

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xtake =
/*#__PURE__*/
require("./internal/_xtake");
require("./internal/_xtake.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -17,0 +17,0 @@ * Returns the first `n` elements of the given list, string, or

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var drop =
/*#__PURE__*/
require("./drop");
require("./drop.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list containing the last `n` elements of the given list.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list containing the last `n` elements of a given list, passing

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xtakeWhile =
/*#__PURE__*/
require("./internal/_xtakeWhile");
require("./internal/_xtakeWhile.js");
var slice =
/*#__PURE__*/
require("./slice");
require("./slice.js");
/**

@@ -17,0 +17,0 @@ * Returns a new list containing the first `n` elements of a given list,

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable");
require("./internal/_dispatchable.js");
var _xtap =
/*#__PURE__*/
require("./internal/_xtap");
require("./internal/_xtap.js");
/**

@@ -13,0 +13,0 @@ * Runs the given function with the supplied object, then returns the object.

var _cloneRegExp =
/*#__PURE__*/
require("./internal/_cloneRegExp");
require("./internal/_cloneRegExp.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _isRegExp =
/*#__PURE__*/
require("./internal/_isRegExp");
require("./internal/_isRegExp.js");
var toString =
/*#__PURE__*/
require("./toString");
require("./toString.js");
/**

@@ -17,0 +17,0 @@ * Determines whether a given string matches a given regular expression.

var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -9,0 +9,0 @@ * Creates a thunk out of a function. A thunk delays a calculation until

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Calls an input function `n` times, returning an array containing the results

var invoker =
/*#__PURE__*/
require("./invoker");
require("./invoker.js");
/**

@@ -5,0 +5,0 @@ * The lower case version of a string.

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
/**

@@ -21,3 +21,3 @@ * Converts an object into an array of key, value arrays. Only the object's

* @return {Array} An array of key, value arrays from the object's own properties.
* @see R.fromPairs
* @see R.fromPairs, R.keys, R.values
* @example

@@ -24,0 +24,0 @@ *

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Converts an object into an array of key, value arrays. The object's own

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var _toString =
/*#__PURE__*/
require("./internal/_toString");
require("./internal/_toString.js");
/**

@@ -9,0 +9,0 @@ * Returns the string representation of the given value. `eval`'ing the output

var invoker =
/*#__PURE__*/
require("./invoker");
require("./invoker.js");
/**

@@ -5,0 +5,0 @@ * The upper case version of a string.

var _reduce =
/*#__PURE__*/
require("./internal/_reduce");
require("./internal/_reduce.js");
var _xwrap =
/*#__PURE__*/
require("./internal/_xwrap");
require("./internal/_xwrap.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**

@@ -26,3 +26,3 @@ * Initializes a transducer using supplied iterator function. Returns a single

*
* A transformer is an an object that provides a 2-arity reducing iterator
* A transformer is an object that provides a 2-arity reducing iterator
* function, step, 0-arity initial value function, init, and 1-arity result

@@ -56,3 +56,3 @@ * extraction function, result. The step function is used as the iterator

*
* const isOdd = (x) => x % 2 === 1;
* const isOdd = (x) => x % 2 !== 0;
* const firstOddTransducer = R.compose(R.filter(isOdd), R.take(1));

@@ -59,0 +59,0 @@ * R.transduce(firstOddTransducer, R.flip(R.append), [], R.range(0, 100)); //=> [1]

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Transposes the rows and columns of a 2D list.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
var sequence =
/*#__PURE__*/
require("./sequence");
require("./sequence.js");
/**

@@ -43,5 +43,5 @@ * Maps an [Applicative](https://github.com/fantasyland/fantasy-land#applicative)-returning

_curry3(function traverse(of, f, traversable) {
return typeof traversable['fantasy-land/traverse'] === 'function' ? traversable['fantasy-land/traverse'](f, of) : sequence(of, map(f, traversable));
return typeof traversable['fantasy-land/traverse'] === 'function' ? traversable['fantasy-land/traverse'](f, of) : typeof traversable.traverse === 'function' ? traversable.traverse(f, of) : sequence(of, map(f, traversable));
});
module.exports = traverse;
var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");

@@ -5,0 +5,0 @@ var ws = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003' + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028' + '\u2029\uFEFF';

var _arity =
/*#__PURE__*/
require("./internal/_arity");
require("./internal/_arity.js");
var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -27,7 +27,8 @@ * `tryCatch` takes two functions, a `tryer` and a `catcher`. The returned

* @param {Function} catcher The function that will be evaluated if `tryer` throws.
* @return {Function} A new function that will catch exceptions and send then to the catcher.
* @return {Function} A new function that will catch exceptions and send them to the catcher.
* @example
*
* R.tryCatch(R.prop('x'), R.F)({x: true}); //=> true
* R.tryCatch(() => { throw 'foo'}, R.always('catched'))('bar') // => 'catched'
* R.tryCatch(() => { throw 'foo'}, R.always('caught'))('bar') // =>
* 'caught'
* R.tryCatch(R.times(R.identity), R.always([]))('s') // => []

@@ -34,0 +35,0 @@ * R.tryCatch(() => { throw 'this is not a valid value'}, (err, value)=>({error : err, value }))('bar') // => {'error': 'this is not a valid value', 'value': 'bar'}

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Gives a single-word string description of the (native) type of a value,

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Takes a function `fn`, which takes a single array argument, and returns a

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var nAry =
/*#__PURE__*/
require("./nAry");
require("./nAry.js");
/**

@@ -17,3 +17,3 @@ * Wraps a function of any arity (including nullary) in a function that accepts

* @category Function
* @sig (* -> b) -> (a -> b)
* @sig (a -> b -> c -> ... -> z) -> (a -> z)
* @param {Function} fn The function to wrap.

@@ -20,0 +20,0 @@ * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**
* Returns a function of arity `n` from a (manually) curried function.
* Note that, the returned function is actually a ramda style
* curryied function, which can accept one or more arguments in each
* function calling.
*

@@ -15,7 +18,7 @@ * @func

* @category Function
* @sig Number -> (a -> b) -> (a -> c)
* @sig Number -> (a -> b -> c ... -> z) -> ((a -> b -> c ...) -> z)
* @param {Number} length The arity for the returned function.
* @param {Function} fn The function to uncurry.
* @return {Function} A new function.
* @see R.curry
* @see R.curry, R.curryN
* @example

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

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Builds a list from a seed value. Accepts an iterator function, which returns

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var compose =
/*#__PURE__*/
require("./compose");
require("./compose.js");
var uniq =
/*#__PURE__*/
require("./uniq");
require("./uniq.js");
/**

@@ -17,0 +17,0 @@ * Combines two lists into a set (i.e. no duplicates) composed of the elements

var _concat =
/*#__PURE__*/
require("./internal/_concat");
require("./internal/_concat.js");
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var uniqWith =
/*#__PURE__*/
require("./uniqWith");
require("./uniqWith.js");
/**
* Combines two lists into a set (i.e. no duplicates) composed of the elements
* of each list. Duplication is determined according to the value returned by
* applying the supplied predicate to two list elements.
* applying the supplied predicate to two list elements. If an element exists
* in both lists, the first element from the first list will be used.
*

@@ -17,0 +18,0 @@ * @func

var identity =
/*#__PURE__*/
require("./identity");
require("./identity.js");
var uniqBy =
/*#__PURE__*/
require("./uniqBy");
require("./uniqBy.js");
/**

@@ -9,0 +9,0 @@ * Returns a new list containing only one copy of each element in the original

var _Set =
/*#__PURE__*/
require("./internal/_Set");
require("./internal/_Set.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable.js");
var _xuniqBy =
/*#__PURE__*/
require("./internal/_xuniqBy.js");
/**

@@ -14,2 +22,4 @@ * Returns a new list containing only one copy of each element in the original

*
* Acts as a transducer if a transformer is given in list position.
*
* @func

@@ -31,3 +41,5 @@ * @memberOf R

/*#__PURE__*/
_curry2(function uniqBy(fn, list) {
_curry2(
/*#__PURE__*/
_dispatchable([], _xuniqBy, function (fn, list) {
var set = new _Set();

@@ -50,4 +62,4 @@ var result = [];

return result;
});
}));
module.exports = uniqBy;

@@ -0,8 +1,16 @@

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2.js");
var _dispatchable =
/*#__PURE__*/
require("./internal/_dispatchable.js");
var _includesWith =
/*#__PURE__*/
require("./internal/_includesWith");
require("./internal/_includesWith.js");
var _curry2 =
var _xuniqWith =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_xuniqWith.js");
/**

@@ -14,2 +22,4 @@ * Returns a new list containing only one copy of each element in the original

*
* Acts as a transducer if a transformer is given in list position.
*
* @func

@@ -35,3 +45,5 @@ * @memberOf R

/*#__PURE__*/
_curry2(function uniqWith(pred, list) {
_curry2(
/*#__PURE__*/
_dispatchable([], _xuniqWith, function (pred, list) {
var idx = 0;

@@ -53,4 +65,4 @@ var len = list.length;

return result;
});
}));
module.exports = uniqWith;
var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -14,3 +14,3 @@ * Tests the final argument by passing it to the given predicate function. If

* @category Logic
* @sig (a -> Boolean) -> (a -> a) -> a -> a
* @sig (a -> Boolean) -> (a -> b) -> a -> a | b
* @param {Function} pred A predicate function

@@ -17,0 +17,0 @@ * @param {Function} whenFalseFn A function to invoke when the `pred` evaluates

var _identity =
/*#__PURE__*/
require("./internal/_identity");
require("./internal/_identity.js");
var chain =
/*#__PURE__*/
require("./chain");
require("./chain.js");
/**

@@ -9,0 +9,0 @@ * Shorthand for `R.chain(R.identity)`, which removes one level of nesting from

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Takes a predicate, a transformation function, and an initial value,

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
var adjust =
/*#__PURE__*/
require("./adjust");
require("./adjust.js");
var always =
/*#__PURE__*/
require("./always");
require("./always.js");
/**

@@ -13,0 +13,0 @@ * Returns a new copy of the array with the element at the provided index

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var curryN =
/*#__PURE__*/
require("./curryN");
require("./curryN.js");
/**

@@ -9,0 +9,0 @@ * Accepts a function `fn` and a list of transformer functions and returns a

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
var keys =
/*#__PURE__*/
require("./keys");
require("./keys.js");
/**

@@ -20,3 +20,3 @@ * Returns a list of all the enumerable own properties of the supplied object.

* @return {Array} An array of the values of the object's own properties.
* @see R.valuesIn, R.keys
* @see R.valuesIn, R.keys, R.toPairs
* @example

@@ -23,0 +23,0 @@ *

var _curry1 =
/*#__PURE__*/
require("./internal/_curry1");
require("./internal/_curry1.js");
/**

@@ -5,0 +5,0 @@ * Returns a list of all the properties, including prototype properties, of the

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2"); // `Const` is a functor that effectively ignores the function given to `map`.
require("./internal/_curry2.js"); // `Const` is a functor that effectively ignores the function given to `map`.

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

* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @see R.set, R.over, R.lens, R.lensIndex, R.lensProp, R.lensPath
* @example

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

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -14,3 +14,3 @@ * Tests the final argument by passing it to the given predicate function. If

* @category Logic
* @sig (a -> Boolean) -> (a -> a) -> a -> a
* @sig (a -> Boolean) -> (a -> b) -> a -> a | b
* @param {Function} pred A predicate function

@@ -17,0 +17,0 @@ * @param {Function} whenTrueFn A function to invoke when the `condition`

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var _has =
/*#__PURE__*/
require("./internal/_has");
require("./internal/_has.js");
/**

@@ -9,0 +9,0 @@ * Takes a spec object and a test object; returns true if the test satisfies

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var equals =
/*#__PURE__*/
require("./equals");
require("./equals.js");
var map =
/*#__PURE__*/
require("./map");
require("./map.js");
var where =
/*#__PURE__*/
require("./where");
require("./where.js");
/**

@@ -17,0 +17,0 @@ * Takes a spec object and a test object; returns true if the test satisfies

var _includes =
/*#__PURE__*/
require("./internal/_includes");
require("./internal/_includes.js");
var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
var flip =
/*#__PURE__*/
require("./flip");
require("./flip.js");
var reject =
/*#__PURE__*/
require("./reject");
require("./reject.js");
/**

@@ -17,0 +17,0 @@ * Returns a new list without values in the first argument.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Exclusive disjunction logical operation.

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Creates a new list out of the two supplied by creating each possible pair

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Creates a new list out of the two supplied by pairing up equally-positioned

var _curry2 =
/*#__PURE__*/
require("./internal/_curry2");
require("./internal/_curry2.js");
/**

@@ -5,0 +5,0 @@ * Creates a new object out of a list of keys and a list of values.

var _curry3 =
/*#__PURE__*/
require("./internal/_curry3");
require("./internal/_curry3.js");
/**

@@ -5,0 +5,0 @@ * Creates a new list out of the two supplied by applying the function to each

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc