Comparing version 0.11.3 to 0.11.4
@@ -1,4 +0,3 @@ | ||
export default function catchNoop(arr) { | ||
arr.forEach(a => a instanceof Promise ? a.catch(function() {}) : a); | ||
return arr; | ||
} | ||
export default arr => ( | ||
arr.forEach(a => a instanceof Promise && a.catch(function() {})), | ||
arr); |
@@ -1,1 +0,1 @@ | ||
!function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=0)}([function(n,t,r){"use strict";r.r(t);var e={};r.r(e),r.d(e,"add",function(){return c}),r.d(e,"append",function(){return y}),r.d(e,"apply",function(){return m}),r.d(e,"baseSel",function(){return q}),r.d(e,"base_sel",function(){return q}),r.d(e,"call",function(){return F}),r.d(e,"calls",function(){return L}),r.d(e,"chunk",function(){return G}),r.d(e,"compact",function(){return K}),r.d(e,"constant",function(){return Q}),r.d(e,"countBy",function(){return X}),r.d(e,"count_by",function(){return X}),r.d(e,"curry",function(){return i}),r.d(e,"curry2",function(){return Y}),r.d(e,"debounce",function(){return nn}),r.d(e,"deepFlat",function(){return un}),r.d(e,"deepFlatten",function(){return un}),r.d(e,"deep_flat",function(){return un}),r.d(e,"deep_flatten",function(){return un}),r.d(e,"defaults",function(){return dn}),r.d(e,"defaultTo",function(){return an}),r.d(e,"default_to",function(){return an}),r.d(e,"delay",function(){return Z}),r.d(e,"difference",function(){return yn}),r.d(e,"differenceBy",function(){return mn}),r.d(e,"difference_by",function(){return mn}),r.d(e,"differenceWith",function(){return bn}),r.d(e,"difference_with",function(){return bn}),r.d(e,"drop",function(){return Pn}),r.d(e,"dropRight",function(){return jn}),r.d(e,"drop_right",function(){return jn}),r.d(e,"dropUntil",function(){return kn}),r.d(e,"drop_until",function(){return kn}),r.d(e,"dropWhile",function(){return Sn}),r.d(e,"drop_while",function(){return Sn}),r.d(e,"each",function(){return Bn}),r.d(e,"forEach",function(){return Bn}),r.d(e,"entries",function(){return On}),r.d(e,"every",function(){return W}),r.d(e,"extend",function(){return Mn}),r.d(e,"filter",function(){return H}),r.d(e,"find",function(){return k}),r.d(e,"findWhere",function(){return A}),r.d(e,"find_where",function(){return A}),r.d(e,"flat",function(){return Wn}),r.d(e,"flatten",function(){return Wn}),r.d(e,"flatMap",function(){return zn}),r.d(e,"flat_map",function(){return zn}),r.d(e,"go",function(){return S}),r.d(e,"go1",function(){return b}),r.d(e,"goS",function(){return Fn}),r.d(e,"groupBy",function(){return Un}),r.d(e,"group_by",function(){return Un}),r.d(e,"has",function(){return cn}),r.d(e,"head",function(){return P}),r.d(e,"hi",function(){return Ln}),r.d(e,"html",function(){return Rn}),r.d(e,"identity",function(){return ln}),r.d(e,"indexBy",function(){return Dn}),r.d(e,"index_by",function(){return Dn}),r.d(e,"initial",function(){return Jn}),r.d(e,"intersection",function(){return Xn}),r.d(e,"intersectionBy",function(){return Yn}),r.d(e,"intersection_by",function(){return Yn}),r.d(e,"intersectionWith",function(){return nt}),r.d(e,"intersection_with",function(){return nt}),r.d(e,"isArray",function(){return _}),r.d(e,"is_array",function(){return _}),r.d(e,"isFunction",function(){return tt}),r.d(e,"is_function",function(){return tt}),r.d(e,"isIterable",function(){return U}),r.d(e,"is_iterable",function(){return U}),r.d(e,"isMatch",function(){return $}),r.d(e,"is_match",function(){return $}),r.d(e,"isStop",function(){return An}),r.d(e,"is_stop",function(){return An}),r.d(e,"isString",function(){return rt}),r.d(e,"is_string",function(){return rt}),r.d(e,"isUndefined",function(){return et}),r.d(e,"is_undefined",function(){return et}),r.d(e,"join",function(){return ut}),r.d(e,"keys",function(){return it}),r.d(e,"last",function(){return tn}),r.d(e,"log",function(){return Nn}),r.d(e,"map",function(){return N}),r.d(e,"mapEntries",function(){return ct}),r.d(e,"map_entries",function(){return ct}),r.d(e,"entriesMap",function(){return ct}),r.d(e,"entries_map",function(){return ct}),r.d(e,"mapObject",function(){return ft}),r.d(e,"map_object",function(){return ft}),r.d(e,"match",function(){return pt}),r.d(e,"max",function(){return yt}),r.d(e,"maxBy",function(){return ht}),r.d(e,"max_by",function(){return ht}),r.d(e,"min",function(){return vt}),r.d(e,"minBy",function(){return mt}),r.d(e,"min_by",function(){return mt}),r.d(e,"negate",function(){return _t}),r.d(e,"noop",function(){return E}),r.d(e,"nop",function(){return l}),r.d(e,"not",function(){return B}),r.d(e,"object",function(){return T}),r.d(e,"fromEntries",function(){return T}),r.d(e,"from_entries",function(){return T}),r.d(e,"omit",function(){return bt}),r.d(e,"partition",function(){return Pt}),r.d(e,"pick",function(){return jt}),r.d(e,"pipe",function(){return Vn}),r.d(e,"pipe1",function(){return gt}),r.d(e,"pipeS",function(){return wt}),r.d(e,"pluck",function(){return kt}),r.d(e,"prepend",function(){return St}),r.d(e,"promiseAllEntries",function(){return Bt}),r.d(e,"promise_all_entries",function(){return Bt}),r.d(e,"promiseAllObject",function(){return Ot}),r.d(e,"promise_all_object",function(){return Ot}),r.d(e,"range",function(){return Et}),r.d(e,"reduce",function(){return j}),r.d(e,"reduceS",function(){return qn}),r.d(e,"reject",function(){return Mt}),r.d(e,"sel",function(){return Wt}),r.d(e,"some",function(){return vn}),r.d(e,"sort",function(){return qt}),r.d(e,"sortBy",function(){return At}),r.d(e,"sort_by",function(){return At}),r.d(e,"sortByDesc",function(){return Ft}),r.d(e,"sort_by_desc",function(){return Ft}),r.d(e,"sortDesc",function(){return Ut}),r.d(e,"sort_desc",function(){return Ut}),r.d(e,"split",function(){return Ct}),r.d(e,"splitEvery",function(){return Nt}),r.d(e,"split_every",function(){return Nt}),r.d(e,"stop",function(){return Lt}),r.d(e,"stopIf",function(){return Rt}),r.d(e,"stop_if",function(){return Rt}),r.d(e,"string",function(){return Dt}),r.d(e,"strMap",function(){return Jt}),r.d(e,"str_map",function(){return Jt}),r.d(e,"scat",function(){return Jt}),r.d(e,"sum",function(){return Vt}),r.d(e,"sumBy",function(){return Gt}),r.d(e,"sum_by",function(){return Gt}),r.d(e,"tail",function(){return Ht}),r.d(e,"rest",function(){return Ht}),r.d(e,"take",function(){return s}),r.d(e,"take1",function(){return Kt}),r.d(e,"takeAll",function(){return p}),r.d(e,"take_all",function(){return p}),r.d(e,"takeUntil",function(){return Qt}),r.d(e,"take_until",function(){return Qt}),r.d(e,"takeWhile",function(){return Xt}),r.d(e,"take_while",function(){return Xt}),r.d(e,"tap",function(){return Cn}),r.d(e,"throttle",function(){return Yt}),r.d(e,"toIter",function(){return a}),r.d(e,"to_iter",function(){return a}),r.d(e,"union",function(){return tr}),r.d(e,"unionBy",function(){return rr}),r.d(e,"union_by",function(){return rr}),r.d(e,"unique",function(){return ur}),r.d(e,"uniq",function(){return ur}),r.d(e,"uniqueBy",function(){return er}),r.d(e,"unique_by",function(){return er}),r.d(e,"unzip",function(){return cr}),r.d(e,"values",function(){return at}),r.d(e,"zip",function(){return ir}),r.d(e,"zipObj",function(){return fr}),r.d(e,"zip_obj",function(){return fr}),r.d(e,"zipWith",function(){return dr}),r.d(e,"zip_with",function(){return dr});var u={};r.r(u),r.d(u,"append",function(){return h}),r.d(u,"chunk",function(){return V}),r.d(u,"compact",function(){return ar}),r.d(u,"concat",function(){return lr}),r.d(u,"constant",function(){return sr}),r.d(u,"deepFlat",function(){return en}),r.d(u,"deep_flat",function(){return en}),r.d(u,"deepFlatten",function(){return en}),r.d(u,"deep_flatten",function(){return en}),r.d(u,"difference",function(){return hn}),r.d(u,"differenceWith",function(){return _n}),r.d(u,"difference_with",function(){return _n}),r.d(u,"differenceBy",function(){return pn}),r.d(u,"difference_by",function(){return pn}),r.d(u,"drop",function(){return gn}),r.d(u,"dropUntil",function(){return wn}),r.d(u,"drop_until",function(){return wn}),r.d(u,"dropWhile",function(){return xn}),r.d(u,"drop_while",function(){return xn}),r.d(u,"empty",function(){return d}),r.d(u,"entries",function(){return z}),r.d(u,"filter",function(){return w}),r.d(u,"flat",function(){return rn}),r.d(u,"flatMap",function(){return pr}),r.d(u,"flat_map",function(){return pr}),r.d(u,"zipIndexs",function(){return hr}),r.d(u,"zip_indexs",function(){return hr}),r.d(u,"indexValues",function(){return hr}),r.d(u,"index_values",function(){return hr}),r.d(u,"ipp",function(){return hr}),r.d(u,"intersection",function(){return Qn}),r.d(u,"intersectionWith",function(){return Zn}),r.d(u,"intersection_with",function(){return Zn}),r.d(u,"intersectionBy",function(){return Kn}),r.d(u,"intersection_by",function(){return Kn}),r.d(u,"interval",function(){return yr}),r.d(u,"keys",function(){return ot}),r.d(u,"mapEntries",function(){return C}),r.d(u,"map_entries",function(){return C}),r.d(u,"map",function(){return O}),r.d(u,"prepend",function(){return xt}),r.d(u,"range",function(){return R}),r.d(u,"reject",function(){return sn}),r.d(u,"reverse",function(){return mr}),r.d(u,"splitEvery",function(){return It}),r.d(u,"split_every",function(){return It}),r.d(u,"takeAllC",function(){return vr}),r.d(u,"take_all_c",function(){return vr}),r.d(u,"take",function(){return _r}),r.d(u,"takeWhile",function(){return J}),r.d(u,"take_while",function(){return J}),r.d(u,"takeUntil",function(){return M}),r.d(u,"take_until",function(){return M}),r.d(u,"unionBy",function(){return Zt}),r.d(u,"union_by",function(){return Zt}),r.d(u,"union",function(){return nr}),r.d(u,"uniqueBy",function(){return Gn}),r.d(u,"unique_by",function(){return Gn}),r.d(u,"unique",function(){return Hn}),r.d(u,"values",function(){return dt}),r.d(u,"zip",function(){return or});var o={};function i(n){return(t,...r)=>r.length<1?(...r)=>n(t,...r):n(t,...r)}r.r(o),r.d(o,"calls",function(){return xr}),r.d(o,"compact",function(){return Br}),r.d(o,"drop",function(){return Or}),r.d(o,"every",function(){return Er}),r.d(o,"filter",function(){return Sr}),r.d(o,"find",function(){return Wr}),r.d(o,"head",function(){return Mr}),r.d(o,"map",function(){return jr}),r.d(o,"mapEntries",function(){return zr}),r.d(o,"object",function(){return kr}),r.d(o,"fromEntries",function(){return kr}),r.d(o,"from_entries",function(){return kr}),r.d(o,"race",function(){return Ar}),r.d(o,"reduce",function(){return wr}),r.d(o,"some",function(){return qr}),r.d(o,"tail",function(){return Fr}),r.d(o,"take1",function(){return Ur}),r.d(o,"takeAll",function(){return Pr}),r.d(o,"take",function(){return gr}),r.d(o,"takeRace",function(){return $r});var c=i(function(n,t){return n+t});const f=function*(){}();function d(){return f}function a(n){return n&&n[Symbol.iterator]?n[Symbol.iterator]():d()}var l=Symbol.for("nop"),s=i(function(n,t){if(n<1)return[];let r=[];return t=a(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value;if(t instanceof Promise)return t.then(t=>(r.push(t),r).length==n?r:e()).catch(n=>n==l?e():Promise.reject(n));if(r.push(t),r.length==n)return r}return r}()});function p(n){return s(1/0,n)}var h=i(function*(n,t){yield*t,yield n}),y=i(function(n,t){return p(h(n,t))}),m=i(function(n,t){return n(...t)});const{isArray:v}=Array;var _=v,b=(n,t)=>n instanceof Promise?n.then(t):t(n);function g(n,t,r){return t instanceof Promise?t.then(t=>r(n,t),t=>t==l?n:Promise.reject(t)):r(n,t)}function P(n){return b(s(1,n),([n])=>n)}function j(n,t,r){return 1==arguments.length?(...t)=>j(n,...t):2==arguments.length?j(n,P(r=a(t)),r):(r=a(r),b(t,function t(e){let u;for(;!(u=r.next()).done;)if((e=g(e,u.value,n))instanceof Promise)return e.then(t);return e}))}var w=i(function*(n,t){for(const r of a(t)){const t=b(r,n);t instanceof Promise?yield t.then(n=>n?r:Promise.reject(l)):t&&(yield r)}}),k=i(function(n,t){return P(w(n,t))}),x=(n,t)=>t(n);function S(...n){return j(x,n)}function B(n){return!n}var O=i(function*(n,t){for(const r of a(t))yield b(r,n)});function E(){}var M=i(function*(n,t){let r=null,e=!1;for(const u of a(t)){const t=e||b(u,n);if(t instanceof Promise?(t.catch(E),yield r=(r||Promise.resolve()).then(n=>t).then(n=>e?Promise.reject(l):(e=n,u)),r=r.catch(E)):(e=t,yield u),e)break}}),W=i(function(n,t){return S(O(n,t),M(B),j((n,t)=>n&&t),(n=!1)=>n,Boolean)});function*z(n){for(const t in n)yield[t,n[t]]}var $=i(function(n,t){return"function"==typeof n?!!n(t):_(n)&&_(t)?W(n=>t.includes(n),n):"object"==typeof t?W(([n,r])=>t[n]==r,z(n)):n instanceof RegExp?t.match(n):n==t}),A=i(function(n,t){return k($(n),t)}),q=n=>i(function t(r,e){return r?_(r)?j((n,r)=>t(r,n),e,r):"object"==typeof r||"function"==typeof r?A(r,e):j((n,t,r=t[0])=>n?"#"==r?A({id:t.substr(1)},n):"["==r||"{"==r?A(JSON.parse(t),n):n[t]:n,e,r.split(n)):e}),F=i(function(n,...t){return n(...t)});function U(n){return null!=n&&!!n[Symbol.iterator]}var C=i(function*(n,t){for(const[r,e]of a(t))yield b(b(e,n),n=>[r,n])});var I=(n,t)=>(function(r,...e){return U(r)?n(n=>n(...e),r):t(C(n=>n(...e),z(r)))}),N=i(function(n,t){return p(O(n,t))});function T(n){return j((n,[t,r])=>(n[t]=r,n),{},n)}var L=I(N,T);function*R(n=0,t=n,r=1){if(1===arguments.length&&(n=0),arguments.length<3&&n>t&&(r*=-1),n<t)for(;n<t;)yield n,n+=r;else for(;n>t;)yield n,n+=r}const D=Promise.resolve();var J=i(function*(n,t){let r=D,e=!0;for(const u of a(t)){const t=e&&b(u,n);if(t instanceof Promise?(t.catch(E),yield r=r.then(n=>t).then(n=>(e=n)?u:Promise.reject(l)),r=r.catch(E)):(e=t)&&(yield u),!e)break}}),V=i(function(n,t){return t=a(t),S(R(1/0),O(r=>s(n,t)),J(n=>n.length))}),G=i(function(n,t){return p(V(n,t))}),H=i(function(n,t){return p(w(n,t))}),K=H(n=>n);function Q(n){return t=>n}var X=i(function(n,t){return j((t,r)=>(function(n,t){return n[t]?n[t]++:n[t]=1,n})(t,n(r)),{},t)});function Y(n){return(t,...r)=>r.length>1?n(t,...r):(r,...e)=>e.length?n(t,r,...e):(...e)=>n(t,r,...e)}var Z=i(async function(n,t){return await new Promise(t=>setTimeout(t,n)),t}),nn=i(function(n,t){let r=0;return function(...e){return Z(t,++r).then(t=>t===r&&n(...e))}});function tn(n){return n[n.length-1]}function rn(n,t=1){let r=null;const e=[a(n)];return{next:function n(){const u=tn(e);if(!u)return{done:!0};const o=u.next();return o.done?(e.pop(),n()):e.length<=t&&U(o.value)&&"string"!=typeof o.value?(e.push(o.value[Symbol.iterator]()),n()):o.value instanceof Promise?r&&!r.done?(e.length=0,{value:Promise.reject(new Error("'L.flat' can not be used with 'C' function.")),done:!1}):(r=r||{},{value:o.value.then(n=>{if(r.hasOwnProperty("done")||(r.done=!0),e.length>t||!U(n)||"string"==typeof n)return n;const u=n[Symbol.iterator](),o=u.next();return o.done?Promise.reject(l):(e.push(u),o.value)}).catch(n=>(r.hasOwnProperty("done")||(r.done=!0),Promise.reject(n))),done:!1}):o},[Symbol.iterator](){return this}}}function en(n){return rn(n,1/0)}function un(n){return p(en(n))}function on(n,t,r){const e=typeof t;return t&&("object"==e||"function"==e)&&j(j(n),t,O(z,r)),t}var cn=i(function(n,t){return!(!t||!t.hasOwnProperty(n))});const fn=(n,[t,r])=>(cn(t,n)||(n[t]=r),n);function dn(n,...t){return on(fn,n,t)}var an=i(function(n,t){return null==t||Number.isNaN(t)?n:t}),ln=n=>n,sn=i(function(n,t){return w(t=>b(n(t),B),t)}),pn=Y(function(n,t,r){let e;return sn(r=>b(e||b(N(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r)}),hn=i(function(n,t){return pn(ln,n,t)}),yn=i(function(n,t){return S(hn(n,t),p)}),mn=Y(function(n,t,r){return S(pn(n,t,r),p)}),vn=i(function(n,t){return S(O(n,t),M(ln),j((n,t)=>n||t),(n=!1)=>n,Boolean)}),_n=Y(function(n,t,r){return sn(t=>vn(r=>n(t,r),r),t)}),bn=Y(function(n,t,r){return p(_n(n,t,r))}),gn=i(function*(n,t){n<1&&(yield*t);let r=null,e=0;t=a(t);for(const u of t)if(u instanceof Promise)u.catch(E),yield r=(r||Promise.resolve()).then(n=>u).then(t=>++e>n?t:Promise.reject(l)),r=r.catch(E);else if(++e==n)return yield*t}),Pn=i(function(n,t){return p(gn(n,t))}),jn=i(function(n,t){return b(p(t),t=>s(t.length-n,t))}),wn=i(function*(n,t){let r=null,e=!1;t=a(t);for(const u of t){const o=e||b(u,n);if(o instanceof Promise?(o.catch(E),yield r=(r||Promise.resolve()).then(n=>o).then(n=>e?u:(e=n,Promise.reject(l))),r=r.catch(E)):e=o,e)return yield*t}}),kn=i(function(n,t){return p(wn(n,t))}),xn=i(function*(n,t){let r=null,e=!1;t=a(t);for(const u of t){const o=e||b(u,n);if(o instanceof Promise)o.catch(E),yield r=(r||Promise.resolve()).then(n=>o).then(n=>(e=!n)?u:Promise.reject(l)),r=r.catch(E);else if(e||(e=!o))return yield*rn([u,t])}}),Sn=i(function(n,t){return b(t,t=>p(xn(n,t)))}),Bn=i(function(n,t){return N(t=>b(n(t),n=>t),t)});function On(n){return p(z(n))}const En=(n,[t,r])=>(n[t]=r,n);function Mn(n,...t){return on(En,n,t)}function Wn(n,t=1){return p(rn(n,t))}var zn=i(function(n,t){return Wn(O(n,t))});const $n=Symbol.for("stop");function An(n){return!(!n||!n[$n])}function qn(n,t,r){return 1==arguments.length?(...t)=>qn(n,...t):2==arguments.length?qn(n,P(r=a(t)),r):(r=a(r),b(t,function t(e){let u;for(;!An(e)&&!(u=r.next()).done;)if((e=g(e,u.value,n))instanceof Promise)return e.then(t);return An(e)?e.value:e}))}function Fn(...n){return qn(x,n)}var Un=i(function(n,t){return j((t,r)=>b(n(r),n=>((t[n]||(t[n]=[])).push(r),t)),{},t)});function Cn(n,...t){return(r,...e)=>b(j(x,n(r,...e),t),n=>r)}const{log:In}=console;var Nn=In;const Tn=Cn(Nn);function Ln(...n){return Tn(...n)}function Rn(n,...t){return t=O(n=>void 0===n?"":n,t),b(j((n,r)=>b(t.next().value,t=>`${n}${t}${r}`),n),n=>n.replace(/\s*(\>|\<)\s*/g,"$1").trim())}var Dn=i(function(n,t){return j((t,r)=>(t[n(r)]=r,t),{},t)});function Jn(n){return jn(1,n)}function Vn(n,...t){return(...r)=>j(x,n(...r),t)}var Gn=i(function(n,t){const r=new Set;return b(t,w(Vn(n,n=>!r.has(n)&&r.add(n))))});function Hn(n){return Gn(ln,n)}var Kn=Y(function(n,t,r){let e=null;return Hn(w(r=>b(e||b(O(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r))}),Qn=i(function(n,t){return Kn(ln,n,t)}),Xn=i(function(n,t){return S(t,Qn(n),p)}),Yn=Y(function(n,t,r){return p(Kn(n,t,r))}),Zn=Y(function(n,t,r){return w(t=>b(s(1,w(r=>n(t,r),r)),n=>n.length),t)}),nt=Y(function(n,t,r){return p(Zn(n,t,r))});function tt(n){return"function"==typeof n}function rt(n){return"string"==typeof n}var et=n=>void 0===n,ut=i(function(n,t){return j((t,r)=>`${t}${n}${r}`,t)});function*ot(n){for(const t in n)yield t}function it(n){return p(ot(n))}var ct=i(function(n,t){return p(C(n,t))}),ft=i(function(n,t){return T(C(n,z(t)))});function*dt(n){for(const t in n)yield n[t]}function at(n){return p(dt(n))}function lt(n){var t=[];function r(){return S(n,at,n=>S(t,k(t=>t._case(...n)),t=>t._body(...n)))}function e(n){return t.push({_case:"function"==typeof n?Vn(...arguments):$(n)}),u}function u(){return t[t.length-1]._body=Vn(...arguments),e}return e.case=e,e.else=function(){return e(n=>!0)(...arguments),n?r():(...t)=>(n=t,r())},e}function st(...n){return lt(n)}st.case=((...n)=>lt(null).case(...n));var pt=st,ht=i(function(n,t){return j((t,r)=>n(t)>=n(r)?t:r,t)});function yt(n){return ht(n=>n,n)}var mt=i(function(n,t){return j((t,r)=>n(t)<=n(r)?t:r,t)});function vt(n){return mt(n=>n,n)}function _t(n){return(...t)=>b(n(...t),B)}var bt=i(function(n,t){return T(sn(([t])=>n.includes(t),z(t)))}),gt=(n,t)=>r=>b(n(r),t),Pt=i(function(n,t){return b(Un(gt(n,Boolean),t),n=>[n.true,n.false])}),jt=i(function(n,t){return T(sn(([n,t])=>void 0===t,O(n=>[n,t[n]],n)))});function wt(n,...t){return(...r)=>qn(x,n(...r),t)}var kt=i(function(n,t){return N(t=>t[n],t)}),xt=i(function*(n,t){yield n,yield*t}),St=i(function(n,t){return p(xt(n,t))});function Bt(n){return ct(ln,n)}function Ot(n){return ft(ln,n)}function Et(...n){return p(R(...n))}var Mt=i(function(n,t){return H(t=>b(n(t),B),t)}),Wt=q(".");const zt=n=>(t,r)=>{let e=-1;for(;++e<n.length;){const u=t[n[e]],o=r[n[e]];if(u!==o)return u<o?-1:1}return 0};function $t(n,t,r,e){return _(r)?$t(n,t,zt(r),e):"string"==typeof r?$t(n,t,n=>n[r],e):2==r.length?[...e].sort(-1==t?Vn(r,n=>-1*n):r):[...e].sort((e,u,o=r(e),i=r(u))=>o==i?0:o<i?n:t)}var At=i(function(n,t){return $t(-1,1,n,t)});function qt(n){return At(n=>n,n)}var Ft=i(function(n,t){return $t(1,-1,n,t)});function Ut(n){return Ft(n=>n,n)}var Ct=i(function(n,t){return(t||"").split(n)}),It=i(function(n,t){return t?O(r=>t.substr(r*n,n),R(Math.ceil(t.length/n))):d()}),Nt=i(function(n,t){return p(It(n,t))});const Tt=Symbol.for("stop");function Lt(n){return{[Tt]:!0,value:n}}function Rt(n,t){return pt.case(n)(2==arguments.length?n=>Lt(t):Lt).else(n=>n)}function Dt(n){return j((n,t)=>`${n}${t}`,n)}var Jt=i(function(n,t){return Dt(O(n,t))});function Vt(n){return j(c,n)}var Gt=i(function(n,t){return j(c,O(n,t))});function Ht(n){return Pn(1,n)}var Kt=s(1),Qt=i(function(n,t){let r=[];return t=a(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value,o=b(t,t=>(r.push(t),n(t,r)));if(o instanceof Promise)return o.then(n=>n?r:e()).catch(n=>n==l?e():Promise.reject(n));if(o)break}return r}()}),Xt=i(function(n,t){let r=[];return t=a(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value,o=b(t,t=>n(t,r));if(!o)return r;if(o instanceof Promise)return o.then(async n=>n?(r.push(await t),e()):r).catch(n=>n==l?e():Promise.reject(n));r.push(t)}return r}()}),Yt=i(function(n,t){let r=!1;return function(...e){if(!r)return r=!0,Z(t,null).then(n=>r=!1),n(...e)}}),Zt=Y(function(n,t,r){return S([t,r],rn,Gn(n))}),nr=i(function(n,t){return Zt(ln,n,t)}),tr=i(function(n,t){return b(nr(n,t),p)}),rr=Y(function(n,t,r){return b(Zt(n,t,r),p)}),er=i(function(n,t){return U(t)?p(Gn(n,t)):T(Gn(t=>n(tn(t)),z(t)))});function ur(n){return er(ln,n)}var or=i(function(...n){const t=N(a,n);return S(R(1/0),O(n=>N(n=>n.next(),t)),J(vn(n=>!n.done)),O(N(n=>n.value)))}),ir=i(function(...n){return S(n,p,m(or),p)});function cr(n){return ir(...n)}var fr=i(function(...n){return T(or(...n))}),dr=i(function(n,...t){return N(t=>n(...t),or(...t))}),ar=w(n=>n),lr=i(function*(n,t){yield*t,yield*n});function*sr(n){yield n}var pr=i(function(n,t){return rn(O(n,t))});function*hr(n){let t=-1;for(const r of a(n))yield[++t,r]}function yr(n){return O(Z(n),R(1/0))}function*mr(n){for(var t=n.length;t--;)yield n[t]}function vr(n,t){return 1==arguments.length?"number"==typeof n?t=>vr(n,t):vr(1/0,n):(t=a(t),S(R(1/0),O(r=>S(R(n),O(n=>t.next()),Mt(n=>n.done))),M(t=>t.length<n),pr(O(n=>n.value))))}var _r=i(function*(n,t){if(n<1)return;let r=null;for(const e of a(t))if(e instanceof Promise?(e.catch(E),yield r=(r||Promise.resolve()).then(n=>e).then(t=>--n>-1?t:Promise.reject(l)),r=r.catch(E)):yield(--n,e),!n)break});function br(n){return n.forEach(n=>n instanceof Promise?n.catch(function(){}):n),n}var gr=i(function(n,t){return s(n,br([...t]))});function Pr(n,t){return arguments.length>1?p(vr(n,t)):"number"==typeof n?t=>Pr(n,t):gr(1/0,n)}var jr=i(function(n,t){return Pr(O(n,t))}),wr=i(function(n,t,r){return 2==arguments.length?j(n,br([...t])):j(n,t,br([...r]))});function kr(n){return wr((n,[t,r])=>(n[t]=r,n),{},n)}var xr=I(jr,kr),Sr=i(function(n,t){return Pr(w(n,t))}),Br=Sr(n=>n),Or=i(function(n,t){return Pn(n,br([...t]))}),Er=i(function(n,t){return S(O(n,t),M(B),wr((n,t)=>n&&t),(n=!1)=>n,Boolean)});function Mr(n){return b(gr(1,n),([n])=>n)}var Wr=i(function(n,t){return Mr(w(n,t))}),zr=i(async function(n,t){return Pr(C(n,t))}),$r=i(function(n,t){return new Promise((r,e)=>{let u=[];Promise.all([...t].map(async t=>{try{const e=await t;return u.push(e),u.length==n&&r(u),e}catch(n){if(n!=l)throw n}})).then(n=>r(u)).catch(e)})});async function Ar(n){return(await $r(1,n))[0]}var qr=i(function(n,t){return S(O(n,t),M(ln),wr((n,t)=>n||t),(n=!1)=>n,Boolean)});function Fr(n){return Or(1,n)}var Ur=gr(1);const Cr={...u},Ir={...o};window.fx=window._={...e,L:Cr,C:Ir},window.C=Ir,window.L=Cr}]); | ||
!function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=0)}([function(n,t,r){"use strict";r.r(t);var e={};r.r(e),r.d(e,"add",function(){return c}),r.d(e,"append",function(){return y}),r.d(e,"apply",function(){return m}),r.d(e,"baseSel",function(){return q}),r.d(e,"base_sel",function(){return q}),r.d(e,"call",function(){return F}),r.d(e,"calls",function(){return L}),r.d(e,"chunk",function(){return G}),r.d(e,"compact",function(){return K}),r.d(e,"constant",function(){return Q}),r.d(e,"countBy",function(){return X}),r.d(e,"count_by",function(){return X}),r.d(e,"curry",function(){return i}),r.d(e,"curry2",function(){return Y}),r.d(e,"debounce",function(){return nn}),r.d(e,"deepFlat",function(){return un}),r.d(e,"deepFlatten",function(){return un}),r.d(e,"deep_flat",function(){return un}),r.d(e,"deep_flatten",function(){return un}),r.d(e,"defaults",function(){return dn}),r.d(e,"defaultTo",function(){return an}),r.d(e,"default_to",function(){return an}),r.d(e,"delay",function(){return Z}),r.d(e,"difference",function(){return yn}),r.d(e,"differenceBy",function(){return mn}),r.d(e,"difference_by",function(){return mn}),r.d(e,"differenceWith",function(){return bn}),r.d(e,"difference_with",function(){return bn}),r.d(e,"drop",function(){return Pn}),r.d(e,"dropRight",function(){return jn}),r.d(e,"drop_right",function(){return jn}),r.d(e,"dropUntil",function(){return kn}),r.d(e,"drop_until",function(){return kn}),r.d(e,"dropWhile",function(){return Sn}),r.d(e,"drop_while",function(){return Sn}),r.d(e,"each",function(){return Bn}),r.d(e,"forEach",function(){return Bn}),r.d(e,"entries",function(){return On}),r.d(e,"every",function(){return W}),r.d(e,"extend",function(){return Mn}),r.d(e,"filter",function(){return H}),r.d(e,"find",function(){return k}),r.d(e,"findWhere",function(){return A}),r.d(e,"find_where",function(){return A}),r.d(e,"flat",function(){return Wn}),r.d(e,"flatten",function(){return Wn}),r.d(e,"flatMap",function(){return zn}),r.d(e,"flat_map",function(){return zn}),r.d(e,"go",function(){return S}),r.d(e,"go1",function(){return b}),r.d(e,"goS",function(){return Fn}),r.d(e,"groupBy",function(){return Tn}),r.d(e,"group_by",function(){return Tn}),r.d(e,"has",function(){return cn}),r.d(e,"head",function(){return P}),r.d(e,"hi",function(){return Ln}),r.d(e,"html",function(){return Rn}),r.d(e,"identity",function(){return ln}),r.d(e,"indexBy",function(){return Dn}),r.d(e,"index_by",function(){return Dn}),r.d(e,"initial",function(){return Jn}),r.d(e,"intersection",function(){return Xn}),r.d(e,"intersectionBy",function(){return Yn}),r.d(e,"intersection_by",function(){return Yn}),r.d(e,"intersectionWith",function(){return nt}),r.d(e,"intersection_with",function(){return nt}),r.d(e,"isArray",function(){return _}),r.d(e,"is_array",function(){return _}),r.d(e,"isFunction",function(){return tt}),r.d(e,"is_function",function(){return tt}),r.d(e,"isIterable",function(){return T}),r.d(e,"is_iterable",function(){return T}),r.d(e,"isMatch",function(){return $}),r.d(e,"is_match",function(){return $}),r.d(e,"isStop",function(){return An}),r.d(e,"is_stop",function(){return An}),r.d(e,"isString",function(){return rt}),r.d(e,"is_string",function(){return rt}),r.d(e,"isUndefined",function(){return et}),r.d(e,"is_undefined",function(){return et}),r.d(e,"join",function(){return ut}),r.d(e,"keys",function(){return it}),r.d(e,"last",function(){return tn}),r.d(e,"log",function(){return In}),r.d(e,"map",function(){return I}),r.d(e,"mapEntries",function(){return ct}),r.d(e,"map_entries",function(){return ct}),r.d(e,"entriesMap",function(){return ct}),r.d(e,"entries_map",function(){return ct}),r.d(e,"mapObject",function(){return ft}),r.d(e,"map_object",function(){return ft}),r.d(e,"match",function(){return pt}),r.d(e,"max",function(){return yt}),r.d(e,"maxBy",function(){return ht}),r.d(e,"max_by",function(){return ht}),r.d(e,"min",function(){return vt}),r.d(e,"minBy",function(){return mt}),r.d(e,"min_by",function(){return mt}),r.d(e,"negate",function(){return _t}),r.d(e,"noop",function(){return E}),r.d(e,"nop",function(){return l}),r.d(e,"not",function(){return B}),r.d(e,"object",function(){return N}),r.d(e,"fromEntries",function(){return N}),r.d(e,"from_entries",function(){return N}),r.d(e,"omit",function(){return bt}),r.d(e,"partition",function(){return Pt}),r.d(e,"pick",function(){return jt}),r.d(e,"pipe",function(){return Vn}),r.d(e,"pipe1",function(){return gt}),r.d(e,"pipeS",function(){return wt}),r.d(e,"pluck",function(){return kt}),r.d(e,"prepend",function(){return St}),r.d(e,"promiseAllEntries",function(){return Bt}),r.d(e,"promise_all_entries",function(){return Bt}),r.d(e,"promiseAllObject",function(){return Ot}),r.d(e,"promise_all_object",function(){return Ot}),r.d(e,"range",function(){return Et}),r.d(e,"reduce",function(){return j}),r.d(e,"reduceS",function(){return qn}),r.d(e,"reject",function(){return Mt}),r.d(e,"sel",function(){return Wt}),r.d(e,"some",function(){return vn}),r.d(e,"sort",function(){return qt}),r.d(e,"sortBy",function(){return At}),r.d(e,"sort_by",function(){return At}),r.d(e,"sortByDesc",function(){return Ft}),r.d(e,"sort_by_desc",function(){return Ft}),r.d(e,"sortDesc",function(){return Tt}),r.d(e,"sort_desc",function(){return Tt}),r.d(e,"split",function(){return Ut}),r.d(e,"splitEvery",function(){return It}),r.d(e,"split_every",function(){return It}),r.d(e,"stop",function(){return Lt}),r.d(e,"stopIf",function(){return Rt}),r.d(e,"stop_if",function(){return Rt}),r.d(e,"string",function(){return Dt}),r.d(e,"strMap",function(){return Jt}),r.d(e,"str_map",function(){return Jt}),r.d(e,"scat",function(){return Jt}),r.d(e,"sum",function(){return Vt}),r.d(e,"sumBy",function(){return Gt}),r.d(e,"sum_by",function(){return Gt}),r.d(e,"tail",function(){return Ht}),r.d(e,"rest",function(){return Ht}),r.d(e,"take",function(){return s}),r.d(e,"take1",function(){return Kt}),r.d(e,"takeAll",function(){return p}),r.d(e,"take_all",function(){return p}),r.d(e,"takeUntil",function(){return Qt}),r.d(e,"take_until",function(){return Qt}),r.d(e,"takeWhile",function(){return Xt}),r.d(e,"take_while",function(){return Xt}),r.d(e,"tap",function(){return Un}),r.d(e,"throttle",function(){return Yt}),r.d(e,"toIter",function(){return a}),r.d(e,"to_iter",function(){return a}),r.d(e,"undefinedTo",function(){return Zt}),r.d(e,"undefined_to",function(){return Zt}),r.d(e,"union",function(){return rr}),r.d(e,"unionBy",function(){return er}),r.d(e,"union_by",function(){return er}),r.d(e,"unique",function(){return or}),r.d(e,"uniq",function(){return or}),r.d(e,"uniqueBy",function(){return ur}),r.d(e,"unique_by",function(){return ur}),r.d(e,"unzip",function(){return fr}),r.d(e,"values",function(){return at}),r.d(e,"zip",function(){return cr}),r.d(e,"zipObj",function(){return dr}),r.d(e,"zip_obj",function(){return dr}),r.d(e,"zipWith",function(){return ar}),r.d(e,"zip_with",function(){return ar});var u={};r.r(u),r.d(u,"append",function(){return h}),r.d(u,"chunk",function(){return V}),r.d(u,"compact",function(){return lr}),r.d(u,"concat",function(){return sr}),r.d(u,"constant",function(){return pr}),r.d(u,"deepFlat",function(){return en}),r.d(u,"deep_flat",function(){return en}),r.d(u,"deepFlatten",function(){return en}),r.d(u,"deep_flatten",function(){return en}),r.d(u,"difference",function(){return hn}),r.d(u,"differenceWith",function(){return _n}),r.d(u,"difference_with",function(){return _n}),r.d(u,"differenceBy",function(){return pn}),r.d(u,"difference_by",function(){return pn}),r.d(u,"drop",function(){return gn}),r.d(u,"dropUntil",function(){return wn}),r.d(u,"drop_until",function(){return wn}),r.d(u,"dropWhile",function(){return xn}),r.d(u,"drop_while",function(){return xn}),r.d(u,"empty",function(){return d}),r.d(u,"entries",function(){return z}),r.d(u,"filter",function(){return w}),r.d(u,"flat",function(){return rn}),r.d(u,"flatMap",function(){return hr}),r.d(u,"flat_map",function(){return hr}),r.d(u,"zipIndexs",function(){return yr}),r.d(u,"zip_indexs",function(){return yr}),r.d(u,"indexValues",function(){return yr}),r.d(u,"index_values",function(){return yr}),r.d(u,"ipp",function(){return yr}),r.d(u,"intersection",function(){return Qn}),r.d(u,"intersectionWith",function(){return Zn}),r.d(u,"intersection_with",function(){return Zn}),r.d(u,"intersectionBy",function(){return Kn}),r.d(u,"intersection_by",function(){return Kn}),r.d(u,"interval",function(){return mr}),r.d(u,"keys",function(){return ot}),r.d(u,"mapEntries",function(){return U}),r.d(u,"map_entries",function(){return U}),r.d(u,"map",function(){return O}),r.d(u,"prepend",function(){return xt}),r.d(u,"range",function(){return R}),r.d(u,"reject",function(){return sn}),r.d(u,"reverse",function(){return vr}),r.d(u,"splitEvery",function(){return Ct}),r.d(u,"split_every",function(){return Ct}),r.d(u,"takeAllC",function(){return br}),r.d(u,"take_all_c",function(){return br}),r.d(u,"take",function(){return gr}),r.d(u,"takeWhile",function(){return J}),r.d(u,"take_while",function(){return J}),r.d(u,"takeUntil",function(){return M}),r.d(u,"take_until",function(){return M}),r.d(u,"unionBy",function(){return nr}),r.d(u,"union_by",function(){return nr}),r.d(u,"union",function(){return tr}),r.d(u,"uniqueBy",function(){return Gn}),r.d(u,"unique_by",function(){return Gn}),r.d(u,"unique",function(){return Hn}),r.d(u,"values",function(){return dt}),r.d(u,"zip",function(){return ir});var o={};function i(n){return(t,...r)=>r.length<1?(...r)=>n(t,...r):n(t,...r)}r.r(o),r.d(o,"calls",function(){return Br}),r.d(o,"compact",function(){return Er}),r.d(o,"drop",function(){return Mr}),r.d(o,"every",function(){return Wr}),r.d(o,"filter",function(){return Or}),r.d(o,"find",function(){return $r}),r.d(o,"head",function(){return zr}),r.d(o,"map",function(){return kr}),r.d(o,"mapEntries",function(){return Ar}),r.d(o,"object",function(){return Sr}),r.d(o,"fromEntries",function(){return Sr}),r.d(o,"from_entries",function(){return Sr}),r.d(o,"race",function(){return Fr}),r.d(o,"reduce",function(){return xr}),r.d(o,"some",function(){return Tr}),r.d(o,"tail",function(){return Ur}),r.d(o,"take1",function(){return Cr}),r.d(o,"takeAll",function(){return wr}),r.d(o,"take",function(){return jr}),r.d(o,"takeRace",function(){return qr});var c=i(function(n,t){return n+t});const f=function*(){}();function d(){return f}function a(n){return n&&n[Symbol.iterator]?n[Symbol.iterator]():d()}var l=Symbol.for("nop"),s=i(function(n,t){if(n<1)return[];let r=[];return t=a(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value;if(t instanceof Promise)return t.then(t=>(r.push(t),r).length==n?r:e()).catch(n=>n==l?e():Promise.reject(n));if(r.push(t),r.length==n)return r}return r}()});function p(n){return s(1/0,n)}var h=i(function*(n,t){yield*t,yield n}),y=i(function(n,t){return p(h(n,t))}),m=i(function(n,t){return n(...t)});const{isArray:v}=Array;var _=v,b=(n,t)=>n instanceof Promise?n.then(t):t(n);function g(n,t,r){return t instanceof Promise?t.then(t=>r(n,t),t=>t==l?n:Promise.reject(t)):r(n,t)}function P(n){return b(s(1,n),([n])=>n)}function j(n,t,r){return 1==arguments.length?(...t)=>j(n,...t):2==arguments.length?j(n,P(r=a(t)),r):(r=a(r),b(t,function t(e){let u;for(;!(u=r.next()).done;)if((e=g(e,u.value,n))instanceof Promise)return e.then(t);return e}))}var w=i(function*(n,t){for(const r of a(t)){const t=b(r,n);t instanceof Promise?yield t.then(n=>n?r:Promise.reject(l)):t&&(yield r)}}),k=i(function(n,t){return P(w(n,t))}),x=(n,t)=>t(n);function S(...n){return j(x,n)}function B(n){return!n}var O=i(function*(n,t){for(const r of a(t))yield b(r,n)});function E(){}var M=i(function*(n,t){let r=null,e=!1;for(const u of a(t)){const t=e||b(u,n);if(t instanceof Promise?(t.catch(E),yield r=(r||Promise.resolve()).then(n=>t).then(n=>e?Promise.reject(l):(e=n,u)),r=r.catch(E)):(e=t,yield u),e)break}}),W=i(function(n,t){return S(O(n,t),M(B),j((n,t)=>n&&t),(n=!1)=>n,Boolean)});function*z(n){for(const t in n)yield[t,n[t]]}var $=i(function(n,t){return"function"==typeof n?!!n(t):_(n)&&_(t)?W(n=>t.includes(n),n):"object"==typeof t?W(([n,r])=>t[n]==r,z(n)):n instanceof RegExp?t.match(n):n==t}),A=i(function(n,t){return k($(n),t)}),q=n=>i(function t(r,e){return r?_(r)?j((n,r)=>t(r,n),e,r):"object"==typeof r||"function"==typeof r?A(r,e):j((n,t,r=t[0])=>n?"#"==r?A({id:t.substr(1)},n):"["==r||"{"==r?A(JSON.parse(t),n):n[t]:n,e,r.split(n)):e}),F=i(function(n,...t){return n(...t)});function T(n){return null!=n&&!!n[Symbol.iterator]}var U=i(function*(n,t){for(const[r,e]of a(t))yield b(b(e,n),n=>[r,n])});var C=(n,t)=>(function(r,...e){return T(r)?n(n=>n(...e),r):t(U(n=>n(...e),z(r)))}),I=i(function(n,t){return p(O(n,t))});function N(n){return j((n,[t,r])=>(n[t]=r,n),{},n)}var L=C(I,N);function*R(n=0,t=n,r=1){if(1===arguments.length&&(n=0),arguments.length<3&&n>t&&(r*=-1),n<t)for(;n<t;)yield n,n+=r;else for(;n>t;)yield n,n+=r}const D=Promise.resolve();var J=i(function*(n,t){let r=D,e=!0;for(const u of a(t)){const t=e&&b(u,n);if(t instanceof Promise?(t.catch(E),yield r=r.then(n=>t).then(n=>(e=n)?u:Promise.reject(l)),r=r.catch(E)):(e=t)&&(yield u),!e)break}}),V=i(function(n,t){return t=a(t),S(R(1/0),O(r=>s(n,t)),J(n=>n.length))}),G=i(function(n,t){return p(V(n,t))}),H=i(function(n,t){return p(w(n,t))}),K=H(n=>n);function Q(n){return t=>n}var X=i(function(n,t){return j((t,r)=>(function(n,t){return n[t]?n[t]++:n[t]=1,n})(t,n(r)),{},t)});function Y(n){return(t,...r)=>r.length>1?n(t,...r):(r,...e)=>e.length?n(t,r,...e):(...e)=>n(t,r,...e)}var Z=i(async function(n,t){return await new Promise(t=>setTimeout(t,n)),t}),nn=i(function(n,t){let r=0;return function(...e){return Z(t,++r).then(t=>t===r&&n(...e))}});function tn(n){return n[n.length-1]}function rn(n,t=1){let r=null;const e=[a(n)];return{next:function n(){const u=tn(e);if(!u)return{done:!0};const o=u.next();return o.done?(e.pop(),n()):e.length<=t&&T(o.value)&&"string"!=typeof o.value?(e.push(o.value[Symbol.iterator]()),n()):o.value instanceof Promise?r&&!r.done?(e.length=0,{value:Promise.reject(new Error("'L.flat' can not be used with 'C' function.")),done:!1}):(r=r||{},{value:o.value.then(n=>{if(r.hasOwnProperty("done")||(r.done=!0),e.length>t||!T(n)||"string"==typeof n)return n;const u=n[Symbol.iterator](),o=u.next();return o.done?Promise.reject(l):(e.push(u),o.value)}).catch(n=>(r.hasOwnProperty("done")||(r.done=!0),Promise.reject(n))),done:!1}):o},[Symbol.iterator](){return this}}}function en(n){return rn(n,1/0)}function un(n){return p(en(n))}function on(n,t,r){const e=typeof t;return t&&("object"==e||"function"==e)&&j(j(n),t,O(z,r)),t}var cn=i(function(n,t){return!(!t||!t.hasOwnProperty(n))});const fn=(n,[t,r])=>(cn(t,n)||(n[t]=r),n);function dn(n,...t){return on(fn,n,t)}var an=i(function(n,t){return null==t||Number.isNaN(t)?n:t}),ln=n=>n,sn=i(function(n,t){return w(t=>b(n(t),B),t)}),pn=Y(function(n,t,r){let e;return sn(r=>b(e||b(I(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r)}),hn=i(function(n,t){return pn(ln,n,t)}),yn=i(function(n,t){return S(hn(n,t),p)}),mn=Y(function(n,t,r){return S(pn(n,t,r),p)}),vn=i(function(n,t){return S(O(n,t),M(ln),j((n,t)=>n||t),(n=!1)=>n,Boolean)}),_n=Y(function(n,t,r){return sn(t=>vn(r=>n(t,r),r),t)}),bn=Y(function(n,t,r){return p(_n(n,t,r))}),gn=i(function*(n,t){n<1&&(yield*t);let r=null,e=0;t=a(t);for(const u of t)if(u instanceof Promise)u.catch(E),yield r=(r||Promise.resolve()).then(n=>u).then(t=>++e>n?t:Promise.reject(l)),r=r.catch(E);else if(++e==n)return yield*t}),Pn=i(function(n,t){return p(gn(n,t))}),jn=i(function(n,t){return b(p(t),t=>s(t.length-n,t))}),wn=i(function*(n,t){let r=null,e=!1;t=a(t);for(const u of t){const o=e||b(u,n);if(o instanceof Promise?(o.catch(E),yield r=(r||Promise.resolve()).then(n=>o).then(n=>e?u:(e=n,Promise.reject(l))),r=r.catch(E)):e=o,e)return yield*t}}),kn=i(function(n,t){return p(wn(n,t))}),xn=i(function*(n,t){let r=null,e=!1;t=a(t);for(const u of t){const o=e||b(u,n);if(o instanceof Promise)o.catch(E),yield r=(r||Promise.resolve()).then(n=>o).then(n=>(e=!n)?u:Promise.reject(l)),r=r.catch(E);else if(e||(e=!o))return yield*rn([u,t])}}),Sn=i(function(n,t){return b(t,t=>p(xn(n,t)))}),Bn=i(function(n,t){return I(t=>b(n(t),n=>t),t)});function On(n){return p(z(n))}const En=(n,[t,r])=>(n[t]=r,n);function Mn(n,...t){return on(En,n,t)}function Wn(n,t=1){return p(rn(n,t))}var zn=i(function(n,t){return Wn(O(n,t))});const $n=Symbol.for("stop");function An(n){return!(!n||!n[$n])}function qn(n,t,r){return 1==arguments.length?(...t)=>qn(n,...t):2==arguments.length?qn(n,P(r=a(t)),r):(r=a(r),b(t,function t(e){let u;for(;!An(e)&&!(u=r.next()).done;)if((e=g(e,u.value,n))instanceof Promise)return e.then(t);return An(e)?e.value:e}))}function Fn(...n){return qn(x,n)}var Tn=i(function(n,t){return j((t,r)=>b(n(r),n=>((t[n]||(t[n]=[])).push(r),t)),{},t)});function Un(n,...t){return(r,...e)=>b(j(x,n(r,...e),t),n=>r)}const{log:Cn}=console;var In=Cn;const Nn=Un(In);function Ln(...n){return Nn(...n)}function Rn(n,...t){return t=O(n=>void 0===n?"":n,t),b(j((n,r)=>b(t.next().value,t=>`${n}${t}${r}`),n),n=>n.replace(/\s*(\>|\<)\s*/g,"$1").trim())}var Dn=i(function(n,t){return j((t,r)=>(t[n(r)]=r,t),{},t)});function Jn(n){return jn(1,n)}function Vn(n,...t){return(...r)=>j(x,n(...r),t)}var Gn=i(function(n,t){const r=new Set;return b(t,w(Vn(n,n=>!r.has(n)&&r.add(n))))});function Hn(n){return Gn(ln,n)}var Kn=Y(function(n,t,r){let e=null;return Hn(w(r=>b(e||b(O(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r))}),Qn=i(function(n,t){return Kn(ln,n,t)}),Xn=i(function(n,t){return S(t,Qn(n),p)}),Yn=Y(function(n,t,r){return p(Kn(n,t,r))}),Zn=Y(function(n,t,r){return w(t=>b(s(1,w(r=>n(t,r),r)),n=>n.length),t)}),nt=Y(function(n,t,r){return p(Zn(n,t,r))});function tt(n){return"function"==typeof n}function rt(n){return"string"==typeof n}var et=n=>void 0===n,ut=i(function(n,t){return j((t,r)=>`${t}${n}${r}`,t)});function*ot(n){for(const t in n)yield t}function it(n){return p(ot(n))}var ct=i(function(n,t){return p(U(n,t))}),ft=i(function(n,t){return N(U(n,z(t)))});function*dt(n){for(const t in n)yield n[t]}function at(n){return p(dt(n))}function lt(n){var t=[];function r(){return S(n,at,n=>S(t,k(t=>t._case(...n)),t=>t._body(...n)))}function e(n){return t.push({_case:"function"==typeof n?Vn(...arguments):$(n)}),u}function u(){return t[t.length-1]._body=Vn(...arguments),e}return e.case=e,e.else=function(){return e(n=>!0)(...arguments),n?r():(...t)=>(n=t,r())},e}function st(...n){return lt(n)}st.case=((...n)=>lt(null).case(...n));var pt=st,ht=i(function(n,t){return j((t,r)=>n(t)>=n(r)?t:r,t)});function yt(n){return ht(n=>n,n)}var mt=i(function(n,t){return j((t,r)=>n(t)<=n(r)?t:r,t)});function vt(n){return mt(n=>n,n)}function _t(n){return(...t)=>b(n(...t),B)}var bt=i(function(n,t){return N(sn(([t])=>n.includes(t),z(t)))}),gt=(n,t)=>r=>b(n(r),t),Pt=i(function(n,t){return b(Tn(gt(n,Boolean),t),n=>[n.true,n.false])}),jt=i(function(n,t){return N(sn(([n,t])=>void 0===t,O(n=>[n,t[n]],n)))});function wt(n,...t){return(...r)=>qn(x,n(...r),t)}var kt=i(function(n,t){return I(t=>t[n],t)}),xt=i(function*(n,t){yield n,yield*t}),St=i(function(n,t){return p(xt(n,t))});function Bt(n){return ct(ln,n)}function Ot(n){return ft(ln,n)}function Et(...n){return p(R(...n))}var Mt=i(function(n,t){return H(t=>b(n(t),B),t)}),Wt=q(".");const zt=n=>(t,r)=>{let e=-1;for(;++e<n.length;){const u=t[n[e]],o=r[n[e]];if(u!==o)return u<o?-1:1}return 0};function $t(n,t,r,e){return _(r)?$t(n,t,zt(r),e):"string"==typeof r?$t(n,t,n=>n[r],e):2==r.length?[...e].sort(-1==t?Vn(r,n=>-1*n):r):[...e].sort((e,u,o=r(e),i=r(u))=>o==i?0:o<i?n:t)}var At=i(function(n,t){return $t(-1,1,n,t)});function qt(n){return At(n=>n,n)}var Ft=i(function(n,t){return $t(1,-1,n,t)});function Tt(n){return Ft(n=>n,n)}var Ut=i(function(n,t){return(t||"").split(n)}),Ct=i(function(n,t){return t?O(r=>t.substr(r*n,n),R(Math.ceil(t.length/n))):d()}),It=i(function(n,t){return p(Ct(n,t))});const Nt=Symbol.for("stop");function Lt(n){return{[Nt]:!0,value:n}}function Rt(n,t){return pt.case(n)(2==arguments.length?n=>Lt(t):Lt).else(n=>n)}function Dt(n){return j((n,t)=>`${n}${t}`,"",n)}var Jt=i(function(n,t){return Dt(O(n,t))});function Vt(n){return j(c,n)}var Gt=i(function(n,t){return j(c,O(n,t))});function Ht(n){return Pn(1,n)}var Kt=s(1),Qt=i(function(n,t){let r=[];return t=a(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value,o=b(t,t=>(r.push(t),n(t,r)));if(o instanceof Promise)return o.then(n=>n?r:e()).catch(n=>n==l?e():Promise.reject(n));if(o)break}return r}()}),Xt=i(function(n,t){let r=[];return t=a(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value,o=b(t,t=>n(t,r));if(!o)return r;if(o instanceof Promise)return o.then(async n=>n?(r.push(await t),e()):r).catch(n=>n==l?e():Promise.reject(n));r.push(t)}return r}()}),Yt=i(function(n,t){let r=!1;return function(...e){if(!r)return r=!0,Z(t,null).then(n=>r=!1),n(...e)}}),Zt=i(function(n,t){return void 0===t?n:t}),nr=Y(function(n,t,r){return S([t,r],rn,Gn(n))}),tr=i(function(n,t){return nr(ln,n,t)}),rr=i(function(n,t){return b(tr(n,t),p)}),er=Y(function(n,t,r){return b(nr(n,t,r),p)}),ur=i(function(n,t){return T(t)?p(Gn(n,t)):N(Gn(t=>n(tn(t)),z(t)))});function or(n){return ur(ln,n)}var ir=i(function(...n){const t=I(a,n);return S(R(1/0),O(n=>I(n=>n.next(),t)),J(vn(n=>!n.done)),O(I(n=>n.value)))}),cr=i(function(...n){return S(n,p,m(ir),p)});function fr(n){return cr(...n)}var dr=i(function(...n){return N(ir(...n))}),ar=i(function(n,...t){return I(t=>n(...t),ir(...t))}),lr=w(n=>n),sr=i(function*(n,t){yield*t,yield*n});function*pr(n){yield n}var hr=i(function(n,t){return rn(O(n,t))});function*yr(n){let t=-1;for(const r of a(n))yield[++t,r]}function mr(n){return O(Z(n),R(1/0))}function*vr(n){for(var t=n.length;t--;)yield n[t]}var _r=n=>(n.forEach(n=>n.value instanceof Promise&&n.value.catch(function(){})),n);function br(n,t){return 1==arguments.length?"number"==typeof n?t=>br(n,t):n:n==1/0?t:(t=a(t),S(R(1/0),O(r=>S(R(n),O(n=>t.next()),Mt(n=>n.done),_r)),M(t=>t.length<n),hr(O(n=>n.value))))}var gr=i(function*(n,t){if(n<1)return;let r=null;for(const e of a(t))if(e instanceof Promise?(e.catch(E),yield r=(r||Promise.resolve()).then(n=>e).then(t=>--n>-1?t:Promise.reject(l)),r=r.catch(E)):yield(--n,e),!n)break}),Pr=n=>(n.forEach(n=>n instanceof Promise&&n.catch(function(){})),n),jr=i(function(n,t){return s(n,Pr([...t]))});function wr(n,t){return arguments.length>1?p(br(n,t)):"number"==typeof n?t=>wr(n,t):jr(1/0,n)}var kr=i(function(n,t){return wr(O(n,t))}),xr=i(function(n,t,r){return 2==arguments.length?j(n,Pr([...t])):j(n,t,Pr([...r]))});function Sr(n){return xr((n,[t,r])=>(n[t]=r,n),{},n)}var Br=C(kr,Sr),Or=i(function(n,t){return wr(w(n,t))}),Er=Or(n=>n),Mr=i(function(n,t){return Pn(n,Pr([...t]))}),Wr=i(function(n,t){return S(O(n,t),M(B),xr((n,t)=>n&&t),(n=!1)=>n,Boolean)});function zr(n){return b(jr(1,n),([n])=>n)}var $r=i(function(n,t){return zr(w(n,t))}),Ar=i(async function(n,t){return wr(U(n,t))}),qr=i(function(n,t){return new Promise((r,e)=>{let u=[];Promise.all([...t].map(async t=>{try{const e=await t;return u.push(e),u.length==n&&r(u),e}catch(n){if(n!=l)throw n}})).then(n=>r(u)).catch(e)})});async function Fr(n){return(await qr(1,n))[0]}var Tr=i(function(n,t){return S(O(n,t),M(ln),xr((n,t)=>n||t),(n=!1)=>n,Boolean)});function Ur(n){return Mr(1,n)}var Cr=jr(1);const Ir={...u},Nr={...o};window.fx=window._={...e,L:Ir,C:Nr},window.C=Nr,window.L=Ir}]); |
@@ -8,7 +8,7 @@ import toIter from "../Strict/toIter.js"; | ||
import flatMapLazy from "../Lazy/flatMapLazy.js"; | ||
import catchNoopIter from "../.internal/catchNoopIter.js"; | ||
export default function takeAllLazyC(n, iter) { | ||
if (arguments.length == 1) return typeof n == 'number' ? | ||
_ => takeAllLazyC(n, _) : | ||
takeAllLazyC(Infinity, n); | ||
if (arguments.length == 1) return typeof n == 'number' ? _ => takeAllLazyC(n, _) : n; | ||
if (n == Infinity) return iter; | ||
@@ -21,3 +21,4 @@ iter = toIter(iter); | ||
mapLazy(_ => iter.next()), | ||
reject(a => a.done) | ||
reject(a => a.done), | ||
catchNoopIter | ||
)), | ||
@@ -24,0 +25,0 @@ takeUntilLazy(a => a.length < n), |
{ | ||
"name": "fxjs2", | ||
"version": "0.11.3", | ||
"version": "0.11.4", | ||
"description": "Functional Extensions for modern Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -109,2 +109,3 @@ export { default as add } from "./add.js"; | ||
export { default as toIter, default as to_iter } from './toIter.js'; | ||
export { default as undefinedTo, default as undefined_to } from './undefinedTo.js'; | ||
export { default as union } from './union.js'; | ||
@@ -111,0 +112,0 @@ export { default as unionBy, default as union_by } from './unionBy.js'; |
import reduce from "./reduce.js"; | ||
export default function string(iter) { | ||
return reduce((a, b) => `${a}${b}`, iter); | ||
return reduce((a, b) => `${a}${b}`, '', iter); | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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 not supported yet
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
999201
201
10139