Comparing version 0.11.2 to 0.11.3
@@ -1,24 +0,10 @@ | ||
import toIter from "../Strict/toIter.js"; | ||
import go from "../Strict/go.js"; | ||
import map from "../Strict/map.js"; | ||
import rangeLazy from "../Lazy/rangeLazy.js"; | ||
import mapLazy from "../Lazy/mapLazy.js"; | ||
import takeUntilLazy from "../Lazy/takeUntilLazy.js"; | ||
import flat from "../Strict/flat.js"; | ||
import takeAll from "../Strict/takeAll.js"; | ||
import takeAllLazyC from "../Lazy/takeAllLazyC.js"; | ||
import takeC from "./takeC.js"; | ||
import takeWhile from "../Strict/takeWhile.js"; | ||
export default function takeAllC(n, iter) { | ||
if (arguments.length == 1) return typeof n == 'number' ? _ => takeAllC(n, _) : takeC(Infinity, n); | ||
iter = toIter(iter); | ||
let closed = false; | ||
return go( | ||
rangeLazy(Infinity), | ||
mapLazy(_ => go( | ||
rangeLazy(n), | ||
mapLazy(_ => iter.next()), | ||
takeWhile(({done}) => !(closed = done)), | ||
map(({value}) => value))), | ||
takeUntilLazy(_ => closed), | ||
flat); | ||
} | ||
return arguments.length > 1 ? | ||
takeAll(takeAllLazyC(n, iter)) : | ||
typeof n == 'number' ? _ => takeAllC(n, _) : takeC(Infinity, n); | ||
} | ||
@@ -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 A}),r.d(e,"base_sel",function(){return A}),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 xn}),r.d(e,"drop_until",function(){return xn}),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 x}),r.d(e,"findWhere",function(){return q}),r.d(e,"find_where",function(){return q}),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 sn}),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 qn}),r.d(e,"is_stop",function(){return qn}),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 Tn}),r.d(e,"map",function(){return T}),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 s}),r.d(e,"not",function(){return B}),r.d(e,"object",function(){return C}),r.d(e,"fromEntries",function(){return C}),r.d(e,"from_entries",function(){return C}),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 xt}),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 An}),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 At}),r.d(e,"sortBy",function(){return qt}),r.d(e,"sort_by",function(){return qt}),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 It}),r.d(e,"splitEvery",function(){return Tt}),r.d(e,"split_every",function(){return Tt}),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 l}),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 In}),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 sr}),r.d(u,"constant",function(){return lr}),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 kn}),r.d(u,"drop_while",function(){return kn}),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 I}),r.d(u,"map_entries",function(){return I}),r.d(u,"map",function(){return O}),r.d(u,"prepend",function(){return kt}),r.d(u,"range",function(){return R}),r.d(u,"reject",function(){return ln}),r.d(u,"reverse",function(){return mr}),r.d(u,"splitEvery",function(){return Nt}),r.d(u,"split_every",function(){return Nt}),r.d(u,"take",function(){return vr}),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 Sr}),r.d(o,"drop",function(){return Br}),r.d(o,"every",function(){return Or}),r.d(o,"filter",function(){return kr}),r.d(o,"find",function(){return Mr}),r.d(o,"head",function(){return Er}),r.d(o,"map",function(){return Pr}),r.d(o,"mapEntries",function(){return Wr}),r.d(o,"object",function(){return wr}),r.d(o,"fromEntries",function(){return wr}),r.d(o,"from_entries",function(){return wr}),r.d(o,"race",function(){return $r}),r.d(o,"reduce",function(){return jr}),r.d(o,"some",function(){return qr}),r.d(o,"tail",function(){return Ar}),r.d(o,"take1",function(){return Fr}),r.d(o,"takeAll",function(){return gr}),r.d(o,"take",function(){return br}),r.d(o,"takeRace",function(){return zr});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 s=Symbol.for("nop"),l=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==s?e():Promise.reject(n));if(r.push(t),r.length==n)return r}return r}()});function p(n){return l(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==s?n:Promise.reject(t)):r(n,t)}function P(n){return b(l(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(s)):t&&(yield r)}}),x=i(function(n,t){return P(w(n,t))}),k=(n,t)=>t(n);function S(...n){return j(k,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(s):(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}),q=i(function(n,t){return x($(n),t)}),A=n=>i(function t(r,e){return r?_(r)?j((n,r)=>t(r,n),e,r):"object"==typeof r||"function"==typeof r?q(r,e):j((n,t,r=t[0])=>n?"#"==r?q({id:t.substr(1)},n):"["==r||"{"==r?q(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 I=i(function*(n,t){for(const[r,e]of a(t))yield b(b(e,n),n=>[r,n])});var N=(n,t)=>(function(r,...e){return U(r)?n(n=>n(...e),r):t(I(n=>n(...e),z(r)))}),T=i(function(n,t){return p(O(n,t))});function C(n){return j((n,[t,r])=>(n[t]=r,n),{},n)}var L=N(T,C);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(s)),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=>l(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(s):(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}),sn=n=>n,ln=i(function(n,t){return w(t=>b(n(t),B),t)}),pn=Y(function(n,t,r){let e;return ln(r=>b(e||b(T(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r)}),hn=i(function(n,t){return pn(sn,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(sn),j((n,t)=>n||t),(n=!1)=>n,Boolean)}),_n=Y(function(n,t,r){return ln(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(s)),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=>l(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(s))),r=r.catch(E)):e=o,e)return yield*t}}),xn=i(function(n,t){return p(wn(n,t))}),kn=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(s)),r=r.catch(E);else if(e||(e=!o))return yield*rn([u,t])}}),Sn=i(function(n,t){return b(t,t=>p(kn(n,t)))}),Bn=i(function(n,t){return T(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 qn(n){return!(!n||!n[$n])}function An(n,t,r){return 1==arguments.length?(...t)=>An(n,...t):2==arguments.length?An(n,P(r=a(t)),r):(r=a(r),b(t,function t(e){let u;for(;!qn(e)&&!(u=r.next()).done;)if((e=g(e,u.value,n))instanceof Promise)return e.then(t);return qn(e)?e.value:e}))}function Fn(...n){return An(k,n)}var Un=i(function(n,t){return j((t,r)=>b(n(r),n=>((t[n]||(t[n]=[])).push(r),t)),{},t)});function In(n,...t){return(r,...e)=>b(j(k,n(r,...e),t),n=>r)}const{log:Nn}=console;var Tn=Nn;const Cn=In(Tn);function Ln(...n){return Cn(...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(k,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(sn,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(sn,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(l(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(I(n,t))}),ft=i(function(n,t){return C(I(n,z(t)))});function*dt(n){for(const t in n)yield n[t]}function at(n){return p(dt(n))}function st(n){var t=[];function r(){return S(n,at,n=>S(t,x(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 lt(...n){return st(n)}lt.case=((...n)=>st(null).case(...n));var pt=lt,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 C(ln(([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 C(ln(([n,t])=>void 0===t,O(n=>[n,t[n]],n)))});function wt(n,...t){return(...r)=>An(k,n(...r),t)}var xt=i(function(n,t){return T(t=>t[n],t)}),kt=i(function*(n,t){yield n,yield*t}),St=i(function(n,t){return p(kt(n,t))});function Bt(n){return ct(sn,n)}function Ot(n){return ft(sn,n)}function Et(...n){return p(R(...n))}var Mt=i(function(n,t){return H(t=>b(n(t),B),t)}),Wt=A(".");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 qt=i(function(n,t){return $t(-1,1,n,t)});function At(n){return qt(n=>n,n)}var Ft=i(function(n,t){return $t(1,-1,n,t)});function Ut(n){return Ft(n=>n,n)}var It=i(function(n,t){return(t||"").split(n)}),Nt=i(function(n,t){return t?O(r=>t.substr(r*n,n),R(Math.ceil(t.length/n))):d()}),Tt=i(function(n,t){return p(Nt(n,t))});const Ct=Symbol.for("stop");function Lt(n){return{[Ct]:!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=l(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==s?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==s?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(sn,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)):C(Gn(t=>n(tn(t)),z(t)))});function ur(n){return er(sn,n)}var or=i(function(...n){const t=T(a,n);return S(R(1/0),O(n=>T(n=>n.next(),t)),J(vn(n=>!n.done)),O(T(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 C(or(...n))}),dr=i(function(n,...t){return T(t=>n(...t),or(...t))}),ar=w(n=>n),sr=i(function*(n,t){yield*t,yield*n});function*lr(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]}var vr=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(s)),r=r.catch(E)):yield(--n,e),!n)break});function _r(n){return n.forEach(n=>n instanceof Promise?n.catch(function(){}):n),n}var br=i(function(n,t){return l(n,_r([...t]))});function gr(n,t){if(1==arguments.length)return"number"==typeof n?t=>gr(n,t):br(1/0,n);t=a(t);let r=!1;return S(R(1/0),O(e=>S(R(n),O(n=>t.next()),Xt(({done:n})=>!(r=n)),T(({value:n})=>n))),M(n=>r),Wn)}var Pr=i(function(n,t){return gr(O(n,t))}),jr=i(function(n,t,r){return 2==arguments.length?j(n,_r([...t])):j(n,t,_r([...r]))});function wr(n){return jr((n,[t,r])=>(n[t]=r,n),{},n)}var xr=N(Pr,wr),kr=i(function(n,t){return gr(w(n,t))}),Sr=kr(n=>n),Br=i(function(n,t){return Pn(n,_r([...t]))}),Or=i(function(n,t){return S(O(n,t),M(B),jr((n,t)=>n&&t),(n=!1)=>n,Boolean)});function Er(n){return b(br(1,n),([n])=>n)}var Mr=i(function(n,t){return Er(w(n,t))}),Wr=i(async function(n,t){return gr(I(n,t))}),zr=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!=s)throw n}})).then(n=>r(u)).catch(e)})});async function $r(n){return(await zr(1,n))[0]}var qr=i(function(n,t){return S(O(n,t),M(sn),jr((n,t)=>n||t),(n=!1)=>n,Boolean)});function Ar(n){return Br(1,n)}var Fr=br(1);const Ur={...u},Ir={...o};window.fx=window._={...e,L:Ur,C:Ir},window.C=Ir,window.L=Ur}]); | ||
!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}]); |
@@ -31,2 +31,3 @@ export { default as append } from "./appendLazy.js"; | ||
export { default as splitEvery, default as split_every } from "./splitEveryLazy.js"; | ||
export { default as takeAllC, default as take_all_c } from './takeAllLazyC.js'; | ||
export { default as take } from './takeLazy.js'; | ||
@@ -33,0 +34,0 @@ export { default as takeWhile, default as take_while } from './takeWhileLazy.js'; |
{ | ||
"name": "fxjs2", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "Functional Extensions for modern Javascript", | ||
"main": "index.js", | ||
"module": "index.js", | ||
"type": "module", | ||
@@ -7,0 +8,0 @@ "sideEffects": false, |
@@ -416,3 +416,3 @@ [EN](https://github.com/marpple/FxJS) | [KR](https://github.com/marpple/FxJS/blob/master/README_kr.md) | ||
- [Predicates](https://github.com/marpple/FxJS/blob/master/API.md#Predicates) | ||
- [equals](https://github.com/marpple/FxJS/blob/master/API.md#equals) | ||
- [equals](https://github.com/marpple/FxJS/blob/master/API.md#equals) | ||
- [equals2](https://github.com/marpple/FxJS/blob/master/API.md#equals2) | ||
@@ -419,0 +419,0 @@ - [equalsBy](https://github.com/marpple/FxJS/blob/master/API.md#equalsBy) |
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
995657
199
10112
41