clientnode 4.0.1425 → 4.0.1427

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
- "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("clientnode",[],r):"object"==typeof exports?exports.clientnode=r():e.clientnode=r()}(this,function(){return function(){var __webpack_modules__=[function(e,r,n){n.d(r,{DEFAULT_ENCODING:function(){return t}});var t="utf8";Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined"),Object.prototype},function(e,r,n){n.d(r,{NOOP:function(){return a}});var t,o,i=n(4);e=n.hmd(e);var u="undefined"==typeof globalThis?void 0===window?void 0===n.g?e:Object.prototype.hasOwnProperty.call(n.g,"window")?n.g.window:n.g:window:globalThis;u.fetch=u.fetch?u.fetch.bind(u):null!==(t=null==(o=(0,i.optionalRequire)("node-fetch"))?void 0:o.default)&&void 0!==t?t:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return i.currentImport?(0,i.currentImport)("node-fetch").then(function(e){var n;return(n=e).default.apply(n,r)}):null};var a=function(){}},,,function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}},clearRequireCache=function(e){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c);for(var r={},n=0,t=Object.entries(e);n<t.length;n++){var o=t[n],i=o[0],u=o[1];r[i]=u,delete e[i]}return r},restoreRequireCache=function(e,r){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c),clearRequireCache();for(var n=0,t=Object.entries(r);n<t.length;n++){var o=t[n],i=o[0],u=o[1];e[i]=u}},isolatedRequire=function(e,r){void 0===r&&(r=currentRequire||__webpack_require__(5));var n=clearRequireCache(r.cache);try{return r(e)}catch(e){throw e}finally{restoreRequireCache(r.cache,n)}}},function(e){function r(e){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=function(){return[]},r.resolve=r,r.id=5,e.exports=r},,,,,function(e,r,n){n.r(r),n.d(r,{copyDirectoryRecursive:function(){return X},copyDirectoryRecursiveSync:function(){return V},copyFile:function(){return $},copyFileSync:function(){return z},isDirectory:function(){return B},isDirectorySync:function(){return H},isFile:function(){return J},isFileSync:function(){return K},mkdirSync:function(){return _},readFileSync:function(){return w},readdirSync:function(){return h},statSync:function(){return g},walkDirectoryRecursively:function(){return Q},walkDirectoryRecursivelySync:function(){return W},writeFileSync:function(){return k}});var t=n(0),o=n(1),i=n(4);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},u.apply(null,arguments)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,n="function"==typeof Symbol?Symbol:{},t=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,t,o,i){var a=t&&t.prototype instanceof l?t:l,f=Object.create(a.prototype);return c(f,"_invoke",function(n,t,o){var i,a,c,l=0,f=o||[],s=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(r,n){return i=r,a=0,c=e,d.n=n,u}};function p(n,t){for(a=n,c=t,r=0;!s&&l&&!o&&r<f.length;r++){var o,i=f[r],p=d.p,y=i[2];n>3?(o=y===t)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(a=0,d.v=t,d.n=i[1]):p<y&&(o=n<3||i[0]>t||t>y)&&(i[4]=n,i[5]=t,d.n=y,a=0))}if(o||n>1)return u;throw s=!0,t}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,y),a=f,c=y;(r=a<2?e:c)||!s;){i||(a?a<3?(a>1&&(d.n=-1),p(a,c)):d.n=c:d.v=c);try{if(l=2,i){if(a||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,a<2&&(a=0)}else 1===a&&(r=i.return)&&r.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((r=(s=d.n<0)?c:n.call(t,d))!==u)break}catch(r){i=e,a=1,c=r}finally{l=1}}return{value:r,done:s}}}(n,o,i),!0),f}var u={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var d=[][t]?r(r([][t]())):(c(r={},t,function(){return this}),r),p=s.prototype=l.prototype=Object.create(d);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,c(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return f.prototype=s,c(p,"constructor",s),c(s,"constructor",f),f.displayName="GeneratorFunction",c(s,o,"GeneratorFunction"),c(p),c(p,o,"Generator"),c(p,t,function(){return this}),c(p,"toString",function(){return"[object Generator]"}),(a=function(){return{w:i,m:y}})()}function c(e,r,n,t){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}c=function(e,r,n,t){function i(r,n){c(e,r,function(e){return this._invoke(r,n,e)})}r?o?o(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(i("next",0),i("throw",1),i("return",2))},c(e,r,n,t)}function l(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return f(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function s(e,r,n,t,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?r(c):Promise.resolve(c).then(t,o)}function d(e){return function(){var r=this,n=arguments;return new Promise(function(t,o){var i=e.apply(r,n);function u(e){s(i,t,o,u,a,"next",e)}function a(e){s(i,t,o,u,a,"throw",e)}u(void 0)})}}var p=(0,i.optionalRequire)("fs")||{},y=p.mkdirSync,_=void 0===y?null:y,v=p.readdirSync,h=void 0===v?null:v,b=p.readFileSync,w=void 0===b?null:b,m=p.statSync,g=void 0===m?null:m,O=p.writeFileSync,k=void 0===O?null:O,E=(0,i.optionalRequire)("fs/promises")||{},q=E.mkdir,D=void 0===q?null:q,S=E.readdir,T=void 0===S?null:S,N=E.readFile,j=void 0===N?null:N,I=E.stat,R=void 0===I?null:I,F=E.writeFile,C=void 0===F?null:F,P=(0,i.optionalRequire)("path")||{},x=P.basename,A=void 0===x?null:x,G=P.join,U=void 0===G?null:G,L=P.resolve,M=void 0===L?null:L,X=function(){var e=d(a().m(function e(r,n,i,u,c,f){var s,d,p,y,_,v,h,b,w;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(void 0===i&&(i=!1),void 0===u&&(u=o.NOOP),void 0===c&&(c={encoding:null,flag:"r"}),void 0===f&&(f={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),A&&U&&D&&M){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return r=M(r),e.n=2,B(n);case 2:if(!e.v){e.n=3;break}n=M(n,A(r));case 3:return e.p=3,e.n=4,D(n);case 4:e.n=6;break;case 5:if(e.p=5,"EEXIST"===(h=e.v).code){e.n=6;break}throw h;case 6:return s=i,b=l,e.n=7,Q(r,u);case 7:d=b(e.v);case 8:if((p=d()).done){e.n=16;break}if(_=p.value,!s){e.n=9;break}return s=!1,e.a(3,15);case 9:if(v=U(n,_.path.substring(r.length)),null==(y=_.stats)||!y.isDirectory()){e.n=14;break}return e.p=10,e.n=11,D(v);case 11:e.n=13;break;case 12:if(e.p=12,"EEXIST"===(w=e.v).code){e.n=13;break}throw w;case 13:e.n=15;break;case 14:return e.n=15,$(_.path,v,c,f);case 15:e.n=8;break;case 16:return e.a(2,n)}},e,null,[[10,12],[3,5]])}));return function(r,n,t,o,i,u){return e.apply(this,arguments)}}(),V=function(e,r,n,i,u,a){if(void 0===n&&(n=!1),void 0===i&&(i=o.NOOP),void 0===u&&(u={encoding:null,flag:"r"}),void 0===a&&(a={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),!(A&&U&&_&&M))throw new Error("Could not load filesystem functions.");e=M(e),H(r)&&(r=M(r,A(e)));try{_(r)}catch(e){if("EEXIST"!==e.code)throw e}for(var c=n,l=0,f=W(e,i);l<f.length;l++){var s,d=f[l];if(c)c=!1;else{var p=U(r,d.path.substring(e.length));if(null!=(s=d.stats)&&s.isDirectory())try{_(p)}catch(e){if("EEXIST"!==e.code)throw e}else z(d.path,p,u,a)}}return r},$=function(){var e=d(a().m(function e(r,n,o,i){var u,c;return a().w(function(e){for(;;)switch(e.n){case 0:if(void 0===o&&(o={encoding:null,flag:"r"}),void 0===i&&(i={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),A&&j&&M&&C){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return e.n=2,B(n);case 2:if(!e.v){e.n=3;break}n=M(n,A(r));case 3:return u=C,c=n,e.n=4,j(r,o);case 4:return e.n=5,u(c,e.v,i);case 5:return e.a(2,n)}},e)}));return function(r,n,t,o){return e.apply(this,arguments)}}(),z=function(e,r,n,o){if(void 0===n&&(n={encoding:null,flag:"r"}),void 0===o&&(o={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),!(A&&w&&M&&k))throw new Error("Could not load filesystem functions.");return H(r)&&(r=M(r,A(e))),k(r,w(e,n),o),r},B=function(){var e=d(a().m(function e(r){var n;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(R){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return e.p=1,e.n=2,R(r);case 2:return e.a(2,e.v.isDirectory());case 3:if(e.p=3,n=e.v,!Object.prototype.hasOwnProperty.call(n,"code")||!["ENOENT","ENOTDIR"].includes(n.code)){e.n=4;break}return e.a(2,!1);case 4:throw n;case 5:return e.a(2)}},e,null,[[1,3]])}));return function(r){return e.apply(this,arguments)}}(),H=function(e){if(!g)throw new Error("Could not load filesystem functions.");try{return g(e).isDirectory()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},J=function(){var e=d(a().m(function e(r){var n;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(R){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return e.p=1,e.n=2,R(r);case 2:return e.a(2,e.v.isFile());case 3:if(e.p=3,n=e.v,!Object.prototype.hasOwnProperty.call(n,"code")||!["ENOENT","ENOTDIR"].includes(n.code)){e.n=4;break}return e.a(2,!1);case 4:throw n;case 5:return e.a(2)}},e,null,[[1,3]])}));return function(r){return e.apply(this,arguments)}}(),K=function(e){if(!g)throw new Error("Could not load filesystem functions.");try{return g(e).isFile()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Q=function(){var e=d(a().m(function e(r,n,o){var i,c,f,s,d,p,y,_,v,h,b,w,m,g,O;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(void 0===n&&(n=null),void 0===o&&(o=t.DEFAULT_ENCODING),T&&M&&R){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return i=[],m=l,e.n=2,T(r,"string"==typeof o?{encoding:o,withFileTypes:!0}:u({},o,{withFileTypes:!0}));case 2:c=m(e.v);case 3:if((f=c()).done){e.n=9;break}return s=f.value,d=M(r,s.name),p={directoryPath:r,directoryEntry:s,error:null,name:s.name,path:d,stats:null},e.p=4,e.n=5,R(d);case 5:p.stats=e.v,e.n=7;break;case 6:e.p=6,g=e.v,p.error=g;case 7:i.push(p);case 8:e.n=3;break;case 9:n&&i.sort(function(e,r){var n,t,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=r.stats)&&o.isDirectory()?0:-1:null!=(t=r.stats)&&t.isDirectory()?1:0}),y=[],_=0,v=i;case 10:if(!(_<v.length)){e.n=17;break}if(b=v[_],y.push(b),null!==(w=n?n(b):void 0)){e.n=11;break}return e.a(3,17);case 11:if("object"!=typeof w||!("then"in w)){e.n=13;break}return e.n=12,w;case 12:w=e.v;case 13:if(null!==w){e.n=14;break}return e.a(3,17);case 14:if(!1===w||null==(h=b.stats)||!h.isDirectory()){e.n=16;break}return O=y,e.n=15,Q(b.path,n,o);case 15:y=O.concat.call(O,e.v);case 16:_++,e.n=10;break;case 17:return e.a(2,y)}},e,null,[[4,6]])}));return function(r,n,t){return e.apply(this,arguments)}}(),W=function(e,r,n){if(void 0===r&&(r=o.NOOP),void 0===n&&(n=t.DEFAULT_ENCODING),!(h&&M&&g))throw new Error("Could not load filesystem functions.");for(var i,a=[],c=l(h(e,"string"==typeof n?{encoding:n,withFileTypes:!0}:u({},n,{withFileTypes:!0})));!(i=c()).done;){var f=i.value,s=M(e,f.name),d={directoryPath:e,directoryEntry:f,error:null,name:f.name,path:s,stats:null};try{d.stats=g(s)}catch(e){d.error=e}a.push(d)}var p=[];if(r){a.sort(function(e,r){var n,t,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=r.stats)&&o.isDirectory()?0:-1:null!=(t=r.stats)&&t.isDirectory()?1:0});for(var y,_=l(a);!(y=_()).done;){var v,b=y.value;p.push(b);var w=r(b);if(null===w)break;!1!==w&&null!=(v=b.stats)&&v.isDirectory()&&(p=p.concat(W(b.path,r,n)))}}return p}}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.c=__webpack_module_cache__,__webpack_require__.d=function(e,r){for(var n in r)__webpack_require__.o(r,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(10);return __webpack_exports__}()});
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("clientnode",[],r):"object"==typeof exports?exports.clientnode=r():e.clientnode=r()}(this,function(){return function(){var __webpack_modules__=[function(e,r,n){n.d(r,{DEFAULT_ENCODING:function(){return t}});var t="utf8";Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined"),Object.prototype},function(e,r,n){n.d(r,{NOOP:function(){return a}});var t,o,i=n(4);e=n.hmd(e);var u="undefined"==typeof globalThis?void 0===window?void 0===n.g?e:Object.prototype.hasOwnProperty.call(n.g,"window")?n.g.window:n.g:window:globalThis;u.fetch=u.fetch?u.fetch.bind(u):null!==(t=null==(o=(0,i.optionalRequire)("node-fetch"))?void 0:o.default)&&void 0!==t?t:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return i.currentImport?(0,i.currentImport)("node-fetch").then(function(e){var n;return(n=e).default.apply(n,r)}):null};var a=function(){}},,,function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}},clearRequireCache=function(e){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c);for(var r={},n=0,t=Object.entries(e);n<t.length;n++){var o=t[n],i=o[0],u=o[1];r[i]=u,delete e[i]}return r},restoreRequireCache=function(e,r){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c),clearRequireCache();for(var n=0,t=Object.entries(r);n<t.length;n++){var o=t[n],i=o[0],u=o[1];e[i]=u}},isolatedRequire=function(e,r){void 0===r&&(r=currentRequire||__webpack_require__(5));var n=clearRequireCache(r.cache);try{return r(e)}catch(e){throw e}finally{restoreRequireCache(r.cache,n)}}},function(e){function r(e){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=function(){return[]},r.resolve=r,r.id=5,e.exports=r},,,,,function(e,r,n){n.r(r),n.d(r,{copyDirectoryRecursive:function(){return X},copyDirectoryRecursiveSync:function(){return V},copyFile:function(){return $},copyFileSync:function(){return z},isDirectory:function(){return B},isDirectorySync:function(){return H},isFile:function(){return J},isFileSync:function(){return K},mkdirSync:function(){return _},readFileSync:function(){return w},readdirSync:function(){return h},statSync:function(){return g},walkDirectoryRecursively:function(){return Q},walkDirectoryRecursivelySync:function(){return W},writeFileSync:function(){return k}});var t=n(0),o=n(1),i=n(4);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},u.apply(null,arguments)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,n="function"==typeof Symbol?Symbol:{},t=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,t,o,i){var a=t&&t.prototype instanceof l?t:l,f=Object.create(a.prototype);return c(f,"_invoke",function(n,t,o){var i,a,c,l=0,f=o||[],s=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(r,n){return i=r,a=0,c=e,d.n=n,u}};function p(n,t){for(a=n,c=t,r=0;!s&&l&&!o&&r<f.length;r++){var o,i=f[r],p=d.p,y=i[2];n>3?(o=y===t)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(a=0,d.v=t,d.n=i[1]):p<y&&(o=n<3||i[0]>t||t>y)&&(i[4]=n,i[5]=t,d.n=y,a=0))}if(o||n>1)return u;throw s=!0,t}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,y),a=f,c=y;(r=a<2?e:c)||!s;){i||(a?a<3?(a>1&&(d.n=-1),p(a,c)):d.n=c:d.v=c);try{if(l=2,i){if(a||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,a<2&&(a=0)}else 1===a&&(r=i.return)&&r.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((r=(s=d.n<0)?c:n.call(t,d))!==u)break}catch(r){i=e,a=1,c=r}finally{l=1}}return{value:r,done:s}}}(n,o,i),!0),f}var u={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var d=[][t]?r(r([][t]())):(c(r={},t,function(){return this}),r),p=s.prototype=l.prototype=Object.create(d);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,c(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return f.prototype=s,c(p,"constructor",s),c(s,"constructor",f),f.displayName="GeneratorFunction",c(s,o,"GeneratorFunction"),c(p),c(p,o,"Generator"),c(p,t,function(){return this}),c(p,"toString",function(){return"[object Generator]"}),(a=function(){return{w:i,m:y}})()}function c(e,r,n,t){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}c=function(e,r,n,t){function i(r,n){c(e,r,function(e){return this._invoke(r,n,e)})}r?o?o(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(i("next",0),i("throw",1),i("return",2))},c(e,r,n,t)}function l(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return f(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function s(e,r,n,t,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?r(c):Promise.resolve(c).then(t,o)}function d(e){return function(){var r=this,n=arguments;return new Promise(function(t,o){var i=e.apply(r,n);function u(e){s(i,t,o,u,a,"next",e)}function a(e){s(i,t,o,u,a,"throw",e)}u(void 0)})}}var p=(0,i.optionalRequire)("fs")||{},y=p.mkdirSync,_=void 0===y?null:y,v=p.readdirSync,h=void 0===v?null:v,b=p.readFileSync,w=void 0===b?null:b,m=p.statSync,g=void 0===m?null:m,O=p.writeFileSync,k=void 0===O?null:O,E=(0,i.optionalRequire)("fs/promises")||{},q=E.mkdir,D=void 0===q?null:q,S=E.readdir,T=void 0===S?null:S,N=E.readFile,j=void 0===N?null:N,I=E.stat,R=void 0===I?null:I,F=E.writeFile,C=void 0===F?null:F,P=(0,i.optionalRequire)("path")||{},x=P.basename,A=void 0===x?null:x,G=P.join,U=void 0===G?null:G,L=P.resolve,M=void 0===L?null:L,X=function(){var e=d(a().m(function e(r,n,i,u,c,f){var s,d,p,y,_,v,h,b,w;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(void 0===i&&(i=!1),void 0===u&&(u=o.NOOP),void 0===c&&(c={encoding:null,flag:"r"}),void 0===f&&(f={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),A&&U&&D&&M){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:if(r=M(r),!(v=!i)){e.n=3;break}return e.n=2,B(n);case 2:v=e.v;case 3:if(!v){e.n=4;break}n=M(n,A(r));case 4:return e.p=4,e.n=5,D(n);case 5:e.n=7;break;case 6:if(e.p=6,"EEXIST"===(h=e.v).code){e.n=7;break}throw h;case 7:return b=l,e.n=8,Q(r,u);case 8:s=b(e.v);case 9:if((d=s()).done){e.n=16;break}if(y=d.value,_=U(n,y.path.substring(r.length)),null==(p=y.stats)||!p.isDirectory()){e.n=14;break}return e.p=10,e.n=11,D(_);case 11:e.n=13;break;case 12:if(e.p=12,"EEXIST"===(w=e.v).code){e.n=13;break}throw w;case 13:e.n=15;break;case 14:return e.n=15,$(y.path,_,c,f);case 15:e.n=9;break;case 16:return e.a(2,n)}},e,null,[[10,12],[4,6]])}));return function(r,n,t,o,i,u){return e.apply(this,arguments)}}(),V=function(e,r,n,i,u,a){if(void 0===n&&(n=!1),void 0===i&&(i=o.NOOP),void 0===u&&(u={encoding:null,flag:"r"}),void 0===a&&(a={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),!(A&&U&&_&&M))throw new Error("Could not load filesystem functions.");e=M(e),!n&&H(r)&&(r=M(r,A(e)));try{_(r)}catch(e){if("EEXIST"!==e.code)throw e}for(var c=0,l=W(e,i);c<l.length;c++){var f,s=l[c],d=U(r,s.path.substring(e.length));if(null!=(f=s.stats)&&f.isDirectory())try{_(d)}catch(e){if("EEXIST"!==e.code)throw e}else z(s.path,d,u,a)}return r},$=function(){var e=d(a().m(function e(r,n,o,i){var u,c;return a().w(function(e){for(;;)switch(e.n){case 0:if(void 0===o&&(o={encoding:null,flag:"r"}),void 0===i&&(i={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),A&&j&&M&&C){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return e.n=2,B(n);case 2:if(!e.v){e.n=3;break}n=M(n,A(r));case 3:return u=C,c=n,e.n=4,j(r,o);case 4:return e.n=5,u(c,e.v,i);case 5:return e.a(2,n)}},e)}));return function(r,n,t,o){return e.apply(this,arguments)}}(),z=function(e,r,n,o){if(void 0===n&&(n={encoding:null,flag:"r"}),void 0===o&&(o={encoding:t.DEFAULT_ENCODING,flag:"w",mode:438}),!(A&&w&&M&&k))throw new Error("Could not load filesystem functions.");return H(r)&&(r=M(r,A(e))),k(r,w(e,n),o),r},B=function(){var e=d(a().m(function e(r){var n;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(R){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return e.p=1,e.n=2,R(r);case 2:return e.a(2,e.v.isDirectory());case 3:if(e.p=3,n=e.v,!Object.prototype.hasOwnProperty.call(n,"code")||!["ENOENT","ENOTDIR"].includes(n.code)){e.n=4;break}return e.a(2,!1);case 4:throw n;case 5:return e.a(2)}},e,null,[[1,3]])}));return function(r){return e.apply(this,arguments)}}(),H=function(e){if(!g)throw new Error("Could not load filesystem functions.");try{return g(e).isDirectory()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},J=function(){var e=d(a().m(function e(r){var n;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(R){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return e.p=1,e.n=2,R(r);case 2:return e.a(2,e.v.isFile());case 3:if(e.p=3,n=e.v,!Object.prototype.hasOwnProperty.call(n,"code")||!["ENOENT","ENOTDIR"].includes(n.code)){e.n=4;break}return e.a(2,!1);case 4:throw n;case 5:return e.a(2)}},e,null,[[1,3]])}));return function(r){return e.apply(this,arguments)}}(),K=function(e){if(!g)throw new Error("Could not load filesystem functions.");try{return g(e).isFile()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Q=function(){var e=d(a().m(function e(r,n,o){var i,c,f,s,d,p,y,_,v,h,b,w,m,g,O;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if(void 0===n&&(n=null),void 0===o&&(o=t.DEFAULT_ENCODING),T&&M&&R){e.n=1;break}throw new Error("Could not load filesystem functions.");case 1:return i=[],m=l,e.n=2,T(r,"string"==typeof o?{encoding:o,withFileTypes:!0}:u({},o,{withFileTypes:!0}));case 2:c=m(e.v);case 3:if((f=c()).done){e.n=9;break}return s=f.value,d=M(r,s.name),p={directoryPath:r,directoryEntry:s,error:null,name:s.name,path:d,stats:null},e.p=4,e.n=5,R(d);case 5:p.stats=e.v,e.n=7;break;case 6:e.p=6,g=e.v,p.error=g;case 7:i.push(p);case 8:e.n=3;break;case 9:n&&i.sort(function(e,r){var n,t,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=r.stats)&&o.isDirectory()?0:-1:null!=(t=r.stats)&&t.isDirectory()?1:0}),y=[],_=0,v=i;case 10:if(!(_<v.length)){e.n=17;break}if(b=v[_],y.push(b),null!==(w=n?n(b):void 0)){e.n=11;break}return e.a(3,17);case 11:if("object"!=typeof w||!("then"in w)){e.n=13;break}return e.n=12,w;case 12:w=e.v;case 13:if(null!==w){e.n=14;break}return e.a(3,17);case 14:if(!1===w||null==(h=b.stats)||!h.isDirectory()){e.n=16;break}return O=y,e.n=15,Q(b.path,n,o);case 15:y=O.concat.call(O,e.v);case 16:_++,e.n=10;break;case 17:return e.a(2,y)}},e,null,[[4,6]])}));return function(r,n,t){return e.apply(this,arguments)}}(),W=function(e,r,n){if(void 0===r&&(r=o.NOOP),void 0===n&&(n=t.DEFAULT_ENCODING),!(h&&M&&g))throw new Error("Could not load filesystem functions.");for(var i,a=[],c=l(h(e,"string"==typeof n?{encoding:n,withFileTypes:!0}:u({},n,{withFileTypes:!0})));!(i=c()).done;){var f=i.value,s=M(e,f.name),d={directoryPath:e,directoryEntry:f,error:null,name:f.name,path:s,stats:null};try{d.stats=g(s)}catch(e){d.error=e}a.push(d)}var p=[];if(r){a.sort(function(e,r){var n,t,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=r.stats)&&o.isDirectory()?0:-1:null!=(t=r.stats)&&t.isDirectory()?1:0});for(var y,_=l(a);!(y=_()).done;){var v,b=y.value;p.push(b);var w=r(b);if(null===w)break;!1!==w&&null!=(v=b.stats)&&v.isDirectory()&&(p=p.concat(W(b.path,r,n)))}}return p}}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.c=__webpack_module_cache__,__webpack_require__.d=function(e,r){for(var n in r)__webpack_require__.o(r,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(10);return __webpack_exports__}()});