Comparing version 0.9.5 to 0.10.0
@@ -10,3 +10,3 @@ export { default as calls } from './callsC.js'; | ||
export { default as mapEntries } from './mapEntriesC.js'; | ||
export { default as object } from "./objectC.js"; | ||
export { default as object, default as fromEntries, default as from_entries } from "./objectC.js"; | ||
export { default as race } from "./raceC.js"; | ||
@@ -13,0 +13,0 @@ export { default as reduce } from './reduceC.js'; |
@@ -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,"append",function(){return h}),r.d(e,"apply",function(){return y}),r.d(e,"baseSel",function(){return z}),r.d(e,"base_sel",function(){return z}),r.d(e,"call",function(){return A}),r.d(e,"calls",function(){return I}),r.d(e,"chunk",function(){return D}),r.d(e,"compact",function(){return V}),r.d(e,"constant",function(){return G}),r.d(e,"countBy",function(){return H}),r.d(e,"count_by",function(){return H}),r.d(e,"curry",function(){return i}),r.d(e,"debounce",function(){return Q}),r.d(e,"deepFlat",function(){return nn}),r.d(e,"deepFlatten",function(){return nn}),r.d(e,"deep_flat",function(){return nn}),r.d(e,"deep_flatten",function(){return nn}),r.d(e,"defaults",function(){return un}),r.d(e,"defaultTo",function(){return on}),r.d(e,"default_to",function(){return on}),r.d(e,"delay",function(){return K}),r.d(e,"difference",function(){return ln}),r.d(e,"differenceBy",function(){return sn}),r.d(e,"difference_by",function(){return sn}),r.d(e,"differenceWith",function(){return hn}),r.d(e,"difference_with",function(){return hn}),r.d(e,"drop",function(){return vn}),r.d(e,"dropRight",function(){return mn}),r.d(e,"drop_right",function(){return mn}),r.d(e,"dropUntil",function(){return bn}),r.d(e,"drop_until",function(){return bn}),r.d(e,"dropWhile",function(){return Pn}),r.d(e,"drop_while",function(){return Pn}),r.d(e,"each",function(){return jn}),r.d(e,"forEach",function(){return jn}),r.d(e,"entries",function(){return wn}),r.d(e,"every",function(){return M}),r.d(e,"extend",function(){return xn}),r.d(e,"filter",function(){return J}),r.d(e,"find",function(){return w}),r.d(e,"findWhere",function(){return q}),r.d(e,"find_where",function(){return q}),r.d(e,"flat",function(){return Sn}),r.d(e,"flatten",function(){return Sn}),r.d(e,"flatMap",function(){return Bn}),r.d(e,"flat_map",function(){return Bn}),r.d(e,"go",function(){return x}),r.d(e,"go1",function(){return _}),r.d(e,"goS",function(){return Wn}),r.d(e,"groupBy",function(){return $n}),r.d(e,"group_by",function(){return $n}),r.d(e,"has",function(){return rn}),r.d(e,"head",function(){return g}),r.d(e,"hi",function(){return Un}),r.d(e,"html",function(){return Nn}),r.d(e,"identity",function(){return cn}),r.d(e,"indexBy",function(){return Tn}),r.d(e,"index_by",function(){return Tn}),r.d(e,"initial",function(){return Cn}),r.d(e,"intersection",function(){return Vn}),r.d(e,"intersectionBy",function(){return Gn}),r.d(e,"intersection_by",function(){return Gn}),r.d(e,"intersectionWith",function(){return Kn}),r.d(e,"intersection_with",function(){return Kn}),r.d(e,"isArray",function(){return m}),r.d(e,"is_array",function(){return m}),r.d(e,"isFunction",function(){return Qn}),r.d(e,"is_function",function(){return Qn}),r.d(e,"isIterable",function(){return F}),r.d(e,"is_iterable",function(){return F}),r.d(e,"isMatch",function(){return $}),r.d(e,"is_match",function(){return $}),r.d(e,"isStop",function(){return En}),r.d(e,"is_stop",function(){return En}),r.d(e,"isString",function(){return Xn}),r.d(e,"is_string",function(){return Xn}),r.d(e,"isUndefined",function(){return Yn}),r.d(e,"is_undefined",function(){return Yn}),r.d(e,"join",function(){return Zn}),r.d(e,"keys",function(){return tt}),r.d(e,"last",function(){return X}),r.d(e,"log",function(){return An}),r.d(e,"map",function(){return T}),r.d(e,"mapEntries",function(){return rt}),r.d(e,"map_entries",function(){return rt}),r.d(e,"entriesMap",function(){return rt}),r.d(e,"entries_map",function(){return rt}),r.d(e,"mapObject",function(){return et}),r.d(e,"map_object",function(){return et}),r.d(e,"match",function(){return ft}),r.d(e,"max",function(){return at}),r.d(e,"maxBy",function(){return dt}),r.d(e,"max_by",function(){return dt}),r.d(e,"min",function(){return st}),r.d(e,"minBy",function(){return lt}),r.d(e,"min_by",function(){return lt}),r.d(e,"negate",function(){return pt}),r.d(e,"noop",function(){return B}),r.d(e,"nop",function(){return a}),r.d(e,"not",function(){return E}),r.d(e,"object",function(){return C}),r.d(e,"omit",function(){return ht}),r.d(e,"partition",function(){return vt}),r.d(e,"pick",function(){return mt}),r.d(e,"pipe",function(){return In}),r.d(e,"pipe1",function(){return yt}),r.d(e,"pipeS",function(){return _t}),r.d(e,"pluck",function(){return bt}),r.d(e,"prepend",function(){return Pt}),r.d(e,"promiseAllEntries",function(){return jt}),r.d(e,"promise_all_entries",function(){return jt}),r.d(e,"promiseAllObject",function(){return wt}),r.d(e,"promise_all_object",function(){return wt}),r.d(e,"range",function(){return kt}),r.d(e,"reduce",function(){return P}),r.d(e,"reduceS",function(){return Mn}),r.d(e,"reject",function(){return xt}),r.d(e,"rest",function(){return St}),r.d(e,"sel",function(){return Bt}),r.d(e,"some",function(){return Ot}),r.d(e,"sort",function(){return $t}),r.d(e,"sortBy",function(){return Wt}),r.d(e,"sort_by",function(){return Wt}),r.d(e,"sortByDesc",function(){return qt}),r.d(e,"sort_by_desc",function(){return qt}),r.d(e,"sortDesc",function(){return zt}),r.d(e,"sort_desc",function(){return zt}),r.d(e,"split",function(){return At}),r.d(e,"splitEvery",function(){return Ut}),r.d(e,"split_every",function(){return Ut}),r.d(e,"stop",function(){return Tt}),r.d(e,"stopIf",function(){return Ct}),r.d(e,"stop_if",function(){return Ct}),r.d(e,"string",function(){return It}),r.d(e,"strMap",function(){return Lt}),r.d(e,"str_map",function(){return Lt}),r.d(e,"scat",function(){return Lt}),r.d(e,"tail",function(){return Rt}),r.d(e,"take",function(){return l}),r.d(e,"take1",function(){return Dt}),r.d(e,"takeAll",function(){return s}),r.d(e,"take_all",function(){return s}),r.d(e,"takeUntil",function(){return Jt}),r.d(e,"take_until",function(){return Jt}),r.d(e,"takeWhile",function(){return Vt}),r.d(e,"take_while",function(){return Vt}),r.d(e,"tap",function(){return qn}),r.d(e,"throttle",function(){return Gt}),r.d(e,"toIter",function(){return d}),r.d(e,"to_iter",function(){return d}),r.d(e,"union",function(){return Qt}),r.d(e,"unionBy",function(){return Xt}),r.d(e,"union_by",function(){return Xt}),r.d(e,"unique",function(){return Zt}),r.d(e,"uniq",function(){return Zt}),r.d(e,"uniqueBy",function(){return Yt}),r.d(e,"unique_by",function(){return Yt}),r.d(e,"unzip",function(){return ur}),r.d(e,"values",function(){return ot}),r.d(e,"zip",function(){return er}),r.d(e,"zipObj",function(){return or}),r.d(e,"zip_obj",function(){return or}),r.d(e,"zipWith",function(){return ir}),r.d(e,"zip_with",function(){return ir});var u={};r.r(u),r.d(u,"append",function(){return p}),r.d(u,"chunk",function(){return R}),r.d(u,"compact",function(){return cr}),r.d(u,"concat",function(){return fr}),r.d(u,"constant",function(){return dr}),r.d(u,"deepFlat",function(){return Z}),r.d(u,"deep_flat",function(){return Z}),r.d(u,"deepFlatten",function(){return Z}),r.d(u,"deep_flatten",function(){return Z}),r.d(u,"difference",function(){return an}),r.d(u,"differenceWith",function(){return pn}),r.d(u,"difference_with",function(){return pn}),r.d(u,"differenceBy",function(){return dn}),r.d(u,"difference_by",function(){return dn}),r.d(u,"drop",function(){return yn}),r.d(u,"dropUntil",function(){return _n}),r.d(u,"drop_until",function(){return _n}),r.d(u,"dropWhile",function(){return gn}),r.d(u,"drop_while",function(){return gn}),r.d(u,"empty",function(){return f}),r.d(u,"entries",function(){return W}),r.d(u,"filter",function(){return j}),r.d(u,"flat",function(){return Y}),r.d(u,"flatMap",function(){return ar}),r.d(u,"flat_map",function(){return ar}),r.d(u,"indexValues",function(){return lr}),r.d(u,"index_values",function(){return lr}),r.d(u,"intersection",function(){return Jn}),r.d(u,"intersectionWith",function(){return Hn}),r.d(u,"intersection_with",function(){return Hn}),r.d(u,"intersectionBy",function(){return Dn}),r.d(u,"intersection_by",function(){return Dn}),r.d(u,"interval",function(){return sr}),r.d(u,"keys",function(){return nt}),r.d(u,"mapEntries",function(){return U}),r.d(u,"map_entries",function(){return U}),r.d(u,"map",function(){return S}),r.d(u,"prepend",function(){return gt}),r.d(u,"range",function(){return L}),r.d(u,"reject",function(){return fn}),r.d(u,"reverse",function(){return pr}),r.d(u,"splitEvery",function(){return Ft}),r.d(u,"split_every",function(){return Ft}),r.d(u,"take",function(){return hr}),r.d(u,"takeWhile",function(){return tr}),r.d(u,"take_while",function(){return tr}),r.d(u,"takeUntil",function(){return O}),r.d(u,"take_until",function(){return O}),r.d(u,"unionBy",function(){return Ht}),r.d(u,"union_by",function(){return Ht}),r.d(u,"union",function(){return Kt}),r.d(u,"uniqueBy",function(){return Ln}),r.d(u,"unique_by",function(){return Ln}),r.d(u,"unique",function(){return Rn}),r.d(u,"values",function(){return ut}),r.d(u,"zip",function(){return rr});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 Pr}),r.d(o,"compact",function(){return wr}),r.d(o,"drop",function(){return kr}),r.d(o,"every",function(){return xr}),r.d(o,"filter",function(){return jr}),r.d(o,"find",function(){return Br}),r.d(o,"head",function(){return Sr}),r.d(o,"map",function(){return _r}),r.d(o,"mapEntries",function(){return Or}),r.d(o,"object",function(){return gr}),r.d(o,"race",function(){return Mr}),r.d(o,"reduce",function(){return br}),r.d(o,"some",function(){return Wr}),r.d(o,"tail",function(){return $r}),r.d(o,"take1",function(){return qr}),r.d(o,"takeAll",function(){return mr}),r.d(o,"take",function(){return vr}),r.d(o,"takeRace",function(){return Er});const c=function*(){}();function f(){return c}function d(n){return n&&n[Symbol.iterator]?n[Symbol.iterator]():f()}var a=Symbol.for("nop"),l=i(function(n,t){if(n<1)return[];let r=[];return t=d(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==a?e():Promise.reject(n));if(r.push(t),r.length==n)return r}return r}()});function s(n){return l(1/0,n)}var p=i(function*(n,t){yield*t,yield n}),h=i(function(n,t){return s(p(n,t))}),y=i(function(n,t){return n(...t)});const{isArray:v}=Array;var m=v,_=(n,t)=>n instanceof Promise?n.then(t):t(n);function b(n,t,r){return t instanceof Promise?t.then(t=>r(n,t),t=>t==a?n:Promise.reject(t)):r(n,t)}function g(n){return _(l(1,n),([n])=>n)}function P(n,t,r){return 1==arguments.length?(...t)=>P(n,...t):2==arguments.length?P(n,g(r=d(t)),r):(r=d(r),_(t,function t(e){let u;for(;!(u=r.next()).done;)if((e=b(e,u.value,n))instanceof Promise)return e.then(t);return e}))}var j=i(function*(n,t){for(const r of d(t)){const t=_(r,n);t instanceof Promise?yield t.then(n=>n?r:Promise.reject(a)):t&&(yield r)}}),w=i(function(n,t){return g(j(n,t))}),k=(n,t)=>t(n);function x(...n){return P(k,n)}var S=i(function*(n,t){for(const r of d(t))yield _(r,n)});function B(){}var O=i(function*(n,t){let r=null,e=!1;for(const u of d(t)){const t=e||_(u,n);if(t instanceof Promise?(t.catch(B),yield r=(r||Promise.resolve()).then(n=>t).then(n=>e?Promise.reject(a):(e=n,u)),r=r.catch(B)):(e=t,yield u),e)break}});function E(n){return!n}var M=i(function(n,t){return x(S(n,t),O(E),P((n,t)=>n&&t),(n=!1)=>n,Boolean)});function*W(n){for(const t in n)yield[t,n[t]]}var $=i(function(n,t){return"function"==typeof n?!!n(t):m(n)&&m(t)?M(n=>t.includes(n),n):"object"==typeof t?M(([n,r])=>t[n]==r,W(n)):n instanceof RegExp?t.match(n):n==t}),q=i(function(n,t){return w($(n),t)}),z=n=>i(function t(r,e){return r?m(r)?P((n,r)=>t(r,n),e,r):"object"==typeof r||"function"==typeof r?q(r,e):P((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}),A=i(function(n,...t){return n(...t)});function F(n){return null!=n&&!!n[Symbol.iterator]}var U=i(function*(n,t){for(const[r,e]of d(t))yield _(_(e,n),n=>[r,n])});var N=(n,t)=>(function(r,...e){return F(r)?n(n=>n(...e),r):t(U(n=>n(...e),W(r)))}),T=i(function(n,t){return s(S(n,t))});function C(n){return P((n,[t,r])=>(n[t]=r,n),{},n)}var I=N(T,C);function*L(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}var R=i(function(n,t){return t=d(t),x(L(1/0),S(r=>l(n,t)),O(t=>t.length<n))}),D=i(function(n,t){return s(R(n,t))}),J=i(function(n,t){return s(j(n,t))}),V=J(n=>n);function G(n){return t=>n}var H=i(function(n,t){return P((t,r)=>(function(n,t){return n[t]?n[t]++:n[t]=1,n})(t,n(r)),{},t)}),K=i(async function(n,t){return await new Promise(t=>setTimeout(t,n)),t}),Q=i(function(n,t){let r=0;return function(...e){return K(t,++r).then(t=>t===r&&n(...e))}});function X(n){return n[n.length-1]}function Y(n,t=1){let r=null;const e=[d(n)];return{next:function n(){const u=X(e);if(!u)return{done:!0};const o=u.next();return o.done?(e.pop(),n()):e.length<=t&&F(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||!F(n)||"string"==typeof n)return n;const u=n[Symbol.iterator](),o=u.next();return o.done?Promise.reject(a):(e.push(u),o.value)}).catch(n=>(r.hasOwnProperty("done")||(r.done=!0),Promise.reject(n))),done:!1}):o},[Symbol.iterator](){return this}}}function Z(n){return Y(n,1/0)}function nn(n){return s(Z(n))}function tn(n,t,r){const e=typeof t;return t&&("object"==e||"function"==e)&&P(P(n),t,S(W,r)),t}var rn=i(function(n,t){return!(!t||!t.hasOwnProperty(n))});const en=(n,[t,r])=>(rn(t,n)||(n[t]=r),n);var un=function(n,...t){return tn(en,n,t)},on=i(function(n,t){return null==t||Number.isNaN(t)?n:t}),cn=n=>n,fn=i(function(n,t){return j(t=>_(n(t),E),t)}),dn=i(function(n,t,r){let e;return fn(r=>_(e||_(T(n,t),n=>e=new Set(n)),t=>x(r,n,n=>t.has(n))),r)}),an=i(function(n,t){return dn(cn,n,t)}),ln=i(function(n,t){return x(an(n,t),s)}),sn=i(function(n,t,r){return x(dn(n,t,r),s)}),pn=i(function(n,t,r){return fn(t=>_(l(1,j(r=>n(t,r),r)),n=>n.length),t)}),hn=i(function(n,t,r){return s(pn(n,t,r))}),yn=i(function*(n,t){n<1&&(yield*t);let r=null,e=0;t=d(t);for(const u of t)if(u instanceof Promise)u.catch(B),yield r=(r||Promise.resolve()).then(n=>u).then(t=>++e>n?t:Promise.reject(a)),r=r.catch(B);else if(++e==n)return yield*t}),vn=i(function(n,t){return s(yn(n,t))}),mn=i(function(n,t){return _(s(t),t=>l(t.length-n,t))}),_n=i(function*(n,t){let r=null,e=!1;t=d(t);for(const u of t){const o=e||_(u,n);if(o instanceof Promise?(o.catch(B),yield r=(r||Promise.resolve()).then(n=>o).then(n=>e?u:(e=n,Promise.reject(a))),r=r.catch(B)):e=o,e)return yield*t}}),bn=i(function(n,t){return s(_n(n,t))}),gn=i(function*(n,t){let r=null,e=!1;t=d(t);for(const u of t){const o=e||_(u,n);if(o instanceof Promise)o.catch(B),yield r=(r||Promise.resolve()).then(n=>o).then(n=>(e=!n)?u:Promise.reject(a)),r=r.catch(B);else if(e||(e=!o))return yield*Y([u,t])}}),Pn=i(function(n,t){return _(t,t=>s(gn(n,t)))}),jn=i(function(n,t){return _(P((t,r)=>n(r),null,t),n=>t)});function wn(n){return s(W(n))}const kn=(n,[t,r])=>(n[t]=r,n);function xn(n,...t){return tn(kn,n,t)}function Sn(n){return s(Y(n))}var Bn=i(function(n,t){return Sn(T(n,t))});const On=Symbol.for("stop");function En(n){return!(!n||!n[On])}function Mn(n,t,r){return 1==arguments.length?(...t)=>Mn(n,...t):2==arguments.length?Mn(n,g(r=d(t)),r):(r=d(r),_(t,function t(e){let u;for(;!En(e)&&!(u=r.next()).done;)if((e=b(e,u.value,n))instanceof Promise)return e.then(t);return En(e)?e.value:e}))}function Wn(...n){return Mn(k,n)}var $n=i(function(n,t){return P((t,r)=>_(n(r),n=>((t[n]||(t[n]=[])).push(r),t)),{},t)});function qn(n,...t){return(r,...e)=>_(P(k,n(r,...e),t),n=>r)}const{log:zn}=console;var An=zn;const Fn=qn(An);function Un(...n){return Fn(...n)}function Nn(n,...t){return t=S(n=>void 0===n?"":n,t),P((n,r)=>_(t.next().value,t=>`${n}${t}${r}`),n)}var Tn=i(function(n,t){return P((t,r)=>(t[n(r)]=r,t),{},t)});function Cn(n){return mn(1,n)}function In(n,...t){return(...r)=>P(k,n(...r),t)}var Ln=i(function(n,t){const r=new Set;return _(t,j(In(n,n=>!r.has(n)&&r.add(n))))});function Rn(n){return Ln(cn,n)}var Dn=i(function(n,t,r){let e=null;return Rn(j(r=>_(e||_(S(n,t),n=>e=new Set(n)),t=>x(r,n,n=>t.has(n))),r))}),Jn=i(function(n,t){return Dn(cn,n,t)}),Vn=i(function(n,t){return x(t,Jn(n),s)}),Gn=i(function(n,t,r){return x(Dn(n,t,r),s)}),Hn=i(function(n,t,r){return j(t=>_(l(1,j(r=>n(t,r),r)),n=>n.length),t)}),Kn=i(function(n,t,r){return s(Hn(n,t,r))});function Qn(n){return"function"==typeof n}function Xn(n){return"string"==typeof n}var Yn=n=>void 0===n,Zn=i(function(n,t){return P((t,r)=>`${t}${n}${r}`,t)});function*nt(n){for(const t in n)yield t}function tt(n){return s(nt(n))}var rt=i(function(n,t){return s(U(n,t))}),et=i(function(n,t){return C(U(n,W(t)))});function*ut(n){for(const t in n)yield n[t]}function ot(n){return s(ut(n))}function it(n){var t=[];function r(){return x(n,ot,n=>x(t,w(t=>t._case(...n)),t=>t._body(...n)))}function e(n){return t.push({_case:"function"==typeof n?In(...arguments):$(n)}),u}function u(){return t[t.length-1]._body=In(...arguments),e}return e.case=e,e.else=function(){return e(n=>!0)(...arguments),n?r():(...t)=>(n=t,r())},e}function ct(...n){return it(n)}ct.case=((...n)=>it(null).case(...n));var ft=ct,dt=i(function(n,t){return P((t,r)=>n(t)>=n(r)?t:r,t)});function at(n){return dt(n=>n,n)}var lt=i(function(n,t){return P((t,r)=>n(t)<=n(r)?t:r,t)});function st(n){return lt(n=>n,n)}function pt(n){return(...t)=>_(n(...t),E)}var ht=i(function(n,t){return C(fn(([t])=>n.includes(t),W(t)))}),yt=(n,t)=>r=>_(n(r),t),vt=i(function(n,t){return _($n(yt(n,Boolean),t),n=>[n.true,n.false])}),mt=i(function(n,t){return C(fn(([n,t])=>void 0===t,S(n=>[n,t[n]],n)))});function _t(n,...t){return(...r)=>Mn(k,n(...r),t)}var bt=i(function(n,t){return T(t=>t[n],t)}),gt=i(function*(n,t){yield n,yield*t}),Pt=i(function(n,t){return s(gt(n,t))});function jt(n){return rt(cn,n)}function wt(n){return et(cn,n)}function kt(...n){return s(L(...n))}var xt=i(function(n,t){return J(t=>_(n(t),E),t)});function St(n){return vn(1,n)}var Bt=z("."),Ot=i(function(n,t){return x(S(n,t),O(cn),P((n,t)=>n||t),(n=!1)=>n,Boolean)});const Et=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 Mt(n,t,r,e){return m(r)?Mt(n,t,Et(r),e):"string"==typeof r?Mt(n,t,n=>n[r],e):2==r.length?[...e].sort(-1==t?In(r,n=>-1*n):r):[...e].sort((e,u,o=r(e),i=r(u))=>o==i?0:o<i?n:t)}var Wt=i(function(n,t){return Mt(-1,1,n,t)});function $t(n){return Wt(n=>n,n)}var qt=i(function(n,t){return Mt(1,-1,n,t)});function zt(n){return qt(n=>n,n)}var At=i(function(n,t){return(t||"").split(n)}),Ft=i(function(n,t){return t?S(r=>t.substr(r*n,n),L(Math.ceil(t.length/n))):f()}),Ut=i(function(n,t){return s(Ft(n,t))});const Nt=Symbol.for("stop");function Tt(n){return{[Nt]:!0,value:n}}function Ct(n,t){return ft.case(n)(2==arguments.length?n=>Tt(t):Tt).else(n=>n)}function It(n){return P((n,t)=>`${n}${t}`,n)}var Lt=i(function(n,t){return It(S(n,t))});function Rt(n){return vn(1,n)}var Dt=l(1),Jt=i(function(n,t){let r=[];return t=d(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value,o=_(t,t=>(r.push(t),n(t,r)));if(o instanceof Promise)return o.then(n=>n?r:e()).catch(n=>n==a?e():Promise.reject(n));if(o)break}return r}()}),Vt=i(function(n,t){let r=[];return t=d(t),function e(){let u;for(;!(u=t.next()).done;){const t=u.value,o=_(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==a?e():Promise.reject(n));r.push(t)}return r}()}),Gt=i(function(n,t){let r=!1;return function(...e){if(!r)return r=!0,K(t,null).then(n=>r=!1),n(...e)}}),Ht=i(function(n,t,r){return x([t,r],Y,Ln(n))}),Kt=i(function(n,t){return Ht(cn,n,t)}),Qt=i(function(n,t){return _(Kt(n,t),s)}),Xt=i(function(n,t,r){return _(Ht(n,t,r),s)}),Yt=i(function(n,t){return F(t)?s(Ln(n,t)):C(Ln(t=>n(X(t)),W(t)))});function Zt(n){return Yt(cn,n)}const nr=Promise.resolve();var tr=i(function*(n,t){let r=nr,e=!0;for(const u of d(t)){const t=e&&_(u,n);if(t instanceof Promise?(t.catch(B),yield r=r.then(n=>t).then(n=>(e=n)?u:Promise.reject(a)),r=r.catch(B)):(e=t)&&(yield u),!e)break}}),rr=i(function(...n){const t=T(d,n);return x(L(1/0),S(n=>T(n=>n.next(),t)),tr(Ot(n=>!n.done)),S(T(n=>n.value)))}),er=i(function(...n){return x(n,s,y(rr),s)});function ur(n){return er(...n)}var or=i(function(...n){return C(rr(...n))}),ir=i(function(n,...t){return T(t=>n(...t),rr(...t))}),cr=j(n=>n),fr=i(function*(n,t){yield*t,yield*n});function*dr(n){yield n}var ar=i(function(n,t){return Y(S(n,t))});function*lr(n){let t=-1;for(const r of d(n))yield[++t,r]}function sr(n){return S(K(n),L(1/0))}function*pr(n){for(var t=n.length;t--;)yield n[t]}var hr=i(function*(n,t){if(n<1)return;let r=null;for(const e of d(t))if(e instanceof Promise?(e.catch(B),yield r=(r||Promise.resolve()).then(n=>e).then(t=>--n>-1?t:Promise.reject(a)),r=r.catch(B)):yield(--n,e),!n)break});var yr=function(n){return n.forEach(n=>n instanceof Promise?n.catch(function(){}):n),n},vr=i(function(n,t){return l(n,yr([...t]))});function mr(n,t){if(1==arguments.length)return"number"==typeof n?t=>mr(n,t):vr(1/0,n);t=d(t);let r=!1;return x(L(1/0),S(e=>x(L(n),S(n=>t.next()),Vt(({done:n})=>!(r=n)),T(({value:n})=>n))),O(n=>r),Sn)}var _r=i(function(n,t){return mr(S(n,t))}),br=i(function(n,t,r){return 2==arguments.length?P(n,yr([...t])):P(n,t,yr([...r]))});function gr(n){return br((n,[t,r])=>(n[t]=r,n),{},n)}var Pr=N(_r,gr),jr=i(function(n,t){return mr(j(n,t))}),wr=jr(n=>n),kr=i(function(n,t){return vn(n,yr([...t]))}),xr=i(function(n,t){return x(S(n,t),O(E),br((n,t)=>n&&t),(n=!1)=>n,Boolean)});function Sr(n){return _(vr(1,n),([n])=>n)}var Br=i(function(n,t){return Sr(j(n,t))}),Or=i(async function(n,t){return mr(U(n,t))}),Er=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!=a)throw n}})).then(n=>r(u)).catch(e)})});async function Mr(n){return(await Er(1,n))[0]}var Wr=i(function(n,t){return x(S(n,t),O(cn),br((n,t)=>n||t),(n=!1)=>n,Boolean)});function $r(n){return kr(1,n)}var qr=vr(1);const zr={...u},Ar={...o};window.fx=window._={...e,L:zr,C:Ar},window.C=Ar,window.L=zr}]); | ||
!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 J}),r.d(e,"compact",function(){return G}),r.d(e,"constant",function(){return H}),r.d(e,"countBy",function(){return K}),r.d(e,"count_by",function(){return K}),r.d(e,"curry",function(){return i}),r.d(e,"debounce",function(){return X}),r.d(e,"deepFlat",function(){return tn}),r.d(e,"deepFlatten",function(){return tn}),r.d(e,"deep_flat",function(){return tn}),r.d(e,"deep_flatten",function(){return tn}),r.d(e,"defaults",function(){return on}),r.d(e,"defaultTo",function(){return cn}),r.d(e,"default_to",function(){return cn}),r.d(e,"delay",function(){return Q}),r.d(e,"difference",function(){return ln}),r.d(e,"differenceBy",function(){return pn}),r.d(e,"difference_by",function(){return pn}),r.d(e,"differenceWith",function(){return yn}),r.d(e,"difference_with",function(){return yn}),r.d(e,"drop",function(){return vn}),r.d(e,"dropRight",function(){return _n}),r.d(e,"drop_right",function(){return _n}),r.d(e,"dropUntil",function(){return gn}),r.d(e,"drop_until",function(){return gn}),r.d(e,"dropWhile",function(){return jn}),r.d(e,"drop_while",function(){return jn}),r.d(e,"each",function(){return wn}),r.d(e,"forEach",function(){return wn}),r.d(e,"entries",function(){return xn}),r.d(e,"every",function(){return W}),r.d(e,"extend",function(){return Sn}),r.d(e,"filter",function(){return V}),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 Bn}),r.d(e,"flatten",function(){return Bn}),r.d(e,"flatMap",function(){return On}),r.d(e,"flat_map",function(){return On}),r.d(e,"go",function(){return S}),r.d(e,"go1",function(){return b}),r.d(e,"goS",function(){return zn}),r.d(e,"groupBy",function(){return $n}),r.d(e,"group_by",function(){return $n}),r.d(e,"has",function(){return en}),r.d(e,"head",function(){return P}),r.d(e,"hi",function(){return In}),r.d(e,"html",function(){return Nn}),r.d(e,"identity",function(){return fn}),r.d(e,"indexBy",function(){return Tn}),r.d(e,"index_by",function(){return Tn}),r.d(e,"initial",function(){return Cn}),r.d(e,"intersection",function(){return Gn}),r.d(e,"intersectionBy",function(){return Hn}),r.d(e,"intersection_by",function(){return Hn}),r.d(e,"intersectionWith",function(){return Qn}),r.d(e,"intersection_with",function(){return Qn}),r.d(e,"isArray",function(){return _}),r.d(e,"is_array",function(){return _}),r.d(e,"isFunction",function(){return Xn}),r.d(e,"is_function",function(){return Xn}),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 Mn}),r.d(e,"is_stop",function(){return Mn}),r.d(e,"isString",function(){return Yn}),r.d(e,"is_string",function(){return Yn}),r.d(e,"isUndefined",function(){return Zn}),r.d(e,"is_undefined",function(){return Zn}),r.d(e,"join",function(){return nt}),r.d(e,"keys",function(){return rt}),r.d(e,"last",function(){return Y}),r.d(e,"log",function(){return Fn}),r.d(e,"map",function(){return T}),r.d(e,"mapEntries",function(){return et}),r.d(e,"map_entries",function(){return et}),r.d(e,"entriesMap",function(){return et}),r.d(e,"entries_map",function(){return et}),r.d(e,"mapObject",function(){return ut}),r.d(e,"map_object",function(){return ut}),r.d(e,"match",function(){return dt}),r.d(e,"max",function(){return st}),r.d(e,"maxBy",function(){return at}),r.d(e,"max_by",function(){return at}),r.d(e,"min",function(){return pt}),r.d(e,"minBy",function(){return lt}),r.d(e,"min_by",function(){return lt}),r.d(e,"negate",function(){return ht}),r.d(e,"noop",function(){return O}),r.d(e,"nop",function(){return s}),r.d(e,"not",function(){return M}),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 yt}),r.d(e,"partition",function(){return vt}),r.d(e,"pick",function(){return _t}),r.d(e,"pipe",function(){return Ln}),r.d(e,"pipe1",function(){return mt}),r.d(e,"pipeS",function(){return bt}),r.d(e,"pluck",function(){return gt}),r.d(e,"prepend",function(){return jt}),r.d(e,"promiseAllEntries",function(){return wt}),r.d(e,"promise_all_entries",function(){return wt}),r.d(e,"promiseAllObject",function(){return xt}),r.d(e,"promise_all_object",function(){return xt}),r.d(e,"range",function(){return kt}),r.d(e,"reduce",function(){return j}),r.d(e,"reduceS",function(){return Wn}),r.d(e,"reject",function(){return St}),r.d(e,"rest",function(){return Bt}),r.d(e,"sel",function(){return Ot}),r.d(e,"some",function(){return Et}),r.d(e,"sort",function(){return $t}),r.d(e,"sortBy",function(){return zt}),r.d(e,"sort_by",function(){return zt}),r.d(e,"sortByDesc",function(){return qt}),r.d(e,"sort_by_desc",function(){return qt}),r.d(e,"sortDesc",function(){return At}),r.d(e,"sort_desc",function(){return At}),r.d(e,"split",function(){return Ft}),r.d(e,"splitEvery",function(){return It}),r.d(e,"split_every",function(){return It}),r.d(e,"stop",function(){return Tt}),r.d(e,"stopIf",function(){return Ct}),r.d(e,"stop_if",function(){return Ct}),r.d(e,"string",function(){return Lt}),r.d(e,"strMap",function(){return Rt}),r.d(e,"str_map",function(){return Rt}),r.d(e,"scat",function(){return Rt}),r.d(e,"tail",function(){return Dt}),r.d(e,"take",function(){return l}),r.d(e,"take1",function(){return Jt}),r.d(e,"takeAll",function(){return p}),r.d(e,"take_all",function(){return p}),r.d(e,"takeUntil",function(){return Vt}),r.d(e,"take_until",function(){return Vt}),r.d(e,"takeWhile",function(){return Gt}),r.d(e,"take_while",function(){return Gt}),r.d(e,"tap",function(){return qn}),r.d(e,"throttle",function(){return Ht}),r.d(e,"toIter",function(){return a}),r.d(e,"to_iter",function(){return a}),r.d(e,"union",function(){return Xt}),r.d(e,"unionBy",function(){return Yt}),r.d(e,"union_by",function(){return Yt}),r.d(e,"unique",function(){return nr}),r.d(e,"uniq",function(){return nr}),r.d(e,"uniqueBy",function(){return Zt}),r.d(e,"unique_by",function(){return Zt}),r.d(e,"unzip",function(){return or}),r.d(e,"values",function(){return it}),r.d(e,"zip",function(){return ur}),r.d(e,"zipObj",function(){return ir}),r.d(e,"zip_obj",function(){return ir}),r.d(e,"zipWith",function(){return cr}),r.d(e,"zip_with",function(){return cr});var u={};r.r(u),r.d(u,"append",function(){return h}),r.d(u,"chunk",function(){return D}),r.d(u,"compact",function(){return fr}),r.d(u,"concat",function(){return dr}),r.d(u,"constant",function(){return ar}),r.d(u,"deepFlat",function(){return nn}),r.d(u,"deep_flat",function(){return nn}),r.d(u,"deepFlatten",function(){return nn}),r.d(u,"deep_flatten",function(){return nn}),r.d(u,"difference",function(){return sn}),r.d(u,"differenceWith",function(){return hn}),r.d(u,"difference_with",function(){return hn}),r.d(u,"differenceBy",function(){return an}),r.d(u,"difference_by",function(){return an}),r.d(u,"drop",function(){return mn}),r.d(u,"dropUntil",function(){return bn}),r.d(u,"drop_until",function(){return bn}),r.d(u,"dropWhile",function(){return Pn}),r.d(u,"drop_while",function(){return Pn}),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 Z}),r.d(u,"flatMap",function(){return sr}),r.d(u,"flat_map",function(){return sr}),r.d(u,"zipIndexs",function(){return lr}),r.d(u,"zip_indexs",function(){return lr}),r.d(u,"indexValues",function(){return lr}),r.d(u,"index_values",function(){return lr}),r.d(u,"intersection",function(){return Vn}),r.d(u,"intersectionWith",function(){return Kn}),r.d(u,"intersection_with",function(){return Kn}),r.d(u,"intersectionBy",function(){return Jn}),r.d(u,"intersection_by",function(){return Jn}),r.d(u,"interval",function(){return pr}),r.d(u,"keys",function(){return tt}),r.d(u,"mapEntries",function(){return I}),r.d(u,"map_entries",function(){return I}),r.d(u,"map",function(){return B}),r.d(u,"prepend",function(){return Pt}),r.d(u,"range",function(){return R}),r.d(u,"reject",function(){return dn}),r.d(u,"reverse",function(){return hr}),r.d(u,"splitEvery",function(){return Ut}),r.d(u,"split_every",function(){return Ut}),r.d(u,"take",function(){return yr}),r.d(u,"takeWhile",function(){return rr}),r.d(u,"take_while",function(){return rr}),r.d(u,"takeUntil",function(){return E}),r.d(u,"take_until",function(){return E}),r.d(u,"unionBy",function(){return Kt}),r.d(u,"union_by",function(){return Kt}),r.d(u,"union",function(){return Qt}),r.d(u,"uniqueBy",function(){return Rn}),r.d(u,"unique_by",function(){return Rn}),r.d(u,"unique",function(){return Dn}),r.d(u,"values",function(){return ot}),r.d(u,"zip",function(){return er});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 jr}),r.d(o,"compact",function(){return xr}),r.d(o,"drop",function(){return kr}),r.d(o,"every",function(){return Sr}),r.d(o,"filter",function(){return wr}),r.d(o,"find",function(){return Or}),r.d(o,"head",function(){return Br}),r.d(o,"map",function(){return br}),r.d(o,"mapEntries",function(){return Er}),r.d(o,"object",function(){return Pr}),r.d(o,"fromEntries",function(){return Pr}),r.d(o,"from_entries",function(){return Pr}),r.d(o,"race",function(){return Wr}),r.d(o,"reduce",function(){return gr}),r.d(o,"some",function(){return zr}),r.d(o,"tail",function(){return $r}),r.d(o,"take1",function(){return qr}),r.d(o,"takeAll",function(){return _r}),r.d(o,"take",function(){return vr}),r.d(o,"takeRace",function(){return Mr});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)}var B=i(function*(n,t){for(const r of a(t))yield b(r,n)});function O(){}var E=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(O),yield r=(r||Promise.resolve()).then(n=>t).then(n=>e?Promise.reject(s):(e=n,u)),r=r.catch(O)):(e=t,yield u),e)break}});function M(n){return!n}var W=i(function(n,t){return S(B(n,t),E(M),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(B(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}var D=i(function(n,t){return t=a(t),S(R(1/0),B(r=>l(n,t)),E(t=>t.length<n))}),J=i(function(n,t){return p(D(n,t))}),V=i(function(n,t){return p(w(n,t))}),G=V(n=>n);function H(n){return t=>n}var K=i(function(n,t){return j((t,r)=>(function(n,t){return n[t]?n[t]++:n[t]=1,n})(t,n(r)),{},t)}),Q=i(async function(n,t){return await new Promise(t=>setTimeout(t,n)),t}),X=i(function(n,t){let r=0;return function(...e){return Q(t,++r).then(t=>t===r&&n(...e))}});function Y(n){return n[n.length-1]}function Z(n,t=1){let r=null;const e=[a(n)];return{next:function n(){const u=Y(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 nn(n){return Z(n,1/0)}function tn(n){return p(nn(n))}function rn(n,t,r){const e=typeof t;return t&&("object"==e||"function"==e)&&j(j(n),t,B(z,r)),t}var en=i(function(n,t){return!(!t||!t.hasOwnProperty(n))});const un=(n,[t,r])=>(en(t,n)||(n[t]=r),n);var on=function(n,...t){return rn(un,n,t)},cn=i(function(n,t){return null==t||Number.isNaN(t)?n:t}),fn=n=>n,dn=i(function(n,t){return w(t=>b(n(t),M),t)}),an=i(function(n,t,r){let e;return dn(r=>b(e||b(T(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r)}),sn=i(function(n,t){return an(fn,n,t)}),ln=i(function(n,t){return S(sn(n,t),p)}),pn=i(function(n,t,r){return S(an(n,t,r),p)}),hn=i(function(n,t,r){return dn(t=>b(l(1,w(r=>n(t,r),r)),n=>n.length),t)}),yn=i(function(n,t,r){return p(hn(n,t,r))}),mn=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(O),yield r=(r||Promise.resolve()).then(n=>u).then(t=>++e>n?t:Promise.reject(s)),r=r.catch(O);else if(++e==n)return yield*t}),vn=i(function(n,t){return p(mn(n,t))}),_n=i(function(n,t){return b(p(t),t=>l(t.length-n,t))}),bn=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(O),yield r=(r||Promise.resolve()).then(n=>o).then(n=>e?u:(e=n,Promise.reject(s))),r=r.catch(O)):e=o,e)return yield*t}}),gn=i(function(n,t){return p(bn(n,t))}),Pn=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(O),yield r=(r||Promise.resolve()).then(n=>o).then(n=>(e=!n)?u:Promise.reject(s)),r=r.catch(O);else if(e||(e=!o))return yield*Z([u,t])}}),jn=i(function(n,t){return b(t,t=>p(Pn(n,t)))}),wn=i(function(n,t){return T(t=>b(n(t),n=>t),t)});function xn(n){return p(z(n))}const kn=(n,[t,r])=>(n[t]=r,n);function Sn(n,...t){return rn(kn,n,t)}function Bn(n,t=1){return p(Z(n,t))}var On=i(function(n,t){return Bn(B(n,t))});const En=Symbol.for("stop");function Mn(n){return!(!n||!n[En])}function Wn(n,t,r){return 1==arguments.length?(...t)=>Wn(n,...t):2==arguments.length?Wn(n,P(r=a(t)),r):(r=a(r),b(t,function t(e){let u;for(;!Mn(e)&&!(u=r.next()).done;)if((e=g(e,u.value,n))instanceof Promise)return e.then(t);return Mn(e)?e.value:e}))}function zn(...n){return Wn(k,n)}var $n=i(function(n,t){return j((t,r)=>b(n(r),n=>((t[n]||(t[n]=[])).push(r),t)),{},t)});function qn(n,...t){return(r,...e)=>b(j(k,n(r,...e),t),n=>r)}const{log:An}=console;var Fn=An;const Un=qn(Fn);function In(...n){return Un(...n)}function Nn(n,...t){return t=B(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 Tn=i(function(n,t){return j((t,r)=>(t[n(r)]=r,t),{},t)});function Cn(n){return _n(1,n)}function Ln(n,...t){return(...r)=>j(k,n(...r),t)}var Rn=i(function(n,t){const r=new Set;return b(t,w(Ln(n,n=>!r.has(n)&&r.add(n))))});function Dn(n){return Rn(fn,n)}var Jn=i(function(n,t,r){let e=null;return Dn(w(r=>b(e||b(B(n,t),n=>e=new Set(n)),t=>S(r,n,n=>t.has(n))),r))}),Vn=i(function(n,t){return Jn(fn,n,t)}),Gn=i(function(n,t){return S(t,Vn(n),p)}),Hn=i(function(n,t,r){return S(Jn(n,t,r),p)}),Kn=i(function(n,t,r){return w(t=>b(l(1,w(r=>n(t,r),r)),n=>n.length),t)}),Qn=i(function(n,t,r){return p(Kn(n,t,r))});function Xn(n){return"function"==typeof n}function Yn(n){return"string"==typeof n}var Zn=n=>void 0===n,nt=i(function(n,t){return j((t,r)=>`${t}${n}${r}`,t)});function*tt(n){for(const t in n)yield t}function rt(n){return p(tt(n))}var et=i(function(n,t){return p(I(n,t))}),ut=i(function(n,t){return C(I(n,z(t)))});function*ot(n){for(const t in n)yield n[t]}function it(n){return p(ot(n))}function ct(n){var t=[];function r(){return S(n,it,n=>S(t,x(t=>t._case(...n)),t=>t._body(...n)))}function e(n){return t.push({_case:"function"==typeof n?Ln(...arguments):$(n)}),u}function u(){return t[t.length-1]._body=Ln(...arguments),e}return e.case=e,e.else=function(){return e(n=>!0)(...arguments),n?r():(...t)=>(n=t,r())},e}function ft(...n){return ct(n)}ft.case=((...n)=>ct(null).case(...n));var dt=ft,at=i(function(n,t){return j((t,r)=>n(t)>=n(r)?t:r,t)});function st(n){return at(n=>n,n)}var lt=i(function(n,t){return j((t,r)=>n(t)<=n(r)?t:r,t)});function pt(n){return lt(n=>n,n)}function ht(n){return(...t)=>b(n(...t),M)}var yt=i(function(n,t){return C(dn(([t])=>n.includes(t),z(t)))}),mt=(n,t)=>r=>b(n(r),t),vt=i(function(n,t){return b($n(mt(n,Boolean),t),n=>[n.true,n.false])}),_t=i(function(n,t){return C(dn(([n,t])=>void 0===t,B(n=>[n,t[n]],n)))});function bt(n,...t){return(...r)=>Wn(k,n(...r),t)}var gt=i(function(n,t){return T(t=>t[n],t)}),Pt=i(function*(n,t){yield n,yield*t}),jt=i(function(n,t){return p(Pt(n,t))});function wt(n){return et(fn,n)}function xt(n){return ut(fn,n)}function kt(...n){return p(R(...n))}var St=i(function(n,t){return V(t=>b(n(t),M),t)});function Bt(n){return vn(1,n)}var Ot=A("."),Et=i(function(n,t){return S(B(n,t),E(fn),j((n,t)=>n||t),(n=!1)=>n,Boolean)});const Mt=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 Wt(n,t,r,e){return _(r)?Wt(n,t,Mt(r),e):"string"==typeof r?Wt(n,t,n=>n[r],e):2==r.length?[...e].sort(-1==t?Ln(r,n=>-1*n):r):[...e].sort((e,u,o=r(e),i=r(u))=>o==i?0:o<i?n:t)}var zt=i(function(n,t){return Wt(-1,1,n,t)});function $t(n){return zt(n=>n,n)}var qt=i(function(n,t){return Wt(1,-1,n,t)});function At(n){return qt(n=>n,n)}var Ft=i(function(n,t){return(t||"").split(n)}),Ut=i(function(n,t){return t?B(r=>t.substr(r*n,n),R(Math.ceil(t.length/n))):d()}),It=i(function(n,t){return p(Ut(n,t))});const Nt=Symbol.for("stop");function Tt(n){return{[Nt]:!0,value:n}}function Ct(n,t){return dt.case(n)(2==arguments.length?n=>Tt(t):Tt).else(n=>n)}function Lt(n){return j((n,t)=>`${n}${t}`,n)}var Rt=i(function(n,t){return Lt(B(n,t))});function Dt(n){return vn(1,n)}var Jt=l(1),Vt=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}()}),Gt=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}()}),Ht=i(function(n,t){let r=!1;return function(...e){if(!r)return r=!0,Q(t,null).then(n=>r=!1),n(...e)}}),Kt=i(function(n,t,r){return S([t,r],Z,Rn(n))}),Qt=i(function(n,t){return Kt(fn,n,t)}),Xt=i(function(n,t){return b(Qt(n,t),p)}),Yt=i(function(n,t,r){return b(Kt(n,t,r),p)}),Zt=i(function(n,t){return U(t)?p(Rn(n,t)):C(Rn(t=>n(Y(t)),z(t)))});function nr(n){return Zt(fn,n)}const tr=Promise.resolve();var rr=i(function*(n,t){let r=tr,e=!0;for(const u of a(t)){const t=e&&b(u,n);if(t instanceof Promise?(t.catch(O),yield r=r.then(n=>t).then(n=>(e=n)?u:Promise.reject(s)),r=r.catch(O)):(e=t)&&(yield u),!e)break}}),er=i(function(...n){const t=T(a,n);return S(R(1/0),B(n=>T(n=>n.next(),t)),rr(Et(n=>!n.done)),B(T(n=>n.value)))}),ur=i(function(...n){return S(n,p,m(er),p)});function or(n){return ur(...n)}var ir=i(function(...n){return C(er(...n))}),cr=i(function(n,...t){return T(t=>n(...t),er(...t))}),fr=w(n=>n),dr=i(function*(n,t){yield*t,yield*n});function*ar(n){yield n}var sr=i(function(n,t){return Z(B(n,t))});function*lr(n){let t=-1;for(const r of a(n))yield[++t,r]}function pr(n){return B(Q(n),R(1/0))}function*hr(n){for(var t=n.length;t--;)yield n[t]}var yr=i(function*(n,t){if(n<1)return;let r=null;for(const e of a(t))if(e instanceof Promise?(e.catch(O),yield r=(r||Promise.resolve()).then(n=>e).then(t=>--n>-1?t:Promise.reject(s)),r=r.catch(O)):yield(--n,e),!n)break});var mr=function(n){return n.forEach(n=>n instanceof Promise?n.catch(function(){}):n),n},vr=i(function(n,t){return l(n,mr([...t]))});function _r(n,t){if(1==arguments.length)return"number"==typeof n?t=>_r(n,t):vr(1/0,n);t=a(t);let r=!1;return S(R(1/0),B(e=>S(R(n),B(n=>t.next()),Gt(({done:n})=>!(r=n)),T(({value:n})=>n))),E(n=>r),Bn)}var br=i(function(n,t){return _r(B(n,t))}),gr=i(function(n,t,r){return 2==arguments.length?j(n,mr([...t])):j(n,t,mr([...r]))});function Pr(n){return gr((n,[t,r])=>(n[t]=r,n),{},n)}var jr=N(br,Pr),wr=i(function(n,t){return _r(w(n,t))}),xr=wr(n=>n),kr=i(function(n,t){return vn(n,mr([...t]))}),Sr=i(function(n,t){return S(B(n,t),E(M),gr((n,t)=>n&&t),(n=!1)=>n,Boolean)});function Br(n){return b(vr(1,n),([n])=>n)}var Or=i(function(n,t){return Br(w(n,t))}),Er=i(async function(n,t){return _r(I(n,t))}),Mr=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 Wr(n){return(await Mr(1,n))[0]}var zr=i(function(n,t){return S(B(n,t),E(fn),gr((n,t)=>n||t),(n=!1)=>n,Boolean)});function $r(n){return kr(1,n)}var qr=vr(1);const Ar={...u},Fr={...o};window.fx=window._={...e,L:Ar,C:Fr},window.C=Fr,window.L=Ar}]); |
@@ -1,1 +0,5 @@ | ||
module.exports = require('esm')(module, { cache: false })('./fx.js'); | ||
import * as L from "./Lazy/index.js"; | ||
import * as C from "./Concurrency/index.js"; | ||
export * from "./Strict/index.js"; | ||
export { L, C }; |
@@ -18,3 +18,3 @@ export { default as append } from "./appendLazy.js"; | ||
export { default as flatMap, default as flat_map } from './flatMapLazy.js'; | ||
export { default as indexValues, default as index_values } from './indexValuesLazy.js'; | ||
export { default as zipIndexs, default as zip_indexs, default as indexValues, default as index_values } from './zipIndexs.js'; | ||
export { default as intersection } from './intersectionLazy.js'; | ||
@@ -21,0 +21,0 @@ export { default as intersectionWith, default as intersection_with } from './intersectionWithLazy.js'; |
import filterLazy from './filterLazy.js'; | ||
import mapLazy from './mapLazy.js'; | ||
import uniqueLazy from './uniqueLazy'; | ||
import uniqueLazy from './uniqueLazy.js'; | ||
import curry from "../Strict/curry.js"; | ||
@@ -5,0 +5,0 @@ import go1 from '../Strict/go1.js'; |
{ | ||
"name": "fxjs2", | ||
"version": "0.9.5", | ||
"version": "0.10.0", | ||
"description": "Functional Extensions for modern Javascript", | ||
"main": "index.js", | ||
"module": "fx.js", | ||
"type": "module", | ||
"sideEffects": false, | ||
@@ -12,3 +12,3 @@ "scripts": { | ||
"build-legacy": "webpack --config webpack.config.legacy.js --env.NODE_ENV=production", | ||
"test": "mocha -R spec test/**/*.js" | ||
"test": "mocha 'test/spec.js' --require esm" | ||
}, | ||
@@ -21,4 +21,3 @@ "files": [ | ||
"dist", | ||
"index.js", | ||
"fx.js" | ||
"index.js" | ||
], | ||
@@ -51,7 +50,5 @@ "repository": { | ||
"core-js": "^3.0.1", | ||
"esm": "^3.0.80", | ||
"regenerator-runtime": "^0.13.2" | ||
}, | ||
"devDependencies": { | ||
"lodash": ">=4.17.13", | ||
"@babel/cli": "^7.4.4", | ||
@@ -62,2 +59,4 @@ "@babel/core": "^7.4.4", | ||
"chai": "^4.1.2", | ||
"esm": "^3.2.25", | ||
"lodash": ">=4.17.13", | ||
"mocha": "^5.2.0", | ||
@@ -64,0 +63,0 @@ "terser-webpack-plugin": "^1.2.3", |
@@ -293,3 +293,6 @@ [EN](https://github.com/marpple/FxJS) | [KR](https://github.com/marpple/FxJS/blob/master/README_kr.md) | ||
- [Strict](https://github.com/marpple/FxJS/blob/master/API.md#strict) | ||
- [add](https://github.com/marpple/FxJS/blob/master/API.md#add) | ||
- [append](https://github.com/marpple/FxJS/blob/master/API.md#append) | ||
- [baseSel](https://github.com/marpple/FxJS/blob/master/API.md#baseSel) | ||
- [chunk](https://github.com/marpple/FxJS/blob/master/API.md#chunk) | ||
- [compact](https://github.com/marpple/FxJS/blob/master/API.md#compact) | ||
@@ -299,5 +302,7 @@ - [countBy](https://github.com/marpple/FxJS/blob/master/API.md#countBy) | ||
- [defaults](https://github.com/marpple/FxJS/blob/master/API.md#defaults) | ||
- [defaultTo](https://github.com/marpple/FxJS/blob/master/API.md#defaultTo) | ||
- [delay](https://github.com/marpple/FxJS/blob/master/API.md#delay) | ||
- [difference](https://github.com/marpple/FxJS/blob/master/API.md#difference) | ||
- [differenceBy](https://github.com/marpple/FxJS/blob/master/API.md#differenceBy) | ||
- [differenceWith](https://github.com/marpple/FxJS/blob/master/API.md#differenceWith) | ||
- [drop](https://github.com/marpple/FxJS/blob/master/API.md#drop) | ||
@@ -322,2 +327,4 @@ - [dropRight](https://github.com/marpple/FxJS/blob/master/API.md#dropRight) | ||
- [intersectionBy](https://github.com/marpple/FxJS/blob/master/API.md#intersectionBy) | ||
- [intersectionWith](https://github.com/marpple/FxJS/blob/master/API.md#intersectionWith) | ||
- [join](https://github.com/marpple/FxJS/blob/master/API.md#join) | ||
- [keys](https://github.com/marpple/FxJS/blob/master/API.md#keys) | ||
@@ -338,2 +345,3 @@ - [last](https://github.com/marpple/FxJS/blob/master/API.md#last) | ||
- [pluck](https://github.com/marpple/FxJS/blob/master/API.md#pluck) | ||
- [prepend](https://github.com/marpple/FxJS/blob/master/API.md#prepend) | ||
- [promiseAllEntries](https://github.com/marpple/FxJS/blob/master/API.md#promiseAllEntries) | ||
@@ -344,2 +352,3 @@ - [promiseAllObject](https://github.com/marpple/FxJS/blob/master/API.md#promiseAllObject) | ||
- [reject](https://github.com/marpple/FxJS/blob/master/API.md#reject) | ||
- [rest](https://github.com/marpple/FxJS/blob/master/API.md#rest) | ||
- [sel](https://github.com/marpple/FxJS/blob/master/API.md#sel) | ||
@@ -350,10 +359,15 @@ - [sort](https://github.com/marpple/FxJS/blob/master/API.md#sort) | ||
- [sortDesc](https://github.com/marpple/FxJS/blob/master/API.md#sortDesc) | ||
- [split](https://github.com/marpple/FxJS/blob/master/API.md#split) | ||
- [splitEvery](https://github.com/marpple/FxJS/blob/master/API.md#splitEvery) | ||
- [tail](https://github.com/marpple/FxJS/blob/master/API.md#tail) | ||
- [take](https://github.com/marpple/FxJS/blob/master/API.md#take) | ||
- [take1](https://github.com/marpple/FxJS/blob/master/API.md#take1) | ||
- [takeAll](https://github.com/marpple/FxJS/blob/master/API.md#takeAll) | ||
- [takeUntil](https://github.com/marpple/FxJS/blob/master/API.md#takeUntil) | ||
- [takeWhile](https://github.com/marpple/FxJS/blob/master/API.md#takeWhile) | ||
- [toIter](https://github.com/marpple/FxJS/blob/master/API.md#toIter) | ||
- [union](https://github.com/marpple/FxJS/blob/master/API.md#union) | ||
- [unionBy](https://github.com/marpple/FxJS/blob/master/API.md#unionBy) | ||
- [unique](https://github.com/marpple/FxJS/blob/master/API.md#unique) | ||
- [uniqueBy](https://github.com/marpple/FxJS/blob/master/API.md#uniqueBy) | ||
- [unzip](https://github.com/marpple/FxJS/blob/master/API.md#unzip) | ||
@@ -366,2 +380,3 @@ - [values](https://github.com/marpple/FxJS/blob/master/API.md#values) | ||
- [every](https://github.com/marpple/FxJS/blob/master/API.md#every) | ||
- [has](https://github.com/marpple/FxJS/blob/master/API.md#has) | ||
- [isArray](https://github.com/marpple/FxJS/blob/master/API.md#isArray) | ||
@@ -376,9 +391,15 @@ - [isFunction](https://github.com/marpple/FxJS/blob/master/API.md#isFunction) | ||
- [Lazy](https://github.com/marpple/FxJS/blob/master/API.md#lazy) | ||
- [L.append](https://github.com/marpple/FxJS/blob/master/API.md#L.append) | ||
- [L.chunk](https://github.com/marpple/FxJS/blob/master/API.md#L.chunk) | ||
- [L.compact](https://github.com/marpple/FxJS/blob/master/API.md#L.compact) | ||
- [L.concat](https://github.com/marpple/FxJS/blob/master/API.md#L.concat) | ||
- [L.constant](https://github.com/marpple/FxJS/blob/master/API.md#L.constant) | ||
- [L.deepFlat](https://github.com/marpple/FxJS/blob/master/API.md#L.deepFlat) | ||
- [L.difference](https://github.com/marpple/FxJS/blob/master/API.md#L.difference) | ||
- [L.differenceBy](https://github.com/marpple/FxJS/blob/master/API.md#L.differenceBy) | ||
- [L.differenceWith](https://github.com/marpple/FxJS/blob/master/API.md#L.differenceWith) | ||
- [L.drop](https://github.com/marpple/FxJS/blob/master/API.md#L.drop) | ||
- [L.dropUntil](https://github.com/marpple/FxJS/blob/master/API.md#L.dropUntil) | ||
- [L.dropWhile](https://github.com/marpple/FxJS/blob/master/API.md#L.dropWhile) | ||
- [L.empty](https://github.com/marpple/FxJS/blob/master/API.md#L.empty) | ||
- [L.entries](https://github.com/marpple/FxJS/blob/master/API.md#L.entries) | ||
@@ -388,5 +409,6 @@ - [L.filter](https://github.com/marpple/FxJS/blob/master/API.md#L.filter) | ||
- [L.flatMap](https://github.com/marpple/FxJS/blob/master/API.md#L.flatMap) | ||
- [L.indexValues](https://github.com/marpple/FxJS/blob/master/API.md#L.indexValues) | ||
- [L.zipIndexs](https://github.com/marpple/FxJS/blob/master/API.md#L.zipIndexs) | ||
- [L.intersection](https://github.com/marpple/FxJS/blob/master/API.md#L.intersection) | ||
- [L.intersectionBy](https://github.com/marpple/FxJS/blob/master/API.md#L.intersectionBy) | ||
- [L.intersectionWith](https://github.com/marpple/FxJS/blob/master/API.md#L.intersectionWith) | ||
- [L.interval](https://github.com/marpple/FxJS/blob/master/API.md#L.interval) | ||
@@ -399,2 +421,3 @@ - [L.keys](https://github.com/marpple/FxJS/blob/master/API.md#L.keys) | ||
- [L.reverse](https://github.com/marpple/FxJS/blob/master/API.md#L.reverse) | ||
- [L.splitEvery](https://github.com/marpple/FxJS/blob/master/API.md#L.splitEvery) | ||
- [L.take](https://github.com/marpple/FxJS/blob/master/API.md#L.take) | ||
@@ -405,3 +428,6 @@ - [L.takeUntil](https://github.com/marpple/FxJS/blob/master/API.md#L.takeUntil) | ||
- [L.unionBy](https://github.com/marpple/FxJS/blob/master/API.md#L.unionBy) | ||
- [L.unique](https://github.com/marpple/FxJS/blob/master/API.md#L.unique) | ||
- [L.uniqueBy](https://github.com/marpple/FxJS/blob/master/API.md#L.uniqueBy) | ||
- [L.values](https://github.com/marpple/FxJS/blob/master/API.md#L.values) | ||
- [L.zip](https://github.com/marpple/FxJS/blob/master/API.md#L.zip) | ||
- [Concurrency](https://github.com/marpple/FxJS/blob/master/API.md#concurrency) | ||
@@ -417,2 +443,3 @@ - [C.calls](https://github.com/marpple/FxJS/blob/master/API.md#C.calls) | ||
- [C.mapEntries](https://github.com/marpple/FxJS/blob/master/API.md#C.mapEntries) | ||
- [C.object](https://github.com/marpple/FxJS/blob/master/API.md#C.object) | ||
- [C.race](https://github.com/marpple/FxJS/blob/master/API.md#C.race) | ||
@@ -419,0 +446,0 @@ - [C.reduce](https://github.com/marpple/FxJS/blob/master/API.md#C.reduce) |
import curry from "./curry.js"; | ||
import delay from "./delay"; | ||
import delay from "./delay.js"; | ||
@@ -4,0 +4,0 @@ export default curry(function debounce(f, time) { |
import go1 from "./go1.js"; | ||
import reduce from "./reduce.js"; | ||
import map from "./map.js"; | ||
import curry from "./curry.js"; | ||
export default curry(function each(f, iter) { | ||
return go1(reduce((_, a) => f(a), null, iter), _ => iter); | ||
return map(a => go1(f(a), _ => a), iter); | ||
}); |
import curry from "./curry.js"; | ||
import go from "./go.js"; | ||
import { map as mapLazy, takeUntil as takeUntilLazy } from "../Lazy"; | ||
import { map as mapLazy, takeUntil as takeUntilLazy } from "../Lazy/index.js"; | ||
import reduce from "./reduce.js"; | ||
@@ -5,0 +5,0 @@ import not from "./not.js"; |
import takeAll from "./takeAll.js"; | ||
import flatLazy from "../Lazy/flatLazy.js"; | ||
export default function flat(iter) { | ||
return takeAll(flatLazy(iter)); | ||
export default function flat(iter, depth = 1) { | ||
return takeAll(flatLazy(iter, depth)); | ||
} |
import curry from "./curry.js"; | ||
import flat from "./flat.js"; | ||
import map from "./map.js"; | ||
import mapLazy from "../Lazy/mapLazy.js"; | ||
export default curry(function flatMap(f, iter) { | ||
return flat(map(f, iter)); | ||
return flat(mapLazy(f, iter)); | ||
}); |
@@ -0,1 +1,2 @@ | ||
export { default as add } from "./add"; | ||
export { default as append } from './append.js'; | ||
@@ -69,3 +70,3 @@ export { default as apply } from './apply.js'; | ||
export { default as not } from './not.js'; | ||
export { default as object } from './object.js'; | ||
export { default as object, default as fromEntries, default as from_entries } from './object.js'; | ||
export { default as omit } from './omit.js'; | ||
@@ -72,0 +73,0 @@ export { default as partition } from './partition.js'; |
import curry from "./curry.js"; | ||
import go from "./go.js"; | ||
import { map as mapLazy, takeUntil as takeUntilLazy } from "../Lazy"; | ||
import { map as mapLazy, takeUntil as takeUntilLazy } from "../Lazy/index.js"; | ||
import identity from "./identity.js"; | ||
@@ -5,0 +5,0 @@ import reduce from "./reduce.js"; |
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
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
986149
2
10034
457
Yes
12
- Removedesm@^3.0.80
- Removedesm@3.2.25(transitive)