Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

partial.lenses

Package Overview
Dependencies
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

partial.lenses - npm Package Compare versions

Comparing version 14.3.0 to 14.4.0

30

dist/partial.lenses.cjs.js

@@ -372,3 +372,3 @@ 'use strict';

var minY = void 0;
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -1131,3 +1131,3 @@ if (void 0 !== y && (void 0 === minY || ord(y, minY))) {

return I.curry(function crossOr(or$$1, ls) {
return toFunction([isoU(I.id, I.freeze), fn$$1(or$$1, ls), isoU(I.freeze, I.id)]);
return toFunction([isoU(id, I.freeze), fn$$1(or$$1, ls), isoU(I.freeze, id)]);
});

@@ -1552,2 +1552,12 @@ })(function crossOr(or$$1, ls) {

var all1 = /*#__PURE__*/I.curry(function all1(xi2b, t, s) {
var result = false;
getAsU(function (x, i) {
if (xi2b(x, i)) result = true;else return result = false;
}, t, s);
return result;
});
var and1 = /*#__PURE__*/all1(id);
var any = /*#__PURE__*/I.curry(function any(xi2b, t, s) {

@@ -1561,3 +1571,3 @@ return !!getAsU(function (x, i) {

var results = [];
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -1585,3 +1595,3 @@ if (void 0 !== y) results.push(y);

var counts = new Map();
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var k = xi2k(x, i);

@@ -1597,3 +1607,3 @@ var n = counts.get(k);

var foldl = /*#__PURE__*/I.curry(function foldl(f, r, t, s) {
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
r = f(r, x, i);

@@ -1607,3 +1617,3 @@ }, t, s);

var xs = [];
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
xs.push(x);

@@ -1618,3 +1628,3 @@ is.push(i);

var forEach = /*#__PURE__*/I.curry(function forEach(f, t, s) {
return traverseU(Select, function (x, i) {
return getAsU(function (x, i) {
f(x, i);

@@ -1626,3 +1636,3 @@ }, t, s);

var c = newC();
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
ef$$1(c, x, i);

@@ -1664,3 +1674,3 @@ }, t, s);

var num = 0;
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -2205,2 +2215,4 @@ if (void 0 !== y) {

exports.and = and$1;
exports.all1 = all1;
exports.and1 = and1;
exports.any = any;

@@ -2207,0 +2219,0 @@ exports.collectAs = collectAs;

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

import { defineNameU, isString, isFunction, always, freeze, isArray, isObject, acyclicEqualsU, array0, object0, inherit, sndU, curry, curryN, assocPartialU, dissocPartialU, isNumber, constructorOf, toObject, id, applyU, isDefined, keys, hasU, assign, arityN } from 'infestines';
import { defineNameU, isString, isFunction, always, freeze, isArray, isObject, acyclicEqualsU, array0, object0, inherit, sndU, curry, curryN, assocPartialU, dissocPartialU, isNumber, constructorOf, toObject, applyU, isDefined, keys, hasU, assign, arityN, id } from 'infestines';

@@ -368,3 +368,3 @@ var addU = function addU(x, y) {

var minY = void 0;
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -1127,3 +1127,3 @@ if (void 0 !== y && (void 0 === minY || ord(y, minY))) {

return curry(function crossOr(or$$1, ls) {
return toFunction([isoU(id, freeze), fn$$1(or$$1, ls), isoU(freeze, id)]);
return toFunction([isoU(id$1, freeze), fn$$1(or$$1, ls), isoU(freeze, id$1)]);
});

@@ -1548,2 +1548,12 @@ })(function crossOr(or$$1, ls) {

var all1 = /*#__PURE__*/curry(function all1(xi2b, t, s) {
var result = false;
getAsU(function (x, i) {
if (xi2b(x, i)) result = true;else return result = false;
}, t, s);
return result;
});
var and1 = /*#__PURE__*/all1(id$1);
var any = /*#__PURE__*/curry(function any(xi2b, t, s) {

@@ -1557,3 +1567,3 @@ return !!getAsU(function (x, i) {

var results = [];
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -1581,3 +1591,3 @@ if (void 0 !== y) results.push(y);

var counts = new Map();
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var k = xi2k(x, i);

@@ -1593,3 +1603,3 @@ var n = counts.get(k);

var foldl = /*#__PURE__*/curry(function foldl(f, r, t, s) {
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
r = f(r, x, i);

@@ -1603,3 +1613,3 @@ }, t, s);

var xs = [];
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
xs.push(x);

@@ -1614,3 +1624,3 @@ is.push(i);

var forEach = /*#__PURE__*/curry(function forEach(f, t, s) {
return traverseU(Select, function (x, i) {
return getAsU(function (x, i) {
f(x, i);

@@ -1622,3 +1632,3 @@ }, t, s);

var c = newC();
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
ef$$1(c, x, i);

@@ -1660,3 +1670,3 @@ }, t, s);

var num = 0;
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -2145,2 +2155,2 @@ if (void 0 !== y) {

export { seemsArrayLike, Identity, IdentityAsync, Select, toFunction, assign$1 as assign, modify, modifyAsync, remove, set, traverse, compose, flat, lazy, choices, choose, cond, condOf, ifElse, orElse, chain, choice, unless, when, optional, zero, mapIx, setIx, tieIx, joinIx, skipIx, getLog, log, transform, transformAsync, seq, assignOp, modifyOp, setOp, removeOp, branchOr, branch, branches, elems, elemsTotal, entries, keys$1 as keys, matches, values, children, flatten, query, satisfying, leafs, all, and$1 as and, any, collectAs, collect, concatAs, concat, countIf, count, countsAs, counts, foldl, foldr, forEach, forEachWith, get, getAs, isDefined$1 as isDefined, isEmpty, joinAs, join, maximumBy, maximum, meanAs, mean, minimumBy, minimum, none, or$1 as or, productAs, product, select, selectAs, sumAs, sum, lens, getter, setter, foldTraversalLens, defaults, define, normalize, required, reread, rewrite, append, cross, filter, find, findWith, first, index, last, prefix, slice, suffix, pickIn, prop, props, propsOf, removable, valueOr, pick, replace$1 as replace, getInverse, iso, array, inverse, iterate, complement, identity, is, subset, indexed, reverse, singleton, disjoint, keyed, multikeyed, json, uri, uriComponent, dropPrefix, dropSuffix, replaces, split, uncouple, querystring, add$1 as add, divide, multiply$1 as multiply, negate$1 as negate, subtract, pointer };
export { seemsArrayLike, Identity, IdentityAsync, Select, toFunction, assign$1 as assign, modify, modifyAsync, remove, set, traverse, compose, flat, lazy, choices, choose, cond, condOf, ifElse, orElse, chain, choice, unless, when, optional, zero, mapIx, setIx, tieIx, joinIx, skipIx, getLog, log, transform, transformAsync, seq, assignOp, modifyOp, setOp, removeOp, branchOr, branch, branches, elems, elemsTotal, entries, keys$1 as keys, matches, values, children, flatten, query, satisfying, leafs, all, and$1 as and, all1, and1, any, collectAs, collect, concatAs, concat, countIf, count, countsAs, counts, foldl, foldr, forEach, forEachWith, get, getAs, isDefined$1 as isDefined, isEmpty, joinAs, join, maximumBy, maximum, meanAs, mean, minimumBy, minimum, none, or$1 as or, productAs, product, select, selectAs, sumAs, sum, lens, getter, setter, foldTraversalLens, defaults, define, normalize, required, reread, rewrite, append, cross, filter, find, findWith, first, index, last, prefix, slice, suffix, pickIn, prop, props, propsOf, removable, valueOr, pick, replace$1 as replace, getInverse, iso, array, inverse, iterate, complement, identity, is, subset, indexed, reverse, singleton, disjoint, keyed, multikeyed, json, uri, uriComponent, dropPrefix, dropSuffix, replaces, split, uncouple, querystring, add$1 as add, divide, multiply$1 as multiply, negate$1 as negate, subtract, pointer };

@@ -368,3 +368,3 @@ (function (global, factory) {

var minY = void 0;
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -1127,3 +1127,3 @@ if (void 0 !== y && (void 0 === minY || ord(y, minY))) {

return I.curry(function crossOr(or$$1, ls) {
return toFunction([isoU(I.id, I.freeze), fn$$1(or$$1, ls), isoU(I.freeze, I.id)]);
return toFunction([isoU(id, I.freeze), fn$$1(or$$1, ls), isoU(I.freeze, id)]);
});

@@ -1548,2 +1548,12 @@ })(function crossOr(or$$1, ls) {

var all1 = /*#__PURE__*/I.curry(function all1(xi2b, t, s) {
var result = false;
getAsU(function (x, i) {
if (xi2b(x, i)) result = true;else return result = false;
}, t, s);
return result;
});
var and1 = /*#__PURE__*/all1(id);
var any = /*#__PURE__*/I.curry(function any(xi2b, t, s) {

@@ -1557,3 +1567,3 @@ return !!getAsU(function (x, i) {

var results = [];
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -1581,3 +1591,3 @@ if (void 0 !== y) results.push(y);

var counts = new Map();
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var k = xi2k(x, i);

@@ -1593,3 +1603,3 @@ var n = counts.get(k);

var foldl = /*#__PURE__*/I.curry(function foldl(f, r, t, s) {
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
r = f(r, x, i);

@@ -1603,3 +1613,3 @@ }, t, s);

var xs = [];
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
xs.push(x);

@@ -1614,3 +1624,3 @@ is.push(i);

var forEach = /*#__PURE__*/I.curry(function forEach(f, t, s) {
return traverseU(Select, function (x, i) {
return getAsU(function (x, i) {
f(x, i);

@@ -1622,3 +1632,3 @@ }, t, s);

var c = newC();
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
ef$$1(c, x, i);

@@ -1660,3 +1670,3 @@ }, t, s);

var num = 0;
traverseU(Select, function (x, i) {
getAsU(function (x, i) {
var y = xi2y(x, i);

@@ -2201,2 +2211,4 @@ if (void 0 !== y) {

exports.and = and$1;
exports.all1 = all1;
exports.and1 = and1;
exports.any = any;

@@ -2203,0 +2215,0 @@ exports.collectAs = collectAs;

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

!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("infestines")):"function"==typeof define&&define.amd?define(["exports","infestines"],r):r(n.L={},n.I)}(this,function(n,b){"use strict";function r(n){switch(typeof n){case"boolean":case"number":case"string":return!0;default:return!1}}function e(n,r){for(var t=0,u=r.length;t<u;++t){var e=n(r[t],t);if(void 0!==e)return e}}function i(n,r,t){if(!this)return T(new i(n,r,t));this.map=n,this.of=r,this.ap=t}function o(n,r,t,u){var e=n.map,i=n.ap,o=n.of(un),c=t.length;if(e===b.sndU){for(var f=0;f<c;++f)o=i(o,r(t[f],f));return o}for(var a=un(u),v=0;v<c;++v)o=i(e(a,o),r(t[v],v));return e(on,o)}function a(n,r){var t=r.length-n;if(t<2)return t?ur(r[n]):kn;for(var e=ur(r[n+--t]),i=function(t,u){return function(n,r){return e(n,r,t,u)}};--t;)i=pn(ur(r[n+t]),i);var o=ur(r[n]);return function(n,r,t,u){return o(n,r,t,i(t,u))}}function u(n,r,t,u){for(var e,i,o=n.length,c=Array(o),f=0;f<o;++f)switch(c[f]=t,typeof(e=n[f])){case"string":t=an(e,t);break;case"number":t=ln(e,t);break;default:t=a(f,n)(t,n[f-1],nr,r||b.always(u)),o=f}for(o===n.length&&(t=r?r(t,n[o-1]):u);0<=--o;)t=b.isString(i=n[o])?vn(i,t,c[o]):dn(i,t,c[o]);return t}function t(n,r,t,u){return Zn(n)?Hn(n,0,t,u):t.of(n)}function c(n,r,t,u){return b.isArray(n)?Hn(n,0,t,u):b.isObject(n)?qr(n,r,t,u):t.of(n)}function f(n,r,u,e){return function n(r,t){return b.isArray(r)?Hn(r,0,u,n):void 0!==r?e(r,t):u.of(r)}(n,r)}function v(r,n){return 1<arguments.length?bn(E,r,n):function(n){return bn(E,r,n)}}function s(r,n,t,u){var e=Zn(r)?r.length:0;return t.map(function(n){return dn(e,n,r)},u(void 0,e))}function l(o){var c=1<arguments.length?arguments[1]:{hint:0};return function(n,r,t,u){var e=Zn(n)?n:"",i=c.hint=function(n,r,t){var u=n.hint,e=t.length;e<=u&&(u=e-1),u<0&&(u=0);for(var i=u-1;0<=i&&u<e;++u,--i){if(r(t[u],u,n))return u;if(r(t[i],i,n))return i}for(;u<e;++u)if(r(t[u],u,n))return u;for(;0<=i;--i)if(r(t[i],i,n))return i;return e}(c,o,e);return t.map(function(n){return dn(i,n,e)},u(e[i],i))}}function d(){for(var n,r=arguments.length,t={},u=0;u<r;++u)t[n=arguments[u]]=n;return Et(t)}function h(r,n){return 1<arguments.length?yn(r,n,void 0):function(n){return yn(r,n,void 0)}}var p=function(n,r){return n+r},y=function(n,r){return n*r},g=b.curry(p),m=b.curry(y),A=b.curry(function(n,r){return r/n}),j=function(n){return-n},x=function(n,r){return n<r},O=function(n,r){return r<n},I=b.curry(function(n,r){return r instanceof n}),w=Object.create,S=function(n){return b.assign(w(null),n)},U=b.freeze(S(b.object0)),k=b.curry(function(n,r,t){return t.replace(n,r)}),E=function(n){return n},R=function(n){return n},q=function(n){return n},M=function(n,r){return b.isString(n)?new RegExp(k(/[|\\{}()[\]^$+*?.]/g,"\\$&",n),r):n},N=function(r){return q(function(n){try{return r(n)}catch(n){return n}})},P=function(n,r){return null!=r&&b.isFunction(r.then)?r.then(n):n(r)},z=function(n){return void 0!==n?String(n):""},C=function(n,r,t,u){return void 0!==u?Math.min(Math.max(n,u<0?r+u:u),r):t},D=function(r){return function(n){return[n,r]}},L=function(r){return function(n){return void 0!==n?n:r}},W=L(0),F=b.always(!0),$=function(n){return void 0!==n?!n:n},B=function(n){return void 0!==n?[n]:n},J=function(r,t){return q(function(n){return r(n)?t(n):void 0})},T=E,_=function(n){return!(n instanceof Object)||b.isArray(n)},G=E(function(n){if(Zn(n)){for(var r=n.length,t=Array(r),u=0;r;)t[u++]=n[--r];return t}}),H=E(function(n,r,t){for(var u=r.length,e=Array(u),i=0,o=!0,c=0;c<u;++c){var f=r[c],a=n(f,c);t!==a&&(e[i++]=a,o&&(o=f===a&&(0!==f||1/f==1/a)||f!=f&&a!=a))}return i!==u?(e.length=i,e):o?r:e}),K=function(n,r){return Zn(r)?H(n,r,void 0):void 0},Q=E(function(n,r,t,u,e){for(;u<e;)n[r++]=t[u++];return n}),V=b.inherit(function n(r,t,u,e){if(!this)return T(new n(r,t,u,e));i.call(this,r,t,u),this.chain=e},i),X=function(n,r){return i(b.sndU,b.always(r),n)},Y=function(n){return X(n.concat,(0,n.empty)())},Z=X(p,0),nn=function(o){return b.curry(function(u,n,r){var e=void 0,i=void 0;return rn(tr,function(n,r){var t=u(n,r);void 0===t||void 0!==i&&!o(t,i)||(e=n,i=t)},n,r),e})},rn=function(n,r,t,u){return ur(t)(u,void 0,n,r)},tn=function(e,n){return b.curryN(4,q(function(t,u){return u=n(u),function(n,r){return e(rn(u,t,n,r))}}))},un=function(t){return function(r){return function(n){return t!==n?[n,r]:r}}},en=function(n,r){for(;un!==n;)r.push(n[0]),n=n[1];return r},on=E(function(n){return en(n,[]).reverse()}),cn=i(function(n,r){var t=r.p,u=r.x,e=r.c;return u=n(u),b.isFunction(u)||(t=[u,t]),{p:t,x:u,c:e}},function(n){return{p:[],x:n,c:void 0}},function(n,r){var t=void 0!==n.c?n:r;return{p:t.p,x:n.x(r.x),c:t.c}}),fn=function(i,o){return function(e){return function(r,n,t,u){return t.map(function(n){return o(e,n,r)},u(i(e,r),e))}}},an=function(n,r){return r instanceof Object?r[n]:void 0},vn=E(function(n,r,t){return void 0!==r?b.assocPartialU(n,r,t):b.dissocPartialU(n,t)||b.object0}),sn=fn(an,vn),ln=function(n,r){return Zn(r)?r[n]:void 0},dn=E(function(n,r,t){Zn(t)||(t="");var u=t.length;if(void 0!==r){for(var e=Math.max(n+1,u),i=Array(e),o=0;o<e;++o)i[o]=t[o];return i[n]=r,i}if(u<=n)return Q(Array(u),0,t,0,u);for(var c=Array(u-1),f=0;f<n;++f)c[f]=t[f];for(var a=n+1;a<u;++a)c[a-1]=t[a];return c}),hn=fn(ln,dn),pn=function(e,n){return function(t,u){return u=n(t,u),function(n,r){return e(n,r,t,u)}}},yn=E(function(n,r,t){switch(typeof n){case"string":return vn(n,r,t);case"number":return dn(n,r,t);case"object":return u(n,0,t,r);default:return 4===n.length?n(t,void 0,nr,b.always(r)):t}}),gn=E(function(n,r,t){switch(typeof n){case"string":return vn(n,r(an(n,t),n),t);case"number":return dn(n,r(ln(n,t),n),t);case"object":return u(n,r,t);default:return 4===n.length?n(t,void 0,nr,r):(r(n(t,void 0),void 0),t)}}),mn=function(n,r,t){return u=ur(n)(t,void 0,rr,r),Promise.resolve(u);var u},bn=E(function(n,r,t){switch(typeof r){case"string":return n(an(r,t),r);case"number":return n(ln(r,t),r);case"object":for(var u,e=r.length,i=0;i<e;++i)switch(typeof(u=r[i])){case"string":t=an(u,t);break;case"number":t=ln(u,t);break;default:return a(i,r)(t,r[i-1],tr,n)}return n(t,r[e-1]);default:return n!==E&&4!==r.length?n(r(t,void 0),void 0):r(t,void 0,tr,n)}}),An=function(n,r){return bn(E,n,r)},jn=function(e,i){return q(function(r,t,n,u){return n.map(function(n){return i(n,r,t)},u(e(r,t),t))})},xn=function(e,i){return q(function(n,r,t,u){return t.map(i,u(e(n),r))})},On=function(n,r){return xn(J(b.isString,n),J(b.isString,r))},In=function(n,r){return xn(J(b.isNumber,n),J(b.isNumber,r))},wn=E(function(n,r){var t=void 0;for(var u in n){var e=n[u],i=b.isObject(e)?wn(e,r):bn(E,e,r);void 0!==i&&(t||(t={}),t[u]=i)}return t}),Sn=E(function(n,r,t){for(var u in n){var e=r&&r[u],i=n[u];t=b.isObject(i)?Sn(i,e,t):yn(i,e,t)}return t}),Un=function(n){return b.constructorOf(n)!==Object?b.toObject(n):n},kn=function(n,r,t,u){return u(n,r)},En=E(function(e){return function(n){for(var r={},t=e.length;t--;){var u=n[0];void 0!==u&&(r[e[t]]=u),n=n[1]}return r}}),Rn=E(function(n,r,t,u,e,i){var o=void 0,c=!0,f={};for(var a in r){o=1;var v=t[a],s=r[a](v,a,e,i);void 0!==s?(f[a]=s,c&&(c=v===s&&(0!==v||1/v==1/s)||v!=v&&s!=s)):c=!1}var l=o;for(var d in t)if(void 0===(l&&r[d])){o=1;var h=t[d],p=n(h,d,e,i);void 0!==p?(f[d]=p,c&&(c=h===p&&(0!==h||1/h==1/p)||h!=h&&p!=p)):c=!1}return o?c&&t===u?u:f:u}),qn=function(g,m){return function(n,r,t,u){var e=n instanceof Object?Un(n):b.object0;if(nr===t)return Rn(g,m,e,n,t,u);if(tr!==t){var i=t.map,o=t.ap,c=t.of,f=c(D),a=[];for(var v in m)a.push(v),f=o(i(D,f),m[v](e[v],v,t,u));var s=!!a.length||void 0;for(var l in e)void 0===(s&&m[l])&&(a.push(l),f=o(i(D,f),g(e[l],l,t,u)));return a.length?i(En(a),f):c(n)}for(var d in m){var h=m[d](e[d],d,t,u);if(void 0!==h)return h}for(var p in e)if(void 0===m[p]){var y=g(e[p],p,t,u);if(void 0!==y)return y}}},Mn=function(n,r,t){return b.acyclicEqualsU(t,n)?r:t},Nn=E(function(n,r,t,u){for(var e,i=0,o=r.length;i<o;++i)(n(e=r[i],i)?t:u).push(e)}),Pn=function(n){return n[0]},zn=function(n){return n.index},Cn=function(n){return zn(n)+n[0].length},Dn=E(function(n,r){var t=r.lastIndex;r.lastIndex=Cn(n);var u=r.exec(n.input);return r.lastIndex=t,u&&u[0]&&u}),Ln=function(t){return function(r){return function(n){return[t,n,r]}}},Wn=xn(J(I(Object),E(function(n){n=Un(n);var r=[];for(var t in n)r.push([t,n[t]]);return r})),J(b.isArray,E(function(n){for(var r={},t=0,u=n.length;t<u;++t){var e=n[t];2===e.length&&(r[e[0]]=e[1])}return r}))),Fn=E(function(n,r){if(r instanceof Object){var t={};for(var u in r=Un(r)){var e=n(u),i=t[e];void 0===i&&(t[e]=i={}),i[u]=r[u]}return t}}),$n=E(function(i){return function(n){if(n instanceof Object){var r={};for(var t in n=Un(n)){var u=n[t];if(u instanceof Object)for(var e in u=Un(u))i(e)===t&&(r[e]=u[e])}return r}}}),Bn=function(n,r,t){return void 0!==n(r,t,tr,E)},Jn=function(t){return function(n,r){return Bn(t,n,r)}},Tn=function(i,o){return function(e){return function(n,r,t,u){return(e(n,r)?i:o)(n,r,t,u)}}},_n=function(e,i){return i=ur(i),e=ur(e),function(n,r,t,u){return(Bn(i,n,r)?i:e)(n,r,t,u)}},Gn=function(n,r,t,u){return t.of(n)},Hn=function(n,r,t,u){return t===nr?H(u,n,void 0):t===tr?e(u,n):o(t,u,n,void 0)},Kn=function(e,i){return function(n,r,t,u){return t.chain(function(n){return i(n,r,t,u)},e(n,r,t,u))}},Qn=function(n,r){return[r,St(n)]},Vn=function(t){return function(n){for(var r=n;void 0!==n;)n=t(r=n);return r}},Xn=function(o,c,f){return function(n,r){var t=c.length;if(Zn(n)){Zn(r)||(r="");for(var u=Math.max(t,n.length,r.length),e=Array(u),i=0;i<u;++i)if(void 0===(e[i]=o(i<t?c[i]:f,n[i],r[i])))return;return e}}},Yn=(0,b.curry)(function(n,r){return jn(Xn(An,r,n),Xn(yn,r,n))}),Zn=function(n){return n instanceof Object&&(n=n.length)===n>>0&&0<=n||b.isString(n)},nr=V(b.applyU,E,b.applyU,b.applyU),rr=V(P,E,function(n,r){return P(function(r){return P(function(n){return n(r)},n)},r)},P),tr=X(function(n,r){return void 0!==n?n:r}),ur=E(function(n){switch(typeof n){case"string":return sn(n);case"number":return hn(n);case"object":return a(0,n);default:return 4===n.length?n:(e=n,q(function(n,r,t,u){return t.map(b.always(n),u(e(n,r),r))}))}var e}),er=b.curry(function(n,r,t){return yn([n,kt(r)],r,t)}),ir=b.curry(gn),or=b.curry(mn),cr=b.curry(function(n,r){return yn(n,void 0,r)}),fr=b.curry(yn),ar=b.curry(rn),vr=function(e){return q(function(n,r,t,u){return ur(e(n,r))(n,r,t,u)})},sr=E(function(){for(var n=arguments.length,r=Gn;n--;){var t=arguments[n];r=t.length<2?ur(t[0]):Tn(ur(t[1]),r)(t[0])}return r}),lr=E(function(i){i=ur(i);var o=arguments.length-1;if(!o)return Gn;var n=arguments[o];1===n.length?(--o,n=ur(n[0])):n=Gn;for(var c=Array(o),f=Array(o+1),r=0;r<o;++r){var t=arguments[r+1];c[r]=t[0],f[r]=ur(t[1])}return f[o]=n,function(n,r,t,u){var e=o;return i(n,r,tr,function(n,r){for(var t=0;t<e;++t)if(c[t](n,r)){if(0===(e=t))return 0;break}}),f[e](n,r,t,u)}}),dr=b.curry(function(n,r,t){return Tn(ur(r),ur(t))(n)}),hr=b.curry(_n),pr=b.curry(function(t,n){return[n,vr(function(n,r){return void 0!==n?t(n,r):Gn})]}),yr=Tn(Gn,kn),gr=Tn(kn,Gn),mr=gr(b.isDefined),br=b.curry(function(e,i){return i=ur(i),q(function(n,t,r,u){return i(n,t,r,function(n,r){return u(n,e(r,t))})})}),Ar=R(br(function(n,r){return void 0!==r?void 0!==n?[r,n]:r:n})),jr=R(br(b.sndU)),xr=b.curry(function(n,r){return gn(n,E,r)}),Or=b.curry(function(n,r){return mn(n,E,r)}),Ir=E(function(){var n=arguments.length,r=Gn;if(n)for(r=ur(arguments[--n]);n;)r=Kn(ur(arguments[--n]),r);return r}),wr=function(e){return function(n,r,t,u){return t.of(e)}},Sr=wr(),Ur=E(b.curryN(2,function(r){return r=ur(r),function(n){return function n(r,t){var u=w(null);for(var e in t){var i=t[e];u[e]=b.isObject(i)?n(r,i):ur(i)}return qn(r,u)}(r,n)}})),kr=Ur(Gn),Er=R(ur([Wn,t])),Rr=R(ur([Wn,t,0])),qr=R(qn(kn,U)),Mr=function(i){return function(n,r,u,e){return function n(r,t){return i(r,t)?e(r,t):c(r,t,u,n)}(n,r)}},Nr=Mr(function(n){return void 0!==n&&!b.isArray(n)&&!b.isObject(n)}),Pr=b.curry(function(t,n,r){return!bn(function(n,r){if(!t(n,r))return!0},n,r)}),zr=Pr(E),Cr=b.curry(function(t,n,r){return!!bn(function(n,r){if(t(n,r))return!0},n,r)}),Dr=(0,b.curry)(function(u,n,r){var e=[];return rn(tr,function(n,r){var t=u(n,r);void 0!==t&&e.push(t)},n,r),e}),Lr=Dr(E),Wr=tn(E,Y),Fr=Wr(E),$r=b.curry(function(t,n,r){return rn(Z,function(n,r){return t(n,r)?1:0},n,r)}),Br=$r(b.isDefined),Jr=b.curry(function(e,n,r){var i=new Map;return rn(tr,function(n,r){var t=e(n,r),u=i.get(t);i.set(t,void 0!==u?u+1:1)},n,r),i}),Tr=Jr(E),_r=b.curry(function(t,u,n,r){return rn(tr,function(n,r){u=t(u,n,r)},n,r),u}),Gr=b.curry(function(n,r,t,u){var e=[],i=[];rn(tr,function(n,r){i.push(n),e.push(r)},t,u);for(var o=i.length-1;0<=o;--o)r=n(r,i[o],e[o]);return r}),Hr=b.curry(function(t,n,r){return rn(tr,function(n,r){t(n,r)},n,r)}),Kr=b.curry(function(n,t,r,u){var e=n();return rn(tr,function(n,r){t(e,n,r)},r,u),e}),Qr=b.curry(bn),Vr=b.curry(function(n,r){return void 0!==bn(E,n,r)}),Xr=b.curry(function(n,r){return!bn(F,n,r)}),Yr=tn(z,E(function(t){return X(function(n,r){return void 0!==n?void 0!==r?n+t+r:n:r})})),Zr=Yr(E),nt=nn(O),rt=nt(E),tt=b.curry(function(u,n,r){var e=0,i=0;return rn(tr,function(n,r){var t=u(n,r);void 0!==t&&(i+=1,e+=t)},n,r),e/i}),ut=tt(E),et=nn(x),it=et(E),ot=b.curry(function(t,n,r){return!bn(function(n,r){if(t(n,r))return!0},n,r)}),ct=Cr(E),ft=ar(X(y,1)),at=ft(L(1)),vt=v,st=Qr,lt=ar(Z),dt=lt(W),ht=b.curry(jn),pt=ht(E),yt=b.curry(function(n,r){return jn(n(r),fr(r))}),gt=E(function(e){var i=L(e);return function(n,r,t,u){return t.map(i,u(void 0!==n?n:e,r))}}),mt=E(function(n){return Rt(n,void 0)}),bt=function(e){return function(n,r,t,u){return u(void 0!==n?e(n,r):n,r)}},At=function(e){return function(n,r,t,u){return t.map(function(n){return void 0!==n?e(n,r):n},u(n,r))}},jt=R(Yn(Sr)),xt=E(function(o){return function(n,r,t,u){var e=void 0,i=b.array0;return Zn(n)&&Nn(o,n,e=[],i=[]),t.map(function(n){var r=n?n.length:0,t=i.length,u=r+t;return u===t?i:Q(Q(Array(u),0,n,0,r),r,i,0,t)},u(e,r))}}),Ot=E,It=vr(function(n){return Zn(n)&&n.length?n.length-1:0}),wt=(0,b.curry)(function(f,a){return function(u,n,r,t){var e=Zn(u),i=e&&u.length,o=C(0,i,0,f),c=C(o,i,i,a);return r.map(function(n){var r=n?n.length:0,t=o+r;return Q(Q(Q(Array(i-c+t),0,u,0,o),o,n,0,r),t,u,c,i)},t(e?Q(Array(Math.max(0,c-o)),0,u,o,c):void 0,n))}}),St=function(n){return b.isObject(n)?Et(ir(qr,Qn,n)):n},Ut=E,kt=function(n){return d.apply(null,b.keys(n))},Et=E(function(e){return function(r,n,t,u){return t.map(function(n){return Sn(e,n,r)},u(wn(e,r),n))}}),Rt=b.curry(function(e,i){function o(n){return Mn(i,e,n)}return function(n,r,t,u){return t.map(o,u(Mn(e,i,n),r))}}),qt=b.curry(xn),Mt=function(n){var r=h(n),e=v(n),i=function(n){return K(r,n)};return function(n,r,t,u){return t.map(i,u(K(e,n),r))}},Nt=function(e){return function(n,r,t,u){return t.map(function(n){return bn(E,e,n)},u(yn(e,n,void 0),r))}},Pt=xn($,$),zt=xn(J(Zn,E(function(n){for(var r=n.length,t=Array(r),u=0;u<r;++u)t[u]=[u,n[u]];return t})),J(b.isArray,E(function(n){for(var r=n.length,t=Array(r),u=0;u<r;++u){var e=n[u];2===e.length&&(t[e[0]]=e[1])}r=t.length;for(var i=0,o=0;o<r;++o){var c=t[o];void 0!==c&&(o!==i&&(t[i]=c),++i)}return t.length=i,t}))),Ct=xn(G,G),Dt=E(function(n,r,t,u){return t.map(B,u((n instanceof Object||b.isString(n))&&1===n.length?n[0]:void 0,r))}),Lt=xn(J(I(Object),E(function(n){n=Un(n);var r=[];for(var t in n){var u=n[t];if(b.isArray(u))for(var e=0,i=u.length;e<i;++e)r.push([t,u[e]]);else r.push([t,u])}return r})),J(b.isArray,E(function(n){for(var r=w(null),t=0,u=n.length;t<u;++t){var e=n[t];if(2===e.length){var i=e[0],o=e[1],c=r[i];void 0===c?r[i]=o:b.isArray(c)?c.push(o):r[i]=[c,o]}}return b.assign({},r)}))),Wt=E(function(n){var r=n||b.object0,t=r.reviver,u=r.replacer,e=r.space;return xn(J(b.isString,N(function(n){return JSON.parse(n,t)})),J(b.isDefined,function(n){return JSON.stringify(n,u,e)}))}),Ft=On(N(decodeURI),encodeURI),$t=xn(J(b.isString,N(decodeURIComponent)),J(r,encodeURIComponent)),Bt=b.curry(function(n,r){return On(k(M(n,"g"),r),k(M(r,"g"),n))}),Jt=E(function(r){var t=1<arguments.length?arguments[1]:r;return xn(J(b.isString,function(n){return n.split(t)}),J(b.isArray,function(n){return n.join(r)}))}),Tt=E(function(u){var t=M(1<arguments.length?arguments[1]:u,"");return xn(J(b.isString,function(n){var r=t.exec(n);return r?[n.slice(0,zn(r)),n.slice(Cn(r))]:[n,""]}),function(n){if(b.isArray(n)&&2===n.length){var r=n[0],t=n[1];return t?r+u+t:r}})}),_t=ur([bt(function(n){return b.isString(n)?n.replace(/\+/g,"%20"):n}),Jt("&"),Mt([Tt("="),Mt($t)]),Nt(Lt)]),Gt=In(j,j);n.seemsArrayLike=Zn,n.Identity=nr,n.IdentityAsync=rr,n.Select=tr,n.toFunction=ur,n.assign=er,n.modify=ir,n.modifyAsync=or,n.remove=cr,n.set=fr,n.traverse=ar,n.compose=function(){var n=arguments.length;if(n<2)return n?arguments[0]:kn;for(var r=Array(n);n--;)r[n]=arguments[n];return r},n.flat=function(){for(var n=[f],r=0,t=arguments.length;r<t;++r)n.push(arguments[r],f);return n},n.lazy=function(e){function i(n,r,t,u){return o(n,r,t,u)}var o=function(n,r,t,u){return(o=ur(e(i)))(n,r,t,u)};return i},n.choices=function(n){for(var r=arguments.length,t=Array(1<r?r-1:0),u=1;u<r;u++)t[u-1]=arguments[u];return t.length?_n(t.reduceRight(_n),n):n},n.choose=vr,n.cond=sr,n.condOf=lr,n.ifElse=dr,n.orElse=hr,n.chain=pr,n.choice=function(){for(var n=arguments.length,r=Array(n),t=0;t<n;t++)r[t]=arguments[t];return r.reduceRight(_n,Gn)},n.unless=yr,n.when=gr,n.optional=mr,n.zero=Gn,n.mapIx=function(e){return function(n,r,t,u){return u(n,e(r,n))}},n.setIx=function(e){return function(n,r,t,u){return u(n,e)}},n.tieIx=br,n.joinIx=Ar,n.skipIx=jr,n.getLog=function(n,r){var t=rn(cn,function(n){return{p:[n,un],x:n,c:n}},n,r),u=t.p,e=t.c;u=en(u,["%O"]);for(var i=2;i<u.length;++i)u[0]+=" <= %O";return console.log.apply(console,u),e},n.log=function(){var n=b.curry(function(n,r){return console.log.apply(console,Q([],0,arguments,0,arguments.length).concat([n,r])),r});return xn(n("get"),n("set"))},n.transform=xr,n.transformAsync=Or,n.seq=Ir,n.assignOp=function(n){return[kt(n),wr(n)]},n.modifyOp=function(e){return function(n,r,t,u){return t.of(e(n,r))}},n.setOp=wr,n.removeOp=Sr,n.branchOr=Ur,n.branch=kr,n.branches=function(){for(var n=arguments.length,r={},t=0;t<n;++t)r[arguments[t]]=kn;return kr(r)},n.elems=t,n.elemsTotal=function(n,r,t,u){return Zn(n)?t===nr?H(u,n,H):t===tr?e(u,n):o(t,u,n,o):t.of(n)},n.entries=Er,n.keys=Rr,n.matches=function(f){return function(r,n,t,u){if(b.isString(r)){var e=t.map;if(f.global){var i=[""];return i.input=r,i.index=0,tr===t?function(n,r,t){for(;t=Dn(t,r);){var u=n(Pn(t),zn(t));if(void 0!==u)return u}}(u,f,i):e((c=r,function(n){for(var r="",t=0,u=function(n){for(var r=[];Ln!==n;)r.push(n[0],n[1]),n=n[2];return r}(n),e=u.length-2;-2!==e;e+=-2){var i=u[e];r+=c.slice(t,zn(i));var o=u[e+1];void 0!==o&&(r+=o),t=Cn(i)}return r+c.slice(t)}),function(n,r,t,u,e,i){for(var o=t(Ln);i=Dn(i,e);)o=r(r(n(Ln,t(i)),o),u(Pn(i),zn(i)));return o}(e,t.ap,t.of,u,f,i))}var o=r.match(f);if(o)return e(function(n){return r.replace(f,void 0!==n?n:"")},u(o[0],zn(o)))}var c;return t.of(r)}},n.values=qr,n.children=c,n.flatten=f,n.query=function(){for(var n=[],r=0,t=arguments.length;r<t;++r){var u=ur(arguments[r]);n.push(Mr(Jn(u)),u)}return n},n.satisfying=Mr,n.leafs=Nr,n.all=Pr,n.and=zr,n.any=Cr,n.collectAs=Dr,n.collect=Lr,n.concatAs=Wr,n.concat=Fr,n.countIf=$r,n.count=Br,n.countsAs=Jr,n.counts=Tr,n.foldl=_r,n.foldr=Gr,n.forEach=Hr,n.forEachWith=Kr,n.get=v,n.getAs=Qr,n.isDefined=Vr,n.isEmpty=Xr,n.joinAs=Yr,n.join=Zr,n.maximumBy=nt,n.maximum=rt,n.meanAs=tt,n.mean=ut,n.minimumBy=et,n.minimum=it,n.none=ot,n.or=ct,n.productAs=ft,n.product=at,n.select=vt,n.selectAs=st,n.sumAs=lt,n.sum=dt,n.lens=ht,n.getter=function(e){return function(n,r,t,u){return u(e(n,r),r)}},n.setter=pt,n.foldTraversalLens=yt,n.defaults=function(e){function i(n){return Mn(e,void 0,n)}return function(n,r,t,u){return t.map(i,u(void 0!==n?n:e,r))}},n.define=gt,n.normalize=function(n){return[bt(n),At(n)]},n.required=mt,n.reread=bt,n.rewrite=At,n.append=s,n.cross=jt,n.filter=xt,n.find=l,n.findWith=function(n){var r=ur(n),t=Jn(r);return[1<arguments.length?l(t,arguments[1]):l(t),r]},n.first=0,n.index=Ot,n.last=It,n.prefix=function(n){return wt(0,n)},n.slice=wt,n.suffix=function(n){return wt(0===n?1/0:n?-n:0,void 0)},n.pickIn=St,n.prop=Ut,n.props=d,n.propsOf=kt,n.removable=function(){function e(n){if(!(n instanceof Object))return n;for(var r=0,t=u.length;r<t;++r)if(b.hasU(u[r],n))return n}for(var n=arguments.length,u=Array(n),r=0;r<n;r++)u[r]=arguments[r];return function(n,r,t,u){return t.map(e,u(n,r))}},n.valueOr=function(e){return function(n,r,t,u){return u(null!=n?n:e,r)}},n.pick=Et,n.replace=Rt,n.getInverse=h,n.iso=qt,n.array=Mt,n.inverse=Nt,n.iterate=function(n){return xn(Vn(v(n)),Vn(h(n)))},n.complement=Pt,n.identity=kn,n.is=function(r){return xn(function(n){return b.acyclicEqualsU(r,n)},function(n){return!0===n?r:void 0})},n.subset=function(n){var r,t=(r=n,function(n){return r(n)?n:void 0});return xn(t,t)},n.indexed=zt,n.reverse=Ct,n.singleton=Dt,n.disjoint=function(i){return function(n,r,t,u){var e=$n(i);return t.map(e,u(Fn(i,n),r))}},n.keyed=Wn,n.multikeyed=Lt,n.json=Wt,n.uri=Ft,n.uriComponent=$t,n.dropPrefix=function(r){return On(function(n){return n.startsWith(r)?n.slice(r.length):void 0},function(n){return r+n})},n.dropSuffix=function(r){return On(function(n){return n.endsWith(r)?n.slice(0,n.length-r.length):void 0},function(n){return n+r})},n.replaces=Bt,n.split=Jt,n.uncouple=Tt,n.querystring=_t,n.add=function(n){return In(g(n),g(-n))},n.divide=function(n){return In(A(n),m(n))},n.multiply=function(n){return In(m(n),A(n))},n.negate=Gt,n.subtract=function(n){return In(g(-n),g(n))},n.pointer=function(n){"#"===n[0]&&(n=decodeURIComponent(n));for(var r=n.split("/"),t=r.length,u=1;u<t;++u){var e=r[u];r[u-1]=/^(0|[1-9]\d*)$/.test(e)?dr(_,Number(e),e):"-"===e?dr(_,s,e):e.replace("~1","/").replace("~0","~")}return r.length=t-1,r},Object.defineProperty(n,"__esModule",{value:!0})});
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("infestines")):"function"==typeof define&&define.amd?define(["exports","infestines"],r):r(n.L={},n.I)}(this,function(n,b){"use strict";function r(n){switch(typeof n){case"boolean":case"number":case"string":return!0;default:return!1}}function e(n,r){for(var t=0,u=r.length;t<u;++t){var e=n(r[t],t);if(void 0!==e)return e}}function i(n,r,t){if(!this)return T(new i(n,r,t));this.map=n,this.of=r,this.ap=t}function o(n,r,t,u){var e=n.map,i=n.ap,o=n.of(un),c=t.length;if(e===b.sndU){for(var f=0;f<c;++f)o=i(o,r(t[f],f));return o}for(var a=un(u),v=0;v<c;++v)o=i(e(a,o),r(t[v],v));return e(on,o)}function a(n,r){var t=r.length-n;if(t<2)return t?ur(r[n]):kn;for(var e=ur(r[n+--t]),i=function(t,u){return function(n,r){return e(n,r,t,u)}};--t;)i=yn(ur(r[n+t]),i);var o=ur(r[n]);return function(n,r,t,u){return o(n,r,t,i(t,u))}}function u(n,r,t,u){for(var e,i,o=n.length,c=Array(o),f=0;f<o;++f)switch(c[f]=t,typeof(e=n[f])){case"string":t=an(e,t);break;case"number":t=ln(e,t);break;default:t=a(f,n)(t,n[f-1],nr,r||b.always(u)),o=f}for(o===n.length&&(t=r?r(t,n[o-1]):u);0<=--o;)t=b.isString(i=n[o])?vn(i,t,c[o]):dn(i,t,c[o]);return t}function t(n,r,t,u){return Zn(n)?Hn(n,0,t,u):t.of(n)}function c(n,r,t,u){return b.isArray(n)?Hn(n,0,t,u):b.isObject(n)?qr(n,r,t,u):t.of(n)}function f(n,r,u,e){return function n(r,t){return b.isArray(r)?Hn(r,0,u,n):void 0!==r?e(r,t):u.of(r)}(n,r)}function v(r,n){return 1<arguments.length?bn(E,r,n):function(n){return bn(E,r,n)}}function s(r,n,t,u){var e=Zn(r)?r.length:0;return t.map(function(n){return dn(e,n,r)},u(void 0,e))}function l(o){var c=1<arguments.length?arguments[1]:{hint:0};return function(n,r,t,u){var e=Zn(n)?n:"",i=c.hint=function(n,r,t){var u=n.hint,e=t.length;e<=u&&(u=e-1),u<0&&(u=0);for(var i=u-1;0<=i&&u<e;++u,--i){if(r(t[u],u,n))return u;if(r(t[i],i,n))return i}for(;u<e;++u)if(r(t[u],u,n))return u;for(;0<=i;--i)if(r(t[i],i,n))return i;return e}(c,o,e);return t.map(function(n){return dn(i,n,e)},u(e[i],i))}}function d(){for(var n,r=arguments.length,t={},u=0;u<r;++u)t[n=arguments[u]]=n;return qt(t)}function h(r,n){return 1<arguments.length?pn(r,n,void 0):function(n){return pn(r,n,void 0)}}var y=function(n,r){return n+r},p=function(n,r){return n*r},g=b.curry(y),m=b.curry(p),A=b.curry(function(n,r){return r/n}),j=function(n){return-n},x=function(n,r){return n<r},O=function(n,r){return r<n},I=b.curry(function(n,r){return r instanceof n}),w=Object.create,S=function(n){return b.assign(w(null),n)},U=b.freeze(S(b.object0)),k=b.curry(function(n,r,t){return t.replace(n,r)}),E=function(n){return n},R=function(n){return n},q=function(n){return n},M=function(n,r){return b.isString(n)?new RegExp(k(/[|\\{}()[\]^$+*?.]/g,"\\$&",n),r):n},N=function(r){return q(function(n){try{return r(n)}catch(n){return n}})},P=function(n,r){return null!=r&&b.isFunction(r.then)?r.then(n):n(r)},z=function(n){return void 0!==n?String(n):""},C=function(n,r,t,u){return void 0!==u?Math.min(Math.max(n,u<0?r+u:u),r):t},D=function(r){return function(n){return[n,r]}},L=function(r){return function(n){return void 0!==n?n:r}},W=L(0),F=b.always(!0),$=function(n){return void 0!==n?!n:n},B=function(n){return void 0!==n?[n]:n},J=function(r,t){return q(function(n){return r(n)?t(n):void 0})},T=E,_=function(n){return!(n instanceof Object)||b.isArray(n)},G=E(function(n){if(Zn(n)){for(var r=n.length,t=Array(r),u=0;r;)t[u++]=n[--r];return t}}),H=E(function(n,r,t){for(var u=r.length,e=Array(u),i=0,o=!0,c=0;c<u;++c){var f=r[c],a=n(f,c);t!==a&&(e[i++]=a,o&&(o=f===a&&(0!==f||1/f==1/a)||f!=f&&a!=a))}return i!==u?(e.length=i,e):o?r:e}),K=function(n,r){return Zn(r)?H(n,r,void 0):void 0},Q=E(function(n,r,t,u,e){for(;u<e;)n[r++]=t[u++];return n}),V=b.inherit(function n(r,t,u,e){if(!this)return T(new n(r,t,u,e));i.call(this,r,t,u),this.chain=e},i),X=function(n,r){return i(b.sndU,b.always(r),n)},Y=function(n){return X(n.concat,(0,n.empty)())},Z=X(y,0),nn=function(o){return b.curry(function(u,n,r){var e=void 0,i=void 0;return bn(function(n,r){var t=u(n,r);void 0===t||void 0!==i&&!o(t,i)||(e=n,i=t)},n,r),e})},rn=function(n,r,t,u){return ur(t)(u,void 0,n,r)},tn=function(e,n){return b.curryN(4,q(function(t,u){return u=n(u),function(n,r){return e(rn(u,t,n,r))}}))},un=function(t){return function(r){return function(n){return t!==n?[n,r]:r}}},en=function(n,r){for(;un!==n;)r.push(n[0]),n=n[1];return r},on=E(function(n){return en(n,[]).reverse()}),cn=i(function(n,r){var t=r.p,u=r.x,e=r.c;return u=n(u),b.isFunction(u)||(t=[u,t]),{p:t,x:u,c:e}},function(n){return{p:[],x:n,c:void 0}},function(n,r){var t=void 0!==n.c?n:r;return{p:t.p,x:n.x(r.x),c:t.c}}),fn=function(i,o){return function(e){return function(r,n,t,u){return t.map(function(n){return o(e,n,r)},u(i(e,r),e))}}},an=function(n,r){return r instanceof Object?r[n]:void 0},vn=E(function(n,r,t){return void 0!==r?b.assocPartialU(n,r,t):b.dissocPartialU(n,t)||b.object0}),sn=fn(an,vn),ln=function(n,r){return Zn(r)?r[n]:void 0},dn=E(function(n,r,t){Zn(t)||(t="");var u=t.length;if(void 0!==r){for(var e=Math.max(n+1,u),i=Array(e),o=0;o<e;++o)i[o]=t[o];return i[n]=r,i}if(u<=n)return Q(Array(u),0,t,0,u);for(var c=Array(u-1),f=0;f<n;++f)c[f]=t[f];for(var a=n+1;a<u;++a)c[a-1]=t[a];return c}),hn=fn(ln,dn),yn=function(e,n){return function(t,u){return u=n(t,u),function(n,r){return e(n,r,t,u)}}},pn=E(function(n,r,t){switch(typeof n){case"string":return vn(n,r,t);case"number":return dn(n,r,t);case"object":return u(n,0,t,r);default:return 4===n.length?n(t,void 0,nr,b.always(r)):t}}),gn=E(function(n,r,t){switch(typeof n){case"string":return vn(n,r(an(n,t),n),t);case"number":return dn(n,r(ln(n,t),n),t);case"object":return u(n,r,t);default:return 4===n.length?n(t,void 0,nr,r):(r(n(t,void 0),void 0),t)}}),mn=function(n,r,t){return u=ur(n)(t,void 0,rr,r),Promise.resolve(u);var u},bn=E(function(n,r,t){switch(typeof r){case"string":return n(an(r,t),r);case"number":return n(ln(r,t),r);case"object":for(var u,e=r.length,i=0;i<e;++i)switch(typeof(u=r[i])){case"string":t=an(u,t);break;case"number":t=ln(u,t);break;default:return a(i,r)(t,r[i-1],tr,n)}return n(t,r[e-1]);default:return n!==E&&4!==r.length?n(r(t,void 0),void 0):r(t,void 0,tr,n)}}),An=function(n,r){return bn(E,n,r)},jn=function(e,i){return q(function(r,t,n,u){return n.map(function(n){return i(n,r,t)},u(e(r,t),t))})},xn=function(e,i){return q(function(n,r,t,u){return t.map(i,u(e(n),r))})},On=function(n,r){return xn(J(b.isString,n),J(b.isString,r))},In=function(n,r){return xn(J(b.isNumber,n),J(b.isNumber,r))},wn=E(function(n,r){var t=void 0;for(var u in n){var e=n[u],i=b.isObject(e)?wn(e,r):bn(E,e,r);void 0!==i&&(t||(t={}),t[u]=i)}return t}),Sn=E(function(n,r,t){for(var u in n){var e=r&&r[u],i=n[u];t=b.isObject(i)?Sn(i,e,t):pn(i,e,t)}return t}),Un=function(n){return b.constructorOf(n)!==Object?b.toObject(n):n},kn=function(n,r,t,u){return u(n,r)},En=E(function(e){return function(n){for(var r={},t=e.length;t--;){var u=n[0];void 0!==u&&(r[e[t]]=u),n=n[1]}return r}}),Rn=E(function(n,r,t,u,e,i){var o=void 0,c=!0,f={};for(var a in r){o=1;var v=t[a],s=r[a](v,a,e,i);void 0!==s?(f[a]=s,c&&(c=v===s&&(0!==v||1/v==1/s)||v!=v&&s!=s)):c=!1}var l=o;for(var d in t)if(void 0===(l&&r[d])){o=1;var h=t[d],y=n(h,d,e,i);void 0!==y?(f[d]=y,c&&(c=h===y&&(0!==h||1/h==1/y)||h!=h&&y!=y)):c=!1}return o?c&&t===u?u:f:u}),qn=function(g,m){return function(n,r,t,u){var e=n instanceof Object?Un(n):b.object0;if(nr===t)return Rn(g,m,e,n,t,u);if(tr!==t){var i=t.map,o=t.ap,c=t.of,f=c(D),a=[];for(var v in m)a.push(v),f=o(i(D,f),m[v](e[v],v,t,u));var s=!!a.length||void 0;for(var l in e)void 0===(s&&m[l])&&(a.push(l),f=o(i(D,f),g(e[l],l,t,u)));return a.length?i(En(a),f):c(n)}for(var d in m){var h=m[d](e[d],d,t,u);if(void 0!==h)return h}for(var y in e)if(void 0===m[y]){var p=g(e[y],y,t,u);if(void 0!==p)return p}}},Mn=function(n,r,t){return b.acyclicEqualsU(t,n)?r:t},Nn=E(function(n,r,t,u){for(var e,i=0,o=r.length;i<o;++i)(n(e=r[i],i)?t:u).push(e)}),Pn=function(n){return n[0]},zn=function(n){return n.index},Cn=function(n){return zn(n)+n[0].length},Dn=E(function(n,r){var t=r.lastIndex;r.lastIndex=Cn(n);var u=r.exec(n.input);return r.lastIndex=t,u&&u[0]&&u}),Ln=function(t){return function(r){return function(n){return[t,n,r]}}},Wn=xn(J(I(Object),E(function(n){n=Un(n);var r=[];for(var t in n)r.push([t,n[t]]);return r})),J(b.isArray,E(function(n){for(var r={},t=0,u=n.length;t<u;++t){var e=n[t];2===e.length&&(r[e[0]]=e[1])}return r}))),Fn=E(function(n,r){if(r instanceof Object){var t={};for(var u in r=Un(r)){var e=n(u),i=t[e];void 0===i&&(t[e]=i={}),i[u]=r[u]}return t}}),$n=E(function(i){return function(n){if(n instanceof Object){var r={};for(var t in n=Un(n)){var u=n[t];if(u instanceof Object)for(var e in u=Un(u))i(e)===t&&(r[e]=u[e])}return r}}}),Bn=function(n,r,t){return void 0!==n(r,t,tr,E)},Jn=function(t){return function(n,r){return Bn(t,n,r)}},Tn=function(i,o){return function(e){return function(n,r,t,u){return(e(n,r)?i:o)(n,r,t,u)}}},_n=function(e,i){return i=ur(i),e=ur(e),function(n,r,t,u){return(Bn(i,n,r)?i:e)(n,r,t,u)}},Gn=function(n,r,t,u){return t.of(n)},Hn=function(n,r,t,u){return t===nr?H(u,n,void 0):t===tr?e(u,n):o(t,u,n,void 0)},Kn=function(e,i){return function(n,r,t,u){return t.chain(function(n){return i(n,r,t,u)},e(n,r,t,u))}},Qn=function(n,r){return[r,kt(n)]},Vn=function(t){return function(n){for(var r=n;void 0!==n;)n=t(r=n);return r}},Xn=function(o,c,f){return function(n,r){var t=c.length;if(Zn(n)){Zn(r)||(r="");for(var u=Math.max(t,n.length,r.length),e=Array(u),i=0;i<u;++i)if(void 0===(e[i]=o(i<t?c[i]:f,n[i],r[i])))return;return e}}},Yn=(0,b.curry)(function(n,r){return jn(Xn(An,r,n),Xn(pn,r,n))}),Zn=function(n){return n instanceof Object&&(n=n.length)===n>>0&&0<=n||b.isString(n)},nr=V(b.applyU,E,b.applyU,b.applyU),rr=V(P,E,function(n,r){return P(function(r){return P(function(n){return n(r)},n)},r)},P),tr=X(function(n,r){return void 0!==n?n:r}),ur=E(function(n){switch(typeof n){case"string":return sn(n);case"number":return hn(n);case"object":return a(0,n);default:return 4===n.length?n:(e=n,q(function(n,r,t,u){return t.map(b.always(n),u(e(n,r),r))}))}var e}),er=b.curry(function(n,r,t){return pn([n,Rt(r)],r,t)}),ir=b.curry(gn),or=b.curry(mn),cr=b.curry(function(n,r){return pn(n,void 0,r)}),fr=b.curry(pn),ar=b.curry(rn),vr=function(e){return q(function(n,r,t,u){return ur(e(n,r))(n,r,t,u)})},sr=E(function(){for(var n=arguments.length,r=Gn;n--;){var t=arguments[n];r=t.length<2?ur(t[0]):Tn(ur(t[1]),r)(t[0])}return r}),lr=E(function(i){i=ur(i);var o=arguments.length-1;if(!o)return Gn;var n=arguments[o];1===n.length?(--o,n=ur(n[0])):n=Gn;for(var c=Array(o),f=Array(o+1),r=0;r<o;++r){var t=arguments[r+1];c[r]=t[0],f[r]=ur(t[1])}return f[o]=n,function(n,r,t,u){var e=o;return i(n,r,tr,function(n,r){for(var t=0;t<e;++t)if(c[t](n,r)){if(0===(e=t))return 0;break}}),f[e](n,r,t,u)}}),dr=b.curry(function(n,r,t){return Tn(ur(r),ur(t))(n)}),hr=b.curry(_n),yr=b.curry(function(t,n){return[n,vr(function(n,r){return void 0!==n?t(n,r):Gn})]}),pr=Tn(Gn,kn),gr=Tn(kn,Gn),mr=gr(b.isDefined),br=b.curry(function(e,i){return i=ur(i),q(function(n,t,r,u){return i(n,t,r,function(n,r){return u(n,e(r,t))})})}),Ar=R(br(function(n,r){return void 0!==r?void 0!==n?[r,n]:r:n})),jr=R(br(b.sndU)),xr=b.curry(function(n,r){return gn(n,E,r)}),Or=b.curry(function(n,r){return mn(n,E,r)}),Ir=E(function(){var n=arguments.length,r=Gn;if(n)for(r=ur(arguments[--n]);n;)r=Kn(ur(arguments[--n]),r);return r}),wr=function(e){return function(n,r,t,u){return t.of(e)}},Sr=wr(),Ur=E(b.curryN(2,function(r){return r=ur(r),function(n){return function n(r,t){var u=w(null);for(var e in t){var i=t[e];u[e]=b.isObject(i)?n(r,i):ur(i)}return qn(r,u)}(r,n)}})),kr=Ur(Gn),Er=R(ur([Wn,t])),Rr=R(ur([Wn,t,0])),qr=R(qn(kn,U)),Mr=function(i){return function(n,r,u,e){return function n(r,t){return i(r,t)?e(r,t):c(r,t,u,n)}(n,r)}},Nr=Mr(function(n){return void 0!==n&&!b.isArray(n)&&!b.isObject(n)}),Pr=b.curry(function(t,n,r){return!bn(function(n,r){if(!t(n,r))return!0},n,r)}),zr=Pr(E),Cr=b.curry(function(t,n,r){var u=!1;return bn(function(n,r){if(!t(n,r))return u=!1;u=!0},n,r),u}),Dr=Cr(E),Lr=b.curry(function(t,n,r){return!!bn(function(n,r){if(t(n,r))return!0},n,r)}),Wr=(0,b.curry)(function(u,n,r){var e=[];return bn(function(n,r){var t=u(n,r);void 0!==t&&e.push(t)},n,r),e}),Fr=Wr(E),$r=tn(E,Y),Br=$r(E),Jr=b.curry(function(t,n,r){return rn(Z,function(n,r){return t(n,r)?1:0},n,r)}),Tr=Jr(b.isDefined),_r=b.curry(function(e,n,r){var i=new Map;return bn(function(n,r){var t=e(n,r),u=i.get(t);i.set(t,void 0!==u?u+1:1)},n,r),i}),Gr=_r(E),Hr=b.curry(function(t,u,n,r){return bn(function(n,r){u=t(u,n,r)},n,r),u}),Kr=b.curry(function(n,r,t,u){var e=[],i=[];bn(function(n,r){i.push(n),e.push(r)},t,u);for(var o=i.length-1;0<=o;--o)r=n(r,i[o],e[o]);return r}),Qr=b.curry(function(t,n,r){return bn(function(n,r){t(n,r)},n,r)}),Vr=b.curry(function(n,t,r,u){var e=n();return bn(function(n,r){t(e,n,r)},r,u),e}),Xr=b.curry(bn),Yr=b.curry(function(n,r){return void 0!==bn(E,n,r)}),Zr=b.curry(function(n,r){return!bn(F,n,r)}),nt=tn(z,E(function(t){return X(function(n,r){return void 0!==n?void 0!==r?n+t+r:n:r})})),rt=nt(E),tt=nn(O),ut=tt(E),et=b.curry(function(u,n,r){var e=0,i=0;return bn(function(n,r){var t=u(n,r);void 0!==t&&(i+=1,e+=t)},n,r),e/i}),it=et(E),ot=nn(x),ct=ot(E),ft=b.curry(function(t,n,r){return!bn(function(n,r){if(t(n,r))return!0},n,r)}),at=Lr(E),vt=ar(X(p,1)),st=vt(L(1)),lt=v,dt=Xr,ht=ar(Z),yt=ht(W),pt=b.curry(jn),gt=pt(E),mt=b.curry(function(n,r){return jn(n(r),fr(r))}),bt=E(function(e){var i=L(e);return function(n,r,t,u){return t.map(i,u(void 0!==n?n:e,r))}}),At=E(function(n){return Mt(n,void 0)}),jt=function(e){return function(n,r,t,u){return u(void 0!==n?e(n,r):n,r)}},xt=function(e){return function(n,r,t,u){return t.map(function(n){return void 0!==n?e(n,r):n},u(n,r))}},Ot=R(Yn(Sr)),It=E(function(o){return function(n,r,t,u){var e=void 0,i=b.array0;return Zn(n)&&Nn(o,n,e=[],i=[]),t.map(function(n){var r=n?n.length:0,t=i.length,u=r+t;return u===t?i:Q(Q(Array(u),0,n,0,r),r,i,0,t)},u(e,r))}}),wt=E,St=vr(function(n){return Zn(n)&&n.length?n.length-1:0}),Ut=(0,b.curry)(function(f,a){return function(u,n,r,t){var e=Zn(u),i=e&&u.length,o=C(0,i,0,f),c=C(o,i,i,a);return r.map(function(n){var r=n?n.length:0,t=o+r;return Q(Q(Q(Array(i-c+t),0,u,0,o),o,n,0,r),t,u,c,i)},t(e?Q(Array(Math.max(0,c-o)),0,u,o,c):void 0,n))}}),kt=function(n){return b.isObject(n)?qt(ir(qr,Qn,n)):n},Et=E,Rt=function(n){return d.apply(null,b.keys(n))},qt=E(function(e){return function(r,n,t,u){return t.map(function(n){return Sn(e,n,r)},u(wn(e,r),n))}}),Mt=b.curry(function(e,i){function o(n){return Mn(i,e,n)}return function(n,r,t,u){return t.map(o,u(Mn(e,i,n),r))}}),Nt=b.curry(xn),Pt=function(n){var r=h(n),e=v(n),i=function(n){return K(r,n)};return function(n,r,t,u){return t.map(i,u(K(e,n),r))}},zt=function(e){return function(n,r,t,u){return t.map(function(n){return bn(E,e,n)},u(pn(e,n,void 0),r))}},Ct=xn($,$),Dt=xn(J(Zn,E(function(n){for(var r=n.length,t=Array(r),u=0;u<r;++u)t[u]=[u,n[u]];return t})),J(b.isArray,E(function(n){for(var r=n.length,t=Array(r),u=0;u<r;++u){var e=n[u];2===e.length&&(t[e[0]]=e[1])}r=t.length;for(var i=0,o=0;o<r;++o){var c=t[o];void 0!==c&&(o!==i&&(t[i]=c),++i)}return t.length=i,t}))),Lt=xn(G,G),Wt=E(function(n,r,t,u){return t.map(B,u((n instanceof Object||b.isString(n))&&1===n.length?n[0]:void 0,r))}),Ft=xn(J(I(Object),E(function(n){n=Un(n);var r=[];for(var t in n){var u=n[t];if(b.isArray(u))for(var e=0,i=u.length;e<i;++e)r.push([t,u[e]]);else r.push([t,u])}return r})),J(b.isArray,E(function(n){for(var r=w(null),t=0,u=n.length;t<u;++t){var e=n[t];if(2===e.length){var i=e[0],o=e[1],c=r[i];void 0===c?r[i]=o:b.isArray(c)?c.push(o):r[i]=[c,o]}}return b.assign({},r)}))),$t=E(function(n){var r=n||b.object0,t=r.reviver,u=r.replacer,e=r.space;return xn(J(b.isString,N(function(n){return JSON.parse(n,t)})),J(b.isDefined,function(n){return JSON.stringify(n,u,e)}))}),Bt=On(N(decodeURI),encodeURI),Jt=xn(J(b.isString,N(decodeURIComponent)),J(r,encodeURIComponent)),Tt=b.curry(function(n,r){return On(k(M(n,"g"),r),k(M(r,"g"),n))}),_t=E(function(r){var t=1<arguments.length?arguments[1]:r;return xn(J(b.isString,function(n){return n.split(t)}),J(b.isArray,function(n){return n.join(r)}))}),Gt=E(function(u){var t=M(1<arguments.length?arguments[1]:u,"");return xn(J(b.isString,function(n){var r=t.exec(n);return r?[n.slice(0,zn(r)),n.slice(Cn(r))]:[n,""]}),function(n){if(b.isArray(n)&&2===n.length){var r=n[0],t=n[1];return t?r+u+t:r}})}),Ht=ur([jt(function(n){return b.isString(n)?n.replace(/\+/g,"%20"):n}),_t("&"),Pt([Gt("="),Pt(Jt)]),zt(Ft)]),Kt=In(j,j);n.seemsArrayLike=Zn,n.Identity=nr,n.IdentityAsync=rr,n.Select=tr,n.toFunction=ur,n.assign=er,n.modify=ir,n.modifyAsync=or,n.remove=cr,n.set=fr,n.traverse=ar,n.compose=function(){var n=arguments.length;if(n<2)return n?arguments[0]:kn;for(var r=Array(n);n--;)r[n]=arguments[n];return r},n.flat=function(){for(var n=[f],r=0,t=arguments.length;r<t;++r)n.push(arguments[r],f);return n},n.lazy=function(e){function i(n,r,t,u){return o(n,r,t,u)}var o=function(n,r,t,u){return(o=ur(e(i)))(n,r,t,u)};return i},n.choices=function(n){for(var r=arguments.length,t=Array(1<r?r-1:0),u=1;u<r;u++)t[u-1]=arguments[u];return t.length?_n(t.reduceRight(_n),n):n},n.choose=vr,n.cond=sr,n.condOf=lr,n.ifElse=dr,n.orElse=hr,n.chain=yr,n.choice=function(){for(var n=arguments.length,r=Array(n),t=0;t<n;t++)r[t]=arguments[t];return r.reduceRight(_n,Gn)},n.unless=pr,n.when=gr,n.optional=mr,n.zero=Gn,n.mapIx=function(e){return function(n,r,t,u){return u(n,e(r,n))}},n.setIx=function(e){return function(n,r,t,u){return u(n,e)}},n.tieIx=br,n.joinIx=Ar,n.skipIx=jr,n.getLog=function(n,r){var t=rn(cn,function(n){return{p:[n,un],x:n,c:n}},n,r),u=t.p,e=t.c;u=en(u,["%O"]);for(var i=2;i<u.length;++i)u[0]+=" <= %O";return console.log.apply(console,u),e},n.log=function(){var n=b.curry(function(n,r){return console.log.apply(console,Q([],0,arguments,0,arguments.length).concat([n,r])),r});return xn(n("get"),n("set"))},n.transform=xr,n.transformAsync=Or,n.seq=Ir,n.assignOp=function(n){return[Rt(n),wr(n)]},n.modifyOp=function(e){return function(n,r,t,u){return t.of(e(n,r))}},n.setOp=wr,n.removeOp=Sr,n.branchOr=Ur,n.branch=kr,n.branches=function(){for(var n=arguments.length,r={},t=0;t<n;++t)r[arguments[t]]=kn;return kr(r)},n.elems=t,n.elemsTotal=function(n,r,t,u){return Zn(n)?t===nr?H(u,n,H):t===tr?e(u,n):o(t,u,n,o):t.of(n)},n.entries=Er,n.keys=Rr,n.matches=function(f){return function(r,n,t,u){if(b.isString(r)){var e=t.map;if(f.global){var i=[""];return i.input=r,i.index=0,tr===t?function(n,r,t){for(;t=Dn(t,r);){var u=n(Pn(t),zn(t));if(void 0!==u)return u}}(u,f,i):e((c=r,function(n){for(var r="",t=0,u=function(n){for(var r=[];Ln!==n;)r.push(n[0],n[1]),n=n[2];return r}(n),e=u.length-2;-2!==e;e+=-2){var i=u[e];r+=c.slice(t,zn(i));var o=u[e+1];void 0!==o&&(r+=o),t=Cn(i)}return r+c.slice(t)}),function(n,r,t,u,e,i){for(var o=t(Ln);i=Dn(i,e);)o=r(r(n(Ln,t(i)),o),u(Pn(i),zn(i)));return o}(e,t.ap,t.of,u,f,i))}var o=r.match(f);if(o)return e(function(n){return r.replace(f,void 0!==n?n:"")},u(o[0],zn(o)))}var c;return t.of(r)}},n.values=qr,n.children=c,n.flatten=f,n.query=function(){for(var n=[],r=0,t=arguments.length;r<t;++r){var u=ur(arguments[r]);n.push(Mr(Jn(u)),u)}return n},n.satisfying=Mr,n.leafs=Nr,n.all=Pr,n.and=zr,n.all1=Cr,n.and1=Dr,n.any=Lr,n.collectAs=Wr,n.collect=Fr,n.concatAs=$r,n.concat=Br,n.countIf=Jr,n.count=Tr,n.countsAs=_r,n.counts=Gr,n.foldl=Hr,n.foldr=Kr,n.forEach=Qr,n.forEachWith=Vr,n.get=v,n.getAs=Xr,n.isDefined=Yr,n.isEmpty=Zr,n.joinAs=nt,n.join=rt,n.maximumBy=tt,n.maximum=ut,n.meanAs=et,n.mean=it,n.minimumBy=ot,n.minimum=ct,n.none=ft,n.or=at,n.productAs=vt,n.product=st,n.select=lt,n.selectAs=dt,n.sumAs=ht,n.sum=yt,n.lens=pt,n.getter=function(e){return function(n,r,t,u){return u(e(n,r),r)}},n.setter=gt,n.foldTraversalLens=mt,n.defaults=function(e){function i(n){return Mn(e,void 0,n)}return function(n,r,t,u){return t.map(i,u(void 0!==n?n:e,r))}},n.define=bt,n.normalize=function(n){return[jt(n),xt(n)]},n.required=At,n.reread=jt,n.rewrite=xt,n.append=s,n.cross=Ot,n.filter=It,n.find=l,n.findWith=function(n){var r=ur(n),t=Jn(r);return[1<arguments.length?l(t,arguments[1]):l(t),r]},n.first=0,n.index=wt,n.last=St,n.prefix=function(n){return Ut(0,n)},n.slice=Ut,n.suffix=function(n){return Ut(0===n?1/0:n?-n:0,void 0)},n.pickIn=kt,n.prop=Et,n.props=d,n.propsOf=Rt,n.removable=function(){function e(n){if(!(n instanceof Object))return n;for(var r=0,t=u.length;r<t;++r)if(b.hasU(u[r],n))return n}for(var n=arguments.length,u=Array(n),r=0;r<n;r++)u[r]=arguments[r];return function(n,r,t,u){return t.map(e,u(n,r))}},n.valueOr=function(e){return function(n,r,t,u){return u(null!=n?n:e,r)}},n.pick=qt,n.replace=Mt,n.getInverse=h,n.iso=Nt,n.array=Pt,n.inverse=zt,n.iterate=function(n){return xn(Vn(v(n)),Vn(h(n)))},n.complement=Ct,n.identity=kn,n.is=function(r){return xn(function(n){return b.acyclicEqualsU(r,n)},function(n){return!0===n?r:void 0})},n.subset=function(n){var r,t=(r=n,function(n){return r(n)?n:void 0});return xn(t,t)},n.indexed=Dt,n.reverse=Lt,n.singleton=Wt,n.disjoint=function(i){return function(n,r,t,u){var e=$n(i);return t.map(e,u(Fn(i,n),r))}},n.keyed=Wn,n.multikeyed=Ft,n.json=$t,n.uri=Bt,n.uriComponent=Jt,n.dropPrefix=function(r){return On(function(n){return n.startsWith(r)?n.slice(r.length):void 0},function(n){return r+n})},n.dropSuffix=function(r){return On(function(n){return n.endsWith(r)?n.slice(0,n.length-r.length):void 0},function(n){return n+r})},n.replaces=Tt,n.split=_t,n.uncouple=Gt,n.querystring=Ht,n.add=function(n){return In(g(n),g(-n))},n.divide=function(n){return In(A(n),m(n))},n.multiply=function(n){return In(m(n),A(n))},n.negate=Kt,n.subtract=function(n){return In(g(-n),g(n))},n.pointer=function(n){"#"===n[0]&&(n=decodeURIComponent(n));for(var r=n.split("/"),t=r.length,u=1;u<t;++u){var e=r[u];r[u-1]=/^(0|[1-9]\d*)$/.test(e)?dr(_,Number(e),e):"-"===e?dr(_,s,e):e.replace("~1","/").replace("~0","~")}return r.length=t-1,r},Object.defineProperty(n,"__esModule",{value:!0})});
{
"name": "partial.lenses",
"version": "14.3.0",
"version": "14.4.0",
"description": "Partial lenses is a comprehensive, high-performance optics library for JavaScript",

@@ -71,3 +71,3 @@ "module": "dist/partial.lenses.es.js",

"codecov": "^3.0.4",
"concurrently": "^3.6.1",
"concurrently": "^4.0.0",
"eslint": "^5.4.0",

@@ -79,3 +79,3 @@ "klipse-github-docs-generator": "^0.3.6",

"ramda": "^0.25.0",
"rollup": "^0.64.1",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^3.0.7",

@@ -82,0 +82,0 @@ "rollup-plugin-node-resolve": "^3.3.0",

@@ -192,4 +192,3 @@ import * as I from './ext/infestines'

let minY = void 0
traverseU(
Select,
getAsU(
(x, i) => {

@@ -912,7 +911,3 @@ const y = xi2y(x, i)

I.curry(function crossOr(or, ls) {
return toFunction([
isoU(I.id, I.freeze),
fn(or, ls),
isoU(I.freeze, I.id)
])
return toFunction([isoU(id, I.freeze), fn(or, ls), isoU(I.freeze, id)])
}))(function crossOr(or, ls) {

@@ -1311,2 +1306,17 @@ return lensU(crossPartial(getU, ls, or), crossPartial(setU, ls, or))

export const all1 = I.curry(function all1(xi2b, t, s) {
let result = false
getAsU(
(x, i) => {
if (xi2b(x, i)) result = true
else return (result = false)
},
t,
s
)
return result
})
export const and1 = all1(id)
export const any = I.curry(function any(xi2b, t, s) {

@@ -1326,4 +1336,3 @@ return !!getAsU(

const results = []
traverseU(
Select,
getAsU(
(x, i) => {

@@ -1353,4 +1362,3 @@ const y = xi2y(x, i)

const counts = new Map()
traverseU(
Select,
getAsU(
(x, i) => {

@@ -1370,4 +1378,3 @@ const k = xi2k(x, i)

export const foldl = I.curry(function foldl(f, r, t, s) {
traverseU(
Select,
getAsU(
(x, i) => {

@@ -1385,4 +1392,3 @@ r = f(r, x, i)

const xs = []
traverseU(
Select,
getAsU(
(x, i) => {

@@ -1400,4 +1406,3 @@ xs.push(x)

export const forEach = I.curry(function forEach(f, t, s) {
return traverseU(
Select,
return getAsU(
(x, i) => {

@@ -1413,4 +1418,3 @@ f(x, i)

const c = newC()
traverseU(
Select,
getAsU(
(x, i) => {

@@ -1462,4 +1466,3 @@ ef(c, x, i)

let num = 0
traverseU(
Select,
getAsU(
(x, i) => {

@@ -1466,0 +1469,0 @@ const y = xi2y(x, i)

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc