aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules/node/assert.js
blob: 172a95445677b308d0a882b8517cf9218243cf97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
var V0=function(){throw new Error("CallTracker is not supported yet")},{Bun:$0}=import.meta.primordials,X0=$0.deepEquals;var U0=(H,Q)=>function(){return Q||(0,H[Object.keys(H)[0]])((Q={exports:{}}).exports,Q),Q.exports};var K0=(H)=>import.meta.require(H),W0=U0({"assert/build/internal/errors.js"(H,Q){function Z(v){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(v)}function J(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}function z(v,T){return T&&(Z(T)==="object"||typeof T=="function")?T:X(v)}function X(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function K(v){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},K(v)}function Y(v,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(T&&T.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),T&&$(v,T)}function $(v,T){return $=Object.setPrototypeOf||function(w,F){return w.__proto__=F,w},$(v,T)}var U={},W,B;function D(v,T,w){w||(w=Error);function F(N,A,I){return typeof T=="string"?T:T(N,A,I)}var O=function(N){Y(A,N);function A(I,P,S){var j;return J(this,A),j=z(this,K(A).call(this,F(I,P,S))),j.code=v,j}return A}(w);U[v]=O}function V(v,T){if(Array.isArray(v)){var w=v.length;return v=v.map(function(F){return String(F)}),w>2?"one of ".concat(T," ").concat(v.slice(0,w-1).join(", "),", or ")+v[w-1]:w===2?"one of ".concat(T," ").concat(v[0]," or ").concat(v[1]):"of ".concat(T," ").concat(v[0])}else return"of ".concat(T," ").concat(String(v))}function M(v,T,w){return v.substr(!w||w<0?0:+w,T.length)===T}function G(v,T,w){return(w===void 0||w>v.length)&&(w=v.length),v.substring(w-T.length,w)===T}function q(v,T,w){return typeof w!="number"&&(w=0),w+T.length>v.length?!1:v.indexOf(T,w)!==-1}D("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),D("ERR_INVALID_ARG_TYPE",function(v,T,w){W===void 0&&(W=Y0()),W(typeof v=="string","'name' must be a string");var F;typeof T=="string"&&M(T,"not ")?(F="must not be",T=T.replace(/^not /,"")):F="must be";var O;if(G(v," argument"))O="The ".concat(v," ").concat(F," ").concat(V(T,"type"));else{var N=q(v,".")?"property":"argument";O='The "'.concat(v,'" ').concat(N," ").concat(F," ").concat(V(T,"type"))}return O+=". Received type ".concat(Z(w)),O},TypeError),D("ERR_INVALID_ARG_VALUE",function(v,T){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";B===void 0&&(B=K0("util"));var F=B.inspect(T);return F.length>128&&(F="".concat(F.slice(0,128),"...")),"The argument '".concat(v,"' ").concat(w,". Received ").concat(F)},TypeError,RangeError),D("ERR_INVALID_RETURN_VALUE",function(v,T,w){var F;return w&&w.constructor&&w.constructor.name?F="instance of ".concat(w.constructor.name):F="type ".concat(Z(w)),"Expected ".concat(v,' to be returned from the "').concat(T,'"')+" function but got ".concat(F,".")},TypeError),D("ERR_MISSING_ARGS",function(){for(var v=arguments.length,T=new Array(v),w=0;w<v;w++)T[w]=arguments[w];W===void 0&&(W=Y0()),W(T.length>0,"At least one arg needs to be specified");var F="The ",O=T.length;switch(T=T.map(function(N){return'"'.concat(N,'"')}),O){case 1:F+="".concat(T[0]," argument");break;case 2:F+="".concat(T[0]," and ").concat(T[1]," arguments");break;default:F+=T.slice(0,O-1).join(", "),F+=", and ".concat(T[O-1]," arguments");break}return"".concat(F," must be specified")},TypeError),Q.exports.codes=U}}),B0=U0({"assert/build/internal/assert/assertion_error.js"(H,Q){function Z(b){for(var h=1;h<arguments.length;h++){var k=arguments[h]!=null?arguments[h]:{},x=Object.keys(k);typeof Object.getOwnPropertySymbols=="function"&&(x=x.concat(Object.getOwnPropertySymbols(k).filter(function(y){return Object.getOwnPropertyDescriptor(k,y).enumerable}))),x.forEach(function(y){J(b,y,k[y])})}return b}function J(b,h,k){return(h in b)?Object.defineProperty(b,h,{value:k,enumerable:!0,configurable:!0,writable:!0}):b[h]=k,b}function z(b,h){if(!(b instanceof h))throw new TypeError("Cannot call a class as a function")}function X(b,h){for(var k=0;k<h.length;k++){var x=h[k];x.enumerable=x.enumerable||!1,x.configurable=!0,("value"in x)&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}function K(b,h,k){return h&&X(b.prototype,h),k&&X(b,k),b}function Y(b,h){return h&&(q(h)==="object"||typeof h=="function")?h:$(b)}function $(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function U(b,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(h&&h.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),h&&M(b,h)}function W(b){var h=typeof Map=="function"?new Map:void 0;return W=function(k){if(k===null||!V(k))return k;if(typeof k!="function")throw new TypeError("Super expression must either be null or a function");if(typeof h!="undefined"){if(h.has(k))return h.get(k);h.set(k,x)}function x(){return D(k,arguments,G(this).constructor)}return x.prototype=Object.create(k.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),M(x,k)},W(b)}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 D(b,h,k){return B()?D=Reflect.construct:D=function(x,y,m){var g=[null];g.push.apply(g,y);var d=Function.bind.apply(x,g),_=new d;return m&&M(_,m.prototype),_},D.apply(null,arguments)}function V(b){return Function.toString.call(b).indexOf("[native code]")!==-1}function M(b,h){return M=Object.setPrototypeOf||function(k,x){return k.__proto__=x,k},M(b,h)}function G(b){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},G(b)}function q(b){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(h){return typeof h}:q=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},q(b)}var v=K0("util"),T=v.inspect,w=W0(),F=w.codes.ERR_INVALID_ARG_TYPE;function O(b,h,k){return(k===void 0||k>b.length)&&(k=b.length),b.substring(k-h.length,k)===h}function N(b,h){if(h=Math.floor(h),b.length==0||h==0)return"";var k=b.length*h;for(h=Math.floor(Math.log(h)/Math.log(2));h;)b+=b,h--;return b+=b.substring(0,k-b.length),b}var A="",I="",P="",S="",j={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:"},R=10;function f(b){var h=Object.keys(b),k=Object.create(Object.getPrototypeOf(b));return h.forEach(function(x){k[x]=b[x]}),Object.defineProperty(k,"message",{value:b.message}),k}function C(b){return T(b,{compact:!1,customInspect:!1,depth:1000,maxArrayLength:Infinity,showHidden:!1,breakLength:Infinity,showProxy:!1,sorted:!0,getters:!0})}function E(b,h,k){var x="",y="",m=0,g="",d=!1,_=C(b),u=_.split(`
`),i=C(h).split(`
`),p=0,n="";if(k==="strictEqual"&&q(b)==="object"&&q(h)==="object"&&b!==null&&h!==null&&(k="strictEqualObject"),u.length===1&&i.length===1&&u[0]!==i[0]){var l=u[0].length+i[0].length;if(l<=R){if((q(b)!=="object"||b===null)&&(q(h)!=="object"||h===null)&&(b!==0||h!==0))return"".concat(j[k],`

`)+"".concat(u[0]," !== ").concat(i[0],`
`)}else if(k!=="strictEqualObject"){var c=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(l<c){for(;u[0][p]===i[0][p];)p++;p>2&&(n=`
  `.concat(N(" ",p),"^"),p=0)}}}for(var o=u[u.length-1],a=i[i.length-1];o===a&&(p++<2?g=`
  `.concat(o).concat(g):x=o,u.pop(),i.pop(),!(u.length===0||i.length===0));)o=u[u.length-1],a=i[i.length-1];var t=Math.max(u.length,i.length);if(t===0){var s=_.split(`
`);if(s.length>30)for(s[26]="".concat(A,"...").concat(S);s.length>27;)s.pop();return"".concat(j.notIdentical,`

`).concat(s.join(`
`),`
`)}p>3&&(g=`
`.concat(A,"...").concat(S).concat(g),d=!0),x!==""&&(g=`
  `.concat(x).concat(g),x="");var r=0,e=j[k]+`
`.concat(I,"+ actual").concat(S," ").concat(P,"- expected").concat(S),H0=" ".concat(A,"...").concat(S," Lines skipped");for(p=0;p<t;p++){var Q0=p-m;if(u.length<p+1)Q0>1&&p>2&&(Q0>4?(y+=`
`.concat(A,"...").concat(S),d=!0):Q0>3&&(y+=`
  `.concat(i[p-2]),r++),y+=`
  `.concat(i[p-1]),r++),m=p,x+=`
`.concat(P,"-").concat(S," ").concat(i[p]),r++;else if(i.length<p+1)Q0>1&&p>2&&(Q0>4?(y+=`
`.concat(A,"...").concat(S),d=!0):Q0>3&&(y+=`
  `.concat(u[p-2]),r++),y+=`
  `.concat(u[p-1]),r++),m=p,y+=`
`.concat(I,"+").concat(S," ").concat(u[p]),r++;else{var Z0=i[p],J0=u[p],z0=J0!==Z0&&(!O(J0,",")||J0.slice(0,-1)!==Z0);z0&&O(Z0,",")&&Z0.slice(0,-1)===J0&&(z0=!1,J0+=","),z0?(Q0>1&&p>2&&(Q0>4?(y+=`
`.concat(A,"...").concat(S),d=!0):Q0>3&&(y+=`
  `.concat(u[p-2]),r++),y+=`
  `.concat(u[p-1]),r++),m=p,y+=`
`.concat(I,"+").concat(S," ").concat(J0),x+=`
`.concat(P,"-").concat(S," ").concat(Z0),r+=2):(y+=x,x="",(Q0===1||p===0)&&(y+=`
  `.concat(J0),r++))}if(r>20&&p<t-2)return"".concat(e).concat(H0,`
`).concat(y,`
`).concat(A,"...").concat(S).concat(x,`
`)+"".concat(A,"...").concat(S)}return"".concat(e).concat(d?H0:"",`
`).concat(y).concat(x).concat(g).concat(n)}var L=function(b){U(h,b);function h(k){var x;if(z(this,h),q(k)!=="object"||k===null)throw new F("options","Object",k);var{message:y,operator:m,stackStartFn:g,actual:d,expected:_}=k,u=Error.stackTraceLimit;if(Error.stackTraceLimit=0,y!=null)x=Y(this,G(h).call(this,String(y)));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(A="",I="",S="",P=""):(A="",I="",S="",P="")),q(d)==="object"&&d!==null&&q(_)==="object"&&_!==null&&("stack"in d)&&d instanceof Error&&("stack"in _)&&_ instanceof Error&&(d=f(d),_=f(_)),m==="deepStrictEqual"||m==="strictEqual")x=Y(this,G(h).call(this,E(d,_,m)));else if(m==="notDeepStrictEqual"||m==="notStrictEqual"){var i=j[m],p=C(d).split(`
`);if(m==="notStrictEqual"&&q(d)==="object"&&d!==null&&(i=j.notStrictEqualObject),p.length>30)for(p[26]="".concat(A,"...").concat(S);p.length>27;)p.pop();p.length===1?x=Y(this,G(h).call(this,"".concat(i," ").concat(p[0]))):x=Y(this,G(h).call(this,"".concat(i,`

`).concat(p.join(`
`),`
`)))}else{var n=C(d),l="",c=j[m];m==="notDeepEqual"||m==="notEqual"?(n="".concat(j[m],`

`).concat(n),n.length>1024&&(n="".concat(n.slice(0,1021),"..."))):(l="".concat(C(_)),n.length>512&&(n="".concat(n.slice(0,509),"...")),l.length>512&&(l="".concat(l.slice(0,509),"...")),m==="deepEqual"||m==="equal"?n="".concat(c,`

`).concat(n,`

should equal

`):l=" ".concat(m," ").concat(l)),x=Y(this,G(h).call(this,"".concat(n).concat(l)))}return Error.stackTraceLimit=u,x.generatedMessage=!y,Object.defineProperty($(x),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),x.code="ERR_ASSERTION",x.actual=d,x.expected=_,x.operator=m,Error.captureStackTrace&&Error.captureStackTrace($(x),g),x.stack,x.name="AssertionError",Y(x)}return K(h,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:T.custom,value:function(k,x){return T(this,Z({},x,{customInspect:!1,depth:0}))}}]),h}(W(Error));Q.exports=L}}),Y0=U0({"assert/build/assert.js"(H,Q){function Z(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(m){return typeof m}:Z=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},Z(y)}function J(y,m){if(!(y instanceof m))throw new TypeError("Cannot call a class as a function")}var z=W0(),X=z.codes,K=X.ERR_AMBIGUOUS_ARGUMENT,Y=X.ERR_INVALID_ARG_TYPE,$=X.ERR_INVALID_ARG_VALUE,U=X.ERR_INVALID_RETURN_VALUE,W=X.ERR_MISSING_ARGS,B=B0(),D=K0("util"),V=D.inspect,M=K0("util").types,G=M.isPromise,q=M.isRegExp,v=Object.assign,T=Object.is,w=new Map,F=!1,O=Q.exports=S,N={};function A(y){throw y.message instanceof Error?y.message:new B(y)}function I(y,m,g,d,_){var u=arguments.length,i;if(u===0)i="Failed";else if(u===1)g=y,y=void 0;else{if(F===!1){F=!0;var p=process.emitWarning?process.emitWarning:console.warn.bind(console);p("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 n={actual:y,expected:m,operator:d===void 0?"fail":d,stackStartFn:_||I};g!==void 0&&(n.message=g);var l=new B(n);throw i&&(l.message=i,l.generatedMessage=!0),l}O.fail=I,O.AssertionError=B;function P(y,m,g,d){if(!g){var _=!1;if(m===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:y});throw u.generatedMessage=_,u}}function S(){for(var y=arguments.length,m=new Array(y),g=0;g<y;g++)m[g]=arguments[g];P.apply(void 0,[S,m.length].concat(m))}O.ok=S,O.equal=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");m!=g&&A({actual:m,expected:g,message:d,operator:"==",stackStartFn:y})},O.notEqual=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");m==g&&A({actual:m,expected:g,message:d,operator:"!=",stackStartFn:y})},O.deepEqual=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");X0(m,g,!1)||A({actual:m,expected:g,message:d,operator:"deepEqual",stackStartFn:y})},O.notDeepEqual=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");X0(m,g,!1)&&A({actual:m,expected:g,message:d,operator:"notDeepEqual",stackStartFn:y})},O.deepStrictEqual=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");X0(m,g,!0)||A({actual:m,expected:g,message:d,operator:"deepStrictEqual",stackStartFn:y})},O.notDeepStrictEqual=j;function j(y,m,g){if(arguments.length<2)throw new W("actual","expected");X0(y,m,!0)&&A({actual:y,expected:m,message:g,operator:"notDeepStrictEqual",stackStartFn:j})}O.strictEqual=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");T(m,g)||A({actual:m,expected:g,message:d,operator:"strictEqual",stackStartFn:y})},O.notStrictEqual=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");T(m,g)&&A({actual:m,expected:g,message:d,operator:"notStrictEqual",stackStartFn:y})},O.match=function y(m,g,d){if(arguments.length<2)throw new W("actual","expected");if(!q(g))throw new Y("expected","RegExp",g);g.test(m)||A({actual:m,expected:g,message:d,operator:"match",stackStartFn:y})};var R=function y(m,g,d){var _=this;J(this,y),g.forEach(function(u){(u in m)&&(d!==void 0&&typeof d[u]=="string"&&q(m[u])&&m[u].test(d[u])?_[u]=d[u]:_[u]=m[u])})};function f(y,m,g,d,_,u){if(!(g in y)||!X0(y[g],m[g],!0)){if(!d){var i=new R(y,_),p=new R(m,_,y),n=new B({actual:i,expected:p,operator:"deepStrictEqual",stackStartFn:u});throw n.actual=y,n.expected=m,n.operator=u.name,n}A({actual:y,expected:m,message:d,operator:u.name,stackStartFn:u})}}function C(y,m,g,d){if(typeof m!="function"){if(q(m))return m.test(y);if(arguments.length===2)throw new Y("expected",["Function","RegExp"],m);if(Z(y)!=="object"||y===null){var _=new B({actual:y,expected:m,message:g,operator:"deepStrictEqual",stackStartFn:d});throw _.operator=d.name,_}var u=Object.keys(m);if(m instanceof Error)u.push("name","message");else if(u.length===0)throw new $("error",m,"may not be an empty object");return u.forEach(function(i){return typeof y[i]=="string"&&q(m[i])&&m[i].test(y[i])||f(y,m,i,g,u,d)}),!0}return m.prototype!==void 0&&y instanceof m?!0:Error.isPrototypeOf(m)?!1:m.call({},y)===!0}function E(y){if(typeof y!="function")throw new Y("fn","Function",y);try{y()}catch(m){return m}return N}function L(y){return G(y)||y!==null&&Z(y)==="object"&&typeof y.then=="function"&&typeof y.catch=="function"}function b(y){return Promise.resolve().then(function(){var m;if(typeof y=="function"){if(m=y(),!L(m))throw new U("instance of Promise","promiseFn",m)}else if(L(y))m=y;else throw new Y("promiseFn",["Function","Promise"],y);return Promise.resolve().then(function(){return m}).then(function(){return N}).catch(function(g){return g})})}function h(y,m,g,d){if(typeof g=="string"){if(arguments.length===4)throw new Y("error",["Object","Error","Function","RegExp"],g);if(Z(m)==="object"&&m!==null){if(m.message===g)throw new K("error/message",'The error message "'.concat(m.message,'" is identical to the message.'))}else if(m===g)throw new K("error/message",'The error "'.concat(m,'" is identical to the message.'));d=g,g=void 0}else if(g!=null&&Z(g)!=="object"&&typeof g!="function")throw new Y("error",["Object","Error","Function","RegExp"],g);if(m===N){var _="";g&&g.name&&(_+=" (".concat(g.name,")")),_+=d?": ".concat(d):".";var u=y.name==="rejects"?"rejection":"exception";A({actual:void 0,expected:g,operator:y.name,message:"Missing expected ".concat(u).concat(_),stackStartFn:y})}if(g&&!C(m,g,d,y))throw m}function k(y,m,g,d){if(m!==N){if(typeof g=="string"&&(d=g,g=void 0),!g||C(m,g)){var _=d?": ".concat(d):".",u=y.name==="doesNotReject"?"rejection":"exception";A({actual:m,expected:g,operator:y.name,message:"Got unwanted ".concat(u).concat(_,`
`)+'Actual message: "'.concat(m&&m.message,'"'),stackStartFn:y})}throw m}}O.throws=function y(m){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];h.apply(void 0,[y,E(m)].concat(d))},O.rejects=function y(m){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];return b(m).then(function(u){return h.apply(void 0,[y,u].concat(d))})},O.doesNotThrow=function y(m){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];k.apply(void 0,[y,E(m)].concat(d))},O.doesNotReject=function y(m){for(var g=arguments.length,d=new Array(g>1?g-1:0),_=1;_<g;_++)d[_-1]=arguments[_];return b(m).then(function(u){return k.apply(void 0,[y,u].concat(d))})},O.ifError=function y(m){if(m!=null){var g="ifError got unwanted exception: ";Z(m)==="object"&&typeof m.message=="string"?m.message.length===0&&m.constructor?g+=m.constructor.name:g+=m.message:g+=V(m);var d=new B({actual:m,expected:null,operator:"ifError",message:g,stackStartFn:y}),_=m.stack;if(typeof _=="string"){var u=_.split(`
`);u.shift();for(var i=d.stack.split(`
`),p=0;p<u.length;p++){var n=i.indexOf(u[p]);if(n!==-1){i=i.slice(0,n);break}}d.stack="".concat(i.join(`
`),`
`).concat(u.join(`
`))}throw d}};function x(){for(var y=arguments.length,m=new Array(y),g=0;g<y;g++)m[g]=arguments[g];P.apply(void 0,[x,m.length].concat(m))}O.strict=v(x,O,{equal:O.strictEqual,deepEqual:O.deepStrictEqual,notEqual:O.notStrictEqual,notDeepEqual:O.notDeepStrictEqual}),O.strict.strict=O.strict}}),D0=Y0();D0[Symbol.for("CommonJS")]=0;D0["CallTracker"]=V0;var{AssertionError:M0,assert:G0,deepEqual:q0,deepStrictEqual:v0,doesNotReject:T0,doesNotThrow:w0,equal:F0,fail:O0,ifError:N0,notDeepEqual:A0,notDeepStrictEqual:I0,notEqual:P0,notStrictEqual:S0,ok:j0,rejects:R0,strict:f0,strictEqual:C0,throws:E0}=D0,b0=D0;export{E0 as throws,C0 as strictEqual,f0 as strict,R0 as rejects,j0 as ok,S0 as notStrictEqual,P0 as notEqual,I0 as notDeepStrictEqual,A0 as notDeepEqual,N0 as ifError,O0 as fail,F0 as equal,w0 as doesNotThrow,T0 as doesNotReject,b0 as default,v0 as deepStrictEqual,q0 as deepEqual,G0 as assert,M0 as AssertionError};