extra-abort
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).ExtraAbort={})}(this,(function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={exports:{}};const{AbortController:r,AbortSignal:o}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=r;var i=e.exports.AbortSignal=o;e.exports.default=r;var a,s=e.exports;const c=null!==(a=globalThis.AbortController)&&void 0!==a?a:s;var u={},f={},l={},y={},d={},v={},p={};p.go=void 0,p.go=function(t){return t()},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)})(p,t)}(v);var b={},m={CustomError:void 0};class h extends Error{get name(){return this.constructor.name}}m.CustomError=h;var g={ExpectedError:void 0};const A=m;class w extends A.CustomError{}g.ExpectedError=w;var S={AssertionError:void 0};const E=m;class I extends E.CustomError{}S.AssertionError=I;var O={};O.normalize=void 0,O.normalize=function(t){var n;return{name:t.name,message:t.message,stack:null!==(n=t.stack)&&void 0!==n?n:null}};var j={refute:void 0};const x=g;j.refute=function(t,n){if(t)throw new x.ExpectedError(n)};var N={assert:void 0};const T=S;N.assert=function(t,n){if(!t)throw new T.AssertionError(n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(m,t),r(g,t),r(S,t),r(O,t),r(j,t),r(N,t)}(b),d.chunkAsync=void 0;const k=v,_=b;d.chunkAsync=function(t,n){return(0,_.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,_.assert)(n>0,"The parameter size must be greater than 0"),(0,k.go)((async function*(){let e=[];for await(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var R={},B={},P={};function q(t){return Array.isArray(t)}P.isntEmptyArray=P.isEmptyArray=P.isntArray=P.isArray=void 0,P.isArray=q,P.isntArray=function(t){return!q(t)},P.isEmptyArray=function(t){return 0===t.length},P.isntEmptyArray=function(t){return 0!==t.length};var C={},J={};function U(t){return null===t}J.isntNull=J.isNull=void 0,J.isNull=U,J.isntNull=function(t){return!U(t)};var z={};function D(t){return void 0===t}z.isntUndefined=z.isUndefined=void 0,z.isUndefined=D,z.isntUndefined=function(t){return!D(t)},C.isntAsyncIterable=C.isAsyncIterable=void 0;const F=J,L=z;function M(t){return(0,F.isntNull)(t)&&(0,L.isntUndefined)(t)&&"function"==typeof t[Symbol.asyncIterator]}C.isAsyncIterable=M,C.isntAsyncIterable=function(t){return!M(t)};var V={};function W(t){return"bigint"==typeof t}V.isntBigInt=V.isBigInt=void 0,V.isBigInt=W,V.isntBigInt=function(t){return!W(t)};var G={};function H(t){return"boolean"==typeof t}G.isntBoolean=G.isBoolean=void 0,G.isBoolean=H,G.isntBoolean=function(t){return!H(t)};var K={},Q={};function X(t){return"string"==typeof t}Q.isntString=Q.isString=void 0,Q.isString=X,Q.isntString=function(t){return!X(t)},K.isntChar=K.isChar=void 0;const Y=Q;function Z(t){return(0,Y.isString)(t)&&1===t.length}K.isChar=Z,K.isntChar=function(t){return!Z(t)};var $={};function tt(t){return t instanceof Date}$.isntDate=$.isDate=void 0,$.isDate=tt,$.isntDate=function(t){return!tt(t)};var nt={};nt.inEnum=void 0,nt.inEnum=function(t,n){return Object.values(n).includes(t)};var et={};function rt(t){return t instanceof Error}et.isntError=et.isError=void 0,et.isError=rt,et.isntError=function(t){return!rt(t)};var ot={};function it(t){return!t}ot.isntFalsy=ot.isFalsy=void 0,ot.isFalsy=it,ot.isntFalsy=function(t){return!it(t)};var at={};function st(t){return"function"==typeof t}at.isntFunction=at.isFunction=void 0,at.isFunction=st,at.isntFunction=function(t){return!st(t)};var ct={};ct.isntIterable=ct.isIterable=void 0;const ut=J,ft=z;function lt(t){return(0,ut.isntNull)(t)&&(0,ft.isntUndefined)(t)&&"function"==typeof t[Symbol.iterator]}ct.isIterable=lt,ct.isntIterable=function(t){return!lt(t)};var yt={},dt={};var vt=Function.prototype,pt=Object.prototype,bt=vt.toString,mt=pt.hasOwnProperty,ht=bt.call(Object),gt=pt.toString,At=function(t,n){return function(e){return t(n(e))}}(Object.getPrototypeOf,Object);var wt=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=gt.call(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t))return!1;var n=At(t);if(null===n)return!0;var e=mt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&bt.call(e)==ht},St=n&&n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};dt.isntEmptyObject=dt.isEmptyObject=dt.isntPlainObject=dt.isPlainObject=dt.isntObject=dt.isObject=void 0;const Et=St(wt);function It(t){return null!==t&&"object"==typeof t}function Ot(t){return(0,Et.default)(t)}dt.isObject=It,dt.isntObject=function(t){return!It(t)},dt.isPlainObject=Ot,dt.isntPlainObject=function(t){return!Ot(t)},dt.isEmptyObject=function(t){return 0===Object.keys(t).length},dt.isntEmptyObject=function(t){return 0!==Object.keys(t).length};var jt={};function xt(t){return"number"==typeof t}jt.isntNumber=jt.isNumber=void 0,jt.isNumber=xt,jt.isntNumber=function(t){return!xt(t)},yt.isntJsonRpcError=yt.isJsonRpcError=yt.isntJsonRpcSuccess=yt.isJsonRpcSuccess=yt.isntJsonRpcRequest=yt.isJsonRpcRequest=yt.isntJsonRpcNotification=yt.isJsonRpcNotification=void 0;const Nt=P,Tt=dt,kt=Q,_t=jt,Rt=z;function Bt(t){return(0,kt.isString)(t)||(0,_t.isNumber)(t)}function Pt(t){return(0,Nt.isArray)(t)||(0,Tt.isObject)(t)}function qt(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&(0,kt.isString)(t.method)&&(0,Rt.isUndefined)(t.id)&&Pt(t.params)}function Ct(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&(0,kt.isString)(t.method)&&Bt(t.id)&&Pt(t.params)}function Jt(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&(0,kt.isString)(t.id)&&"result"in t}function Ut(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&Bt(t.id)&&function(t){return(0,Tt.isPlainObject)(t)&&(0,_t.isNumber)(t.code)&&(0,kt.isString)(t.message)&&((0,Rt.isUndefined)(t.data)||(0,Tt.isObject)(t.data))}(t.error)}yt.isJsonRpcNotification=qt,yt.isntJsonRpcNotification=function(t){return!qt(t)},yt.isJsonRpcRequest=Ct,yt.isntJsonRpcRequest=function(t){return!Ct(t)},yt.isJsonRpcSuccess=Jt,yt.isntJsonRpcSuccess=function(t){return!Jt(t)},yt.isJsonRpcError=Ut,yt.isntJsonRpcError=function(t){return!Ut(t)};var zt={};zt.isntJson=zt.isJson=void 0,zt.isJson=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},zt.isntJson=function t(n){return!t()};var Dt={};Dt.isAbsoluteURL=void 0,Dt.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(P,t),r(C,t),r(V,t),r(G,t),r(K,t),r($,t),r(nt,t),r(et,t),r(ot,t),r(at,t),r(ct,t),r(yt,t),r(zt,t),r(J,t),r(jt,t),r(dt,t),r(Q,t),r(z,t),r(Dt,t)}(B),R.chunkByAsync=void 0;const Ft=B;R.chunkByAsync=function(t,n){return(0,Ft.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t):async function*(t){let e=[],r=0;for(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t)};var Lt={};Lt.chunkBy=void 0,Lt.chunkBy=function*(t,n){let e=[],r=0;for(const o of t)e.push(o),n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)};var Mt={chunk:void 0};const Vt=v,Wt=b;Mt.chunk=function(t,n){return(0,Wt.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,Wt.assert)(n>0,"The parameter size must be greater than 0"),(0,Vt.go)((function*(){let e=[];for(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var Gt={concatAsync:void 0};const Ht=B,Kt=v;Gt.concatAsync=function(t,...n){return(0,Kt.go)((async function*(){for(const e of[t,...n])if((0,Ht.isAsyncIterable)(e))for await(const t of e)yield t;else for(const t of e)yield t}))};var Qt={concat:void 0};const Xt=v;Qt.concat=function(t,...n){return(0,Xt.go)((function*(){for(const e of[t,...n])yield*e}))};var Yt={},Zt={};Zt.copyIterable=Zt.copyAsyncIterable=void 0,Zt.copyAsyncIterable=async function*(t){for await(const n of t)yield n},Zt.copyIterable=function*(t){for(const n of t)yield n},Yt.dropAsync=void 0;const $t=v,tn=Zt,nn=b;Yt.dropAsync=function(t,n){return(0,nn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,nn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,tn.copyAsyncIterable)(t):(0,$t.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{let t;for(;!(({value:t,done:o}=await r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var en={dropRightAsync:void 0};const rn=v,on=Zt,an=b;en.dropRightAsync=function(t,n){return(0,an.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,an.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,on.copyAsyncIterable)(t):(0,rn.go)((async function*(){const e=(await async function(t){const n=[];for await(const e of t)n.push(e);return n}(t)).slice(0,-n);for(const t of e)yield t}))};var sn={dropRight:void 0};const cn=v,un=Zt,fn=b;sn.dropRight=function(t,n){return(0,fn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,fn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,un.copyIterable)(t):(0,cn.go)((function*(){const e=Array.from(t);yield*e.slice(0,-n)}))};var ln={dropUntilAsync:void 0};const yn=B;ln.dropUntilAsync=function(t,n){return(0,yn.isAsyncIterable)(t)?async function*(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=await r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}(t):async function*(t){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}(t)};var dn={};dn.dropUntil=void 0,dn.dropUntil=function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}};var vn={drop:void 0};const pn=v,bn=Zt,mn=b;vn.drop=function(t,n){return(0,mn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,mn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,bn.copyIterable)(t):(0,pn.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{let t;for(;!(({value:t,done:o}=r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var hn={filterAsync:void 0};const gn=B;hn.filterAsync=function(t,n){return(0,gn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e)&&(yield r),e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e)&&(yield r),e++}(t)};var An={};An.filter=void 0,An.filter=function*(t,n){let e=0;for(const r of t)n(r,e)&&(yield r),e++};var wn={},Sn={},En={flattenByAsync:void 0};const In=B;function On(t){return(0,In.isIterable)(t)&&(0,In.isntChar)(t)}En.flattenByAsync=function(t,n){return(0,In.isAsyncIterable)(t)?async function*(t){const r=1;for await(const o of t)On(o)&&await n(o,r)?yield*e(o,r+1):yield o}(t):function(t){return e(t,1)}(t);async function*e(t,r){for(const o of t)On(o)&&await n(o,r)?yield*e(o,r+1):yield o}},Sn.flattenDeepAsync=void 0;const jn=En,xn=b;Sn.flattenDeepAsync=function(t,n=1/0){return(0,xn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,xn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,jn.flattenByAsync)(t,((t,e)=>e<=n))},wn.flattenAsync=void 0;const Nn=Sn;wn.flattenAsync=function(t){return(0,Nn.flattenDeepAsync)(t,1)};var Tn={flattenBy:void 0};const kn=B;Tn.flattenBy=function(t,n){return function*t(e,r){for(const i of e)o=i,(0,kn.isIterable)(o)&&(0,kn.isntChar)(o)&&n(i,r)?yield*t(i,r+1):yield i;var o}(t,1)};var _n={flattenDeep:void 0};const Rn=Tn,Bn=b;_n.flattenDeep=function(t,n=1/0){return(0,Bn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,Bn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,Rn.flattenBy)(t,((t,e)=>e<=n))};var Pn={flatten:void 0};const qn=_n;Pn.flatten=function(t){return(0,qn.flattenDeep)(t,1)};var Cn={mapAsync:void 0};const Jn=B;Cn.mapAsync=function(t,n){return(0,Jn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)yield await n(r,e),e++}(t):async function*(t){let e=0;for(const r of t)yield await n(r,e),e++}(t)};var Un={};Un.map=void 0,Un.map=function*(t,n){let e=0;for(const r of t)yield n(r,e),e++};var zn={repeatAsync:void 0};const Dn=v,Fn=b;zn.repeatAsync=function(t,n){return(0,Fn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Fn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Dn.go)((async function*(){const e=[];if(n>0){for await(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Ln={repeat:void 0};const Mn=v,Vn=b;Ln.repeat=function(t,n){return(0,Vn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Vn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Mn.go)((function*(){const e=[];if(n>0){for(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Wn={sliceAsync:void 0};const Gn=v,Hn=b;Wn.sliceAsync=function(t,n,e=1/0){return(0,Hn.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,Hn.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,Hn.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Hn.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Gn.go)((async function*(){let r=0;for await(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var Kn={slice:void 0};const Qn=v,Xn=b;Kn.slice=function(t,n,e=1/0){return(0,Xn.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,Xn.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,Xn.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Xn.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Qn.go)((function*(){let r=0;for(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var Yn={};Yn.splitAsync=void 0,Yn.splitAsync=async function*(t,n){let e=[];for await(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var Zn={splitByAsync:void 0};const $n=B;Zn.splitByAsync=function(t,n){return(0,$n.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t):async function*(t){let e=[],r=0;for(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t)};var te={};te.splitBy=void 0,te.splitBy=function*(t,n){let e=[],r=0;for(const o of t)n(o,r)?(yield e,e=[]):e.push(o),r++;yield e};var ne={};ne.split=void 0,ne.split=function*(t,n){let e=[];for(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var ee={takeAsync:void 0};const re=v,oe=b;ee.takeAsync=function(t,n){return(0,oe.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,oe.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,re.go)((async function*(){if(0!==n)for await(const e of t)if(yield e,0===--n)break}))};var ie={takeRightAsync:void 0};const ae=v,se=b;ie.takeRightAsync=function(t,n){return(0,se.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,se.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ae.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=await r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var ce={takeRight:void 0};const ue=v,fe=b;ce.takeRight=function(t,n){return(0,fe.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,fe.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ue.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var le={takeUntilAsync:void 0};const ye=B;le.takeUntilAsync=function(t,n){return(0,ye.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t){if(await n(r,e))break;yield r,e++}}(t):async function*(t){let e=0;for(const r of t){if(await n(r,e))break;yield r,e++}}(t)};var de={};de.takeUntil=void 0,de.takeUntil=function*(t,n){let e=0;for(const r of t){if(n(r,e))break;yield r,e++}};var ve={take:void 0};const pe=v,be=b;ve.take=function(t,n){return(0,be.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,be.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,pe.go)((function*(){if(0!==n)for(const e of t)if(yield e,0===--n)break}))};var me={tapAsync:void 0};const he=B;me.tapAsync=function(t,n){return(0,he.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e),yield r,e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e),yield r,e++}(t)};var ge={};ge.tap=void 0,ge.tap=function*(t,n){let e=0;for(const r of t)n(r,e),yield r,e++};var Ae={};Ae.toAsyncIterable=void 0,Ae.toAsyncIterable=async function*(t){for(const n of t)yield n};var we={};we.transformAsync=void 0,we.transformAsync=async function*(t,n){yield*n(t)};var Se={};Se.transform=void 0,Se.transform=function*(t,n){yield*n(t)};var Ee={};Ee.uniqAsync=void 0,Ee.uniqAsync=async function*(t){const n=new Set;for await(const e of t)n.has(e)||(yield e,n.add(e))};var Ie={uniqByAsync:void 0};const Oe=B;Ie.uniqByAsync=function(t,n){return(0,Oe.isAsyncIterable)(t)?async function*(t){const e=new Set;let r=0;for await(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t):async function*(t){const e=new Set;let r=0;for(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t)};var je={};je.uniqBy=void 0,je.uniqBy=function*(t,n){const e=new Set;let r=0;for(const o of t){const t=n(o,r);e.has(t)||(yield o,e.add(t)),r++}};var xe={};xe.uniq=void 0,xe.uniq=function*(t){const n=new Set;for(const e of t)n.has(e)||(yield e,n.add(e))};var Ne={zipAsync:void 0};const Te=B;var ke;!function(t){t[t.Sync=0]="Sync",t[t.Async=1]="Async"}(ke||(ke={})),Ne.zipAsync=function(t,...n){return async function*(...t){var n,e,r,o;const i=t.length,a=t.map((t=>(0,Te.isAsyncIterable)(t)?[ke.Async,t[Symbol.asyncIterator]()]:[ke.Sync,t[Symbol.iterator]()])),s=a.map((()=>!1));try{for(;;){const t=new Array(i);for(let n=0;n<i;n++){const[e,r]=a[n];let o;if(o=e===ke.Async?await r.next():r.next(),o.done)return void(s[n]=!0);t[n]=o.value}yield t}}finally{const t=a.filter(((t,n)=>!s[n]));for(const[i,a]of t)i===ke.Async?await(null===(e=(n=a).return)||void 0===e?void 0:e.call(n)):null===(o=(r=a).return)||void 0===o||o.call(r)}}(t,...n)};var _e={};_e.zip=void 0,_e.zip=function(t,...n){return function*(...t){const n=t.length,e=t.map((t=>t[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const t=new Array(n);for(let o=0;o<n;o++){const{value:n,done:i}=e[o].next();if(i)return void(r[o]=!0);t[o]=n}yield t}}finally{e.filter(((t,n)=>!r[n])).forEach((t=>{var n;return null===(n=t.return)||void 0===n?void 0:n.call(t)}))}}(t,...n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(d,t),r(R,t),r(Lt,t),r(Mt,t),r(Gt,t),r(Qt,t),r(Yt,t),r(en,t),r(sn,t),r(ln,t),r(dn,t),r(vn,t),r(hn,t),r(An,t),r(wn,t),r(En,t),r(Tn,t),r(Sn,t),r(_n,t),r(Pn,t),r(Cn,t),r(Un,t),r(zn,t),r(Ln,t),r(Wn,t),r(Kn,t),r(Yn,t),r(Zn,t),r(te,t),r(ne,t),r(ee,t),r(ie,t),r(ce,t),r(le,t),r(de,t),r(ve,t),r(me,t),r(ge,t),r(Ae,t),r(we,t),r(Se,t),r(Ee,t),r(Ie,t),r(je,t),r(xe,t),r(Ne,t),r(_e,t)}(y);var Re={},Be={};Be.consume=void 0,Be.consume=function(t,n){return n(t)};var Pe={eachAsync:void 0};const qe=B;Pe.eachAsync=function(t,n){return(0,qe.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t)await n(r,e),e++}(t):async function(t){let e=0;for(const r of t)await n(r,e),e++}(t)};var Ce={};Ce.each=void 0,Ce.each=function(t,n){let e=0;for(const r of t)n(r,e),e++};var Je={everyAsync:void 0};const Ue=B;Je.everyAsync=function(t,n){return(0,Ue.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(!await n(r,e))return!1;e++}return!0}(t):async function(t){let e=0;for(const r of t){if(!await n(r,e))return!1;e++}return!0}(t)};var ze={};ze.every=void 0,ze.every=function(t,n){let e=0;for(const r of t){if(!n(r,e))return!1;e++}return!0};var De={findAsync:void 0};const Fe=B;De.findAsync=function(t,n){return(0,Fe.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return r;e++}return}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return r;e++}return}(t)};var Le={};Le.find=void 0,Le.find=function(t,n){let e=0;for(const r of t){if(n(r,e))return r;e++}};var Me={};Me.firstAsync=void 0,Me.firstAsync=async function(t){for await(const n of t)return n};var Ve={};Ve.first=void 0,Ve.first=function(t){for(const n of t)return n};var We={};We.includesAsync=void 0,We.includesAsync=async function(t,n){for await(const e of t)if(e===n)return!0;return!1};var Ge={};Ge.includes=void 0,Ge.includes=function(t,n){for(const e of t)if(e===n)return!0;return!1};var He={};He.matchAsync=void 0,He.matchAsync=async function(t,n){const e=n.length;let r=0;for await(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Ke={};Ke.match=void 0,Ke.match=function(t,n){const e=n.length;let r=0;for(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Qe={reduceAsync:void 0};const Xe=B;Qe.reduceAsync=function(t,n,e){return(0,Xe.isUndefined)(e)?function(t,n){return(0,Xe.isAsyncIterable)(t)?e(t):r(t);async function e(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,a=await i(r),s=1;for(;({value:t,done:o}=await r.next()),!o;)a=await n(a,t,s++);return a}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}async function i(t){const n=await t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}async function r(t){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=await n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}}(t,n):function(t,n,e){return(0,Xe.isAsyncIterable)(t)?o(t):r(t);async function r(t){let r=e,o=0;for(const e of t)r=await n(r,e,o++);return r}async function o(t){let r=e,o=0;for await(const e of t)r=await n(r,e,o++);return r}}(t,n,e)};var Ye={reduce:void 0};const Ze=B;Ye.reduce=function(t,n,e){return(0,Ze.isUndefined)(e)?function(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}(t,n):function(t,n,e){let r=e,o=0;for(const e of t)r=n(r,e,o++);return r}(t,n,e)};var $e={someAsync:void 0};const tr=B;$e.someAsync=function(t,n){return(0,tr.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return!0;e++}return!1}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return!0;e++}return!1}(t)};var nr={};nr.some=void 0,nr.some=function(t,n){let e=0;for(const r of t){if(n(r,e))return!0;e++}return!1};var er={};er.lastAsync=void 0,er.lastAsync=async function(t){var n;const e=t[Symbol.asyncIterator]();let r;try{let t,o;for(;({value:t,done:r}=await e.next()),!r;)o=t;return o}finally{r||await(null===(n=e.return)||void 0===n?void 0:n.call(e))}};var rr={};rr.last=void 0,rr.last=function(t){var n;const e=t[Symbol.iterator]();let r;try{let t,o;for(;({value:t,done:r}=e.next()),!r;)o=t;return o}finally{r||null===(n=e.return)||void 0===n||n.call(e)}};var or={toArrayAsync:void 0};const ir=Be;or.toArrayAsync=function(t){return(0,ir.consume)(t,(async t=>{const n=[];for await(const e of t)n.push(e);return n}))};var ar={toArray:void 0};const sr=Be;ar.toArray=function(t){return(0,sr.consume)(t,(t=>Array.from(t)))};var cr={toSetAsync:void 0};const ur=Be;cr.toSetAsync=function(t){return(0,ur.consume)(t,(async t=>{const n=new Set;for await(const e of t)n.add(e);return n}))};var fr={toSet:void 0};const lr=Be;fr.toSet=function(t){return(0,lr.consume)(t,(t=>new Set(t)))},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(Be,t),r(Pe,t),r(Ce,t),r(Je,t),r(ze,t),r(De,t),r(Le,t),r(Me,t),r(Ve,t),r(We,t),r(Ge,t),r(He,t),r(Ke,t),r(Qe,t),r(Ye,t),r($e,t),r(nr,t),r(er,t),r(rr,t),r(or,t),r(ar,t),r(cr,t),r(fr,t)}(Re),function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(y,t),r(Re,t)}(l);var yr={},dr={};dr.traverseErrorPrototypeChain=void 0,dr.traverseErrorPrototypeChain=function*(t){let n=t;for(;(n=Object.getPrototypeOf(n))&&(yield n,n!==Error.prototype););},yr.getErrorNames=void 0;const vr=B,pr=dr;yr.getErrorNames=function*(t){var n;if((0,vr.isError)(t))for(const e of(0,pr.traverseErrorPrototypeChain)(t))(null===(n=e.constructor)||void 0===n?void 0:n.name)&&(yield e.constructor.name);else yield t.name,yield*t.ancestors};var br={isSerializableError:void 0};const mr=B;br.isSerializableError=function(t){return(0,mr.isObject)(t)&&(0,mr.isString)(t.name)&&(0,mr.isString)(t.message)&&((0,mr.isString)(t.stack)||(0,mr.isNull)(t.stack))&&(0,mr.isArray)(t.ancestors)&&t.ancestors.every(mr.isString)},f.CustomError=void 0;const hr=l,gr=yr,Ar=B,wr=br;class Sr extends Error{get name(){var t,n;return null!==(n=null!==(t=(0,hr.first)((0,gr.getErrorNames)(this)))&&void 0!==t?t:Sr.name)&&void 0!==n?n:"CustomError"}static[Symbol.hasInstance](t){var n;if((0,Ar.isError)(t)||(0,wr.isSerializableError)(t)){const e=[null!==(n=this.prototype.constructor.name)&&void 0!==n?n:this.name,...(0,gr.getErrorNames)(this.prototype)].reverse(),r=(0,hr.toArray)((0,gr.getErrorNames)(t)).reverse();return e.every(((t,n)=>t===r[n]))}return!1}}f.CustomError=Sr;var Er={AssertionError:void 0};const Ir=f;class Or extends Ir.CustomError{}Er.AssertionError=Or;var jr={normalize:void 0};const xr=yr,Nr=l;jr.normalize=function(t){var n;const[e,...r]=(0,Nr.toArray)((0,xr.getErrorNames)(t));return{name:e,ancestors:r,message:t.message,stack:null!==(n=t.stack)&&void 0!==n?n:null}};var Tr={assert:void 0};const kr=Er;Tr.assert=function(t,n){if(!t)throw new kr.AssertionError(n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(f,t),r(Er,t),r(br,t),r(jr,t),r(Tr,t),r(yr,t),r(dr,t)}(u);class _r extends u.CustomError{static[Symbol.hasInstance](t){return B.isError(t)?l.some(u.getErrorNames(t),(t=>"AbortError"===t)):super[Symbol.hasInstance](t)}}var Rr;const Br=null!==(Rr=globalThis.AbortSignal)&&void 0!==Rr?Rr:i; | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).ExtraAbort={})}(this,(function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={exports:{}};const{AbortController:r,AbortSignal:o}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=r;var i=e.exports.AbortSignal=o;e.exports.default=r;var a,s=e.exports;const c=null!==(a=globalThis.AbortController)&&void 0!==a?a:s;var u={},f={},l={},y={},d={},v={},b={};b.go=void 0,b.go=function(t){return t()},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)})(b,t)}(v),d.chunkAsync=void 0;const p=v,m=u;d.chunkAsync=function(t,n){return(0,m.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,m.assert)(n>0,"The parameter size must be greater than 0"),(0,p.go)((async function*(){let e=[];for await(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var g={},h={},A={};function w(t){return Array.isArray(t)}A.isntEmptyArray=A.isEmptyArray=A.isntArray=A.isArray=void 0,A.isArray=w,A.isntArray=function(t){return!w(t)},A.isEmptyArray=function(t){return 0===t.length},A.isntEmptyArray=function(t){return 0!==t.length};var O={},S={};function j(t){return null===t}S.isntNull=S.isNull=void 0,S.isNull=j,S.isntNull=function(t){return!j(t)};var I={};function E(t){return void 0===t}I.isntUndefined=I.isUndefined=void 0,I.isUndefined=E,I.isntUndefined=function(t){return!E(t)},O.isntAsyncIterable=O.isAsyncIterable=void 0;const N=S,P=I;function _(t){return(0,N.isntNull)(t)&&(0,P.isntUndefined)(t)&&"function"==typeof t[Symbol.asyncIterator]}O.isAsyncIterable=_,O.isntAsyncIterable=function(t){return!_(t)};var x={};function B(t){return"bigint"==typeof t}x.isntBigInt=x.isBigInt=void 0,x.isBigInt=B,x.isntBigInt=function(t){return!B(t)};var T={};function k(t){return"boolean"==typeof t}T.isntBoolean=T.isBoolean=void 0,T.isBoolean=k,T.isntBoolean=function(t){return!k(t)};var R={},J={};function U(t){return"string"==typeof t}J.isntString=J.isString=void 0,J.isString=U,J.isntString=function(t){return!U(t)},R.isntChar=R.isChar=void 0;const q=J;function C(t){return(0,q.isString)(t)&&1===t.length}R.isChar=C,R.isntChar=function(t){return!C(t)};var D={};function F(t){return t instanceof Date}D.isntDate=D.isDate=void 0,D.isDate=F,D.isntDate=function(t){return!F(t)};var L={};L.inEnum=void 0,L.inEnum=function(t,n){return Object.values(n).includes(t)};var z={};function M(t){return t instanceof Error}z.isntError=z.isError=void 0,z.isError=M,z.isntError=function(t){return!M(t)};var V={};function W(t){return!t}V.isntFalsy=V.isFalsy=void 0,V.isFalsy=W,V.isntFalsy=function(t){return!W(t)};var G={};function H(t){return"function"==typeof t}G.isntFunction=G.isFunction=void 0,G.isFunction=H,G.isntFunction=function(t){return!H(t)};var K={};K.isntIterable=K.isIterable=void 0;const Q=S,X=I;function Y(t){return(0,Q.isntNull)(t)&&(0,X.isntUndefined)(t)&&"function"==typeof t[Symbol.iterator]}K.isIterable=Y,K.isntIterable=function(t){return!Y(t)};var Z={},$={};var tt=Function.prototype,nt=Object.prototype,et=tt.toString,rt=nt.hasOwnProperty,ot=et.call(Object),it=nt.toString,at=function(t,n){return function(e){return t(n(e))}}(Object.getPrototypeOf,Object);var st=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=it.call(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t))return!1;var n=at(t);if(null===n)return!0;var e=rt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&et.call(e)==ot},ct=n&&n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};$.isntEmptyObject=$.isEmptyObject=$.isntPlainObject=$.isPlainObject=$.isntObject=$.isObject=void 0;const ut=ct(st);function ft(t){return null!==t&&"object"==typeof t}function lt(t){return(0,ut.default)(t)}$.isObject=ft,$.isntObject=function(t){return!ft(t)},$.isPlainObject=lt,$.isntPlainObject=function(t){return!lt(t)},$.isEmptyObject=function(t){return 0===Object.keys(t).length},$.isntEmptyObject=function(t){return 0!==Object.keys(t).length};var yt={};function dt(t){return"number"==typeof t}yt.isntNumber=yt.isNumber=void 0,yt.isNumber=dt,yt.isntNumber=function(t){return!dt(t)},Z.isntJsonRpcError=Z.isJsonRpcError=Z.isntJsonRpcSuccess=Z.isJsonRpcSuccess=Z.isntJsonRpcRequest=Z.isJsonRpcRequest=Z.isntJsonRpcNotification=Z.isJsonRpcNotification=void 0;const vt=A,bt=$,pt=J,mt=yt,gt=I;function ht(t){return(0,pt.isString)(t)||(0,mt.isNumber)(t)}function At(t){return(0,vt.isArray)(t)||(0,bt.isObject)(t)}function wt(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&(0,pt.isString)(t.method)&&(0,gt.isUndefined)(t.id)&&At(t.params)}function Ot(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&(0,pt.isString)(t.method)&&ht(t.id)&&At(t.params)}function St(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&(0,pt.isString)(t.id)&&"result"in t}function jt(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&ht(t.id)&&function(t){return(0,bt.isPlainObject)(t)&&(0,mt.isNumber)(t.code)&&(0,pt.isString)(t.message)&&((0,gt.isUndefined)(t.data)||(0,bt.isObject)(t.data))}(t.error)}Z.isJsonRpcNotification=wt,Z.isntJsonRpcNotification=function(t){return!wt(t)},Z.isJsonRpcRequest=Ot,Z.isntJsonRpcRequest=function(t){return!Ot(t)},Z.isJsonRpcSuccess=St,Z.isntJsonRpcSuccess=function(t){return!St(t)},Z.isJsonRpcError=jt,Z.isntJsonRpcError=function(t){return!jt(t)};var It={};It.isntJson=It.isJson=void 0,It.isJson=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},It.isntJson=function t(n){return!t()};var Et={};Et.isAbsoluteURL=void 0,Et.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(A,t),r(O,t),r(x,t),r(T,t),r(R,t),r(D,t),r(L,t),r(z,t),r(V,t),r(G,t),r(K,t),r(Z,t),r(It,t),r(S,t),r(yt,t),r($,t),r(J,t),r(I,t),r(Et,t)}(h),g.chunkByAsync=void 0;const Nt=h;g.chunkByAsync=function(t,n){return(0,Nt.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t):async function*(t){let e=[],r=0;for(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t)};var Pt={};Pt.chunkBy=void 0,Pt.chunkBy=function*(t,n){let e=[],r=0;for(const o of t)e.push(o),n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)};var _t={chunk:void 0};const xt=v,Bt=u;_t.chunk=function(t,n){return(0,Bt.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,Bt.assert)(n>0,"The parameter size must be greater than 0"),(0,xt.go)((function*(){let e=[];for(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var Tt={concatAsync:void 0};const kt=h,Rt=v;Tt.concatAsync=function(t,...n){return(0,Rt.go)((async function*(){for(const e of[t,...n])if((0,kt.isAsyncIterable)(e))for await(const t of e)yield t;else for(const t of e)yield t}))};var Jt={concat:void 0};const Ut=v;Jt.concat=function(t,...n){return(0,Ut.go)((function*(){for(const e of[t,...n])yield*e}))};var qt={},Ct={};Ct.copyIterable=Ct.copyAsyncIterable=void 0,Ct.copyAsyncIterable=async function*(t){for await(const n of t)yield n},Ct.copyIterable=function*(t){for(const n of t)yield n},qt.dropAsync=void 0;const Dt=v,Ft=Ct,Lt=u;qt.dropAsync=function(t,n){return(0,Lt.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Lt.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Ft.copyAsyncIterable)(t):(0,Dt.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{let t;for(;!(({value:t,done:o}=await r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var zt={dropRightAsync:void 0};const Mt=v,Vt=Ct,Wt=u;zt.dropRightAsync=function(t,n){return(0,Wt.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Wt.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Vt.copyAsyncIterable)(t):(0,Mt.go)((async function*(){const e=(await async function(t){const n=[];for await(const e of t)n.push(e);return n}(t)).slice(0,-n);for(const t of e)yield t}))};var Gt={dropRight:void 0};const Ht=v,Kt=Ct,Qt=u;Gt.dropRight=function(t,n){return(0,Qt.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Qt.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Kt.copyIterable)(t):(0,Ht.go)((function*(){const e=Array.from(t);yield*e.slice(0,-n)}))};var Xt={dropUntilAsync:void 0};const Yt=h;Xt.dropUntilAsync=function(t,n){return(0,Yt.isAsyncIterable)(t)?async function*(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=await r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}(t):async function*(t){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}(t)};var Zt={};Zt.dropUntil=void 0,Zt.dropUntil=function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}};var $t={drop:void 0};const tn=v,nn=Ct,en=u;$t.drop=function(t,n){return(0,en.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,en.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,nn.copyIterable)(t):(0,tn.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{let t;for(;!(({value:t,done:o}=r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var rn={filterAsync:void 0};const on=h;rn.filterAsync=function(t,n){return(0,on.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e)&&(yield r),e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e)&&(yield r),e++}(t)};var an={};an.filter=void 0,an.filter=function*(t,n){let e=0;for(const r of t)n(r,e)&&(yield r),e++};var sn={},cn={},un={flattenByAsync:void 0};const fn=h;function ln(t){return(0,fn.isIterable)(t)&&(0,fn.isntChar)(t)}un.flattenByAsync=function(t,n){return(0,fn.isAsyncIterable)(t)?async function*(t){const r=1;for await(const o of t)ln(o)&&await n(o,r)?yield*e(o,r+1):yield o}(t):function(t){return e(t,1)}(t);async function*e(t,r){for(const o of t)ln(o)&&await n(o,r)?yield*e(o,r+1):yield o}},cn.flattenDeepAsync=void 0;const yn=un,dn=u;cn.flattenDeepAsync=function(t,n=1/0){return(0,dn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,dn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,yn.flattenByAsync)(t,((t,e)=>e<=n))},sn.flattenAsync=void 0;const vn=cn;sn.flattenAsync=function(t){return(0,vn.flattenDeepAsync)(t,1)};var bn={flattenBy:void 0};const pn=h;bn.flattenBy=function(t,n){return function*t(e,r){for(const i of e)(0,pn.isIterable)(o=i)&&(0,pn.isntChar)(o)&&n(i,r)?yield*t(i,r+1):yield i;var o}(t,1)};var mn={flattenDeep:void 0};const gn=bn,hn=u;mn.flattenDeep=function(t,n=1/0){return(0,hn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,hn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,gn.flattenBy)(t,((t,e)=>e<=n))};var An={flatten:void 0};const wn=mn;An.flatten=function(t){return(0,wn.flattenDeep)(t,1)};var On={mapAsync:void 0};const Sn=h;On.mapAsync=function(t,n){return(0,Sn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)yield await n(r,e),e++}(t):async function*(t){let e=0;for(const r of t)yield await n(r,e),e++}(t)};var jn={};jn.map=void 0,jn.map=function*(t,n){let e=0;for(const r of t)yield n(r,e),e++};var In={repeatAsync:void 0};const En=v,Nn=u;In.repeatAsync=function(t,n){return(0,Nn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Nn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,En.go)((async function*(){const e=[];if(n>0){for await(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Pn={repeat:void 0};const _n=v,xn=u;Pn.repeat=function(t,n){return(0,xn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,xn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,_n.go)((function*(){const e=[];if(n>0){for(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Bn={sliceAsync:void 0};const Tn=v,kn=u;Bn.sliceAsync=function(t,n,e=1/0){return(0,kn.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,kn.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,kn.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,kn.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Tn.go)((async function*(){let r=0;for await(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var Rn={slice:void 0};const Jn=v,Un=u;Rn.slice=function(t,n,e=1/0){return(0,Un.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,Un.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,Un.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Un.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Jn.go)((function*(){let r=0;for(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var qn={};qn.splitAsync=void 0,qn.splitAsync=async function*(t,n){let e=[];for await(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var Cn={splitByAsync:void 0};const Dn=h;Cn.splitByAsync=function(t,n){return(0,Dn.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t):async function*(t){let e=[],r=0;for(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t)};var Fn={};Fn.splitBy=void 0,Fn.splitBy=function*(t,n){let e=[],r=0;for(const o of t)n(o,r)?(yield e,e=[]):e.push(o),r++;yield e};var Ln={};Ln.split=void 0,Ln.split=function*(t,n){let e=[];for(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var zn={takeAsync:void 0};const Mn=v,Vn=u;zn.takeAsync=function(t,n){return(0,Vn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Vn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,Mn.go)((async function*(){if(0!==n)for await(const e of t)if(yield e,0===--n)break}))};var Wn={takeRightAsync:void 0};const Gn=v,Hn=u;Wn.takeRightAsync=function(t,n){return(0,Hn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Hn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,Gn.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=await r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var Kn={takeRight:void 0};const Qn=v,Xn=u;Kn.takeRight=function(t,n){return(0,Xn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Xn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,Qn.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var Yn={takeUntilAsync:void 0};const Zn=h;Yn.takeUntilAsync=function(t,n){return(0,Zn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t){if(await n(r,e))break;yield r,e++}}(t):async function*(t){let e=0;for(const r of t){if(await n(r,e))break;yield r,e++}}(t)};var $n={};$n.takeUntil=void 0,$n.takeUntil=function*(t,n){let e=0;for(const r of t){if(n(r,e))break;yield r,e++}};var te={take:void 0};const ne=v,ee=u;te.take=function(t,n){return(0,ee.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,ee.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ne.go)((function*(){if(0!==n)for(const e of t)if(yield e,0===--n)break}))};var re={tapAsync:void 0};const oe=h;re.tapAsync=function(t,n){return(0,oe.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e),yield r,e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e),yield r,e++}(t)};var ie={};ie.tap=void 0,ie.tap=function*(t,n){let e=0;for(const r of t)n(r,e),yield r,e++};var ae={};ae.toAsyncIterable=void 0,ae.toAsyncIterable=async function*(t){for(const n of t)yield n};var se={};se.transformAsync=void 0,se.transformAsync=async function*(t,n){yield*n(t)};var ce={};ce.transform=void 0,ce.transform=function*(t,n){yield*n(t)};var ue={};ue.uniqAsync=void 0,ue.uniqAsync=async function*(t){const n=new Set;for await(const e of t)n.has(e)||(yield e,n.add(e))};var fe={uniqByAsync:void 0};const le=h;fe.uniqByAsync=function(t,n){return(0,le.isAsyncIterable)(t)?async function*(t){const e=new Set;let r=0;for await(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t):async function*(t){const e=new Set;let r=0;for(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t)};var ye={};ye.uniqBy=void 0,ye.uniqBy=function*(t,n){const e=new Set;let r=0;for(const o of t){const t=n(o,r);e.has(t)||(yield o,e.add(t)),r++}};var de={};de.uniq=void 0,de.uniq=function*(t){const n=new Set;for(const e of t)n.has(e)||(yield e,n.add(e))};var ve={zipAsync:void 0};const be=h;var pe;!function(t){t[t.Sync=0]="Sync",t[t.Async=1]="Async"}(pe||(pe={})),ve.zipAsync=function(t,...n){return async function*(...t){var n,e,r,o;const i=t.length,a=t.map((t=>(0,be.isAsyncIterable)(t)?[pe.Async,t[Symbol.asyncIterator]()]:[pe.Sync,t[Symbol.iterator]()])),s=a.map((()=>!1));try{for(;;){const t=new Array(i);for(let n=0;n<i;n++){const[e,r]=a[n];let o;if(o=e===pe.Async?await r.next():r.next(),o.done)return void(s[n]=!0);t[n]=o.value}yield t}}finally{const t=a.filter(((t,n)=>!s[n]));for(const[i,a]of t)i===pe.Async?await(null===(e=(n=a).return)||void 0===e?void 0:e.call(n)):null===(o=(r=a).return)||void 0===o||o.call(r)}}(t,...n)};var me={};me.zip=void 0,me.zip=function(t,...n){return function*(...t){const n=t.length,e=t.map((t=>t[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const t=new Array(n);for(let o=0;o<n;o++){const{value:n,done:i}=e[o].next();if(i)return void(r[o]=!0);t[o]=n}yield t}}finally{e.filter(((t,n)=>!r[n])).forEach((t=>{var n;return null===(n=t.return)||void 0===n?void 0:n.call(t)}))}}(t,...n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(d,t),r(g,t),r(Pt,t),r(_t,t),r(Tt,t),r(Jt,t),r(qt,t),r(zt,t),r(Gt,t),r(Xt,t),r(Zt,t),r($t,t),r(rn,t),r(an,t),r(sn,t),r(un,t),r(bn,t),r(cn,t),r(mn,t),r(An,t),r(On,t),r(jn,t),r(In,t),r(Pn,t),r(Bn,t),r(Rn,t),r(qn,t),r(Cn,t),r(Fn,t),r(Ln,t),r(zn,t),r(Wn,t),r(Kn,t),r(Yn,t),r($n,t),r(te,t),r(re,t),r(ie,t),r(ae,t),r(se,t),r(ce,t),r(ue,t),r(fe,t),r(ye,t),r(de,t),r(ve,t),r(me,t)}(y);var ge={},he={};he.consume=void 0,he.consume=function(t,n){return n(t)};var Ae={eachAsync:void 0};const we=h;Ae.eachAsync=function(t,n){return(0,we.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t)await n(r,e),e++}(t):async function(t){let e=0;for(const r of t)await n(r,e),e++}(t)};var Oe={};Oe.each=void 0,Oe.each=function(t,n){let e=0;for(const r of t)n(r,e),e++};var Se={everyAsync:void 0};const je=h;Se.everyAsync=function(t,n){return(0,je.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(!await n(r,e))return!1;e++}return!0}(t):async function(t){let e=0;for(const r of t){if(!await n(r,e))return!1;e++}return!0}(t)};var Ie={};Ie.every=void 0,Ie.every=function(t,n){let e=0;for(const r of t){if(!n(r,e))return!1;e++}return!0};var Ee={findAsync:void 0};const Ne=h;Ee.findAsync=function(t,n){return(0,Ne.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return r;e++}return}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return r;e++}return}(t)};var Pe={};Pe.find=void 0,Pe.find=function(t,n){let e=0;for(const r of t){if(n(r,e))return r;e++}};var _e={};_e.firstAsync=void 0,_e.firstAsync=async function(t){for await(const n of t)return n};var xe={};xe.first=void 0,xe.first=function(t){for(const n of t)return n};var Be={};Be.includesAsync=void 0,Be.includesAsync=async function(t,n){for await(const e of t)if(e===n)return!0;return!1};var Te={};Te.includes=void 0,Te.includes=function(t,n){for(const e of t)if(e===n)return!0;return!1};var ke={};ke.matchAsync=void 0,ke.matchAsync=async function(t,n){const e=n.length;let r=0;for await(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Re={};Re.match=void 0,Re.match=function(t,n){const e=n.length;let r=0;for(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Je={reduceAsync:void 0};const Ue=h;Je.reduceAsync=function(t,n,e){return(0,Ue.isUndefined)(e)?function(t,n){return(0,Ue.isAsyncIterable)(t)?e(t):r(t);async function e(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,a=await i(r),s=1;for(;({value:t,done:o}=await r.next()),!o;)a=await n(a,t,s++);return a}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}async function i(t){const n=await t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}async function r(t){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=await n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}}(t,n):function(t,n,e){return(0,Ue.isAsyncIterable)(t)?o(t):r(t);async function r(t){let r=e,o=0;for(const e of t)r=await n(r,e,o++);return r}async function o(t){let r=e,o=0;for await(const e of t)r=await n(r,e,o++);return r}}(t,n,e)};var qe={reduce:void 0};const Ce=h;qe.reduce=function(t,n,e){return(0,Ce.isUndefined)(e)?function(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}(t,n):function(t,n,e){let r=e,o=0;for(const e of t)r=n(r,e,o++);return r}(t,n,e)};var De={someAsync:void 0};const Fe=h;De.someAsync=function(t,n){return(0,Fe.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return!0;e++}return!1}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return!0;e++}return!1}(t)};var Le={};Le.some=void 0,Le.some=function(t,n){let e=0;for(const r of t){if(n(r,e))return!0;e++}return!1};var ze={};ze.lastAsync=void 0,ze.lastAsync=async function(t){var n;const e=t[Symbol.asyncIterator]();let r;try{let t,o;for(;({value:t,done:r}=await e.next()),!r;)o=t;return o}finally{r||await(null===(n=e.return)||void 0===n?void 0:n.call(e))}};var Me={};Me.last=void 0,Me.last=function(t){var n;const e=t[Symbol.iterator]();let r;try{let t,o;for(;({value:t,done:r}=e.next()),!r;)o=t;return o}finally{r||null===(n=e.return)||void 0===n||n.call(e)}};var Ve={toArrayAsync:void 0};const We=he;Ve.toArrayAsync=function(t){return(0,We.consume)(t,(async t=>{const n=[];for await(const e of t)n.push(e);return n}))};var Ge={toArray:void 0};const He=he;Ge.toArray=function(t){return(0,He.consume)(t,(t=>Array.from(t)))};var Ke={toSetAsync:void 0};const Qe=he;Ke.toSetAsync=function(t){return(0,Qe.consume)(t,(async t=>{const n=new Set;for await(const e of t)n.add(e);return n}))};var Xe={toSet:void 0};const Ye=he;Xe.toSet=function(t){return(0,Ye.consume)(t,(t=>new Set(t)))},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(he,t),r(Ae,t),r(Oe,t),r(Se,t),r(Ie,t),r(Ee,t),r(Pe,t),r(_e,t),r(xe,t),r(Be,t),r(Te,t),r(ke,t),r(Re,t),r(Je,t),r(qe,t),r(De,t),r(Le,t),r(ze,t),r(Me,t),r(Ve,t),r(Ge,t),r(Ke,t),r(Xe,t)}(ge),function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(y,t),r(ge,t)}(l);var Ze={},$e={},tr={};function nr(t){return Array.isArray(t)}tr.isntEmptyArray=tr.isEmptyArray=tr.isntArray=tr.isArray=void 0,tr.isArray=nr,tr.isntArray=function(t){return!nr(t)},tr.isEmptyArray=function(t){return 0===t.length},tr.isntEmptyArray=function(t){return 0!==t.length};var er={},rr={};function or(t){return null===t}rr.isntNull=rr.isNull=void 0,rr.isNull=or,rr.isntNull=function(t){return!or(t)};var ir={};function ar(t){return void 0===t}ir.isntUndefined=ir.isUndefined=void 0,ir.isUndefined=ar,ir.isntUndefined=function(t){return!ar(t)};var sr={};function cr(t){return"function"==typeof t}sr.isntFunction=sr.isFunction=void 0,sr.isFunction=cr,sr.isntFunction=function(t){return!cr(t)},er.isntAsyncIterable=er.isAsyncIterable=void 0;const ur=rr,fr=ir,lr=sr;function yr(t){return(0,ur.isntNull)(t)&&(0,fr.isntUndefined)(t)&&(0,lr.isFunction)(t[Symbol.asyncIterator])}er.isAsyncIterable=yr,er.isntAsyncIterable=function(t){return!yr(t)};var dr={};function vr(t){return"bigint"==typeof t}dr.isntBigInt=dr.isBigInt=void 0,dr.isBigInt=vr,dr.isntBigInt=function(t){return!vr(t)};var br={};function pr(t){return"boolean"==typeof t}br.isntBoolean=br.isBoolean=void 0,br.isBoolean=pr,br.isntBoolean=function(t){return!pr(t)};var mr={},gr={};function hr(t){return"string"==typeof t}gr.isntString=gr.isString=void 0,gr.isString=hr,gr.isntString=function(t){return!hr(t)},mr.isntChar=mr.isChar=void 0;const Ar=gr;function wr(t){return(0,Ar.isString)(t)&&1===t.length}mr.isChar=wr,mr.isntChar=function(t){return!wr(t)};var Or={};function Sr(t){return t instanceof Date}Or.isntDate=Or.isDate=void 0,Or.isDate=Sr,Or.isntDate=function(t){return!Sr(t)};var jr={};jr.inEnum=void 0,jr.inEnum=function(t,n){return Object.values(n).includes(t)};var Ir={};function Er(t){return t instanceof Error}Ir.isntError=Ir.isError=void 0,Ir.isError=Er,Ir.isntError=function(t){return!Er(t)};var Nr={};function Pr(t){return!t}Nr.isntFalsy=Nr.isFalsy=void 0,Nr.isFalsy=Pr,Nr.isntFalsy=function(t){return!Pr(t)};var _r={};_r.isntIterable=_r.isIterable=void 0;const xr=rr,Br=ir,Tr=sr;function kr(t){return(0,xr.isntNull)(t)&&(0,Br.isntUndefined)(t)&&(0,Tr.isFunction)(t[Symbol.iterator])}_r.isIterable=kr,_r.isntIterable=function(t){return!kr(t)};var Rr={},Jr={};function Ur(t){return"number"==typeof t}Jr.isntNumber=Jr.isNumber=void 0,Jr.isNumber=Ur,Jr.isntNumber=function(t){return!Ur(t)};var qr={},Cr=n&&n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};qr.isntEmptyObject=qr.isEmptyObject=qr.isntPlainObject=qr.isPlainObject=qr.isntObject=qr.isObject=void 0;const Dr=Cr(st);function Fr(t){return null!==t&&"object"==typeof t}function Lr(t){return(0,Dr.default)(t)}qr.isObject=Fr,qr.isntObject=function(t){return!Fr(t)},qr.isPlainObject=Lr,qr.isntPlainObject=function(t){return!Lr(t)},qr.isEmptyObject=function(t){return 0===Object.keys(t).length},qr.isntEmptyObject=function(t){return 0!==Object.keys(t).length},Rr.isntJsonable=Rr.isJsonable=Rr.isntJson=Rr.isJson=void 0;const zr=rr,Mr=br,Vr=gr,Wr=Jr,Gr=tr,Hr=qr;function Kr(t){return(0,zr.isNull)(t)||(0,Mr.isBoolean)(t)||(0,Vr.isString)(t)||(0,Wr.isNumber)(t)||(0,Gr.isArray)(t)&&t.every(Kr)||(0,Hr.isPlainObject)(t)&&Object.values(t).every(Kr)}Rr.isJson=Kr,Rr.isntJson=function(t){return!Kr(t)},Rr.isJsonable=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},Rr.isntJsonable=function t(n){return!t()};var Qr={};Qr.isPromiseLike=Qr.isntPromiseLike=Qr.isntPromise=Qr.isPromise=void 0;const Xr=qr,Yr=sr;function Zr(t){return t instanceof Promise}function $r(t){return(0,Xr.isObject)(t)&&(0,Yr.isFunction)(t.then)}Qr.isPromise=Zr,Qr.isntPromise=function(t){return!Zr(t)},Qr.isntPromiseLike=function(t){return!$r(t)},Qr.isPromiseLike=$r;var to={};to.isAbsoluteURL=void 0,to.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(tr,t),r(er,t),r(dr,t),r(br,t),r(mr,t),r(Or,t),r(jr,t),r(Ir,t),r(Nr,t),r(sr,t),r(_r,t),r(Rr,t),r(rr,t),r(Jr,t),r(qr,t),r(Qr,t),r(gr,t),r(ir,t),r(to,t)}($e);var no={};no.traverseErrorPrototypeChain=void 0,no.traverseErrorPrototypeChain=function*(t){let n=t;for(;(n=Object.getPrototypeOf(n))&&(yield n,n!==Error.prototype););},Ze.getErrorNames=void 0;const eo=$e,ro=no;Ze.getErrorNames=function*(t){var n;if((0,eo.isError)(t))for(const e of(0,ro.traverseErrorPrototypeChain)(t))(null===(n=e.constructor)||void 0===n?void 0:n.name)&&(yield e.constructor.name);else yield t.name,yield*t.ancestors};var oo={isSerializableError:void 0};const io=$e;oo.isSerializableError=function(t){return(0,io.isObject)(t)&&(0,io.isString)(t.name)&&(0,io.isString)(t.message)&&((0,io.isString)(t.stack)||(0,io.isNull)(t.stack))&&(0,io.isArray)(t.ancestors)&&t.ancestors.every(io.isString)},f.CustomError=void 0;const ao=l,so=Ze,co=$e,uo=oo;class fo extends Error{get name(){var t,n;return null!==(n=null!==(t=(0,ao.first)((0,so.getErrorNames)(this)))&&void 0!==t?t:fo.name)&&void 0!==n?n:"CustomError"}static[Symbol.hasInstance](t){var n;if((0,co.isError)(t)||(0,uo.isSerializableError)(t)){const e=[null!==(n=this.prototype.constructor.name)&&void 0!==n?n:this.name,...(0,so.getErrorNames)(this.prototype)].reverse(),r=(0,ao.toArray)((0,so.getErrorNames)(t)).reverse();return e.every(((t,n)=>t===r[n]))}return!1}}f.CustomError=fo;var lo={AssertionError:void 0};const yo=f;class vo extends yo.CustomError{}lo.AssertionError=vo;var bo={normalize:void 0};const po=Ze,mo=l;bo.normalize=function(t){var n;const[e,...r]=(0,mo.toArray)((0,po.getErrorNames)(t));return{name:e,ancestors:r,message:t.message,stack:null!==(n=t.stack)&&void 0!==n?n:null}};var go={},ho={},Ao={};Ao.pass=void 0,Ao.pass=function(){},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)})(Ao,t)}(ho),go.hydrate=void 0;const wo=ho;function Oo(t,n){const e=function(){(0,wo.pass)()};return(e.prototype=Object.create(t.prototype)).constructor=e,Object.defineProperty(e,"name",{value:n}),e}go.hydrate=function(t){var n;const e=[t.name,...t.ancestors].slice(0,-1).reverse();let r=Error;for(const t of e)r=Oo(r,t);const o=new r;return o.name=t.name,o.message=t.message,o.stack=null!==(n=t.stack)&&void 0!==n?n:void 0,o};var So={assert:void 0};const jo=lo;So.assert=function(t,n){if(!t)throw new jo.AssertionError(n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(f,t),r(lo,t),r(oo,t),r(bo,t),r(go,t),r(So,t),r(Ze,t),r(no,t)}(u);class Io extends u.CustomError{static[Symbol.hasInstance](t){return $e.isError(t)?l.some(u.getErrorNames(t),(t=>"AbortError"===t)):super[Symbol.hasInstance](t)}}var Eo;const No=null!==(Eo=globalThis.AbortSignal)&&void 0!==Eo?Eo:i; | ||
/*! ***************************************************************************** | ||
@@ -16,3 +16,3 @@ Copyright (c) Microsoft Corporation. | ||
***************************************************************************** */ | ||
function Pr(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function s(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,s)}c((r=r.apply(t,n||[])).next())}))}t.AbortController=c,t.AbortError=_r,t.AbortSignal=Br,t.raceAbortSignals=function(t){const n=new c,e=[];for(const o of t)if(o){if(o.aborted){n.abort();break}o.addEventListener("abort",r),e.push(o)}return n.signal;function r(){n.abort(),e.forEach((t=>t.removeEventListener("abort",r)))}},t.timeoutSignal=function(t){const n=new c;return setTimeout((()=>n.abort()),t),n.signal},t.withAbortSignal=function(t,n){return Pr(this,void 0,void 0,(function*(){return new Promise(((e,r)=>Pr(this,void 0,void 0,(function*(){if(t.aborted)return o();t.addEventListener("abort",o);try{e(yield n())}catch(t){r(t)}finally{t.removeEventListener("abort",o)}function o(){r(new _r)}}))))}))},Object.defineProperty(t,"__esModule",{value:!0})})); | ||
function Po(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function s(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,s)}c((r=r.apply(t,n||[])).next())}))}t.AbortController=c,t.AbortError=Io,t.AbortSignal=No,t.raceAbortSignals=function(t){const n=new c,e=[];for(const o of t)if(o){if(o.aborted){n.abort();break}o.addEventListener("abort",r),e.push(o)}return n.signal;function r(){n.abort(),e.forEach((t=>t.removeEventListener("abort",r)))}},t.timeoutSignal=function(t){const n=new c;return setTimeout((()=>n.abort()),t),n.signal},t.withAbortSignal=function(t,n){return Po(this,void 0,void 0,(function*(){return new Promise(((e,r)=>Po(this,void 0,void 0,(function*(){if(t.aborted)return o();t.addEventListener("abort",o);try{e(yield n())}catch(t){r(t)}finally{t.removeEventListener("abort",o)}function o(){r(new Io)}}))))}))},Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=index.umd.min.js.map |
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).ExtraAbort={})}(this,(function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={exports:{}};const{AbortController:r,AbortSignal:o}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=r;var i=e.exports.AbortSignal=o;e.exports.default=r;var a,s=e.exports;const c=null!==(a=globalThis.AbortController)&&void 0!==a?a:s;var u={},f={},l={},y={},d={},v={},p={};p.go=void 0,p.go=function(t){return t()},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)})(p,t)}(v);var b={},m={CustomError:void 0};class h extends Error{get name(){return this.constructor.name}}m.CustomError=h;var g={ExpectedError:void 0};const A=m;class w extends A.CustomError{}g.ExpectedError=w;var S={AssertionError:void 0};const E=m;class I extends E.CustomError{}S.AssertionError=I;var O={};O.normalize=void 0,O.normalize=function(t){var n;return{name:t.name,message:t.message,stack:null!==(n=t.stack)&&void 0!==n?n:null}};var j={refute:void 0};const x=g;j.refute=function(t,n){if(t)throw new x.ExpectedError(n)};var N={assert:void 0};const T=S;N.assert=function(t,n){if(!t)throw new T.AssertionError(n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(m,t),r(g,t),r(S,t),r(O,t),r(j,t),r(N,t)}(b),d.chunkAsync=void 0;const k=v,_=b;d.chunkAsync=function(t,n){return(0,_.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,_.assert)(n>0,"The parameter size must be greater than 0"),(0,k.go)((async function*(){let e=[];for await(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var R={},B={},P={};function q(t){return Array.isArray(t)}P.isntEmptyArray=P.isEmptyArray=P.isntArray=P.isArray=void 0,P.isArray=q,P.isntArray=function(t){return!q(t)},P.isEmptyArray=function(t){return 0===t.length},P.isntEmptyArray=function(t){return 0!==t.length};var C={},J={};function U(t){return null===t}J.isntNull=J.isNull=void 0,J.isNull=U,J.isntNull=function(t){return!U(t)};var z={};function D(t){return void 0===t}z.isntUndefined=z.isUndefined=void 0,z.isUndefined=D,z.isntUndefined=function(t){return!D(t)},C.isntAsyncIterable=C.isAsyncIterable=void 0;const F=J,L=z;function M(t){return(0,F.isntNull)(t)&&(0,L.isntUndefined)(t)&&"function"==typeof t[Symbol.asyncIterator]}C.isAsyncIterable=M,C.isntAsyncIterable=function(t){return!M(t)};var V={};function W(t){return"bigint"==typeof t}V.isntBigInt=V.isBigInt=void 0,V.isBigInt=W,V.isntBigInt=function(t){return!W(t)};var G={};function H(t){return"boolean"==typeof t}G.isntBoolean=G.isBoolean=void 0,G.isBoolean=H,G.isntBoolean=function(t){return!H(t)};var K={},Q={};function X(t){return"string"==typeof t}Q.isntString=Q.isString=void 0,Q.isString=X,Q.isntString=function(t){return!X(t)},K.isntChar=K.isChar=void 0;const Y=Q;function Z(t){return(0,Y.isString)(t)&&1===t.length}K.isChar=Z,K.isntChar=function(t){return!Z(t)};var $={};function tt(t){return t instanceof Date}$.isntDate=$.isDate=void 0,$.isDate=tt,$.isntDate=function(t){return!tt(t)};var nt={};nt.inEnum=void 0,nt.inEnum=function(t,n){return Object.values(n).includes(t)};var et={};function rt(t){return t instanceof Error}et.isntError=et.isError=void 0,et.isError=rt,et.isntError=function(t){return!rt(t)};var ot={};function it(t){return!t}ot.isntFalsy=ot.isFalsy=void 0,ot.isFalsy=it,ot.isntFalsy=function(t){return!it(t)};var at={};function st(t){return"function"==typeof t}at.isntFunction=at.isFunction=void 0,at.isFunction=st,at.isntFunction=function(t){return!st(t)};var ct={};ct.isntIterable=ct.isIterable=void 0;const ut=J,ft=z;function lt(t){return(0,ut.isntNull)(t)&&(0,ft.isntUndefined)(t)&&"function"==typeof t[Symbol.iterator]}ct.isIterable=lt,ct.isntIterable=function(t){return!lt(t)};var yt={},dt={};var vt=Function.prototype,pt=Object.prototype,bt=vt.toString,mt=pt.hasOwnProperty,ht=bt.call(Object),gt=pt.toString,At=function(t,n){return function(e){return t(n(e))}}(Object.getPrototypeOf,Object);var wt=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=gt.call(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t))return!1;var n=At(t);if(null===n)return!0;var e=mt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&bt.call(e)==ht},St=n&&n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};dt.isntEmptyObject=dt.isEmptyObject=dt.isntPlainObject=dt.isPlainObject=dt.isntObject=dt.isObject=void 0;const Et=St(wt);function It(t){return null!==t&&"object"==typeof t}function Ot(t){return(0,Et.default)(t)}dt.isObject=It,dt.isntObject=function(t){return!It(t)},dt.isPlainObject=Ot,dt.isntPlainObject=function(t){return!Ot(t)},dt.isEmptyObject=function(t){return 0===Object.keys(t).length},dt.isntEmptyObject=function(t){return 0!==Object.keys(t).length};var jt={};function xt(t){return"number"==typeof t}jt.isntNumber=jt.isNumber=void 0,jt.isNumber=xt,jt.isntNumber=function(t){return!xt(t)},yt.isntJsonRpcError=yt.isJsonRpcError=yt.isntJsonRpcSuccess=yt.isJsonRpcSuccess=yt.isntJsonRpcRequest=yt.isJsonRpcRequest=yt.isntJsonRpcNotification=yt.isJsonRpcNotification=void 0;const Nt=P,Tt=dt,kt=Q,_t=jt,Rt=z;function Bt(t){return(0,kt.isString)(t)||(0,_t.isNumber)(t)}function Pt(t){return(0,Nt.isArray)(t)||(0,Tt.isObject)(t)}function qt(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&(0,kt.isString)(t.method)&&(0,Rt.isUndefined)(t.id)&&Pt(t.params)}function Ct(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&(0,kt.isString)(t.method)&&Bt(t.id)&&Pt(t.params)}function Jt(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&(0,kt.isString)(t.id)&&"result"in t}function Ut(t){return(0,Tt.isPlainObject)(t)&&(0,kt.isString)(t.jsonrpc)&&Bt(t.id)&&function(t){return(0,Tt.isPlainObject)(t)&&(0,_t.isNumber)(t.code)&&(0,kt.isString)(t.message)&&((0,Rt.isUndefined)(t.data)||(0,Tt.isObject)(t.data))}(t.error)}yt.isJsonRpcNotification=qt,yt.isntJsonRpcNotification=function(t){return!qt(t)},yt.isJsonRpcRequest=Ct,yt.isntJsonRpcRequest=function(t){return!Ct(t)},yt.isJsonRpcSuccess=Jt,yt.isntJsonRpcSuccess=function(t){return!Jt(t)},yt.isJsonRpcError=Ut,yt.isntJsonRpcError=function(t){return!Ut(t)};var zt={};zt.isntJson=zt.isJson=void 0,zt.isJson=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},zt.isntJson=function t(n){return!t()};var Dt={};Dt.isAbsoluteURL=void 0,Dt.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(P,t),r(C,t),r(V,t),r(G,t),r(K,t),r($,t),r(nt,t),r(et,t),r(ot,t),r(at,t),r(ct,t),r(yt,t),r(zt,t),r(J,t),r(jt,t),r(dt,t),r(Q,t),r(z,t),r(Dt,t)}(B),R.chunkByAsync=void 0;const Ft=B;R.chunkByAsync=function(t,n){return(0,Ft.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t):async function*(t){let e=[],r=0;for(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t)};var Lt={};Lt.chunkBy=void 0,Lt.chunkBy=function*(t,n){let e=[],r=0;for(const o of t)e.push(o),n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)};var Mt={chunk:void 0};const Vt=v,Wt=b;Mt.chunk=function(t,n){return(0,Wt.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,Wt.assert)(n>0,"The parameter size must be greater than 0"),(0,Vt.go)((function*(){let e=[];for(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var Gt={concatAsync:void 0};const Ht=B,Kt=v;Gt.concatAsync=function(t,...n){return(0,Kt.go)((async function*(){for(const e of[t,...n])if((0,Ht.isAsyncIterable)(e))for await(const t of e)yield t;else for(const t of e)yield t}))};var Qt={concat:void 0};const Xt=v;Qt.concat=function(t,...n){return(0,Xt.go)((function*(){for(const e of[t,...n])yield*e}))};var Yt={},Zt={};Zt.copyIterable=Zt.copyAsyncIterable=void 0,Zt.copyAsyncIterable=async function*(t){for await(const n of t)yield n},Zt.copyIterable=function*(t){for(const n of t)yield n},Yt.dropAsync=void 0;const $t=v,tn=Zt,nn=b;Yt.dropAsync=function(t,n){return(0,nn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,nn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,tn.copyAsyncIterable)(t):(0,$t.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{let t;for(;!(({value:t,done:o}=await r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var en={dropRightAsync:void 0};const rn=v,on=Zt,an=b;en.dropRightAsync=function(t,n){return(0,an.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,an.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,on.copyAsyncIterable)(t):(0,rn.go)((async function*(){const e=(await async function(t){const n=[];for await(const e of t)n.push(e);return n}(t)).slice(0,-n);for(const t of e)yield t}))};var sn={dropRight:void 0};const cn=v,un=Zt,fn=b;sn.dropRight=function(t,n){return(0,fn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,fn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,un.copyIterable)(t):(0,cn.go)((function*(){const e=Array.from(t);yield*e.slice(0,-n)}))};var ln={dropUntilAsync:void 0};const yn=B;ln.dropUntilAsync=function(t,n){return(0,yn.isAsyncIterable)(t)?async function*(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=await r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}(t):async function*(t){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}(t)};var dn={};dn.dropUntil=void 0,dn.dropUntil=function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}};var vn={drop:void 0};const pn=v,bn=Zt,mn=b;vn.drop=function(t,n){return(0,mn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,mn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,bn.copyIterable)(t):(0,pn.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{let t;for(;!(({value:t,done:o}=r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var hn={filterAsync:void 0};const gn=B;hn.filterAsync=function(t,n){return(0,gn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e)&&(yield r),e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e)&&(yield r),e++}(t)};var An={};An.filter=void 0,An.filter=function*(t,n){let e=0;for(const r of t)n(r,e)&&(yield r),e++};var wn={},Sn={},En={flattenByAsync:void 0};const In=B;function On(t){return(0,In.isIterable)(t)&&(0,In.isntChar)(t)}En.flattenByAsync=function(t,n){return(0,In.isAsyncIterable)(t)?async function*(t){const r=1;for await(const o of t)On(o)&&await n(o,r)?yield*e(o,r+1):yield o}(t):function(t){return e(t,1)}(t);async function*e(t,r){for(const o of t)On(o)&&await n(o,r)?yield*e(o,r+1):yield o}},Sn.flattenDeepAsync=void 0;const jn=En,xn=b;Sn.flattenDeepAsync=function(t,n=1/0){return(0,xn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,xn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,jn.flattenByAsync)(t,((t,e)=>e<=n))},wn.flattenAsync=void 0;const Nn=Sn;wn.flattenAsync=function(t){return(0,Nn.flattenDeepAsync)(t,1)};var Tn={flattenBy:void 0};const kn=B;Tn.flattenBy=function(t,n){return function*t(e,r){for(const i of e)o=i,(0,kn.isIterable)(o)&&(0,kn.isntChar)(o)&&n(i,r)?yield*t(i,r+1):yield i;var o}(t,1)};var _n={flattenDeep:void 0};const Rn=Tn,Bn=b;_n.flattenDeep=function(t,n=1/0){return(0,Bn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,Bn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,Rn.flattenBy)(t,((t,e)=>e<=n))};var Pn={flatten:void 0};const qn=_n;Pn.flatten=function(t){return(0,qn.flattenDeep)(t,1)};var Cn={mapAsync:void 0};const Jn=B;Cn.mapAsync=function(t,n){return(0,Jn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)yield await n(r,e),e++}(t):async function*(t){let e=0;for(const r of t)yield await n(r,e),e++}(t)};var Un={};Un.map=void 0,Un.map=function*(t,n){let e=0;for(const r of t)yield n(r,e),e++};var zn={repeatAsync:void 0};const Dn=v,Fn=b;zn.repeatAsync=function(t,n){return(0,Fn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Fn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Dn.go)((async function*(){const e=[];if(n>0){for await(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Ln={repeat:void 0};const Mn=v,Vn=b;Ln.repeat=function(t,n){return(0,Vn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Vn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Mn.go)((function*(){const e=[];if(n>0){for(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Wn={sliceAsync:void 0};const Gn=v,Hn=b;Wn.sliceAsync=function(t,n,e=1/0){return(0,Hn.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,Hn.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,Hn.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Hn.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Gn.go)((async function*(){let r=0;for await(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var Kn={slice:void 0};const Qn=v,Xn=b;Kn.slice=function(t,n,e=1/0){return(0,Xn.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,Xn.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,Xn.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Xn.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Qn.go)((function*(){let r=0;for(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var Yn={};Yn.splitAsync=void 0,Yn.splitAsync=async function*(t,n){let e=[];for await(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var Zn={splitByAsync:void 0};const $n=B;Zn.splitByAsync=function(t,n){return(0,$n.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t):async function*(t){let e=[],r=0;for(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t)};var te={};te.splitBy=void 0,te.splitBy=function*(t,n){let e=[],r=0;for(const o of t)n(o,r)?(yield e,e=[]):e.push(o),r++;yield e};var ne={};ne.split=void 0,ne.split=function*(t,n){let e=[];for(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var ee={takeAsync:void 0};const re=v,oe=b;ee.takeAsync=function(t,n){return(0,oe.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,oe.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,re.go)((async function*(){if(0!==n)for await(const e of t)if(yield e,0===--n)break}))};var ie={takeRightAsync:void 0};const ae=v,se=b;ie.takeRightAsync=function(t,n){return(0,se.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,se.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ae.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=await r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var ce={takeRight:void 0};const ue=v,fe=b;ce.takeRight=function(t,n){return(0,fe.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,fe.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ue.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var le={takeUntilAsync:void 0};const ye=B;le.takeUntilAsync=function(t,n){return(0,ye.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t){if(await n(r,e))break;yield r,e++}}(t):async function*(t){let e=0;for(const r of t){if(await n(r,e))break;yield r,e++}}(t)};var de={};de.takeUntil=void 0,de.takeUntil=function*(t,n){let e=0;for(const r of t){if(n(r,e))break;yield r,e++}};var ve={take:void 0};const pe=v,be=b;ve.take=function(t,n){return(0,be.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,be.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,pe.go)((function*(){if(0!==n)for(const e of t)if(yield e,0===--n)break}))};var me={tapAsync:void 0};const he=B;me.tapAsync=function(t,n){return(0,he.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e),yield r,e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e),yield r,e++}(t)};var ge={};ge.tap=void 0,ge.tap=function*(t,n){let e=0;for(const r of t)n(r,e),yield r,e++};var Ae={};Ae.toAsyncIterable=void 0,Ae.toAsyncIterable=async function*(t){for(const n of t)yield n};var we={};we.transformAsync=void 0,we.transformAsync=async function*(t,n){yield*n(t)};var Se={};Se.transform=void 0,Se.transform=function*(t,n){yield*n(t)};var Ee={};Ee.uniqAsync=void 0,Ee.uniqAsync=async function*(t){const n=new Set;for await(const e of t)n.has(e)||(yield e,n.add(e))};var Ie={uniqByAsync:void 0};const Oe=B;Ie.uniqByAsync=function(t,n){return(0,Oe.isAsyncIterable)(t)?async function*(t){const e=new Set;let r=0;for await(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t):async function*(t){const e=new Set;let r=0;for(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t)};var je={};je.uniqBy=void 0,je.uniqBy=function*(t,n){const e=new Set;let r=0;for(const o of t){const t=n(o,r);e.has(t)||(yield o,e.add(t)),r++}};var xe={};xe.uniq=void 0,xe.uniq=function*(t){const n=new Set;for(const e of t)n.has(e)||(yield e,n.add(e))};var Ne={zipAsync:void 0};const Te=B;var ke;!function(t){t[t.Sync=0]="Sync",t[t.Async=1]="Async"}(ke||(ke={})),Ne.zipAsync=function(t,...n){return async function*(...t){var n,e,r,o;const i=t.length,a=t.map((t=>(0,Te.isAsyncIterable)(t)?[ke.Async,t[Symbol.asyncIterator]()]:[ke.Sync,t[Symbol.iterator]()])),s=a.map((()=>!1));try{for(;;){const t=new Array(i);for(let n=0;n<i;n++){const[e,r]=a[n];let o;if(o=e===ke.Async?await r.next():r.next(),o.done)return void(s[n]=!0);t[n]=o.value}yield t}}finally{const t=a.filter(((t,n)=>!s[n]));for(const[i,a]of t)i===ke.Async?await(null===(e=(n=a).return)||void 0===e?void 0:e.call(n)):null===(o=(r=a).return)||void 0===o||o.call(r)}}(t,...n)};var _e={};_e.zip=void 0,_e.zip=function(t,...n){return function*(...t){const n=t.length,e=t.map((t=>t[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const t=new Array(n);for(let o=0;o<n;o++){const{value:n,done:i}=e[o].next();if(i)return void(r[o]=!0);t[o]=n}yield t}}finally{e.filter(((t,n)=>!r[n])).forEach((t=>{var n;return null===(n=t.return)||void 0===n?void 0:n.call(t)}))}}(t,...n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(d,t),r(R,t),r(Lt,t),r(Mt,t),r(Gt,t),r(Qt,t),r(Yt,t),r(en,t),r(sn,t),r(ln,t),r(dn,t),r(vn,t),r(hn,t),r(An,t),r(wn,t),r(En,t),r(Tn,t),r(Sn,t),r(_n,t),r(Pn,t),r(Cn,t),r(Un,t),r(zn,t),r(Ln,t),r(Wn,t),r(Kn,t),r(Yn,t),r(Zn,t),r(te,t),r(ne,t),r(ee,t),r(ie,t),r(ce,t),r(le,t),r(de,t),r(ve,t),r(me,t),r(ge,t),r(Ae,t),r(we,t),r(Se,t),r(Ee,t),r(Ie,t),r(je,t),r(xe,t),r(Ne,t),r(_e,t)}(y);var Re={},Be={};Be.consume=void 0,Be.consume=function(t,n){return n(t)};var Pe={eachAsync:void 0};const qe=B;Pe.eachAsync=function(t,n){return(0,qe.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t)await n(r,e),e++}(t):async function(t){let e=0;for(const r of t)await n(r,e),e++}(t)};var Ce={};Ce.each=void 0,Ce.each=function(t,n){let e=0;for(const r of t)n(r,e),e++};var Je={everyAsync:void 0};const Ue=B;Je.everyAsync=function(t,n){return(0,Ue.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(!await n(r,e))return!1;e++}return!0}(t):async function(t){let e=0;for(const r of t){if(!await n(r,e))return!1;e++}return!0}(t)};var ze={};ze.every=void 0,ze.every=function(t,n){let e=0;for(const r of t){if(!n(r,e))return!1;e++}return!0};var De={findAsync:void 0};const Fe=B;De.findAsync=function(t,n){return(0,Fe.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return r;e++}return}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return r;e++}return}(t)};var Le={};Le.find=void 0,Le.find=function(t,n){let e=0;for(const r of t){if(n(r,e))return r;e++}};var Me={};Me.firstAsync=void 0,Me.firstAsync=async function(t){for await(const n of t)return n};var Ve={};Ve.first=void 0,Ve.first=function(t){for(const n of t)return n};var We={};We.includesAsync=void 0,We.includesAsync=async function(t,n){for await(const e of t)if(e===n)return!0;return!1};var Ge={};Ge.includes=void 0,Ge.includes=function(t,n){for(const e of t)if(e===n)return!0;return!1};var He={};He.matchAsync=void 0,He.matchAsync=async function(t,n){const e=n.length;let r=0;for await(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Ke={};Ke.match=void 0,Ke.match=function(t,n){const e=n.length;let r=0;for(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Qe={reduceAsync:void 0};const Xe=B;Qe.reduceAsync=function(t,n,e){return(0,Xe.isUndefined)(e)?function(t,n){return(0,Xe.isAsyncIterable)(t)?e(t):r(t);async function e(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,a=await i(r),s=1;for(;({value:t,done:o}=await r.next()),!o;)a=await n(a,t,s++);return a}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}async function i(t){const n=await t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}async function r(t){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=await n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}}(t,n):function(t,n,e){return(0,Xe.isAsyncIterable)(t)?o(t):r(t);async function r(t){let r=e,o=0;for(const e of t)r=await n(r,e,o++);return r}async function o(t){let r=e,o=0;for await(const e of t)r=await n(r,e,o++);return r}}(t,n,e)};var Ye={reduce:void 0};const Ze=B;Ye.reduce=function(t,n,e){return(0,Ze.isUndefined)(e)?function(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}(t,n):function(t,n,e){let r=e,o=0;for(const e of t)r=n(r,e,o++);return r}(t,n,e)};var $e={someAsync:void 0};const tr=B;$e.someAsync=function(t,n){return(0,tr.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return!0;e++}return!1}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return!0;e++}return!1}(t)};var nr={};nr.some=void 0,nr.some=function(t,n){let e=0;for(const r of t){if(n(r,e))return!0;e++}return!1};var er={};er.lastAsync=void 0,er.lastAsync=async function(t){var n;const e=t[Symbol.asyncIterator]();let r;try{let t,o;for(;({value:t,done:r}=await e.next()),!r;)o=t;return o}finally{r||await(null===(n=e.return)||void 0===n?void 0:n.call(e))}};var rr={};rr.last=void 0,rr.last=function(t){var n;const e=t[Symbol.iterator]();let r;try{let t,o;for(;({value:t,done:r}=e.next()),!r;)o=t;return o}finally{r||null===(n=e.return)||void 0===n||n.call(e)}};var or={toArrayAsync:void 0};const ir=Be;or.toArrayAsync=function(t){return(0,ir.consume)(t,(async t=>{const n=[];for await(const e of t)n.push(e);return n}))};var ar={toArray:void 0};const sr=Be;ar.toArray=function(t){return(0,sr.consume)(t,(t=>Array.from(t)))};var cr={toSetAsync:void 0};const ur=Be;cr.toSetAsync=function(t){return(0,ur.consume)(t,(async t=>{const n=new Set;for await(const e of t)n.add(e);return n}))};var fr={toSet:void 0};const lr=Be;fr.toSet=function(t){return(0,lr.consume)(t,(t=>new Set(t)))},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(Be,t),r(Pe,t),r(Ce,t),r(Je,t),r(ze,t),r(De,t),r(Le,t),r(Me,t),r(Ve,t),r(We,t),r(Ge,t),r(He,t),r(Ke,t),r(Qe,t),r(Ye,t),r($e,t),r(nr,t),r(er,t),r(rr,t),r(or,t),r(ar,t),r(cr,t),r(fr,t)}(Re),function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(y,t),r(Re,t)}(l);var yr={},dr={};dr.traverseErrorPrototypeChain=void 0,dr.traverseErrorPrototypeChain=function*(t){let n=t;for(;(n=Object.getPrototypeOf(n))&&(yield n,n!==Error.prototype););},yr.getErrorNames=void 0;const vr=B,pr=dr;yr.getErrorNames=function*(t){var n;if((0,vr.isError)(t))for(const e of(0,pr.traverseErrorPrototypeChain)(t))(null===(n=e.constructor)||void 0===n?void 0:n.name)&&(yield e.constructor.name);else yield t.name,yield*t.ancestors};var br={isSerializableError:void 0};const mr=B;br.isSerializableError=function(t){return(0,mr.isObject)(t)&&(0,mr.isString)(t.name)&&(0,mr.isString)(t.message)&&((0,mr.isString)(t.stack)||(0,mr.isNull)(t.stack))&&(0,mr.isArray)(t.ancestors)&&t.ancestors.every(mr.isString)},f.CustomError=void 0;const hr=l,gr=yr,Ar=B,wr=br;class Sr extends Error{get name(){var t,n;return null!==(n=null!==(t=(0,hr.first)((0,gr.getErrorNames)(this)))&&void 0!==t?t:Sr.name)&&void 0!==n?n:"CustomError"}static[Symbol.hasInstance](t){var n;if((0,Ar.isError)(t)||(0,wr.isSerializableError)(t)){const e=[null!==(n=this.prototype.constructor.name)&&void 0!==n?n:this.name,...(0,gr.getErrorNames)(this.prototype)].reverse(),r=(0,hr.toArray)((0,gr.getErrorNames)(t)).reverse();return e.every(((t,n)=>t===r[n]))}return!1}}f.CustomError=Sr;var Er={AssertionError:void 0};const Ir=f;class Or extends Ir.CustomError{}Er.AssertionError=Or;var jr={normalize:void 0};const xr=yr,Nr=l;jr.normalize=function(t){var n;const[e,...r]=(0,Nr.toArray)((0,xr.getErrorNames)(t));return{name:e,ancestors:r,message:t.message,stack:null!==(n=t.stack)&&void 0!==n?n:null}};var Tr={assert:void 0};const kr=Er;Tr.assert=function(t,n){if(!t)throw new kr.AssertionError(n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(f,t),r(Er,t),r(br,t),r(jr,t),r(Tr,t),r(yr,t),r(dr,t)}(u);class _r extends u.CustomError{static[Symbol.hasInstance](t){return B.isError(t)?l.some(u.getErrorNames(t),(t=>"AbortError"===t)):super[Symbol.hasInstance](t)}}var Rr;const Br=null!==(Rr=globalThis.AbortSignal)&&void 0!==Rr?Rr:i;t.AbortController=c,t.AbortError=_r,t.AbortSignal=Br,t.raceAbortSignals=function(t){const n=new c,e=[];for(const o of t)if(o){if(o.aborted){n.abort();break}o.addEventListener("abort",r),e.push(o)}return n.signal;function r(){n.abort(),e.forEach((t=>t.removeEventListener("abort",r)))}},t.timeoutSignal=function(t){const n=new c;return setTimeout((()=>n.abort()),t),n.signal},t.withAbortSignal=async function(t,n){return new Promise((async(e,r)=>{if(t.aborted)return o();t.addEventListener("abort",o);try{e(await n())}catch(t){r(t)}finally{t.removeEventListener("abort",o)}function o(){r(new _r)}}))},Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).ExtraAbort={})}(this,(function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={exports:{}};const{AbortController:r,AbortSignal:o}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=r;var i=e.exports.AbortSignal=o;e.exports.default=r;var a,s=e.exports;const c=null!==(a=globalThis.AbortController)&&void 0!==a?a:s;var u={},f={},l={},y={},d={},v={},b={};b.go=void 0,b.go=function(t){return t()},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)})(b,t)}(v),d.chunkAsync=void 0;const p=v,m=u;d.chunkAsync=function(t,n){return(0,m.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,m.assert)(n>0,"The parameter size must be greater than 0"),(0,p.go)((async function*(){let e=[];for await(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var g={},h={},A={};function w(t){return Array.isArray(t)}A.isntEmptyArray=A.isEmptyArray=A.isntArray=A.isArray=void 0,A.isArray=w,A.isntArray=function(t){return!w(t)},A.isEmptyArray=function(t){return 0===t.length},A.isntEmptyArray=function(t){return 0!==t.length};var O={},S={};function j(t){return null===t}S.isntNull=S.isNull=void 0,S.isNull=j,S.isntNull=function(t){return!j(t)};var I={};function E(t){return void 0===t}I.isntUndefined=I.isUndefined=void 0,I.isUndefined=E,I.isntUndefined=function(t){return!E(t)},O.isntAsyncIterable=O.isAsyncIterable=void 0;const N=S,P=I;function _(t){return(0,N.isntNull)(t)&&(0,P.isntUndefined)(t)&&"function"==typeof t[Symbol.asyncIterator]}O.isAsyncIterable=_,O.isntAsyncIterable=function(t){return!_(t)};var x={};function B(t){return"bigint"==typeof t}x.isntBigInt=x.isBigInt=void 0,x.isBigInt=B,x.isntBigInt=function(t){return!B(t)};var T={};function k(t){return"boolean"==typeof t}T.isntBoolean=T.isBoolean=void 0,T.isBoolean=k,T.isntBoolean=function(t){return!k(t)};var R={},J={};function U(t){return"string"==typeof t}J.isntString=J.isString=void 0,J.isString=U,J.isntString=function(t){return!U(t)},R.isntChar=R.isChar=void 0;const q=J;function C(t){return(0,q.isString)(t)&&1===t.length}R.isChar=C,R.isntChar=function(t){return!C(t)};var D={};function F(t){return t instanceof Date}D.isntDate=D.isDate=void 0,D.isDate=F,D.isntDate=function(t){return!F(t)};var L={};L.inEnum=void 0,L.inEnum=function(t,n){return Object.values(n).includes(t)};var z={};function M(t){return t instanceof Error}z.isntError=z.isError=void 0,z.isError=M,z.isntError=function(t){return!M(t)};var V={};function W(t){return!t}V.isntFalsy=V.isFalsy=void 0,V.isFalsy=W,V.isntFalsy=function(t){return!W(t)};var G={};function H(t){return"function"==typeof t}G.isntFunction=G.isFunction=void 0,G.isFunction=H,G.isntFunction=function(t){return!H(t)};var K={};K.isntIterable=K.isIterable=void 0;const Q=S,X=I;function Y(t){return(0,Q.isntNull)(t)&&(0,X.isntUndefined)(t)&&"function"==typeof t[Symbol.iterator]}K.isIterable=Y,K.isntIterable=function(t){return!Y(t)};var Z={},$={};var tt=Function.prototype,nt=Object.prototype,et=tt.toString,rt=nt.hasOwnProperty,ot=et.call(Object),it=nt.toString,at=function(t,n){return function(e){return t(n(e))}}(Object.getPrototypeOf,Object);var st=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=it.call(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t))return!1;var n=at(t);if(null===n)return!0;var e=rt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&et.call(e)==ot},ct=n&&n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};$.isntEmptyObject=$.isEmptyObject=$.isntPlainObject=$.isPlainObject=$.isntObject=$.isObject=void 0;const ut=ct(st);function ft(t){return null!==t&&"object"==typeof t}function lt(t){return(0,ut.default)(t)}$.isObject=ft,$.isntObject=function(t){return!ft(t)},$.isPlainObject=lt,$.isntPlainObject=function(t){return!lt(t)},$.isEmptyObject=function(t){return 0===Object.keys(t).length},$.isntEmptyObject=function(t){return 0!==Object.keys(t).length};var yt={};function dt(t){return"number"==typeof t}yt.isntNumber=yt.isNumber=void 0,yt.isNumber=dt,yt.isntNumber=function(t){return!dt(t)},Z.isntJsonRpcError=Z.isJsonRpcError=Z.isntJsonRpcSuccess=Z.isJsonRpcSuccess=Z.isntJsonRpcRequest=Z.isJsonRpcRequest=Z.isntJsonRpcNotification=Z.isJsonRpcNotification=void 0;const vt=A,bt=$,pt=J,mt=yt,gt=I;function ht(t){return(0,pt.isString)(t)||(0,mt.isNumber)(t)}function At(t){return(0,vt.isArray)(t)||(0,bt.isObject)(t)}function wt(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&(0,pt.isString)(t.method)&&(0,gt.isUndefined)(t.id)&&At(t.params)}function Ot(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&(0,pt.isString)(t.method)&&ht(t.id)&&At(t.params)}function St(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&(0,pt.isString)(t.id)&&"result"in t}function jt(t){return(0,bt.isPlainObject)(t)&&(0,pt.isString)(t.jsonrpc)&&ht(t.id)&&function(t){return(0,bt.isPlainObject)(t)&&(0,mt.isNumber)(t.code)&&(0,pt.isString)(t.message)&&((0,gt.isUndefined)(t.data)||(0,bt.isObject)(t.data))}(t.error)}Z.isJsonRpcNotification=wt,Z.isntJsonRpcNotification=function(t){return!wt(t)},Z.isJsonRpcRequest=Ot,Z.isntJsonRpcRequest=function(t){return!Ot(t)},Z.isJsonRpcSuccess=St,Z.isntJsonRpcSuccess=function(t){return!St(t)},Z.isJsonRpcError=jt,Z.isntJsonRpcError=function(t){return!jt(t)};var It={};It.isntJson=It.isJson=void 0,It.isJson=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},It.isntJson=function t(n){return!t()};var Et={};Et.isAbsoluteURL=void 0,Et.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(A,t),r(O,t),r(x,t),r(T,t),r(R,t),r(D,t),r(L,t),r(z,t),r(V,t),r(G,t),r(K,t),r(Z,t),r(It,t),r(S,t),r(yt,t),r($,t),r(J,t),r(I,t),r(Et,t)}(h),g.chunkByAsync=void 0;const Nt=h;g.chunkByAsync=function(t,n){return(0,Nt.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t):async function*(t){let e=[],r=0;for(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t)};var Pt={};Pt.chunkBy=void 0,Pt.chunkBy=function*(t,n){let e=[],r=0;for(const o of t)e.push(o),n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)};var _t={chunk:void 0};const xt=v,Bt=u;_t.chunk=function(t,n){return(0,Bt.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,Bt.assert)(n>0,"The parameter size must be greater than 0"),(0,xt.go)((function*(){let e=[];for(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var Tt={concatAsync:void 0};const kt=h,Rt=v;Tt.concatAsync=function(t,...n){return(0,Rt.go)((async function*(){for(const e of[t,...n])if((0,kt.isAsyncIterable)(e))for await(const t of e)yield t;else for(const t of e)yield t}))};var Jt={concat:void 0};const Ut=v;Jt.concat=function(t,...n){return(0,Ut.go)((function*(){for(const e of[t,...n])yield*e}))};var qt={},Ct={};Ct.copyIterable=Ct.copyAsyncIterable=void 0,Ct.copyAsyncIterable=async function*(t){for await(const n of t)yield n},Ct.copyIterable=function*(t){for(const n of t)yield n},qt.dropAsync=void 0;const Dt=v,Ft=Ct,Lt=u;qt.dropAsync=function(t,n){return(0,Lt.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Lt.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Ft.copyAsyncIterable)(t):(0,Dt.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{let t;for(;!(({value:t,done:o}=await r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var zt={dropRightAsync:void 0};const Mt=v,Vt=Ct,Wt=u;zt.dropRightAsync=function(t,n){return(0,Wt.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Wt.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Vt.copyAsyncIterable)(t):(0,Mt.go)((async function*(){const e=(await async function(t){const n=[];for await(const e of t)n.push(e);return n}(t)).slice(0,-n);for(const t of e)yield t}))};var Gt={dropRight:void 0};const Ht=v,Kt=Ct,Qt=u;Gt.dropRight=function(t,n){return(0,Qt.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Qt.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Kt.copyIterable)(t):(0,Ht.go)((function*(){const e=Array.from(t);yield*e.slice(0,-n)}))};var Xt={dropUntilAsync:void 0};const Yt=h;Xt.dropUntilAsync=function(t,n){return(0,Yt.isAsyncIterable)(t)?async function*(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=await r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}(t):async function*(t){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}(t)};var Zt={};Zt.dropUntil=void 0,Zt.dropUntil=function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}};var $t={drop:void 0};const tn=v,nn=Ct,en=u;$t.drop=function(t,n){return(0,en.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,en.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,nn.copyIterable)(t):(0,tn.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{let t;for(;!(({value:t,done:o}=r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var rn={filterAsync:void 0};const on=h;rn.filterAsync=function(t,n){return(0,on.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e)&&(yield r),e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e)&&(yield r),e++}(t)};var an={};an.filter=void 0,an.filter=function*(t,n){let e=0;for(const r of t)n(r,e)&&(yield r),e++};var sn={},cn={},un={flattenByAsync:void 0};const fn=h;function ln(t){return(0,fn.isIterable)(t)&&(0,fn.isntChar)(t)}un.flattenByAsync=function(t,n){return(0,fn.isAsyncIterable)(t)?async function*(t){const r=1;for await(const o of t)ln(o)&&await n(o,r)?yield*e(o,r+1):yield o}(t):function(t){return e(t,1)}(t);async function*e(t,r){for(const o of t)ln(o)&&await n(o,r)?yield*e(o,r+1):yield o}},cn.flattenDeepAsync=void 0;const yn=un,dn=u;cn.flattenDeepAsync=function(t,n=1/0){return(0,dn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,dn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,yn.flattenByAsync)(t,((t,e)=>e<=n))},sn.flattenAsync=void 0;const vn=cn;sn.flattenAsync=function(t){return(0,vn.flattenDeepAsync)(t,1)};var bn={flattenBy:void 0};const pn=h;bn.flattenBy=function(t,n){return function*t(e,r){for(const i of e)(0,pn.isIterable)(o=i)&&(0,pn.isntChar)(o)&&n(i,r)?yield*t(i,r+1):yield i;var o}(t,1)};var mn={flattenDeep:void 0};const gn=bn,hn=u;mn.flattenDeep=function(t,n=1/0){return(0,hn.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,hn.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,gn.flattenBy)(t,((t,e)=>e<=n))};var An={flatten:void 0};const wn=mn;An.flatten=function(t){return(0,wn.flattenDeep)(t,1)};var On={mapAsync:void 0};const Sn=h;On.mapAsync=function(t,n){return(0,Sn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)yield await n(r,e),e++}(t):async function*(t){let e=0;for(const r of t)yield await n(r,e),e++}(t)};var jn={};jn.map=void 0,jn.map=function*(t,n){let e=0;for(const r of t)yield n(r,e),e++};var In={repeatAsync:void 0};const En=v,Nn=u;In.repeatAsync=function(t,n){return(0,Nn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Nn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,En.go)((async function*(){const e=[];if(n>0){for await(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Pn={repeat:void 0};const _n=v,xn=u;Pn.repeat=function(t,n){return(0,xn.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,xn.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,_n.go)((function*(){const e=[];if(n>0){for(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var Bn={sliceAsync:void 0};const Tn=v,kn=u;Bn.sliceAsync=function(t,n,e=1/0){return(0,kn.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,kn.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,kn.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,kn.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Tn.go)((async function*(){let r=0;for await(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var Rn={slice:void 0};const Jn=v,Un=u;Rn.slice=function(t,n,e=1/0){return(0,Un.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,Un.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,Un.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Un.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,Jn.go)((function*(){let r=0;for(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var qn={};qn.splitAsync=void 0,qn.splitAsync=async function*(t,n){let e=[];for await(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var Cn={splitByAsync:void 0};const Dn=h;Cn.splitByAsync=function(t,n){return(0,Dn.isAsyncIterable)(t)?async function*(t){let e=[],r=0;for await(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t):async function*(t){let e=[],r=0;for(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t)};var Fn={};Fn.splitBy=void 0,Fn.splitBy=function*(t,n){let e=[],r=0;for(const o of t)n(o,r)?(yield e,e=[]):e.push(o),r++;yield e};var Ln={};Ln.split=void 0,Ln.split=function*(t,n){let e=[];for(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var zn={takeAsync:void 0};const Mn=v,Vn=u;zn.takeAsync=function(t,n){return(0,Vn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Vn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,Mn.go)((async function*(){if(0!==n)for await(const e of t)if(yield e,0===--n)break}))};var Wn={takeRightAsync:void 0};const Gn=v,Hn=u;Wn.takeRightAsync=function(t,n){return(0,Hn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Hn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,Gn.go)((async function*(){var e;const r=t[Symbol.asyncIterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=await r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}))};var Kn={takeRight:void 0};const Qn=v,Xn=u;Kn.takeRight=function(t,n){return(0,Xn.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Xn.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,Qn.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var Yn={takeUntilAsync:void 0};const Zn=h;Yn.takeUntilAsync=function(t,n){return(0,Zn.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t){if(await n(r,e))break;yield r,e++}}(t):async function*(t){let e=0;for(const r of t){if(await n(r,e))break;yield r,e++}}(t)};var $n={};$n.takeUntil=void 0,$n.takeUntil=function*(t,n){let e=0;for(const r of t){if(n(r,e))break;yield r,e++}};var te={take:void 0};const ne=v,ee=u;te.take=function(t,n){return(0,ee.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,ee.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ne.go)((function*(){if(0!==n)for(const e of t)if(yield e,0===--n)break}))};var re={tapAsync:void 0};const oe=h;re.tapAsync=function(t,n){return(0,oe.isAsyncIterable)(t)?async function*(t){let e=0;for await(const r of t)await n(r,e),yield r,e++}(t):async function*(t){let e=0;for(const r of t)await n(r,e),yield r,e++}(t)};var ie={};ie.tap=void 0,ie.tap=function*(t,n){let e=0;for(const r of t)n(r,e),yield r,e++};var ae={};ae.toAsyncIterable=void 0,ae.toAsyncIterable=async function*(t){for(const n of t)yield n};var se={};se.transformAsync=void 0,se.transformAsync=async function*(t,n){yield*n(t)};var ce={};ce.transform=void 0,ce.transform=function*(t,n){yield*n(t)};var ue={};ue.uniqAsync=void 0,ue.uniqAsync=async function*(t){const n=new Set;for await(const e of t)n.has(e)||(yield e,n.add(e))};var fe={uniqByAsync:void 0};const le=h;fe.uniqByAsync=function(t,n){return(0,le.isAsyncIterable)(t)?async function*(t){const e=new Set;let r=0;for await(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t):async function*(t){const e=new Set;let r=0;for(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t)};var ye={};ye.uniqBy=void 0,ye.uniqBy=function*(t,n){const e=new Set;let r=0;for(const o of t){const t=n(o,r);e.has(t)||(yield o,e.add(t)),r++}};var de={};de.uniq=void 0,de.uniq=function*(t){const n=new Set;for(const e of t)n.has(e)||(yield e,n.add(e))};var ve={zipAsync:void 0};const be=h;var pe;!function(t){t[t.Sync=0]="Sync",t[t.Async=1]="Async"}(pe||(pe={})),ve.zipAsync=function(t,...n){return async function*(...t){var n,e,r,o;const i=t.length,a=t.map((t=>(0,be.isAsyncIterable)(t)?[pe.Async,t[Symbol.asyncIterator]()]:[pe.Sync,t[Symbol.iterator]()])),s=a.map((()=>!1));try{for(;;){const t=new Array(i);for(let n=0;n<i;n++){const[e,r]=a[n];let o;if(o=e===pe.Async?await r.next():r.next(),o.done)return void(s[n]=!0);t[n]=o.value}yield t}}finally{const t=a.filter(((t,n)=>!s[n]));for(const[i,a]of t)i===pe.Async?await(null===(e=(n=a).return)||void 0===e?void 0:e.call(n)):null===(o=(r=a).return)||void 0===o||o.call(r)}}(t,...n)};var me={};me.zip=void 0,me.zip=function(t,...n){return function*(...t){const n=t.length,e=t.map((t=>t[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const t=new Array(n);for(let o=0;o<n;o++){const{value:n,done:i}=e[o].next();if(i)return void(r[o]=!0);t[o]=n}yield t}}finally{e.filter(((t,n)=>!r[n])).forEach((t=>{var n;return null===(n=t.return)||void 0===n?void 0:n.call(t)}))}}(t,...n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(d,t),r(g,t),r(Pt,t),r(_t,t),r(Tt,t),r(Jt,t),r(qt,t),r(zt,t),r(Gt,t),r(Xt,t),r(Zt,t),r($t,t),r(rn,t),r(an,t),r(sn,t),r(un,t),r(bn,t),r(cn,t),r(mn,t),r(An,t),r(On,t),r(jn,t),r(In,t),r(Pn,t),r(Bn,t),r(Rn,t),r(qn,t),r(Cn,t),r(Fn,t),r(Ln,t),r(zn,t),r(Wn,t),r(Kn,t),r(Yn,t),r($n,t),r(te,t),r(re,t),r(ie,t),r(ae,t),r(se,t),r(ce,t),r(ue,t),r(fe,t),r(ye,t),r(de,t),r(ve,t),r(me,t)}(y);var ge={},he={};he.consume=void 0,he.consume=function(t,n){return n(t)};var Ae={eachAsync:void 0};const we=h;Ae.eachAsync=function(t,n){return(0,we.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t)await n(r,e),e++}(t):async function(t){let e=0;for(const r of t)await n(r,e),e++}(t)};var Oe={};Oe.each=void 0,Oe.each=function(t,n){let e=0;for(const r of t)n(r,e),e++};var Se={everyAsync:void 0};const je=h;Se.everyAsync=function(t,n){return(0,je.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(!await n(r,e))return!1;e++}return!0}(t):async function(t){let e=0;for(const r of t){if(!await n(r,e))return!1;e++}return!0}(t)};var Ie={};Ie.every=void 0,Ie.every=function(t,n){let e=0;for(const r of t){if(!n(r,e))return!1;e++}return!0};var Ee={findAsync:void 0};const Ne=h;Ee.findAsync=function(t,n){return(0,Ne.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return r;e++}return}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return r;e++}return}(t)};var Pe={};Pe.find=void 0,Pe.find=function(t,n){let e=0;for(const r of t){if(n(r,e))return r;e++}};var _e={};_e.firstAsync=void 0,_e.firstAsync=async function(t){for await(const n of t)return n};var xe={};xe.first=void 0,xe.first=function(t){for(const n of t)return n};var Be={};Be.includesAsync=void 0,Be.includesAsync=async function(t,n){for await(const e of t)if(e===n)return!0;return!1};var Te={};Te.includes=void 0,Te.includes=function(t,n){for(const e of t)if(e===n)return!0;return!1};var ke={};ke.matchAsync=void 0,ke.matchAsync=async function(t,n){const e=n.length;let r=0;for await(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Re={};Re.match=void 0,Re.match=function(t,n){const e=n.length;let r=0;for(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var Je={reduceAsync:void 0};const Ue=h;Je.reduceAsync=function(t,n,e){return(0,Ue.isUndefined)(e)?function(t,n){return(0,Ue.isAsyncIterable)(t)?e(t):r(t);async function e(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,a=await i(r),s=1;for(;({value:t,done:o}=await r.next()),!o;)a=await n(a,t,s++);return a}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}async function i(t){const n=await t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}async function r(t){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=await n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}}(t,n):function(t,n,e){return(0,Ue.isAsyncIterable)(t)?o(t):r(t);async function r(t){let r=e,o=0;for(const e of t)r=await n(r,e,o++);return r}async function o(t){let r=e,o=0;for await(const e of t)r=await n(r,e,o++);return r}}(t,n,e)};var qe={reduce:void 0};const Ce=h;qe.reduce=function(t,n,e){return(0,Ce.isUndefined)(e)?function(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),s=1;for(;({value:t,done:o}=r.next()),!o;)a=n(a,t,s++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}(t,n):function(t,n,e){let r=e,o=0;for(const e of t)r=n(r,e,o++);return r}(t,n,e)};var De={someAsync:void 0};const Fe=h;De.someAsync=function(t,n){return(0,Fe.isAsyncIterable)(t)?async function(t){let e=0;for await(const r of t){if(await n(r,e))return!0;e++}return!1}(t):async function(t){let e=0;for(const r of t){if(await n(r,e))return!0;e++}return!1}(t)};var Le={};Le.some=void 0,Le.some=function(t,n){let e=0;for(const r of t){if(n(r,e))return!0;e++}return!1};var ze={};ze.lastAsync=void 0,ze.lastAsync=async function(t){var n;const e=t[Symbol.asyncIterator]();let r;try{let t,o;for(;({value:t,done:r}=await e.next()),!r;)o=t;return o}finally{r||await(null===(n=e.return)||void 0===n?void 0:n.call(e))}};var Me={};Me.last=void 0,Me.last=function(t){var n;const e=t[Symbol.iterator]();let r;try{let t,o;for(;({value:t,done:r}=e.next()),!r;)o=t;return o}finally{r||null===(n=e.return)||void 0===n||n.call(e)}};var Ve={toArrayAsync:void 0};const We=he;Ve.toArrayAsync=function(t){return(0,We.consume)(t,(async t=>{const n=[];for await(const e of t)n.push(e);return n}))};var Ge={toArray:void 0};const He=he;Ge.toArray=function(t){return(0,He.consume)(t,(t=>Array.from(t)))};var Ke={toSetAsync:void 0};const Qe=he;Ke.toSetAsync=function(t){return(0,Qe.consume)(t,(async t=>{const n=new Set;for await(const e of t)n.add(e);return n}))};var Xe={toSet:void 0};const Ye=he;Xe.toSet=function(t){return(0,Ye.consume)(t,(t=>new Set(t)))},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(he,t),r(Ae,t),r(Oe,t),r(Se,t),r(Ie,t),r(Ee,t),r(Pe,t),r(_e,t),r(xe,t),r(Be,t),r(Te,t),r(ke,t),r(Re,t),r(Je,t),r(qe,t),r(De,t),r(Le,t),r(ze,t),r(Me,t),r(Ve,t),r(Ge,t),r(Ke,t),r(Xe,t)}(ge),function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(y,t),r(ge,t)}(l);var Ze={},$e={},tr={};function nr(t){return Array.isArray(t)}tr.isntEmptyArray=tr.isEmptyArray=tr.isntArray=tr.isArray=void 0,tr.isArray=nr,tr.isntArray=function(t){return!nr(t)},tr.isEmptyArray=function(t){return 0===t.length},tr.isntEmptyArray=function(t){return 0!==t.length};var er={},rr={};function or(t){return null===t}rr.isntNull=rr.isNull=void 0,rr.isNull=or,rr.isntNull=function(t){return!or(t)};var ir={};function ar(t){return void 0===t}ir.isntUndefined=ir.isUndefined=void 0,ir.isUndefined=ar,ir.isntUndefined=function(t){return!ar(t)};var sr={};function cr(t){return"function"==typeof t}sr.isntFunction=sr.isFunction=void 0,sr.isFunction=cr,sr.isntFunction=function(t){return!cr(t)},er.isntAsyncIterable=er.isAsyncIterable=void 0;const ur=rr,fr=ir,lr=sr;function yr(t){return(0,ur.isntNull)(t)&&(0,fr.isntUndefined)(t)&&(0,lr.isFunction)(t[Symbol.asyncIterator])}er.isAsyncIterable=yr,er.isntAsyncIterable=function(t){return!yr(t)};var dr={};function vr(t){return"bigint"==typeof t}dr.isntBigInt=dr.isBigInt=void 0,dr.isBigInt=vr,dr.isntBigInt=function(t){return!vr(t)};var br={};function pr(t){return"boolean"==typeof t}br.isntBoolean=br.isBoolean=void 0,br.isBoolean=pr,br.isntBoolean=function(t){return!pr(t)};var mr={},gr={};function hr(t){return"string"==typeof t}gr.isntString=gr.isString=void 0,gr.isString=hr,gr.isntString=function(t){return!hr(t)},mr.isntChar=mr.isChar=void 0;const Ar=gr;function wr(t){return(0,Ar.isString)(t)&&1===t.length}mr.isChar=wr,mr.isntChar=function(t){return!wr(t)};var Or={};function Sr(t){return t instanceof Date}Or.isntDate=Or.isDate=void 0,Or.isDate=Sr,Or.isntDate=function(t){return!Sr(t)};var jr={};jr.inEnum=void 0,jr.inEnum=function(t,n){return Object.values(n).includes(t)};var Ir={};function Er(t){return t instanceof Error}Ir.isntError=Ir.isError=void 0,Ir.isError=Er,Ir.isntError=function(t){return!Er(t)};var Nr={};function Pr(t){return!t}Nr.isntFalsy=Nr.isFalsy=void 0,Nr.isFalsy=Pr,Nr.isntFalsy=function(t){return!Pr(t)};var _r={};_r.isntIterable=_r.isIterable=void 0;const xr=rr,Br=ir,Tr=sr;function kr(t){return(0,xr.isntNull)(t)&&(0,Br.isntUndefined)(t)&&(0,Tr.isFunction)(t[Symbol.iterator])}_r.isIterable=kr,_r.isntIterable=function(t){return!kr(t)};var Rr={},Jr={};function Ur(t){return"number"==typeof t}Jr.isntNumber=Jr.isNumber=void 0,Jr.isNumber=Ur,Jr.isntNumber=function(t){return!Ur(t)};var qr={},Cr=n&&n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};qr.isntEmptyObject=qr.isEmptyObject=qr.isntPlainObject=qr.isPlainObject=qr.isntObject=qr.isObject=void 0;const Dr=Cr(st);function Fr(t){return null!==t&&"object"==typeof t}function Lr(t){return(0,Dr.default)(t)}qr.isObject=Fr,qr.isntObject=function(t){return!Fr(t)},qr.isPlainObject=Lr,qr.isntPlainObject=function(t){return!Lr(t)},qr.isEmptyObject=function(t){return 0===Object.keys(t).length},qr.isntEmptyObject=function(t){return 0!==Object.keys(t).length},Rr.isntJsonable=Rr.isJsonable=Rr.isntJson=Rr.isJson=void 0;const zr=rr,Mr=br,Vr=gr,Wr=Jr,Gr=tr,Hr=qr;function Kr(t){return(0,zr.isNull)(t)||(0,Mr.isBoolean)(t)||(0,Vr.isString)(t)||(0,Wr.isNumber)(t)||(0,Gr.isArray)(t)&&t.every(Kr)||(0,Hr.isPlainObject)(t)&&Object.values(t).every(Kr)}Rr.isJson=Kr,Rr.isntJson=function(t){return!Kr(t)},Rr.isJsonable=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},Rr.isntJsonable=function t(n){return!t()};var Qr={};Qr.isPromiseLike=Qr.isntPromiseLike=Qr.isntPromise=Qr.isPromise=void 0;const Xr=qr,Yr=sr;function Zr(t){return t instanceof Promise}function $r(t){return(0,Xr.isObject)(t)&&(0,Yr.isFunction)(t.then)}Qr.isPromise=Zr,Qr.isntPromise=function(t){return!Zr(t)},Qr.isntPromiseLike=function(t){return!$r(t)},Qr.isPromiseLike=$r;var to={};to.isAbsoluteURL=void 0,to.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(tr,t),r(er,t),r(dr,t),r(br,t),r(mr,t),r(Or,t),r(jr,t),r(Ir,t),r(Nr,t),r(sr,t),r(_r,t),r(Rr,t),r(rr,t),r(Jr,t),r(qr,t),r(Qr,t),r(gr,t),r(ir,t),r(to,t)}($e);var no={};no.traverseErrorPrototypeChain=void 0,no.traverseErrorPrototypeChain=function*(t){let n=t;for(;(n=Object.getPrototypeOf(n))&&(yield n,n!==Error.prototype););},Ze.getErrorNames=void 0;const eo=$e,ro=no;Ze.getErrorNames=function*(t){var n;if((0,eo.isError)(t))for(const e of(0,ro.traverseErrorPrototypeChain)(t))(null===(n=e.constructor)||void 0===n?void 0:n.name)&&(yield e.constructor.name);else yield t.name,yield*t.ancestors};var oo={isSerializableError:void 0};const io=$e;oo.isSerializableError=function(t){return(0,io.isObject)(t)&&(0,io.isString)(t.name)&&(0,io.isString)(t.message)&&((0,io.isString)(t.stack)||(0,io.isNull)(t.stack))&&(0,io.isArray)(t.ancestors)&&t.ancestors.every(io.isString)},f.CustomError=void 0;const ao=l,so=Ze,co=$e,uo=oo;class fo extends Error{get name(){var t,n;return null!==(n=null!==(t=(0,ao.first)((0,so.getErrorNames)(this)))&&void 0!==t?t:fo.name)&&void 0!==n?n:"CustomError"}static[Symbol.hasInstance](t){var n;if((0,co.isError)(t)||(0,uo.isSerializableError)(t)){const e=[null!==(n=this.prototype.constructor.name)&&void 0!==n?n:this.name,...(0,so.getErrorNames)(this.prototype)].reverse(),r=(0,ao.toArray)((0,so.getErrorNames)(t)).reverse();return e.every(((t,n)=>t===r[n]))}return!1}}f.CustomError=fo;var lo={AssertionError:void 0};const yo=f;class vo extends yo.CustomError{}lo.AssertionError=vo;var bo={normalize:void 0};const po=Ze,mo=l;bo.normalize=function(t){var n;const[e,...r]=(0,mo.toArray)((0,po.getErrorNames)(t));return{name:e,ancestors:r,message:t.message,stack:null!==(n=t.stack)&&void 0!==n?n:null}};var go={},ho={},Ao={};Ao.pass=void 0,Ao.pass=function(){},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)})(Ao,t)}(ho),go.hydrate=void 0;const wo=ho;function Oo(t,n){const e=function(){(0,wo.pass)()};return(e.prototype=Object.create(t.prototype)).constructor=e,Object.defineProperty(e,"name",{value:n}),e}go.hydrate=function(t){var n;const e=[t.name,...t.ancestors].slice(0,-1).reverse();let r=Error;for(const t of e)r=Oo(r,t);const o=new r;return o.name=t.name,o.message=t.message,o.stack=null!==(n=t.stack)&&void 0!==n?n:void 0,o};var So={assert:void 0};const jo=lo;So.assert=function(t,n){if(!t)throw new jo.AssertionError(n)},function(t){var e=n&&n.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),r=n&&n.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)};r(f,t),r(lo,t),r(oo,t),r(bo,t),r(go,t),r(So,t),r(Ze,t),r(no,t)}(u);class Io extends u.CustomError{static[Symbol.hasInstance](t){return $e.isError(t)?l.some(u.getErrorNames(t),(t=>"AbortError"===t)):super[Symbol.hasInstance](t)}}var Eo;const No=null!==(Eo=globalThis.AbortSignal)&&void 0!==Eo?Eo:i;t.AbortController=c,t.AbortError=Io,t.AbortSignal=No,t.raceAbortSignals=function(t){const n=new c,e=[];for(const o of t)if(o){if(o.aborted){n.abort();break}o.addEventListener("abort",r),e.push(o)}return n.signal;function r(){n.abort(),e.forEach((t=>t.removeEventListener("abort",r)))}},t.timeoutSignal=function(t){const n=new c;return setTimeout((()=>n.abort()),t),n.signal},t.withAbortSignal=async function(t,n){return new Promise((async(e,r)=>{if(t.aborted)return o();t.addEventListener("abort",o);try{e(await n())}catch(t){r(t)}finally{t.removeEventListener("abort",o)}function o(){r(new Io)}}))},Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=index.umd.min.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "extra-abort", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
@@ -41,20 +41,21 @@ "keywords": [], | ||
"devDependencies": { | ||
"@blackglory/wait-for": "^0.4.2", | ||
"@commitlint/cli": "^16.1.0", | ||
"@commitlint/config-conventional": "^16.0.0", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@blackglory/wait-for": "^0.4.4", | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@rollup/plugin-commonjs": "^21.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"@rollup/plugin-replace": "^3.0.1", | ||
"@rollup/plugin-typescript": "^8.3.0", | ||
"@types/jest": "^27.4.0", | ||
"@typescript-eslint/eslint-plugin": "^5.10.2", | ||
"@typescript-eslint/parser": "^5.10.2", | ||
"eslint": "^8.8.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@rollup/plugin-typescript": "^8.3.1", | ||
"@types/jest": "^27.4.1", | ||
"@typescript-eslint/eslint-plugin": "^5.15.0", | ||
"@typescript-eslint/parser": "^5.15.0", | ||
"eslint": "^8.11.0", | ||
"extra-fetch": "^1.8.5", | ||
"husky": "^4.3.8", | ||
"jest": "^27.4.7", | ||
"jest": "^27.5.1", | ||
"npm-run-all": "^4.1.5", | ||
"return-style": "^0.12.6", | ||
"return-style": "^1.0.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.67.0", | ||
"rollup": "^2.70.1", | ||
"rollup-plugin-analyzer": "^4.0.0", | ||
@@ -66,11 +67,11 @@ "rollup-plugin-terser": "^7.0.2", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.5.5" | ||
"typescript": "^4.6.2" | ||
}, | ||
"dependencies": { | ||
"@blackglory/errors": "^2.1.0", | ||
"@blackglory/types": "^0.6.5", | ||
"@blackglory/errors": "^2.2.1", | ||
"@blackglory/types": "^1.0.0", | ||
"abort-controller": "^3.0.0", | ||
"iterable-operator": "^0.14.5", | ||
"justypes": "^0.1.6" | ||
"iterable-operator": "^1.0.0", | ||
"justypes": "^2.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1961461
11358
0
26
+ Added@blackglory/go@1.1.3(transitive)
+ Addedextra-rand@0.1.5(transitive)
+ Addedextra-timers@0.2.6(transitive)
+ Addediterable-operator@1.2.1(transitive)
+ Addedjustypes@2.3.0(transitive)
- Removed@blackglory/errors@1.1.2(transitive)
- Removed@blackglory/go@0.1.1(transitive)
- Removed@blackglory/types@0.6.5(transitive)
- Removediterable-operator@0.14.5(transitive)
- Removedjustypes@0.1.7(transitive)
- Removedlodash.isplainobject@4.0.6(transitive)
Updated@blackglory/errors@^2.2.1
Updated@blackglory/types@^1.0.0
Updatediterable-operator@^1.0.0
Updatedjustypes@^2.0.0