2022-10-23 14:49:54 +02:00
|
|
|
(()=>{var e={8583:(e,t,o)=>{"use strict";var n=o(7418);function r(e,t){if(e===t)return 0;for(var o=e.length,n=t.length,r=0,i=Math.min(o,n);r<i;++r)if(e[r]!==t[r]){o=e[r],n=t[r];break}return o<n?-1:n<o?1:0}function i(e){return o.g.Buffer&&"function"==typeof o.g.Buffer.isBuffer?o.g.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=o(69),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c="foo"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function _(e){return!i(e)&&("function"==typeof o.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var h=e.exports=b,p=/\s*function\s+([^\(\s]*)\s*/;function d(e){if(a.isFunction(e)){if(c)return e.name;var t=e.toString().match(p);return t&&t[1]}}function f(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(c||!a.isFunction(e))return a.inspect(e);var t=d(e);return"[Function"+(t?": "+t:"")+"]"}function m(e,t,o,n,r){throw new h.AssertionError({message:o,actual:e,expected:t,operator:n,stackStartFunction:r})}function b(e,t){e||m(e,!0,t,"==",h.ok)}function w(e,t,o,n){if(e===t)return!0;if(i(e)&&i(t))return 0===r(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(_(e)&&_(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===r(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var s=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,o,n){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(o&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var r=k(e),i=k(t);if(r&&!i||!r&&i)return!1;if(r)return w(e=l.call(e),t=l.call(t),o);var s,c,u=A(e),_=A(t);if(u.length!==_.length)return!1;for(u.sort(),_.sort(),c=u.length-1;c>=0;c--)if(u[c]!==_[c])return!1;for(c=u.length-1;c>=0;c--)if(!w(e[s=u[c]],t[s],o,n))return!1;return!0}(e,t,o,n))}return o?e===t:e==t}function k(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function v(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function y(e,t,o,n){var r;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof o&&(n=o,o=null),r=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(o&&o.name?" ("+o.name+").":".")+(n?" "+n:"."),e&&!r&&m(r,o,"Missing expected exception"+n);var i="string"==typeof n,s=!e&&r&&!o;if((!e&&a.isError(r)&&i&&v(r,o)||s)&&m(r,o,"Got unwanted exception"+n),e&&r&&o&&!v(r,o)||!e&&r)throw r}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return f(g(e.actual),128)+" "+e.operator+" "+f(g(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||m;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var o=new Error;if(o.stack){var n=o.stack,r=d(t),i=n.indexOf("\n"+r);if(i>=0){var a=n.indexOf("\n",i+1);n=n.substring(a+1)}this.stack=n}}},a.inherits(h.AssertionError,Error),h.fail=m,h.ok=b,h.equal=function(e,t,o){e!=t&&m(e,t,o,"==",h.equal)},h.notEqual=function(e,t,o){e==t&&m(e,t,o,"!=",h.notEqual)},h.deepEqual=function(e,t,o){w(e,t,!1)||m(e,t,o,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,o){w(e,t,!0)||m(e,t,o,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,o){w(e,t,!1)&&m(e,t,o,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=function e(t,o,n){w(t,o,!0)&&m(t,o,n,"notDeepStrictEqual",e)},h.strictEqual=function(e,t,o){e!==t&&m(e,t,o,"===",h.strictEqual)}
|