diff options
Diffstat (limited to 'src/js/out/modules/node/assert.js')
-rw-r--r-- | src/js/out/modules/node/assert.js | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/src/js/out/modules/node/assert.js b/src/js/out/modules/node/assert.js index dbcaf0a02..4086ef8d5 100644 --- a/src/js/out/modules/node/assert.js +++ b/src/js/out/modules/node/assert.js @@ -1,53 +1,53 @@ -import J from"node:util";var f1=function(){throw new Error("CallTracker is not supported yet")},{Bun:j1}=globalThis[Symbol.for("Bun.lazy")]("primordials"),O=j1.deepEquals,N=(X,_)=>function(){return _||(0,X[Object.keys(X)[0]])((_={exports:{}}).exports,_),_.exports},z=N({"assert/build/internal/errors.js"(X,_){function u(H1){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(Q1){return typeof Q1}:u=function(Q1){return Q1&&typeof Symbol=="function"&&Q1.constructor===Symbol&&Q1!==Symbol.prototype?"symbol":typeof Q1},u(H1)}function n(H1,Q1){if(!(H1 instanceof Q1))throw new TypeError("Cannot call a class as a function")}function i(H1,Q1){return Q1&&(u(Q1)==="object"||typeof Q1=="function")?Q1:U(H1)}function U(H1){if(H1===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H1}function p(H1){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(Q1){return Q1.__proto__||Object.getPrototypeOf(Q1)},p(H1)}function l(H1,Q1){if(typeof Q1!="function"&&Q1!==null)throw new TypeError("Super expression must either be null or a function");H1.prototype=Object.create(Q1&&Q1.prototype,{constructor:{value:H1,writable:!0,configurable:!0}}),Q1&&c(H1,Q1)}function c(H1,Q1){return c=Object.setPrototypeOf||function(Z1,W){return Z1.__proto__=W,Z1},c(H1,Q1)}var o={},$,a;function t(H1,Q1,Z1){Z1||(Z1=Error);function W(z1,X1,U1){return typeof Q1=="string"?Q1:Q1(z1,X1,U1)}var J1=function(z1){l(X1,z1);function X1(U1,Y,$1){var K1;return n(this,X1),K1=i(this,p(X1).call(this,W(U1,Y,$1))),K1.code=H1,K1}return X1}(Z1);o[H1]=J1}function r(H1,Q1){if(Array.isArray(H1)){var Z1=H1.length;return H1=H1.map(function(W){return String(W)}),Z1>2?"one of ".concat(Q1," ").concat(H1.slice(0,Z1-1).join(", "),", or ")+H1[Z1-1]:Z1===2?"one of ".concat(Q1," ").concat(H1[0]," or ").concat(H1[1]):"of ".concat(Q1," ").concat(H1[0])}else return"of ".concat(Q1," ").concat(String(H1))}function s(H1,Q1,Z1){return H1.substr(!Z1||Z1<0?0:+Z1,Q1.length)===Q1}function K(H1,Q1,Z1){return(Z1===void 0||Z1>H1.length)&&(Z1=H1.length),H1.substring(Z1-Q1.length,Z1)===Q1}function e(H1,Q1,Z1){return typeof Z1!="number"&&(Z1=0),Z1+Q1.length>H1.length?!1:H1.indexOf(Q1,Z1)!==-1}t("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),t("ERR_INVALID_ARG_TYPE",function(H1,Q1,Z1){$===void 0&&($=F()),$(typeof H1=="string","'name' must be a string");var W;typeof Q1=="string"&&s(Q1,"not ")?(W="must not be",Q1=Q1.replace(/^not /,"")):W="must be";var J1;if(K(H1," argument"))J1="The ".concat(H1," ").concat(W," ").concat(r(Q1,"type"));else{var z1=e(H1,".")?"property":"argument";J1='The "'.concat(H1,'" ').concat(z1," ").concat(W," ").concat(r(Q1,"type"))}return J1+=". Received type ".concat(u(Z1)),J1},TypeError),t("ERR_INVALID_ARG_VALUE",function(H1,Q1){var Z1=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid",W=a.inspect(Q1);return W.length>128&&(W="".concat(W.slice(0,128),"...")),"The argument '".concat(H1,"' ").concat(Z1,". Received ").concat(W)},TypeError,RangeError),t("ERR_INVALID_RETURN_VALUE",function(H1,Q1,Z1){var W;return Z1&&Z1.constructor&&Z1.constructor.name?W="instance of ".concat(Z1.constructor.name):W="type ".concat(u(Z1)),"Expected ".concat(H1,' to be returned from the "').concat(Q1,'"')+" function but got ".concat(W,".")},TypeError),t("ERR_MISSING_ARGS",function(){for(var H1=arguments.length,Q1=new Array(H1),Z1=0;Z1<H1;Z1++)Q1[Z1]=arguments[Z1];$===void 0&&($=F()),$(Q1.length>0,"At least one arg needs to be specified");var W="The ",J1=Q1.length;switch(Q1=Q1.map(function(z1){return'"'.concat(z1,'"')}),J1){case 1:W+="".concat(Q1[0]," argument");break;case 2:W+="".concat(Q1[0]," and ").concat(Q1[1]," arguments");break;default:W+=Q1.slice(0,J1-1).join(", "),W+=", and ".concat(Q1[J1-1]," arguments");break}return"".concat(W," must be specified")},TypeError),_.exports.codes=o}}),I=N({"assert/build/internal/assert/assertion_error.js"(X,_){function u(V1){for(var D1=1;D1<arguments.length;D1++){var M1=arguments[D1]!=null?arguments[D1]:{},V=Object.keys(M1);typeof Object.getOwnPropertySymbols=="function"&&(V=V.concat(Object.getOwnPropertySymbols(M1).filter(function(q1){return Object.getOwnPropertyDescriptor(M1,q1).enumerable}))),V.forEach(function(q1){n(V1,q1,M1[q1])})}return V1}function n(V1,D1,M1){return(D1 in V1)?Object.defineProperty(V1,D1,{value:M1,enumerable:!0,configurable:!0,writable:!0}):V1[D1]=M1,V1}function i(V1,D1){if(!(V1 instanceof D1))throw new TypeError("Cannot call a class as a function")}function U(V1,D1){for(var M1=0;M1<D1.length;M1++){var V=D1[M1];V.enumerable=V.enumerable||!1,V.configurable=!0,("value"in V)&&(V.writable=!0),Object.defineProperty(V1,V.key,V)}}function p(V1,D1,M1){return D1&&U(V1.prototype,D1),M1&&U(V1,M1),V1}function l(V1,D1){return D1&&(e(D1)==="object"||typeof D1=="function")?D1:c(V1)}function c(V1){if(V1===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V1}function o(V1,D1){if(typeof D1!="function"&&D1!==null)throw new TypeError("Super expression must either be null or a function");V1.prototype=Object.create(D1&&D1.prototype,{constructor:{value:V1,writable:!0,configurable:!0}}),D1&&s(V1,D1)}function $(V1){var D1=typeof Map=="function"?new Map:void 0;return $=function(M1){if(M1===null||!r(M1))return M1;if(typeof M1!="function")throw new TypeError("Super expression must either be null or a function");if(typeof D1!="undefined"){if(D1.has(M1))return D1.get(M1);D1.set(M1,V)}function V(){return t(M1,arguments,K(this).constructor)}return V.prototype=Object.create(M1.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),s(V,M1)},$(V1)}function a(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function t(V1,D1,M1){return a()?t=Reflect.construct:t=function(V,q1,v1){var G1=[null];G1.push.apply(G1,q1);var T1=Function.bind.apply(V,G1),D=new T1;return v1&&s(D,v1.prototype),D},t.apply(null,arguments)}function r(V1){return Function.toString.call(V1).indexOf("[native code]")!==-1}function s(V1,D1){return s=Object.setPrototypeOf||function(M1,V){return M1.__proto__=V,M1},s(V1,D1)}function K(V1){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(D1){return D1.__proto__||Object.getPrototypeOf(D1)},K(V1)}function e(V1){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(D1){return typeof D1}:e=function(D1){return D1&&typeof Symbol=="function"&&D1.constructor===Symbol&&D1!==Symbol.prototype?"symbol":typeof D1},e(V1)}var H1=J.inspect,Q1=z(),Z1=Q1.codes.ERR_INVALID_ARG_TYPE;function W(V1,D1,M1){return(M1===void 0||M1>V1.length)&&(M1=V1.length),V1.substring(M1-D1.length,M1)===D1}function J1(V1,D1){if(D1=Math.floor(D1),V1.length==0||D1==0)return"";var M1=V1.length*D1;for(D1=Math.floor(Math.log(D1)/Math.log(2));D1;)V1+=V1,D1--;return V1+=V1.substring(0,M1-V1.length),V1}var z1="",X1="",U1="",Y="",$1={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},K1=10;function W1(V1){var D1=Object.keys(V1),M1=Object.create(Object.getPrototypeOf(V1));return D1.forEach(function(V){M1[V]=V1[V]}),Object.defineProperty(M1,"message",{value:V1.message}),M1}function Y1(V1){return H1(V1,{compact:!1,customInspect:!1,depth:1000,maxArrayLength:Infinity,showHidden:!1,breakLength:Infinity,showProxy:!1,sorted:!0,getters:!0})}function B(V1,D1,M1){var V="",q1="",v1=0,G1="",T1=!1,D=Y1(V1),w1=D.split(` -`),O1=Y1(D1).split(` -`),M=0,H="";if(M1==="strictEqual"&&e(V1)==="object"&&e(D1)==="object"&&V1!==null&&D1!==null&&(M1="strictEqualObject"),w1.length===1&&O1.length===1&&w1[0]!==O1[0]){var q=w1[0].length+O1[0].length;if(q<=K1){if((e(V1)!=="object"||V1===null)&&(e(D1)!=="object"||D1===null)&&(V1!==0||D1!==0))return"".concat($1[M1],` +import X1 from"node:util";var D1=function(){throw new Error("CallTracker is not supported yet")},{Bun:$1}=globalThis[Symbol.for("Bun.lazy")]("primordials"),z1=$1.deepEquals,W1=(H,Q)=>function(){return Q||(0,H[Object.keys(H)[0]])((Q={exports:{}}).exports,Q),Q.exports},Y1=W1({"assert/build/internal/errors.js"(H,Q){function Z(G){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(T){return typeof T}:Z=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},Z(G)}function J(G,T){if(!(G instanceof T))throw new TypeError("Cannot call a class as a function")}function z(G,T){return T&&(Z(T)==="object"||typeof T=="function")?T:X(G)}function X(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}function U(G){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},U(G)}function $(G,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(T&&T.prototype,{constructor:{value:G,writable:!0,configurable:!0}}),T&&K(G,T)}function K(G,T){return K=Object.setPrototypeOf||function(w,O){return w.__proto__=O,w},K(G,T)}var W={},Y,B;function V(G,T,w){w||(w=Error);function O(N,I,P){return typeof T=="string"?T:T(N,I,P)}var F=function(N){$(I,N);function I(P,A,S){var j;return J(this,I),j=z(this,U(I).call(this,O(P,A,S))),j.code=G,j}return I}(w);W[G]=F}function D(G,T){if(Array.isArray(G)){var w=G.length;return G=G.map(function(O){return String(O)}),w>2?"one of ".concat(T," ").concat(G.slice(0,w-1).join(", "),", or ")+G[w-1]:w===2?"one of ".concat(T," ").concat(G[0]," or ").concat(G[1]):"of ".concat(T," ").concat(G[0])}else return"of ".concat(T," ").concat(String(G))}function M(G,T,w){return G.substr(!w||w<0?0:+w,T.length)===T}function q(G,T,w){return(w===void 0||w>G.length)&&(w=G.length),G.substring(w-T.length,w)===T}function v(G,T,w){return typeof w!="number"&&(w=0),w+T.length>G.length?!1:G.indexOf(T,w)!==-1}V("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),V("ERR_INVALID_ARG_TYPE",function(G,T,w){Y===void 0&&(Y=U1()),Y(typeof G=="string","'name' must be a string");var O;typeof T=="string"&&M(T,"not ")?(O="must not be",T=T.replace(/^not /,"")):O="must be";var F;if(q(G," argument"))F="The ".concat(G," ").concat(O," ").concat(D(T,"type"));else{var N=v(G,".")?"property":"argument";F='The "'.concat(G,'" ').concat(N," ").concat(O," ").concat(D(T,"type"))}return F+=". Received type ".concat(Z(w)),F},TypeError),V("ERR_INVALID_ARG_VALUE",function(G,T){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid",O=B.inspect(T);return O.length>128&&(O="".concat(O.slice(0,128),"...")),"The argument '".concat(G,"' ").concat(w,". Received ").concat(O)},TypeError,RangeError),V("ERR_INVALID_RETURN_VALUE",function(G,T,w){var O;return w&&w.constructor&&w.constructor.name?O="instance of ".concat(w.constructor.name):O="type ".concat(Z(w)),"Expected ".concat(G,' to be returned from the "').concat(T,'"')+" function but got ".concat(O,".")},TypeError),V("ERR_MISSING_ARGS",function(){for(var G=arguments.length,T=new Array(G),w=0;w<G;w++)T[w]=arguments[w];Y===void 0&&(Y=U1()),Y(T.length>0,"At least one arg needs to be specified");var O="The ",F=T.length;switch(T=T.map(function(N){return'"'.concat(N,'"')}),F){case 1:O+="".concat(T[0]," argument");break;case 2:O+="".concat(T[0]," and ").concat(T[1]," arguments");break;default:O+=T.slice(0,F-1).join(", "),O+=", and ".concat(T[F-1]," arguments");break}return"".concat(O," must be specified")},TypeError),Q.exports.codes=W}}),B1=W1({"assert/build/internal/assert/assertion_error.js"(H,Q){function Z(L){for(var b=1;b<arguments.length;b++){var h=arguments[b]!=null?arguments[b]:{},k=Object.keys(h);typeof Object.getOwnPropertySymbols=="function"&&(k=k.concat(Object.getOwnPropertySymbols(h).filter(function(m){return Object.getOwnPropertyDescriptor(h,m).enumerable}))),k.forEach(function(m){J(L,m,h[m])})}return L}function J(L,b,h){return(b in L)?Object.defineProperty(L,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):L[b]=h,L}function z(L,b){if(!(L instanceof b))throw new TypeError("Cannot call a class as a function")}function X(L,b){for(var h=0;h<b.length;h++){var k=b[h];k.enumerable=k.enumerable||!1,k.configurable=!0,("value"in k)&&(k.writable=!0),Object.defineProperty(L,k.key,k)}}function U(L,b,h){return b&&X(L.prototype,b),h&&X(L,h),L}function $(L,b){return b&&(v(b)==="object"||typeof b=="function")?b:K(L)}function K(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function W(L,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(b&&b.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),b&&M(L,b)}function Y(L){var b=typeof Map=="function"?new Map:void 0;return Y=function(h){if(h===null||!D(h))return h;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(typeof b!="undefined"){if(b.has(h))return b.get(h);b.set(h,k)}function k(){return V(h,arguments,q(this).constructor)}return k.prototype=Object.create(h.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),M(k,h)},Y(L)}function B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function V(L,b,h){return B()?V=Reflect.construct:V=function(k,m,x){var y=[null];y.push.apply(y,m);var g=Function.bind.apply(k,y),d=new g;return x&&M(d,x.prototype),d},V.apply(null,arguments)}function D(L){return Function.toString.call(L).indexOf("[native code]")!==-1}function M(L,b){return M=Object.setPrototypeOf||function(h,k){return h.__proto__=k,h},M(L,b)}function q(L){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},q(L)}function v(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(b){return typeof b}:v=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},v(L)}var G=X1.inspect,T=Y1(),w=T.codes.ERR_INVALID_ARG_TYPE;function O(L,b,h){return(h===void 0||h>L.length)&&(h=L.length),L.substring(h-b.length,h)===b}function F(L,b){if(b=Math.floor(b),L.length==0||b==0)return"";var h=L.length*b;for(b=Math.floor(Math.log(b)/Math.log(2));b;)L+=L,b--;return L+=L.substring(0,h-L.length),L}var N="",I="",P="",A="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},j=10;function R(L){var b=Object.keys(L),h=Object.create(Object.getPrototypeOf(L));return b.forEach(function(k){h[k]=L[k]}),Object.defineProperty(h,"message",{value:L.message}),h}function f(L){return G(L,{compact:!1,customInspect:!1,depth:1000,maxArrayLength:Infinity,showHidden:!1,breakLength:Infinity,showProxy:!1,sorted:!0,getters:!0})}function C(L,b,h){var k="",m="",x=0,y="",g=!1,d=f(L),_=d.split(` +`),u=f(b).split(` +`),n=0,i="";if(h==="strictEqual"&&v(L)==="object"&&v(b)==="object"&&L!==null&&b!==null&&(h="strictEqualObject"),_.length===1&&u.length===1&&_[0]!==u[0]){var p=_[0].length+u[0].length;if(p<=j){if((v(L)!=="object"||L===null)&&(v(b)!=="object"||b===null)&&(L!==0||b!==0))return"".concat(S[h],` -`)+"".concat(w1[0]," !== ").concat(O1[0],` -`)}else if(M1!=="strictEqualObject"){var F1=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(q<F1){for(;w1[0][M]===O1[0][M];)M++;M>2&&(H=` - `.concat(J1(" ",M),"^"),M=0)}}}for(var N1=w1[w1.length-1],v=O1[O1.length-1];N1===v&&(M++<2?G1=` - `.concat(N1).concat(G1):V=N1,w1.pop(),O1.pop(),!(w1.length===0||O1.length===0));)N1=w1[w1.length-1],v=O1[O1.length-1];var Q=Math.max(w1.length,O1.length);if(Q===0){var G=D.split(` -`);if(G.length>30)for(G[26]="".concat(z1,"...").concat(Y);G.length>27;)G.pop();return"".concat($1.notIdentical,` +`)+"".concat(_[0]," !== ").concat(u[0],` +`)}else if(h!=="strictEqualObject"){var l=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(p<l){for(;_[0][n]===u[0][n];)n++;n>2&&(i=` + `.concat(F(" ",n),"^"),n=0)}}}for(var c=_[_.length-1],o=u[u.length-1];c===o&&(n++<2?y=` + `.concat(c).concat(y):k=c,_.pop(),u.pop(),!(_.length===0||u.length===0));)c=_[_.length-1],o=u[u.length-1];var a=Math.max(_.length,u.length);if(a===0){var t=d.split(` +`);if(t.length>30)for(t[26]="".concat(N,"...").concat(A);t.length>27;)t.pop();return"".concat(S.notIdentical,` -`).concat(G.join(` +`).concat(t.join(` `),` -`)}M>3&&(G1=` -`.concat(z1,"...").concat(Y).concat(G1),T1=!0),V!==""&&(G1=` - `.concat(V).concat(G1),V="");var I1=0,P1=$1[M1]+` -`.concat(X1,"+ actual").concat(Y," ").concat(U1,"- expected").concat(Y),T=" ".concat(z1,"...").concat(Y," Lines skipped");for(M=0;M<Q;M++){var Z=M-v1;if(w1.length<M+1)Z>1&&M>2&&(Z>4?(q1+=` -`.concat(z1,"...").concat(Y),T1=!0):Z>3&&(q1+=` - `.concat(O1[M-2]),I1++),q1+=` - `.concat(O1[M-1]),I1++),v1=M,V+=` -`.concat(U1,"-").concat(Y," ").concat(O1[M]),I1++;else if(O1.length<M+1)Z>1&&M>2&&(Z>4?(q1+=` -`.concat(z1,"...").concat(Y),T1=!0):Z>3&&(q1+=` - `.concat(w1[M-2]),I1++),q1+=` - `.concat(w1[M-1]),I1++),v1=M,q1+=` -`.concat(X1,"+").concat(Y," ").concat(w1[M]),I1++;else{var w=O1[M],A1=w1[M],S1=A1!==w&&(!W(A1,",")||A1.slice(0,-1)!==w);S1&&W(w,",")&&w.slice(0,-1)===A1&&(S1=!1,A1+=","),S1?(Z>1&&M>2&&(Z>4?(q1+=` -`.concat(z1,"...").concat(Y),T1=!0):Z>3&&(q1+=` - `.concat(w1[M-2]),I1++),q1+=` - `.concat(w1[M-1]),I1++),v1=M,q1+=` -`.concat(X1,"+").concat(Y," ").concat(A1),V+=` -`.concat(U1,"-").concat(Y," ").concat(w),I1+=2):(q1+=V,V="",(Z===1||M===0)&&(q1+=` - `.concat(A1),I1++))}if(I1>20&&M<Q-2)return"".concat(P1).concat(T,` -`).concat(q1,` -`).concat(z1,"...").concat(Y).concat(V,` -`)+"".concat(z1,"...").concat(Y)}return"".concat(P1).concat(T1?T:"",` -`).concat(q1).concat(V).concat(G1).concat(H)}var B1=function(V1){o(D1,V1);function D1(M1){var V;if(i(this,D1),e(M1)!=="object"||M1===null)throw new Z1("options","Object",M1);var{message:q1,operator:v1,stackStartFn:G1,actual:T1,expected:D}=M1,w1=Error.stackTraceLimit;if(Error.stackTraceLimit=0,q1!=null)V=l(this,K(D1).call(this,String(q1)));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(z1="[34m",X1="[32m",Y="[39m",U1="[31m"):(z1="",X1="",Y="",U1="")),e(T1)==="object"&&T1!==null&&e(D)==="object"&&D!==null&&("stack"in T1)&&T1 instanceof Error&&("stack"in D)&&D instanceof Error&&(T1=W1(T1),D=W1(D)),v1==="deepStrictEqual"||v1==="strictEqual")V=l(this,K(D1).call(this,B(T1,D,v1)));else if(v1==="notDeepStrictEqual"||v1==="notStrictEqual"){var O1=$1[v1],M=Y1(T1).split(` -`);if(v1==="notStrictEqual"&&e(T1)==="object"&&T1!==null&&(O1=$1.notStrictEqualObject),M.length>30)for(M[26]="".concat(z1,"...").concat(Y);M.length>27;)M.pop();M.length===1?V=l(this,K(D1).call(this,"".concat(O1," ").concat(M[0]))):V=l(this,K(D1).call(this,"".concat(O1,` +`)}n>3&&(y=` +`.concat(N,"...").concat(A).concat(y),g=!0),k!==""&&(y=` + `.concat(k).concat(y),k="");var r=0,s=S[h]+` +`.concat(I,"+ actual").concat(A," ").concat(P,"- expected").concat(A),e=" ".concat(N,"...").concat(A," Lines skipped");for(n=0;n<a;n++){var H1=n-x;if(_.length<n+1)H1>1&&n>2&&(H1>4?(m+=` +`.concat(N,"...").concat(A),g=!0):H1>3&&(m+=` + `.concat(u[n-2]),r++),m+=` + `.concat(u[n-1]),r++),x=n,k+=` +`.concat(P,"-").concat(A," ").concat(u[n]),r++;else if(u.length<n+1)H1>1&&n>2&&(H1>4?(m+=` +`.concat(N,"...").concat(A),g=!0):H1>3&&(m+=` + `.concat(_[n-2]),r++),m+=` + `.concat(_[n-1]),r++),x=n,m+=` +`.concat(I,"+").concat(A," ").concat(_[n]),r++;else{var Q1=u[n],Z1=_[n],J1=Z1!==Q1&&(!O(Z1,",")||Z1.slice(0,-1)!==Q1);J1&&O(Q1,",")&&Q1.slice(0,-1)===Z1&&(J1=!1,Z1+=","),J1?(H1>1&&n>2&&(H1>4?(m+=` +`.concat(N,"...").concat(A),g=!0):H1>3&&(m+=` + `.concat(_[n-2]),r++),m+=` + `.concat(_[n-1]),r++),x=n,m+=` +`.concat(I,"+").concat(A," ").concat(Z1),k+=` +`.concat(P,"-").concat(A," ").concat(Q1),r+=2):(m+=k,k="",(H1===1||n===0)&&(m+=` + `.concat(Z1),r++))}if(r>20&&n<a-2)return"".concat(s).concat(e,` +`).concat(m,` +`).concat(N,"...").concat(A).concat(k,` +`)+"".concat(N,"...").concat(A)}return"".concat(s).concat(g?e:"",` +`).concat(m).concat(k).concat(y).concat(i)}var E=function(L){W(b,L);function b(h){var k;if(z(this,b),v(h)!=="object"||h===null)throw new w("options","Object",h);var{message:m,operator:x,stackStartFn:y,actual:g,expected:d}=h,_=Error.stackTraceLimit;if(Error.stackTraceLimit=0,m!=null)k=$(this,q(b).call(this,String(m)));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(N="[34m",I="[32m",A="[39m",P="[31m"):(N="",I="",A="",P="")),v(g)==="object"&&g!==null&&v(d)==="object"&&d!==null&&("stack"in g)&&g instanceof Error&&("stack"in d)&&d instanceof Error&&(g=R(g),d=R(d)),x==="deepStrictEqual"||x==="strictEqual")k=$(this,q(b).call(this,C(g,d,x)));else if(x==="notDeepStrictEqual"||x==="notStrictEqual"){var u=S[x],n=f(g).split(` +`);if(x==="notStrictEqual"&&v(g)==="object"&&g!==null&&(u=S.notStrictEqualObject),n.length>30)for(n[26]="".concat(N,"...").concat(A);n.length>27;)n.pop();n.length===1?k=$(this,q(b).call(this,"".concat(u," ").concat(n[0]))):k=$(this,q(b).call(this,"".concat(u,` -`).concat(M.join(` +`).concat(n.join(` `),` -`)))}else{var H=Y1(T1),q="",F1=$1[v1];v1==="notDeepEqual"||v1==="notEqual"?(H="".concat($1[v1],` +`)))}else{var i=f(g),p="",l=S[x];x==="notDeepEqual"||x==="notEqual"?(i="".concat(S[x],` -`).concat(H),H.length>1024&&(H="".concat(H.slice(0,1021),"..."))):(q="".concat(Y1(D)),H.length>512&&(H="".concat(H.slice(0,509),"...")),q.length>512&&(q="".concat(q.slice(0,509),"...")),v1==="deepEqual"||v1==="equal"?H="".concat(F1,` +`).concat(i),i.length>1024&&(i="".concat(i.slice(0,1021),"..."))):(p="".concat(f(d)),i.length>512&&(i="".concat(i.slice(0,509),"...")),p.length>512&&(p="".concat(p.slice(0,509),"...")),x==="deepEqual"||x==="equal"?i="".concat(l,` -`).concat(H,` +`).concat(i,` should equal -`):q=" ".concat(v1," ").concat(q)),V=l(this,K(D1).call(this,"".concat(H).concat(q)))}return Error.stackTraceLimit=w1,V.generatedMessage=!q1,Object.defineProperty(c(V),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),V.code="ERR_ASSERTION",V.actual=T1,V.expected=D,V.operator=v1,Error.captureStackTrace&&Error.captureStackTrace(c(V),G1),V.stack,V.name="AssertionError",l(V)}return p(D1,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:H1.custom,value:function(M1,V){return H1(this,u({},V,{customInspect:!1,depth:0}))}}]),D1}($(Error));_.exports=B1}}),F=N({"assert/build/assert.js"(X,_){function u(v1){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(G1){return typeof G1}:u=function(G1){return G1&&typeof Symbol=="function"&&G1.constructor===Symbol&&G1!==Symbol.prototype?"symbol":typeof G1},u(v1)}function n(v1,G1){if(!(v1 instanceof G1))throw new TypeError("Cannot call a class as a function")}var i=z(),U=i.codes,p=U.ERR_AMBIGUOUS_ARGUMENT,l=U.ERR_INVALID_ARG_TYPE,c=U.ERR_INVALID_ARG_VALUE,o=U.ERR_INVALID_RETURN_VALUE,$=U.ERR_MISSING_ARGS,a=I(),t=J,r=t.inspect,s=J.types,K=s.isPromise,e=s.isRegExp,H1=Object.assign,Q1=Object.is,Z1=new Map,W=!1,J1=_.exports=$1,z1={};function X1(v1){throw v1.message instanceof Error?v1.message:new a(v1)}function U1(v1,G1,T1,D,w1){var O1=arguments.length,M;if(O1===0)M="Failed";else if(O1===1)T1=v1,v1=void 0;else{if(W===!1){W=!0;var H=process.emitWarning?process.emitWarning:console.warn.bind(console);H("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}O1===2&&(D="!=")}if(T1 instanceof Error)throw T1;var q={actual:v1,expected:G1,operator:D===void 0?"fail":D,stackStartFn:w1||U1};T1!==void 0&&(q.message=T1);var F1=new a(q);throw M&&(F1.message=M,F1.generatedMessage=!0),F1}J1.fail=U1,J1.AssertionError=a;function Y(v1,G1,T1,D){if(!T1){var w1=!1;if(G1===0)w1=!0,D="No value argument passed to `assert.ok()`";else if(D instanceof Error)throw D;var O1=new a({actual:T1,expected:!0,message:D,operator:"==",stackStartFn:v1});throw O1.generatedMessage=w1,O1}}function $1(){for(var v1=arguments.length,G1=new Array(v1),T1=0;T1<v1;T1++)G1[T1]=arguments[T1];Y.apply(void 0,[$1,G1.length].concat(G1))}J1.ok=$1,J1.equal=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");G1!=T1&&X1({actual:G1,expected:T1,message:D,operator:"==",stackStartFn:v1})},J1.notEqual=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");G1==T1&&X1({actual:G1,expected:T1,message:D,operator:"!=",stackStartFn:v1})},J1.deepEqual=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");O(G1,T1,!1)||X1({actual:G1,expected:T1,message:D,operator:"deepEqual",stackStartFn:v1})},J1.notDeepEqual=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");O(G1,T1,!1)&&X1({actual:G1,expected:T1,message:D,operator:"notDeepEqual",stackStartFn:v1})},J1.deepStrictEqual=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");O(G1,T1,!0)||X1({actual:G1,expected:T1,message:D,operator:"deepStrictEqual",stackStartFn:v1})},J1.notDeepStrictEqual=K1;function K1(v1,G1,T1){if(arguments.length<2)throw new $("actual","expected");O(v1,G1,!0)&&X1({actual:v1,expected:G1,message:T1,operator:"notDeepStrictEqual",stackStartFn:K1})}J1.strictEqual=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");Q1(G1,T1)||X1({actual:G1,expected:T1,message:D,operator:"strictEqual",stackStartFn:v1})},J1.notStrictEqual=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");Q1(G1,T1)&&X1({actual:G1,expected:T1,message:D,operator:"notStrictEqual",stackStartFn:v1})},J1.match=function v1(G1,T1,D){if(arguments.length<2)throw new $("actual","expected");if(!e(T1))throw new l("expected","RegExp",T1);T1.test(G1)||X1({actual:G1,expected:T1,message:D,operator:"match",stackStartFn:v1})};var W1=function v1(G1,T1,D){var w1=this;n(this,v1),T1.forEach(function(O1){(O1 in G1)&&(D!==void 0&&typeof D[O1]=="string"&&e(G1[O1])&&G1[O1].test(D[O1])?w1[O1]=D[O1]:w1[O1]=G1[O1])})};function Y1(v1,G1,T1,D,w1,O1){if(!(T1 in v1)||!O(v1[T1],G1[T1],!0)){if(!D){var M=new W1(v1,w1),H=new W1(G1,w1,v1),q=new a({actual:M,expected:H,operator:"deepStrictEqual",stackStartFn:O1});throw q.actual=v1,q.expected=G1,q.operator=O1.name,q}X1({actual:v1,expected:G1,message:D,operator:O1.name,stackStartFn:O1})}}function B(v1,G1,T1,D){if(typeof G1!="function"){if(e(G1))return G1.test(v1);if(arguments.length===2)throw new l("expected",["Function","RegExp"],G1);if(u(v1)!=="object"||v1===null){var w1=new a({actual:v1,expected:G1,message:T1,operator:"deepStrictEqual",stackStartFn:D});throw w1.operator=D.name,w1}var O1=Object.keys(G1);if(G1 instanceof Error)O1.push("name","message");else if(O1.length===0)throw new c("error",G1,"may not be an empty object");return O1.forEach(function(M){return typeof v1[M]=="string"&&e(G1[M])&&G1[M].test(v1[M])||Y1(v1,G1,M,T1,O1,D)}),!0}return G1.prototype!==void 0&&v1 instanceof G1?!0:Error.isPrototypeOf(G1)?!1:G1.call({},v1)===!0}function B1(v1){if(typeof v1!="function")throw new l("fn","Function",v1);try{v1()}catch(G1){return G1}return z1}function V1(v1){return K(v1)||v1!==null&&u(v1)==="object"&&typeof v1.then=="function"&&typeof v1.catch=="function"}function D1(v1){return Promise.resolve().then(function(){var G1;if(typeof v1=="function"){if(G1=v1(),!V1(G1))throw new o("instance of Promise","promiseFn",G1)}else if(V1(v1))G1=v1;else throw new l("promiseFn",["Function","Promise"],v1);return Promise.resolve().then(function(){return G1}).then(function(){return z1}).catch(function(T1){return T1})})}function M1(v1,G1,T1,D){if(typeof T1=="string"){if(arguments.length===4)throw new l("error",["Object","Error","Function","RegExp"],T1);if(u(G1)==="object"&&G1!==null){if(G1.message===T1)throw new p("error/message",'The error message "'.concat(G1.message,'" is identical to the message.'))}else if(G1===T1)throw new p("error/message",'The error "'.concat(G1,'" is identical to the message.'));D=T1,T1=void 0}else if(T1!=null&&u(T1)!=="object"&&typeof T1!="function")throw new l("error",["Object","Error","Function","RegExp"],T1);if(G1===z1){var w1="";T1&&T1.name&&(w1+=" (".concat(T1.name,")")),w1+=D?": ".concat(D):".";var O1=v1.name==="rejects"?"rejection":"exception";X1({actual:void 0,expected:T1,operator:v1.name,message:"Missing expected ".concat(O1).concat(w1),stackStartFn:v1})}if(T1&&!B(G1,T1,D,v1))throw G1}function V(v1,G1,T1,D){if(G1!==z1){if(typeof T1=="string"&&(D=T1,T1=void 0),!T1||B(G1,T1)){var w1=D?": ".concat(D):".",O1=v1.name==="doesNotReject"?"rejection":"exception";X1({actual:G1,expected:T1,operator:v1.name,message:"Got unwanted ".concat(O1).concat(w1,` -`)+'Actual message: "'.concat(G1&&G1.message,'"'),stackStartFn:v1})}throw G1}}J1.throws=function v1(G1){for(var T1=arguments.length,D=new Array(T1>1?T1-1:0),w1=1;w1<T1;w1++)D[w1-1]=arguments[w1];M1.apply(void 0,[v1,B1(G1)].concat(D))},J1.rejects=function v1(G1){for(var T1=arguments.length,D=new Array(T1>1?T1-1:0),w1=1;w1<T1;w1++)D[w1-1]=arguments[w1];return D1(G1).then(function(O1){return M1.apply(void 0,[v1,O1].concat(D))})},J1.doesNotThrow=function v1(G1){for(var T1=arguments.length,D=new Array(T1>1?T1-1:0),w1=1;w1<T1;w1++)D[w1-1]=arguments[w1];V.apply(void 0,[v1,B1(G1)].concat(D))},J1.doesNotReject=function v1(G1){for(var T1=arguments.length,D=new Array(T1>1?T1-1:0),w1=1;w1<T1;w1++)D[w1-1]=arguments[w1];return D1(G1).then(function(O1){return V.apply(void 0,[v1,O1].concat(D))})},J1.ifError=function v1(G1){if(G1!=null){var T1="ifError got unwanted exception: ";u(G1)==="object"&&typeof G1.message=="string"?G1.message.length===0&&G1.constructor?T1+=G1.constructor.name:T1+=G1.message:T1+=r(G1);var D=new a({actual:G1,expected:null,operator:"ifError",message:T1,stackStartFn:v1}),w1=G1.stack;if(typeof w1=="string"){var O1=w1.split(` -`);O1.shift();for(var M=D.stack.split(` -`),H=0;H<O1.length;H++){var q=M.indexOf(O1[H]);if(q!==-1){M=M.slice(0,q);break}}D.stack="".concat(M.join(` +`):p=" ".concat(x," ").concat(p)),k=$(this,q(b).call(this,"".concat(i).concat(p)))}return Error.stackTraceLimit=_,k.generatedMessage=!m,Object.defineProperty(K(k),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),k.code="ERR_ASSERTION",k.actual=g,k.expected=d,k.operator=x,Error.captureStackTrace&&Error.captureStackTrace(K(k),y),k.stack,k.name="AssertionError",$(k)}return U(b,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:G.custom,value:function(h,k){return G(this,Z({},k,{customInspect:!1,depth:0}))}}]),b}(Y(Error));Q.exports=E}}),U1=W1({"assert/build/assert.js"(H,Q){function Z(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(y){return typeof y}:Z=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},Z(x)}function J(x,y){if(!(x instanceof y))throw new TypeError("Cannot call a class as a function")}var z=Y1(),X=z.codes,U=X.ERR_AMBIGUOUS_ARGUMENT,$=X.ERR_INVALID_ARG_TYPE,K=X.ERR_INVALID_ARG_VALUE,W=X.ERR_INVALID_RETURN_VALUE,Y=X.ERR_MISSING_ARGS,B=B1(),V=X1,D=V.inspect,M=X1.types,q=M.isPromise,v=M.isRegExp,G=Object.assign,T=Object.is,w=new Map,O=!1,F=Q.exports=S,N={};function I(x){throw x.message instanceof Error?x.message:new B(x)}function P(x,y,g,d,_){var u=arguments.length,n;if(u===0)n="Failed";else if(u===1)g=x,x=void 0;else{if(O===!1){O=!0;var i=process.emitWarning?process.emitWarning:console.warn.bind(console);i("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}u===2&&(d="!=")}if(g instanceof Error)throw g;var p={actual:x,expected:y,operator:d===void 0?"fail":d,stackStartFn:_||P};g!==void 0&&(p.message=g);var l=new B(p);throw n&&(l.message=n,l.generatedMessage=!0),l}F.fail=P,F.AssertionError=B;function A(x,y,g,d){if(!g){var _=!1;if(y===0)_=!0,d="No value argument passed to `assert.ok()`";else if(d instanceof Error)throw d;var u=new B({actual:g,expected:!0,message:d,operator:"==",stackStartFn:x});throw u.generatedMessage=_,u}}function S(){for(var x=arguments.length,y=new Array(x),g=0;g<x;g++)y[g]=arguments[g];A.apply(void 0,[S,y.length].concat(y))}F.ok=S,F.equal=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");y!=g&&I({actual:y,expected:g,message:d,operator:"==",stackStartFn:x})},F.notEqual=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");y==g&&I({actual:y,expected:g,message:d,operator:"!=",stackStartFn:x})},F.deepEqual=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");z1(y,g,!1)||I({actual:y,expected:g,message:d,operator:"deepEqual",stackStartFn:x})},F.notDeepEqual=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");z1(y,g,!1)&&I({actual:y,expected:g,message:d,operator:"notDeepEqual",stackStartFn:x})},F.deepStrictEqual=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");z1(y,g,!0)||I({actual:y,expected:g,message:d,operator:"deepStrictEqual",stackStartFn:x})},F.notDeepStrictEqual=j;function j(x,y,g){if(arguments.length<2)throw new Y("actual","expected");z1(x,y,!0)&&I({actual:x,expected:y,message:g,operator:"notDeepStrictEqual",stackStartFn:j})}F.strictEqual=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");T(y,g)||I({actual:y,expected:g,message:d,operator:"strictEqual",stackStartFn:x})},F.notStrictEqual=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");T(y,g)&&I({actual:y,expected:g,message:d,operator:"notStrictEqual",stackStartFn:x})},F.match=function x(y,g,d){if(arguments.length<2)throw new Y("actual","expected");if(!v(g))throw new $("expected","RegExp",g);g.test(y)||I({actual:y,expected:g,message:d,operator:"match",stackStartFn:x})};var R=function x(y,g,d){var _=this;J(this,x),g.forEach(function(u){(u in y)&&(d!==void 0&&typeof d[u]=="string"&&v(y[u])&&y[u].test(d[u])?_[u]=d[u]:_[u]=y[u])})};function f(x,y,g,d,_,u){if(!(g in x)||!z1(x[g],y[g],!0)){if(!d){var n=new R(x,_),i=new R(y,_,x),p=new B({actual:n,expected:i,operator:"deepStrictEqual",stackStartFn:u});throw p.actual=x,p.expected=y,p.operator=u.name,p}I({actual:x,expected:y,message:d,operator:u.name,stackStartFn:u})}}function C(x,y,g,d){if(typeof y!="function"){if(v(y))return y.test(x);if(arguments.length===2)throw new $("expected",["Function","RegExp"],y);if(Z(x)!=="object"||x===null){var _=new B({actual:x,expected:y,message:g,operator:"deepStrictEqual",stackStartFn:d});throw _.operator=d.name,_}var u=Object.keys(y);if(y instanceof Error)u.push("name","message");else if(u.length===0)throw new K("error",y,"may not be an empty object");return u.forEach(function(n){return typeof x[n]=="string"&&v(y[n])&&y[n].test(x[n])||f(x,y,n,g,u,d)}),!0}return y.prototype!==void 0&&x instanceof y?!0:Error.isPrototypeOf(y)?!1:y.call({},x)===!0}function E(x){if(typeof x!="function")throw new $("fn","Function",x);try{x()}catch(y){return y}return N}function L(x){return q(x)||x!==null&&Z(x)==="object"&&typeof x.then=="function"&&typeof x.catch=="function"}function b(x){return Promise.resolve().then(function(){var y;if(typeof x=="function"){if(y=x(),!L(y))throw new W("instance of Promise","promiseFn",y)}else if(L(x))y=x;else throw new $("promiseFn",["Function","Promise"],x);return Promise.resolve().then(function(){return y}).then(function(){return N}).catch(function(g){return g})})}function h(x,y,g,d){if(typeof g=="string"){if(arguments.length===4)throw new $("error",["Object","Error","Function","RegExp"],g);if(Z(y)==="object"&&y!==null){if(y.message===g)throw new U("error/message",'The error message "'.concat(y.message,'" is identical to the message.'))}else if(y===g)throw new U("error/message",'The error "'.concat(y,'" is identical to the message.'));d=g,g=void 0}else if(g!=null&&Z(g)!=="object"&&typeof g!="function")throw new $("error",["Object","Error","Function","RegExp"],g);if(y===N){var _="";g&&g.name&&(_+=" (".concat(g.name,")")),_+=d?": ".concat(d):".";var u=x.name==="rejects"?"rejection":"exception";I({actual:void 0,expected:g,operator:x.name,message:"Missing expected ".concat(u).concat(_),stackStartFn:x})}if(g&&!C(y,g,d,x))throw y}function k(x,y,g,d){if(y!==N){if(typeof g=="string"&&(d=g,g=void 0),!g||C(y,g)){var _=d?": ".concat(d):".",u=x.name==="doesNotReject"?"rejection":"exception";I({actual:y,expected:g,operator:x.name,message:"Got unwanted ".concat(u).concat(_,` +`)+'Actual message: "'.concat(y&&y.message,'"'),stackStartFn:x})}throw y}}F.throws=function x(y){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];h.apply(void 0,[x,E(y)].concat(d))},F.rejects=function x(y){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];return b(y).then(function(u){return h.apply(void 0,[x,u].concat(d))})},F.doesNotThrow=function x(y){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];k.apply(void 0,[x,E(y)].concat(d))},F.doesNotReject=function x(y){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];return b(y).then(function(u){return k.apply(void 0,[x,u].concat(d))})},F.ifError=function x(y){if(y!=null){var g="ifError got unwanted exception: ";Z(y)==="object"&&typeof y.message=="string"?y.message.length===0&&y.constructor?g+=y.constructor.name:g+=y.message:g+=D(y);var d=new B({actual:y,expected:null,operator:"ifError",message:g,stackStartFn:x}),_=y.stack;if(typeof _=="string"){var u=_.split(` +`);u.shift();for(var n=d.stack.split(` +`),i=0;i<u.length;i++){var p=n.indexOf(u[i]);if(p!==-1){n=n.slice(0,p);break}}d.stack="".concat(n.join(` `),` -`).concat(O1.join(` -`))}throw D}};function q1(){for(var v1=arguments.length,G1=new Array(v1),T1=0;T1<v1;T1++)G1[T1]=arguments[T1];Y.apply(void 0,[q1,G1.length].concat(G1))}J1.strict=H1(q1,J1,{equal:J1.strictEqual,deepEqual:J1.deepStrictEqual,notEqual:J1.notStrictEqual,notDeepEqual:J1.notDeepStrictEqual}),J1.strict.strict=J1.strict}}),R=F();R[Symbol.for("CommonJS")]=0;R["CallTracker"]=f1;var{AssertionError:f,assert:x,deepEqual:P,deepStrictEqual:C,doesNotReject:C1,doesNotThrow:E,equal:y,fail:A,ifError:L,notDeepEqual:E1,notDeepStrictEqual:b,notEqual:g,notStrictEqual:S,ok:h,rejects:L1,strict:k,strictEqual:d,throws:j}=R,b1=R;export{j as throws,d as strictEqual,k as strict,L1 as rejects,h as ok,S as notStrictEqual,g as notEqual,b as notDeepStrictEqual,E1 as notDeepEqual,L as ifError,A as fail,y as equal,E as doesNotThrow,C1 as doesNotReject,b1 as default,C as deepStrictEqual,P as deepEqual,x as assert,f as AssertionError}; +`).concat(u.join(` +`))}throw d}};function m(){for(var x=arguments.length,y=new Array(x),g=0;g<x;g++)y[g]=arguments[g];A.apply(void 0,[m,y.length].concat(y))}F.strict=G(m,F,{equal:F.strictEqual,deepEqual:F.deepStrictEqual,notEqual:F.notStrictEqual,notDeepEqual:F.notDeepStrictEqual}),F.strict.strict=F.strict}}),V1=U1();V1[Symbol.for("CommonJS")]=0;V1["CallTracker"]=D1;var{AssertionError:M1,assert:q1,deepEqual:v1,deepStrictEqual:G1,doesNotReject:T1,doesNotThrow:w1,equal:O1,fail:F1,ifError:N1,notDeepEqual:I1,notDeepStrictEqual:P1,notEqual:A1,notStrictEqual:S1,ok:j1,rejects:R1,strict:f1,strictEqual:C1,throws:E1}=V1,b1=V1;export{E1 as throws,C1 as strictEqual,f1 as strict,R1 as rejects,j1 as ok,S1 as notStrictEqual,A1 as notEqual,P1 as notDeepStrictEqual,I1 as notDeepEqual,N1 as ifError,F1 as fail,O1 as equal,w1 as doesNotThrow,T1 as doesNotReject,b1 as default,G1 as deepStrictEqual,v1 as deepEqual,q1 as assert,M1 as AssertionError}; |