ramda-adjunct
Advanced tools
Comparing version 1.11.0 to 1.12.0
@@ -0,1 +1,12 @@ | ||
<a name="1.12.0"></a> | ||
# [1.12.0](https://github.com/char0n/ramda-adjunct/compare/v1.11.0...v1.12.0) (2017-07-30) | ||
### Features | ||
* add curryRight ([0988114](https://github.com/char0n/ramda-adjunct/commit/0988114)) | ||
* add curryRightN ([c8c9dd5](https://github.com/char0n/ramda-adjunct/commit/c8c9dd5)) | ||
<a name="1.11.0"></a> | ||
@@ -2,0 +13,0 @@ # [1.11.0](https://github.com/char0n/ramda-adjunct/compare/v1.10.2...v1.11.0) (2017-07-23) |
@@ -1,1 +0,1 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("ramda")):"function"==typeof define&&define.amd?define(["ramda"],n):"object"==typeof exports?exports.RA=n(require("ramda")):t.RA=n(t.ramda)}(this,function(t){return function(t){function n(a){if(i[a])return i[a].exports;var r=i[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var i={};return n.m=t,n.c=i,n.i=function(t){return t},n.d=function(t,i,a){n.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=59)}([function(n,i){n.exports=t},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(11)),e=i(8),u=i.i(a.anyPass)([function(t){return"[object Function]"===Object.prototype.toString.call(t)},r.a,e.a]);n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(3)),e=i(60),u=i.i(a.both)(r.a,e.a);n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(12)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(67),r=i.n(a),e=r.a;n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(3)),e=i(1),u=i(60),o=i.i(a.both)(r.a,i.i(a.anyPass)([u.a,e.a]));n.a=o},function(t,n,i){"use strict";var a=i(68),r=i.n(a),e=i(0),u=(i.n(e),i(12)),o=i(2),c=i(1),s=i.i(e.pipe)(e.toString,i.i(e.equals)(i.i(e.toString)(Object))),f=i.i(e.pathSatisfies)(i.i(e.both)(c.a,s),["constructor"]),l=function(t){if(!i.i(o.a)(t)||!r()(t))return!1;var n=Object.getPrototypeOf(t);return!!i.i(u.a)(n)||f(n)};n.a=l},function(t,n,i){"use strict";var a=i(66),r=i.n(a),e=r.a;n.a=e},function(t,n,i){"use strict";var a=function(t){return"[object AsyncFunction]"===Object.prototype.toString.call(t)};n.a=a},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.is)(Date));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(63)),e=i.i(a.or)(Number.isFinite,r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(3)),e=null;try{e=new Function("return function* () {}")().constructor}catch(t){}var u=function(t){var n="[object GeneratorFunction]"===Object.prototype.toString.call(t),u=i.i(r.a)(e)&&t instanceof e;return i.i(a.or)(n,u)};n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.equals)(null));n.a=r},function(t,n,i){"use strict";var a=i(69),r=i.n(a),e=r.a;n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.always)(void 0));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(5)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(2)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(6)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(26)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.flip)(a.merge));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(7)),e=i(13),u="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},o=function(t){return!!i.i(r.a)(t)||!!t&&(!i.i(e.a)(t)&&("object"===(void 0===t?"undefined":u(t))&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(i.i(a.has)(0,t)&&i.i(a.has)(t.length-1,t)))))};n.a=o},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.is)(Boolean));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(64)),e=i.i(a.or)(Number.isInteger,r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(65)),e=i.i(a.or)(Number.isNaN,r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(23)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(14)),e=i.i(a.equals)(i.i(r.a)());n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(9)),e=i(24),u=i.i(a.both)(r.a,i.i(a.pipe)(i.i(a.invoker)(0,"getTime"),e.a));n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(62)),e=i.i(a.curry)(function(t,n){var e=i.i(a.curryN)(t,n);return i.i(a.curryN)(t,function(){for(var t=arguments.length,n=Array(t),u=0;u<t;u++)n[u]=arguments[u];var o=i.i(a.map)(e,i.i(a.head)(n)),c=i.i(a.slice)(1,1/0,n);return i.i(a.reduce)(r.a,o,c)})});n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(1)),e=i.i(a.curry)(function(t,n,a){return i.i(r.a)(a.cata)?a.cata(t,n):a.either(t,n)});n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.flip)(a.concat));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),a.merge);n.a=r},function(t,n,i){"use strict";function a(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var r=i(0),e=(i.n(r),i(58)),u=i(57),o=i(61),c=function(){function t(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(n,i,a){return i&&t(n.prototype,i),a&&t(n,a),n}}(),s=u.a.of,f=u.a.ap,l=u.a.map,p=u.a.equals,d=u.a.concat,y=u.a.chain,v=u.a.lte,m=u.a.empty,b=function(){function t(n){a(this,t),this.value=n}return t[s]=function(n){return new t(n)},c(t,null,[{key:"@@type",get:function(){return"RA/Identity"}}]),t.prototype.get=function(){return this.value},t.prototype[f]=function(t){return o.a[f].call(this,t)},t.prototype[l]=function(t){return o.b[l].call(this,t)},t.prototype[p]=function(t){return o.c[p].call(this,t)},t.prototype[d]=function(t){return o.d[d].call(this,t)},t.prototype[y]=function(t){return o.e[y].call(this,t)},t.prototype[v]=function(t){return o.f[v].call(this,t)},t.prototype[m]=function(){return this.constructor.of(i.i(r.empty)(this.value))},t}();i.i(e.a)(b).forEach(function(t){var n=t[0],i=t[1];b[n]=i}),i.i(e.a)(b.prototype).forEach(function(t){var n=t[0],i=t[1];b.prototype[n]=i}),n.a=b},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.anyPass)([a.isNil,a.isEmpty]));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(7)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(20)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(8)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(21)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(9)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.complement)(a.isEmpty));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(10)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(1)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(11)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(22)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.complement)(a.isNil));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(4)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(13)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(25)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(27),r=function(t){return i.i(a.a)(t.length,t)};n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.unapply)(a.identity));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(14)),e=i.i(a.always)(i.i(r.a)());n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curry)(function(t,n){return i.i(a.ap)([i.i(a.path)(a.__,n)],t)}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curryN)(2,i.i(a.compose)(a.values,a.pickAll)));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curry)(function(t,n){return i.i(a.reduce)(function(r,e){var u=i.i(a.has)(e,t)?t[e]:e;return i.i(a.assoc)(u,n[e],r)},{},i.i(a.keys)(n))}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curry)(function(t,n){return i.i(a.pipe)(a.toPairs,i.i(a.map)(i.i(a.adjust)(t,0)),a.fromPairs)(n)}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.always)(null));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curryN)(2,function(t,n){return i.i(a.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n)})}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curryN)(2,function(t,n){return i.i(a.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n())})}));n.a=r},function(t,n,i){"use strict";var a=Object.freeze({equals:"fantasy-land/equals",lte:"fantasy-land/lte",compose:"fantasy-land/compose",id:"fantasy-land/id",concat:"fantasy-land/concat",empty:"fantasy-land/empty",map:"fantasy-land/map",contramap:"fantasy-land/contramap",ap:"fantasy-land/ap",of:"fantasy-land/of",alt:"fantasy-land/alt",zero:"fantasy-land/zero",reduce:"fantasy-land/reduce",traverse:"fantasy-land/traverse",chain:"fantasy-land/chain",chainRec:"fantasy-land/chainRec",extend:"fantasy-land/extend",extract:"fantasy-land/extract",bimap:"fantasy-land/bimap",promap:"fantasy-land/promap"});n.a=a},function(t,n,i){"use strict";i.d(n,"b",function(){return e}),i.d(n,"a",function(){return u});var a=i(0),r=(i.n(a),i.i(a.either)(i.i(a.path)(["@@type"]),i.i(a.path)(["constructor","@@type"]))),e=(i.i(a.curry)(function(t,n){return r(n)===t}),i.i(a.curryN)(2,i.i(a.useWith)(a.equals,[r,r]))),u=(i.i(a.curryN)(2,i.i(a.complement)(e)),i.i(a.pipe)(a.toPairs,i.i(a.map)(i.i(a.over)(i.i(a.lensIndex)(0),i.i(a.replace)("fantasy-land/","")))))},function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=i(46),r=i(25),e=i(12),u=i(3),o=i(43),c=i(7),s=i(33),f=i(21),l=i(36),p=i(38),d=i(32),y=i(13),v=i(45),m=i(20),b=i(34),N=i(11),h=i(41),j=i(8),g=i(35),O=i(1),S=i(40),F=i(5),x=i(15),A=i(2),P=i(16),k=i(6),L=i(17),q=i(9),w=i(37),D=i(26),I=i(18),E=i(4),R=i(44),U=i(23),_=i(24),z=i(10),B=i(39),G=i(22),T=i(42),K=i(14),V=i(54),M=i(49),W=i(27),C=i(47),H=i(28),J=i(55),Q=i(56),X=i(51),Y=i(48),Z=i(29),$=i(30),tt=i(50),nt=i(52),it=i(53),at=i(19),rt=i(31);i.d(n,"isNotUndefined",function(){return a.a}),i.d(n,"isUndefined",function(){return r.a}),i.d(n,"isNull",function(){return e.a}),i.d(n,"isNotNull",function(){return u.a}),i.d(n,"isNotNil",function(){return o.a}),i.d(n,"isArray",function(){return c.a}),i.d(n,"isNotArray",function(){return s.a}),i.d(n,"isBoolean",function(){return f.a}),i.d(n,"isNotBoolean",function(){return l.a}),i.d(n,"isNotEmpty",function(){return p.a}),i.d(n,"isNilOrEmpty",function(){return d.a}),i.d(n,"isString",function(){return y.a}),i.d(n,"isNotString",function(){return v.a}),i.d(n,"isArrayLike",function(){return m.a}),i.d(n,"isNotArrayLike",function(){return b.a}),i.d(n,"isGeneratorFunction",function(){return N.a}),i.d(n,"isNotGeneratorFunction",function(){return h.a}),i.d(n,"isAsyncFunction",function(){return j.a}),i.d(n,"isNotAsyncFunction",function(){return g.a}),i.d(n,"isFunction",function(){return O.a}),i.d(n,"isNotFunction",function(){return S.a}),i.d(n,"isObj",function(){return F.a}),i.d(n,"isObject",function(){return F.a}),i.d(n,"isNotObj",function(){return x.a}),i.d(n,"isNotObject",function(){return x.a}),i.d(n,"isObjLike",function(){return A.a}),i.d(n,"isObjectLike",function(){return A.a}),i.d(n,"isNotObjLike",function(){return P.a}),i.d(n,"isNotObjectLike",function(){return P.a}),i.d(n,"isPlainObj",function(){return k.a}),i.d(n,"isPlainObject",function(){return k.a}),i.d(n,"isNotPlainObj",function(){return L.a}),i.d(n,"isNotPlainObject",function(){return L.a}),i.d(n,"isDate",function(){return q.a}),i.d(n,"isNotDate",function(){return w.a}),i.d(n,"isValidDate",function(){return D.a}),i.d(n,"isNotValidDate",function(){return I.a}),i.d(n,"isInvalidDate",function(){return I.a}),i.d(n,"isNumber",function(){return E.a}),i.d(n,"isNotNumber",function(){return R.a}),i.d(n,"isNaN",function(){return U.a}),i.d(n,"isNotNaN",function(){return _.a}),i.d(n,"isFinite",function(){return z.a}),i.d(n,"isNotFinite",function(){return B.a}),i.d(n,"isInteger",function(){return G.a}),i.d(n,"isNotInteger",function(){return T.a}),i.d(n,"stubUndefined",function(){return K.a}),i.d(n,"stubNull",function(){return V.a}),i.d(n,"noop",function(){return M.a}),i.d(n,"liftFN",function(){return W.a}),i.d(n,"liftF",function(){return C.a}),i.d(n,"cata",function(){return H.a}),i.d(n,"weave",function(){return J.a}),i.d(n,"weaveLazy",function(){return Q.a}),i.d(n,"pickIndexes",function(){return X.a}),i.d(n,"list",function(){return Y.a}),i.d(n,"concatRight",function(){return Z.a}),i.d(n,"defaults",function(){return $.a}),i.d(n,"paths",function(){return tt.a}),i.d(n,"renameKeys",function(){return nt.a}),i.d(n,"renameKeysWith",function(){return it.a}),i.d(n,"mergeRight",function(){return at.a}),i.d(n,"resetToDefault",function(){return at.a}),i.d(n,"Identity",function(){return rt.a});var et={isNotUndefined:a.a,isUndefined:r.a,isNull:e.a,isNotNull:u.a,isNotNil:o.a,isArray:c.a,isNotArray:s.a,isBoolean:f.a,isNotBoolean:l.a,isNotEmpty:p.a,isNilOrEmpty:d.a,isString:y.a,isNotString:v.a,isArrayLike:m.a,isNotArrayLike:b.a,isGeneratorFunction:N.a,isNotGeneratorFunction:h.a,isAsyncFunction:j.a,isNotAsyncFunction:g.a,isFunction:O.a,isNotFunction:S.a,isObj:F.a,isObject:F.a,isNotObj:x.a,isNotObject:x.a,isObjLike:A.a,isObjectLike:A.a,isNotObjLike:P.a,isNotObjectLike:P.a,isPlainObj:k.a,isPlainObject:k.a,isNotPlainObj:L.a,isNotPlainObject:L.a,isDate:q.a,isNotDate:w.a,isValidDate:D.a,isNotValidDate:I.a,isInvalidDate:I.a,isNumber:E.a,isNotNumber:R.a,isNaN:U.a,isNotNaN:_.a,isFinite:z.a,isNotFinite:B.a,isInteger:G.a,isNotInteger:T.a,stubUndefined:K.a,stubNull:V.a,noop:M.a,liftFN:W.a,liftF:C.a,cata:H.a,weave:J.a,weaveLazy:Q.a,pickIndexes:X.a,list:Y.a,concatRight:Z.a,defaults:$.a,resetToDefault:at.a,paths:tt.a,renameKeys:nt.a,renameKeysWith:it.a,mergeRight:at.a,Identity:rt.a};n.default=et},function(t,n,i){"use strict";var a="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},r=function(t){return"object"===(void 0===t?"undefined":a(t))};n.a=r},function(t,n,i){"use strict";i.d(n,"b",function(){return d}),i.d(n,"a",function(){return y}),i.d(n,"c",function(){return v}),i.d(n,"d",function(){return m}),i.d(n,"e",function(){return b}),i.d(n,"f",function(){return N});var a,r,e,u,o,c,s=i(0),f=(i.n(s),i(59)),l=i(58),p=i(57),d=(a={},a[p.a.map]=function(t){return this.constructor[p.a.of](t(this.value))},a),y=(r={},r[p.a.ap]=function(t){var n=this;return t.map(function(t){return t(n.value)})},r),v=(e={},e[p.a.equals]=function(t){return i.i(l.b)(this,t)&&i.i(s.equals)(this.value,t.value)},e),m=(u={},u[p.a.concat]=function(t){var n=this.value;return i.i(f.isString)(this.value)||i.i(f.isNumber)(this.value)?n=this.value+t.value:i.i(s.pathSatisfies)(f.isFunction,["value",p.a.concat],this)?n=this.value[p.a.concat](t.value):i.i(s.pathSatisfies)(f.isFunction,["value","concat"],this)&&(n=this.value.concat(t.value)),this.constructor[p.a.of](n)},u),b=(o={},o[p.a.chain]=function(t){var n=t(this.value);return i.i(l.b)(this,n)?n:this},o),N=(c={},c[p.a.lte]=function(t){return i.i(l.b)(this,t)&&(this.value<t.value||this[p.a.equals](t))},c)},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(1)),e=i(57),u=i.i(a.anyPass)([i.i(a.pathSatisfies)(r.a,["map"]),i.i(a.pathSatisfies)(r.a,[e.a.map])]),o=i.i(a.both)(u,i.i(a.anyPass)([i.i(a.pathSatisfies)(r.a,["ap"]),i.i(a.pathSatisfies)(r.a,[e.a.ap])])),c=i.i(a.curryN)(2,function(t,n){if(!o(t)||!o(n))return i.i(a.ap)(t,n);try{return t.ap(n)}catch(i){return n.ap(t)}});n.a=c},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(4)),e=i.i(a.both)(r.a,isFinite);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(10)),e=i.i(a.both)(r.a,i.i(a.converge)(a.equals,[Math.floor,a.identity]));n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(4)),e=i.i(a.both)(r.a,isNaN);n.a=e},function(t,n){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("ramda")):"function"==typeof define&&define.amd?define(["ramda"],n):"object"==typeof exports?exports.RA=n(require("ramda")):t.RA=n(t.ramda)}(this,function(t){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=1)}([function(n,e){n.exports=t},function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=e(0),c=(e.n(i),Object(i.always)(void 0)),o=c,u=e(0),a=(e.n(u),Object(u.equals)(o())),s=a,f=e(0),l=(e.n(f),Object(f.complement)(s)),b=l,p=e(0),j=(e.n(p),Object(p.equals)(null)),y=j,d=e(0),O=(e.n(d),Object(d.complement)(y)),m=O,h=e(0),N=(e.n(h),Object(h.complement)(h.isNil)),v=N,g=e(2),S=e.n(g),F=S.a,A=F,x=e(0),P=(e.n(x),Object(x.complement)(A)),k=P,L=e(0),q=(e.n(L),Object(L.is)(Boolean)),w=q,D=e(0),I=(e.n(D),Object(D.complement)(w)),R=I,E=e(0),U=(e.n(E),Object(E.complement)(E.isEmpty)),_=U,z=e(0),B=(e.n(z),Object(z.anyPass)([z.isNil,z.isEmpty])),G=B,T=e(3),K=e.n(T),V=K.a,M=V,W=e(0),C=(e.n(W),Object(W.complement)(M)),H=C,J=e(0),Q=(e.n(J),"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}),X=function(t){return!!A(t)||!!t&&(!M(t)&&("object"===(void 0===t?"undefined":Q(t))&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(Object(J.has)(0,t)&&Object(J.has)(t.length-1,t)))))},Y=X,Z=e(0),$=(e.n(Z),Object(Z.complement)(Y)),tt=$,nt=e(0),et=(e.n(nt),null);try{et=new Function("return function* () {}")().constructor}catch(t){}var rt,it,ct,ot,ut,at,st=function(t){var n="[object GeneratorFunction]"===Object.prototype.toString.call(t),e=m(et)&&t instanceof et;return Object(nt.or)(n,e)},ft=st,lt=e(0),bt=(e.n(lt),Object(lt.complement)(ft)),pt=bt,jt=function(t){return"[object AsyncFunction]"===Object.prototype.toString.call(t)},yt=jt,dt=e(0),Ot=(e.n(dt),Object(dt.complement)(yt)),mt=Ot,ht=e(0),Nt=(e.n(ht),Object(ht.anyPass)([function(t){return"[object Function]"===Object.prototype.toString.call(t)},ft,yt])),vt=Nt,gt=e(0),St=(e.n(gt),Object(gt.complement)(vt)),Ft=St,At="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},xt=function(t){return"object"===(void 0===t?"undefined":At(t))},Pt=xt,kt=e(0),Lt=(e.n(kt),Object(kt.both)(m,Object(kt.anyPass)([Pt,vt]))),qt=Lt,wt=e(0),Dt=(e.n(wt),Object(wt.complement)(qt)),It=Dt,Rt=e(0),Et=(e.n(Rt),Object(Rt.both)(m,Pt)),Ut=Et,_t=e(0),zt=(e.n(_t),Object(_t.complement)(Ut)),Bt=zt,Gt=e(4),Tt=e.n(Gt),Kt=e(0),Vt=(e.n(Kt),Object(Kt.pipe)(Kt.toString,Object(Kt.equals)(Object(Kt.toString)(Object)))),Mt=Object(Kt.pathSatisfies)(Object(Kt.both)(vt,Vt),["constructor"]),Wt=function(t){if(!Ut(t)||!Tt()(t))return!1;var n=Object.getPrototypeOf(t);return!!y(n)||Mt(n)},Ct=Wt,Ht=e(0),Jt=(e.n(Ht),Object(Ht.complement)(Ct)),Qt=Jt,Xt=e(0),Yt=(e.n(Xt),Object(Xt.is)(Date)),Zt=Yt,$t=e(0),tn=(e.n($t),Object($t.complement)(Zt)),nn=tn,en=e(5),rn=e.n(en),cn=rn.a,on=cn,un=e(0),an=(e.n(un),Object(un.both)(on,isNaN)),sn=an,fn=e(0),ln=(e.n(fn),Object(fn.or)(Number.isNaN,sn)),bn=ln,pn=e(0),jn=(e.n(pn),Object(pn.complement)(bn)),yn=jn,dn=e(0),On=(e.n(dn),Object(dn.both)(Zt,Object(dn.pipe)(Object(dn.invoker)(0,"getTime"),yn))),mn=On,hn=e(0),Nn=(e.n(hn),Object(hn.complement)(mn)),vn=Nn,gn=e(0),Sn=(e.n(gn),Object(gn.complement)(on)),Fn=Sn,An=e(0),xn=(e.n(An),Object(An.both)(on,isFinite)),Pn=xn,kn=e(0),Ln=(e.n(kn),Object(kn.or)(Number.isFinite,Pn)),qn=Ln,wn=e(0),Dn=(e.n(wn),Object(wn.complement)(qn)),In=Dn,Rn=e(0),En=(e.n(Rn),Object(Rn.both)(qn,Object(Rn.converge)(Rn.equals,[Math.floor,Rn.identity]))),Un=En,_n=e(0),zn=(e.n(_n),Object(_n.or)(Number.isInteger,Un)),Bn=zn,Gn=e(0),Tn=(e.n(Gn),Object(Gn.complement)(Bn)),Kn=Tn,Vn=e(0),Mn=(e.n(Vn),Object(Vn.always)(null)),Wn=Mn,Cn=e(0),Hn=(e.n(Cn),Object(Cn.always)(o())),Jn=Hn,Qn=Object.freeze({equals:"fantasy-land/equals",lte:"fantasy-land/lte",compose:"fantasy-land/compose",id:"fantasy-land/id",concat:"fantasy-land/concat",empty:"fantasy-land/empty",map:"fantasy-land/map",contramap:"fantasy-land/contramap",ap:"fantasy-land/ap",of:"fantasy-land/of",alt:"fantasy-land/alt",zero:"fantasy-land/zero",reduce:"fantasy-land/reduce",traverse:"fantasy-land/traverse",chain:"fantasy-land/chain",chainRec:"fantasy-land/chainRec",extend:"fantasy-land/extend",extract:"fantasy-land/extract",bimap:"fantasy-land/bimap",promap:"fantasy-land/promap"}),Xn=Qn,Yn=e(0),Zn=(e.n(Yn),Object(Yn.anyPass)([Object(Yn.pathSatisfies)(vt,["map"]),Object(Yn.pathSatisfies)(vt,[Xn.map])])),$n=Object(Yn.both)(Zn,Object(Yn.anyPass)([Object(Yn.pathSatisfies)(vt,["ap"]),Object(Yn.pathSatisfies)(vt,[Xn.ap])])),te=Object(Yn.curryN)(2,function(t,n){if(!$n(t)||!$n(n))return Object(Yn.ap)(t,n);try{return t.ap(n)}catch(e){return n.ap(t)}}),ne=te,ee=e(0),re=(e.n(ee),Object(ee.curry)(function(t,n){var e=Object(ee.curryN)(t,n);return Object(ee.curryN)(t,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Object(ee.map)(e,Object(ee.head)(n)),c=Object(ee.slice)(1,1/0,n);return Object(ee.reduce)(ne,i,c)})})),ie=re,ce=function(t){return ie(t.length,t)},oe=ce,ue=e(0),ae=(e.n(ue),Object(ue.curry)(function(t,n,e){return vt(e.cata)?e.cata(t,n):e.either(t,n)})),se=ae,fe=e(0),le=(e.n(fe),Object(fe.curryN)(2,function(t,n){return Object(fe.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n)})})),be=le,pe=e(0),je=(e.n(pe),Object(pe.curryN)(2,function(t,n){return Object(pe.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n())})})),ye=je,de=e(0),Oe=(e.n(de),Object(de.curryN)(2,function(t,n){return Object(de.curryN)(t,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n.apply(this,Object(de.reverse)(e))})})),me=Oe,he=e(0),Ne=(e.n(he),Object(he.converge)(me,[he.length,he.identity])),ve=Ne,ge=e(0),Se=(e.n(ge),Object(ge.curryN)(2,Object(ge.compose)(ge.values,ge.pickAll))),Fe=Se,Ae=e(0),xe=(e.n(Ae),Object(Ae.unapply)(Ae.identity)),Pe=xe,ke=e(0),Le=(e.n(ke),Object(ke.flip)(ke.concat)),qe=Le,we=e(0),De=(e.n(we),we.merge),Ie=De,Re=e(0),Ee=(e.n(Re),Object(Re.curry)(function(t,n){return Object(Re.ap)([Object(Re.path)(Re.__,n)],t)})),Ue=Ee,_e=e(0),ze=(e.n(_e),Object(_e.curry)(function(t,n){return Object(_e.reduce)(function(e,r){var i=Object(_e.has)(r,t)?t[r]:r;return Object(_e.assoc)(i,n[r],e)},{},Object(_e.keys)(n))})),Be=ze,Ge=e(0),Te=(e.n(Ge),Object(Ge.curry)(function(t,n){return Object(Ge.pipe)(Ge.toPairs,Object(Ge.map)(Object(Ge.adjust)(t,0)),Ge.fromPairs)(n)})),Ke=Te,Ve=e(0),Me=(e.n(Ve),Object(Ve.flip)(Ve.merge)),We=Me,Ce=e(0),He=(e.n(Ce),Object(Ce.either)(Object(Ce.path)(["@@type"]),Object(Ce.path)(["constructor","@@type"]))),Je=(Object(Ce.curry)(function(t,n){return He(n)===t}),Object(Ce.curryN)(2,Object(Ce.useWith)(Ce.equals,[He,He]))),Qe=(Object(Ce.curryN)(2,Object(Ce.complement)(Je)),Object(Ce.pipe)(Ce.toPairs,Object(Ce.map)(Object(Ce.over)(Object(Ce.lensIndex)(0),Object(Ce.replace)("fantasy-land/",""))))),Xe=e(0),Ye=(e.n(Xe),rt={},rt[Xn.map]=function(t){return this.constructor[Xn.of](t(this.value))},rt),Ze=(it={},it[Xn.ap]=function(t){var n=this;return t.map(function(t){return t(n.value)})},it),$e=(ct={},ct[Xn.equals]=function(t){return Je(this,t)&&Object(Xe.equals)(this.value,t.value)},ct),tr=(ot={},ot[Xn.concat]=function(t){var n=this.value;return M(this.value)||on(this.value)?n=this.value+t.value:Object(Xe.pathSatisfies)(vt,["value",Xn.concat],this)?n=this.value[Xn.concat](t.value):Object(Xe.pathSatisfies)(vt,["value","concat"],this)&&(n=this.value.concat(t.value)),this.constructor[Xn.of](n)},ot),nr=(ut={},ut[Xn.chain]=function(t){var n=t(this.value);return Je(this,n)?n:this},ut),er=(at={},at[Xn.lte]=function(t){return Je(this,t)&&(this.value<t.value||this[Xn.equals](t))},at),rr=e(0),ir=(e.n(rr),function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()),cr=Xn.of,or=Xn.ap,ur=Xn.map,ar=Xn.equals,sr=Xn.concat,fr=Xn.chain,lr=Xn.lte,br=Xn.empty,pr=function(){function t(n){r(this,t),this.value=n}return t[cr]=function(n){return new t(n)},ir(t,null,[{key:"@@type",get:function(){return"RA/Identity"}}]),t.prototype.get=function(){return this.value},t.prototype[or]=function(t){return Ze[or].call(this,t)},t.prototype[ur]=function(t){return Ye[ur].call(this,t)},t.prototype[ar]=function(t){return $e[ar].call(this,t)},t.prototype[sr]=function(t){return tr[sr].call(this,t)},t.prototype[fr]=function(t){return nr[fr].call(this,t)},t.prototype[lr]=function(t){return er[lr].call(this,t)},t.prototype[br]=function(){return this.constructor.of(Object(rr.empty)(this.value))},t}();Qe(pr).forEach(function(t){var n=t[0],e=t[1];pr[n]=e}),Qe(pr.prototype).forEach(function(t){var n=t[0],e=t[1];pr.prototype[n]=e});var jr=pr;e.d(n,"isNotUndefined",function(){return b}),e.d(n,"isUndefined",function(){return s}),e.d(n,"isNull",function(){return y}),e.d(n,"isNotNull",function(){return m}),e.d(n,"isNotNil",function(){return v}),e.d(n,"isArray",function(){return A}),e.d(n,"isNotArray",function(){return k}),e.d(n,"isBoolean",function(){return w}),e.d(n,"isNotBoolean",function(){return R}),e.d(n,"isNotEmpty",function(){return _}),e.d(n,"isNilOrEmpty",function(){return G}),e.d(n,"isString",function(){return M}),e.d(n,"isNotString",function(){return H}),e.d(n,"isArrayLike",function(){return Y}),e.d(n,"isNotArrayLike",function(){return tt}),e.d(n,"isGeneratorFunction",function(){return ft}),e.d(n,"isNotGeneratorFunction",function(){return pt}),e.d(n,"isAsyncFunction",function(){return yt}),e.d(n,"isNotAsyncFunction",function(){return mt}),e.d(n,"isFunction",function(){return vt}),e.d(n,"isNotFunction",function(){return Ft}),e.d(n,"isObj",function(){return qt}),e.d(n,"isObject",function(){return qt}),e.d(n,"isNotObj",function(){return It}),e.d(n,"isNotObject",function(){return It}),e.d(n,"isObjLike",function(){return Ut}),e.d(n,"isObjectLike",function(){return Ut}),e.d(n,"isNotObjLike",function(){return Bt}),e.d(n,"isNotObjectLike",function(){return Bt}),e.d(n,"isPlainObj",function(){return Ct}),e.d(n,"isPlainObject",function(){return Ct}),e.d(n,"isNotPlainObj",function(){return Qt}),e.d(n,"isNotPlainObject",function(){return Qt}),e.d(n,"isDate",function(){return Zt}),e.d(n,"isNotDate",function(){return nn}),e.d(n,"isValidDate",function(){return mn}),e.d(n,"isNotValidDate",function(){return vn}),e.d(n,"isInvalidDate",function(){return vn}),e.d(n,"isNumber",function(){return on}),e.d(n,"isNotNumber",function(){return Fn}),e.d(n,"isNaN",function(){return bn}),e.d(n,"isNotNaN",function(){return yn}),e.d(n,"isFinite",function(){return qn}),e.d(n,"isNotFinite",function(){return In}),e.d(n,"isInteger",function(){return Bn}),e.d(n,"isNotInteger",function(){return Kn}),e.d(n,"stubUndefined",function(){return o}),e.d(n,"stubNull",function(){return Wn}),e.d(n,"noop",function(){return Jn}),e.d(n,"liftFN",function(){return ie}),e.d(n,"liftF",function(){return oe}),e.d(n,"cata",function(){return se}),e.d(n,"weave",function(){return be}),e.d(n,"weaveLazy",function(){return ye}),e.d(n,"curryRightN",function(){return me}),e.d(n,"curryRight",function(){return ve}),e.d(n,"pickIndexes",function(){return Fe}),e.d(n,"list",function(){return Pe}),e.d(n,"concatRight",function(){return qe}),e.d(n,"defaults",function(){return Ie}),e.d(n,"paths",function(){return Ue}),e.d(n,"renameKeys",function(){return Be}),e.d(n,"renameKeysWith",function(){return Ke}),e.d(n,"mergeRight",function(){return We}),e.d(n,"resetToDefault",function(){return We}),e.d(n,"Identity",function(){return jr});var yr={isNotUndefined:b,isUndefined:s,isNull:y,isNotNull:m,isNotNil:v,isArray:A,isNotArray:k,isBoolean:w,isNotBoolean:R,isNotEmpty:_,isNilOrEmpty:G,isString:M,isNotString:H,isArrayLike:Y,isNotArrayLike:tt,isGeneratorFunction:ft,isNotGeneratorFunction:pt,isAsyncFunction:yt,isNotAsyncFunction:mt,isFunction:vt,isNotFunction:Ft,isObj:qt,isObject:qt,isNotObj:It,isNotObject:It,isObjLike:Ut,isObjectLike:Ut,isNotObjLike:Bt,isNotObjectLike:Bt,isPlainObj:Ct,isPlainObject:Ct,isNotPlainObj:Qt,isNotPlainObject:Qt,isDate:Zt,isNotDate:nn,isValidDate:mn,isNotValidDate:vn,isInvalidDate:vn,isNumber:on,isNotNumber:Fn,isNaN:bn,isNotNaN:yn,isFinite:qn,isNotFinite:In,isInteger:Bn,isNotInteger:Kn,stubUndefined:o,stubNull:Wn,noop:Jn,liftFN:ie,liftF:oe,cata:se,weave:be,weaveLazy:ye,curryRightN:me,curryRight:ve,pickIndexes:Fe,list:Pe,concatRight:qe,defaults:Ie,resetToDefault:We,paths:Ue,renameKeys:Be,renameKeysWith:Ke,mergeRight:We,Identity:jr};n.default=yr},function(t,n){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}}])}); |
@@ -1,1 +0,1 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("R")):"function"==typeof define&&define.amd?define(["R"],n):"object"==typeof exports?exports.RA=n(require("R")):t.RA=n(t.R)}(this,function(t){return function(t){function n(a){if(i[a])return i[a].exports;var r=i[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var i={};return n.m=t,n.c=i,n.i=function(t){return t},n.d=function(t,i,a){n.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=59)}([function(n,i){n.exports=t},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(11)),e=i(8),u=i.i(a.anyPass)([function(t){return"[object Function]"===Object.prototype.toString.call(t)},r.a,e.a]);n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(3)),e=i(60),u=i.i(a.both)(r.a,e.a);n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(12)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(67),r=i.n(a),e=r.a;n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(3)),e=i(1),u=i(60),o=i.i(a.both)(r.a,i.i(a.anyPass)([u.a,e.a]));n.a=o},function(t,n,i){"use strict";var a=i(68),r=i.n(a),e=i(0),u=(i.n(e),i(12)),o=i(2),c=i(1),s=i.i(e.pipe)(e.toString,i.i(e.equals)(i.i(e.toString)(Object))),f=i.i(e.pathSatisfies)(i.i(e.both)(c.a,s),["constructor"]),l=function(t){if(!i.i(o.a)(t)||!r()(t))return!1;var n=Object.getPrototypeOf(t);return!!i.i(u.a)(n)||f(n)};n.a=l},function(t,n,i){"use strict";var a=i(66),r=i.n(a),e=r.a;n.a=e},function(t,n,i){"use strict";var a=function(t){return"[object AsyncFunction]"===Object.prototype.toString.call(t)};n.a=a},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.is)(Date));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(63)),e=i.i(a.or)(Number.isFinite,r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(3)),e=null;try{e=new Function("return function* () {}")().constructor}catch(t){}var u=function(t){var n="[object GeneratorFunction]"===Object.prototype.toString.call(t),u=i.i(r.a)(e)&&t instanceof e;return i.i(a.or)(n,u)};n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.equals)(null));n.a=r},function(t,n,i){"use strict";var a=i(69),r=i.n(a),e=r.a;n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.always)(void 0));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(5)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(2)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(6)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(26)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.flip)(a.merge));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(7)),e=i(13),u="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},o=function(t){return!!i.i(r.a)(t)||!!t&&(!i.i(e.a)(t)&&("object"===(void 0===t?"undefined":u(t))&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(i.i(a.has)(0,t)&&i.i(a.has)(t.length-1,t)))))};n.a=o},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.is)(Boolean));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(64)),e=i.i(a.or)(Number.isInteger,r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(65)),e=i.i(a.or)(Number.isNaN,r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(23)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(14)),e=i.i(a.equals)(i.i(r.a)());n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(9)),e=i(24),u=i.i(a.both)(r.a,i.i(a.pipe)(i.i(a.invoker)(0,"getTime"),e.a));n.a=u},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(62)),e=i.i(a.curry)(function(t,n){var e=i.i(a.curryN)(t,n);return i.i(a.curryN)(t,function(){for(var t=arguments.length,n=Array(t),u=0;u<t;u++)n[u]=arguments[u];var o=i.i(a.map)(e,i.i(a.head)(n)),c=i.i(a.slice)(1,1/0,n);return i.i(a.reduce)(r.a,o,c)})});n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(1)),e=i.i(a.curry)(function(t,n,a){return i.i(r.a)(a.cata)?a.cata(t,n):a.either(t,n)});n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.flip)(a.concat));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),a.merge);n.a=r},function(t,n,i){"use strict";function a(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var r=i(0),e=(i.n(r),i(58)),u=i(57),o=i(61),c=function(){function t(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(n,i,a){return i&&t(n.prototype,i),a&&t(n,a),n}}(),s=u.a.of,f=u.a.ap,l=u.a.map,p=u.a.equals,d=u.a.concat,y=u.a.chain,v=u.a.lte,m=u.a.empty,b=function(){function t(n){a(this,t),this.value=n}return t[s]=function(n){return new t(n)},c(t,null,[{key:"@@type",get:function(){return"RA/Identity"}}]),t.prototype.get=function(){return this.value},t.prototype[f]=function(t){return o.a[f].call(this,t)},t.prototype[l]=function(t){return o.b[l].call(this,t)},t.prototype[p]=function(t){return o.c[p].call(this,t)},t.prototype[d]=function(t){return o.d[d].call(this,t)},t.prototype[y]=function(t){return o.e[y].call(this,t)},t.prototype[v]=function(t){return o.f[v].call(this,t)},t.prototype[m]=function(){return this.constructor.of(i.i(r.empty)(this.value))},t}();i.i(e.a)(b).forEach(function(t){var n=t[0],i=t[1];b[n]=i}),i.i(e.a)(b.prototype).forEach(function(t){var n=t[0],i=t[1];b.prototype[n]=i}),n.a=b},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.anyPass)([a.isNil,a.isEmpty]));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(7)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(20)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(8)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(21)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(9)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.complement)(a.isEmpty));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(10)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(1)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(11)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(22)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.complement)(a.isNil));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(4)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(13)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(25)),e=i.i(a.complement)(r.a);n.a=e},function(t,n,i){"use strict";var a=i(27),r=function(t){return i.i(a.a)(t.length,t)};n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.unapply)(a.identity));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(14)),e=i.i(a.always)(i.i(r.a)());n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curry)(function(t,n){return i.i(a.ap)([i.i(a.path)(a.__,n)],t)}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curryN)(2,i.i(a.compose)(a.values,a.pickAll)));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curry)(function(t,n){return i.i(a.reduce)(function(r,e){var u=i.i(a.has)(e,t)?t[e]:e;return i.i(a.assoc)(u,n[e],r)},{},i.i(a.keys)(n))}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curry)(function(t,n){return i.i(a.pipe)(a.toPairs,i.i(a.map)(i.i(a.adjust)(t,0)),a.fromPairs)(n)}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.always)(null));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curryN)(2,function(t,n){return i.i(a.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n)})}));n.a=r},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i.i(a.curryN)(2,function(t,n){return i.i(a.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n())})}));n.a=r},function(t,n,i){"use strict";var a=Object.freeze({equals:"fantasy-land/equals",lte:"fantasy-land/lte",compose:"fantasy-land/compose",id:"fantasy-land/id",concat:"fantasy-land/concat",empty:"fantasy-land/empty",map:"fantasy-land/map",contramap:"fantasy-land/contramap",ap:"fantasy-land/ap",of:"fantasy-land/of",alt:"fantasy-land/alt",zero:"fantasy-land/zero",reduce:"fantasy-land/reduce",traverse:"fantasy-land/traverse",chain:"fantasy-land/chain",chainRec:"fantasy-land/chainRec",extend:"fantasy-land/extend",extract:"fantasy-land/extract",bimap:"fantasy-land/bimap",promap:"fantasy-land/promap"});n.a=a},function(t,n,i){"use strict";i.d(n,"b",function(){return e}),i.d(n,"a",function(){return u});var a=i(0),r=(i.n(a),i.i(a.either)(i.i(a.path)(["@@type"]),i.i(a.path)(["constructor","@@type"]))),e=(i.i(a.curry)(function(t,n){return r(n)===t}),i.i(a.curryN)(2,i.i(a.useWith)(a.equals,[r,r]))),u=(i.i(a.curryN)(2,i.i(a.complement)(e)),i.i(a.pipe)(a.toPairs,i.i(a.map)(i.i(a.over)(i.i(a.lensIndex)(0),i.i(a.replace)("fantasy-land/","")))))},function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=i(46),r=i(25),e=i(12),u=i(3),o=i(43),c=i(7),s=i(33),f=i(21),l=i(36),p=i(38),d=i(32),y=i(13),v=i(45),m=i(20),b=i(34),N=i(11),h=i(41),j=i(8),g=i(35),O=i(1),S=i(40),F=i(5),x=i(15),A=i(2),P=i(16),k=i(6),L=i(17),q=i(9),w=i(37),D=i(26),I=i(18),R=i(4),E=i(44),U=i(23),_=i(24),z=i(10),B=i(39),G=i(22),T=i(42),K=i(14),V=i(54),M=i(49),W=i(27),C=i(47),H=i(28),J=i(55),Q=i(56),X=i(51),Y=i(48),Z=i(29),$=i(30),tt=i(50),nt=i(52),it=i(53),at=i(19),rt=i(31);i.d(n,"isNotUndefined",function(){return a.a}),i.d(n,"isUndefined",function(){return r.a}),i.d(n,"isNull",function(){return e.a}),i.d(n,"isNotNull",function(){return u.a}),i.d(n,"isNotNil",function(){return o.a}),i.d(n,"isArray",function(){return c.a}),i.d(n,"isNotArray",function(){return s.a}),i.d(n,"isBoolean",function(){return f.a}),i.d(n,"isNotBoolean",function(){return l.a}),i.d(n,"isNotEmpty",function(){return p.a}),i.d(n,"isNilOrEmpty",function(){return d.a}),i.d(n,"isString",function(){return y.a}),i.d(n,"isNotString",function(){return v.a}),i.d(n,"isArrayLike",function(){return m.a}),i.d(n,"isNotArrayLike",function(){return b.a}),i.d(n,"isGeneratorFunction",function(){return N.a}),i.d(n,"isNotGeneratorFunction",function(){return h.a}),i.d(n,"isAsyncFunction",function(){return j.a}),i.d(n,"isNotAsyncFunction",function(){return g.a}),i.d(n,"isFunction",function(){return O.a}),i.d(n,"isNotFunction",function(){return S.a}),i.d(n,"isObj",function(){return F.a}),i.d(n,"isObject",function(){return F.a}),i.d(n,"isNotObj",function(){return x.a}),i.d(n,"isNotObject",function(){return x.a}),i.d(n,"isObjLike",function(){return A.a}),i.d(n,"isObjectLike",function(){return A.a}),i.d(n,"isNotObjLike",function(){return P.a}),i.d(n,"isNotObjectLike",function(){return P.a}),i.d(n,"isPlainObj",function(){return k.a}),i.d(n,"isPlainObject",function(){return k.a}),i.d(n,"isNotPlainObj",function(){return L.a}),i.d(n,"isNotPlainObject",function(){return L.a}),i.d(n,"isDate",function(){return q.a}),i.d(n,"isNotDate",function(){return w.a}),i.d(n,"isValidDate",function(){return D.a}),i.d(n,"isNotValidDate",function(){return I.a}),i.d(n,"isInvalidDate",function(){return I.a}),i.d(n,"isNumber",function(){return R.a}),i.d(n,"isNotNumber",function(){return E.a}),i.d(n,"isNaN",function(){return U.a}),i.d(n,"isNotNaN",function(){return _.a}),i.d(n,"isFinite",function(){return z.a}),i.d(n,"isNotFinite",function(){return B.a}),i.d(n,"isInteger",function(){return G.a}),i.d(n,"isNotInteger",function(){return T.a}),i.d(n,"stubUndefined",function(){return K.a}),i.d(n,"stubNull",function(){return V.a}),i.d(n,"noop",function(){return M.a}),i.d(n,"liftFN",function(){return W.a}),i.d(n,"liftF",function(){return C.a}),i.d(n,"cata",function(){return H.a}),i.d(n,"weave",function(){return J.a}),i.d(n,"weaveLazy",function(){return Q.a}),i.d(n,"pickIndexes",function(){return X.a}),i.d(n,"list",function(){return Y.a}),i.d(n,"concatRight",function(){return Z.a}),i.d(n,"defaults",function(){return $.a}),i.d(n,"paths",function(){return tt.a}),i.d(n,"renameKeys",function(){return nt.a}),i.d(n,"renameKeysWith",function(){return it.a}),i.d(n,"mergeRight",function(){return at.a}),i.d(n,"resetToDefault",function(){return at.a}),i.d(n,"Identity",function(){return rt.a});var et={isNotUndefined:a.a,isUndefined:r.a,isNull:e.a,isNotNull:u.a,isNotNil:o.a,isArray:c.a,isNotArray:s.a,isBoolean:f.a,isNotBoolean:l.a,isNotEmpty:p.a,isNilOrEmpty:d.a,isString:y.a,isNotString:v.a,isArrayLike:m.a,isNotArrayLike:b.a,isGeneratorFunction:N.a,isNotGeneratorFunction:h.a,isAsyncFunction:j.a,isNotAsyncFunction:g.a,isFunction:O.a,isNotFunction:S.a,isObj:F.a,isObject:F.a,isNotObj:x.a,isNotObject:x.a,isObjLike:A.a,isObjectLike:A.a,isNotObjLike:P.a,isNotObjectLike:P.a,isPlainObj:k.a,isPlainObject:k.a,isNotPlainObj:L.a,isNotPlainObject:L.a,isDate:q.a,isNotDate:w.a,isValidDate:D.a,isNotValidDate:I.a,isInvalidDate:I.a,isNumber:R.a,isNotNumber:E.a,isNaN:U.a,isNotNaN:_.a,isFinite:z.a,isNotFinite:B.a,isInteger:G.a,isNotInteger:T.a,stubUndefined:K.a,stubNull:V.a,noop:M.a,liftFN:W.a,liftF:C.a,cata:H.a,weave:J.a,weaveLazy:Q.a,pickIndexes:X.a,list:Y.a,concatRight:Z.a,defaults:$.a,resetToDefault:at.a,paths:tt.a,renameKeys:nt.a,renameKeysWith:it.a,mergeRight:at.a,Identity:rt.a};n.default=et},function(t,n,i){"use strict";var a="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},r=function(t){return"object"===(void 0===t?"undefined":a(t))};n.a=r},function(t,n,i){"use strict";i.d(n,"b",function(){return d}),i.d(n,"a",function(){return y}),i.d(n,"c",function(){return v}),i.d(n,"d",function(){return m}),i.d(n,"e",function(){return b}),i.d(n,"f",function(){return N});var a,r,e,u,o,c,s=i(0),f=(i.n(s),i(59)),l=i(58),p=i(57),d=(a={},a[p.a.map]=function(t){return this.constructor[p.a.of](t(this.value))},a),y=(r={},r[p.a.ap]=function(t){var n=this;return t.map(function(t){return t(n.value)})},r),v=(e={},e[p.a.equals]=function(t){return i.i(l.b)(this,t)&&i.i(s.equals)(this.value,t.value)},e),m=(u={},u[p.a.concat]=function(t){var n=this.value;return i.i(f.isString)(this.value)||i.i(f.isNumber)(this.value)?n=this.value+t.value:i.i(s.pathSatisfies)(f.isFunction,["value",p.a.concat],this)?n=this.value[p.a.concat](t.value):i.i(s.pathSatisfies)(f.isFunction,["value","concat"],this)&&(n=this.value.concat(t.value)),this.constructor[p.a.of](n)},u),b=(o={},o[p.a.chain]=function(t){var n=t(this.value);return i.i(l.b)(this,n)?n:this},o),N=(c={},c[p.a.lte]=function(t){return i.i(l.b)(this,t)&&(this.value<t.value||this[p.a.equals](t))},c)},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(1)),e=i(57),u=i.i(a.anyPass)([i.i(a.pathSatisfies)(r.a,["map"]),i.i(a.pathSatisfies)(r.a,[e.a.map])]),o=i.i(a.both)(u,i.i(a.anyPass)([i.i(a.pathSatisfies)(r.a,["ap"]),i.i(a.pathSatisfies)(r.a,[e.a.ap])])),c=i.i(a.curryN)(2,function(t,n){if(!o(t)||!o(n))return i.i(a.ap)(t,n);try{return t.ap(n)}catch(i){return n.ap(t)}});n.a=c},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(4)),e=i.i(a.both)(r.a,isFinite);n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(10)),e=i.i(a.both)(r.a,i.i(a.converge)(a.equals,[Math.floor,a.identity]));n.a=e},function(t,n,i){"use strict";var a=i(0),r=(i.n(a),i(4)),e=i.i(a.both)(r.a,isNaN);n.a=e},function(t,n){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("R")):"function"==typeof define&&define.amd?define(["R"],n):"object"==typeof exports?exports.RA=n(require("R")):t.RA=n(t.R)}(this,function(t){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=1)}([function(n,e){n.exports=t},function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=e(0),c=(e.n(i),Object(i.always)(void 0)),o=c,u=e(0),a=(e.n(u),Object(u.equals)(o())),s=a,f=e(0),l=(e.n(f),Object(f.complement)(s)),b=l,p=e(0),j=(e.n(p),Object(p.equals)(null)),y=j,O=e(0),d=(e.n(O),Object(O.complement)(y)),m=d,h=e(0),N=(e.n(h),Object(h.complement)(h.isNil)),v=N,g=e(2),S=e.n(g),F=S.a,A=F,x=e(0),P=(e.n(x),Object(x.complement)(A)),k=P,R=e(0),L=(e.n(R),Object(R.is)(Boolean)),q=L,w=e(0),D=(e.n(w),Object(w.complement)(q)),I=D,E=e(0),U=(e.n(E),Object(E.complement)(E.isEmpty)),_=U,z=e(0),B=(e.n(z),Object(z.anyPass)([z.isNil,z.isEmpty])),G=B,T=e(3),K=e.n(T),V=K.a,M=V,W=e(0),C=(e.n(W),Object(W.complement)(M)),H=C,J=e(0),Q=(e.n(J),"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}),X=function(t){return!!A(t)||!!t&&(!M(t)&&("object"===(void 0===t?"undefined":Q(t))&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(Object(J.has)(0,t)&&Object(J.has)(t.length-1,t)))))},Y=X,Z=e(0),$=(e.n(Z),Object(Z.complement)(Y)),tt=$,nt=e(0),et=(e.n(nt),null);try{et=new Function("return function* () {}")().constructor}catch(t){}var rt,it,ct,ot,ut,at,st=function(t){var n="[object GeneratorFunction]"===Object.prototype.toString.call(t),e=m(et)&&t instanceof et;return Object(nt.or)(n,e)},ft=st,lt=e(0),bt=(e.n(lt),Object(lt.complement)(ft)),pt=bt,jt=function(t){return"[object AsyncFunction]"===Object.prototype.toString.call(t)},yt=jt,Ot=e(0),dt=(e.n(Ot),Object(Ot.complement)(yt)),mt=dt,ht=e(0),Nt=(e.n(ht),Object(ht.anyPass)([function(t){return"[object Function]"===Object.prototype.toString.call(t)},ft,yt])),vt=Nt,gt=e(0),St=(e.n(gt),Object(gt.complement)(vt)),Ft=St,At="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},xt=function(t){return"object"===(void 0===t?"undefined":At(t))},Pt=xt,kt=e(0),Rt=(e.n(kt),Object(kt.both)(m,Object(kt.anyPass)([Pt,vt]))),Lt=Rt,qt=e(0),wt=(e.n(qt),Object(qt.complement)(Lt)),Dt=wt,It=e(0),Et=(e.n(It),Object(It.both)(m,Pt)),Ut=Et,_t=e(0),zt=(e.n(_t),Object(_t.complement)(Ut)),Bt=zt,Gt=e(4),Tt=e.n(Gt),Kt=e(0),Vt=(e.n(Kt),Object(Kt.pipe)(Kt.toString,Object(Kt.equals)(Object(Kt.toString)(Object)))),Mt=Object(Kt.pathSatisfies)(Object(Kt.both)(vt,Vt),["constructor"]),Wt=function(t){if(!Ut(t)||!Tt()(t))return!1;var n=Object.getPrototypeOf(t);return!!y(n)||Mt(n)},Ct=Wt,Ht=e(0),Jt=(e.n(Ht),Object(Ht.complement)(Ct)),Qt=Jt,Xt=e(0),Yt=(e.n(Xt),Object(Xt.is)(Date)),Zt=Yt,$t=e(0),tn=(e.n($t),Object($t.complement)(Zt)),nn=tn,en=e(5),rn=e.n(en),cn=rn.a,on=cn,un=e(0),an=(e.n(un),Object(un.both)(on,isNaN)),sn=an,fn=e(0),ln=(e.n(fn),Object(fn.or)(Number.isNaN,sn)),bn=ln,pn=e(0),jn=(e.n(pn),Object(pn.complement)(bn)),yn=jn,On=e(0),dn=(e.n(On),Object(On.both)(Zt,Object(On.pipe)(Object(On.invoker)(0,"getTime"),yn))),mn=dn,hn=e(0),Nn=(e.n(hn),Object(hn.complement)(mn)),vn=Nn,gn=e(0),Sn=(e.n(gn),Object(gn.complement)(on)),Fn=Sn,An=e(0),xn=(e.n(An),Object(An.both)(on,isFinite)),Pn=xn,kn=e(0),Rn=(e.n(kn),Object(kn.or)(Number.isFinite,Pn)),Ln=Rn,qn=e(0),wn=(e.n(qn),Object(qn.complement)(Ln)),Dn=wn,In=e(0),En=(e.n(In),Object(In.both)(Ln,Object(In.converge)(In.equals,[Math.floor,In.identity]))),Un=En,_n=e(0),zn=(e.n(_n),Object(_n.or)(Number.isInteger,Un)),Bn=zn,Gn=e(0),Tn=(e.n(Gn),Object(Gn.complement)(Bn)),Kn=Tn,Vn=e(0),Mn=(e.n(Vn),Object(Vn.always)(null)),Wn=Mn,Cn=e(0),Hn=(e.n(Cn),Object(Cn.always)(o())),Jn=Hn,Qn=Object.freeze({equals:"fantasy-land/equals",lte:"fantasy-land/lte",compose:"fantasy-land/compose",id:"fantasy-land/id",concat:"fantasy-land/concat",empty:"fantasy-land/empty",map:"fantasy-land/map",contramap:"fantasy-land/contramap",ap:"fantasy-land/ap",of:"fantasy-land/of",alt:"fantasy-land/alt",zero:"fantasy-land/zero",reduce:"fantasy-land/reduce",traverse:"fantasy-land/traverse",chain:"fantasy-land/chain",chainRec:"fantasy-land/chainRec",extend:"fantasy-land/extend",extract:"fantasy-land/extract",bimap:"fantasy-land/bimap",promap:"fantasy-land/promap"}),Xn=Qn,Yn=e(0),Zn=(e.n(Yn),Object(Yn.anyPass)([Object(Yn.pathSatisfies)(vt,["map"]),Object(Yn.pathSatisfies)(vt,[Xn.map])])),$n=Object(Yn.both)(Zn,Object(Yn.anyPass)([Object(Yn.pathSatisfies)(vt,["ap"]),Object(Yn.pathSatisfies)(vt,[Xn.ap])])),te=Object(Yn.curryN)(2,function(t,n){if(!$n(t)||!$n(n))return Object(Yn.ap)(t,n);try{return t.ap(n)}catch(e){return n.ap(t)}}),ne=te,ee=e(0),re=(e.n(ee),Object(ee.curry)(function(t,n){var e=Object(ee.curryN)(t,n);return Object(ee.curryN)(t,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Object(ee.map)(e,Object(ee.head)(n)),c=Object(ee.slice)(1,1/0,n);return Object(ee.reduce)(ne,i,c)})})),ie=re,ce=function(t){return ie(t.length,t)},oe=ce,ue=e(0),ae=(e.n(ue),Object(ue.curry)(function(t,n,e){return vt(e.cata)?e.cata(t,n):e.either(t,n)})),se=ae,fe=e(0),le=(e.n(fe),Object(fe.curryN)(2,function(t,n){return Object(fe.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n)})})),be=le,pe=e(0),je=(e.n(pe),Object(pe.curryN)(2,function(t,n){return Object(pe.curryN)(t.length,function(){return t.apply(void 0,arguments).run(n())})})),ye=je,Oe=e(0),de=(e.n(Oe),Object(Oe.curryN)(2,function(t,n){return Object(Oe.curryN)(t,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n.apply(this,Object(Oe.reverse)(e))})})),me=de,he=e(0),Ne=(e.n(he),Object(he.converge)(me,[he.length,he.identity])),ve=Ne,ge=e(0),Se=(e.n(ge),Object(ge.curryN)(2,Object(ge.compose)(ge.values,ge.pickAll))),Fe=Se,Ae=e(0),xe=(e.n(Ae),Object(Ae.unapply)(Ae.identity)),Pe=xe,ke=e(0),Re=(e.n(ke),Object(ke.flip)(ke.concat)),Le=Re,qe=e(0),we=(e.n(qe),qe.merge),De=we,Ie=e(0),Ee=(e.n(Ie),Object(Ie.curry)(function(t,n){return Object(Ie.ap)([Object(Ie.path)(Ie.__,n)],t)})),Ue=Ee,_e=e(0),ze=(e.n(_e),Object(_e.curry)(function(t,n){return Object(_e.reduce)(function(e,r){var i=Object(_e.has)(r,t)?t[r]:r;return Object(_e.assoc)(i,n[r],e)},{},Object(_e.keys)(n))})),Be=ze,Ge=e(0),Te=(e.n(Ge),Object(Ge.curry)(function(t,n){return Object(Ge.pipe)(Ge.toPairs,Object(Ge.map)(Object(Ge.adjust)(t,0)),Ge.fromPairs)(n)})),Ke=Te,Ve=e(0),Me=(e.n(Ve),Object(Ve.flip)(Ve.merge)),We=Me,Ce=e(0),He=(e.n(Ce),Object(Ce.either)(Object(Ce.path)(["@@type"]),Object(Ce.path)(["constructor","@@type"]))),Je=(Object(Ce.curry)(function(t,n){return He(n)===t}),Object(Ce.curryN)(2,Object(Ce.useWith)(Ce.equals,[He,He]))),Qe=(Object(Ce.curryN)(2,Object(Ce.complement)(Je)),Object(Ce.pipe)(Ce.toPairs,Object(Ce.map)(Object(Ce.over)(Object(Ce.lensIndex)(0),Object(Ce.replace)("fantasy-land/",""))))),Xe=e(0),Ye=(e.n(Xe),rt={},rt[Xn.map]=function(t){return this.constructor[Xn.of](t(this.value))},rt),Ze=(it={},it[Xn.ap]=function(t){var n=this;return t.map(function(t){return t(n.value)})},it),$e=(ct={},ct[Xn.equals]=function(t){return Je(this,t)&&Object(Xe.equals)(this.value,t.value)},ct),tr=(ot={},ot[Xn.concat]=function(t){var n=this.value;return M(this.value)||on(this.value)?n=this.value+t.value:Object(Xe.pathSatisfies)(vt,["value",Xn.concat],this)?n=this.value[Xn.concat](t.value):Object(Xe.pathSatisfies)(vt,["value","concat"],this)&&(n=this.value.concat(t.value)),this.constructor[Xn.of](n)},ot),nr=(ut={},ut[Xn.chain]=function(t){var n=t(this.value);return Je(this,n)?n:this},ut),er=(at={},at[Xn.lte]=function(t){return Je(this,t)&&(this.value<t.value||this[Xn.equals](t))},at),rr=e(0),ir=(e.n(rr),function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()),cr=Xn.of,or=Xn.ap,ur=Xn.map,ar=Xn.equals,sr=Xn.concat,fr=Xn.chain,lr=Xn.lte,br=Xn.empty,pr=function(){function t(n){r(this,t),this.value=n}return t[cr]=function(n){return new t(n)},ir(t,null,[{key:"@@type",get:function(){return"RA/Identity"}}]),t.prototype.get=function(){return this.value},t.prototype[or]=function(t){return Ze[or].call(this,t)},t.prototype[ur]=function(t){return Ye[ur].call(this,t)},t.prototype[ar]=function(t){return $e[ar].call(this,t)},t.prototype[sr]=function(t){return tr[sr].call(this,t)},t.prototype[fr]=function(t){return nr[fr].call(this,t)},t.prototype[lr]=function(t){return er[lr].call(this,t)},t.prototype[br]=function(){return this.constructor.of(Object(rr.empty)(this.value))},t}();Qe(pr).forEach(function(t){var n=t[0],e=t[1];pr[n]=e}),Qe(pr.prototype).forEach(function(t){var n=t[0],e=t[1];pr.prototype[n]=e});var jr=pr;e.d(n,"isNotUndefined",function(){return b}),e.d(n,"isUndefined",function(){return s}),e.d(n,"isNull",function(){return y}),e.d(n,"isNotNull",function(){return m}),e.d(n,"isNotNil",function(){return v}),e.d(n,"isArray",function(){return A}),e.d(n,"isNotArray",function(){return k}),e.d(n,"isBoolean",function(){return q}),e.d(n,"isNotBoolean",function(){return I}),e.d(n,"isNotEmpty",function(){return _}),e.d(n,"isNilOrEmpty",function(){return G}),e.d(n,"isString",function(){return M}),e.d(n,"isNotString",function(){return H}),e.d(n,"isArrayLike",function(){return Y}),e.d(n,"isNotArrayLike",function(){return tt}),e.d(n,"isGeneratorFunction",function(){return ft}),e.d(n,"isNotGeneratorFunction",function(){return pt}),e.d(n,"isAsyncFunction",function(){return yt}),e.d(n,"isNotAsyncFunction",function(){return mt}),e.d(n,"isFunction",function(){return vt}),e.d(n,"isNotFunction",function(){return Ft}),e.d(n,"isObj",function(){return Lt}),e.d(n,"isObject",function(){return Lt}),e.d(n,"isNotObj",function(){return Dt}),e.d(n,"isNotObject",function(){return Dt}),e.d(n,"isObjLike",function(){return Ut}),e.d(n,"isObjectLike",function(){return Ut}),e.d(n,"isNotObjLike",function(){return Bt}),e.d(n,"isNotObjectLike",function(){return Bt}),e.d(n,"isPlainObj",function(){return Ct}),e.d(n,"isPlainObject",function(){return Ct}),e.d(n,"isNotPlainObj",function(){return Qt}),e.d(n,"isNotPlainObject",function(){return Qt}),e.d(n,"isDate",function(){return Zt}),e.d(n,"isNotDate",function(){return nn}),e.d(n,"isValidDate",function(){return mn}),e.d(n,"isNotValidDate",function(){return vn}),e.d(n,"isInvalidDate",function(){return vn}),e.d(n,"isNumber",function(){return on}),e.d(n,"isNotNumber",function(){return Fn}),e.d(n,"isNaN",function(){return bn}),e.d(n,"isNotNaN",function(){return yn}),e.d(n,"isFinite",function(){return Ln}),e.d(n,"isNotFinite",function(){return Dn}),e.d(n,"isInteger",function(){return Bn}),e.d(n,"isNotInteger",function(){return Kn}),e.d(n,"stubUndefined",function(){return o}),e.d(n,"stubNull",function(){return Wn}),e.d(n,"noop",function(){return Jn}),e.d(n,"liftFN",function(){return ie}),e.d(n,"liftF",function(){return oe}),e.d(n,"cata",function(){return se}),e.d(n,"weave",function(){return be}),e.d(n,"weaveLazy",function(){return ye}),e.d(n,"curryRightN",function(){return me}),e.d(n,"curryRight",function(){return ve}),e.d(n,"pickIndexes",function(){return Fe}),e.d(n,"list",function(){return Pe}),e.d(n,"concatRight",function(){return Le}),e.d(n,"defaults",function(){return De}),e.d(n,"paths",function(){return Ue}),e.d(n,"renameKeys",function(){return Be}),e.d(n,"renameKeysWith",function(){return Ke}),e.d(n,"mergeRight",function(){return We}),e.d(n,"resetToDefault",function(){return We}),e.d(n,"Identity",function(){return jr});var yr={isNotUndefined:b,isUndefined:s,isNull:y,isNotNull:m,isNotNil:v,isArray:A,isNotArray:k,isBoolean:q,isNotBoolean:I,isNotEmpty:_,isNilOrEmpty:G,isString:M,isNotString:H,isArrayLike:Y,isNotArrayLike:tt,isGeneratorFunction:ft,isNotGeneratorFunction:pt,isAsyncFunction:yt,isNotAsyncFunction:mt,isFunction:vt,isNotFunction:Ft,isObj:Lt,isObject:Lt,isNotObj:Dt,isNotObject:Dt,isObjLike:Ut,isObjectLike:Ut,isNotObjLike:Bt,isNotObjectLike:Bt,isPlainObj:Ct,isPlainObject:Ct,isNotPlainObj:Qt,isNotPlainObject:Qt,isDate:Zt,isNotDate:nn,isValidDate:mn,isNotValidDate:vn,isInvalidDate:vn,isNumber:on,isNotNumber:Fn,isNaN:bn,isNotNaN:yn,isFinite:Ln,isNotFinite:Dn,isInteger:Bn,isNotInteger:Kn,stubUndefined:o,stubNull:Wn,noop:Jn,liftFN:ie,liftF:oe,cata:se,weave:be,weaveLazy:ye,curryRightN:me,curryRight:ve,pickIndexes:Fe,list:Pe,concatRight:Le,defaults:De,resetToDefault:We,paths:Ue,renameKeys:Be,renameKeysWith:Ke,mergeRight:We,Identity:jr};n.default=yr},function(t,n){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}}])}); |
@@ -50,2 +50,4 @@ // Type | ||
import weaveLazy from './weaveLazy'; | ||
import curryRightN from './curryRightN'; | ||
import curryRight from './curryRight'; | ||
// List | ||
@@ -120,2 +122,4 @@ import pickIndexes from './pickIndexes'; | ||
export { default as weaveLazy } from './weaveLazy'; | ||
export { default as curryRightN } from './curryRightN'; | ||
export { default as curryRight } from './curryRight'; | ||
// List | ||
@@ -195,2 +199,4 @@ export { default as pickIndexes } from './pickIndexes'; | ||
weaveLazy: weaveLazy, | ||
curryRightN: curryRightN, | ||
curryRight: curryRight, | ||
// List | ||
@@ -197,0 +203,0 @@ pickIndexes: pickIndexes, |
'use strict'; | ||
exports.__esModule = true; | ||
exports.Identity = exports.resetToDefault = exports.mergeRight = exports.renameKeysWith = exports.renameKeys = exports.paths = exports.defaults = exports.concatRight = exports.list = exports.pickIndexes = exports.weaveLazy = exports.weave = exports.cata = exports.liftF = exports.liftFN = exports.noop = exports.stubNull = exports.stubUndefined = exports.isNotInteger = exports.isInteger = exports.isNotFinite = exports.isFinite = exports.isNotNaN = exports.isNaN = exports.isNotNumber = exports.isNumber = exports.isInvalidDate = exports.isNotValidDate = exports.isValidDate = exports.isNotDate = exports.isDate = exports.isNotPlainObject = exports.isNotPlainObj = exports.isPlainObject = exports.isPlainObj = exports.isNotObjectLike = exports.isNotObjLike = exports.isObjectLike = exports.isObjLike = exports.isNotObject = exports.isNotObj = exports.isObject = exports.isObj = exports.isNotFunction = exports.isFunction = exports.isNotAsyncFunction = exports.isAsyncFunction = exports.isNotGeneratorFunction = exports.isGeneratorFunction = exports.isNotArrayLike = exports.isArrayLike = exports.isNotString = exports.isString = exports.isNilOrEmpty = exports.isNotEmpty = exports.isNotBoolean = exports.isBoolean = exports.isNotArray = exports.isArray = exports.isNotNil = exports.isNotNull = exports.isNull = exports.isUndefined = exports.isNotUndefined = undefined; | ||
exports.Identity = exports.resetToDefault = exports.mergeRight = exports.renameKeysWith = exports.renameKeys = exports.paths = exports.defaults = exports.concatRight = exports.list = exports.pickIndexes = exports.curryRight = exports.curryRightN = exports.weaveLazy = exports.weave = exports.cata = exports.liftF = exports.liftFN = exports.noop = exports.stubNull = exports.stubUndefined = exports.isNotInteger = exports.isInteger = exports.isNotFinite = exports.isFinite = exports.isNotNaN = exports.isNaN = exports.isNotNumber = exports.isNumber = exports.isInvalidDate = exports.isNotValidDate = exports.isValidDate = exports.isNotDate = exports.isDate = exports.isNotPlainObject = exports.isNotPlainObj = exports.isPlainObject = exports.isPlainObj = exports.isNotObjectLike = exports.isNotObjLike = exports.isObjectLike = exports.isObjLike = exports.isNotObject = exports.isNotObj = exports.isObject = exports.isObj = exports.isNotFunction = exports.isFunction = exports.isNotAsyncFunction = exports.isAsyncFunction = exports.isNotGeneratorFunction = exports.isGeneratorFunction = exports.isNotArrayLike = exports.isArrayLike = exports.isNotString = exports.isString = exports.isNilOrEmpty = exports.isNotEmpty = exports.isNotBoolean = exports.isBoolean = exports.isNotArray = exports.isArray = exports.isNotNil = exports.isNotNull = exports.isNull = exports.isUndefined = exports.isNotUndefined = undefined; | ||
@@ -471,2 +471,20 @@ var _isNotUndefined = require('./isNotUndefined'); | ||
var _curryRightN = require('./curryRightN'); | ||
Object.defineProperty(exports, 'curryRightN', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_curryRightN).default; | ||
} | ||
}); | ||
var _curryRight = require('./curryRight'); | ||
Object.defineProperty(exports, 'curryRight', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_curryRight).default; | ||
} | ||
}); | ||
var _pickIndexes = require('./pickIndexes'); | ||
@@ -653,2 +671,6 @@ | ||
var _curryRightN2 = _interopRequireDefault(_curryRightN); | ||
var _curryRight2 = _interopRequireDefault(_curryRight); | ||
var _pickIndexes2 = _interopRequireDefault(_pickIndexes); | ||
@@ -734,2 +756,4 @@ | ||
weaveLazy: _weaveLazy2.default, | ||
curryRightN: _curryRightN2.default, | ||
curryRight: _curryRight2.default, | ||
// List | ||
@@ -736,0 +760,0 @@ pickIndexes: _pickIndexes2.default, |
@@ -7,3 +7,3 @@ { | ||
"keywords": "ramda extensions addons cookbook adjunct recipe extras", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"homepage": "https://github.com/char0n/ramda-adjunct", | ||
@@ -77,3 +77,3 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"babel-core": "=6.25.0", | ||
"babel-loader": "=7.0.0", | ||
"babel-loader": "=7.1.1", | ||
"babel-plugin-istanbul": "=4.1.4", | ||
@@ -85,11 +85,11 @@ "babel-preset-es2015": "=6.24.1", | ||
"better-npm-run": "=0.0.15", | ||
"chai": "=4.0.2", | ||
"chai": "=4.1.0", | ||
"codecov": "=2.2.0", | ||
"conventional-changelog-cli": "=1.3.1", | ||
"conventional-changelog-cli": "=1.3.2", | ||
"cross-env": "=5.0.1", | ||
"docdash": "git+https://github.com/char0n/docdash.git#212283b15d71342f97899f59f8a9d6a91b33ba05", | ||
"eslint": "=3.19.0", | ||
"eslint-config-airbnb": "=15.0.1", | ||
"eslint-plugin-import": "=2.3.0", | ||
"eslint-plugin-jsx-a11y": "=5.0.3", | ||
"eslint": "=4.3.0", | ||
"eslint-config-airbnb": "=15.1.0", | ||
"eslint-plugin-import": "=2.7.0", | ||
"eslint-plugin-jsx-a11y": "=5.1.1", | ||
"eslint-plugin-react": "=7.1.0", | ||
@@ -99,3 +99,4 @@ "fantasy-land": "=3.3.0", | ||
"istanbul": "=0.4.5", | ||
"jsdoc": "=3.4.3", | ||
"jsdoc": "=3.5.3", | ||
"jsverify": "=0.8.2", | ||
"mocha": "=3.4.2", | ||
@@ -106,11 +107,11 @@ "mocha-junit-reporter": "=1.13.0", | ||
"nsp": "=2.6.3", | ||
"nyc": "=11.0.2", | ||
"phantom": "=4.0.4", | ||
"nyc": "=11.0.3", | ||
"phantom": "=4.0.5", | ||
"rimraf": "=2.6.1", | ||
"sinon": "=2.3.4", | ||
"testem": "=1.16.2", | ||
"typescript": "=2.3.4", | ||
"webpack": "=2.6.1" | ||
"sinon": "=2.3.8", | ||
"testem": "=1.18.1", | ||
"typescript": "=2.4.2", | ||
"webpack": "=3.4.0" | ||
}, | ||
"tonicExampleFilename": "tonicExample.js" | ||
} |
@@ -9,2 +9,4 @@ [![CircleCI](https://circleci.com/gh/char0n/ramda-adjunct.svg?style=svg)](https://circleci.com/gh/char0n/ramda-adjunct) | ||
[![NSP Status](https://nodesecurity.io/orgs/mortality/projects/70e819a7-1551-4973-801e-0315fed21068/badge)](https://nodesecurity.io/orgs/mortality/projects/70e819a7-1551-4973-801e-0315fed21068) | ||
[![start with why](https://img.shields.io/badge/start%20with-why%3F-brightgreen.svg?style=flat)](https://www.linkedin.com/pulse/ramda-adjunct-vladim%C3%ADr-gorej) | ||
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/char0n/ramda-adjunct/issues) | ||
[![Join the chat at https://gitter.im/ramda-adjunct/Lobby](https://badges.gitter.im/ramda-adjunct/Lobby.svg)](https://gitter.im/ramda-adjunct/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
@@ -80,3 +82,4 @@ | ||
[1.10.1](https://char0n.github.io/ramda-adjunct/1.10.1), [1.10.2](https://char0n.github.io/ramda-adjunct/1.10.2), | ||
[1.11.0](https://char0n.github.io/ramda-adjunct/1.11.0), [LATEST](https://char0n.github.io/ramda-adjunct) | ||
[1.11.0](https://char0n.github.io/ramda-adjunct/1.11.0), [1.12.0](https://char0n.github.io/ramda-adjunct/1.12.0), | ||
[LATEST](https://char0n.github.io/ramda-adjunct) | ||
@@ -83,0 +86,0 @@ ## Development |
@@ -344,2 +344,15 @@ declare var RA: RamdaAdjunct.Static; | ||
/** | ||
* Returns a curried equivalent of the provided function, with the specified arity. | ||
* This function is like curryN, except that the provided arguments order is reversed. | ||
*/ | ||
curryRightN(arity: number, fn: Function): Function | ||
curryRightN(arity: number): (fn: Function) => Function | ||
/** | ||
* Returns a curried equivalent of the provided function. | ||
* This function is like curry, except that the provided arguments order is reversed. | ||
*/ | ||
curryRight(fn: Function): Function | ||
/** | ||
* Identity type. | ||
@@ -346,0 +359,0 @@ */ |
@@ -50,2 +50,4 @@ // Type | ||
import weaveLazy from './weaveLazy'; | ||
import curryRightN from './curryRightN'; | ||
import curryRight from './curryRight'; | ||
// List | ||
@@ -120,2 +122,4 @@ import pickIndexes from './pickIndexes'; | ||
export { default as weaveLazy } from './weaveLazy'; | ||
export { default as curryRightN } from './curryRightN'; | ||
export { default as curryRight } from './curryRight'; | ||
// List | ||
@@ -195,2 +199,4 @@ export { default as pickIndexes } from './pickIndexes'; | ||
weaveLazy, | ||
curryRightN, | ||
curryRight, | ||
// List | ||
@@ -197,0 +203,0 @@ pickIndexes, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1084514
223
25094
194
36