test-filesystem 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function t(e,r,n){function o(a,u){if(!r[a]){if(!e[a]){var c="function"==typeof require&&require;if(!u&&c)return c(a,!0);if(i)return i(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var l=r[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.circularObject=void 0;const n=r.circularObject={name:"root",parent:null,body:null,head:null,children:[]};n.children=[{name:"body",parent:null,children:[]},{name:"head",parent:null,children:[]}],n.body=n.children[0],n.head=n.children[1],n.body.parent=n,n.head.parent=n,n.body.children=[{name:"body child one",parent:null,children:[]},{name:"body child two",parent:null,children:[]}],n.body.children[0].parent=n.body,n.body.children[1].parent=n.body,n.head.children=[{name:"head child one",parent:null,children:[]},{name:"head child two",parent:null,children:[]}],n.head.children[0].parent=n.head,n.head.children[1].parent=n.head;r.default=n},{}],2:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.countMatches=void 0;const n=(t,e)=>t.split(e).length-1;r.countMatches=n;r.default=n},{}],3:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.deepReferenceObject=void 0;const n=r.deepReferenceObject={object1:{name:"someName",object2:{age:12,array1:["someString","anotherString"]},array2:[89,32]},title:"Some Title",item:45};r.default=n},{}],4:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.domItem=r.default=void 0;const n=r.domItem=[{attributes:{className:"row",style:{}},axis:"y",children:[{attributes:{style:{}},axis:"x",children:[],element:{},eventListeners:{},hasShip:!1,isHit:!1,parentItem:{},point:{},tagName:"div"}],element:null,eventListeners:{},parentItem:{},tagName:"div"}];r.default=n},{}],5:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.jsonDom=r.default=void 0;const n=r.jsonDom={tagName:"div",attributes:{style:{},className:"column"},element:null,eventListeners:{},parentItem:{},children:[],axis:"x"};r.default=n},{}],6:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.linkedList=r.default=void 0;const n=r.linkedList={name:"one",prev:null,next:null};n.next={name:"two",prev:n,next:null},n.next.next={name:"three",prev:n.next,next:null};r.default=n},{}],7:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.logObject=r.default=void 0;const n=(e,r="logging",n="log")=>{const o="string"===n?(t,e)=>`'${t}' | `+JSON.stringify(e):console[n];return o(r,void 0===t||"string"===n?e:t("util").inspect(e,!1,null,!0))};r.logObject=n;r.default=n},{util:38}],8:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.multiReferenceObject=r.default=void 0;const n=r.multiReferenceObject={object1:{name:"someName"},object2:{age:12},array1:["someString","anotherString"],array2:[89,32],title:"Some Title",item:45};r.default=n},{}],9:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.nodeTree=r.default=void 0;const n=r.nodeTree={name:"one",parent:null,children:[]};n.children[0]={name:"child one",parent:n,children:[]},n.children[1]={name:"child two",parent:n,children:[]},n.children[0].children[0]={name:"grandchild one",parent:n.children[0],children:[]};r.default=n},{}],10:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.removeDirectory=r.default=void 0;var n=t("fs");const o=t=>new Promise(((e,r)=>(0,n.access)(t,n.constants.F_OK,(o=>o?e(t):(0,n.rm)(t,{recursive:!0},(n=>n?r(n):e(t)))))));r.removeDirectory=o;r.default=o},{fs:14}],11:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setUp=r.setDefaults=r.default=r.createTempDir=r.beforeEach=r.afterEach=void 0;var n,o=t("fs"),i=(n=t("./removeDirectory"))&&n.__esModule?n:{default:n};var a=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}c((n=n.apply(t,e||[])).next())}))};let u="test-temp/",c=`${u}src`;const f=()=>(0,i.default)(u);r.afterEach=f;const l=(t=!0)=>a(void 0,void 0,void 0,(function*(){return t?(0,i.default)(u).then((t=>l((0,o.existsSync)(t)))).catch((t=>console.error("Error: ",t))):(0,o.mkdirSync)(c,{recursive:!0})}));r.createTempDir=l;const s=()=>l();r.beforeEach=s;const p=(t=null)=>{t&&(u=t,c=`${u}src`)};r.setDefaults=p;const y=r.setUp={afterEach:f,beforeEach:s,createTempDir:l,setDefaults:p};r.default=y},{"./removeDirectory":10,fs:14}],12:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.testFsBrowser=r.testFs=r.default=void 0;var n=d(t("./functions/circularObject")),o=d(t("./functions/countMatches")),i=d(t("./functions/deepReferenceObject")),a=d(t("./functions/domItem")),u=d(t("./functions/jsonDom")),c=d(t("./functions/linkedList")),f=d(t("./functions/logObject")),l=d(t("./functions/multiReferenceObject")),s=d(t("./functions/nodeTree")),p=d(t("./functions/removeDirectory")),y=d(t("./functions/setUp"));function d(t){return t&&t.__esModule?t:{default:t}}const g=r.testFs={circularObject:n.default,countMatches:o.default,deepReferenceObject:i.default,domItem:a.default,jsonDom:u.default,linkedList:c.default,logObject:f.default,multiReferenceObject:l.default,nodeTree:s.default,removeDirectory:p.default,setUp:y.default};r.default=g;const b=r.testFsBrowser={circularObject:n.default,countMatches:o.default,deepReferenceObject:i.default,domItem:a.default,jsonDom:u.default,linkedList:c.default,logObject:f.default,multiReferenceObject:l.default,nodeTree:s.default};"undefined"!=typeof window&&(window.testFs=b)},{"./functions/circularObject":1,"./functions/countMatches":2,"./functions/deepReferenceObject":3,"./functions/domItem":4,"./functions/jsonDom":5,"./functions/linkedList":6,"./functions/logObject":7,"./functions/multiReferenceObject":8,"./functions/nodeTree":9,"./functions/removeDirectory":10,"./functions/setUp":11}],13:[function(t,e,r){(function(t){(function(){"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n="undefined"==typeof globalThis?t:globalThis;e.exports=function(){for(var t=[],e=0;e<r.length;e++)"function"==typeof n[r[e]]&&(t[t.length]=r[e]);return t}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],14:[function(t,e,r){},{}],15:[function(t,e,r){"use strict";var n=t("get-intrinsic"),o=t("./"),i=o(n("String.prototype.indexOf"));e.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},{"./":16,"get-intrinsic":21}],16:[function(t,e,r){"use strict";var n=t("function-bind"),o=t("get-intrinsic"),i=t("set-function-length"),a=o("%TypeError%"),u=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),f=o("%Reflect.apply%",!0)||n.call(c,u),l=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}e.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=f(n,c,arguments);return i(e,1+s(0,t.length-(arguments.length-1)),!0)};var p=function(){return f(n,u,arguments)};l?l(e.exports,"apply",{value:p}):e.exports.apply=p},{"function-bind":20,"get-intrinsic":21,"set-function-length":35}],17:[function(t,e,r){"use strict";var n=t("has-property-descriptors")(),o=t("get-intrinsic"),i=n&&o("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(t){i=!1}var a=o("%SyntaxError%"),u=o("%TypeError%"),c=t("gopd");e.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new u("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new u("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new u("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new u("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!c&&c(t,e);if(i)i(t,e,{configurable:null===f&&s?s.configurable:!f,enumerable:null===n&&s?s.enumerable:!n,value:r,writable:null===o&&s?s.writable:!o});else{if(!l&&(n||o||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}}},{"get-intrinsic":21,gopd:22,"has-property-descriptors":23}],18:[function(t,e,r){"use strict";var n=t("is-callable"),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===o.call(t)?function(t,e,r){for(var n=0,o=t.length;n<o;n++)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,a):"string"==typeof t?function(t,e,r){for(var n=0,o=t.length;n<o;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(t,e,a):function(t,e,r){for(var n in t)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,a)}},{"is-callable":31}],19:[function(t,e,r){"use strict";var n=Object.prototype.toString,o=Math.max,i=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r};e.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==n.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,a=function(t,e){for(var r=[],n=e||0,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),u=o(0,e.length-a.length),c=[],f=0;f<u;f++)c[f]="$"+f;if(r=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var n=e.apply(this,i(a,arguments));return Object(n)===n?n:this}return e.apply(t,i(a,arguments))})),e.prototype){var l=function(){};l.prototype=e.prototype,r.prototype=new l,l.prototype=null}return r}},{}],20:[function(t,e,r){"use strict";var n=t("./implementation");e.exports=Function.prototype.bind||n},{"./implementation":19}],21:[function(t,e,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,u=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(t){c=null}var f=function(){throw new a},l=c?function(){try{return f}catch(t){try{return c(arguments,"callee").get}catch(t){return f}}}():f,s=t("has-symbols")(),p=t("has-proto")(),y=Object.getPrototypeOf||(p?function(t){return t.__proto__}:null),d={},g="undefined"!=typeof Uint8Array&&y?y(Uint8Array):n,b={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":s&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":s&&y?y(""[Symbol.iterator]()):n,"%Symbol%":s?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(t){var h=y(y(t));b["%Error.prototype%"]=h}var m=function t(e){var r;if("%AsyncFunction%"===e)r=u("async function () {}");else if("%GeneratorFunction%"===e)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=u("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&y&&(r=y(o.prototype))}return b[e]=r,r},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=t("function-bind"),A=t("hasown"),j=w.call(Function.call,Array.prototype.concat),O=w.call(Function.apply,Array.prototype.splice),S=w.call(Function.call,String.prototype.replace),P=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,I=function(t,e){var r,n=t;if(A(v,n)&&(n="%"+(r=v[n])[0]+"%"),A(b,n)){var i=b[n];if(i===d&&(i=m(n)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};e.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=P(t,0,1),r=P(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return S(t,E,(function(t,e,r,o){n[n.length]=r?S(o,F,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",i=I("%"+n+"%",e),u=i.name,f=i.value,l=!1,s=i.alias;s&&(n=s[0],O(r,j([0,1],s)));for(var p=1,y=!0;p<r.length;p+=1){var d=r[p],g=P(d,0,1),h=P(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===h||"'"===h||"`"===h)&&g!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(l=!0),A(b,u="%"+(n+="."+d)+"%"))f=b[u];else if(null!=f){if(!(d in f)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(c&&p+1>=r.length){var m=c(f,d);f=(y=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:f[d]}else y=A(f,d),f=f[d];y&&!l&&(b[u]=f)}}return f}},{"function-bind":20,"has-proto":24,"has-symbols":25,hasown:28}],22:[function(t,e,r){"use strict";var n=t("get-intrinsic")("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}e.exports=n},{"get-intrinsic":21}],23:[function(t,e,r){"use strict";var n=t("get-intrinsic")("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},e.exports=o},{"get-intrinsic":21}],24:[function(t,e,r){"use strict";var n={foo:{}},o=Object;e.exports=function(){return{__proto__:n}.foo===n.foo&&!({__proto__:null}instanceof o)}},{}],25:[function(t,e,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=t("./shams");e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},{"./shams":26}],26:[function(t,e,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},{}],27:[function(t,e,r){"use strict";var n=t("has-symbols/shams");e.exports=function(){return n()&&!!Symbol.toStringTag}},{"has-symbols/shams":26}],28:[function(t,e,r){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=t("function-bind");e.exports=i.call(n,o)},{"function-bind":20}],29:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},{}],30:[function(t,e,r){"use strict";var n=t("has-tostringtag/shams")(),o=t("call-bind/callBound")("Object.prototype.toString"),i=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},a=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},u=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=u?i:a},{"call-bind/callBound":15,"has-tostringtag/shams":27}],31:[function(t,e,r){"use strict";var n,o,i=Function.prototype.toString,a="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof a&&"function"==typeof Object.defineProperty)try{n=Object.defineProperty({},"length",{get:function(){throw o}}),o={},a((function(){throw 42}),null,n)}catch(t){t!==o&&(a=null)}else a=null;var u=/^\s*class\b/,c=function(t){try{var e=i.call(t);return u.test(e)}catch(t){return!1}},f=function(t){try{return!c(t)&&(i.call(t),!0)}catch(t){return!1}},l=Object.prototype.toString,s="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),y=function(){return!1};if("object"==typeof document){var d=document.all;l.call(d)===l.call(document.all)&&(y=function(t){if((p||!t)&&(void 0===t||"object"==typeof t))try{var e=l.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}e.exports=a?function(t){if(y(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{a(t,null,n)}catch(t){if(t!==o)return!1}return!c(t)&&f(t)}:function(t){if(y(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(s)return f(t);if(c(t))return!1;var e=l.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&f(t)}},{}],32:[function(t,e,r){"use strict";var n,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,u=t("has-tostringtag/shams")(),c=Object.getPrototypeOf;e.exports=function(t){if("function"!=typeof t)return!1;if(a.test(i.call(t)))return!0;if(!u)return"[object GeneratorFunction]"===o.call(t);if(!c)return!1;if(void 0===n){var e=function(){if(!u)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&c(e)}return c(t)===n}},{"has-tostringtag/shams":27}],33:[function(t,e,r){"use strict";var n=t("which-typed-array");e.exports=function(t){return!!n(t)}},{"which-typed-array":39}],34:[function(t,e,r){var n,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{o="function"==typeof clearTimeout?clearTimeout:u}catch(t){o=u}}();var f,l=[],s=!1,p=-1;function y(){s&&f&&(s=!1,f.length?l=f.concat(l):p=-1,l.length&&d())}function d(){if(!s){var t=c(y);s=!0;for(var e=l.length;e;){for(f=l,l=[];++p<e;)f&&f[p].run();p=-1,e=l.length}f=null,s=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===u||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{return o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function b(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new g(t,e)),1!==l.length||s||c(d)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=b,i.addListener=b,i.once=b,i.off=b,i.removeListener=b,i.removeAllListeners=b,i.emit=b,i.prependListener=b,i.prependOnceListener=b,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],35:[function(t,e,r){"use strict";var n=t("get-intrinsic"),o=t("define-data-property"),i=t("has-property-descriptors")(),a=t("gopd"),u=n("%TypeError%"),c=n("%Math.floor%");e.exports=function(t,e){if("function"!=typeof t)throw new u("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||c(e)!==e)throw new u("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,f=!0;if("length"in t&&a){var l=a(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(f=!1)}return(n||f||!r)&&(i?o(t,"length",e,!0,!0):o(t,"length",e)),t}},{"define-data-property":17,"get-intrinsic":21,gopd:22,"has-property-descriptors":23}],36:[function(t,e,r){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],37:[function(t,e,r){"use strict";var n=t("is-arguments"),o=t("is-generator-function"),i=t("which-typed-array"),a=t("is-typed-array");function u(t){return t.call.bind(t)}var c="undefined"!=typeof BigInt,f="undefined"!=typeof Symbol,l=u(Object.prototype.toString),s=u(Number.prototype.valueOf),p=u(String.prototype.valueOf),y=u(Boolean.prototype.valueOf);if(c)var d=u(BigInt.prototype.valueOf);if(f)var g=u(Symbol.prototype.valueOf);function b(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function h(t){return"[object Map]"===l(t)}function m(t){return"[object Set]"===l(t)}function v(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function A(t){return"[object ArrayBuffer]"===l(t)}function j(t){return"undefined"!=typeof ArrayBuffer&&(A.working?A(t):t instanceof ArrayBuffer)}function O(t){return"[object DataView]"===l(t)}function S(t){return"undefined"!=typeof DataView&&(O.working?O(t):t instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=o,r.isTypedArray=a,r.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},r.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||S(t)},r.isUint8Array=function(t){return"Uint8Array"===i(t)},r.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},r.isUint16Array=function(t){return"Uint16Array"===i(t)},r.isUint32Array=function(t){return"Uint32Array"===i(t)},r.isInt8Array=function(t){return"Int8Array"===i(t)},r.isInt16Array=function(t){return"Int16Array"===i(t)},r.isInt32Array=function(t){return"Int32Array"===i(t)},r.isFloat32Array=function(t){return"Float32Array"===i(t)},r.isFloat64Array=function(t){return"Float64Array"===i(t)},r.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},r.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},h.working="undefined"!=typeof Map&&h(new Map),r.isMap=function(t){return"undefined"!=typeof Map&&(h.working?h(t):t instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),r.isSet=function(t){return"undefined"!=typeof Set&&(m.working?m(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),r.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),r.isWeakSet=function(t){return w(t)},A.working="undefined"!=typeof ArrayBuffer&&A(new ArrayBuffer),r.isArrayBuffer=j,O.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&O(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=S;var P="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function x(t){return"[object SharedArrayBuffer]"===l(t)}function E(t){return void 0!==P&&(void 0===x.working&&(x.working=x(new P)),x.working?x(t):t instanceof P)}function F(t){return b(t,s)}function I(t){return b(t,p)}function T(t){return b(t,y)}function U(t){return c&&b(t,d)}function _(t){return f&&b(t,g)}r.isSharedArrayBuffer=E,r.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},r.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},r.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},r.isGeneratorObject=function(t){return"[object Generator]"===l(t)},r.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},r.isNumberObject=F,r.isStringObject=I,r.isBooleanObject=T,r.isBigIntObject=U,r.isSymbolObject=_,r.isBoxedPrimitive=function(t){return F(t)||I(t)||T(t)||U(t)||_(t)},r.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(j(t)||E(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(r,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},{"is-arguments":30,"is-generator-function":32,"is-typed-array":33,"which-typed-array":39}],38:[function(t,e,r){(function(e){(function(){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},o=/%[sdj%]/g;r.format=function(t){if(!m(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(c(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(t).replace(o,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),u=n[r];r<i;u=n[++r])b(u)||!A(u)?a+=" "+u:a+=" "+c(u);return a},r.deprecate=function(t,n){if(void 0!==e&&!0===e.noDeprecation)return t;if(void 0===e)return function(){return r.deprecate(t,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return t.apply(this,arguments)}};var i={},a=/^$/;if(e.env.NODE_DEBUG){var u=e.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+u+"$","i")}function c(t,e){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(e)?n.showHidden=e:e&&r._extend(n,e),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=f),s(n,t,n.depth)}function f(t,e){var r=c.styles[e];return r?"["+c.colors[r][0]+"m"+t+"["+c.colors[r][1]+"m":t}function l(t,e){return t}function s(t,e,n){if(t.customInspect&&e&&S(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(n,t);return m(o)||(o=s(t,o,n)),o}var i=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(m(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(h(e))return t.stylize(""+e,"number");if(g(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,e);if(i)return i;var a=Object.keys(e),u=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),O(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(e);if(0===a.length){if(S(e)){var c=e.name?": "+e.name:"";return t.stylize("[Function"+c+"]","special")}if(w(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(j(e))return t.stylize(Date.prototype.toString.call(e),"date");if(O(e))return p(e)}var f,l="",A=!1,P=["{","}"];(d(e)&&(A=!0,P=["[","]"]),S(e))&&(l=" [Function"+(e.name?": "+e.name:"")+"]");return w(e)&&(l=" "+RegExp.prototype.toString.call(e)),j(e)&&(l=" "+Date.prototype.toUTCString.call(e)),O(e)&&(l=" "+p(e)),0!==a.length||A&&0!=e.length?n<0?w(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),f=A?function(t,e,r,n,o){for(var i=[],a=0,u=e.length;a<u;++a)F(e,String(a))?i.push(y(t,e,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(y(t,e,r,n,o,!0))})),i}(t,e,n,u,a):a.map((function(r){return y(t,e,n,u,r,A)})),t.seen.pop(),function(t,e,r){var n=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(f,l,P)):P[0]+l+P[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function y(t,e,r,n,o,i){var a,u,c;if((c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?u=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(u=t.stylize("[Setter]","special")),F(n,o)||(a="["+o+"]"),u||(t.seen.indexOf(c.value)<0?(u=b(r)?s(t,c.value,null):s(t,c.value,r-1)).indexOf("\n")>-1&&(u=i?u.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+u.split("\n").map((function(t){return" "+t})).join("\n")):u=t.stylize("[Circular]","special")),v(a)){if(i&&o.match(/^\d+$/))return u;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function d(t){return Array.isArray(t)}function g(t){return"boolean"==typeof t}function b(t){return null===t}function h(t){return"number"==typeof t}function m(t){return"string"==typeof t}function v(t){return void 0===t}function w(t){return A(t)&&"[object RegExp]"===P(t)}function A(t){return"object"==typeof t&&null!==t}function j(t){return A(t)&&"[object Date]"===P(t)}function O(t){return A(t)&&("[object Error]"===P(t)||t instanceof Error)}function S(t){return"function"==typeof t}function P(t){return Object.prototype.toString.call(t)}function x(t){return t<10?"0"+t.toString(10):t.toString(10)}r.debuglog=function(t){if(t=t.toUpperCase(),!i[t])if(a.test(t)){var n=e.pid;i[t]=function(){var e=r.format.apply(r,arguments);console.error("%s %d: %s",t,n,e)}}else i[t]=function(){};return i[t]},r.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=t("./support/types"),r.isArray=d,r.isBoolean=g,r.isNull=b,r.isNullOrUndefined=function(t){return null==t},r.isNumber=h,r.isString=m,r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=v,r.isRegExp=w,r.types.isRegExp=w,r.isObject=A,r.isDate=j,r.types.isDate=j,r.isError=O,r.types.isNativeError=O,r.isFunction=S,r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=t("./support/isBuffer");var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(t,e){return Object.prototype.hasOwnProperty.call(t,e)}r.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[x(t.getHours()),x(t.getMinutes()),x(t.getSeconds())].join(":"),[t.getDate(),E[t.getMonth()],e].join(" ")),r.format.apply(r,arguments))},r.inherits=t("inherits"),r._extend=function(t,e){if(!e||!A(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}r.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(I&&t[I]){var e;if("function"!=typeof(e=t[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,I,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,o)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),I&&Object.defineProperty(e,I,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},r.promisify.custom=I,r.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};t.apply(this,r).then((function(t){e.nextTick(a.bind(null,null,t))}),(function(t){e.nextTick(T.bind(null,t,a))}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this)}).call(this,t("_process"))},{"./support/isBuffer":36,"./support/types":37,_process:34,inherits:29}],39:[function(t,e,r){(function(r){(function(){"use strict";var n=t("for-each"),o=t("available-typed-arrays"),i=t("call-bind"),a=t("call-bind/callBound"),u=t("gopd"),c=a("Object.prototype.toString"),f=t("has-tostringtag/shams")(),l="undefined"==typeof globalThis?r:globalThis,s=o(),p=a("String.prototype.slice"),y=Object.getPrototypeOf,d=a("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},g={__proto__:null};n(s,f&&u&&y?function(t){var e=new l[t];if(Symbol.toStringTag in e){var r=y(e),n=u(r,Symbol.toStringTag);if(!n){var o=y(r);n=u(o,Symbol.toStringTag)}g["$"+t]=i(n.get)}}:function(t){var e=new l[t],r=e.slice||e.set;r&&(g["$"+t]=i(r))});e.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!f){var e=p(c(t),8,-1);return d(s,e)>-1?e:"Object"===e&&function(t){var e=!1;return n(g,(function(r,n){if(!e)try{r(t),e=p(n,1)}catch(t){}})),e}(t)}return u?function(t){var e=!1;return n(g,(function(r,n){if(!e)try{"$"+r(t)===n&&(e=p(n,1))}catch(t){}})),e}(t):null}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":13,"call-bind":16,"call-bind/callBound":15,"for-each":18,gopd:22,"has-tostringtag/shams":27}]},{},[12]);
1
+ !function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){return o(e[a][1][t]||t)}),u,u.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){"use strict";var r=t("../internals/is-callable"),o=t("../internals/try-to-string"),i=TypeError;e.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},{"../internals/is-callable":46,"../internals/try-to-string":85}],2:[function(t,e,n){"use strict";var r=t("../internals/weak-map-helpers").has;e.exports=function(t){return r(t),t}},{"../internals/weak-map-helpers":90}],3:[function(t,e,n){"use strict";var r=t("../internals/object-is-prototype-of"),o=TypeError;e.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},{"../internals/object-is-prototype-of":66}],4:[function(t,e,n){"use strict";var r=t("../internals/is-object"),o=String,i=TypeError;e.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},{"../internals/is-object":49}],5:[function(t,e,n){"use strict";var r=t("../internals/to-indexed-object"),o=t("../internals/to-absolute-index"),i=t("../internals/length-of-array-like"),a=function(t){return function(e,n,a){var s,c=r(e),l=i(c),u=o(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":56,"../internals/to-absolute-index":77,"../internals/to-indexed-object":78}],6:[function(t,e,n){"use strict";var r=t("../internals/function-call"),o=t("../internals/get-built-in"),i=t("../internals/get-method");e.exports=function(t,e,n,a){try{var s=i(t,"return");if(s)return o("Promise").resolve(r(s,t)).then((function(){e(n)}),(function(t){a(t)}))}catch(t){return a(t)}e(n)}},{"../internals/function-call":28,"../internals/get-built-in":32,"../internals/get-method":36}],7:[function(t,e,n){"use strict";var r=t("../internals/function-call"),o=t("../internals/a-callable"),i=t("../internals/an-object"),a=t("../internals/is-object"),s=t("../internals/does-not-exceed-safe-integer"),c=t("../internals/get-built-in"),l=t("../internals/get-iterator-direct"),u=t("../internals/async-iterator-close"),f=function(t){var e=0===t,n=1===t,f=2===t,p=3===t;return function(t,y,d){i(t);var b=void 0!==y;!b&&e||o(y);var h=l(t),g=c("Promise"),m=h.iterator,v=h.next,j=0;return new g((function(t,o){var c=function(t){u(m,o,t,o)},l=function(){try{if(b)try{s(j)}catch(t){c(t)}g.resolve(i(r(v,m))).then((function(r){try{if(i(r).done)e?(d.length=j,t(d)):t(!p&&(f||void 0));else{var s=r.value;try{if(b){var h=y(s,j),v=function(r){if(n)l();else if(f)r?l():u(m,t,!1,o);else if(e)try{d[j++]=r,l()}catch(t){c(t)}else r?u(m,t,p||s,o):l()};a(h)?g.resolve(h).then(v,c):v(h)}else d[j++]=s,l()}catch(t){c(t)}}}catch(t){o(t)}}),o)}catch(t){o(t)}};l()}))}};e.exports={toArray:f(0),forEach:f(1),every:f(2),some:f(3),find:f(4)}},{"../internals/a-callable":1,"../internals/an-object":4,"../internals/async-iterator-close":6,"../internals/does-not-exceed-safe-integer":20,"../internals/function-call":28,"../internals/get-built-in":32,"../internals/get-iterator-direct":33,"../internals/is-object":49}],8:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=r({}.toString),i=r("".slice);e.exports=function(t){return i(o(t),8,-1)}},{"../internals/function-uncurry-this":31}],9:[function(t,e,n){"use strict";var r=t("../internals/to-string-tag-support"),o=t("../internals/is-callable"),i=t("../internals/classof-raw"),a=t("../internals/well-known-symbol")("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:c?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},{"../internals/classof-raw":8,"../internals/is-callable":46,"../internals/to-string-tag-support":84,"../internals/well-known-symbol":91}],10:[function(t,e,n){"use strict";var r=t("../internals/has-own-property"),o=t("../internals/own-keys"),i=t("../internals/object-get-own-property-descriptor"),a=t("../internals/object-define-property");e.exports=function(t,e,n){for(var s=o(e),c=a.f,l=i.f,u=0;u<s.length;u++){var f=s[u];r(t,f)||n&&r(n,f)||c(t,f,l(e,f))}}},{"../internals/has-own-property":38,"../internals/object-define-property":61,"../internals/object-get-own-property-descriptor":62,"../internals/own-keys":71}],11:[function(t,e,n){"use strict";var r=t("../internals/fails");e.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},{"../internals/fails":25}],12:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/object-define-property"),i=t("../internals/create-property-descriptor");e.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},{"../internals/create-property-descriptor":13,"../internals/descriptors":18,"../internals/object-define-property":61}],13:[function(t,e,n){"use strict";e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],14:[function(t,e,n){"use strict";var r=t("../internals/to-property-key"),o=t("../internals/object-define-property"),i=t("../internals/create-property-descriptor");e.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},{"../internals/create-property-descriptor":13,"../internals/object-define-property":61,"../internals/to-property-key":83}],15:[function(t,e,n){"use strict";var r=t("../internals/make-built-in"),o=t("../internals/object-define-property");e.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),o.f(t,e,n)}},{"../internals/make-built-in":57,"../internals/object-define-property":61}],16:[function(t,e,n){"use strict";var r=t("../internals/is-callable"),o=t("../internals/object-define-property"),i=t("../internals/make-built-in"),a=t("../internals/define-global-property");e.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:e;if(r(n)&&i(n,l,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},{"../internals/define-global-property":17,"../internals/is-callable":46,"../internals/make-built-in":57,"../internals/object-define-property":61}],17:[function(t,e,n){"use strict";var r=t("../internals/global"),o=Object.defineProperty;e.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},{"../internals/global":37}],18:[function(t,e,n){"use strict";var r=t("../internals/fails");e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":25}],19:[function(t,e,n){"use strict";var r=t("../internals/global"),o=t("../internals/is-object"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(t){return a?i.createElement(t):{}}},{"../internals/global":37,"../internals/is-object":49}],20:[function(t,e,n){"use strict";var r=TypeError;e.exports=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}},{}],21:[function(t,e,n){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},{}],22:[function(t,e,n){"use strict";var r,o,i=t("../internals/global"),a=t("../internals/engine-user-agent"),s=i.process,c=i.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},{"../internals/engine-user-agent":21,"../internals/global":37}],23:[function(t,e,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],24:[function(t,e,n){"use strict";var r=t("../internals/global"),o=t("../internals/object-get-own-property-descriptor").f,i=t("../internals/create-non-enumerable-property"),a=t("../internals/define-built-in"),s=t("../internals/define-global-property"),c=t("../internals/copy-constructor-properties"),l=t("../internals/is-forced");e.exports=function(t,e){var n,u,f,p,y,d=t.target,b=t.global,h=t.stat;if(n=b?r:h?r[d]||s(d,{}):(r[d]||{}).prototype)for(u in e){if(p=e[u],f=t.dontCallGetSet?(y=o(n,u))&&y.value:n[u],!l(b?u:d+(h?".":"#")+u,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(n,u,p,t)}}},{"../internals/copy-constructor-properties":10,"../internals/create-non-enumerable-property":12,"../internals/define-built-in":16,"../internals/define-global-property":17,"../internals/global":37,"../internals/is-forced":47,"../internals/object-get-own-property-descriptor":62}],25:[function(t,e,n){"use strict";e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],26:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this-clause"),o=t("../internals/a-callable"),i=t("../internals/function-bind-native"),a=r(r.bind);e.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},{"../internals/a-callable":1,"../internals/function-bind-native":27,"../internals/function-uncurry-this-clause":30}],27:[function(t,e,n){"use strict";var r=t("../internals/fails");e.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},{"../internals/fails":25}],28:[function(t,e,n){"use strict";var r=t("../internals/function-bind-native"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},{"../internals/function-bind-native":27}],29:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/has-own-property"),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,l=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},{"../internals/descriptors":18,"../internals/has-own-property":38}],30:[function(t,e,n){"use strict";var r=t("../internals/classof-raw"),o=t("../internals/function-uncurry-this");e.exports=function(t){if("Function"===r(t))return o(t)}},{"../internals/classof-raw":8,"../internals/function-uncurry-this":31}],31:[function(t,e,n){"use strict";var r=t("../internals/function-bind-native"),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},{"../internals/function-bind-native":27}],32:[function(t,e,n){"use strict";var r=t("../internals/global"),o=t("../internals/is-callable");e.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},{"../internals/global":37,"../internals/is-callable":46}],33:[function(t,e,n){"use strict";e.exports=function(t){return{iterator:t,next:t.next,done:!1}}},{}],34:[function(t,e,n){"use strict";var r=t("../internals/classof"),o=t("../internals/get-method"),i=t("../internals/is-null-or-undefined"),a=t("../internals/iterators"),s=t("../internals/well-known-symbol")("iterator");e.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[r(t)]}},{"../internals/classof":9,"../internals/get-method":36,"../internals/is-null-or-undefined":48,"../internals/iterators":55,"../internals/well-known-symbol":91}],35:[function(t,e,n){"use strict";var r=t("../internals/function-call"),o=t("../internals/a-callable"),i=t("../internals/an-object"),a=t("../internals/try-to-string"),s=t("../internals/get-iterator-method"),c=TypeError;e.exports=function(t,e){var n=arguments.length<2?s(t):e;if(o(n))return i(r(n,t));throw new c(a(t)+" is not iterable")}},{"../internals/a-callable":1,"../internals/an-object":4,"../internals/function-call":28,"../internals/get-iterator-method":34,"../internals/try-to-string":85}],36:[function(t,e,n){"use strict";var r=t("../internals/a-callable"),o=t("../internals/is-null-or-undefined");e.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},{"../internals/a-callable":1,"../internals/is-null-or-undefined":48}],37:[function(t,e,n){(function(t){(function(){"use strict";var n=function(t){return t&&t.Math===Math&&t};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],38:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=t("../internals/to-object"),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},{"../internals/function-uncurry-this":31,"../internals/to-object":81}],39:[function(t,e,n){"use strict";e.exports={}},{}],40:[function(t,e,n){"use strict";var r=t("../internals/get-built-in");e.exports=r("document","documentElement")},{"../internals/get-built-in":32}],41:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/fails"),i=t("../internals/document-create-element");e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":18,"../internals/document-create-element":19,"../internals/fails":25}],42:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=t("../internals/fails"),i=t("../internals/classof-raw"),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},{"../internals/classof-raw":8,"../internals/fails":25,"../internals/function-uncurry-this":31}],43:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=t("../internals/is-callable"),i=t("../internals/shared-store"),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),e.exports=i.inspectSource},{"../internals/function-uncurry-this":31,"../internals/is-callable":46,"../internals/shared-store":74}],44:[function(t,e,n){"use strict";var r,o,i,a=t("../internals/weak-map-basic-detection"),s=t("../internals/global"),c=t("../internals/is-object"),l=t("../internals/create-non-enumerable-property"),u=t("../internals/has-own-property"),f=t("../internals/shared-store"),p=t("../internals/shared-key"),y=t("../internals/hidden-keys"),d="Object already initialized",b=s.TypeError,h=s.WeakMap;if(a||f.state){var g=f.state||(f.state=new h);g.get=g.get,g.has=g.has,g.set=g.set,r=function(t,e){if(g.has(t))throw new b(d);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var m=p("state");y[m]=!0,r=function(t,e){if(u(t,m))throw new b(d);return e.facade=t,l(t,m,e),e},o=function(t){return u(t,m)?t[m]:{}},i=function(t){return u(t,m)}}e.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw new b("Incompatible receiver, "+t+" required");return n}}}},{"../internals/create-non-enumerable-property":12,"../internals/global":37,"../internals/has-own-property":38,"../internals/hidden-keys":39,"../internals/is-object":49,"../internals/shared-key":73,"../internals/shared-store":74,"../internals/weak-map-basic-detection":89}],45:[function(t,e,n){"use strict";var r=t("../internals/well-known-symbol"),o=t("../internals/iterators"),i=r("iterator"),a=Array.prototype;e.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},{"../internals/iterators":55,"../internals/well-known-symbol":91}],46:[function(t,e,n){"use strict";var r="object"==typeof document&&document.all;e.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},{}],47:[function(t,e,n){"use strict";var r=t("../internals/fails"),o=t("../internals/is-callable"),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n===u||n!==l&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},{"../internals/fails":25,"../internals/is-callable":46}],48:[function(t,e,n){"use strict";e.exports=function(t){return null==t}},{}],49:[function(t,e,n){"use strict";var r=t("../internals/is-callable");e.exports=function(t){return"object"==typeof t?null!==t:r(t)}},{"../internals/is-callable":46}],50:[function(t,e,n){"use strict";e.exports=!1},{}],51:[function(t,e,n){"use strict";var r=t("../internals/get-built-in"),o=t("../internals/is-callable"),i=t("../internals/object-is-prototype-of"),a=t("../internals/use-symbol-as-uid"),s=Object;e.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},{"../internals/get-built-in":32,"../internals/is-callable":46,"../internals/object-is-prototype-of":66,"../internals/use-symbol-as-uid":87}],52:[function(t,e,n){"use strict";var r=t("../internals/function-bind-context"),o=t("../internals/function-call"),i=t("../internals/an-object"),a=t("../internals/try-to-string"),s=t("../internals/is-array-iterator-method"),c=t("../internals/length-of-array-like"),l=t("../internals/object-is-prototype-of"),u=t("../internals/get-iterator"),f=t("../internals/get-iterator-method"),p=t("../internals/iterator-close"),y=TypeError,d=function(t,e){this.stopped=t,this.result=e},b=d.prototype;e.exports=function(t,e,n){var h,g,m,v,j,w,O,x=n&&n.that,A=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),P=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),E=r(e,x),_=function(t){return h&&p(h,"normal",t),new d(!0,t)},I=function(t){return A?(i(t),k?E(t[0],t[1],_):E(t[0],t[1])):k?E(t,_):E(t)};if(S)h=t.iterator;else if(P)h=t;else{if(!(g=f(t)))throw new y(a(t)+" is not iterable");if(s(g)){for(m=0,v=c(t);v>m;m++)if((j=I(t[m]))&&l(b,j))return j;return new d(!1)}h=u(t,g)}for(w=S?t.next:h.next;!(O=o(w,h)).done;){try{j=I(O.value)}catch(t){p(h,"throw",t)}if("object"==typeof j&&j&&l(b,j))return j}return new d(!1)}},{"../internals/an-object":4,"../internals/function-bind-context":26,"../internals/function-call":28,"../internals/get-iterator":35,"../internals/get-iterator-method":34,"../internals/is-array-iterator-method":45,"../internals/iterator-close":53,"../internals/length-of-array-like":56,"../internals/object-is-prototype-of":66,"../internals/try-to-string":85}],53:[function(t,e,n){"use strict";var r=t("../internals/function-call"),o=t("../internals/an-object"),i=t("../internals/get-method");e.exports=function(t,e,n){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return o(a),n}},{"../internals/an-object":4,"../internals/function-call":28,"../internals/get-method":36}],54:[function(t,e,n){"use strict";var r,o,i,a=t("../internals/fails"),s=t("../internals/is-callable"),c=t("../internals/is-object"),l=t("../internals/object-create"),u=t("../internals/object-get-prototype-of"),f=t("../internals/define-built-in"),p=t("../internals/well-known-symbol"),y=t("../internals/is-pure"),d=p("iterator"),b=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):b=!0),!c(r)||a((function(){var t={};return r[d].call(t)!==t}))?r={}:y&&(r=l(r)),s(r[d])||f(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:b}},{"../internals/define-built-in":16,"../internals/fails":25,"../internals/is-callable":46,"../internals/is-object":49,"../internals/is-pure":50,"../internals/object-create":59,"../internals/object-get-prototype-of":65,"../internals/well-known-symbol":91}],55:[function(t,e,n){arguments[4][39][0].apply(n,arguments)},{dup:39}],56:[function(t,e,n){"use strict";var r=t("../internals/to-length");e.exports=function(t){return r(t.length)}},{"../internals/to-length":80}],57:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=t("../internals/fails"),i=t("../internals/is-callable"),a=t("../internals/has-own-property"),s=t("../internals/descriptors"),c=t("../internals/function-name").CONFIGURABLE,l=t("../internals/inspect-source"),u=t("../internals/internal-state"),f=u.enforce,p=u.get,y=String,d=Object.defineProperty,b=r("".slice),h=r("".replace),g=r([].join),m=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),j=e.exports=function(t,e,n){"Symbol("===b(y(e),0,7)&&(e="["+h(y(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),m&&n&&a(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=f(t);return a(r,"source")||(r.source=g(v,"string"==typeof e?e:"")),t};Function.prototype.toString=j((function(){return i(this)&&p(this).source||l(this)}),"toString")},{"../internals/descriptors":18,"../internals/fails":25,"../internals/function-name":29,"../internals/function-uncurry-this":31,"../internals/has-own-property":38,"../internals/inspect-source":43,"../internals/internal-state":44,"../internals/is-callable":46}],58:[function(t,e,n){"use strict";var r=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(t){var e=+t;return(e>0?o:r)(e)}},{}],59:[function(t,e,n){"use strict";var r,o=t("../internals/an-object"),i=t("../internals/object-define-properties"),a=t("../internals/enum-bug-keys"),s=t("../internals/hidden-keys"),c=t("../internals/html"),l=t("../internals/document-create-element"),u=t("../internals/shared-key"),f="prototype",p="script",y=u("IE_PROTO"),d=function(){},b=function(t){return"<"+p+">"+t+"</"+p+">"},h=function(t){t.write(b("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;g="undefined"!=typeof document?document.domain&&r?h(r):(e=l("iframe"),n="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(b("document.F=Object")),t.close(),t.F):h(r);for(var o=a.length;o--;)delete g[f][a[o]];return g()};s[y]=!0,e.exports=Object.create||function(t,e){var n;return null!==t?(d[f]=o(t),n=new d,d[f]=null,n[y]=t):n=g(),void 0===e?n:i.f(n,e)}},{"../internals/an-object":4,"../internals/document-create-element":19,"../internals/enum-bug-keys":23,"../internals/hidden-keys":39,"../internals/html":40,"../internals/object-define-properties":60,"../internals/shared-key":73}],60:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/v8-prototype-define-bug"),i=t("../internals/object-define-property"),a=t("../internals/an-object"),s=t("../internals/to-indexed-object"),c=t("../internals/object-keys");n.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),o=c(e),l=o.length,u=0;l>u;)i.f(t,n=o[u++],r[n]);return t}},{"../internals/an-object":4,"../internals/descriptors":18,"../internals/object-define-property":61,"../internals/object-keys":68,"../internals/to-indexed-object":78,"../internals/v8-prototype-define-bug":88}],61:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/ie8-dom-define"),i=t("../internals/v8-prototype-define-bug"),a=t("../internals/an-object"),s=t("../internals/to-property-key"),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",y="writable";n.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&y in n&&!n[y]){var r=u(t,e);r&&r[y]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},{"../internals/an-object":4,"../internals/descriptors":18,"../internals/ie8-dom-define":41,"../internals/to-property-key":83,"../internals/v8-prototype-define-bug":88}],62:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/function-call"),i=t("../internals/object-property-is-enumerable"),a=t("../internals/create-property-descriptor"),s=t("../internals/to-indexed-object"),c=t("../internals/to-property-key"),l=t("../internals/has-own-property"),u=t("../internals/ie8-dom-define"),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(t,e){if(t=s(t),e=c(e),u)try{return f(t,e)}catch(t){}if(l(t,e))return a(!o(i.f,t,e),t[e])}},{"../internals/create-property-descriptor":13,"../internals/descriptors":18,"../internals/function-call":28,"../internals/has-own-property":38,"../internals/ie8-dom-define":41,"../internals/object-property-is-enumerable":69,"../internals/to-indexed-object":78,"../internals/to-property-key":83}],63:[function(t,e,n){"use strict";var r=t("../internals/object-keys-internal"),o=t("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},{"../internals/enum-bug-keys":23,"../internals/object-keys-internal":67}],64:[function(t,e,n){"use strict";n.f=Object.getOwnPropertySymbols},{}],65:[function(t,e,n){"use strict";var r=t("../internals/has-own-property"),o=t("../internals/is-callable"),i=t("../internals/to-object"),a=t("../internals/shared-key"),s=t("../internals/correct-prototype-getter"),c=a("IE_PROTO"),l=Object,u=l.prototype;e.exports=s?l.getPrototypeOf:function(t){var e=i(t);if(r(e,c))return e[c];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof l?u:null}},{"../internals/correct-prototype-getter":11,"../internals/has-own-property":38,"../internals/is-callable":46,"../internals/shared-key":73,"../internals/to-object":81}],66:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this");e.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":31}],67:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=t("../internals/has-own-property"),i=t("../internals/to-indexed-object"),a=t("../internals/array-includes").indexOf,s=t("../internals/hidden-keys"),c=r([].push);e.exports=function(t,e){var n,r=i(t),l=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&c(u,n);for(;e.length>l;)o(r,n=e[l++])&&(~a(u,n)||c(u,n));return u}},{"../internals/array-includes":5,"../internals/function-uncurry-this":31,"../internals/has-own-property":38,"../internals/hidden-keys":39,"../internals/to-indexed-object":78}],68:[function(t,e,n){"use strict";var r=t("../internals/object-keys-internal"),o=t("../internals/enum-bug-keys");e.exports=Object.keys||function(t){return r(t,o)}},{"../internals/enum-bug-keys":23,"../internals/object-keys-internal":67}],69:[function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},{}],70:[function(t,e,n){"use strict";var r=t("../internals/function-call"),o=t("../internals/is-callable"),i=t("../internals/is-object"),a=TypeError;e.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!i(s=r(n,t)))return s;if(o(n=t.valueOf)&&!i(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!i(s=r(n,t)))return s;throw new a("Can't convert object to primitive value")}},{"../internals/function-call":28,"../internals/is-callable":46,"../internals/is-object":49}],71:[function(t,e,n){"use strict";var r=t("../internals/get-built-in"),o=t("../internals/function-uncurry-this"),i=t("../internals/object-get-own-property-names"),a=t("../internals/object-get-own-property-symbols"),s=t("../internals/an-object"),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=a.f;return n?c(e,n(t)):e}},{"../internals/an-object":4,"../internals/function-uncurry-this":31,"../internals/get-built-in":32,"../internals/object-get-own-property-names":63,"../internals/object-get-own-property-symbols":64}],72:[function(t,e,n){"use strict";var r=t("../internals/is-null-or-undefined"),o=TypeError;e.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},{"../internals/is-null-or-undefined":48}],73:[function(t,e,n){"use strict";var r=t("../internals/shared"),o=t("../internals/uid"),i=r("keys");e.exports=function(t){return i[t]||(i[t]=o(t))}},{"../internals/shared":75,"../internals/uid":86}],74:[function(t,e,n){"use strict";var r=t("../internals/global"),o=t("../internals/define-global-property"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},{"../internals/define-global-property":17,"../internals/global":37}],75:[function(t,e,n){"use strict";var r=t("../internals/is-pure"),o=t("../internals/shared-store");(e.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":50,"../internals/shared-store":74}],76:[function(t,e,n){"use strict";var r=t("../internals/engine-v8-version"),o=t("../internals/fails"),i=t("../internals/global").String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/engine-v8-version":22,"../internals/fails":25,"../internals/global":37}],77:[function(t,e,n){"use strict";var r=t("../internals/to-integer-or-infinity"),o=Math.max,i=Math.min;e.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},{"../internals/to-integer-or-infinity":79}],78:[function(t,e,n){"use strict";var r=t("../internals/indexed-object"),o=t("../internals/require-object-coercible");e.exports=function(t){return r(o(t))}},{"../internals/indexed-object":42,"../internals/require-object-coercible":72}],79:[function(t,e,n){"use strict";var r=t("../internals/math-trunc");e.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},{"../internals/math-trunc":58}],80:[function(t,e,n){"use strict";var r=t("../internals/to-integer-or-infinity"),o=Math.min;e.exports=function(t){return t>0?o(r(t),9007199254740991):0}},{"../internals/to-integer-or-infinity":79}],81:[function(t,e,n){"use strict";var r=t("../internals/require-object-coercible"),o=Object;e.exports=function(t){return o(r(t))}},{"../internals/require-object-coercible":72}],82:[function(t,e,n){"use strict";var r=t("../internals/function-call"),o=t("../internals/is-object"),i=t("../internals/is-symbol"),a=t("../internals/get-method"),s=t("../internals/ordinary-to-primitive"),c=t("../internals/well-known-symbol"),l=TypeError,u=c("toPrimitive");e.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},{"../internals/function-call":28,"../internals/get-method":36,"../internals/is-object":49,"../internals/is-symbol":51,"../internals/ordinary-to-primitive":70,"../internals/well-known-symbol":91}],83:[function(t,e,n){"use strict";var r=t("../internals/to-primitive"),o=t("../internals/is-symbol");e.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},{"../internals/is-symbol":51,"../internals/to-primitive":82}],84:[function(t,e,n){"use strict";var r={};r[t("../internals/well-known-symbol")("toStringTag")]="z",e.exports="[object z]"===String(r)},{"../internals/well-known-symbol":91}],85:[function(t,e,n){"use strict";var r=String;e.exports=function(t){try{return r(t)}catch(t){return"Object"}}},{}],86:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=0,i=Math.random(),a=r(1..toString);e.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},{"../internals/function-uncurry-this":31}],87:[function(t,e,n){"use strict";var r=t("../internals/symbol-constructor-detection");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":76}],88:[function(t,e,n){"use strict";var r=t("../internals/descriptors"),o=t("../internals/fails");e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":18,"../internals/fails":25}],89:[function(t,e,n){"use strict";var r=t("../internals/global"),o=t("../internals/is-callable"),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},{"../internals/global":37,"../internals/is-callable":46}],90:[function(t,e,n){"use strict";var r=t("../internals/function-uncurry-this"),o=WeakMap.prototype;e.exports={WeakMap:WeakMap,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete)}},{"../internals/function-uncurry-this":31}],91:[function(t,e,n){"use strict";var r=t("../internals/global"),o=t("../internals/shared"),i=t("../internals/has-own-property"),a=t("../internals/uid"),s=t("../internals/symbol-constructor-detection"),c=t("../internals/use-symbol-as-uid"),l=r.Symbol,u=o("wks"),f=c?l.for||l:l&&l.withoutSetter||a;e.exports=function(t){return i(u,t)||(u[t]=s&&i(l,t)?l[t]:f("Symbol."+t)),u[t]}},{"../internals/global":37,"../internals/has-own-property":38,"../internals/shared":75,"../internals/symbol-constructor-detection":76,"../internals/uid":86,"../internals/use-symbol-as-uid":87}],92:[function(t,e,n){"use strict";var r=t("../internals/export"),o=t("../internals/async-iterator-iteration").forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(t){return o(this,t)}})},{"../internals/async-iterator-iteration":7,"../internals/export":24}],93:[function(t,e,n){"use strict";var r=t("../internals/export"),o=t("../internals/global"),i=t("../internals/an-instance"),a=t("../internals/an-object"),s=t("../internals/is-callable"),c=t("../internals/object-get-prototype-of"),l=t("../internals/define-built-in-accessor"),u=t("../internals/create-property"),f=t("../internals/fails"),p=t("../internals/has-own-property"),y=t("../internals/well-known-symbol"),d=t("../internals/iterators-core").IteratorPrototype,b=t("../internals/descriptors"),h=t("../internals/is-pure"),g="constructor",m="Iterator",v=y("toStringTag"),j=TypeError,w=o[m],O=h||!s(w)||w.prototype!==d||!f((function(){w({})})),x=function(){if(i(this,d),c(this)===d)throw new j("Abstract class Iterator not directly constructable")},A=function(t,e){b?l(d,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===d)throw new j("You can't redefine this property");p(this,t)?this[t]=e:u(this,t,e)}}):d[t]=e};p(d,v)||A(v,m),!O&&p(d,g)&&d[g]!==Object||A(g,x),x.prototype=d,r({global:!0,constructor:!0,forced:O},{Iterator:x})},{"../internals/an-instance":3,"../internals/an-object":4,"../internals/create-property":14,"../internals/define-built-in-accessor":15,"../internals/descriptors":18,"../internals/export":24,"../internals/fails":25,"../internals/global":37,"../internals/has-own-property":38,"../internals/is-callable":46,"../internals/is-pure":50,"../internals/iterators-core":54,"../internals/object-get-prototype-of":65,"../internals/well-known-symbol":91}],94:[function(t,e,n){"use strict";var r=t("../internals/export"),o=t("../internals/iterate"),i=t("../internals/a-callable"),a=t("../internals/an-object"),s=t("../internals/get-iterator-direct");r({target:"Iterator",proto:!0,real:!0},{forEach:function(t){a(this),i(t);var e=s(this),n=0;o(e,(function(e){t(e,n++)}),{IS_RECORD:!0})}})},{"../internals/a-callable":1,"../internals/an-object":4,"../internals/export":24,"../internals/get-iterator-direct":33,"../internals/iterate":52}],95:[function(t,e,n){"use strict";var r=t("../internals/export"),o=t("../internals/a-weak-map"),i=t("../internals/weak-map-helpers").remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),n=!0,r=0,a=arguments.length;r<a;r++)t=i(e,arguments[r]),n=n&&t;return!!n}})},{"../internals/a-weak-map":2,"../internals/export":24,"../internals/weak-map-helpers":90}],96:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.circularObject=void 0;const r=n.circularObject={name:"root",parent:null,body:null,head:null,children:[]};r.children=[{name:"body",parent:null,children:[]},{name:"head",parent:null,children:[]}],r.body=r.children[0],r.head=r.children[1],r.body.parent=r,r.head.parent=r,r.body.children=[{name:"body child one",parent:null,children:[]},{name:"body child two",parent:null,children:[]}],r.body.children[0].parent=r.body,r.body.children[1].parent=r.body,r.head.children=[{name:"head child one",parent:null,children:[]},{name:"head child two",parent:null,children:[]}],r.head.children[0].parent=r.head,r.head.children[1].parent=r.head;n.default=r},{}],97:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.countMatches=void 0;const r=(t,e)=>t.split(e).length-1;n.countMatches=r;n.default=r},{}],98:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.deepReferenceObject=void 0;const r=n.deepReferenceObject={object1:{name:"someName",object2:{age:12,array1:["someString","anotherString"]},array2:[89,32]},title:"Some Title",item:45};n.default=r},{}],99:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.domItem=n.default=void 0;const r=n.domItem=[{attributes:{className:"row",style:{}},axis:"y",children:[{attributes:{style:{}},axis:"x",children:[],element:{},eventListeners:{},hasShip:!1,isHit:!1,parentItem:{},point:{},tagName:"div"}],element:null,eventListeners:{},parentItem:{},tagName:"div"}];n.default=r},{}],100:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.jsonDom=n.default=void 0;const r=n.jsonDom={tagName:"div",attributes:{style:{},className:"column"},element:null,eventListeners:{},parentItem:{},children:[],axis:"x"};n.default=r},{}],101:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.linkedList=n.default=void 0;const r=n.linkedList={name:"one",prev:null,next:null};r.next={name:"two",prev:r,next:null},r.next.next={name:"three",prev:r.next,next:null};n.default=r},{}],102:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.logObject=n.default=void 0;const r=(e,n="logging",r="log")=>{const o="string"===r?(t,e)=>`'${t}' | `+JSON.stringify(e):console[r];return o(n,void 0===t||"string"===r?e:t("util").inspect(e,!1,null,!0))};n.logObject=r;n.default=r},{util:140}],103:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.multiReferenceObject=n.default=void 0;const r=n.multiReferenceObject={object1:{name:"someName"},object2:{age:12},array1:["someString","anotherString"],array2:[89,32],title:"Some Title",item:45};n.default=r},{}],104:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.nodeTree=n.default=void 0;const r=n.nodeTree={name:"one",parent:null,children:[]};r.children[0]={name:"child one",parent:r,children:[]},r.children[1]={name:"child two",parent:r,children:[]},r.children[0].children[0]={name:"grandchild one",parent:r.children[0],children:[]};n.default=r},{}],105:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeDirectory=n.default=void 0;var r=t("fs");const o=t=>new Promise(((e,n)=>(0,r.access)(t,r.constants.F_OK,(o=>o?e(t):(0,r.rm)(t,{recursive:!0},(r=>r?n(r):e(t)))))));n.removeDirectory=o;n.default=o},{fs:109}],106:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.setUp=n.setDefaults=n.default=n.createTempDir=n.beforeEach=n.afterEach=void 0;var r,o=t("fs"),i=(r=t("./removeDirectory"))&&r.__esModule?r:{default:r};var a=function(t,e,n,r){return new(n||(n=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 e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))};let s="test-temp/",c=`${s}src`;const l=()=>(0,i.default)(s);n.afterEach=l;const u=(t=!0)=>a(void 0,void 0,void 0,(function*(){return t?(0,i.default)(s).then((t=>u((0,o.existsSync)(t)))).catch((t=>console.error("Error: ",t))):(0,o.mkdirSync)(c,{recursive:!0})}));n.createTempDir=u;const f=()=>u();n.beforeEach=f;const p=(t=null)=>{t&&(s=t,c=`${s}src`)};n.setDefaults=p;const y=n.setUp={afterEach:l,beforeEach:f,createTempDir:u,setDefaults:p};n.default=y},{"./removeDirectory":105,fs:109}],107:[function(t,e,n){"use strict";t("core-js/modules/esnext.weak-map.delete-all.js"),t("core-js/modules/esnext.async-iterator.for-each.js"),t("core-js/modules/esnext.iterator.constructor.js"),t("core-js/modules/esnext.iterator.for-each.js"),Object.defineProperty(n,"__esModule",{value:!0});var r={testFs:!0,testFsBrowser:!0};n.testFsBrowser=n.testFs=n.default=void 0;var o=h(t("./functions/circularObject"));Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===o[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return o[t]}}))}));var i=h(t("./functions/countMatches"));Object.keys(i).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===i[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return i[t]}}))}));var a=h(t("./functions/deepReferenceObject"));Object.keys(a).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===a[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return a[t]}}))}));var s=h(t("./functions/domItem"));Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===s[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return s[t]}}))}));var c=h(t("./functions/jsonDom"));Object.keys(c).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===c[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return c[t]}}))}));var l=h(t("./functions/linkedList"));Object.keys(l).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===l[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return l[t]}}))}));var u=h(t("./functions/logObject"));Object.keys(u).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===u[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return u[t]}}))}));var f=h(t("./functions/multiReferenceObject"));Object.keys(f).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===f[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return f[t]}}))}));var p=h(t("./functions/nodeTree"));Object.keys(p).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===p[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return p[t]}}))}));var y=h(t("./functions/removeDirectory"));Object.keys(y).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===y[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return y[t]}}))}));var d=h(t("./functions/setUp"));function b(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(b=function(t){return t?n:e})(t)}function h(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=b(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||t in n&&n[t]===d[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return d[t]}}))}));const g=n.testFs={circularObject:o.default,countMatches:i.default,deepReferenceObject:a.default,domItem:s.default,jsonDom:c.default,linkedList:l.default,logObject:u.default,multiReferenceObject:f.default,nodeTree:p.default,removeDirectory:y.default,setUp:d.default};n.default=g;const m=n.testFsBrowser={circularObject:o.default,countMatches:i.default,deepReferenceObject:a.default,domItem:s.default,jsonDom:c.default,linkedList:l.default,logObject:u.default,multiReferenceObject:f.default,nodeTree:p.default};"undefined"!=typeof window&&(window.testFs=m)},{"./functions/circularObject":96,"./functions/countMatches":97,"./functions/deepReferenceObject":98,"./functions/domItem":99,"./functions/jsonDom":100,"./functions/linkedList":101,"./functions/logObject":102,"./functions/multiReferenceObject":103,"./functions/nodeTree":104,"./functions/removeDirectory":105,"./functions/setUp":106,"core-js/modules/esnext.async-iterator.for-each.js":92,"core-js/modules/esnext.iterator.constructor.js":93,"core-js/modules/esnext.iterator.for-each.js":94,"core-js/modules/esnext.weak-map.delete-all.js":95}],108:[function(t,e,n){(function(t){(function(){"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="undefined"==typeof globalThis?t:globalThis;e.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof r[n[e]]&&(t[t.length]=n[e]);return t}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],109:[function(t,e,n){},{}],110:[function(t,e,n){"use strict";var r=t("get-intrinsic"),o=t("./"),i=o(r("String.prototype.indexOf"));e.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&i(t,".prototype.")>-1?o(n):n}},{"./":111,"get-intrinsic":123}],111:[function(t,e,n){"use strict";var r=t("function-bind"),o=t("get-intrinsic"),i=t("set-function-length"),a=t("es-errors/type"),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(c,s),u=o("%Object.defineProperty%",!0),f=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}e.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=l(r,c,arguments);return i(e,1+f(0,t.length-(arguments.length-1)),!0)};var p=function(){return l(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},{"es-errors/type":118,"function-bind":122,"get-intrinsic":123,"set-function-length":137}],112:[function(t,e,n){"use strict";var r=t("has-property-descriptors")(),o=t("get-intrinsic"),i=r&&o("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(t){i=!1}var a=t("es-errors/syntax"),s=t("es-errors/type"),c=t("gopd");e.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new s("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],f=!!c&&c(t,e);if(i)i(t,e,{configurable:null===l&&f?f.configurable:!l,enumerable:null===r&&f?f.enumerable:!r,value:n,writable:null===o&&f?f.writable:!o});else{if(!u&&(r||o||l))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=n}}},{"es-errors/syntax":117,"es-errors/type":118,"get-intrinsic":123,gopd:124,"has-property-descriptors":125}],113:[function(t,e,n){"use strict";e.exports=EvalError},{}],114:[function(t,e,n){"use strict";e.exports=Error},{}],115:[function(t,e,n){"use strict";e.exports=RangeError},{}],116:[function(t,e,n){"use strict";e.exports=ReferenceError},{}],117:[function(t,e,n){"use strict";e.exports=SyntaxError},{}],118:[function(t,e,n){"use strict";e.exports=TypeError},{}],119:[function(t,e,n){"use strict";e.exports=URIError},{}],120:[function(t,e,n){"use strict";var r=t("is-callable"),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(t,e,n){if(!r(e))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===o.call(t)?function(t,e,n){for(var r=0,o=t.length;r<o;r++)i.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))}(t,e,a):"string"==typeof t?function(t,e,n){for(var r=0,o=t.length;r<o;r++)null==n?e(t.charAt(r),r,t):e.call(n,t.charAt(r),r,t)}(t,e,a):function(t,e,n){for(var r in t)i.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))}(t,e,a)}},{"is-callable":133}],121:[function(t,e,n){"use strict";var r=Object.prototype.toString,o=Math.max,i=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var o=0;o<e.length;o+=1)n[o+t.length]=e[o];return n};e.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==r.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n,a=function(t,e){for(var n=[],r=e||0,o=0;r<t.length;r+=1,o+=1)n[o]=t[r];return n}(arguments,1),s=o(0,e.length-a.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(n=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=e);return n}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var r=e.apply(this,i(a,arguments));return Object(r)===r?r:this}return e.apply(t,i(a,arguments))})),e.prototype){var u=function(){};u.prototype=e.prototype,n.prototype=new u,u.prototype=null}return n}},{}],122:[function(t,e,n){"use strict";var r=t("./implementation");e.exports=Function.prototype.bind||r},{"./implementation":121}],123:[function(t,e,n){"use strict";var r,o=t("es-errors"),i=t("es-errors/eval"),a=t("es-errors/range"),s=t("es-errors/ref"),c=t("es-errors/syntax"),l=t("es-errors/type"),u=t("es-errors/uri"),f=Function,p=function(t){try{return f('"use strict"; return ('+t+").constructor;")()}catch(t){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(t){y=null}var d=function(){throw new l},b=y?function(){try{return d}catch(t){try{return y(arguments,"callee").get}catch(t){return d}}}():d,h=t("has-symbols")(),g=t("has-proto")(),m=Object.getPrototypeOf||(g?function(t){return t.__proto__}:null),v={},j="undefined"!=typeof Uint8Array&&m?m(Uint8Array):r,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&m?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&m?m(m([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h&&m?m((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&h&&m?m((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&m?m(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":b,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(m)try{null.error}catch(t){var O=m(m(t));w["%Error.prototype%"]=O}var x=function t(e){var n;if("%AsyncFunction%"===e)n=p("async function () {}");else if("%GeneratorFunction%"===e)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=p("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&m&&(n=m(o.prototype))}return w[e]=n,n},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t("function-bind"),P=t("hasown"),k=S.call(Function.call,Array.prototype.concat),E=S.call(Function.apply,Array.prototype.splice),_=S.call(Function.call,String.prototype.replace),I=S.call(Function.call,String.prototype.slice),M=S.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,R=function(t,e){var n,r=t;if(P(A,r)&&(r="%"+(n=A[r])[0]+"%"),P(w,r)){var o=w[r];if(o===v&&(o=x(r)),void 0===o&&!e)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new c("intrinsic "+t+" does not exist!")};e.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new l('"allowMissing" argument must be a boolean');if(null===M(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=I(t,0,1),n=I(t,-1);if("%"===e&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return _(t,T,(function(t,e,n,o){r[r.length]=n?_(o,F,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",o=R("%"+r+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],E(n,k([0,1],u)));for(var f=1,p=!0;f<n.length;f+=1){var d=n[f],b=I(d,0,1),h=I(d,-1);if(('"'===b||"'"===b||"`"===b||'"'===h||"'"===h||"`"===h)&&b!==h)throw new c("property names with quotes must have matching quotes");if("constructor"!==d&&p||(s=!0),P(w,i="%"+(r+="."+d)+"%"))a=w[i];else if(null!=a){if(!(d in a)){if(!e)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(y&&f+1>=n.length){var g=y(a,d);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[d]}else p=P(a,d),a=a[d];p&&!s&&(w[i]=a)}}return a}},{"es-errors":114,"es-errors/eval":113,"es-errors/range":115,"es-errors/ref":116,"es-errors/syntax":117,"es-errors/type":118,"es-errors/uri":119,"function-bind":122,"has-proto":126,"has-symbols":127,hasown:130}],124:[function(t,e,n){"use strict";var r=t("get-intrinsic")("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(t){r=null}e.exports=r},{"get-intrinsic":123}],125:[function(t,e,n){"use strict";var r=t("get-intrinsic")("%Object.defineProperty%",!0),o=function(){if(r)try{return r({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},e.exports=o},{"get-intrinsic":123}],126:[function(t,e,n){"use strict";var r={foo:{}},o=Object;e.exports=function(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof o)}},{}],127:[function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=t("./shams");e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},{"./shams":128}],128:[function(t,e,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},{}],129:[function(t,e,n){"use strict";var r=t("has-symbols/shams");e.exports=function(){return r()&&!!Symbol.toStringTag}},{"has-symbols/shams":128}],130:[function(t,e,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=t("function-bind");e.exports=i.call(r,o)},{"function-bind":122}],131:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},{}],132:[function(t,e,n){"use strict";var r=t("has-tostringtag/shams")(),o=t("call-bind/callBound")("Object.prototype.toString"),i=function(t){return!(r&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},a=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},{"call-bind/callBound":110,"has-tostringtag/shams":129}],133:[function(t,e,n){"use strict";var r,o,i=Function.prototype.toString,a="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof a&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},a((function(){throw 42}),null,r)}catch(t){t!==o&&(a=null)}else a=null;var s=/^\s*class\b/,c=function(t){try{var e=i.call(t);return s.test(e)}catch(t){return!1}},l=function(t){try{return!c(t)&&(i.call(t),!0)}catch(t){return!1}},u=Object.prototype.toString,f="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),y=function(){return!1};if("object"==typeof document){var d=document.all;u.call(d)===u.call(document.all)&&(y=function(t){if((p||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}e.exports=a?function(t){if(y(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{a(t,null,r)}catch(t){if(t!==o)return!1}return!c(t)&&l(t)}:function(t){if(y(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(f)return l(t);if(c(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&l(t)}},{}],134:[function(t,e,n){"use strict";var r,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=t("has-tostringtag/shams")(),c=Object.getPrototypeOf;e.exports=function(t){if("function"!=typeof t)return!1;if(a.test(i.call(t)))return!0;if(!s)return"[object GeneratorFunction]"===o.call(t);if(!c)return!1;if(void 0===r){var e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}();r=!!e&&c(e)}return c(t)===r}},{"has-tostringtag/shams":129}],135:[function(t,e,n){"use strict";var r=t("which-typed-array");e.exports=function(t){return!!r(t)}},{"which-typed-array":141}],136:[function(t,e,n){var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var l,u=[],f=!1,p=-1;function y(){f&&l&&(f=!1,l.length?u=l.concat(u):p=-1,u.length&&d())}function d(){if(!f){var t=c(y);f=!0;for(var e=u.length;e;){for(l=u,u=[];++p<e;)l&&l[p].run();p=-1,e=u.length}l=null,f=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{return o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function b(t,e){this.fun=t,this.array=e}function h(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new b(t,e)),1!==u.length||f||c(d)},b.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],137:[function(t,e,n){"use strict";var r=t("get-intrinsic"),o=t("define-data-property"),i=t("has-property-descriptors")(),a=t("gopd"),s=t("es-errors/type"),c=r("%Math.floor%");e.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||c(e)!==e)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in t&&a){var u=a(t,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(l=!1)}return(r||l||!n)&&(i?o(t,"length",e,!0,!0):o(t,"length",e)),t}},{"define-data-property":112,"es-errors/type":118,"get-intrinsic":123,gopd:124,"has-property-descriptors":125}],138:[function(t,e,n){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],139:[function(t,e,n){"use strict";var r=t("is-arguments"),o=t("is-generator-function"),i=t("which-typed-array"),a=t("is-typed-array");function s(t){return t.call.bind(t)}var c="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,u=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),y=s(Boolean.prototype.valueOf);if(c)var d=s(BigInt.prototype.valueOf);if(l)var b=s(Symbol.prototype.valueOf);function h(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function g(t){return"[object Map]"===u(t)}function m(t){return"[object Set]"===u(t)}function v(t){return"[object WeakMap]"===u(t)}function j(t){return"[object WeakSet]"===u(t)}function w(t){return"[object ArrayBuffer]"===u(t)}function O(t){return"undefined"!=typeof ArrayBuffer&&(w.working?w(t):t instanceof ArrayBuffer)}function x(t){return"[object DataView]"===u(t)}function A(t){return"undefined"!=typeof DataView&&(x.working?x(t):t instanceof DataView)}n.isArgumentsObject=r,n.isGeneratorFunction=o,n.isTypedArray=a,n.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},n.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||A(t)},n.isUint8Array=function(t){return"Uint8Array"===i(t)},n.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},n.isUint16Array=function(t){return"Uint16Array"===i(t)},n.isUint32Array=function(t){return"Uint32Array"===i(t)},n.isInt8Array=function(t){return"Int8Array"===i(t)},n.isInt16Array=function(t){return"Int16Array"===i(t)},n.isInt32Array=function(t){return"Int32Array"===i(t)},n.isFloat32Array=function(t){return"Float32Array"===i(t)},n.isFloat64Array=function(t){return"Float64Array"===i(t)},n.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},n.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},g.working="undefined"!=typeof Map&&g(new Map),n.isMap=function(t){return"undefined"!=typeof Map&&(g.working?g(t):t instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),n.isSet=function(t){return"undefined"!=typeof Set&&(m.working?m(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),n.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},j.working="undefined"!=typeof WeakSet&&j(new WeakSet),n.isWeakSet=function(t){return j(t)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),n.isArrayBuffer=O,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),n.isDataView=A;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function P(t){return"[object SharedArrayBuffer]"===u(t)}function k(t){return void 0!==S&&(void 0===P.working&&(P.working=P(new S)),P.working?P(t):t instanceof S)}function E(t){return h(t,f)}function _(t){return h(t,p)}function I(t){return h(t,y)}function M(t){return c&&h(t,d)}function T(t){return l&&h(t,b)}n.isSharedArrayBuffer=k,n.isAsyncFunction=function(t){return"[object AsyncFunction]"===u(t)},n.isMapIterator=function(t){return"[object Map Iterator]"===u(t)},n.isSetIterator=function(t){return"[object Set Iterator]"===u(t)},n.isGeneratorObject=function(t){return"[object Generator]"===u(t)},n.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===u(t)},n.isNumberObject=E,n.isStringObject=_,n.isBooleanObject=I,n.isBigIntObject=M,n.isSymbolObject=T,n.isBoxedPrimitive=function(t){return E(t)||_(t)||I(t)||M(t)||T(t)},n.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(O(t)||k(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(n,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},{"is-arguments":132,"is-generator-function":134,"is-typed-array":135,"which-typed-array":141}],140:[function(t,e,n){(function(e){(function(){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},o=/%[sdj%]/g;n.format=function(t){if(!m(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(c(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(t).replace(o,(function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}})),s=r[n];n<i;s=r[++n])h(s)||!w(s)?a+=" "+s:a+=" "+c(s);return a},n.deprecate=function(t,r){if(void 0!==e&&!0===e.noDeprecation)return t;if(void 0===e)return function(){return n.deprecate(t,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),o=!0}return t.apply(this,arguments)}};var i={},a=/^$/;if(e.env.NODE_DEBUG){var s=e.env.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function c(t,e){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),b(e)?r.showHidden=e:e&&n._extend(r,e),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),f(r,t,r.depth)}function l(t,e){var n=c.styles[e];return n?"["+c.colors[n][0]+"m"+t+"["+c.colors[n][1]+"m":t}function u(t,e){return t}function f(t,e,r){if(t.customInspect&&e&&A(e.inspect)&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(r,t);return m(o)||(o=f(t,o,r)),o}var i=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(m(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(g(e))return t.stylize(""+e,"number");if(b(e))return t.stylize(""+e,"boolean");if(h(e))return t.stylize("null","null")}(t,e);if(i)return i;var a=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),x(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(e);if(0===a.length){if(A(e)){var c=e.name?": "+e.name:"";return t.stylize("[Function"+c+"]","special")}if(j(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(O(e))return t.stylize(Date.prototype.toString.call(e),"date");if(x(e))return p(e)}var l,u="",w=!1,S=["{","}"];(d(e)&&(w=!0,S=["[","]"]),A(e))&&(u=" [Function"+(e.name?": "+e.name:"")+"]");return j(e)&&(u=" "+RegExp.prototype.toString.call(e)),O(e)&&(u=" "+Date.prototype.toUTCString.call(e)),x(e)&&(u=" "+p(e)),0!==a.length||w&&0!=e.length?r<0?j(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),l=w?function(t,e,n,r,o){for(var i=[],a=0,s=e.length;a<s;++a)E(e,String(a))?i.push(y(t,e,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(y(t,e,n,r,o,!0))})),i}(t,e,r,s,a):a.map((function(n){return y(t,e,r,s,n,w)})),t.seen.pop(),function(t,e,n){var r=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(l,u,S)):S[0]+u+S[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function y(t,e,n,r,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),E(r,o)||(a="["+o+"]"),s||(t.seen.indexOf(c.value)<0?(s=h(n)?f(t,c.value,null):f(t,c.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),v(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function b(t){return"boolean"==typeof t}function h(t){return null===t}function g(t){return"number"==typeof t}function m(t){return"string"==typeof t}function v(t){return void 0===t}function j(t){return w(t)&&"[object RegExp]"===S(t)}function w(t){return"object"==typeof t&&null!==t}function O(t){return w(t)&&"[object Date]"===S(t)}function x(t){return w(t)&&("[object Error]"===S(t)||t instanceof Error)}function A(t){return"function"==typeof t}function S(t){return Object.prototype.toString.call(t)}function P(t){return t<10?"0"+t.toString(10):t.toString(10)}n.debuglog=function(t){if(t=t.toUpperCase(),!i[t])if(a.test(t)){var r=e.pid;i[t]=function(){var e=n.format.apply(n,arguments);console.error("%s %d: %s",t,r,e)}}else i[t]=function(){};return i[t]},n.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.types=t("./support/types"),n.isArray=d,n.isBoolean=b,n.isNull=h,n.isNullOrUndefined=function(t){return null==t},n.isNumber=g,n.isString=m,n.isSymbol=function(t){return"symbol"==typeof t},n.isUndefined=v,n.isRegExp=j,n.types.isRegExp=j,n.isObject=w,n.isDate=O,n.types.isDate=O,n.isError=x,n.types.isNativeError=x,n.isFunction=A,n.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},n.isBuffer=t("./support/isBuffer");var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(t,e){return Object.prototype.hasOwnProperty.call(t,e)}n.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[P(t.getHours()),P(t.getMinutes()),P(t.getSeconds())].join(":"),[t.getDate(),k[t.getMonth()],e].join(" ")),n.format.apply(n,arguments))},n.inherits=t("inherits"),n._extend=function(t,e){if(!e||!w(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var _="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}n.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(_&&t[_]){var e;if("function"!=typeof(e=t[_]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,_,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,o)}catch(t){n(t)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),_&&Object.defineProperty(e,_,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},n.promisify.custom=_,n.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var o=n.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};t.apply(this,n).then((function(t){e.nextTick(a.bind(null,null,t))}),(function(t){e.nextTick(I.bind(null,t,a))}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(this)}).call(this,t("_process"))},{"./support/isBuffer":138,"./support/types":139,_process:136,inherits:131}],141:[function(t,e,n){(function(n){(function(){"use strict";var r=t("for-each"),o=t("available-typed-arrays"),i=t("call-bind"),a=t("call-bind/callBound"),s=t("gopd"),c=a("Object.prototype.toString"),l=t("has-tostringtag/shams")(),u="undefined"==typeof globalThis?n:globalThis,f=o(),p=a("String.prototype.slice"),y=Object.getPrototypeOf,d=a("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n<t.length;n+=1)if(t[n]===e)return n;return-1},b={__proto__:null};r(f,l&&s&&y?function(t){var e=new u[t];if(Symbol.toStringTag in e){var n=y(e),r=s(n,Symbol.toStringTag);if(!r){var o=y(n);r=s(o,Symbol.toStringTag)}b["$"+t]=i(r.get)}}:function(t){var e=new u[t],n=e.slice||e.set;n&&(b["$"+t]=i(n))});e.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!l){var e=p(c(t),8,-1);return d(f,e)>-1?e:"Object"===e&&function(t){var e=!1;return r(b,(function(n,r){if(!e)try{n(t),e=p(r,1)}catch(t){}})),e}(t)}return s?function(t){var e=!1;return r(b,(function(n,r){if(!e)try{"$"+n(t)===r&&(e=p(r,1))}catch(t){}})),e}(t):null}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":108,"call-bind":111,"call-bind/callBound":110,"for-each":120,gopd:124,"has-tostringtag/shams":129}]},{},[107]);
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,c){return new(r||(r=Promise))((function(o,i){function a(e){try{s(c.next(e))}catch(e){i(e)}}function n(e){try{s(c.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,n)}s((c=c.apply(e,t||[])).next())}))};import{existsSync,mkdirSync}from"fs";import removeDirectory from"./removeDirectory";let tempDir="test-temp/",srcPath=`${tempDir}src`;export const afterEach=()=>removeDirectory(tempDir);export const createTempDir=(e=!0)=>__awaiter(void 0,void 0,void 0,(function*(){return e?removeDirectory(tempDir).then((e=>createTempDir(existsSync(e)))).catch((e=>console.error("Error: ",e))):mkdirSync(srcPath,{recursive:!0})}));export const beforeEach=()=>createTempDir();export const setDefaults=(e=null)=>{e&&(tempDir=e,srcPath=`${tempDir}src`)};export const setUp={afterEach:afterEach,beforeEach:beforeEach,createTempDir:createTempDir,setDefaults:setDefaults};export default setUp;
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,c){return new(r||(r=Promise))((function(o,i){function a(e){try{s(c.next(e))}catch(e){i(e)}}function n(e){try{s(c.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,n)}s((c=c.apply(e,t||[])).next())}))};import{existsSync,mkdirSync}from"fs";import removeDirectory from"./removeDirectory.mjs";let tempDir="test-temp/",srcPath=`${tempDir}src`;export const afterEach=()=>removeDirectory(tempDir);export const createTempDir=(e=!0)=>__awaiter(void 0,void 0,void 0,(function*(){return e?removeDirectory(tempDir).then((e=>createTempDir(existsSync(e)))).catch((e=>console.error("Error: ",e))):mkdirSync(srcPath,{recursive:!0})}));export const beforeEach=()=>createTempDir();export const setDefaults=(e=null)=>{e&&(tempDir=e,srcPath=`${tempDir}src`)};export const setUp={afterEach:afterEach,beforeEach:beforeEach,createTempDir:createTempDir,setDefaults:setDefaults};export default setUp;
@@ -1,6 +1,6 @@
1
1
  import { existsSync, mkdirSync } from 'fs'
2
2
  // Import the configurations and override some of them to direct to the temp directory.
3
- import removeDirectory from './removeDirectory'
3
+ import removeDirectory from './removeDirectory.mjs'
4
4
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
5
  function adopt (value) { return value instanceof P ? value : new P(function (resolve) { resolve(value) }) }
6
6
  return new (P || (P = Promise))(function (resolve, reject) {
package/dist/main.d.ts CHANGED
@@ -5,6 +5,17 @@
5
5
  * @version 1.0.0
6
6
  * @module test-fs
7
7
  */
8
+ export * from './functions/circularObject';
9
+ export * from './functions/countMatches';
10
+ export * from './functions/deepReferenceObject';
11
+ export * from './functions/domItem';
12
+ export * from './functions/jsonDom';
13
+ export * from './functions/linkedList';
14
+ export * from './functions/logObject';
15
+ export * from './functions/multiReferenceObject';
16
+ export * from './functions/nodeTree';
17
+ export * from './functions/removeDirectory';
18
+ export * from './functions/setUp';
8
19
  export declare let testFs: {
9
20
  circularObject: {
10
21
  name: string;
package/dist/main.js CHANGED
@@ -1,21 +1,151 @@
1
1
  'use strict'
2
2
 
3
+ require('core-js/modules/esnext.weak-map.delete-all.js')
4
+ require('core-js/modules/esnext.async-iterator.for-each.js')
5
+ require('core-js/modules/esnext.iterator.constructor.js')
6
+ require('core-js/modules/esnext.iterator.for-each.js')
3
7
  Object.defineProperty(exports, '__esModule', {
4
8
  value: true
5
9
  })
10
+ var _exportNames = {
11
+ testFs: true,
12
+ testFsBrowser: true
13
+ }
6
14
  exports.testFsBrowser = exports.testFs = exports.default = void 0
7
- var _circularObject = _interopRequireDefault(require('./functions/circularObject'))
8
- var _countMatches = _interopRequireDefault(require('./functions/countMatches'))
9
- var _deepReferenceObject = _interopRequireDefault(require('./functions/deepReferenceObject'))
10
- var _domItem = _interopRequireDefault(require('./functions/domItem'))
11
- var _jsonDom = _interopRequireDefault(require('./functions/jsonDom'))
12
- var _linkedList = _interopRequireDefault(require('./functions/linkedList'))
13
- var _logObject = _interopRequireDefault(require('./functions/logObject'))
14
- var _multiReferenceObject = _interopRequireDefault(require('./functions/multiReferenceObject'))
15
- var _nodeTree = _interopRequireDefault(require('./functions/nodeTree'))
16
- var _removeDirectory = _interopRequireDefault(require('./functions/removeDirectory'))
17
- var _setUp = _interopRequireDefault(require('./functions/setUp'))
18
- function _interopRequireDefault (obj) { return obj && obj.__esModule ? obj : { default: obj } }
15
+ var _circularObject = _interopRequireWildcard(require('./functions/circularObject'))
16
+ Object.keys(_circularObject).forEach(function (key) {
17
+ if (key === 'default' || key === '__esModule') return
18
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
19
+ if (key in exports && exports[key] === _circularObject[key]) return
20
+ Object.defineProperty(exports, key, {
21
+ enumerable: true,
22
+ get: function () {
23
+ return _circularObject[key]
24
+ }
25
+ })
26
+ })
27
+ var _countMatches = _interopRequireWildcard(require('./functions/countMatches'))
28
+ Object.keys(_countMatches).forEach(function (key) {
29
+ if (key === 'default' || key === '__esModule') return
30
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
31
+ if (key in exports && exports[key] === _countMatches[key]) return
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _countMatches[key]
36
+ }
37
+ })
38
+ })
39
+ var _deepReferenceObject = _interopRequireWildcard(require('./functions/deepReferenceObject'))
40
+ Object.keys(_deepReferenceObject).forEach(function (key) {
41
+ if (key === 'default' || key === '__esModule') return
42
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
43
+ if (key in exports && exports[key] === _deepReferenceObject[key]) return
44
+ Object.defineProperty(exports, key, {
45
+ enumerable: true,
46
+ get: function () {
47
+ return _deepReferenceObject[key]
48
+ }
49
+ })
50
+ })
51
+ var _domItem = _interopRequireWildcard(require('./functions/domItem'))
52
+ Object.keys(_domItem).forEach(function (key) {
53
+ if (key === 'default' || key === '__esModule') return
54
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
55
+ if (key in exports && exports[key] === _domItem[key]) return
56
+ Object.defineProperty(exports, key, {
57
+ enumerable: true,
58
+ get: function () {
59
+ return _domItem[key]
60
+ }
61
+ })
62
+ })
63
+ var _jsonDom = _interopRequireWildcard(require('./functions/jsonDom'))
64
+ Object.keys(_jsonDom).forEach(function (key) {
65
+ if (key === 'default' || key === '__esModule') return
66
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
67
+ if (key in exports && exports[key] === _jsonDom[key]) return
68
+ Object.defineProperty(exports, key, {
69
+ enumerable: true,
70
+ get: function () {
71
+ return _jsonDom[key]
72
+ }
73
+ })
74
+ })
75
+ var _linkedList = _interopRequireWildcard(require('./functions/linkedList'))
76
+ Object.keys(_linkedList).forEach(function (key) {
77
+ if (key === 'default' || key === '__esModule') return
78
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
79
+ if (key in exports && exports[key] === _linkedList[key]) return
80
+ Object.defineProperty(exports, key, {
81
+ enumerable: true,
82
+ get: function () {
83
+ return _linkedList[key]
84
+ }
85
+ })
86
+ })
87
+ var _logObject = _interopRequireWildcard(require('./functions/logObject'))
88
+ Object.keys(_logObject).forEach(function (key) {
89
+ if (key === 'default' || key === '__esModule') return
90
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
91
+ if (key in exports && exports[key] === _logObject[key]) return
92
+ Object.defineProperty(exports, key, {
93
+ enumerable: true,
94
+ get: function () {
95
+ return _logObject[key]
96
+ }
97
+ })
98
+ })
99
+ var _multiReferenceObject = _interopRequireWildcard(require('./functions/multiReferenceObject'))
100
+ Object.keys(_multiReferenceObject).forEach(function (key) {
101
+ if (key === 'default' || key === '__esModule') return
102
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
103
+ if (key in exports && exports[key] === _multiReferenceObject[key]) return
104
+ Object.defineProperty(exports, key, {
105
+ enumerable: true,
106
+ get: function () {
107
+ return _multiReferenceObject[key]
108
+ }
109
+ })
110
+ })
111
+ var _nodeTree = _interopRequireWildcard(require('./functions/nodeTree'))
112
+ Object.keys(_nodeTree).forEach(function (key) {
113
+ if (key === 'default' || key === '__esModule') return
114
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
115
+ if (key in exports && exports[key] === _nodeTree[key]) return
116
+ Object.defineProperty(exports, key, {
117
+ enumerable: true,
118
+ get: function () {
119
+ return _nodeTree[key]
120
+ }
121
+ })
122
+ })
123
+ var _removeDirectory = _interopRequireWildcard(require('./functions/removeDirectory'))
124
+ Object.keys(_removeDirectory).forEach(function (key) {
125
+ if (key === 'default' || key === '__esModule') return
126
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
127
+ if (key in exports && exports[key] === _removeDirectory[key]) return
128
+ Object.defineProperty(exports, key, {
129
+ enumerable: true,
130
+ get: function () {
131
+ return _removeDirectory[key]
132
+ }
133
+ })
134
+ })
135
+ var _setUp = _interopRequireWildcard(require('./functions/setUp'))
136
+ Object.keys(_setUp).forEach(function (key) {
137
+ if (key === 'default' || key === '__esModule') return
138
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return
139
+ if (key in exports && exports[key] === _setUp[key]) return
140
+ Object.defineProperty(exports, key, {
141
+ enumerable: true,
142
+ get: function () {
143
+ return _setUp[key]
144
+ }
145
+ })
146
+ })
147
+ function _getRequireWildcardCache (e) { if (typeof WeakMap !== 'function') return null; var r = new WeakMap(); var t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r })(e) }
148
+ function _interopRequireWildcard (e, r) { if (!r && e && e.__esModule) return e; if (e === null || typeof e !== 'object' && typeof e !== 'function') return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }; var a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (u !== 'default' && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u] } return n.default = e, t && t.set(e, n), n }
19
149
  /**
20
150
  * An assortment of objects that can be used in tests and some functions to help debug and write tests.
21
151
  * @file
package/dist/main.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.testFsBrowser=exports.testFs=exports.default=void 0;var _circularObject=_interopRequireDefault(require("./functions/circularObject")),_countMatches=_interopRequireDefault(require("./functions/countMatches")),_deepReferenceObject=_interopRequireDefault(require("./functions/deepReferenceObject")),_domItem=_interopRequireDefault(require("./functions/domItem")),_jsonDom=_interopRequireDefault(require("./functions/jsonDom")),_linkedList=_interopRequireDefault(require("./functions/linkedList")),_logObject=_interopRequireDefault(require("./functions/logObject")),_multiReferenceObject=_interopRequireDefault(require("./functions/multiReferenceObject")),_nodeTree=_interopRequireDefault(require("./functions/nodeTree")),_removeDirectory=_interopRequireDefault(require("./functions/removeDirectory")),_setUp=_interopRequireDefault(require("./functions/setUp"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let testFs=exports.testFs={circularObject:_circularObject.default,countMatches:_countMatches.default,deepReferenceObject:_deepReferenceObject.default,domItem:_domItem.default,jsonDom:_jsonDom.default,linkedList:_linkedList.default,logObject:_logObject.default,multiReferenceObject:_multiReferenceObject.default,nodeTree:_nodeTree.default,removeDirectory:_removeDirectory.default,setUp:_setUp.default};var _default=exports.default=testFs;let testFsBrowser=exports.testFsBrowser={circularObject:_circularObject.default,countMatches:_countMatches.default,deepReferenceObject:_deepReferenceObject.default,domItem:_domItem.default,jsonDom:_jsonDom.default,linkedList:_linkedList.default,logObject:_logObject.default,multiReferenceObject:_multiReferenceObject.default,nodeTree:_nodeTree.default};"undefined"!=typeof window&&(window.testFs=testFsBrowser);
1
+ "use strict";require("core-js/modules/esnext.weak-map.delete-all.js"),require("core-js/modules/esnext.async-iterator.for-each.js"),require("core-js/modules/esnext.iterator.constructor.js"),require("core-js/modules/esnext.iterator.for-each.js"),Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={testFs:!0,testFsBrowser:!0};exports.testFsBrowser=exports.testFs=exports.default=void 0;var _circularObject=_interopRequireWildcard(require("./functions/circularObject"));Object.keys(_circularObject).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_circularObject[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _circularObject[e]}}))}));var _countMatches=_interopRequireWildcard(require("./functions/countMatches"));Object.keys(_countMatches).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_countMatches[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _countMatches[e]}}))}));var _deepReferenceObject=_interopRequireWildcard(require("./functions/deepReferenceObject"));Object.keys(_deepReferenceObject).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_deepReferenceObject[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _deepReferenceObject[e]}}))}));var _domItem=_interopRequireWildcard(require("./functions/domItem"));Object.keys(_domItem).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_domItem[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _domItem[e]}}))}));var _jsonDom=_interopRequireWildcard(require("./functions/jsonDom"));Object.keys(_jsonDom).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_jsonDom[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _jsonDom[e]}}))}));var _linkedList=_interopRequireWildcard(require("./functions/linkedList"));Object.keys(_linkedList).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_linkedList[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _linkedList[e]}}))}));var _logObject=_interopRequireWildcard(require("./functions/logObject"));Object.keys(_logObject).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_logObject[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _logObject[e]}}))}));var _multiReferenceObject=_interopRequireWildcard(require("./functions/multiReferenceObject"));Object.keys(_multiReferenceObject).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_multiReferenceObject[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _multiReferenceObject[e]}}))}));var _nodeTree=_interopRequireWildcard(require("./functions/nodeTree"));Object.keys(_nodeTree).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_nodeTree[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _nodeTree[e]}}))}));var _removeDirectory=_interopRequireWildcard(require("./functions/removeDirectory"));Object.keys(_removeDirectory).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_removeDirectory[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _removeDirectory[e]}}))}));var _setUp=_interopRequireWildcard(require("./functions/setUp"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var u=c?Object.getOwnPropertyDescriptor(e,n):null;u&&(u.get||u.set)?Object.defineProperty(o,n,u):o[n]=e[n]}return o.default=e,r&&r.set(e,o),o}Object.keys(_setUp).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_setUp[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _setUp[e]}}))}));let testFs=exports.testFs={circularObject:_circularObject.default,countMatches:_countMatches.default,deepReferenceObject:_deepReferenceObject.default,domItem:_domItem.default,jsonDom:_jsonDom.default,linkedList:_linkedList.default,logObject:_logObject.default,multiReferenceObject:_multiReferenceObject.default,nodeTree:_nodeTree.default,removeDirectory:_removeDirectory.default,setUp:_setUp.default};var _default=exports.default=testFs;let testFsBrowser=exports.testFsBrowser={circularObject:_circularObject.default,countMatches:_countMatches.default,deepReferenceObject:_deepReferenceObject.default,domItem:_domItem.default,jsonDom:_jsonDom.default,linkedList:_linkedList.default,logObject:_logObject.default,multiReferenceObject:_multiReferenceObject.default,nodeTree:_nodeTree.default};"undefined"!=typeof window&&(window.testFs=testFsBrowser);
package/dist/main.min.mjs CHANGED
@@ -1 +1 @@
1
- import circularObject from"./functions/circularObject";import countMatches from"./functions/countMatches";import deepReferenceObject from"./functions/deepReferenceObject";import domItem from"./functions/domItem";import jsonDom from"./functions/jsonDom";import linkedList from"./functions/linkedList";import logObject from"./functions/logObject";import multiReferenceObject from"./functions/multiReferenceObject";import nodeTree from"./functions/nodeTree";import removeDirectory from"./functions/removeDirectory";import setUp from"./functions/setUp";export let testFs={circularObject:circularObject,countMatches:countMatches,deepReferenceObject:deepReferenceObject,domItem:domItem,jsonDom:jsonDom,linkedList:linkedList,logObject:logObject,multiReferenceObject:multiReferenceObject,nodeTree:nodeTree,removeDirectory:removeDirectory,setUp:setUp};export default testFs;export let testFsBrowser={circularObject:circularObject,countMatches:countMatches,deepReferenceObject:deepReferenceObject,domItem:domItem,jsonDom:jsonDom,linkedList:linkedList,logObject:logObject,multiReferenceObject:multiReferenceObject,nodeTree:nodeTree};this?this.testFs=testFsBrowser:"undefined"!=typeof window&&(window.testFs=testFsBrowser);
1
+ import circularObject from"./functions/circularObject.mjs";import countMatches from"./functions/countMatches.mjs";import deepReferenceObject from"./functions/deepReferenceObject.mjs";import domItem from"./functions/domItem.mjs";import jsonDom from"./functions/jsonDom.mjs";import linkedList from"./functions/linkedList.mjs";import logObject from"./functions/logObject.mjs";import multiReferenceObject from"./functions/multiReferenceObject.mjs";import nodeTree from"./functions/nodeTree.mjs";import removeDirectory from"./functions/removeDirectory.mjs";import setUp from"./functions/setUp.mjs";export*from"./functions/circularObject.mjs";export*from"./functions/countMatches.mjs";export*from"./functions/deepReferenceObject.mjs";export*from"./functions/domItem.mjs";export*from"./functions/jsonDom.mjs";export*from"./functions/linkedList.mjs";export*from"./functions/logObject.mjs";export*from"./functions/multiReferenceObject.mjs";export*from"./functions/nodeTree.mjs";export*from"./functions/removeDirectory.mjs";export*from"./functions/setUp.mjs";export let testFs={circularObject:circularObject,countMatches:countMatches,deepReferenceObject:deepReferenceObject,domItem:domItem,jsonDom:jsonDom,linkedList:linkedList,logObject:logObject,multiReferenceObject:multiReferenceObject,nodeTree:nodeTree,removeDirectory:removeDirectory,setUp:setUp};export default testFs;export let testFsBrowser={circularObject:circularObject,countMatches:countMatches,deepReferenceObject:deepReferenceObject,domItem:domItem,jsonDom:jsonDom,linkedList:linkedList,logObject:logObject,multiReferenceObject:multiReferenceObject,nodeTree:nodeTree};this?this.testFs=testFsBrowser:"undefined"!=typeof window&&(window.testFs=testFsBrowser);