next
Version:
The React Framework
1 lines • 283 kB
JavaScript
(()=>{var __webpack_modules__={4816:(e,t,s)=>{"use strict";e.exports=t;const r=s(9896);const o=s(6928);const a=s(1825);const c=s(1916);const u=s(7650);const d=s(4434).EventEmitter;const h=s(9023).inherits;const f=["clean","install","reinstall","build","rebuild","package","testpackage","publish","unpublish","info","testbinary","reveal","configure"];const p={};Object.defineProperty(t,"find",{get:function(){return s(2520).find},enumerable:true});function Run({package_json_path:e="./package.json",argv:t}){this.package_json_path=e;this.commands={};const s=this;f.forEach((e=>{s.commands[e]=function(t,r){c.verbose("command",e,t);return require("./"+e)(s,t,r)}}));this.parseArgv(t);this.binaryHostSet=false}h(Run,d);t.Run=Run;const y=Run.prototype;y.package=s(9355);y.configDefs={help:Boolean,arch:String,debug:Boolean,directory:String,proxy:String,loglevel:String,acl:String};y.shorthands={release:"--no-debug",C:"--directory",debug:"--debug",j:"--jobs",silent:"--loglevel=silent",silly:"--loglevel=silly",verbose:"--loglevel=verbose"};y.aliases=p;y.parseArgv=function parseOpts(e){this.opts=a(this.configDefs,this.shorthands,e);this.argv=this.opts.argv.remain.slice();const t=this.todo=[];e=this.argv.map((e=>{if(e in this.aliases){e=this.aliases[e]}return e}));e.slice().forEach((s=>{if(s in this.commands){const r=e.splice(0,e.indexOf(s));e.shift();if(t.length>0){t[t.length-1].args=r}t.push({name:s,args:[]})}}));if(t.length>0){t[t.length-1].args=e.splice(0)}let s=this.package_json_path;if(this.opts.directory){s=o.join(this.opts.directory,s)}this.package_json=JSON.parse(r.readFileSync(s));this.todo=u.expand_commands(this.package_json,this.opts,t);const d="npm_config_";Object.keys(process.env).forEach((e=>{if(e.indexOf(d)!==0)return;const t=process.env[e];if(e===d+"loglevel"){c.level=t}else{e=e.substring(d.length);if(e==="argv"){if(this.opts.argv&&this.opts.argv.remain&&this.opts.argv.remain.length){}else{this.opts[e]=t}}else{this.opts[e]=t}}}));if(this.opts.loglevel){c.level=this.opts.loglevel}c.resume()};y.setBinaryHostProperty=function(e){if(this.binaryHostSet){return this.package_json.binary.host}const t=this.package_json;if(!t||!t.binary||t.binary.host){return""}if(!t.binary.staging_host||!t.binary.production_host){return""}let s="production_host";if(e==="publish"||e==="unpublish"){s="staging_host"}const r=process.env.node_pre_gyp_s3_host;if(r==="staging"||r==="production"){s=`${r}_host`}else if(this.opts["s3_host"]==="staging"||this.opts["s3_host"]==="production"){s=`${this.opts["s3_host"]}_host`}else if(this.opts["s3_host"]||r){throw new Error(`invalid s3_host ${this.opts["s3_host"]||r}`)}t.binary.host=t.binary[s];this.binaryHostSet=true;return t.binary.host};y.usage=function usage(){const e=[""," Usage: node-pre-gyp <command> [options]",""," where <command> is one of:",f.map((e=>" - "+e+" - "+require("./"+e).usage)).join("\n"),"","node-pre-gyp@"+this.version+" "+o.resolve(__dirname,".."),"node@"+process.versions.node].join("\n");return e};Object.defineProperty(y,"version",{get:function(){return this.package.version},enumerable:true})},2520:(e,t,s)=>{"use strict";const r=s(4816);const o=s(7548);const a=s(7650);const c=s(9896).existsSync||s(6928).existsSync;const u=s(6928);e.exports=t;t.usage="Finds the require path for the node-pre-gyp installed module";t.validate=function(e,t){o.validate_config(e,t)};t.find=function(e,t){if(!c(e)){throw new Error(e+"does not exist")}const s=new r.Run({package_json_path:e,argv:process.argv});s.setBinaryHostProperty();const d=s.package_json;o.validate_config(d,t);let h;if(a.get_napi_build_versions(d,t)){h=a.get_best_napi_build_version(d,t)}t=t||{};if(!t.module_root)t.module_root=u.dirname(e);const f=o.evaluate(d,t,h);return f.module}},1916:(e,t,s)=>{"use strict";const{createConsola:r}=s(86);const o=r({stdout:process.stderr});e.exports=t=o},7650:(e,t,s)=>{"use strict";const r=s(9896);e.exports=t;const o=process.version.substr(1).replace(/-.*$/,"").split(".").map((e=>+e));const a=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];const c="napi_build_version=";e.exports.get_napi_version=function(){let e=process.versions.napi;if(!e){if(o[0]===9&&o[1]>=3)e=2;else if(o[0]===8)e=1}return e};e.exports.get_napi_version_as_string=function(t){const s=e.exports.get_napi_version(t);return s?""+s:""};e.exports.validate_package_json=function(t,s){const r=t.binary;const o=pathOK(r.module_path);const a=pathOK(r.remote_path);const c=pathOK(r.package_name);const u=e.exports.get_napi_build_versions(t,s,true);const d=e.exports.get_napi_build_versions_raw(t);if(u){u.forEach((e=>{if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}}))}if(u&&(!o||!a&&!c)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((o||a||c)&&!d){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(u&&!e.exports.get_best_napi_build_version(t,s)&&e.exports.build_napi_only(t)){throw new Error("The Node-API version of this Node instance is "+e.exports.get_napi_version(s?s.target:undefined)+". "+"This module supports Node-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(d&&!u&&e.exports.build_napi_only(t)){throw new Error("The Node-API version of this Node instance is "+e.exports.get_napi_version(s?s.target:undefined)+". "+"This module supports Node-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,s,r){const o=[];const u=e.exports.get_napi_build_versions(t,s);r.forEach((r=>{if(u&&r.name==="install"){const a=e.exports.get_best_napi_build_version(t,s);const u=a?[c+a]:[];o.push({name:r.name,args:u})}else if(u&&a.indexOf(r.name)!==-1){u.forEach((e=>{const t=r.args.slice();t.push(c+e);o.push({name:r.name,args:t})}))}else{o.push(r)}}));return o};e.exports.get_napi_build_versions=function(t,r,o){const a=s(1916);let c=[];const u=e.exports.get_napi_version(r?r.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach((e=>{const t=c.indexOf(e)!==-1;if(!t&&u&&e<=u){c.push(e)}else if(o&&!t&&u){a.info("This Node instance does not support builds for Node-API version",e)}}))}if(r&&r["build-latest-napi-version-only"]){let e=0;c.forEach((t=>{if(t>e)e=t}));c=e?[e]:[]}return c.length?c:undefined};e.exports.get_napi_build_versions_raw=function(e){const t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach((e=>{if(t.indexOf(e)===-1){t.push(e)}}))}return t.length?t:undefined};e.exports.get_command_arg=function(e){return c+e};e.exports.get_napi_build_version_from_command_args=function(e){for(let t=0;t<e.length;t++){const s=e[t];if(s.indexOf(c)===0){return parseInt(s.substr(c.length),10)}}return undefined};e.exports.swap_build_dir_out=function(t){if(t){r.rmSync(e.exports.get_build_dir(t),{recursive:true,force:true});r.renameSync("build",e.exports.get_build_dir(t))}};e.exports.swap_build_dir_in=function(t){if(t){r.rmSync("build",{recursive:true,force:true});r.renameSync(e.exports.get_build_dir(t),"build")}};e.exports.get_build_dir=function(e){return"build-tmp-napi-v"+e};e.exports.get_best_napi_build_version=function(t,s){let r=0;const o=e.exports.get_napi_build_versions(t,s);if(o){const t=e.exports.get_napi_version(s?s.target:undefined);o.forEach((e=>{if(e>r&&e<=t){r=e}}))}return r===0?undefined:r};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},7548:(e,t,s)=>{"use strict";e.exports=t;const r=s(6928);const o=s(1808);const a=s(7016);const c=s(748);const u=s(7650);let d;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){d=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{d=s(7638)}const h={};Object.keys(d).forEach((e=>{const t=e.split(".")[0];if(!h[t]){h[t]=e}}));function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}const s=o.parse(t);return e+"-v"+s.major+"."+s.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}const s=o.parse(t.node);if(s.major===0&&s.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!=="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{let s;if(d[t]){s=d[t]}else{const e=t.split(".").map((e=>+e));if(e.length!==3){throw new Error("Unknown target version: "+t)}const r=e[0];let o=e[1];let a=e[2];if(r===1){while(true){if(o>0)--o;if(a>0)--a;const e=""+r+"."+o+"."+a;if(d[e]){s=d[e];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+e+" as ABI compatible target");break}if(o===0&&a===0){break}}}else if(r>=2){if(h[r]){s=d[h[r]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+h[r]+" as ABI compatible target")}}else if(r===0){if(e[1]%2===0){while(--a>0){const e=""+r+"."+o+"."+a;if(d[e]){s=d[e];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+e+" as ABI compatible target");break}}}}}if(!s){throw new Error("Unsupported target version: "+t)}const r={node:t,v8:s.v8+".0",modules:s.node_abi>1?s.node_abi:undefined};return get_node_abi(e,r)}}}e.exports.get_runtime_abi=get_runtime_abi;const f=["module_name","module_path","host"];function validate_config(e,t){const s=e.name+" package.json is not node-pre-gyp ready:\n";const r=[];if(!e.main){r.push("main")}if(!e.version){r.push("version")}if(!e.name){r.push("name")}if(!e.binary){r.push("binary")}const o=e.binary;if(o){f.forEach((e=>{if(!o[e]||typeof o[e]!=="string"){r.push("binary."+e)}}))}if(r.length>=1){throw new Error(s+"package.json must declare these properties: \n"+r.join("\n"))}if(o){const e=a.parse(o.host).protocol;if(e==="http:"){throw new Error("'host' protocol ("+e+") is invalid - only 'https:' is accepted")}}u.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach((s=>{const r="{"+s+"}";while(e.indexOf(r)>-1){e=e.replace(r,t[s])}}));return e}function fix_slashes(e){if(e.slice(-1)!=="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){let t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;const p="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";const y="";e.exports.evaluate=function(e,t,s){t=t||{};validate_config(e,t);const d=e.version;const h=o.parse(d);const f=t.runtime||get_process_runtime(process.versions);const g={name:e.name,configuration:t.debug?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:h.version,prerelease:h.prerelease.length?h.prerelease.join("."):"",build:h.build.length?h.build.join("."):"",major:h.major,minor:h.minor,patch:h.patch,runtime:f,node_abi:get_runtime_abi(f,t.target),node_abi_napi:u.get_napi_version(t.target)?"napi":get_runtime_abi(f,t.target),napi_version:u.get_napi_version(t.target),napi_build_version:s||"",node_napi_label:s?"napi-v"+s:get_runtime_abi(f,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||c.familySync()||"unknown",module_main:e.main,toolset:t.toolset||"",bucket:e.binary.bucket,region:e.binary.region,s3ForcePathStyle:e.binary.s3ForcePathStyle||false,acl:t.acl||e.binary.acl||"public-read"};const v=g.module_name.replace("-","_");const _=process.env["npm_config_"+v+"_binary_host_mirror"]||e.binary.host;g.host=fix_slashes(eval_template(_,g));g.module_path=eval_template(e.binary.module_path,g);if(t.module_root){g.module_path=r.join(t.module_root,g.module_path)}else{g.module_path=r.resolve(g.module_path)}g.module=r.join(g.module_path,g.module_name+".node");g.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,g))):y;const w=e.binary.package_name?e.binary.package_name:p;g.package_name=eval_template(w,g);g.staged_tarball=r.join("build/stage",g.remote_path,g.package_name);if(g.s3ForcePathStyle){g.hosted_path=a.resolve(g.host,drop_double_slashes(`${g.bucket}/${g.remote_path}`))}else{g.hosted_path=a.resolve(g.host,g.remote_path)}g.hosted_tarball=a.resolve(g.hosted_path,g.package_name);return g}},3559:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t["default"]=analyze;const o=r(s(6928));const a=s(1973);const c=s(7574);const u=s(8222);const d=s(7413);const h=r(s(8441));const f=s(4065);const p=s(7686);const y=s(4720);const g=s(7458);const v=s(6282);const _=r(s(2690));const w=r(s(5501));const x=r(s(909));const S=r(s(4816));const k=s(7016);const E=d.Parser.extend(s(2487).PV);const O=r(s(857));const j=r(s(7016));const A=s(1981);const T=r(s(4988));const P={cwd:()=>X,env:{NODE_ENV:u.UNKNOWN,[u.UNKNOWN]:true},[u.UNKNOWN]:true};const L=Symbol();const F=Symbol();const R=Symbol();const C=Symbol();const I=Symbol();const D=Symbol();const N=Symbol();const M=Symbol();const W=Symbol();const B=Symbol();const $=Symbol();const z={access:M,accessSync:M,createReadStream:M,exists:M,existsSync:M,fstat:M,fstatSync:M,lstat:M,lstatSync:M,open:M,readdir:W,readdirSync:W,readFile:M,readFileSync:M,stat:M,statSync:M};const U={...z,pathExists:M,pathExistsSync:M,readJson:M,readJSON:M,readJsonSync:M,readJSONSync:M};const q=Symbol();const G=Symbol();const V={register:q,createRequire:G};const H=Object.assign(Object.create(null),{bindings:{default:B},express:{default:function(){return{[u.UNKNOWN]:true,set:L,engine:F}}},fs:{default:z,...z},module:{default:V,...V},"fs-extra":{default:U,...U},"graceful-fs":{default:z,...z},process:{default:P,...P},path:{default:{}},os:{default:O.default,...O.default},url:{default:j.default,...j.default},"@mapbox/node-pre-gyp":{default:S.default,...S.default},"node-pre-gyp":g.pregyp,"node-pre-gyp/lib/pre-binding":g.pregyp,"node-pre-gyp/lib/pre-binding.js":g.pregyp,"node-gyp-build":{default:$},"@aminya/node-gyp-build":{default:$},nbind:{init:R,default:{init:R}},"resolve-from":{default:T.default},"strong-globalize":{default:{SetRootDir:C},SetRootDir:C},pkginfo:{default:N},pino:{default:{[u.UNKNOWN]:true,transport:I},transport:I},fastify:{default:D}});const K={_interopRequireDefault:v.normalizeDefaultRequire,_interopRequireWildcard:v.normalizeWildcardRequire,__importDefault:v.normalizeDefaultRequire,__importStar:v.normalizeWildcardRequire,MONGOOSE_DRIVER_PATH:undefined,URL:k.URL,Object:{assign:Object.assign}};K.global=K.GLOBAL=K.globalThis=K;const J=Symbol();g.pregyp.find[J]=true;const Y=H.path;Object.keys(o.default).forEach((e=>{const t=o.default[e];if(typeof t==="function"){const s=function mockPath(){return t.apply(mockPath,arguments)};s[J]=true;Y[e]=Y.default[e]=s}else{Y[e]=Y.default[e]=t}}));Y.resolve=Y.default.resolve=function(...e){return o.default.resolve.apply(this,[X,...e])};Y.resolve[J]=true;const Q=new Set([".h",".cmake",".c",".cpp"]);const Z=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let X;const ee=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof k.URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new k.URL(e);return true}catch{return false}}return ee.test(e)}return false}const te=Symbol();const ie=/([\/\\]\*\*[\/\\]\*)+/g;async function processPinoTransportObject(e,t){for(const s of e.properties){if(s.type==="Property"&&!s.computed&&s.key.type==="Identifier"){if(s.key.name==="target"&&s.value.type==="Literal"){await t(s.value)}else if((s.key.name==="targets"||s.key.name==="pipeline")&&s.value.type==="ArrayExpression"){for(const e of s.value.elements){if(e&&e.type==="ObjectExpression"){for(const s of e.properties){if(s.type==="Property"&&!s.computed&&s.key.type==="Identifier"&&s.key.name==="target"&&s.value.type==="Literal"){await t(s.value)}}}}}}}}async function analyze(e,t,s){const r=new Set;const d=new Set;const v=new Set;const S=o.default.dirname(e);X=s.cwd;const O=(0,y.getPackageBase)(e);const emitAssetDirectory=e=>{if(!s.analysis.emitGlobs)return;e=e.replaceAll(o.default.sep,o.default.posix.sep);const t=e.indexOf(u.WILDCARD);const a=t===-1?e.length:e.lastIndexOf(o.default.posix.sep,t);const c=e.substring(0,a);const d=e.slice(a);const h=d.replace(u.wildcardRegEx,((e,t)=>d[t-1]===o.default.posix.sep?"**/*":"*")).replace(ie,"/**/*")||"/**/*";if(s.ignoreFn(o.default.relative(s.base,c+h)))return;j=j.then((async()=>{if(s.log)console.log("Globbing "+c+h);const e=await(0,p.glob)(c+h,{mark:true,ignore:c+"/**/node_modules/**/*",dot:true,nodir:true});e.filter((e=>!Q.has(o.default.extname(e))&&!Z.has(o.default.basename(e)))).forEach((e=>r.add(e)))}))};let j=Promise.resolve();t=t.replace(/^#![^\n\r]*[\r\n]/,"");let z;let U=false;try{z=E.parse(t,{ecmaVersion:"latest",allowReturnOutsideFunction:true});U=false}catch(t){const r=t&&t.message&&t.message.includes("sourceType: module");if(!r){s.warnings.add(new Error(`Failed to parse ${e} as script:\n${t&&t.message}`))}}if(!z){try{z=E.parse(t,{ecmaVersion:"latest",sourceType:"module",allowAwaitOutsideFunction:true});U=true}catch(t){s.warnings.add(new Error(`Failed to parse ${e} as module:\n${t&&t.message}`));return{assets:r,deps:d,imports:v,isESM:false}}}const V=(0,k.pathToFileURL)(e).href;const Y=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:{value:o.default.resolve(e,"..")}},__filename:{shadowDepth:0,value:{value:e}},process:{shadowDepth:0,value:{value:P}}});if(!U||s.mixedModules){Y.require={shadowDepth:0,value:{value:{[u.FUNCTION](e){d.add(e);const t=H[e.startsWith("node:")?e.slice(5):e];return t.default},resolve(t){return(0,w.default)(t,e,s)}}}};Y.require.value.value.resolve[J]=true}function setKnownBinding(e,t){if(e==="require"&&"value"in t&&t.value!==te){return}Y[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=Y[e];if(t){if(t.shadowDepth===0){return t.value}}return undefined}function hasKnownBindingValue(e){const t=Y[e];return t&&t.shadowDepth===0}if((U||s.mixedModules)&&isAst(z)){for(const e of z.body){if(e.type==="ImportDeclaration"){const t=String(e.source.value);d.add(t);const s=H[t.startsWith("node:")?t.slice(5):t];if(s){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,{value:s});else if(t.type==="ImportDefaultSpecifier"&&"default"in s)setKnownBinding(t.local.name,{value:s.default});else if(t.type==="ImportSpecifier"&&t.imported.name in s)setKnownBinding(t.local.name,{value:s[t.imported.name]})}}}else if(e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration"){if(e.source)d.add(String(e.source.value))}}}async function computePureStaticValue(e,t=true){const s=Object.create(null);Object.keys(K).forEach((e=>{s[e]={value:K[e]}}));Object.keys(Y).forEach((e=>{s[e]=getKnownBinding(e)}));s["import.meta"]={url:V};const r=await(0,u.evaluate)(e,s,t);return r}let se;let ne;let re=false;function emitWildcardRequire(e){if(!s.analysis.emitGlobs||!e.startsWith("./")&&!e.startsWith("../"))return;e=o.default.resolve(S,e).replaceAll(o.default.sep,o.default.posix.sep);const t=e.indexOf(u.WILDCARD);const r=t===-1?e.length:e.lastIndexOf(o.default.posix.sep,t);const a=e.substring(0,r);const c=e.slice(r);let h=c.replace(u.wildcardRegEx,((e,t)=>c[t-1]===o.default.posix.sep?"**/*":"*"))||"/**/*";if(!h.endsWith("*"))h+="?("+(s.ts?".ts|.tsx|":"")+".js|.json|.node)";if(s.ignoreFn(o.default.relative(s.base,a+h)))return;j=j.then((async()=>{if(s.log)console.log("Globbing "+a+h);const e=await(0,p.glob)(a+h,{mark:true,ignore:a+"/**/node_modules/**/*",nodir:true});e.filter((e=>!Q.has(o.default.extname(e))&&!Z.has(o.default.basename(e)))).forEach((e=>d.add(e)))}))}async function processRequireArg(e,t=false){if(e.type==="ConditionalExpression"){await processRequireArg(e.consequent,t);await processRequireArg(e.alternate,t);return}if(e.type==="LogicalExpression"){await processRequireArg(e.left,t);await processRequireArg(e.right,t);return}let s=await computePureStaticValue(e,true);if(!s)return;function add(e){(t?v:d).add(e)}if("value"in s&&typeof s.value==="string"){if(!s.wildcards)add(s.value);else if(s.wildcards.length>=1)emitWildcardRequire(s.value)}else{if("ifTrue"in s&&typeof s.ifTrue==="string")add(s.ifTrue);if("else"in s&&typeof s.else==="string")add(s.else)}}let oe=(0,c.attachScopes)(z,"scope");if(isAst(z)){(0,A.handleWrappers)(z);await(0,_.default)({id:e,ast:z,emitDependency:e=>d.add(e),emitAsset:e=>r.add(e),emitAssetDirectory:emitAssetDirectory,job:s})}async function backtrack(e,t){if(!se)throw new Error("Internal error: No staticChildNode for backtrack.");const s=await computePureStaticValue(e,true);if(s){if("value"in s&&typeof s.value!=="symbol"||"ifTrue"in s&&typeof s.ifTrue!=="symbol"&&typeof s.else!=="symbol"){ne=s;se=e;if(t)t.skip();return}}await emitStaticChildAsset()}await(0,a.asyncWalk)(z,{async enter(t,a){const c=t;const u=a;if(c.scope){oe=c.scope;for(const e in c.scope.declarations){if(e in Y)Y[e].shadowDepth++}}if(se)return;if(!u)return;if(c.type==="Identifier"){if((0,f.isIdentifierRead)(c,u)&&s.analysis.computeFileReferences){let e;if(typeof(e=getKnownBinding(c.name)?.value)==="string"&&e.match(ee)||e&&(typeof e==="function"||typeof e==="object")&&e[J]){ne={value:typeof e==="string"?e:undefined};se=c;await backtrack(u,this)}}}else if(s.analysis.computeFileReferences&&c.type==="MemberExpression"&&c.object.type==="MetaProperty"&&c.object.meta.name==="import"&&c.object.property.name==="meta"&&(c.property.computed?c.property.value:c.property.name)==="url"){ne={value:V};se=c;await backtrack(u,this)}else if(c.type==="ImportExpression"){await processRequireArg(c.source,true);return}else if(c.type==="CallExpression"){if((!U||s.mixedModules)&&c.callee.type==="Identifier"&&c.arguments.length){if(c.callee.name==="require"&&Y.require&&Y.require.shadowDepth===0){await processRequireArg(c.arguments[0]);return}}else if((!U||s.mixedModules)&&c.callee.type==="MemberExpression"&&c.callee.object.type==="Identifier"&&c.callee.object.name==="module"&&"module"in Y===false&&c.callee.property.type==="Identifier"&&!c.callee.computed&&c.callee.property.name==="require"&&c.arguments.length){await processRequireArg(c.arguments[0]);return}else if((!U||s.mixedModules)&&c.callee.type==="MemberExpression"&&c.callee.object.type==="Identifier"&&c.callee.object.name==="require"&&Y.require&&Y.require.shadowDepth===0&&c.callee.property.type==="Identifier"&&!c.callee.computed&&c.callee.property.name==="resolve"&&c.arguments.length){await processRequireArg(c.arguments[0]);return}const t=s.analysis.evaluatePureExpressions&&await computePureStaticValue(c.callee,false);if(t&&"value"in t&&typeof t.value==="function"&&t.value[J]&&s.analysis.computeFileReferences){ne=await computePureStaticValue(c,true);if(ne&&u){se=c;await backtrack(u,this)}}else if(t&&"value"in t&&typeof t.value==="symbol"){switch(t.value){case te:if(c.arguments.length===1&&c.arguments[0].type==="Literal"&&c.callee.type==="Identifier"&&(!Y.require||Y.require.shadowDepth===0)){await processRequireArg(c.arguments[0])}break;case B:if(c.arguments.length){const e=await computePureStaticValue(c.arguments[0],false);if(e&&"value"in e&&e.value){let t;if(typeof e.value==="object")t=e.value;else if(typeof e.value==="string")t={bindings:e.value};if(!t.path){t.path=true}t.module_root=O;let s;try{s=(0,h.default)(t)}catch(e){}if(s){ne={value:s};se=c;await emitStaticChildAsset()}}}break;case $:if(c.arguments.length){const e=await computePureStaticValue(c.arguments[0],false);if(e&&"value"in e&&e.value){const t=e.value;let s;try{const e=c?.callee?.arguments?.[0]?.value||"node-gyp-build";const r=(0,T.default)(t,e);s=require(r).path(t)}catch(e){try{s=x.default.path(t)}catch(e){}}if(s){ne={value:s};se=c;await emitStaticChildAsset()}}}break;case R:if(c.arguments.length){const e=await computePureStaticValue(c.arguments[0],false);if(e&&"value"in e&&(typeof e.value==="string"||typeof e.value==="undefined")){const t=(0,g.nbind)(e.value);if(t&&t.path){d.add(o.default.relative(S,t.path).replace(/\\/g,"/"));return this.skip()}}}break;case L:if(c.arguments.length===2&&c.arguments[0].type==="Literal"&&c.arguments[0].value==="view engine"&&!re){await processRequireArg(c.arguments[1]);return this.skip()}break;case F:re=true;break;case I:if(c.arguments.length>=1&&c.arguments[0].type==="ObjectExpression"){await processPinoTransportObject(c.arguments[0],processRequireArg);return this.skip()}break;case D:if(c.arguments.length>=1&&c.arguments[0].type==="ObjectExpression"){for(const e of c.arguments[0].properties){if(e.type==="Property"&&!e.computed&&e.key.type==="Identifier"&&e.key.name==="logger"&&e.value.type==="ObjectExpression"){for(const t of e.value.properties){if(t.type==="Property"&&!t.computed&&t.key.type==="Identifier"&&t.key.name==="transport"&&t.value.type==="ObjectExpression"){await processPinoTransportObject(t.value,processRequireArg)}}}}}break;case M:case W:if(c.arguments[0]&&s.analysis.computeFileReferences){ne=await computePureStaticValue(c.arguments[0],true);if(ne){se=c.arguments[0];if(t.value===W&&c.arguments[0].type==="Identifier"&&c.arguments[0].name==="__dirname"){emitAssetDirectory(S)}else{await backtrack(u,this)}return this.skip()}}break;case C:if(c.arguments[0]){const e=await computePureStaticValue(c.arguments[0],false);if(e&&"value"in e&&e.value)emitAssetDirectory(e.value+"/intl");return this.skip()}break;case N:let a=o.default.resolve(e,"../package.json");const f=o.default.resolve("/package.json");while(a!==f&&await s.stat(a)===null)a=o.default.resolve(a,"../../package.json");if(a!==f)r.add(a);break;case q:if(c.arguments.length&&c.arguments[0].type==="Literal"){const e=c.arguments[0].value;if(e.startsWith(".")){const t=c.arguments.length>1?await computePureStaticValue(c.arguments[1]):undefined;if(t&&"value"in t){const s=t.value instanceof k.URL?t.value.href:typeof t.value==="string"?t.value:t.value.parentURL;const r=new k.URL(e,s).href;const a=V.slice(0,V.lastIndexOf("/"));const c=o.default.relative(a,r);const u=c.startsWith(".")?c:"./"+c;v.add(u)}}else{v.add(e)}}break}}else if(t&&"value"in t&&typeof t.value==="object"&&t.value!==null&&t.value.transport===I&&c.arguments.length>=1&&c.arguments[0].type==="ObjectExpression"){for(const e of c.arguments[0].properties){if(e.type==="Property"&&!e.computed&&e.key.type==="Identifier"&&e.key.name==="transport"&&e.value.type==="ObjectExpression"){await processPinoTransportObject(e.value,processRequireArg)}}}}else if(c.type==="VariableDeclaration"&&u&&!(0,f.isVarLoop)(u)&&s.analysis.evaluatePureExpressions){for(const e of c.declarations){if(!e.init)continue;const t=await computePureStaticValue(e.init,true);if(t){if(e.id.type==="Identifier"){setKnownBinding(e.id.name,t)}else if(e.id.type==="ObjectPattern"&&"value"in t){for(const s of e.id.properties){if(s.type!=="Property"||s.key.type!=="Identifier"||s.value.type!=="Identifier"||typeof t.value!=="object"||t.value===null||!(s.key.name in t.value))continue;setKnownBinding(s.value.name,{value:t.value[s.key.name]})}}if(!("value"in t)&&isAbsolutePathOrUrl(t.ifTrue)&&isAbsolutePathOrUrl(t.else)){ne=t;se=e.init;await emitStaticChildAsset()}}}}else if(c.type==="AssignmentExpression"&&u&&!(0,f.isLoop)(u)&&s.analysis.evaluatePureExpressions){if(!hasKnownBindingValue(c.left.name)){const e=await computePureStaticValue(c.right,false);if(e&&"value"in e){if(c.left.type==="Identifier"){setKnownBinding(c.left.name,e)}else if(c.left.type==="ObjectPattern"){for(const t of c.left.properties){if(t.type!=="Property"||t.key.type!=="Identifier"||t.value.type!=="Identifier"||typeof e.value!=="object"||e.value===null||!(t.key.name in e.value))continue;setKnownBinding(t.value.name,{value:e.value[t.key.name]})}}if(isAbsolutePathOrUrl(e.value)){ne=e;se=c.right;await emitStaticChildAsset()}}}}else if((!U||s.mixedModules)&&(c.type==="FunctionDeclaration"||c.type==="FunctionExpression"||c.type==="ArrowFunctionExpression")&&(c.arguments||c.params)[0]&&(c.arguments||c.params)[0].type==="Identifier"){let e;let t;if((c.type==="ArrowFunctionExpression"||c.type==="FunctionExpression")&&u&&u.type==="VariableDeclarator"&&u.id.type==="Identifier"){e=u.id;t=c.arguments||c.params}else if(c.id){e=c.id;t=c.arguments||c.params}if(e&&c.body.body){let s,r=false;for(let e=0;e<c.body.body.length;e++){if(c.body.body[e].type==="VariableDeclaration"&&!s){s=c.body.body[e].declarations.find((e=>e&&e.id&&e.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&Y.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===t[0].name))}if(s&&c.body.body[e].type==="ReturnStatement"&&c.body.body[e].argument&&c.body.body[e].argument.type==="Identifier"&&c.body.body[e].argument.name===s.id.name){r=true;break}}if(r)setKnownBinding(e.name,{value:te})}}if(c.type==="CallExpression"&&c.callee.type==="MemberExpression"&&c.callee.object.type==="Identifier"&&c.callee.object.name==="module"&&c.callee.property.type==="Identifier"&&c.callee.property.name==="createRequire"){if(u.type==="VariableDeclarator"&&u.id.type==="Identifier"){const e=u.id.name;setKnownBinding(e,{value:te})}}if(c.type==="CallExpression"&&c.callee.type==="Identifier"&&c.callee.name==="createRequire"){const e=getKnownBinding("createRequire");if(e&&"value"in e&&e.value===G){if(u.type==="VariableDeclarator"&&u.id.type==="Identifier"){const e=u.id.name;setKnownBinding(e,{value:te})}}}},async leave(e,t){const s=e;const r=t;if(s.scope){if(oe.parent){oe=oe.parent}for(const e in s.scope.declarations){if(e in Y){if(Y[e].shadowDepth>0)Y[e].shadowDepth--;else delete Y[e]}}}if(se&&r)await backtrack(r,this)}});await j;return{assets:r,deps:d,imports:v,isESM:U};async function emitAssetPath(t){const a=t.indexOf(u.WILDCARD);const c=a===-1?t.length:t.lastIndexOf(o.default.sep,a);const d=t.substring(0,c);try{var h=await s.stat(d);if(h===null){throw new Error("file not found")}}catch(e){return}if(a!==-1&&h.isFile())return;if(O){const r=e.substring(0,e.indexOf(o.default.sep+"node_modules"))+o.default.sep+"node_modules"+o.default.sep;if(!t.startsWith(r)){if(s.log)console.log("Skipping asset emission of "+t+" for "+e+" as it is outside the package base "+O);return}}if(h.isFile()){if(s.ignoreFn(o.default.relative(s.base,t)))return;r.add(t)}else if(h.isDirectory()){if(s.ignoreFn(o.default.relative(s.base,t)))return;if(validWildcard(t))emitAssetDirectory(t)}}function validWildcard(t){let r="";if(t.endsWith(o.default.sep))r=o.default.sep;else if(t.endsWith(o.default.sep+u.WILDCARD))r=o.default.sep+u.WILDCARD;else if(t.endsWith(u.WILDCARD))r=u.WILDCARD;if(t===S+r)return false;if(t===X+r)return false;if(t.endsWith(o.default.sep+"node_modules"+r))return false;if(S.startsWith(t.slice(0,t.length-r.length)+o.default.sep))return false;if(O){const r=e.substring(0,e.indexOf(o.default.sep+"node_modules"))+o.default.sep+"node_modules"+o.default.sep;if(!t.startsWith(r)){if(s.log)console.log("Skipping asset emission of "+t.replace(u.wildcardRegEx,"*")+" for "+e+" as it is outside the package base "+O);return false}}return true}function resolveAbsolutePathOrUrl(e){return e instanceof k.URL?(0,k.fileURLToPath)(e):e.startsWith("file:")?(0,k.fileURLToPath)(new k.URL(e)):o.default.resolve(e)}async function emitStaticChildAsset(){if(!ne){return}if("value"in ne&&isAbsolutePathOrUrl(ne.value)){try{const e=resolveAbsolutePathOrUrl(ne.value);await emitAssetPath(e)}catch(e){}}else if("ifTrue"in ne&&"else"in ne&&isAbsolutePathOrUrl(ne.ifTrue)&&isAbsolutePathOrUrl(ne.else)){let e;try{e=resolveAbsolutePathOrUrl(ne.ifTrue)}catch(e){}let t;try{t=resolveAbsolutePathOrUrl(ne.else)}catch(e){}if(e)await emitAssetPath(e);if(t)await emitAssetPath(t)}else if(se&&se.type==="ArrayExpression"&&"value"in ne&&ne.value instanceof Array){for(const e of ne.value){try{const t=resolveAbsolutePathOrUrl(e);await emitAssetPath(t)}catch(e){}}}se=ne=undefined}}function isAst(e){return"body"in e}},5876:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.CachedFileSystem=void 0;const o=s(6928);const a=r(s(8692));const c=s(4261);const u=a.default.promises.readFile;const d=a.default.promises.readlink;const h=a.default.promises.stat;class CachedFileSystem{fileCache;statCache;symlinkCache;fileIOQueue;constructor({cache:e,fileIOConcurrency:t}){this.fileIOQueue=new c.Sema(t);this.fileCache=e?.fileCache??new Map;this.statCache=e?.statCache??new Map;this.symlinkCache=e?.symlinkCache??new Map;if(e){e.fileCache=this.fileCache;e.statCache=this.statCache;e.symlinkCache=this.symlinkCache}}async readlink(e){const t=this.symlinkCache.get(e);if(t!==undefined)return t;const s=this.executeFileIO(e,this._internalReadlink);this.symlinkCache.set(e,s);return s}async readFile(e){const t=this.fileCache.get(e);if(t!==undefined)return t;const s=this.executeFileIO(e,this._internalReadFile);this.fileCache.set(e,s);return s}async stat(e){const t=this.statCache.get(e);if(t!==undefined)return t;const s=this.executeFileIO(e,this._internalStat);this.statCache.set(e,s);return s}async _internalReadlink(e){try{const t=await d(e);const s=this.statCache.get(e);if(s)this.statCache.set((0,o.resolve)(e,t),s);return t}catch(e){if(e.code!=="EINVAL"&&e.code!=="ENOENT"&&e.code!=="UNKNOWN")throw e;return null}}async _internalReadFile(e){try{return(await u(e)).toString()}catch(e){if(e.code==="ENOENT"||e.code==="EISDIR"){return null}throw e}}async _internalStat(e){try{return await h(e)}catch(e){if(e.code==="ENOENT"){return null}throw e}}async executeFileIO(e,t){await this.fileIOQueue.acquire();try{return await t.call(this,e)}finally{this.fileIOQueue.release()}}}t.CachedFileSystem=CachedFileSystem},9631:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.resolve=t.nodeFileTrace=void 0;o(s(9046),t);var c=s(6910);Object.defineProperty(t,"nodeFileTrace",{enumerable:true,get:function(){return c.nodeFileTrace}});const u=a(s(5501));t.resolve=u.default},6910:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s))t[t.length]=s;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s=ownKeys(e),a=0;a<s.length;a++)if(s[a]!=="default")r(t,e,s[a]);o(t,e);return t}}();var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Job=void 0;t.nodeFileTrace=nodeFileTrace;const u=s(6928);const d=c(s(3559));const h=a(s(5501));const f=s(7298);const p=s(6353);const y=s(5876);function inPath(e,t){const s=(0,u.join)(t,u.sep);return e.startsWith(s)&&e!==s}async function nodeFileTrace(e,t={}){const s=new Job(t);if(t.readFile)s.readFile=t.readFile;if(t.stat)s.stat=t.stat;if(t.readlink)s.readlink=t.readlink;if(t.resolve)s.resolve=t.resolve;s.ts=true;await Promise.all(e.map((async e=>{const t=(0,u.resolve)(e);await s.emitFile(t,"initial");return s.emitDependency(t)})));const r={fileList:s.fileList,esmFileList:s.esmFileList,reasons:s.reasons,warnings:s.warnings};return r}class Job{ts;base;cwd;conditions;exportsOnly;moduleSyncCatchall;paths;ignoreFn;log;depth;mixedModules;analysis;analysisCache;fileList;esmFileList;processed;warnings;reasons=new Map;cachedFileSystem;remappings=new Map;constructor({base:e=process.cwd(),processCwd:t,exports:s,conditions:r=s||["node"],exportsOnly:o=false,moduleSyncCatchall:a=false,paths:c={},ignore:d,log:h=false,mixedModules:p=false,ts:g=true,analysis:v={},cache:_,fileIOConcurrency:w=1024,depth:x=Infinity}){this.ts=g;e=(0,u.resolve)(e);this.ignoreFn=e=>{if(e.startsWith(".."+u.sep))return true;return false};if(typeof d==="string")d=[d];if(typeof d==="function"){const e=d;this.ignoreFn=t=>{if(t.startsWith(".."+u.sep))return true;if(e(t))return true;return false}}else if(Array.isArray(d)){const t=d.map((t=>(0,u.relative)(e,(0,u.resolve)(e||process.cwd(),t))));this.ignoreFn=e=>{if(e.startsWith(".."+u.sep))return true;if((0,f.isMatch)(e,t))return true;return false}}this.base=e;this.cwd=(0,u.resolve)(t||e);this.conditions=r;this.exportsOnly=o;this.moduleSyncCatchall=a;const S={};for(const t of Object.keys(c)){const s=c[t].endsWith("/");const r=(0,u.resolve)(e,c[t]);S[t]=r+(s?"/":"")}this.paths=S;this.log=h;this.depth=x;this.mixedModules=p;this.cachedFileSystem=new y.CachedFileSystem({cache:_,fileIOConcurrency:w});this.analysis={};if(v!==false){Object.assign(this.analysis,{emitGlobs:true,computeFileReferences:true,evaluatePureExpressions:true},v===true?{}:v)}this.analysisCache=_&&_.analysisCache||new Map;if(_){_.analysisCache=this.analysisCache}this.fileList=new Set;this.esmFileList=new Set;this.processed=new Set;this.warnings=new Set}addRemapping(e,t){if(e===t)return;let s=this.remappings.get(e);if(!s){s=new Set;this.remappings.set(e,s)}s.add(t)}async readlink(e){return this.cachedFileSystem.readlink(e)}async isFile(e){const t=await this.stat(e);if(t)return t.isFile();return false}async isDir(e){const t=await this.stat(e);if(t)return t.isDirectory();return false}async stat(e){return this.cachedFileSystem.stat(e)}maybeEmitDep=async(e,t,s,r)=>{let o="";let a;try{o=await this.resolve(e,t,this,s)}catch(r){a=r;try{if(this.ts&&e.endsWith(".js")&&r instanceof h.NotFoundError){const r=e.slice(0,-3)+".ts";o=await this.resolve(r,t,this,s);a=undefined}}catch(e){a=e}}if(a){this.warnings.add(new Error(`Failed to resolve dependency "${e}":\n${a?.message}`));return}if(Array.isArray(o)){for(const e of o){if(e.startsWith("node:"))return;await this.emitDependency(e,t,r)}}else{if(o.startsWith("node:"))return;await this.emitDependency(o,t,r)}};async resolve(e,t,s,r){return(0,h.default)(e,t,s,r)}async readFile(e){return this.cachedFileSystem.readFile(e)}async realpath(e,t,s=new Set){if(s.has(e))throw new Error("Recursive symlink detected resolving "+e);s.add(e);const r=await this.readlink(e);if(r){const o=(0,u.dirname)(e);const a=(0,u.resolve)(o,r);const c=await this.realpath(o,t);if(inPath(e,c))await this.emitFile(e,"resolve",t,true);return this.realpath(a,t,s)}if(!inPath(e,this.base))return e;return(0,u.join)(await this.realpath((0,u.dirname)(e),t,s),(0,u.basename)(e))}async emitFile(e,t,s,r=false){if(!r){e=await this.realpath(e,s)}e=(0,u.relative)(this.base,e);if(s){s=(0,u.relative)(this.base,s)}let o=this.reasons.get(e);if(!o){o={type:[t],ignored:false,parents:new Set};this.reasons.set(e,o)}else if(!o.type.includes(t)){o.type.push(t)}if(s&&this.ignoreFn(e,s)){if(!this.fileList.has(e)&&o){o.ignored=true}return false}if(s){o.parents.add(s)}this.fileList.add(e);return true}async getPjsonBoundary(e){const t=e.indexOf(u.sep);let s;while((s=e.lastIndexOf(u.sep))>t){e=e.slice(0,s);if(await this.isFile(e+u.sep+"package.json"))return e}return undefined}async emitDependency(e,t,s=this.depth){if(s<0)throw new Error("invariant - depth option cannot be negative");const r=await this.realpath(e,t);if(this.processed.has(r)){if(t){await this.emitFile(e,"dependency",t)}return}this.processed.add(r);const o=this.remappings.get(r);if(o){await Promise.all([...o].map((async e=>this.emitDependency(e,r,s))))}const a=await this.emitFile(e,"dependency",t);if(!a)return;if(r.endsWith(".json"))return;if(r.endsWith(".node"))return await(0,p.sharedLibEmit)(r,this);if(r.endsWith(".js")||r.endsWith(".ts")){const e=await this.getPjsonBoundary(r);if(e)await this.emitFile(e+u.sep+"package.json","resolve",r)}if(s===0)return;let c;const h=this.analysisCache.get(r);if(h){c=h}else{const e=await this.readFile(r);if(e===null)throw new Error("File "+r+" does not exist.");c=await(0,d.default)(r,e.toString(),this);this.analysisCache.set(r,c)}const{deps:f,imports:y,assets:g,isESM:v}=c;if(v){this.esmFileList.add((0,u.relative)(this.base,r))}await Promise.all([...[...g].map((async e=>{const t=(0,u.extname)(e);if(t===".js"||t===".mjs"||t===".node"||t===""||this.ts&&(t===".ts"||t===".tsx")&&e.startsWith(this.base)&&e.slice(this.base.length).indexOf(u.sep+"node_modules"+u.sep)===-1)await this.emitDependency(e,r,s-1);else await this.emitFile(e,"asset",r)})),...[...f].map((async e=>this.maybeEmitDep(e,r,!v,s-1))),...[...y].map((async e=>this.maybeEmitDep(e,r,false,s-1)))])}}t.Job=Job},5501:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NotFoundError=void 0;t["default"]=resolveDependency;const r=s(6928);const o=s(3339);const a=s(8904);async function resolveDependency(e,t,s,o=true){let a;if((0,r.isAbsolute)(e)||e==="."||e===".."||e.startsWith("./")||e.startsWith("../")){const o=e.endsWith("/");a=await resolvePath((0,r.resolve)(t,"..",e)+(o?"/":""),t,s)}else if(e[0]==="#"){a=await packageImportsResolve(e,t,s,o)}else{a=await resolvePackage(e,t,s,o)}if(Array.isArray(a)){return Promise.all(a.map((e=>s.realpath(e,t))))}else if(a.startsWith("node:")){return a}else{return s.realpath(a,t)}}async function resolvePath(e,t,s){const r=await resolveFile(e,t,s)||await resolveDir(e,t,s);if(!r){throw new NotFoundError(e,t)}return r}async function resolveFile(e,t,s){if(e.endsWith("/"))return undefined;e=await s.realpath(e,t);if(await s.isFile(e))return e;if(s.ts&&e.startsWith(s.base)&&e.slice(s.base.length).indexOf(r.sep+"node_modules"+r.sep)===-1&&await s.isFile(e+".ts"))return e+".ts";if(s.ts&&e.startsWith(s.base)&&e.slice(s.base.length).indexOf(r.sep+"node_modules"+r.sep)===-1&&await s.isFile(e+".tsx"))return e+".tsx";if(await s.isFile(e+".js"))return e+".js";if(await s.isFile(e+".json"))return e+".json";if(await s.isFile(e+".node"))return e+".node";return undefined}async function resolveDir(e,t,s){if(e.endsWith("/"))e=e.slice(0,-1);if(!await s.isDir(e))return;const o=await getPkgCfg(e,s);if(o&&typeof o.main==="string"){const a=await resolveFile((0,r.resolve)(e,o.main),t,s)||await resolveFile((0,r.resolve)(e,o.main,"index"),t,s);if(a){await s.emitFile(e+r.sep+"package.json","resolve",t);return a}}return resolveFile((0,r.resolve)(e,"index"),t,s)}class NotFoundError extends Error{code;constructor(e,t){super("Cannot find module '"+e+"' loaded from "+t);this.code="MODULE_NOT_FOUND"}}t.NotFoundError=NotFoundError;const c=new Set(o.builtinModules);const u=(0,a.getNodeMajorVersion)()>=22;function getPkgName(e){const t=e.split("/");if(e[0]==="@"&&t.length>1)return t.length>1?t.slice(0,2).join("/"):null;return t.length?t[0]:null}async function getPkgCfg(e,t){const s=await t.readFile(e+r.sep+"package.json");if(s){try{return JSON.parse(s.toString())}catch(e){}}return undefined}function getExportsTarget(e,t,s,r){if(typeof e==="string"){return e}else if(e===null){return e}else if(Array.isArray(e)){for(const o of e){const e=getExportsTarget(o,t,s,r);if(e===null||typeof e==="string"&&e.startsWith("./"))return e}}else if(typeof e==="object"){for(const o of Object.keys(e)){if(o==="default"||o==="require"&&s||o==="import"&&!s||o==="module-sync"&&r||t.includes(o)){const a=getExportsTarget(e[o],t,s,r);if(a!==undefined)return a}}}return undefined}function addExportsTargetPath(e,t,s,r){if(typeof s!=="string"||!s.startsWith("./"))return;const o=r?s.slice(1).replace(/\*/g,r):s.slice(1);const a=t+o;if(!e.includes(a)){e.push(a)}}async function validateAndResolvePaths(e,t,s,r){const o=[];for(const a of e){if(r){const e=await resolveFile(a,t,s)||await resolveDir(a,t,s);if(!e)throw new NotFoundError(a,t);o.push(e)}else{if(!await s.isFile(a))throw new NotFoundError(a,t);o.push(a)}}return o}async function resolveExportsImports(e,t,s,r,o,a,c){let d;if(o){if(!(typeof t==="object"&&!Array.isArray(t)&&t!==null))return undefined;d=t}else if(typeof t==="string"||Array.isArray(t)||t===null||typeof t==="object"&&Object.keys(t).length&&Object.keys(t)[0][0]!=="."){d={".":t}}else{d=t}if(s in d){const t=getExportsTarget(d[s],r.conditions,a,u);if(typeof t==="string"&&t.startsWith("./")){const o=e+t.slice(1);const h=[o];const f=d[s];if(typeof f==="object"&&f!==null&&!Array.isArray(f)&&"module-sync"in f&&(u||r.moduleSyncCatchall)){const t=getExportsTarget(f["module-sync"],r.conditions,a,true);addExportsTargetPath(h,e,t);const s=a&&"require"in f?"require":!a&&"import"in f?"import":"default";const o=getExportsTarget(f[s],r.conditions,a,false);addExportsTargetPath(h,e,o)}return await validateAndResolvePaths(h,c,r,a)}else if(o&&typeof t==="string"){const e=await resolveDependency(t,c,r,a);return Array.isArray(e)?e:[e]}}for(const t of Object.keys(d).sort(((e,t)=>t.length-e.length))){if(t.endsWith("*")&&s.startsWith(t.slice(0,-1))){const o=getExportsTarget(d[t],r.conditions,a,u);if(typeof o==="string"&&o.startsWith("./")){const u=e+o.slice(1).replace(/\*/g,s.slice(t.length-1));const h=[u];const f=s.slice(t.length-1);const p=d[t];if(r.moduleSyncCatchall&&typeof p==="object"&&p!==null&&!Array.isArray(p)&&"module-sync"in p){const t=getExportsTarget(p["module-sync"],r.conditions,a,true);addExportsTargetPath(h,e,t,f);const s=a&&"require"in p?"require":!a&&"import"in p?"import":"default";const o=getExportsTarget(p[s],r.conditions,a,false);addExportsTargetPath(h,e,o,f)}return await validateAndResolvePaths(h,c,r,a)}}if(!t.endsWith("/"))continue;if(s.startsWith(t)){const o=getExportsTarget(d[t],r.conditions,a,u);if(typeof o==="string"&&o.endsWith("/")&&o.startsWith("./")){const u=e+o.slice(1)+s.slice(t.length);return await validateAndResolvePaths([u],c,r,a)}}}return undefined}async function resolveRemappings(e,t,s,o){if(o.conditions?.includes("browser")){const{browser:a}=t;if(!a){return}if(typeof a==="object"){for(const[t,c]of Object.entries(a)){if(typeof c!=="string"){continue}if(!t.startsWith("./")||!c.startsWith("./")){continue}const a=await resolveFile(e+r.sep+t,s,o);const u=await resolveFile(e+r.sep+c,s,o);if(a&&u){o.addRemapping(a,u)}}}}}async function packageImportsResolve(e,t,s,o){if(e!=="#"&&!e.startsWith("#/")&&s.conditions){const a=await s.getPjsonBoundary(t);if(a){const c=await getPkgCfg(a,s);const{imports:u}=c||{};if(c&&u!==null&&u!==undefined){const c=await resolveExportsImports(a,u,e,s,true,o,t);if(c){await s.emitFile(a+r.sep+"package.json","resolve",t);return c}}}}throw new NotFoundError(e,t)}async function resolvePackage(e,t,s,o){let a=t;if(c.has(e))return"node:"+e;if(e.startsWith("node:"))return e;const u=getPkgName(e)||"";let d;if(s.conditions){const a=await s.getPjsonBoundary(t);if(a){const c=await getPkgCfg(a,s);const{exports:h}=c||{};if(c&&c.name&&c.name===u&&h!==null&&h!==undefined){d=await resolveExportsImports(a,h,"."+e.slice(u.length),s,false,o,t);if(d)await s.emitFile(a+r.sep+"package.json","resolve",t)}}}let h;const f=a.indexOf(r.sep);while((h=a.lastIndexOf(r.sep))>f){a=a.slice(0,h);const c=a+r.sep+"node_modules";const f=await s.stat(c);if(!f||!f.isDirectory())continue;const p=await getPkgCfg(c+r.sep+u,s);const{exports:y}=p||{};if(p){await resolveRemappings(c+r.sep+u,p,t,s)}if(s.conditions&&y!==undefined&&y!==null&&!d){let a;if(!s.exportsOnly)a=await resolveFile(c+r.sep+e,t,s)||await resolveDir(c+r.sep+e,t,s);const d=await resolveExportsImports(c+r.sep+u,y,"."+e.slice(u.length),s,false,o,t);if(d){await s.emitFile(c+r.sep+u+r.sep+"package.json","resolve",t);if(a&&!d.includes(a))return[...d,a];return d}if(a)return a}else{const o=await resolveFile(c+r.sep+e,t,s)||await resolveDir(c+r.sep+e,t,s);if(o){if(d){if(Array.isArray(d)){if(!d.includes(o))return[o,...d];return d}else if(d!==o){return[o,d]}}return o}}}if(d)return d;if(Object.hasOwnProperty.call(s.paths,e)){return s.paths[e]}for(const r of Object.keys(s.paths)){if(r.endsWith("/")&&e.startsWith(r)){const o=s.paths[r]+e.slice(r.length);const a=await resolveFile(o,t,s)||await resolveDir(o,t,s);if(!a){throw new NotFoundError(e,t)}return a}}throw new NotFoundError(e,t)}},9046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},4065:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierRead=isIdentifierRead;t.isVarLoop=isVarLoop;t.isLoop=isLoop;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}},7458:function(__unused_webpack_module,exports,__nccwpck_require__){"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:true});exports.pregyp=void 0;exports.nbind=nbind;const path_1=__importDefault(__nccwpck_require__(6928));const graceful_fs_1=__importDefault(__nccwpck_require__(8692));const versioning=__nccwpck_require__(7548);const napi=__nccwpck_require__(7650);const pregypFind=(e,t)=>{const s=JSON.parse(graceful_fs_1.default.readFileSync(e).toString());versioning.validate_config(s,t);var r;if(napi.get_napi_build_versions(s,t)){r=napi.get_best_napi_build_version(s,t)}t=t||{};if(!t.module_root)t.module_root=path_1.default.dirname(e);var o=versioning.evaluate(s,t,r);return o.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path_1.default.extname(basePath);for(var _i=0,specList_1=specList;_i<specList_1.length;_i++){var spec=specList_1[_i];if(ext==spec.ext){try{spec.path=eval("require.resolve(basePath)");return spec}catch(e){resolvedList.push(basePath)}}}for(var _a=0,specList_2=specList;_a<specList_2.length;_a++){var spec=specList_2[_a];for(var _b=0,_c=makeModulePathList(basePath,spec.name);_b<_c.length;_b++){var pathParts=_c[_b];var resolvedPath=path_1.default.resolve.apply(path_1.default,pathParts);try{spec.path=eval("require.resolve(resolvedPath)")}catch(e){resolvedList.push(resolvedPath);continue}return spec}}return null}function nbind(e=process.cwd()){const t=findCompiledModule(e,[{ext:".node",name:"nbind.node",type:"node"},{ext:".js",name:"nbind.js",type:"emcc"}]);return t}},4720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPackageBase=getPackageBase;t.getPackageName=getPackageName;const s=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;function getPackageBase(e){const t=e.lastIndexOf("node_modules");if(t!==-1&&(e[t-1]==="/"||e[t-1]==="\\")&&(e[t+12]==="/"||e[t+12]==="\\")){const r=e.slice(t+13).match(s);if(r)return e.slice(0,t+13+r[0].length)}return undefined}function getPackageName(e){const t=e.lastIndexOf("node_modules");if(t!==-1&&(e[t-1]==="/"||e[t-1]==="\\")&&(e[t+12]==="/"||e[t+12]==="\\")){const r=e.slice(t+13).match(s);if(r&&r.length>0){return r[0].replace(/\\/g,"/")}}return undefined}},6282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeDefaultRequire=normalizeDefaultRequire;t.normalizeWildcardRequire=normalizeWildcardRequire;function normalizeDefaultRequire(e){if(e&&e.__esModule)return e;return{default:e}}const s=Object.prototype.hasOwnProperty;function normalizeWildcardRequire(e){if(e&&e.__esModule)return e;const t={};for(const r in e){if(!s.call(e,r))continue;t[r]=e[r]}t["default"]=e;return t}},8904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getNodeMajorVersion=getNodeMajorVersion;function getNodeMajorVersion(){return parseInt(process.versions.node.split(".")[0],10)}},6353:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.sharedLibEmit=sharedLibEmit;const o=r(s(857));const a=r(s(6928));const c=s(7686);const u=s(4720);let d="";switch(o.default.platform()){case"darwin":d="/**/*.@(dylib|so?(.*))";break;case"win32":d="/**/*.dll";break;default:d="/**/*.so?(.*)"}async function sharedLibEmit(e,t){const s=(0,u.getPackageBase)(e);if(!s)return;const r=await(0,c.glob)(s.replaceAll(a.default.sep,a.default.posix.sep)+d,{ignore:s.replaceAll(a.default.sep,a.default.posix.sep)+"/**/node_modules/**/*",dot:true});await Promise.all(r.map((s=>t.emitFile(s,"sharedlib",e))))}},2690:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t["default"]=handleSpecialCases;const o=s(6928);const a=s(9896);const c=r(s(5501));const u=s(4720);const d=s(8692);const h={"@generated/photon"({id:e,emitAssetDirectory:t}){if(e.endsWith("@generated/photon/index.js")){t((0,o.resolve)((0,o.dirname)(e),"runtime/"))}},"@serialport/bindings-cpp"({id:e,emitAssetDirectory:t}){if(e.endsWith("@serialport/bindings-cpp/dist/index.js")){t((0,o.resolve)((0,o.dirname)(e),"..","build","Release"));t((0,o.resolve)((0,o.dirname)(e),"..","prebuilds"))}},argon2({id:e,emitAssetDirectory:t}){if(e.endsWith("argon2/argon2.js")){t((0,o.resolve)((0,o.dirname)(e),"build","Release"));t((0,o.resolve)((0,o.dirname)(e),"prebuilds"));t((0,o.resolve)((0,o.dirname)(e),"lib","binding"))}},bull({id:e,emitAssetDirectory:t}){if(e.endsWith("bull/lib/commands/index.js")){t((0,o.resolve)((0,o.dirname)(e)))}},camaro({id:e,emitAsset:t}){if(e.endsWith("camaro/dist/camaro.js")){t((0,o.resolve)((0,o.dirname)(e),"camaro.wasm"))}},esbuild({id:e,emitAssetDirectory:t}){if(e.endsWith("esbuild/lib/main.js")){const s=(0,o.resolve)(e,"..","..","package.json");const r=JSON.parse((0,d.readFileSync)(s,"utf8"));for(const s of Object.keys(r.optionalDependencies||{})){const r=(0,o.resolve)(e,"..","..","..",s);t(r)}}},"ffmpeg-static"({id:e,emitAsset:t}){if(e.endsWith("ffmpeg-static/index.js")){const s=(0,o.dirname)(e);const r=process.platform==="win32"?".exe":"";const c=[(0,o.resolve)(s,`ffmpeg${r}`),(0,o.resolve)(s,"bin",process.platform,process.arch,`ffmpeg${r}`)].find((e=>(0,a.existsSync)(e)));if(c){t(c)}}},"google-gax"({id:e,ast:t,emitAssetDirectory:s}){if(e.endsWith("google-gax/build/src/grpc.js")){for(const r of t.body){if(r.type==="VariableDeclaration"&&r.declarations[0].id.type==="Identifier"&&r.declarations[0].id.name==="googleProtoFilesDir"){s((0,o.resolve)((0,o.dirname)(e),"../../../google-proto-files"))}}}},oracledb({id:e,ast:t,emitAsset:s}){if(e.endsWith("oracledb/lib/oracledb.js")){for(const r of t.body){if(r.type==="ForStatement"&&"body"in r.body&&r.body.body&&Array.isArray(r.body.body)&&r.body.body[0]&&r.body.body[0].type==="TryStatement"&&r.body.body[0].block.body[0]&&r.body.body[0].block.body[0].type==="ExpressionStatement"&&r.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&r.body.body[0].block.body[0].expression.operator==="="&&r.body.body[0].block.body[0].expression.left.type==="Identifier"&&r.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&r.body.body[0].block.body[0].expression.right.type==="CallExpression"&&r.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.callee.name==="require"&&r.body.body[0].block.body[0].expression.right.arguments.length===1&&r.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&r.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&r.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&r.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){r.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const t=global._unit?"3.0.0":JSON.parse((0,d.readFileSync)(e.slice(0,-15)+"package.json","utf8")).version;const a=Number(t.slice(0,t.indexOf(".")))>=4;const c="oracledb-"+(a?t:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";s((0,o.resolve)(e,"../../build/Release/"+c))}}}},"phantomjs-prebuilt"({id:e,emitAssetDirectory:t}){if(e.endsWith("phantomjs-prebuilt/lib/phantomjs.js")){t((0,o.resolve)((0,o.dirname)(e),"..","bin"))}},"remark-prism"({id:e,emitAssetDirectory:t}){const s="remark-prism/src/highlight.js";if(e.endsWith(s)){try{const r=e.slice(0,-s.length);t((0,o.resolve)(r,"prismjs","components"))}catch(e){}}},semver({id:e,emitAsset:t}){if(e.endsWith("semver/index.js")){t((0,o.resolve)(e.replace("index.js","preload.js")))}},sharp:async({id:e,emitAssetDirectory:t,job:s})=>{if(e.endsWith("sharp/lib/index.js")){const r=(0,o.resolve)(e,"..","..","package.json");const a=JSON.parse((0,d.readFileSync)(r,"utf8"));for(const r of Object.keys(a.optionalDependencies||{})){const a=(0,o.resolve)(e,"..","..","..",r);t(a);try{const e=(0,o.resolve)(a,"package.json");const r=JSON.parse((0,d.readFileSync)(e,"utf8"));for(const e of Object.keys(r.optionalDependencies||{})){const r=(0,o.resolve)(await s.realpath(a),"..","..",e);t(r)}}catch(e){if(e&&e.code!=="ENOENT"){console.error(`Error reading "sharp" dependencies from "${a}/package.json"'`);throw e}}}}},shiki({id:e,emitAssetDirectory:t}){if(e.endsWith("/dist/index.js")){t((0,o.resolve)((0,o.dirname)(e),"..","languages"));t((0,o.resolve)((0,o.dirname)(e),"..","themes"))}},"socket.io":async function({id:e,ast:t,job:s}){if(e.endsWith("socket.io/lib/index.js")){async function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const r=t.expression.right.arguments[0].arguments[0].value;let a;try{const t=await(0,c.default)(String(r),e,s);if(typeof t==="string"){a=t}else{return undefined}}catch(e){return undefined}const u="/"+(0,o.relative)((0,o.dirname)(e),a);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:u,raw:JSON.stringify(u)}}}return undefined}for(const r of t.body){if(r.type==="ExpressionStatement"&&r.expression.type==="AssignmentExpression"&&r.expression.operator==="="&&r.expression.left.type==="MemberExpression"&&r.expression.left.object.type==="MemberExpression"&&r.expression.left.object.object.type==="Identifier"&&r.expression.left.object.object.name==="Server"&&r.expression.left.object.property.type==="Identifier"&&r.expression.left.object.property.name==="prototype"&&r.expression.left.property.type==="Identifier"&&r.expression.left.property.name==="serveClient"&&r.expression.right.type==="FunctionExpression"){for(const a of r.expression.right.body.body){if(a.type==="IfStatement"&&a.consequent&&"body"in a.consequent&&a.consequent.body){const u=a.consequent.body;let d=false;if(Array.isArray(u)&&u[0]&&u[0].type==="ExpressionStatement"){d=await replaceResolvePathStatement(u[0])}if(Array.isArray(u)&&u[1]&&u[1].type==="TryStatement"&&u[1].block.body&&u[1].block.body[0]){d=await replaceResolvePathStatement(u[1].block.body[0])||d}return}}}}}},typescript({id:e,emitAssetDirectory:t}){if(e.endsWith("typescript/lib/tsc.js")){t((0,o.resolve)(e,"../"))}},"uglify-es"({id:e,emitAsset:t}){if(e.endsWith("uglify-es/tools/node.js")){t((0,o.resolve)(e,"../../lib/utils.js"));t((0,o.resolve)(e,"../../lib/ast.js"));t((0,o.resolve)(e,"../../lib/parse.js"));t((0,o.resolve)(e,"../../lib/transform.js"));t((0,o.resolve)(e,"../../lib/scope.js"));t((0,o.resolve)(e,"../../lib/output.js"));t((0,o.resolve)(e,"../../lib/compress.js"));t((0,o.resolve)(e,"../../lib/sourcemap.js"));t((0,o.resolve)(e,"../../lib/mozilla-ast.js"));t((0,o.resolve)(e,"../../lib/propmangle.js"));t((0,o.resolve)(e,"../../lib/minify.js"));t((0,o.resolve)(e,"../exports.js"))}},"uglify-js"({id:e,emitAsset:t,emitAssetDirectory:s}){if(e.endsWith("uglify-js/tools/node.js")){s((0,o.resolve)(e,"../../lib"));t((0,o.resolve)(e,"../exports.js"))}},"playwright-core"({id:e,emitAsset:t}){if(e.endsWith("playwright-core/index.js")){t((0,o.resolve)((0,o.dirname)(e),"browsers.json"))}},"geo-tz"({id:e,emitAsset:t}){if(e.endsWith("geo-tz/dist/geo-tz.js")){t((0,o.resolve)((0,o.dirname)(e),"../data/geo.dat"))}},pixelmatch({id:e,emitDependency:t}){if(e.endsWith("pixelmatch/index.js")){t((0,o.resolve)((0,o.dirname)(e),"bin/pixelmatch"))}},"geoip-lite"({id:e,emitAsset:t}){if(e.endsWith("geoip-lite/lib/geoip.js")){t((0,o.resolve)((0,o.dirname)(e),"../data/geoip-city.dat"));t((0,o.resolve)((0,o.dirname)(e),"../data/geoip-city6.dat"));t((0,o.resolve)((0,o.dirname)(e),"../data/geoip-city-names.dat"));t((0,o.resolve)((0,o.dirname)(e),"../data/geoip-country.dat"));t((0,o.resolve)((0,o.dirname)(e),"../data/geoip-country6.dat"))}}};async function handleSpecialCases({id:e,ast:t,emitDependency:s,emitAsset:r,emitAssetDirectory:o,job:a}){const c=(0,u.getPackageName)(e);const d=h[c||""];e=e.replace(/\\/g,"/");if(d)await d({id:e,ast:t,emitDependency:s,emitAsset:r,emitAssetDirectory:o,job:a})}},8222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wildcardRegEx=t.WILDCARD=t.FUNCTION=t.UNKNOWN=void 0;t.evaluate=evaluate;async function evaluate(e,t={},r=true){const o={computeBranches:r,vars:t};return walk(e);function walk(e){const t=s[e.type];if(t){return t.call(o,e,walk)}return undefined}}t.UNKNOWN=Symbol();t.FUNCTION=Symbol();t.WILDCARD="";t.wildcardRegEx=/\x1a/g;function countWildcards(e){t.wildcardRegEx.lastIndex=0;let s=0;while(t.wildcardRegEx.exec(e))s++;return s}const s={ArrayExpression:async function ArrayExpression(e,t){const s=[];for(let r=0,o=e.elements.length;r<o;r++){if(e.elements[r]===null){s.push(null);continue}const o=await t(e.elements[r]);if(!o)return;if("value"in o===false)return;s.push(o.value)}return{value:s}},ArrowFunctionExpression:async function(e,s){if(e.params.length===0&&!e.generator&&!e.async&&e.expression){const r=await s(e.body);if(!r||!("value"in r))return;return{value:{[t.FUNCTION]:()=>r.value}}}return undefined},BinaryExpression:async function BinaryExpression(e,s){const r=e.operator;let o=await s(e.left);if(!o&&r!=="+")return;let a=await s(e.right);if(!o&&!a)return;if(!o){if(this.computeBranches&&a&&"value"in a&&typeof a.value==="string")return{value:t.WILDCARD+a.value,wildcards:[e.left,...a.wildcards||[]]};return}if(!a){if(this.computeBranches&&r==="+"){if(o&&"value"in o&&typeof o.value==="string")return{value:o.value+t.WILDCARD,wildcards:[...o.wildcards||[],e.right]}}if(!("test"in o)&&r==="||"&&o.value)return o;return}if("test"in o&&"value"in a){const e=a.value;if(r==="==")return{test:o.test,ifTrue:o.ifTrue==e,else:o.else==e};if(r==="===")return{test:o.test,ifTrue:o.ifTrue===e,else:o.else===e};if(r==="!=")return{test:o.test,ifTrue:o.ifTrue!=e,else:o.else!=e};if(r==="!==")return{test:o.test,ifTrue:o.ifTrue!==e,else:o.else!==e};if(r==="+")return{test:o.test,ifTrue:o.ifTrue+e,else:o.else+e};if(r==="-")return{test:o.test,ifTrue:o.ifTrue-e,else:o.else-e};if(r==="*")return{test:o.test,ifTrue:o.ifTrue*e,else:o.else*e};if(r==="/")return{test:o.test,ifTrue:o.ifTrue/e,else:o.else/e};if(r==="%")return{test:o.test,ifTrue:o.ifTrue%e,else:o.else%e};if(r==="<")return{test:o.test,ifTrue:o.ifTrue<e,else:o.else<e};if(r==="<=")return{test:o.test,ifTrue:o.ifTrue<=e,else:o.else<=e};if(r===">")return{test:o.test,ifTrue:o.ifTrue>e,else:o.else>e};if(r===">=")return{test:o.test,ifTrue:o.ifTrue>=e,else:o.else>=e};if(r==="|")return{test:o.test,ifTrue:o.ifTrue|e,else:o.else|e};if(r==="&")return{test:o.test,ifTrue:o.ifTrue&e,else:o.else&e};if(r==="^")return{test:o.test,ifTrue:o.ifTrue^e,else:o.else^e};if(r==="&&")return{test:o.test,ifTrue:o.ifTrue&&e,else:o.else&&e};if(r==="||")return{test:o.test,ifTrue:o.ifTrue||e,else:o.else||e}}else if("test"in a&&"value"in o){const e=o.value;if(r==="==")return{test:a.test,ifTrue:e==a.ifTrue,else:e==a.else};if(r==="===")return{test:a.test,ifTrue:e===a.ifTrue,else:e===a.else};if(r==="!=")return{test:a.test,ifTrue:e!=a.ifTrue,else:e!=a.else};if(r==="!==")return{test:a.test,ifTrue:e!==a.ifTrue,else:e!==a.else};if(r==="+")return{test:a.test,ifTrue:e+a.ifTrue,else:e+a.else};if(r==="-")return{test:a.test,ifTrue:e-a.ifTrue,else:e-a.else};if(r==="*")return{test:a.test,ifTrue:e*a.ifTrue,else:e*a.else};if(r==="/")return{test:a.test,ifTrue:e/a.ifTrue,else:e/a.else};if(r==="%")return{test:a.test,ifTrue:e%a.ifTrue,else:e%a.else};if(r==="<")return{test:a.test,ifTrue:e<a.ifTrue,else:e<a.else};if(r==="<=")return{test:a.test,ifTrue:e<=a.ifTrue,else:e<=a.else};if(r===">")return{test:a.test,ifTrue:e>a.ifTrue,else:e>a.else};if(r===">=")return{test:a.test,ifTrue:e>=a.ifTrue,else:e>=a.else};if(r==="|")return{test:a.test,ifTrue:e|a.ifTrue,else:e|a.else};if(r==="&")return{test:a.test,ifTrue:e&a.ifTrue,else:e&a.else};if(r==="^")return{test:a.test,ifTrue:e^a.ifTrue,else:e^a.else};if(r==="&&")return{test:a.test,ifTrue:e&&a.ifTrue,else:o&&a.else};if(r==="||")return{test:a.test,ifTrue:e||a.ifTrue,else:o||a.else}}else if("value"in o&&"value"in a){if(r==="==")return{value:o.value==a.value};if(r==="===")return{value:o.value===a.value};if(r==="!=")return{value:o.value!=a.value};if(r==="!==")return{value:o.value!==a.value};if(r==="+"){const e={value:o.value+a.value};let t=[];if("wildcards"in o&&o.wildcards){t=t.concat(o.wildcards)}if("wildcards"in a&&a.wildcards){t=t.concat(a.wildcards)}if(t.length>0){e.wildcards=t}return e}if(r==="-")return{value:o.value-a.value};if(r==="*")return{value:o.value*a.value};if(r==="/")return{value:o.value/a.value};if(r==="%")return{value:o.value%a.value};if(r==="<")return{value:o.value<a.value};if(r==="<=")return{value:o.value<=a.value};if(r===">")return{value:o.value>a.value};if(r===">=")return{value:o.value>=a.value};if(r==="|")return{value:o.value|a.value};if(r==="&")return{value:o.value&a.value};if(r==="^")return{value:o.value^a.value};if(r==="&&")return{value:o.value&&a.value};if(r==="||")return{value:o.value||a.value}}return},CallExpression:async function CallExpression(e,s){const r=await s(e.callee);if(!r||"test"in r)return;let o=r.value;if(typeof o==="object"&&o!==null)o=o[t.FUNCTION];if(typeof o!=="function")return;let a=null;if(e.callee.object){a=await s(e.callee.object);a=a&&"value"in a&&a.value?a.value:null}let c;let u=[];let d;let h=e.arguments.length>0&&e.callee.property?.name!=="concat";const f=[];for(let r=0,o=e.arguments.length;r<o;r++){let o=await s(e.arguments[r]);if(o){h=false;if("value"in o&&typeof o.value==="string"&&o.wildcards)o.wildcards.forEach((e=>f.push(e)))}else{if(!this.computeBranches)return;o={value:t.WILDCARD};f.push(e.arguments[r])}if("test"in o){if(f.length)return;if(c)return;c=o.test;d=u.concat([]);u.push(o.ifTrue);d.push(o.else)}else{u.push(o.value);if(d)d.push(o.value)}}if(h)return;try{const e=await o.apply(a,u);if(e===t.UNKNOWN)return;if(!c){if(f.length){if(typeof e!=="string"||countWildcards(e)!==f.length)return;return{value:e,wildcards:f}}return{value:e}}const s=await o.apply(a,d);if(e===t.UNKNOWN)return;return{test:c,ifTrue:e,else:s}}catch(e){return}},ConditionalExpression:async function ConditionalExpression(e,t){const s=await t(e.test);if(s&&"value"in s)return s.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const r=await t(e.consequent);if(!r||"wildcards"in r||"test"in r)return;const o=await t(e.alternate);if(!o||"wildcards"in o||"test"in o)return;return{test:e.test,ifTrue:r.value,else:o.value}},ExpressionStatement:async function ExpressionStatement(e,t){return t(e.expression)},Identifier:async function Identifier(e,t){if(Object.hasOwnProperty.call(this.vars,e.name))return this.vars[e.name];return undefined},Literal:async function Literal(e,t){return{value:e.value}},MemberExpression:async function MemberExpression(e,s){const r=await s(e.object);if(!r||"test"in r||typeof r.value==="function"){return undefined}if(e.property.type==="Identifier"){if(typeof r.value==="string"&&e.property.name==="concat"){return{value:{[t.FUNCTION]:(...e)=>r.value.concat(e)}}}if(typeof r.value==="object"&&r.value!==null){const o=r.value;if(e.computed){const a=await s(e.property);if(a&&"value"in a&&a.value){const e=o[a.value];if(e===t.UNKNOWN)return undefined;return{value:e}}if(!o[t.UNKNOWN]&&Object.keys(r).length===0){return{value:undefined}}}else if(e.property.name in o){const s=o[e.property.name];if(s===t.UNKNOWN)return undefined;return{value:s}}else if(o[t.UNKNOWN])return undefined}else{return{value:undefined}}}const o=await s(e.property);if(!o||"test"in o)return undefined;if(typeof r.value==="object"&&r.value!==null){if(o.value in r.value){const e=r.value[o.value];if(e===t.UNKNOWN)return undefined;return{value:e}}else if(r.value[t.UNKNOWN]){return undefined}}else{return{value:undefined}}return undefined},MetaProperty:async function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta")return{value:this.vars["import.meta"]};return undefined},NewExpression:async function NewExpression(e,t){const s=await t(e.callee);if(s&&"value"in s&&s.value===URL&&e.arguments.length){const s=await t(e.arguments[0]);if(!s)return undefined;let r=null;if(e.arguments[1]){r=await t(e.arguments[1]);if(!r||!("value"in r))return undefined}if("value"in s){if(r){try{return{value:new URL(s.value,r.value)}}catch{return undefined}}try{return{value:new URL(s.value)}}catch{return undefined}}else{const e=s.test;if(r){try{return{test:e,ifTrue:new URL(s.ifTrue,r.value),else:new URL(s.else,r.value)}}catch{return undefined}}try{return{test:e,ifTrue:new URL(s.ifTrue),else:new URL(s.else)}}catch{return undefined}}}return undefined},ObjectExpression:async function ObjectExpression(e,s){const r={};for(let o=0;o<e.properties.length;o++){const a=e.properties[o];const c=a.computed?s(a.key):a.key&&{value:a.key.name||a.key.value};if(!c||"test"in c)return;const u=await s(a.value);if(!u||"test"in u)return;if(u.value===t.UNKNOWN)return;r[c.value]=u.value}return{value:r}},SequenceExpression:async function SequenceExpression(e,t){if("expressions"in e&&e.expressions.length===2&&e.expressions[0].type==="Literal"&&e.expressions[0].value===0&&e.expressions[1].type==="MemberExpression"){const s=await t(e.expressions[1]);return s}return undefined},TemplateLiteral:async function TemplateLiteral(e,s){let r={value:""};for(var o=0;o<e.expressions.length;o++){if("value"in r){r.value+=e.quasis[o].value.cooked}else{r.ifTrue+=e.quasis[o].value.cooked;r.else+=e.quasis[o].value.cooked}let a=await s(e.expressions[o]);if(!a){if(!this.computeBranches)return undefined;a={value:t.WILDCARD,wildcards:[e.expressions[o]]}}if("value"in a){if("value"in r){r.value+=a.value;if(a.wildcards)r.wildcards=[...r.wildcards||[],...a.wildcards]}else{if(a.wildcards)return;r.ifTrue+=a.value;r.else+=a.value}}else if("value"in r){if("wildcards"in r){return}r={test:a.test,ifTrue:r.value+a.ifTrue,else:r.value+a.else}}else{return}}if("value"in r){r.value+=e.quasis[o].value.cooked}else{r.ifTrue+=e.quasis[o].value.cooked;r.else+=e.quasis[o].value.cooked}return r},ThisExpression:async function ThisExpression(e,t){if(Object.hasOwnProperty.call(this.vars,"this"))return this.vars["this"];return undefined},UnaryExpression:async function UnaryExpression(e,t){const s=await t(e.argument);if(!s)return undefined;if("value"in s&&"wildcards"in s===false){if(e.operator==="+")return{value:+s.value};if(e.operator==="-")return{value:-s.value};if(e.operator==="~")return{value:~s.value};if(e.operator==="!")return{value:!s.value}}else if("test"in s&&"wildcards"in s===false){if(e.operator==="+")return{test:s.test,ifTrue:+s.ifTrue,else:+s.else};if(e.operator==="-")return{test:s.test,ifTrue:-s.ifTrue,else:-s.else};if(e.operator==="~")return{test:s.test,ifTrue:~s.ifTrue,else:~s.else};if(e.operator==="!")return{test:s.test,ifTrue:!s.ifTrue,else:!s.else}}return undefined}};s.LogicalExpression=s.BinaryExpression},1981:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.handleWrappers=handleWrappers;const r=s(1973);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e){let t;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)t=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&(e.body[0].expression.arguments.length===1||e.body[0].expression.arguments.length===0))t=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssignmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)t=e.body[0].expression.right;if(t){let e;let s;if(t.arguments[0]&&t.arguments[0].type==="ConditionalExpression"&&t.arguments[0].test.type==="LogicalExpression"&&t.arguments[0].test.operator==="&&"&&t.arguments[0].test.left.type==="BinaryExpression"&&t.arguments[0].test.left.operator==="==="&&t.arguments[0].test.left.left.type==="UnaryExpression"&&t.arguments[0].test.left.left.operator==="typeof"&&"name"in t.arguments[0].test.left.left.argument&&t.arguments[0].test.left.left.argument.name==="define"&&t.arguments[0].test.left.right.type==="Literal"&&t.arguments[0].test.left.right.value==="function"&&t.arguments[0].test.right.type==="MemberExpression"&&t.arguments[0].test.right.object.type==="Identifier"&&t.arguments[0].test.right.property.type==="Identifier"&&t.arguments[0].test.right.property.name==="amd"&&t.arguments[0].test.right.computed===false&&t.arguments[0].alternate.type==="FunctionExpression"&&t.arguments[0].alternate.params.length===1&&t.arguments[0].alternate.params[0].type==="Identifier"&&t.arguments[0].alternate.body.body.length===1&&t.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&t.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&t.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&t.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&t.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&t.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&t.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&t.arguments[0].alternate.body.body[0].expression.left.computed===false&&t.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&t.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&t.arguments[0].alternate.body.body[0].expression.right.callee.name===t.arguments[0].alternate.params[0].name&&"body"in t.callee&&"body"in t.callee.body&&Array.isArray(t.callee.body.body)&&t.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&t.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&t.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=t.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===t.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){const t=e[0].expression.arguments[0];t.params=[];try{delete t.scope.declarations.require}catch(e){}}}else if(t.arguments[0]&&t.arguments[0].type==="FunctionExpression"&&t.arguments[0].params.length===0&&(t.arguments[0].body.body.length===1||t.arguments[0].body.body.length===2&&t.arguments[0].body.body[0].type==="VariableDeclaration"&&t.arguments[0].body.body[0].declarations.length===3&&t.arguments[0].body.body[0].declarations.every((e=>e.init===null&&e.id.type==="Identifier")))&&t.arguments[0].body.body[t.arguments[0].body.body.length-1].type==="ReturnStatement"&&(e=t.arguments[0].body.body[t.arguments[0].body.body.length-1])&&e.argument?.type==="CallExpression"&&e.argument.arguments.length&&e.argument.arguments.every((e=>e&&e.type==="Literal"&&typeof e.value==="number"))&&e.argument.callee.type==="CallExpression"&&(e.argument.callee.callee.type==="FunctionExpression"||e.argument.callee.callee.type==="CallExpression"&&e.argument.callee.callee.callee.type==="FunctionExpression"&&e.argument.callee.callee.arguments.length===0)&&e.argument.callee.arguments.length===3&&e.argument.callee.arguments[0].type==="ObjectExpression"&&e.argument.callee.arguments[1].type==="ObjectExpression"&&e.argument.callee.arguments[2].type==="ArrayExpression"){const t=e.argument.callee.arguments[0].properties;const s={};if(t.every((e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||!e.value.elements[0]||!e.value.elements[1]||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression"){return false}const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed){return false}if(isUndefinedOrVoid(e.value)){if(e.key.type==="Identifier"){s[e.key.name]={type:"Literal",start:e.key.start,end:e.key.end,value:e.key.name,raw:JSON.stringify(e.key.name)}}else if(e.key.type==="Literal"){s[String(e.key.value)]=e.key}}}return true}))){const t=Object.keys(s);const r=e.argument.callee.arguments[1];r.properties=t.map((e=>({type:"Property",method:false,shorthand:false,computed:false,kind:"init",key:s[e],value:{type:"ObjectExpression",properties:[{type:"Property",kind:"init",method:false,shorthand:false,computed:false,key:{type:"Identifier",name:"exports"},value:{type:"CallExpression",optional:false,callee:{type:"Identifier",name:"require"},arguments:[s[e]]}}]}})))}}else if(t.arguments[0]&&t.arguments[0].type==="FunctionExpression"&&t.arguments[0].params.length===2&&t.arguments[0].params[0].type==="Identifier"&&t.arguments[0].params[1].type==="Identifier"&&"body"in t.callee&&"body"in t.callee.body&&Array.isArray(t.callee.body.body)&&t.callee.body.body.length===1){const e=t.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let s;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")s=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")s=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.operator==="="&&e.consequent.body[0].expression.right.type==="CallExpression")s=e.consequent.body[0].expression.right;if(s&&s.callee.type==="Identifier"&&"params"in t.callee&&t.callee.params.length>0&&"name"in t.callee.params[0]&&s.callee.name===t.callee.params[0].name&&s.arguments.length===2&&s.arguments[0].type==="Identifier"&&s.arguments[0].name==="require"&&s.arguments[1].type==="Identifier"&&s.arguments[1].name==="exports"){const e=t.arguments[0];e.params=[];try{const t=e.scope;delete t.declarations.require;delete t.declarations.exports}catch(e){}}}}else if(t.callee.type==="FunctionExpression"&&t.callee.body.body.length>2&&t.callee.body.body[0].type==="VariableDeclaration"&&t.callee.body.body[0].declarations.length===1&&t.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&t.callee.body.body[0].declarations[0].id.type==="Identifier"&&t.callee.body.body[0].declarations[0].init&&(t.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&t.callee.body.body[0].declarations[0].init.properties.length===0||t.callee.body.body[0].declarations[0].init.type==="CallExpression"&&t.callee.body.body[0].declarations[0].init.arguments.length===1)&&(t.callee.body.body[1]&&t.callee.body.body[1].type==="FunctionDeclaration"&&t.callee.body.body[1].params.length===1&&t.callee.body.body[1].body.body.length>=3||t.callee.body.body[2]&&t.callee.body.body[2].type==="FunctionDeclaration"&&t.callee.body.body[2].params.length===1&&t.callee.body.body[2].body.body.length>=3)&&t.arguments[0]&&(t.arguments[0].type==="ArrayExpression"&&(s=t.arguments[0])&&t.arguments[0].elements.length>0&&t.arguments[0].elements.every((e=>e&&e.type==="FunctionExpression"))||t.arguments[0].type==="ObjectExpression"&&(s=t.arguments[0])&&t.arguments[0].properties&&t.arguments[0].properties.length>0&&t.arguments[0].properties.every((e=>e&&e.type==="Property"&&!e.computed&&e.key&&e.key.type==="Literal"&&(typeof e.key.value==="string"||typeof e.key.value==="number")&&e.value&&e.value.type==="FunctionExpression")))||t.arguments.length===0&&t.callee.type==="FunctionExpression"&&t.callee.params.length===0&&t.callee.body.type==="BlockStatement"&&t.callee.body.body.length>5&&t.callee.body.body[0].type==="VariableDeclaration"&&t.callee.body.body[0].declarations.length===1&&t.callee.body.body[0].declarations[0].id.type==="Identifier"&&t.callee.body.body[1].type==="ExpressionStatement"&&t.callee.body.body[1].expression.type==="AssignmentExpression"&&t.callee.body.body[2].type==="ExpressionStatement"&&t.callee.body.body[2].expression.type==="AssignmentExpression"&&t.callee.body.body[3].type==="ExpressionStatement"&&t.callee.body.body[3].expression.type==="AssignmentExpression"&&t.callee.body.body[3].expression.left.type==="MemberExpression"&&t.callee.body.body[3].expression.left.object.type==="Identifier"&&t.callee.body.body[3].expression.left.object.name===t.callee.body.body[0].declarations[0].id.name&&t.callee.body.body[3].expression.left.property.type==="Identifier"&&t.callee.body.body[3].expression.left.property.name==="modules"&&t.callee.body.body[3].expression.right.type==="ObjectExpression"&&t.callee.body.body[3].expression.right.properties.every((e=>e&&e.type==="Property"&&!e.computed&&e.key&&e.key.type==="Literal"&&(typeof e.key.value==="string"||typeof e.key.value==="number")&&e.value&&e.value.type==="FunctionExpression"))&&(s=t.callee.body.body[3].expression.right)&&(t.callee.body.body[4].type==="VariableDeclaration"&&t.callee.body.body[4].declarations.length===1&&t.callee.body.body[4].declarations[0].init&&t.callee.body.body[4].declarations[0].init.type==="CallExpression"&&t.callee.body.body[4].declarations[0].init.callee.type==="Identifier"&&t.callee.body.body[4].declarations[0].init.callee.name==="require"||t.callee.body.body[5].type==="VariableDeclaration"&&t.callee.body.body[5].declarations.length===1&&t.callee.body.body[5].declarations[0].init&&t.callee.body.body[5].declarations[0].init.type==="CallExpression"&&t.callee.body.body[5].declarations[0].init.callee.type==="Identifier"&&t.callee.body.body[5].declarations[0].init.callee.name==="require")){const e=new Map;let t;if(s.type==="ArrayExpression")t=s.elements.filter((e=>e?.type==="FunctionExpression")).map(((e,t)=>[String(t),e]));else t=s.properties.map((e=>[String(e.key.value),e.value]));for(const[s,r]of t){const t=r.body.body.length===1?r.body.body[0]:(r.body.body.length===2||r.body.body.length===3&&r.body.body[2].type==="EmptyStatement")&&r.body.body[0].type==="ExpressionStatement"&&r.body.body[0].expression.type==="Literal"&&r.body.body[0].expression.value==="use strict"?r.body.body[1]:null;if(t&&t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.left.type==="MemberExpression"&&t.expression.left.object.type==="Identifier"&&"params"in r&&r.params.length>0&&"name"in r.params[0]&&t.expression.left.object.name===r.params[0].name&&t.expression.left.property.type==="Identifier"&&t.expression.left.property.name==="exports"&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="require"&&t.expression.right.arguments.length===1&&t.expression.right.arguments[0].type==="Literal"){e.set(s,t.expression.right.arguments[0].value)}}for(const[,s]of t){if("params"in s&&s.params.length===3&&s.params[2].type==="Identifier"){const t=new Map;(0,r.walk)(s.body,{enter(r,o){const a=r;const c=o;if(a.type==="CallExpression"&&a.callee.type==="Identifier"&&"name"in s.params[2]&&a.callee.name===s.params[2].name&&a.arguments.length===1&&a.arguments[0].type==="Literal"){const s=e.get(String(a.arguments[0].value));if(s){const e={type:"CallExpression",optional:false,callee:{type:"Identifier",name:"require"},arguments:[{type:"Literal",value:s}]};const r=c;if("right"in r&&r.right===a){r.right=e}else if("left"in r&&r.left===a){r.left=e}else if("object"in r&&r.object===a){r.object=e}else if("callee"in r&&r.callee===a){r.callee=e}else if("arguments"in r&&r.arguments.some((e=>e===a))){r.arguments=r.arguments.map((t=>t===a?e:t))}else if("init"in r&&r.init===a){if(r.type==="VariableDeclarator"&&r.id.type==="Identifier")t.set(r.id.name,s);r.init=e}}}else if(a.type==="CallExpression"&&a.callee.type==="MemberExpression"&&a.callee.object.type==="Identifier"&&"name"in s.params[2]&&a.callee.object.name===s.params[2].name&&a.callee.property.type==="Identifier"&&a.callee.property.name==="n"&&a.arguments.length===1&&a.arguments[0].type==="Identifier"){if(c&&"init"in c&&c.init===a){const e=a.arguments[0];const t={type:"CallExpression",optional:false,callee:{type:"MemberExpression",computed:false,optional:false,object:{type:"Identifier",name:"Object"},property:{type:"Identifier",name:"assign"}},arguments:[{type:"ArrowFunctionExpression",expression:true,params:[],body:e},{type:"ObjectExpression",properties:[{type:"Property",kind:"init",method:false,computed:false,shorthand:false,key:{type:"Identifier",name:"a"},value:e}]}]};c.init=t}}}})}}}}}},7317:e=>{e.exports=abbrev;function abbrev(...e){let t=e;if(e.length===1&&(Array.isArray(e[0])||typeof e[0]==="string")){t=[].concat(e[0])}for(let e=0,s=t.length;e<s;e++){t[e]=typeof t[e]==="string"?t[e]:String(t[e])}t=t.sort(lexSort);const s={};let r="";for(let e=0,o=t.length;e<o;e++){const o=t[e];const a=t[e+1]||"";let c=true;let u=true;if(o===a){continue}let d=0;const h=o.length;for(;d<h;d++){const e=o.charAt(d);c=c&&e===a.charAt(d);u=u&&e===r.charAt(d);if(!c&&!u){d++;break}}r=o;if(d===h){s[o]=o;continue}for(let e=o.slice(0,d);d<=h;d++){s[e]=o;e+=o.charAt(d)}}return s}function lexSort(e,t){return e===t?0:e>t?1:-1}},2487:(e,t,s)=>{"use strict";var r;r={value:true};t.PV=r=r=void 0;var o=_interopRequireWildcard(s(7413));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(_getRequireWildcardCache=function(e){return e?s: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 s=_getRequireWildcardCache(t);if(s&&s.has(e))return s.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var c=o?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(r,a,c):r[a]=e[a]}return r.default=e,s&&s.set(e,r),r}const a="{".charCodeAt(0);const c=" ".charCodeAt(0);const u="with";const d="assert";const h=1,f=2,p=4;const y=r=plugin({keyword:"with"});const g=r=plugin({keyword:"assert"});const v=t.PV=plugin({keyword:"with-assert"});function plugin(e){return function(t){return pluginImpl(e,t)}}function pluginImpl(e,t){const s=t.acorn||o;const{tokTypes:r,TokenType:f}=s;const{keyword:y}=e;const g=y.includes(u);const v=y.includes(d);const _=g&&v;return class extends t{constructor(...e){super(...e);this.withToken=g&&new f(u);this.assertToken=v&&new f(d)}_codeAt(e){return this.input.charCodeAt(e)}_eat(e){if(this.type!==e){this.unexpected()}this.next()}_matchKeywordToken(){return _&&(this.type===this.withToken||this.type===this.assertToken)||g&&this.type===this.withToken||v&&this.type===this.assertToken}_getProperty(){if(_){return this.type===this.withToken?"attributes":"assertions"}return g?"attributes":"assertions"}readToken(e){let t=0;let s;let r;if(_){if(this.input.slice(this.pos,this.pos+u.length)===u){s=u;r=this.withToken}else if(this.input.slice(this.pos,this.pos+d.length)===d){s=d;r=this.assertToken}else{return super.readToken(e)}t+=s.length}else{s=g?u:d;r=g?this.withToken:this.assertToken;for(;t<s.length;t++){if(this._codeAt(this.pos+t)!==s.charCodeAt(t)){return super.readToken(e)}}}for(;;t++){if(this._codeAt(this.pos+t)===a){break}else if(this._codeAt(this.pos+t)===c){continue}else{return super.readToken(e)}}if(this.type.label==="{"){return super.readToken(e)}this.pos+=s.length;return this.finishToken(r)}parseDynamicImport(e){this.next();e.source=this.parseMaybeAssign();if(this.eat(r.comma)){const t=this.parseExpression();e.arguments=[t]}this._eat(r.parenR);return this.finishNode(e,"ImportExpression")}parseExport(e,t){this.next();if(this.eat(r.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==r.string){this.unexpected()}e.source=this.parseExprAtom();if(this._matchKeywordToken()){const t=this._getProperty();this.next();const s=this.parseImportAttributes();if(s){e[t]=s}}this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(r._default)){this.checkExport(t,"default",this.lastTokStart);var s;if(this.type===r._function||(s=this.isAsyncFunction())){var o=this.startNode();this.next();if(s){this.next()}e.declaration=this.parseFunction(o,h|p,false,s)}else if(this.type===r._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==r.string){this.unexpected()}e.source=this.parseExprAtom();if(this._matchKeywordToken()){const t=this._getProperty();this.next();const s=this.parseImportAttributes();if(s){e[t]=s}}}else{for(var c=0,u=e.specifiers;c<u.length;c+=1){var d=u[c];this.checkUnreserved(d.local);this.checkLocalExport(d.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")}parseImport(e){this.next();if(this.type===r.string){e.specifiers=[];e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===r.string?this.parseExprAtom():this.unexpected()}if(this._matchKeywordToken()){const t=this._getProperty();this.next();const s=this.parseImportAttributes();if(s){e[t]=s}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportAttributes(){this._eat(r.braceL);const e=this.parsewithEntries();this._eat(r.braceR);return e}parsewithEntries(){const e=[];const t=new Set;do{if(this.type===r.braceR){break}const s=this.startNode();let o;if(this.type===r.string){o=this.parseLiteral(this.value)}else{o=this.parseIdent(true)}this.next();s.key=o;if(t.has(s.key.name)){this.raise(this.pos,"Duplicated key in attributes")}t.add(s.key.name);if(this.type!==r.string){this.raise(this.pos,"Only string is supported as an attribute value")}s.value=this.parseLiteral(this.value);e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(r.comma));return e}}}},8441:(module,exports,__nccwpck_require__)=>{var fs=__nccwpck_require__(9896),path=__nccwpck_require__(6928),fileURLToPath=__nccwpck_require__(3904),join=path.join,dirname=path.dirname,exists=fs.accessSync&&function(e){try{fs.accessSync(e)}catch(e){return false}return true}||fs.existsSync||path.existsSync,defaults={arrow:process.env.NODE_BINDINGS_ARROW||" → ",compiled:process.env.NODE_BINDINGS_COMPILED_DIR||"compiled",platform:process.platform,arch:process.arch,nodePreGyp:"node-v"+process.versions.modules+"-"+process.platform+"-"+process.arch,version:process.versions.node,bindings:"bindings.node",try:[["module_root","build","bindings"],["module_root","build","Debug","bindings"],["module_root","build","Release","bindings"],["module_root","out","Debug","bindings"],["module_root","Debug","bindings"],["module_root","out","Release","bindings"],["module_root","Release","bindings"],["module_root","build","default","bindings"],["module_root","compiled","version","platform","arch","bindings"],["module_root","addon-build","release","install-root","bindings"],["module_root","addon-build","debug","install-root","bindings"],["module_root","addon-build","default","install-root","bindings"],["module_root","lib","binding","nodePreGyp","bindings"]]};function bindings(opts){if(typeof opts=="string"){opts={bindings:opts}}else if(!opts){opts={}}Object.keys(defaults).map((function(e){if(!(e in opts))opts[e]=defaults[e]}));if(!opts.module_root){opts.module_root=exports.getRoot(exports.getFileName())}if(path.extname(opts.bindings)!=".node"){opts.bindings+=".node"}var requireFunc=true?eval("require"):0;var tries=[],i=0,l=opts.try.length,n,b,err;for(;i<l;i++){n=join.apply(null,opts.try[i].map((function(e){return opts[e]||e})));tries.push(n);try{b=opts.path?requireFunc.resolve(n):requireFunc(n);if(!opts.path){b.path=n}return b}catch(e){if(e.code!=="MODULE_NOT_FOUND"&&e.code!=="QUALIFIED_PATH_RESOLUTION_FAILED"&&!/not find/i.test(e.message)){throw e}}}err=new Error("Could not locate the bindings file. Tried:\n"+tries.map((function(e){return opts.arrow+e})).join("\n"));err.tries=tries;throw err}module.exports=exports=bindings;exports.getFileName=function getFileName(e){var t=Error.prepareStackTrace,s=Error.stackTraceLimit,r={},o;Error.stackTraceLimit=10;Error.prepareStackTrace=function(t,s){for(var r=0,a=s.length;r<a;r++){o=s[r].getFileName();if(o!==__filename){if(e){if(o!==e){return}}else{return}}}};Error.captureStackTrace(r);r.stack;Error.prepareStackTrace=t;Error.stackTraceLimit=s;var a="file://";if(o.indexOf(a)===0){o=fileURLToPath(o)}return o};exports.getRoot=function getRoot(e){var t=dirname(e),s;while(true){if(t==="."){t=process.cwd()}if(exists(join(t,"package.json"))||exists(join(t,"node_modules"))){return t}if(s===t){throw new Error('Could not find module root given file: "'+e+'". Do you have a `package.json` file? ')}s=t;t=join(t,"..")}}},748:(e,t,s)=>{"use strict";const r=s(5317);const{isLinux:o,getReport:a}=s(3787);const{LDD_PATH:c,SELF_PATH:u,readFile:d,readFileSync:h}=s(3647);const{interpreterPath:f}=s(7535);let p;let y;let g;const v="getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true";let _="";const safeCommand=()=>{if(!_){return new Promise((e=>{r.exec(v,((t,s)=>{_=t?" ":s;e(_)}))}))}return _};const safeCommandSync=()=>{if(!_){try{_=r.execSync(v,{encoding:"utf8"})}catch(e){_=" "}}return _};const w="glibc";const x=/LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i;const S="musl";const isFileMusl=e=>e.includes("libc.musl-")||e.includes("ld-musl-");const familyFromReport=()=>{const e=a();if(e.header&&e.header.glibcVersionRuntime){return w}if(Array.isArray(e.sharedObjects)){if(e.sharedObjects.some(isFileMusl)){return S}}return null};const familyFromCommand=e=>{const[t,s]=e.split(/[\r\n]+/);if(t&&t.includes(w)){return w}if(s&&s.includes(S)){return S}return null};const familyFromInterpreterPath=e=>{if(e){if(e.includes("/ld-musl-")){return S}else if(e.includes("/ld-linux-")){return w}}return null};const getFamilyFromLddContent=e=>{e=e.toString();if(e.includes("musl")){return S}if(e.includes("GNU C Library")){return w}return null};const familyFromFilesystem=async()=>{if(y!==undefined){return y}y=null;try{const e=await d(c);y=getFamilyFromLddContent(e)}catch(e){}return y};const familyFromFilesystemSync=()=>{if(y!==undefined){return y}y=null;try{const e=h(c);y=getFamilyFromLddContent(e)}catch(e){}return y};const familyFromInterpreter=async()=>{if(p!==undefined){return p}p=null;try{const e=await d(u);const t=f(e);p=familyFromInterpreterPath(t)}catch(e){}return p};const familyFromInterpreterSync=()=>{if(p!==undefined){return p}p=null;try{const e=h(u);const t=f(e);p=familyFromInterpreterPath(t)}catch(e){}return p};const family=async()=>{let e=null;if(o()){e=await familyFromInterpreter();if(!e){e=await familyFromFilesystem();if(!e){e=familyFromReport()}if(!e){const t=await safeCommand();e=familyFromCommand(t)}}}return e};const familySync=()=>{let e=null;if(o()){e=familyFromInterpreterSync();if(!e){e=familyFromFilesystemSync();if(!e){e=familyFromReport()}if(!e){const t=safeCommandSync();e=familyFromCommand(t)}}}return e};const isNonGlibcLinux=async()=>o()&&await family()!==w;const isNonGlibcLinuxSync=()=>o()&&familySync()!==w;const versionFromFilesystem=async()=>{if(g!==undefined){return g}g=null;try{const e=await d(c);const t=e.match(x);if(t){g=t[1]}}catch(e){}return g};const versionFromFilesystemSync=()=>{if(g!==undefined){return g}g=null;try{const e=h(c);const t=e.match(x);if(t){g=t[1]}}catch(e){}return g};const versionFromReport=()=>{const e=a();if(e.header&&e.header.glibcVersionRuntime){return e.header.glibcVersionRuntime}return null};const versionSuffix=e=>e.trim().split(/\s+/)[1];const versionFromCommand=e=>{const[t,s,r]=e.split(/[\r\n]+/);if(t&&t.includes(w)){return versionSuffix(t)}if(s&&r&&s.includes(S)){return versionSuffix(r)}return null};const version=async()=>{let e=null;if(o()){e=await versionFromFilesystem();if(!e){e=versionFromReport()}if(!e){const t=await safeCommand();e=versionFromCommand(t)}}return e};const versionSync=()=>{let e=null;if(o()){e=versionFromFilesystemSync();if(!e){e=versionFromReport()}if(!e){const t=safeCommandSync();e=versionFromCommand(t)}}return e};e.exports={GLIBC:w,MUSL:S,family:family,familySync:familySync,isNonGlibcLinux:isNonGlibcLinux,isNonGlibcLinuxSync:isNonGlibcLinuxSync,version:version,versionSync:versionSync}},7535:e=>{"use strict";const interpreterPath=e=>{if(e.length<64){return null}if(e.readUInt32BE(0)!==2135247942){return null}if(e.readUInt8(4)!==2){return null}if(e.readUInt8(5)!==1){return null}const t=e.readUInt32LE(32);const s=e.readUInt16LE(54);const r=e.readUInt16LE(56);for(let o=0;o<r;o++){const r=t+o*s;const a=e.readUInt32LE(r);if(a===3){const t=e.readUInt32LE(r+8);const s=e.readUInt32LE(r+32);return e.subarray(t,t+s).toString().replace(/\0.*$/g,"")}}return null};e.exports={interpreterPath:interpreterPath}},3647:(e,t,s)=>{"use strict";const r=s(9896);const o="/usr/bin/ldd";const a="/proc/self/exe";const c=2048;const readFileSync=e=>{const t=r.openSync(e,"r");const s=Buffer.alloc(c);const o=r.readSync(t,s,0,c,0);r.close(t,(()=>{}));return s.subarray(0,o)};const readFile=e=>new Promise(((t,s)=>{r.open(e,"r",((e,o)=>{if(e){s(e)}else{const e=Buffer.alloc(c);r.read(o,e,0,c,0,((s,a)=>{t(e.subarray(0,a));r.close(o,(()=>{}))}))}}))}));e.exports={LDD_PATH:o,SELF_PATH:a,readFileSync:readFileSync,readFile:readFile}},3787:e=>{"use strict";const isLinux=()=>process.platform==="linux";let t=null;const getReport=()=>{if(!t){if(isLinux()&&process.report){const e=process.report.excludeNetwork;process.report.excludeNetwork=true;t=process.report.getReport();process.report.excludeNetwork=e}else{t={}}}return t};e.exports={isLinux:isLinux,getReport:getReport}},3904:(e,t,s)=>{var r=s(6928).sep||"/";e.exports=fileUriToPath;function fileUriToPath(e){if("string"!=typeof e||e.length<=7||"file://"!=e.substring(0,7)){throw new TypeError("must pass in a file:// URI to convert to a file path")}var t=decodeURI(e.substring(7));var s=t.indexOf("/");var o=t.substring(0,s);var a=t.substring(s+1);if("localhost"==o)o="";if(o){o=r+r+o}a=a.replace(/^(.+)\|/,"$1:");if(r=="\\"){a=a.replace(/\//g,"\\")}if(/^.+\:/.test(a)){}else{a=r+a}return o+a}},4648:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var s={__proto__:t(e)};else var s=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(e,t))}));return s}},8692:(e,t,s)=>{var r=s(9896);var o=s(6161);var a=s(7050);var c=s(4648);var u=s(9023);var d;var h;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){d=Symbol.for("graceful-fs.queue");h=Symbol.for("graceful-fs.previous")}else{d="___graceful-fs.queue";h="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,d,{get:function(){return t}})}var f=noop;if(u.debuglog)f=u.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))f=function(){var e=u.format.apply(u,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[d]){var p=global[d]||[];publishQueue(r,p);r.close=function(e){function close(t,s){return e.call(r,t,(function(e){if(!e){resetQueue()}if(typeof s==="function")s.apply(this,arguments)}))}Object.defineProperty(close,h,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);resetQueue()}Object.defineProperty(closeSync,h,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){f(r[d]);s(2613).equal(r[d].length,0)}))}}if(!global[d]){publishQueue(global,r[d])}e.exports=patch(c(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){o(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,s,r){if(typeof s==="function")r=s,s=null;return go$readFile(e,s,r);function go$readFile(e,s,r,o){return t(e,s,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,s,r],t,o||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}}))}}var s=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,o){if(typeof r==="function")o=r,r=null;return go$writeFile(e,t,r,o);function go$writeFile(e,t,r,o,a){return s(e,t,r,(function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,o],s,a||Date.now(),Date.now()]);else{if(typeof o==="function")o.apply(this,arguments)}}))}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,s,o){if(typeof s==="function")o=s,s=null;return go$appendFile(e,t,s,o);function go$appendFile(e,t,s,o,a){return r(e,t,s,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,s,o],r,a||Date.now(),Date.now()]);else{if(typeof o==="function")o.apply(this,arguments)}}))}}var c=e.copyFile;if(c)e.copyFile=copyFile;function copyFile(e,t,s,r){if(typeof s==="function"){r=s;s=0}return go$copyFile(e,t,s,r);function go$copyFile(e,t,s,r,o){return c(e,t,s,(function(a){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$copyFile,[e,t,s,r],a,o||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}}))}}var u=e.readdir;e.readdir=readdir;var d=/^v[0-5]\./;function readdir(e,t,s){if(typeof t==="function")s=t,t=null;var r=d.test(process.version)?function go$readdir(e,t,s,r){return u(e,fs$readdirCallback(e,t,s,r))}:function go$readdir(e,t,s,r){return u(e,t,fs$readdirCallback(e,t,s,r))};return r(e,t,s);function fs$readdirCallback(e,t,s,o){return function(a,c){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([r,[e,t,s],a,o||Date.now(),Date.now()]);else{if(c&&c.sort)c.sort();if(typeof s==="function")s.call(this,a,c)}}}}if(process.version.substr(0,4)==="v0.8"){var h=a(e);ReadStream=h.ReadStream;WriteStream=h.WriteStream}var f=e.ReadStream;if(f){ReadStream.prototype=Object.create(f.prototype);ReadStream.prototype.open=ReadStream$open}var p=e.WriteStream;if(p){WriteStream.prototype=Object.create(p.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var y=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return y},set:function(e){y=e},enumerable:true,configurable:true});var g=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return g},set:function(e){g=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return f.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,s){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=s;e.emit("open",s);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return p.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,s){if(t){e.destroy();e.emit("error",t)}else{e.fd=s;e.emit("open",s)}}))}function createReadStream(t,s){return new e.ReadStream(t,s)}function createWriteStream(t,s){return new e.WriteStream(t,s)}var v=e.open;e.open=open;function open(e,t,s,r){if(typeof s==="function")r=s,s=null;return go$open(e,t,s,r);function go$open(e,t,s,r,o){return v(e,t,s,(function(a,c){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[e,t,s,r],a,o||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}}))}}return e}function enqueue(e){f("ENQUEUE",e[0].name,e[1]);r[d].push(e);retry()}var y;function resetQueue(){var e=Date.now();for(var t=0;t<r[d].length;++t){if(r[d][t].length>2){r[d][t][3]=e;r[d][t][4]=e}}retry()}function retry(){clearTimeout(y);y=undefined;if(r[d].length===0)return;var e=r[d].shift();var t=e[0];var s=e[1];var o=e[2];var a=e[3];var c=e[4];if(a===undefined){f("RETRY",t.name,s);t.apply(null,s)}else if(Date.now()-a>=6e4){f("TIMEOUT",t.name,s);var u=s.pop();if(typeof u==="function")u.call(null,o)}else{var h=Date.now()-c;var p=Math.max(c-a,1);var g=Math.min(p*1.2,100);if(h>=g){f("RETRY",t.name,s);t.apply(null,s.concat([a]))}else{r[d].push(e)}}if(y===undefined){y=setTimeout(retry,0)}}},7050:(e,t,s)=>{var r=s(2203).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,s){if(!(this instanceof ReadStream))return new ReadStream(t,s);r.call(this);var o=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;s=s||{};var a=Object.keys(s);for(var c=0,u=a.length;c<u;c++){var d=a[c];this[d]=s[d]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){o._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){o.emit("error",e);o.readable=false;return}o.fd=t;o.emit("open",t);o._read()}))}function WriteStream(t,s){if(!(this instanceof WriteStream))return new WriteStream(t,s);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;s=s||{};var o=Object.keys(s);for(var a=0,c=o.length;a<c;a++){var u=o[a];this[u]=s[u]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},6161:(e,t,s)=>{var r=s(9140);var o=process.cwd;var a=null;var c=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!a)a=o.call(process);return a};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var u=process.chdir;process.chdir=function(e){a=null;u.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,u)}e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(e.chmod&&!e.lchmod){e.lchmod=function(e,t,s){if(s)process.nextTick(s)};e.lchmodSync=function(){}}if(e.chown&&!e.lchown){e.lchown=function(e,t,s,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(c==="win32"){e.rename=typeof e.rename!=="function"?e.rename:function(t){function rename(s,r,o){var a=Date.now();var c=0;t(s,r,(function CB(u){if(u&&(u.code==="EACCES"||u.code==="EPERM"||u.code==="EBUSY")&&Date.now()-a<6e4){setTimeout((function(){e.stat(r,(function(e,a){if(e&&e.code==="ENOENT")t(s,r,CB);else o(u)}))}),c);if(c<100)c+=10;return}if(o)o(u)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,t);return rename}(e.rename)}e.read=typeof e.read!=="function"?e.read:function(t){function read(s,r,o,a,c,u){var d;if(u&&typeof u==="function"){var h=0;d=function(f,p,y){if(f&&f.code==="EAGAIN"&&h<10){h++;return t.call(e,s,r,o,a,c,d)}u.apply(this,arguments)}}return t.call(e,s,r,o,a,c,d)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=typeof e.readSync!=="function"?e.readSync:function(t){return function(s,r,o,a,c){var u=0;while(true){try{return t.call(e,s,r,o,a,c)}catch(e){if(e.code==="EAGAIN"&&u<10){u++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,s,o){e.open(t,r.O_WRONLY|r.O_SYMLINK,s,(function(t,r){if(t){if(o)o(t);return}e.fchmod(r,s,(function(t){e.close(r,(function(e){if(o)o(t||e)}))}))}))};e.lchmodSync=function(t,s){var o=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,s);var a=true;var c;try{c=e.fchmodSync(o,s);a=false}finally{if(a){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return c}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")&&e.futimes){e.lutimes=function(t,s,o,a){e.open(t,r.O_SYMLINK,(function(t,r){if(t){if(a)a(t);return}e.futimes(r,s,o,(function(t){e.close(r,(function(e){if(a)a(t||e)}))}))}))};e.lutimesSync=function(t,s,o){var a=e.openSync(t,r.O_SYMLINK);var c;var u=true;try{c=e.futimesSync(a,s,o);u=false}finally{if(u){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return c}}else if(e.futimes){e.lutimes=function(e,t,s,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(s,r,o){return t.call(e,s,r,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(s,r){try{return t.call(e,s,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(s,r,o,a){return t.call(e,s,r,o,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(s,r,o){try{return t.call(e,s,r,o)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(s,r,o){if(typeof r==="function"){o=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(o)o.apply(this,arguments)}return r?t.call(e,s,r,callback):t.call(e,s,callback)}}function statFixSync(t){if(!t)return t;return function(s,r){var o=r?t.call(e,s,r):t.call(e,s);if(o){if(o.uid<0)o.uid+=4294967296;if(o.gid<0)o.gid+=4294967296}return o}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},909:(e,t,s)=>{if(typeof process.addon==="function"){e.exports=process.addon.bind(process)}else{e.exports=s(5017)}},5017:(module,__unused_webpack_exports,__nccwpck_require__)=>{var fs=__nccwpck_require__(9896);var path=__nccwpck_require__(6928);var os=__nccwpck_require__(857);var runtimeRequire=true?eval("require"):0;var vars=process.config&&process.config.variables||{};var prebuildsOnly=!!process.env.PREBUILDS_ONLY;var abi=process.versions.modules;var runtime=isElectron()?"electron":isNwjs()?"node-webkit":"node";var arch=process.env.npm_config_arch||os.arch();var platform=process.env.npm_config_platform||os.platform();var libc=process.env.LIBC||(isAlpine(platform)?"musl":"glibc");var armv=process.env.ARM_VERSION||(arch==="arm64"?"8":vars.arm_version)||"";var uv=(process.versions.uv||"").split(".")[0];module.exports=load;function load(e){return runtimeRequire(load.resolve(e))}load.resolve=load.path=function(e){e=path.resolve(e||".");try{var t=runtimeRequire(path.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");if(process.env[t+"_PREBUILD"])e=process.env[t+"_PREBUILD"]}catch(e){}if(!prebuildsOnly){var s=getFirst(path.join(e,"build/Release"),matchBuild);if(s)return s;var r=getFirst(path.join(e,"build/Debug"),matchBuild);if(r)return r}var o=resolve(e);if(o)return o;var a=resolve(path.dirname(process.execPath));if(a)return a;var c=["platform="+platform,"arch="+arch,"runtime="+runtime,"abi="+abi,"uv="+uv,armv?"armv="+armv:"","libc="+libc,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"",true?"webpack=true":0].filter(Boolean).join(" ");throw new Error("No native build was found for "+c+"\n loaded from: "+e+"\n");function resolve(e){var t=readdirSync(path.join(e,"prebuilds")).map(parseTuple);var s=t.filter(matchTuple(platform,arch)).sort(compareTuples)[0];if(!s)return;var r=path.join(e,"prebuilds",s.name);var o=readdirSync(r).map(parseTags);var a=o.filter(matchTags(runtime,abi));var c=a.sort(compareTags(runtime))[0];if(c)return path.join(r,c.file)}};function readdirSync(e){try{return fs.readdirSync(e)}catch(e){return[]}}function getFirst(e,t){var s=readdirSync(e).filter(t);return s[0]&&path.join(e,s[0])}function matchBuild(e){return/\.node$/.test(e)}function parseTuple(e){var t=e.split("-");if(t.length!==2)return;var s=t[0];var r=t[1].split("+");if(!s)return;if(!r.length)return;if(!r.every(Boolean))return;return{name:e,platform:s,architectures:r}}function matchTuple(e,t){return function(s){if(s==null)return false;if(s.platform!==e)return false;return s.architectures.includes(t)}}function compareTuples(e,t){return e.architectures.length-t.architectures.length}function parseTags(e){var t=e.split(".");var s=t.pop();var r={file:e,specificity:0};if(s!=="node")return;for(var o=0;o<t.length;o++){var a=t[o];if(a==="node"||a==="electron"||a==="node-webkit"){r.runtime=a}else if(a==="napi"){r.napi=true}else if(a.slice(0,3)==="abi"){r.abi=a.slice(3)}else if(a.slice(0,2)==="uv"){r.uv=a.slice(2)}else if(a.slice(0,4)==="armv"){r.armv=a.slice(4)}else if(a==="glibc"||a==="musl"){r.libc=a}else{continue}r.specificity++}return r}function matchTags(e,t){return function(s){if(s==null)return false;if(s.runtime!==e&&!runtimeAgnostic(s))return false;if(s.abi!==t&&!s.napi)return false;if(s.uv&&s.uv!==uv)return false;if(s.armv&&s.armv!==armv)return false;if(s.libc&&s.libc!==libc)return false;return true}}function runtimeAgnostic(e){return e.runtime==="node"&&e.napi}function compareTags(e){return function(t,s){if(t.runtime!==s.runtime){return t.runtime===e?-1:1}else if(t.abi!==s.abi){return t.abi?-1:1}else if(t.specificity!==s.specificity){return t.specificity>s.specificity?-1:1}else{return 0}}}function isNwjs(){return!!(process.versions&&process.versions.nw)}function isElectron(){if(process.versions&&process.versions.electron)return true;if(process.env.ELECTRON_RUN_AS_NODE)return true;return typeof window!=="undefined"&&window.process&&window.process.type==="renderer"}function isAlpine(e){return e==="linux"&&fs.existsSync("/etc/alpine-release")}load.parseTags=parseTags;load.matchTags=matchTags;load.compareTags=compareTags;load.parseTuple=parseTuple;load.matchTuple=matchTuple;load.compareTuples=compareTuples},7375:e=>{e.exports=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?(...e)=>console.error(...e):()=>{}},1959:(e,t,s)=>{const r=s(7317);const o=s(7375);const a=s(1275);const hasOwn=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const getType=(e,{types:t,dynamicTypes:s})=>{let r=hasOwn(t,e);let o=t[e];if(!r&&typeof s==="function"){const t=s(e);if(t!==undefined){o=t;r=true}}return[r,o]};const isTypeDef=(e,t)=>t&&e===t;const hasTypeDef=(e,t)=>t&&e.indexOf(t)!==-1;const doesNotHaveTypeDef=(e,t)=>t&&!hasTypeDef(e,t);function nopt(e,{types:t,shorthands:s,typeDefs:r,invalidHandler:a,unknownHandler:c,abbrevHandler:u,typeDefault:d,dynamicTypes:h}={}){o(t,s,e,r);const f={};const p={remain:[],cooked:e,original:e.slice(0)};parse(e,f,p.remain,{typeDefs:r,types:t,dynamicTypes:h,shorthands:s,unknownHandler:c,abbrevHandler:u});clean(f,{types:t,dynamicTypes:h,typeDefs:r,invalidHandler:a,typeDefault:d});f.argv=p;Object.defineProperty(f.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:false});return f}function clean(e,{types:t={},typeDefs:s={},dynamicTypes:r,invalidHandler:a,typeDefault:c}={}){const u=s.String?.type;const d=s.Number?.type;const h=s.Array?.type;const f=s.Boolean?.type;const p=s.Date?.type;const y=typeof c!=="undefined";if(!y){c=[false,true,null];if(u){c.push(u)}if(h){c.push(h)}}const g={};Object.keys(e).forEach((u=>{if(u==="argv"){return}let v=e[u];o("val=%j",v);const _=Array.isArray(v);let[w,x]=getType(u,{types:t,dynamicTypes:r});let S=x;if(!_){v=[v]}if(!S){S=c}if(isTypeDef(S,h)){S=c.concat(h)}if(!Array.isArray(S)){S=[S]}o("val=%j",v);o("types=",S);v=v.map((t=>{if(typeof t==="string"){o("string %j",t);t=t.trim();if(t==="null"&&~S.indexOf(null)||t==="true"&&(~S.indexOf(true)||hasTypeDef(S,f))||t==="false"&&(~S.indexOf(false)||hasTypeDef(S,f))){t=JSON.parse(t);o("jsonable %j",t)}else if(hasTypeDef(S,d)&&!isNaN(t)){o("convert to number",t);t=+t}else if(hasTypeDef(S,p)&&!isNaN(Date.parse(t))){o("convert to date",t);t=new Date(t)}}if(!w){if(!y){return t}x=c}if(t===false&&~S.indexOf(null)&&!(~S.indexOf(false)||hasTypeDef(S,f))){t=null}const r={};r[u]=t;o("prevalidated val",r,t,x);if(!validate(r,u,t,x,{typeDefs:s})){if(a){a(u,t,x,e)}else if(a!==false){o("invalid: "+u+"="+t,x)}return g}o("validated v",r,t,x);return r[u]})).filter((e=>e!==g));if(!v.length&&doesNotHaveTypeDef(S,h)){o("VAL HAS NO LENGTH, DELETE IT",v,u,S.indexOf(h));delete e[u]}else if(_){o(_,e[u],v);e[u]=v}else{e[u]=v[0]}o("k=%s val=%j",u,v,e[u])}))}function validate(e,t,s,r,{typeDefs:a}={}){const c=a?.Array?.type;if(Array.isArray(r)){for(let o=0,u=r.length;o<u;o++){if(isTypeDef(r[o],c)){continue}if(validate(e,t,s,r[o],{typeDefs:a})){return true}}delete e[t];return false}if(isTypeDef(r,c)){return true}if(r!==r){o("Poison NaN",t,s,r);delete e[t];return false}if(s===r){o("Explicitly allowed %j",s);e[t]=s;return true}let u=false;const d=Object.keys(a);for(let c=0,h=d.length;c<h;c++){o("test type %j %j %j",t,s,d[c]);const h=a[d[c]];if(h&&(r&&r.name&&h.type&&h.type.name?r.name===h.type.name:r===h.type)){const r={};u=h.validate(r,t,s)!==false;s=r[t];if(u){e[t]=s;break}}}o("OK? %j (%j %j %j)",u,t,s,d[d.length-1]);if(!u){delete e[t]}return u}function parse(e,t,s,{types:a={},typeDefs:c={},shorthands:u={},dynamicTypes:d,unknownHandler:h,abbrevHandler:f}={}){const p=c.String?.type;const y=c.Number?.type;const g=c.Array?.type;const v=c.Boolean?.type;o("parse",e,t,s);const _=r(Object.keys(a));o("abbrevs=%j",_);const w=r(Object.keys(u));for(let r=0;r<e.length;r++){let c=e[r];o("arg",c);if(c.match(/^-{2,}$/)){s.push.apply(s,e.slice(r+1));e[r]="--";break}let x=false;if(c.charAt(0)==="-"&&c.length>1){const s=c.indexOf("=");if(s>-1){x=true;const t=c.slice(s+1);c=c.slice(0,s);e.splice(r,1,c,t)}const S=resolveShort(c,w,_,{shorthands:u,abbrevHandler:f});o("arg=%j shRes=%j",c,S);if(S){e.splice.apply(e,[r,1].concat(S));if(c!==S[0]){r--;continue}}c=c.replace(/^-+/,"");let k=null;while(c.toLowerCase().indexOf("no-")===0){k=!k;c=c.slice(3)}if(_[c]&&_[c]!==c){if(f){f(c,_[c])}else if(f!==false){o(`abbrev: ${c} -> ${_[c]}`)}c=_[c]}let[E,O]=getType(c,{types:a,dynamicTypes:d});let j=Array.isArray(O);if(j&&O.length===1){j=false;O=O[0]}let A=isTypeDef(O,g)||j&&hasTypeDef(O,g);if(!E&&hasOwn(t,c)){if(!Array.isArray(t[c])){t[c]=[t[c]]}A=true}let T;let P=e[r+1];const L=typeof k==="boolean"||isTypeDef(O,v)||j&&hasTypeDef(O,v)||typeof O==="undefined"&&!x||P==="false"&&(O===null||j&&~O.indexOf(null));if(typeof O==="undefined"){const e=!x&&P&&!P?.startsWith("-")&&!["true","false"].includes(P);if(h){if(e){h(c,P)}else{h(c)}}else if(h!==false){o(`unknown: ${c}`);if(e){o(`unknown: ${P} parsed as normal opt`)}}}if(L){T=!k;if(P==="true"||P==="false"){T=JSON.parse(P);P=null;if(k){T=!T}r++}if(j&&P){if(~O.indexOf(P)){T=P;r++}else if(P==="null"&&~O.indexOf(null)){T=null;r++}else if(!P.match(/^-{2,}[^-]/)&&!isNaN(P)&&hasTypeDef(O,y)){T=+P;r++}else if(!P.match(/^-[^-]/)&&hasTypeDef(O,p)){T=P;r++}}if(A){(t[c]=t[c]||[]).push(T)}else{t[c]=T}continue}if(isTypeDef(O,p)){if(P===undefined){P=""}else if(P.match(/^-{1,2}[^-]+/)){P="";r--}}if(P&&P.match(/^-{2,}$/)){P=undefined;r--}T=P===undefined?true:P;if(A){(t[c]=t[c]||[]).push(T)}else{t[c]=T}r++;continue}s.push(c)}}const c=Symbol("singles");const singleCharacters=(e,t)=>{let s=t[c];if(!s){s=Object.keys(t).filter((e=>e.length===1)).reduce(((e,t)=>{e[t]=true;return e}),{});t[c]=s;o("shorthand singles",s)}const r=e.split("").filter((e=>s[e]));return r.join("")===e?r:null};function resolveShort(e,...t){const{abbrevHandler:s,types:a={},shorthands:c={}}=t.length?t.pop():{};const u=t[0]??r(Object.keys(c));const d=t[1]??r(Object.keys(a));e=e.replace(/^-+/,"");if(d[e]===e){return null}if(c[e]){if(c[e]&&!Array.isArray(c[e])){c[e]=c[e].split(/\s+/)}return c[e]}const h=singleCharacters(e,c);if(h){return h.map((e=>c[e])).reduce(((e,t)=>e.concat(t)),[])}if(d[e]&&!c[e]){return null}if(u[e]){if(s){s(e,u[e])}else if(s!==false){o(`abbrev: ${e} -> ${u[e]}`)}e=u[e]}if(c[e]&&!Array.isArray(c[e])){c[e]=c[e].split(/\s+/)}return c[e]}e.exports={nopt:nopt,clean:clean,parse:parse,validate:validate,resolveShort:resolveShort,typeDefs:a}},1825:(e,t,s)=>{const r=s(1959);const o=s(1275);e.exports=t=nopt;t.clean=clean;t.typeDefs=o;t.lib=r;function nopt(e,s,o=process.argv,a=2){return r.nopt(o.slice(a),{types:e||{},shorthands:s||{},typeDefs:t.typeDefs,invalidHandler:t.invalidHandler,unknownHandler:t.unknownHandler,abbrevHandler:t.abbrevHandler})}function clean(e,s,o=t.typeDefs){return r.clean(e,{types:s||{},typeDefs:o,invalidHandler:t.invalidHandler,unknownHandler:t.unknownHandler,abbrevHandler:t.abbrevHandler})}},1275:(e,t,s)=>{const r=s(7016);const o=s(6928);const a=s(2203).Stream;const c=s(857);const u=s(7375);function validateString(e,t,s){e[t]=String(s)}function validatePath(e,t,s){if(s===true){return false}if(s===null){return true}s=String(s);const r=process.platform==="win32";const a=r?/^~(\/|\\)/:/^~\//;const u=c.homedir();if(u&&s.match(a)){e[t]=o.resolve(u,s.slice(2))}else{e[t]=o.resolve(s)}return true}function validateNumber(e,t,s){u("validate Number %j %j %j",t,s,isNaN(s));if(isNaN(s)){return false}e[t]=+s}function validateDate(e,t,s){const r=Date.parse(s);u("validate Date %j %j %j",t,s,r);if(isNaN(r)){return false}e[t]=new Date(s)}function validateBoolean(e,t,s){if(typeof s==="string"){if(!isNaN(s)){s=!!+s}else if(s==="null"||s==="false"){s=false}else{s=true}}else{s=!!s}e[t]=s}function validateUrl(e,t,s){s=r.parse(String(s));if(!s.host){return false}e[t]=s.href}function validateStream(e,t,s){if(!(s instanceof a)){return false}e[t]=s}e.exports={String:{type:String,validate:validateString},Boolean:{type:Boolean,validate:validateBoolean},url:{type:r,validate:validateUrl},Number:{type:Number,validate:validateNumber},path:{type:o,validate:validatePath},Stream:{type:a,validate:validateStream},Date:{type:Date,validate:validateDate},Array:{type:Array}}},4988:(e,t,s)=>{"use strict";const r=s(6928);const o=s(3339);const a=s(9896);const resolveFrom=(e,t,s)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=a.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=r.resolve(e)}else if(s){return}else{throw t}}const c=r.join(e,"noop.js");const resolveFileName=()=>o._resolveFilename(t,{id:c,filename:c,paths:o._nodeModulePaths(e)});if(s){try{return resolveFileName()}catch(e){return}}return resolveFileName()};e.exports=(e,t)=>resolveFrom(e,t);e.exports.silent=(e,t)=>resolveFrom(e,t,true)},2613:e=>{"use strict";e.exports=require("assert")},5317:e=>{"use strict";e.exports=require("child_process")},9140:e=>{"use strict";e.exports=require("constants")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},3339:e=>{"use strict";e.exports=require("module")},7413:e=>{"use strict";e.exports=require("next/dist/compiled/acorn")},4261:e=>{"use strict";e.exports=require("next/dist/compiled/async-sema")},7298:e=>{"use strict";e.exports=require("next/dist/compiled/picomatch")},1808:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},8474:e=>{"use strict";e.exports=require("node:events")},3024:e=>{"use strict";e.exports=require("node:fs")},1455:e=>{"use strict";e.exports=require("node:fs/promises")},6760:e=>{"use strict";e.exports=require("node:path")},7075:e=>{"use strict";e.exports=require("node:stream")},6193:e=>{"use strict";e.exports=require("node:string_decoder")},3136:e=>{"use strict";e.exports=require("node:url")},7975:e=>{"use strict";e.exports=require("node:util")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2203:e=>{"use strict";e.exports=require("stream")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},7574:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=s(6928);var o=s(1973);var a=s(7298);const c=function addExtension(e,t=".js"){let s=`${e}`;if(!r.extname(e))s+=t;return s};const u={ArrayPattern(e,t){for(const s of t.elements){if(s)u[s.type](e,s)}},AssignmentPattern(e,t){u[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const s of t.properties){if(s.type==="RestElement"){u.RestElement(e,s)}else{u[s.value.type](e,s.value)}}},RestElement(e,t){u[t.argument.type](e,t.argument)}};const d=function extractAssignedNames(e){const t=[];u[e.type](t,e);return t};const h={const:true,let:true};class Scope{constructor(e={}){this.parent=e.parent;this.isBlockScope=!!e.block;this.declarations=Object.create(null);if(e.params){e.params.forEach((e=>{d(e).forEach((e=>{this.declarations[e]=true}))}))}}addDeclaration(e,t,s){if(!t&&this.isBlockScope){this.parent.addDeclaration(e,t,s)}else if(e.id){d(e.id).forEach((e=>{this.declarations[e]=true}))}}contains(e){return this.declarations[e]||(this.parent?this.parent.contains(e):false)}}const f=function attachScopes(e,t="scope"){let s=new Scope;o.walk(e,{enter(e,r){const o=e;if(/(?:Function|Class)Declaration/.test(o.type)){s.addDeclaration(o,false,false)}if(o.type==="VariableDeclaration"){const{kind:e}=o;const t=h[e];o.declarations.forEach((e=>{s.addDeclaration(e,t,true)}))}let a;if(o.type.includes("Function")){const e=o;a=new Scope({parent:s,block:false,params:e.params});if(e.type==="FunctionExpression"&&e.id){a.addDeclaration(e,false,false)}}if(/For(?:In|Of)?Statement/.test(o.type)){a=new Scope({parent:s,block:true})}if(o.type==="BlockStatement"&&!r.type.includes("Function")){a=new Scope({parent:s,block:true})}if(o.type==="CatchClause"){a=new Scope({parent:s,params:o.param?[o.param]:[],block:true})}if(a){Object.defineProperty(o,t,{value:a,configurable:true});s=a}},leave(e){const r=e;if(r[t])s=s.parent}});return s};function isArray(e){return Array.isArray(e)}function ensureArray(e){if(isArray(e))return e;if(e==null)return[];return[e]}const p=new RegExp(`\\${r.win32.sep}`,"g");const y=function normalizePath(e){return e.replace(p,r.posix.sep)};function getMatcherString(e,t){if(t===false||r.isAbsolute(e)||e.startsWith("**")){return y(e)}const s=y(r.resolve(t||"")).replace(/[-^$*+?.()|[\]{}]/g,"\\$&");return r.posix.join(s,y(e))}const g=function createFilter(e,t,s){const r=s&&s.resolve;const getMatcher=e=>e instanceof RegExp?e:{test:t=>{const s=getMatcherString(e,r);const o=a(s,{dot:true});const c=o(t);return c}};const o=ensureArray(e).map(getMatcher);const c=ensureArray(t).map(getMatcher);if(!o.length&&!c.length)return e=>typeof e==="string"&&!e.includes("\0");return function result(e){if(typeof e!=="string")return false;if(e.includes("\0"))return false;const t=y(e);for(let e=0;e<c.length;++e){const s=c[e];if(s instanceof RegExp){s.lastIndex=0}if(s.test(t))return false}for(let e=0;e<o.length;++e){const s=o[e];if(s instanceof RegExp){s.lastIndex=0}if(s.test(t))return true}return!o.length}};const v="break case class catch const continue debugger default delete do else export extends finally for function if import in instanceof let new return super switch this throw try typeof var void while with yield enum await implements package protected static interface private public";const _="arguments Infinity NaN undefined null true false eval uneval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Symbol Error EvalError InternalError RangeError ReferenceError SyntaxError TypeError URIError Number Math Date String RegExp Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array Map Set WeakMap WeakSet SIMD ArrayBuffer DataView JSON Promise Generator GeneratorFunction Reflect Proxy Intl";const w=new Set(`${v} ${_}`.split(" "));w.add("");const x=function makeLegalIdentifier(e){let t=e.replace(/-(\w)/g,((e,t)=>t.toUpperCase())).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(t[0])||w.has(t)){t=`_${t}`}return t||"_"};function stringify(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,(e=>`\\u${`000${e.charCodeAt(0).toString(16)}`.slice(-4)}`))}function serializeArray(e,t,s){let r="[";const o=t?`\n${s}${t}`:"";for(let a=0;a<e.length;a++){const c=e[a];r+=`${a>0?",":""}${o}${serialize(c,t,s+t)}`}return`${r}${t?`\n${s}`:""}]`}function serializeObject(e,t,s){let r="{";const o=t?`\n${s}${t}`:"";const a=Object.entries(e);for(let e=0;e<a.length;e++){const[c,u]=a[e];const d=x(c)===c?c:stringify(c);r+=`${e>0?",":""}${o}${d}:${t?" ":""}${serialize(u,t,s+t)}`}return`${r}${t?`\n${s}`:""}}`}function serialize(e,t,s){if(typeof e==="object"&&e!==null){if(Array.isArray(e))return serializeArray(e,t,s);if(e instanceof Date)return`new Date(${e.getTime()})`;if(e instanceof RegExp)return e.toString();return serializeObject(e,t,s)}if(typeof e==="number"){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0)return 1/e===Infinity?"0":"-0";if(e!==e)return"NaN"}if(typeof e==="symbol"){const t=Symbol.keyFor(e);if(t!==undefined)return`Symbol.for(${stringify(t)})`}if(typeof e==="bigint")return`${e}n`;return stringify(e)}const S="isWellFormed"in String.prototype;function isWellFormedString(e){if(S)return e.isWellFormed();return!/\p{Surrogate}/u.test(e)}const k=function dataToEsm(e,t={}){var s,r;const o=t.compact?"":"indent"in t?t.indent:"\t";const a=t.compact?"":" ";const c=t.compact?"":"\n";const u=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const s=serialize(e,t.compact?null:o,"");const r=a||(/^[{[\-\/]/.test(s)?"":" ");return`export default${r}${s};`}let d=0;for(const t of Object.keys(e)){const e=(r=(s=/^(_+)/.exec(t))===null||s===void 0?void 0:s[0].length)!==null&&r!==void 0?r:0;if(e>d){d=e}}const h=`${"_".repeat(d+1)}arbitrary`;let f="";const p=[];const y=[];for(const[s,r]of Object.entries(e)){if(s===x(s)){if(t.objectShorthand)p.push(s);else p.push(`${s}:${a}${s}`);f+=`export ${u} ${s}${a}=${a}${serialize(r,t.compact?null:o,"")};${c}`}else{p.push(`${stringify(s)}:${a}${serialize(r,t.compact?null:o,"")}`);if(t.includeArbitraryNames&&isWellFormedString(s)){const e=`${h}${y.length}`;f+=`${u} ${e}${a}=${a}${serialize(r,t.compact?null:o,"")};${c}`;y.push(`${e} as ${JSON.stringify(s)}`)}}}const g=y.length>0?`export${a}{${c}${o}${y.join(`,${c}${o}`)}${c}};${c}`:"";const v=`export default${a}{${c}${o}${p.join(`,${c}${o}`)}${c}};${c}`;return`${f}${g}${v}`};function exactRegex(e,t){return new RegExp(`^${combineMultipleStrings(e)}$`,t)}function prefixRegex(e,t){return new RegExp(`^${combineMultipleStrings(e)}`,t)}function suffixRegex(e,t){return new RegExp(`${combineMultipleStrings(e)}$`,t)}const E=/[-/\\^$*+?.()|[\]{}]/g;function escapeRegex(e){return e.replace(E,"\\$&")}function combineMultipleStrings(e){if(Array.isArray(e)){const t=e.map(escapeRegex).join("|");if(t&&e.length>1){return`(?:${t})`}return t}return escapeRegex(e)}var O={addExtension:c,attachScopes:f,createFilter:g,dataToEsm:k,exactRegex:exactRegex,extractAssignedNames:d,makeLegalIdentifier:x,normalizePath:y,prefixRegex:prefixRegex,suffixRegex:suffixRegex};t.addExtension=c;t.attachScopes=f;t.createFilter=g;t.dataToEsm=k;t["default"]=O;t.exactRegex=exactRegex;t.extractAssignedNames=d;t.makeLegalIdentifier=x;t.normalizePath=y;t.prefixRegex=prefixRegex;t.suffixRegex=suffixRegex;e.exports=Object.assign(t.default,t)},1426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.range=t.balanced=void 0;const balanced=(e,s,r)=>{const o=e instanceof RegExp?maybeMatch(e,r):e;const a=s instanceof RegExp?maybeMatch(s,r):s;const c=o!==null&&a!=null&&(0,t.range)(o,a,r);return c&&{start:c[0],end:c[1],pre:r.slice(0,c[0]),body:r.slice(c[0]+o.length,c[1]),post:r.slice(c[1]+a.length)}};t.balanced=balanced;const maybeMatch=(e,t)=>{const s=t.match(e);return s?s[0]:null};const range=(e,t,s)=>{let r,o,a,c=undefined,u;let d=s.indexOf(e);let h=s.indexOf(t,d+1);let f=d;if(d>=0&&h>0){if(e===t){return[d,h]}r=[];a=s.length;while(f>=0&&!u){if(f===d){r.push(f);d=s.indexOf(e,f+1)}else if(r.length===1){const e=r.pop();if(e!==undefined)u=[e,h]}else{o=r.pop();if(o!==undefined&&o<a){a=o;c=h}h=s.indexOf(t,f+1)}f=d<h&&d>=0?d:h}if(r.length&&c!==undefined){u=[a,c]}}return u};t.range=range},1421:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EXPANSION_MAX=void 0;t.expand=expand;const r=s(1426);const o="\0SLASH"+Math.random()+"\0";const a="\0OPEN"+Math.random()+"\0";const c="\0CLOSE"+Math.random()+"\0";const u="\0COMMA"+Math.random()+"\0";const d="\0PERIOD"+Math.random()+"\0";const h=new RegExp(o,"g");const f=new RegExp(a,"g");const p=new RegExp(c,"g");const y=new RegExp(u,"g");const g=new RegExp(d,"g");const v=/\\\\/g;const _=/\\{/g;const w=/\\}/g;const x=/\\,/g;const S=/\\\./g;t.EXPANSION_MAX=1e5;function numeric(e){return!isNaN(e)?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.replace(v,o).replace(_,a).replace(w,c).replace(x,u).replace(S,d)}function unescapeBraces(e){return e.replace(h,"\\").replace(f,"{").replace(p,"}").replace(y,",").replace(g,".")}function parseCommaParts(e){if(!e){return[""]}const t=[];const s=(0,r.balanced)("{","}",e);if(!s){return e.split(",")}const{pre:o,body:a,post:c}=s;const u=o.split(",");u[u.length-1]+="{"+a+"}";const d=parseCommaParts(c);if(c.length){u[u.length-1]+=d.shift();u.push.apply(u,d)}t.push.apply(t,u);return t}function expand(e,s={}){if(!e){return[]}const{max:r=t.EXPANSION_MAX}=s;if(e.slice(0,2)==="{}"){e="\\{\\}"+e.slice(2)}return expand_(escapeBraces(e),r,true).map(unescapeBraces)}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand_(e,t,s){const o=[];const a=(0,r.balanced)("{","}",e);if(!a)return[e];const u=a.pre;const d=a.post.length?expand_(a.post,t,false):[""];if(/\$$/.test(a.pre)){for(let e=0;e<d.length&&e<t;e++){const t=u+"{"+a.body+"}"+d[e];o.push(t)}}else{const r=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body);const h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body);const f=r||h;const p=a.body.indexOf(",")>=0;if(!f&&!p){if(a.post.match(/,(?!,).*\}/)){e=a.pre+"{"+a.body+c+a.post;return expand_(e,t,true)}return[e]}let y;if(f){y=a.body.split(/\.\./)}else{y=parseCommaParts(a.body);if(y.length===1&&y[0]!==undefined){y=expand_(y[0],t,false).map(embrace);if(y.length===1){return d.map((e=>a.pre+y[0]+e))}}}let g;if(f&&y[0]!==undefined&&y[1]!==undefined){const e=numeric(y[0]);const t=numeric(y[1]);const s=Math.max(y[0].length,y[1].length);let r=y.length===3&&y[2]!==undefined?Math.abs(numeric(y[2])):1;let o=lte;const a=t<e;if(a){r*=-1;o=gte}const c=y.some(isPadded);g=[];for(let a=e;o(a,t);a+=r){let e;if(h){e=String.fromCharCode(a);if(e==="\\"){e=""}}else{e=String(a);if(c){const t=s-e.length;if(t>0){const s=new Array(t+1).join("0");if(a<0){e="-"+s+e.slice(1)}else{e=s+e}}}}g.push(e)}}else{g=[];for(let e=0;e<y.length;e++){g.push.apply(g,expand_(y[e],t,false))}}for(let e=0;e<g.length;e++){for(let r=0;r<d.length&&o.length<t;r++){const t=u+g[e]+d[r];if(!s||f||t){o.push(t)}}}}return o}},1973:function(e,t){(function(e,s){true?s(t):0})(this,(function(e){"use strict";class WalkerBase{constructor(){this.should_skip=false;this.should_remove=false;this.replacement=null;this.context={skip:()=>this.should_skip=true,remove:()=>this.should_remove=true,replace:e=>this.replacement=e}}replace(e,t,s,r){if(e){if(s!==null){e[t][s]=r}else{e[t]=r}}}remove(e,t,s){if(e){if(s!==null){e[t].splice(s,1)}else{delete e[t]}}}}class SyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}visit(e,t,s,r){if(e){if(this.enter){const o=this.should_skip;const a=this.should_remove;const c=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;this.enter.call(this.context,e,t,s,r);if(this.replacement){e=this.replacement;this.replace(t,s,r,e)}if(this.should_remove){this.remove(t,s,r)}const u=this.should_skip;const d=this.should_remove;this.should_skip=o;this.should_remove=a;this.replacement=c;if(u)return e;if(d)return null}for(const t in e){const s=e[t];if(typeof s!=="object"){continue}else if(Array.isArray(s)){for(let r=0;r<s.length;r+=1){if(s[r]!==null&&typeof s[r].type==="string"){if(!this.visit(s[r],e,t,r)){r--}}}}else if(s!==null&&typeof s.type==="string"){this.visit(s,e,t,null)}}if(this.leave){const o=this.replacement;const a=this.should_remove;this.replacement=null;this.should_remove=false;this.leave.call(this.context,e,t,s,r);if(this.replacement){e=this.replacement;this.replace(t,s,r,e)}if(this.should_remove){this.remove(t,s,r)}const c=this.should_remove;this.replacement=o;this.should_remove=a;if(c)return null}}return e}}class AsyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}async visit(e,t,s,r){if(e){if(this.enter){const o=this.should_skip;const a=this.should_remove;const c=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;await this.enter.call(this.context,e,t,s,r);if(this.replacement){e=this.replacement;this.replace(t,s,r,e)}if(this.should_remove){this.remove(t,s,r)}const u=this.should_skip;const d=this.should_remove;this.should_skip=o;this.should_remove=a;this.replacement=c;if(u)return e;if(d)return null}for(const t in e){const s=e[t];if(typeof s!=="object"){continue}else if(Array.isArray(s)){for(let r=0;r<s.length;r+=1){if(s[r]!==null&&typeof s[r].type==="string"){if(!await this.visit(s[r],e,t,r)){r--}}}}else if(s!==null&&typeof s.type==="string"){await this.visit(s,e,t,null)}}if(this.leave){const o=this.replacement;const a=this.should_remove;this.replacement=null;this.should_remove=false;await this.leave.call(this.context,e,t,s,r);if(this.replacement){e=this.replacement;this.replace(t,s,r,e)}if(this.should_remove){this.remove(t,s,r)}const c=this.should_remove;this.replacement=o;this.should_remove=a;if(c)return null}}return e}}function walk(e,{enter:t,leave:s}){const r=new SyncWalker(t,s);return r.visit(e,null)}async function asyncWalk(e,{enter:t,leave:s}){const r=new AsyncWalker(t,s);return await r.visit(e,null)}e.asyncWalk=asyncWalk;e.walk=walk;Object.defineProperty(e,"__esModule",{value:true})}))},3314:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Glob=void 0;const r=s(7955);const o=s(3136);const a=s(5828);const c=s(372);const u=s(5190);const d=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Glob{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,t){if(!t)throw new TypeError("glob options required");this.withFileTypes=!!t.withFileTypes;this.signal=t.signal;this.follow=!!t.follow;this.dot=!!t.dot;this.dotRelative=!!t.dotRelative;this.nodir=!!t.nodir;this.mark=!!t.mark;if(!t.cwd){this.cwd=""}else if(t.cwd instanceof URL||t.cwd.startsWith("file://")){t.cwd=(0,o.fileURLToPath)(t.cwd)}this.cwd=t.cwd||"";this.root=t.root;this.magicalBraces=!!t.magicalBraces;this.nobrace=!!t.nobrace;this.noext=!!t.noext;this.realpath=!!t.realpath;this.absolute=t.absolute;this.includeChildMatches=t.includeChildMatches!==false;this.noglobstar=!!t.noglobstar;this.matchBase=!!t.matchBase;this.maxDepth=typeof t.maxDepth==="number"?t.maxDepth:Infinity;this.stat=!!t.stat;this.ignore=t.ignore;if(this.withFileTypes&&this.absolute!==undefined){throw new Error("cannot set absolute and withFileTypes:true")}if(typeof e==="string"){e=[e]}this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===false;if(this.windowsPathsNoEscape){e=e.map((e=>e.replace(/\\/g,"/")))}if(this.matchBase){if(t.noglobstar){throw new TypeError("base matching requires globstar")}e=e.map((e=>e.includes("/")?e:`./**/${e}`))}this.pattern=e;this.platform=t.platform||d;this.opts={...t,platform:this.platform};if(t.scurry){this.scurry=t.scurry;if(t.nocase!==undefined&&t.nocase!==t.scurry.nocase){throw new Error("nocase option contradicts provided scurry option")}}else{const e=t.platform==="win32"?a.PathScurryWin32:t.platform==="darwin"?a.PathScurryDarwin:t.platform?a.PathScurryPosix:a.PathScurry;this.scurry=new e(this.cwd,{nocase:t.nocase,fs:t.fs})}this.nocase=this.scurry.nocase;const s=this.platform==="darwin"||this.platform==="win32";const u={...t,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:s,nocomment:true,noext:this.noext,nonegate:true,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug};const h=this.pattern.map((e=>new r.Minimatch(e,u)));const[f,p]=h.reduce(((e,t)=>{e[0].push(...t.set);e[1].push(...t.globParts);return e}),[[],[]]);this.patterns=f.map(((e,t)=>{const s=p[t];if(!s)throw new Error("invalid pattern object");return new c.Pattern(e,s,0,this.platform)}))}async walk(){return[...await new u.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new u.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new u.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new u.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}t.Glob=Glob},5608:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasMagic=void 0;const r=s(7955);const hasMagic=(e,t={})=>{if(!Array.isArray(e)){e=[e]}for(const s of e){if(new r.Minimatch(s,t).hasMagic())return true}return false};t.hasMagic=hasMagic},2294:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Ignore=void 0;const r=s(7955);const o=s(372);const a=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Ignore{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:t,nocase:s,noext:r,noglobstar:o,platform:c=a}){this.relative=[];this.absolute=[];this.relativeChildren=[];this.absoluteChildren=[];this.platform=c;this.mmopts={dot:true,nobrace:t,nocase:s,noext:r,noglobstar:o,optimizationLevel:2,platform:c,nocomment:true,nonegate:true};for(const t of e)this.add(t)}add(e){const t=new r.Minimatch(e,this.mmopts);for(let e=0;e<t.set.length;e++){const s=t.set[e];const a=t.globParts[e];if(!s||!a){throw new Error("invalid pattern object")}while(s[0]==="."&&a[0]==="."){s.shift();a.shift()}const c=new o.Pattern(s,a,0,this.platform);const u=new r.Minimatch(c.globString(),this.mmopts);const d=a[a.length-1]==="**";const h=c.isAbsolute();if(h)this.absolute.push(u);else this.relative.push(u);if(d){if(h)this.absoluteChildren.push(u);else this.relativeChildren.push(u)}}}ignored(e){const t=e.fullpath();const s=`${t}/`;const r=e.relative()||".";const o=`${r}/`;for(const e of this.relative){if(e.match(r)||e.match(o))return true}for(const e of this.absolute){if(e.match(t)||e.match(s))return true}return false}childrenIgnored(e){const t=e.fullpath()+"/";const s=(e.relative()||".")+"/";for(const e of this.relativeChildren){if(e.match(s))return true}for(const e of this.absoluteChildren){if(e.match(t))return true}return false}}t.Ignore=Ignore},7686:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.glob=t.sync=t.iterate=t.iterateSync=t.stream=t.streamSync=t.Ignore=t.hasMagic=t.Glob=t.unescape=t.escape=void 0;t.globStreamSync=globStreamSync;t.globStream=globStream;t.globSync=globSync;t.globIterateSync=globIterateSync;t.globIterate=globIterate;const r=s(7955);const o=s(3314);const a=s(5608);var c=s(7955);Object.defineProperty(t,"escape",{enumerable:true,get:function(){return c.escape}});Object.defineProperty(t,"unescape",{enumerable:true,get:function(){return c.unescape}});var u=s(3314);Object.defineProperty(t,"Glob",{enumerable:true,get:function(){return u.Glob}});var d=s(5608);Object.defineProperty(t,"hasMagic",{enumerable:true,get:function(){return d.hasMagic}});var h=s(2294);Object.defineProperty(t,"Ignore",{enumerable:true,get:function(){return h.Ignore}});function globStreamSync(e,t={}){return new o.Glob(e,t).streamSync()}function globStream(e,t={}){return new o.Glob(e,t).stream()}function globSync(e,t={}){return new o.Glob(e,t).walkSync()}async function glob_(e,t={}){return new o.Glob(e,t).walk()}function globIterateSync(e,t={}){return new o.Glob(e,t).iterateSync()}function globIterate(e,t={}){return new o.Glob(e,t).iterate()}t.streamSync=globStreamSync;t.stream=Object.assign(globStream,{sync:globStreamSync});t.iterateSync=globIterateSync;t.iterate=Object.assign(globIterate,{sync:globIterateSync});t.sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync});t.glob=Object.assign(glob_,{glob:glob_,globSync:globSync,sync:t.sync,globStream:globStream,stream:t.stream,globStreamSync:globStreamSync,streamSync:t.streamSync,globIterate:globIterate,iterate:t.iterate,globIterateSync:globIterateSync,iterateSync:t.iterateSync,Glob:o.Glob,hasMagic:a.hasMagic,escape:r.escape,unescape:r.unescape});t.glob.glob=t.glob},372:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Pattern=void 0;const r=s(7955);const isPatternList=e=>e.length>=1;const isGlobList=e=>e.length>=1;class Pattern{#e;#t;#i;length;#s;#n;#r;#o;#a;#l;#c=true;constructor(e,t,s,r){if(!isPatternList(e)){throw new TypeError("empty pattern list")}if(!isGlobList(t)){throw new TypeError("empty glob list")}if(t.length!==e.length){throw new TypeError("mismatched pattern list and glob list lengths")}this.length=e.length;if(s<0||s>=this.length){throw new TypeError("index out of range")}this.#e=e;this.#t=t;this.#i=s;this.#s=r;if(this.#i===0){if(this.isUNC()){const[e,t,s,r,...o]=this.#e;const[a,c,u,d,...h]=this.#t;if(o[0]===""){o.shift();h.shift()}const f=[e,t,s,r,""].join("/");const p=[a,c,u,d,""].join("/");this.#e=[f,...o];this.#t=[p,...h];this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){const[e,...t]=this.#e;const[s,...r]=this.#t;if(t[0]===""){t.shift();r.shift()}const o=e+"/";const a=s+"/";this.#e=[o,...t];this.#t=[a,...r];this.length=this.#e.length}}}pattern(){return this.#e[this.#i]}isString(){return typeof this.#e[this.#i]==="string"}isGlobstar(){return this.#e[this.#i]===r.GLOBSTAR}isRegExp(){return this.#e[this.#i]instanceof RegExp}globString(){return this.#r=this.#r||(this.#i===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#i).join("/"))}hasMore(){return this.length>this.#i+1}rest(){if(this.#n!==undefined)return this.#n;if(!this.hasMore())return this.#n=null;this.#n=new Pattern(this.#e,this.#t,this.#i+1,this.#s);this.#n.#l=this.#l;this.#n.#a=this.#a;this.#n.#o=this.#o;return this.#n}isUNC(){const e=this.#e;return this.#a!==undefined?this.#a:this.#a=this.#s==="win32"&&this.#i===0&&e[0]===""&&e[1]===""&&typeof e[2]==="string"&&!!e[2]&&typeof e[3]==="string"&&!!e[3]}isDrive(){const e=this.#e;return this.#o!==undefined?this.#o:this.#o=this.#s==="win32"&&this.#i===0&&this.length>1&&typeof e[0]==="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){const e=this.#e;return this.#l!==undefined?this.#l:this.#l=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){const e=this.#e[0];return typeof e==="string"&&this.isAbsolute()&&this.#i===0?e:""}checkFollowGlobstar(){return!(this.#i===0||!this.isGlobstar()||!this.#c)}markFollowGlobstar(){if(this.#i===0||!this.isGlobstar()||!this.#c)return false;this.#c=false;return true}}t.Pattern=Pattern},6090:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Processor=t.SubWalks=t.MatchRecord=t.HasWalkedCache=void 0;const r=s(7955);class HasWalkedCache{store;constructor(e=new Map){this.store=e}copy(){return new HasWalkedCache(new Map(this.store))}hasWalked(e,t){return this.store.get(e.fullpath())?.has(t.globString())}storeWalked(e,t){const s=e.fullpath();const r=this.store.get(s);if(r)r.add(t.globString());else this.store.set(s,new Set([t.globString()]))}}t.HasWalkedCache=HasWalkedCache;class MatchRecord{store=new Map;add(e,t,s){const r=(t?2:0)|(s?1:0);const o=this.store.get(e);this.store.set(e,o===undefined?r:r&o)}entries(){return[...this.store.entries()].map((([e,t])=>[e,!!(t&2),!!(t&1)]))}}t.MatchRecord=MatchRecord;class SubWalks{store=new Map;add(e,t){if(!e.canReaddir()){return}const s=this.store.get(e);if(s){if(!s.find((e=>e.globString()===t.globString()))){s.push(t)}}else this.store.set(e,[t])}get(e){const t=this.store.get(e);if(!t){throw new Error("attempting to walk unknown path")}return t}entries(){return this.keys().map((e=>[e,this.store.get(e)]))}keys(){return[...this.store.keys()].filter((e=>e.canReaddir()))}}t.SubWalks=SubWalks;class Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(e,t){this.opts=e;this.follow=!!e.follow;this.dot=!!e.dot;this.hasWalkedCache=t?t.copy():new HasWalkedCache}processPatterns(e,t){this.patterns=t;const s=t.map((t=>[e,t]));for(let[e,t]of s){this.hasWalkedCache.storeWalked(e,t);const s=t.root();const o=t.isAbsolute()&&this.opts.absolute!==false;if(s){e=e.resolve(s==="/"&&this.opts.root!==undefined?this.opts.root:s);const r=t.rest();if(!r){this.matches.add(e,true,false);continue}else{t=r}}if(e.isENOENT())continue;let a;let c;let u=false;while(typeof(a=t.pattern())==="string"&&(c=t.rest())){const s=e.resolve(a);e=s;t=c;u=true}a=t.pattern();c=t.rest();if(u){if(this.hasWalkedCache.hasWalked(e,t))continue;this.hasWalkedCache.storeWalked(e,t)}if(typeof a==="string"){const t=a===".."||a===""||a===".";this.matches.add(e.resolve(a),o,t);continue}else if(a===r.GLOBSTAR){if(!e.isSymbolicLink()||this.follow||t.checkFollowGlobstar()){this.subwalks.add(e,t)}const s=c?.pattern();const r=c?.rest();if(!c||(s===""||s===".")&&!r){this.matches.add(e,o,s===""||s===".")}else{if(s===".."){const t=e.parent||e;if(!r)this.matches.add(t,o,true);else if(!this.hasWalkedCache.hasWalked(t,r)){this.subwalks.add(t,r)}}}}else if(a instanceof RegExp){this.subwalks.add(e,t)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Processor(this.opts,this.hasWalkedCache)}filterEntries(e,t){const s=this.subwalks.get(e);const o=this.child();for(const e of t){for(const t of s){const s=t.isAbsolute();const a=t.pattern();const c=t.rest();if(a===r.GLOBSTAR){o.testGlobstar(e,t,c,s)}else if(a instanceof RegExp){o.testRegExp(e,a,c,s)}else{o.testString(e,a,c,s)}}}return o}testGlobstar(e,t,s,r){if(this.dot||!e.name.startsWith(".")){if(!t.hasMore()){this.matches.add(e,r,false)}if(e.canReaddir()){if(this.follow||!e.isSymbolicLink()){this.subwalks.add(e,t)}else if(e.isSymbolicLink()){if(s&&t.checkFollowGlobstar()){this.subwalks.add(e,s)}else if(t.markFollowGlobstar()){this.subwalks.add(e,t)}}}}if(s){const t=s.pattern();if(typeof t==="string"&&t!==".."&&t!==""&&t!=="."){this.testString(e,t,s.rest(),r)}else if(t===".."){const t=e.parent||e;this.subwalks.add(t,s)}else if(t instanceof RegExp){this.testRegExp(e,t,s.rest(),r)}}}testRegExp(e,t,s,r){if(!t.test(e.name))return;if(!s){this.matches.add(e,r,false)}else{this.subwalks.add(e,s)}}testString(e,t,s,r){if(!e.isNamed(t))return;if(!s){this.matches.add(e,r,false)}else{this.subwalks.add(e,s)}}}t.Processor=Processor},5190:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GlobStream=t.GlobWalker=t.GlobUtil=void 0;const r=s(6222);const o=s(2294);const a=s(6090);const makeIgnore=(e,t)=>typeof e==="string"?new o.Ignore([e],t):Array.isArray(e)?new o.Ignore(e,t):e;class GlobUtil{path;patterns;opts;seen=new Set;paused=false;aborted=false;#u=[];#d;#h;signal;maxDepth;includeChildMatches;constructor(e,t,s){this.patterns=e;this.path=t;this.opts=s;this.#h=!s.posix&&s.platform==="win32"?"\\":"/";this.includeChildMatches=s.includeChildMatches!==false;if(s.ignore||!this.includeChildMatches){this.#d=makeIgnore(s.ignore??[],s);if(!this.includeChildMatches&&typeof this.#d.add!=="function"){const e="cannot ignore child matches, ignore lacks add() method.";throw new Error(e)}}this.maxDepth=s.maxDepth||Infinity;if(s.signal){this.signal=s.signal;this.signal.addEventListener("abort",(()=>{this.#u.length=0}))}}#f(e){return this.seen.has(e)||!!this.#d?.ignored?.(e)}#p(e){return!!this.#d?.childrenIgnored?.(e)}pause(){this.paused=true}resume(){if(this.signal?.aborted)return;this.paused=false;let e=undefined;while(!this.paused&&(e=this.#u.shift())){e()}}onResume(e){if(this.signal?.aborted)return;if(!this.paused){e()}else{this.#u.push(e)}}async matchCheck(e,t){if(t&&this.opts.nodir)return undefined;let s;if(this.opts.realpath){s=e.realpathCached()||await e.realpath();if(!s)return undefined;e=s}const r=e.isUnknown()||this.opts.stat;const o=r?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){const e=await o.realpath();if(e&&(e.isUnknown()||this.opts.stat)){await e.lstat()}}return this.matchCheckTest(o,t)}matchCheckTest(e,t){return e&&(this.maxDepth===Infinity||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#f(e)?e:undefined}matchCheckSync(e,t){if(t&&this.opts.nodir)return undefined;let s;if(this.opts.realpath){s=e.realpathCached()||e.realpathSync();if(!s)return undefined;e=s}const r=e.isUnknown()||this.opts.stat;const o=r?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){const e=o.realpathSync();if(e&&(e?.isUnknown()||this.opts.stat)){e.lstatSync()}}return this.matchCheckTest(o,t)}matchFinish(e,t){if(this.#f(e))return;if(!this.includeChildMatches&&this.#d?.add){const t=`${e.relativePosix()}/**`;this.#d.add(t)}const s=this.opts.absolute===undefined?t:this.opts.absolute;this.seen.add(e);const r=this.opts.mark&&e.isDirectory()?this.#h:"";if(this.opts.withFileTypes){this.matchEmit(e)}else if(s){const t=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(t+r)}else{const t=this.opts.posix?e.relativePosix():e.relative();const s=this.opts.dotRelative&&!t.startsWith(".."+this.#h)?"."+this.#h:"";this.matchEmit(!t?"."+r:s+t+r)}}async match(e,t,s){const r=await this.matchCheck(e,s);if(r)this.matchFinish(r,t)}matchSync(e,t,s){const r=this.matchCheckSync(e,s);if(r)this.matchFinish(r,t)}walkCB(e,t,s){if(this.signal?.aborted)s();this.walkCB2(e,t,new a.Processor(this.opts),s)}walkCB2(e,t,s,r){if(this.#p(e))return r();if(this.signal?.aborted)r();if(this.paused){this.onResume((()=>this.walkCB2(e,t,s,r)));return}s.processPatterns(e,t);let o=1;const next=()=>{if(--o===0)r()};for(const[e,t,r]of s.matches.entries()){if(this.#f(e))continue;o++;this.match(e,t,r).then((()=>next()))}for(const e of s.subwalkTargets()){if(this.maxDepth!==Infinity&&e.depth()>=this.maxDepth){continue}o++;const t=e.readdirCached();if(e.calledReaddir())this.walkCB3(e,t,s,next);else{e.readdirCB(((t,r)=>this.walkCB3(e,r,s,next)),true)}}next()}walkCB3(e,t,s,r){s=s.filterEntries(e,t);let o=1;const next=()=>{if(--o===0)r()};for(const[e,t,r]of s.matches.entries()){if(this.#f(e))continue;o++;this.match(e,t,r).then((()=>next()))}for(const[e,t]of s.subwalks.entries()){o++;this.walkCB2(e,t,s.child(),next)}next()}walkCBSync(e,t,s){if(this.signal?.aborted)s();this.walkCB2Sync(e,t,new a.Processor(this.opts),s)}walkCB2Sync(e,t,s,r){if(this.#p(e))return r();if(this.signal?.aborted)r();if(this.paused){this.onResume((()=>this.walkCB2Sync(e,t,s,r)));return}s.processPatterns(e,t);let o=1;const next=()=>{if(--o===0)r()};for(const[e,t,r]of s.matches.entries()){if(this.#f(e))continue;this.matchSync(e,t,r)}for(const e of s.subwalkTargets()){if(this.maxDepth!==Infinity&&e.depth()>=this.maxDepth){continue}o++;const t=e.readdirSync();this.walkCB3Sync(e,t,s,next)}next()}walkCB3Sync(e,t,s,r){s=s.filterEntries(e,t);let o=1;const next=()=>{if(--o===0)r()};for(const[e,t,r]of s.matches.entries()){if(this.#f(e))continue;this.matchSync(e,t,r)}for(const[e,t]of s.subwalks.entries()){o++;this.walkCB2Sync(e,t,s.child(),next)}next()}}t.GlobUtil=GlobUtil;class GlobWalker extends GlobUtil{matches=new Set;constructor(e,t,s){super(e,t,s)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){await this.path.lstat()}await new Promise(((e,t)=>{this.walkCB(this.path,this.patterns,(()=>{if(this.signal?.aborted){t(this.signal.reason)}else{e(this.matches)}}))}));return this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason}));return this.matches}}t.GlobWalker=GlobWalker;class GlobStream extends GlobUtil{results;constructor(e,t,s){super(e,t,s);this.results=new r.Minipass({signal:this.signal,objectMode:true});this.results.on("drain",(()=>this.resume()));this.results.on("resume",(()=>this.resume()))}matchEmit(e){this.results.write(e);if(!this.results.flowing)this.pause()}stream(){const e=this.path;if(e.isUnknown()){e.lstat().then((()=>{this.walkCB(e,this.patterns,(()=>this.results.end()))}))}else{this.walkCB(e,this.patterns,(()=>this.results.end()))}return this.results}streamSync(){if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>this.results.end()));return this.results}}t.GlobStream=GlobStream},3587:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LRUCache=void 0;const s=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const r=new Set;const o=typeof process==="object"&&!!process?process:{};const emitWarning=(e,t,s,r)=>{typeof o.emitWarning==="function"?o.emitWarning(e,t,s,r):console.error(`[${s}] ${t}: ${e}`)};let a=globalThis.AbortController;let c=globalThis.AbortSignal;if(typeof a==="undefined"){c=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(e,t){this._onabort.push(t)}};a=class AbortController{constructor(){warnACPolyfill()}signal=new c;abort(e){if(this.signal.aborted)return;this.signal.reason=e;this.signal.aborted=true;for(const t of this.signal._onabort){t(e)}this.signal.onabort?.(e)}};let e=o.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!e)return;e=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=e=>!r.has(e);const u=Symbol("type");const isPosInt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e);const getUintArray=e=>!isPosInt(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(e){super(e);this.fill(0)}}class Stack{heap;length;static#b=false;static create(e){const t=getUintArray(e);if(!t)return[];Stack.#b=true;const s=new Stack(e,t);Stack.#b=false;return s}constructor(e,t){if(!Stack.#b){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new t(e);this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class LRUCache{#y;#m;#g;#v;#_;#w;#x;#S;get perf(){return this.#S}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#k;#E;#O;#j;#A;#T;#P;#L;#F;#R;#C;#I;#D;#N;#M;#W;#B;#$;static unsafeExposeInternals(e){return{starts:e.#D,ttls:e.#N,sizes:e.#I,keyMap:e.#O,keyList:e.#j,valList:e.#A,next:e.#T,prev:e.#P,get head(){return e.#L},get tail(){return e.#F},free:e.#R,isBackgroundFetch:t=>e.#z(t),backgroundFetch:(t,s,r,o)=>e.#U(t,s,r,o),moveToTail:t=>e.#q(t),indexes:t=>e.#G(t),rindexes:t=>e.#V(t),isStale:t=>e.#H(t)}}get max(){return this.#y}get maxSize(){return this.#m}get calculatedSize(){return this.#E}get size(){return this.#k}get fetchMethod(){return this.#w}get memoMethod(){return this.#x}get dispose(){return this.#g}get onInsert(){return this.#v}get disposeAfter(){return this.#_}constructor(e){const{max:t=0,ttl:o,ttlResolution:a=1,ttlAutopurge:c,updateAgeOnGet:u,updateAgeOnHas:d,allowStale:h,dispose:f,onInsert:p,disposeAfter:y,noDisposeOnSet:g,noUpdateTTL:v,maxSize:_=0,maxEntrySize:w=0,sizeCalculation:x,fetchMethod:S,memoMethod:k,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:O,allowStaleOnFetchRejection:j,allowStaleOnFetchAbort:A,ignoreFetchAbort:T,perf:P}=e;if(P!==undefined){if(typeof P?.now!=="function"){throw new TypeError("perf option must have a now() method if specified")}}this.#S=P??s;if(t!==0&&!isPosInt(t)){throw new TypeError("max option must be a nonnegative integer")}const L=t?getUintArray(t):Array;if(!L){throw new Error("invalid max value: "+t)}this.#y=t;this.#m=_;this.maxEntrySize=w||this.#m;this.sizeCalculation=x;if(this.sizeCalculation){if(!this.#m&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(k!==undefined&&typeof k!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#x=k;if(S!==undefined&&typeof S!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#w=S;this.#W=!!S;this.#O=new Map;this.#j=new Array(t).fill(undefined);this.#A=new Array(t).fill(undefined);this.#T=new L(t);this.#P=new L(t);this.#L=0;this.#F=0;this.#R=Stack.create(t);this.#k=0;this.#E=0;if(typeof f==="function"){this.#g=f}if(typeof p==="function"){this.#v=p}if(typeof y==="function"){this.#_=y;this.#C=[]}else{this.#_=undefined;this.#C=undefined}this.#M=!!this.#g;this.#$=!!this.#v;this.#B=!!this.#_;this.noDisposeOnSet=!!g;this.noUpdateTTL=!!v;this.noDeleteOnFetchRejection=!!E;this.allowStaleOnFetchRejection=!!j;this.allowStaleOnFetchAbort=!!A;this.ignoreFetchAbort=!!T;if(this.maxEntrySize!==0){if(this.#m!==0){if(!isPosInt(this.#m)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#K()}this.allowStale=!!h;this.noDeleteOnStaleGet=!!O;this.updateAgeOnGet=!!u;this.updateAgeOnHas=!!d;this.ttlResolution=isPosInt(a)||a===0?a:1;this.ttlAutopurge=!!c;this.ttl=o||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#J()}if(this.#y===0&&this.ttl===0&&this.#m===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#y&&!this.#m){const e="LRU_CACHE_UNBOUNDED";if(shouldWarn(e)){r.add(e);const t="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(t,"UnboundedCacheWarning",e,LRUCache)}}}getRemainingTTL(e){return this.#O.has(e)?Infinity:0}#J(){const e=new ZeroArray(this.#y);const t=new ZeroArray(this.#y);this.#N=e;this.#D=t;this.#Y=(s,r,o=this.#S.now())=>{t[s]=r!==0?o:0;e[s]=r;if(r!==0&&this.ttlAutopurge){const e=setTimeout((()=>{if(this.#H(s)){this.#Q(this.#j[s],"expire")}}),r+1);if(e.unref){e.unref()}}};this.#Z=s=>{t[s]=e[s]!==0?this.#S.now():0};this.#X=(r,o)=>{if(e[o]){const a=e[o];const c=t[o];if(!a||!c)return;r.ttl=a;r.start=c;r.now=s||getNow();const u=r.now-c;r.remainingTTL=a-u}};let s=0;const getNow=()=>{const e=this.#S.now();if(this.ttlResolution>0){s=e;const t=setTimeout((()=>s=0),this.ttlResolution);if(t.unref){t.unref()}}return e};this.getRemainingTTL=r=>{const o=this.#O.get(r);if(o===undefined){return 0}const a=e[o];const c=t[o];if(!a||!c){return Infinity}const u=(s||getNow())-c;return a-u};this.#H=r=>{const o=t[r];const a=e[r];return!!a&&!!o&&(s||getNow())-o>a}}#Z=()=>{};#X=()=>{};#Y=()=>{};#H=()=>false;#K(){const e=new ZeroArray(this.#y);this.#E=0;this.#I=e;this.#ee=t=>{this.#E-=e[t];e[t]=0};this.#te=(e,t,s,r)=>{if(this.#z(t)){return 0}if(!isPosInt(s)){if(r){if(typeof r!=="function"){throw new TypeError("sizeCalculation must be a function")}s=r(t,e);if(!isPosInt(s)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return s};this.#ie=(t,s,r)=>{e[t]=s;if(this.#m){const s=this.#m-e[t];while(this.#E>s){this.#se(true)}}this.#E+=e[t];if(r){r.entrySize=s;r.totalCalculatedSize=this.#E}}}#ee=e=>{};#ie=(e,t,s)=>{};#te=(e,t,s,r)=>{if(s||r){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#G({allowStale:e=this.allowStale}={}){if(this.#k){for(let t=this.#F;true;){if(!this.#ne(t)){break}if(e||!this.#H(t)){yield t}if(t===this.#L){break}else{t=this.#P[t]}}}}*#V({allowStale:e=this.allowStale}={}){if(this.#k){for(let t=this.#L;true;){if(!this.#ne(t)){break}if(e||!this.#H(t)){yield t}if(t===this.#F){break}else{t=this.#T[t]}}}}#ne(e){return e!==undefined&&this.#O.get(this.#j[e])===e}*entries(){for(const e of this.#G()){if(this.#A[e]!==undefined&&this.#j[e]!==undefined&&!this.#z(this.#A[e])){yield[this.#j[e],this.#A[e]]}}}*rentries(){for(const e of this.#V()){if(this.#A[e]!==undefined&&this.#j[e]!==undefined&&!this.#z(this.#A[e])){yield[this.#j[e],this.#A[e]]}}}*keys(){for(const e of this.#G()){const t=this.#j[e];if(t!==undefined&&!this.#z(this.#A[e])){yield t}}}*rkeys(){for(const e of this.#V()){const t=this.#j[e];if(t!==undefined&&!this.#z(this.#A[e])){yield t}}}*values(){for(const e of this.#G()){const t=this.#A[e];if(t!==undefined&&!this.#z(this.#A[e])){yield this.#A[e]}}}*rvalues(){for(const e of this.#V()){const t=this.#A[e];if(t!==undefined&&!this.#z(this.#A[e])){yield this.#A[e]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const s of this.#G()){const r=this.#A[s];const o=this.#z(r)?r.__staleWhileFetching:r;if(o===undefined)continue;if(e(o,this.#j[s],this)){return this.get(this.#j[s],t)}}}forEach(e,t=this){for(const s of this.#G()){const r=this.#A[s];const o=this.#z(r)?r.__staleWhileFetching:r;if(o===undefined)continue;e.call(t,o,this.#j[s],this)}}rforEach(e,t=this){for(const s of this.#V()){const r=this.#A[s];const o=this.#z(r)?r.__staleWhileFetching:r;if(o===undefined)continue;e.call(t,o,this.#j[s],this)}}purgeStale(){let e=false;for(const t of this.#V({allowStale:true})){if(this.#H(t)){this.#Q(this.#j[t],"expire");e=true}}return e}info(e){const t=this.#O.get(e);if(t===undefined)return undefined;const s=this.#A[t];const r=this.#z(s)?s.__staleWhileFetching:s;if(r===undefined)return undefined;const o={value:r};if(this.#N&&this.#D){const e=this.#N[t];const s=this.#D[t];if(e&&s){const t=e-(this.#S.now()-s);o.ttl=t;o.start=Date.now()}}if(this.#I){o.size=this.#I[t]}return o}dump(){const e=[];for(const t of this.#G({allowStale:true})){const s=this.#j[t];const r=this.#A[t];const o=this.#z(r)?r.__staleWhileFetching:r;if(o===undefined||s===undefined)continue;const a={value:o};if(this.#N&&this.#D){a.ttl=this.#N[t];const e=this.#S.now()-this.#D[t];a.start=Math.floor(Date.now()-e)}if(this.#I){a.size=this.#I[t]}e.unshift([s,a])}return e}load(e){this.clear();for(const[t,s]of e){if(s.start){const e=Date.now()-s.start;s.start=this.#S.now()-e}this.set(t,s.value,s)}}set(e,t,s={}){if(t===undefined){this.delete(e);return this}const{ttl:r=this.ttl,start:o,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:u}=s;let{noUpdateTTL:d=this.noUpdateTTL}=s;const h=this.#te(e,t,s.size||0,c);if(this.maxEntrySize&&h>this.maxEntrySize){if(u){u.set="miss";u.maxEntrySizeExceeded=true}this.#Q(e,"set");return this}let f=this.#k===0?undefined:this.#O.get(e);if(f===undefined){f=this.#k===0?this.#F:this.#R.length!==0?this.#R.pop():this.#k===this.#y?this.#se(false):this.#k;this.#j[f]=e;this.#A[f]=t;this.#O.set(e,f);this.#T[this.#F]=f;this.#P[f]=this.#F;this.#F=f;this.#k++;this.#ie(f,h,u);if(u)u.set="add";d=false;if(this.#$){this.#v?.(t,e,"add")}}else{this.#q(f);const s=this.#A[f];if(t!==s){if(this.#W&&this.#z(s)){s.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t}=s;if(t!==undefined&&!a){if(this.#M){this.#g?.(t,e,"set")}if(this.#B){this.#C?.push([t,e,"set"])}}}else if(!a){if(this.#M){this.#g?.(s,e,"set")}if(this.#B){this.#C?.push([s,e,"set"])}}this.#ee(f);this.#ie(f,h,u);this.#A[f]=t;if(u){u.set="replace";const e=s&&this.#z(s)?s.__staleWhileFetching:s;if(e!==undefined)u.oldValue=e}}else if(u){u.set="update"}if(this.#$){this.onInsert?.(t,e,t===s?"update":"replace")}}if(r!==0&&!this.#N){this.#J()}if(this.#N){if(!d){this.#Y(f,r,o)}if(u)this.#X(u,f)}if(!a&&this.#B&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#_?.(...t)}}return this}pop(){try{while(this.#k){const e=this.#A[this.#L];this.#se(true);if(this.#z(e)){if(e.__staleWhileFetching){return e.__staleWhileFetching}}else if(e!==undefined){return e}}}finally{if(this.#B&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#_?.(...t)}}}}#se(e){const t=this.#L;const s=this.#j[t];const r=this.#A[t];if(this.#W&&this.#z(r)){r.__abortController.abort(new Error("evicted"))}else if(this.#M||this.#B){if(this.#M){this.#g?.(r,s,"evict")}if(this.#B){this.#C?.push([r,s,"evict"])}}this.#ee(t);if(e){this.#j[t]=undefined;this.#A[t]=undefined;this.#R.push(t)}if(this.#k===1){this.#L=this.#F=0;this.#R.length=0}else{this.#L=this.#T[t]}this.#O.delete(s);this.#k--;return t}has(e,t={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:r}=t;const o=this.#O.get(e);if(o!==undefined){const e=this.#A[o];if(this.#z(e)&&e.__staleWhileFetching===undefined){return false}if(!this.#H(o)){if(s){this.#Z(o)}if(r){r.has="hit";this.#X(r,o)}return true}else if(r){r.has="stale";this.#X(r,o)}}else if(r){r.has="miss"}return false}peek(e,t={}){const{allowStale:s=this.allowStale}=t;const r=this.#O.get(e);if(r===undefined||!s&&this.#H(r)){return}const o=this.#A[r];return this.#z(o)?o.__staleWhileFetching:o}#U(e,t,s,r){const o=t===undefined?undefined:this.#A[t];if(this.#z(o)){return o}const c=new a;const{signal:u}=s;u?.addEventListener("abort",(()=>c.abort(u.reason)),{signal:c.signal});const d={signal:c.signal,options:s,context:r};const cb=(r,o=false)=>{const{aborted:a}=c.signal;const u=s.ignoreFetchAbort&&r!==undefined;if(s.status){if(a&&!o){s.status.fetchAborted=true;s.status.fetchError=c.signal.reason;if(u)s.status.fetchAbortIgnored=true}else{s.status.fetchResolved=true}}if(a&&!u&&!o){return fetchFail(c.signal.reason)}const f=h;if(this.#A[t]===h){if(r===undefined){if(f.__staleWhileFetching!==undefined){this.#A[t]=f.__staleWhileFetching}else{this.#Q(e,"fetch")}}else{if(s.status)s.status.fetchUpdated=true;this.set(e,r,d.options)}}return r};const eb=e=>{if(s.status){s.status.fetchRejected=true;s.status.fetchError=e}return fetchFail(e)};const fetchFail=r=>{const{aborted:o}=c.signal;const a=o&&s.allowStaleOnFetchAbort;const u=a||s.allowStaleOnFetchRejection;const d=u||s.noDeleteOnFetchRejection;const f=h;if(this.#A[t]===h){const s=!d||f.__staleWhileFetching===undefined;if(s){this.#Q(e,"fetch")}else if(!a){this.#A[t]=f.__staleWhileFetching}}if(u){if(s.status&&f.__staleWhileFetching!==undefined){s.status.returnedStale=true}return f.__staleWhileFetching}else if(f.__returned===f){throw r}};const pcall=(t,r)=>{const a=this.#w?.(e,o,d);if(a&&a instanceof Promise){a.then((e=>t(e===undefined?undefined:e)),r)}c.signal.addEventListener("abort",(()=>{if(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort){t(undefined);if(s.allowStaleOnFetchAbort){t=e=>cb(e,true)}}}))};if(s.status)s.status.fetchDispatched=true;const h=new Promise(pcall).then(cb,eb);const f=Object.assign(h,{__abortController:c,__staleWhileFetching:o,__returned:undefined});if(t===undefined){this.set(e,f,{...d.options,status:undefined});t=this.#O.get(e)}else{this.#A[t]=f}return f}#z(e){if(!this.#W)return false;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof a}async fetch(e,t={}){const{allowStale:s=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:c=this.noDisposeOnSet,size:u=0,sizeCalculation:d=this.sizeCalculation,noUpdateTTL:h=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:v,forceRefresh:_=false,status:w,signal:x}=t;if(!this.#W){if(w)w.fetch="get";return this.get(e,{allowStale:s,updateAgeOnGet:r,noDeleteOnStaleGet:o,status:w})}const S={allowStale:s,updateAgeOnGet:r,noDeleteOnStaleGet:o,ttl:a,noDisposeOnSet:c,size:u,sizeCalculation:d,noUpdateTTL:h,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:g,ignoreFetchAbort:y,status:w,signal:x};let k=this.#O.get(e);if(k===undefined){if(w)w.fetch="miss";const t=this.#U(e,k,S,v);return t.__returned=t}else{const t=this.#A[k];if(this.#z(t)){const e=s&&t.__staleWhileFetching!==undefined;if(w){w.fetch="inflight";if(e)w.returnedStale=true}return e?t.__staleWhileFetching:t.__returned=t}const o=this.#H(k);if(!_&&!o){if(w)w.fetch="hit";this.#q(k);if(r){this.#Z(k)}if(w)this.#X(w,k);return t}const a=this.#U(e,k,S,v);const c=a.__staleWhileFetching!==undefined;const u=c&&s;if(w){w.fetch=o?"stale":"refresh";if(u&&o)w.returnedStale=true}return u?a.__staleWhileFetching:a.__returned=a}}async forceFetch(e,t={}){const s=await this.fetch(e,t);if(s===undefined)throw new Error("fetch() returned undefined");return s}memo(e,t={}){const s=this.#x;if(!s){throw new Error("no memoMethod provided to constructor")}const{context:r,forceRefresh:o,...a}=t;const c=this.get(e,a);if(!o&&c!==undefined)return c;const u=s(e,c,{options:a,context:r});this.set(e,u,a);return u}get(e,t={}){const{allowStale:s=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:a}=t;const c=this.#O.get(e);if(c!==undefined){const t=this.#A[c];const u=this.#z(t);if(a)this.#X(a,c);if(this.#H(c)){if(a)a.get="stale";if(!u){if(!o){this.#Q(e,"expire")}if(a&&s)a.returnedStale=true;return s?t:undefined}else{if(a&&s&&t.__staleWhileFetching!==undefined){a.returnedStale=true}return s?t.__staleWhileFetching:undefined}}else{if(a)a.get="hit";if(u){return t.__staleWhileFetching}this.#q(c);if(r){this.#Z(c)}return t}}else if(a){a.get="miss"}}#re(e,t){this.#P[t]=e;this.#T[e]=t}#q(e){if(e!==this.#F){if(e===this.#L){this.#L=this.#T[e]}else{this.#re(this.#P[e],this.#T[e])}this.#re(this.#F,e);this.#F=e}}delete(e){return this.#Q(e,"delete")}#Q(e,t){let s=false;if(this.#k!==0){const r=this.#O.get(e);if(r!==undefined){s=true;if(this.#k===1){this.#oe(t)}else{this.#ee(r);const s=this.#A[r];if(this.#z(s)){s.__abortController.abort(new Error("deleted"))}else if(this.#M||this.#B){if(this.#M){this.#g?.(s,e,t)}if(this.#B){this.#C?.push([s,e,t])}}this.#O.delete(e);this.#j[r]=undefined;this.#A[r]=undefined;if(r===this.#F){this.#F=this.#P[r]}else if(r===this.#L){this.#L=this.#T[r]}else{const e=this.#P[r];this.#T[e]=this.#T[r];const t=this.#T[r];this.#P[t]=this.#P[r]}this.#k--;this.#R.push(r)}}}if(this.#B&&this.#C?.length){const e=this.#C;let t;while(t=e?.shift()){this.#_?.(...t)}}return s}clear(){return this.#oe("delete")}#oe(e){for(const t of this.#V({allowStale:true})){const s=this.#A[t];if(this.#z(s)){s.__abortController.abort(new Error("deleted"))}else{const r=this.#j[t];if(this.#M){this.#g?.(s,r,e)}if(this.#B){this.#C?.push([s,r,e])}}}this.#O.clear();this.#A.fill(undefined);this.#j.fill(undefined);if(this.#N&&this.#D){this.#N.fill(0);this.#D.fill(0)}if(this.#I){this.#I.fill(0)}this.#L=0;this.#F=0;this.#R.length=0;this.#E=0;this.#k=0;if(this.#B&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#_?.(...t)}}}}t.LRUCache=LRUCache},9361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertValidPattern=void 0;const s=1024*64;const assertValidPattern=e=>{if(typeof e!=="string"){throw new TypeError("invalid pattern")}if(e.length>s){throw new TypeError("pattern is too long")}};t.assertValidPattern=assertValidPattern},6403:(e,t,s)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:true});t.AST=void 0;const o=s(5242);const a=s(5755);const c=new Set(["!","?","+","*","@"]);const isExtglobType=e=>c.has(e);const isExtglobAST=e=>isExtglobType(e.type);const u=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]);const d=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]);const h=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]);const f=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]);const p="(?!(?:^|/)\\.\\.?(?:$|/))";const y="(?!\\.)";const g=new Set(["[","."]);const v=new Set(["..","."]);const _=new Set("().*{}+?[]^$\\!");const regExpEscape=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const w="[^/]";const x=w+"*?";const S=w+"+?";let k=0;class AST{type;#ae;#le;#ce=false;#ue=[];#de;#he;#fe;#pe=false;#be;#ye;#me=false;id=++k;get depth(){return(this.#de?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#ae.id,parent:this.#de?.id,depth:this.depth,partsLength:this.#ue.length,parts:this.#ue}}constructor(e,t,s={}){this.type=e;if(e)this.#le=true;this.#de=t;this.#ae=this.#de?this.#de.#ae:this;this.#be=this.#ae===this?s:this.#ae.#be;this.#fe=this.#ae===this?[]:this.#ae.#fe;if(e==="!"&&!this.#ae.#pe)this.#fe.push(this);this.#he=this.#de?this.#de.#ue.length:0}get hasMagic(){if(this.#le!==undefined)return this.#le;for(const e of this.#ue){if(typeof e==="string")continue;if(e.type||e.hasMagic)return this.#le=true}return this.#le}toString(){if(this.#ye!==undefined)return this.#ye;if(!this.type){return this.#ye=this.#ue.map((e=>String(e))).join("")}else{return this.#ye=this.type+"("+this.#ue.map((e=>String(e))).join("|")+")"}}#ge(){if(this!==this.#ae)throw new Error("should only call on root");if(this.#pe)return this;this.toString();this.#pe=true;let e;while(e=this.#fe.pop()){if(e.type!=="!")continue;let t=e;let s=t.#de;while(s){for(let r=t.#he+1;!s.type&&r<s.#ue.length;r++){for(const t of e.#ue){if(typeof t==="string"){throw new Error("string part in extglob AST??")}t.copyIn(s.#ue[r])}}t=s;s=t.#de}}return this}push(...e){for(const t of e){if(t==="")continue;if(typeof t!=="string"&&!(t instanceof r&&t.#de===this)){throw new Error("invalid part: "+t)}this.#ue.push(t)}}toJSON(){const e=this.type===null?this.#ue.slice().map((e=>typeof e==="string"?e:e.toJSON())):[this.type,...this.#ue.map((e=>e.toJSON()))];if(this.isStart()&&!this.type)e.unshift([]);if(this.isEnd()&&(this===this.#ae||this.#ae.#pe&&this.#de?.type==="!")){e.push({})}return e}isStart(){if(this.#ae===this)return true;if(!this.#de?.isStart())return false;if(this.#he===0)return true;const e=this.#de;for(let t=0;t<this.#he;t++){const s=e.#ue[t];if(!(s instanceof r&&s.type==="!")){return false}}return true}isEnd(){if(this.#ae===this)return true;if(this.#de?.type==="!")return true;if(!this.#de?.isEnd())return false;if(!this.type)return this.#de?.isEnd();const e=this.#de?this.#de.#ue.length:0;return this.#he===e-1}copyIn(e){if(typeof e==="string")this.push(e);else this.push(e.clone(this))}clone(e){const t=new r(this.type,e);for(const e of this.#ue){t.copyIn(e)}return t}static#ve(e,t,s,o,a){const c=o.maxExtglobRecursion??2;let u=false;let d=false;let h=-1;let f=false;if(t.type===null){let p=s;let y="";while(p<e.length){const s=e.charAt(p++);if(u||s==="\\"){u=!u;y+=s;continue}if(d){if(p===h+1){if(s==="^"||s==="!"){f=true}}else if(s==="]"&&!(p===h+2&&f)){d=false}y+=s;continue}else if(s==="["){d=true;h=p;f=false;y+=s;continue}const g=!o.noext&&isExtglobType(s)&&e.charAt(p)==="("&&a<=c;if(g){t.push(y);y="";const c=new r(s,t);p=r.#ve(e,c,p,o,a+1);t.push(c);continue}y+=s}t.push(y);return p}let p=s+1;let y=new r(null,t);const g=[];let v="";while(p<e.length){const s=e.charAt(p++);if(u||s==="\\"){u=!u;v+=s;continue}if(d){if(p===h+1){if(s==="^"||s==="!"){f=true}}else if(s==="]"&&!(p===h+2&&f)){d=false}v+=s;continue}else if(s==="["){d=true;h=p;f=false;v+=s;continue}const _=!o.noext&&isExtglobType(s)&&e.charAt(p)==="("&&(a<=c||t&&t.#_e(s));if(_){const c=t&&t.#_e(s)?0:1;y.push(v);v="";const u=new r(s,y);y.push(u);p=r.#ve(e,u,p,o,a+c);continue}if(s==="|"){y.push(v);v="";g.push(y);y=new r(null,t);continue}if(s===")"){if(v===""&&t.#ue.length===0){t.#me=true}y.push(v);v="";t.push(...g,y);return p}v+=s}t.type=null;t.#le=undefined;t.#ue=[e.substring(s-1)];return p}#we(e){return this.#xe(e,d)}#xe(e,t=u){if(!e||typeof e!=="object"||e.type!==null||e.#ue.length!==1||this.type===null){return false}const s=e.#ue[0];if(!s||typeof s!=="object"||s.type===null){return false}return this.#_e(s.type,t)}#_e(e,t=h){return!!t.get(this.type)?.includes(e)}#Se(e,t){const s=e.#ue[0];const o=new r(null,s,this.options);o.#ue.push("");s.push(o);this.#ke(e,t)}#ke(e,t){const s=e.#ue[0];this.#ue.splice(t,1,...s.#ue);for(const e of s.#ue){if(typeof e==="object")e.#de=this}this.#ye=undefined}#Ee(e){const t=f.get(this.type);return!!t?.has(e)}#Oe(e){if(!e||typeof e!=="object"||e.type!==null||e.#ue.length!==1||this.type===null||this.#ue.length!==1){return false}const t=e.#ue[0];if(!t||typeof t!=="object"||t.type===null){return false}return this.#Ee(t.type)}#je(e){const t=f.get(this.type);const s=e.#ue[0];const r=t?.get(s.type);if(!r)return false;this.#ue=s.#ue;for(const e of this.#ue){if(typeof e==="object"){e.#de=this}}this.type=r;this.#ye=undefined;this.#me=false}static fromGlob(e,t={}){const s=new r(null,undefined,t);r.#ve(e,s,0,t,0);return s}toMMPattern(){if(this!==this.#ae)return this.#ae.toMMPattern();const e=this.toString();const[t,s,r,o]=this.toRegExpSource();const a=r||this.#le||this.#be.nocase&&!this.#be.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase();if(!a){return s}const c=(this.#be.nocase?"i":"")+(o?"u":"");return Object.assign(new RegExp(`^${t}$`,c),{_src:t,_glob:e})}get options(){return this.#be}toRegExpSource(e){const t=e??!!this.#be.dot;if(this.#ae===this){this.#Ae();this.#ge()}if(!isExtglobAST(this)){const s=this.isStart()&&this.isEnd()&&!this.#ue.some((e=>typeof e!=="string"));const o=this.#ue.map((t=>{const[o,a,c,u]=typeof t==="string"?r.#Te(t,this.#le,s):t.toRegExpSource(e);this.#le=this.#le||c;this.#ce=this.#ce||u;return o})).join("");let c="";if(this.isStart()){if(typeof this.#ue[0]==="string"){const s=this.#ue.length===1&&v.has(this.#ue[0]);if(!s){const s=g;const r=t&&s.has(o.charAt(0))||o.startsWith("\\.")&&s.has(o.charAt(2))||o.startsWith("\\.\\.")&&s.has(o.charAt(4));const a=!t&&!e&&s.has(o.charAt(0));c=r?p:a?y:""}}}let u="";if(this.isEnd()&&this.#ae.#pe&&this.#de?.type==="!"){u="(?:$|\\/)"}const d=c+o+u;return[d,(0,a.unescape)(o),this.#le=!!this.#le,this.#ce]}const s=this.type==="*"||this.type==="+";const o=this.type==="!"?"(?:(?!(?:":"(?:";let c=this.#Pe(t);if(this.isStart()&&this.isEnd()&&!c&&this.type!=="!"){const e=this.toString();const t=this;t.#ue=[e];t.type=null;t.#le=undefined;return[e,(0,a.unescape)(this.toString()),false,false]}let u=!s||e||t||!y?"":this.#Pe(true);if(u===c){u=""}if(u){c=`(?:${c})(?:${u})*?`}let d="";if(this.type==="!"&&this.#me){d=(this.isStart()&&!t?y:"")+S}else{const s=this.type==="!"?"))"+(this.isStart()&&!t&&!e?y:"")+x+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&u?")":this.type==="*"&&u?`)?`:`)${this.type}`;d=o+c+s}return[d,(0,a.unescape)(c),this.#le=!!this.#le,this.#ce]}#Ae(){if(!isExtglobAST(this)){for(const e of this.#ue){if(typeof e==="object"){e.#Ae()}}}else{let e=0;let t=false;do{t=true;for(let e=0;e<this.#ue.length;e++){const s=this.#ue[e];if(typeof s==="object"){s.#Ae();if(this.#xe(s)){t=false;this.#ke(s,e)}else if(this.#we(s)){t=false;this.#Se(s,e)}else if(this.#Oe(s)){t=false;this.#je(s)}}}}while(!t&&++e<10)}this.#ye=undefined}#Pe(e){return this.#ue.map((t=>{if(typeof t==="string"){throw new Error("string type in extglob ast??")}const[s,r,o,a]=t.toRegExpSource(e);this.#ce=this.#ce||a;return s})).filter((e=>!(this.isStart()&&this.isEnd())||!!e)).join("|")}static#Te(e,t,s=false){let r=false;let c="";let u=false;let d=false;for(let a=0;a<e.length;a++){const h=e.charAt(a);if(r){r=false;c+=(_.has(h)?"\\":"")+h;continue}if(h==="*"){if(d)continue;d=true;c+=s&&/^[*]+$/.test(e)?S:x;t=true;continue}else{d=false}if(h==="\\"){if(a===e.length-1){c+="\\\\"}else{r=true}continue}if(h==="["){const[s,r,d,h]=(0,o.parseClass)(e,a);if(d){c+=s;u=u||r;a+=d-1;t=t||h;continue}}if(h==="?"){c+=w;t=true;continue}c+=regExpEscape(h)}return[c,(0,a.unescape)(e),!!t,u]}}t.AST=AST;r=AST},5242:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseClass=void 0;const s={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",true],"[:alpha:]":["\\p{L}\\p{Nl}",true],"[:ascii:]":["\\x"+"00-\\x"+"7f",false],"[:blank:]":["\\p{Zs}\\t",true],"[:cntrl:]":["\\p{Cc}",true],"[:digit:]":["\\p{Nd}",true],"[:graph:]":["\\p{Z}\\p{C}",true,true],"[:lower:]":["\\p{Ll}",true],"[:print:]":["\\p{C}",true],"[:punct:]":["\\p{P}",true],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",true],"[:upper:]":["\\p{Lu}",true],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",true],"[:xdigit:]":["A-Fa-f0-9",false]};const braceEscape=e=>e.replace(/[[\]\\-]/g,"\\$&");const regexpEscape=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const rangesToString=e=>e.join("");const parseClass=(e,t)=>{const r=t;if(e.charAt(r)!=="["){throw new Error("not in a brace expression")}const o=[];const a=[];let c=r+1;let u=false;let d=false;let h=false;let f=false;let p=r;let y="";e:while(c<e.length){const t=e.charAt(c);if((t==="!"||t==="^")&&c===r+1){f=true;c++;continue}if(t==="]"&&u&&!h){p=c+1;break}u=true;if(t==="\\"){if(!h){h=true;c++;continue}}if(t==="["&&!h){for(const[t,[u,h,f]]of Object.entries(s)){if(e.startsWith(t,c)){if(y){return["$.",false,e.length-r,true]}c+=t.length;if(f)a.push(u);else o.push(u);d=d||h;continue e}}}h=false;if(y){if(t>y){o.push(braceEscape(y)+"-"+braceEscape(t))}else if(t===y){o.push(braceEscape(t))}y="";c++;continue}if(e.startsWith("-]",c+1)){o.push(braceEscape(t+"-"));c+=2;continue}if(e.startsWith("-",c+1)){y=t;c+=2;continue}o.push(braceEscape(t));c++}if(p<c){return["",false,0,false]}if(!o.length&&!a.length){return["$.",false,e.length-r,true]}if(a.length===0&&o.length===1&&/^\\?.$/.test(o[0])&&!f){const e=o[0].length===2?o[0].slice(-1):o[0];return[regexpEscape(e),false,p-r,false]}const g="["+(f?"^":"")+rangesToString(o)+"]";const v="["+(f?"":"^")+rangesToString(a)+"]";const _=o.length&&a.length?"("+g+"|"+v+")":o.length?g:v;return[_,d,p-r,true]};t.parseClass=parseClass},4840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.escape=void 0;const escape=(e,{windowsPathsNoEscape:t=false,magicalBraces:s=false}={})=>{if(s){return t?e.replace(/[?*()[\]{}]/g,"[$&]"):e.replace(/[?*()[\]\\{}]/g,"\\$&")}return t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&")};t.escape=escape},7955:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unescape=t.escape=t.AST=t.Minimatch=t.match=t.makeRe=t.braceExpand=t.defaults=t.filter=t.GLOBSTAR=t.sep=t.minimatch=void 0;const r=s(1421);const o=s(9361);const a=s(6403);const c=s(4840);const u=s(5755);const minimatch=(e,t,s={})=>{(0,o.assertValidPattern)(t);if(!s.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,s).match(e)};t.minimatch=minimatch;const d=/^\*+([^+@!?\*\[\(]*)$/;const starDotExtTest=e=>t=>!t.startsWith(".")&&t.endsWith(e);const starDotExtTestDot=e=>t=>t.endsWith(e);const starDotExtTestNocase=e=>{e=e.toLowerCase();return t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)};const starDotExtTestNocaseDot=e=>{e=e.toLowerCase();return t=>t.toLowerCase().endsWith(e)};const h=/^\*+\.\*+$/;const starDotStarTest=e=>!e.startsWith(".")&&e.includes(".");const starDotStarTestDot=e=>e!=="."&&e!==".."&&e.includes(".");const f=/^\.\*+$/;const dotStarTest=e=>e!=="."&&e!==".."&&e.startsWith(".");const p=/^\*+$/;const starTest=e=>e.length!==0&&!e.startsWith(".");const starTestDot=e=>e.length!==0&&e!=="."&&e!=="..";const y=/^\?+([^+@!?\*\[\(]*)?$/;const qmarksTestNocase=([e,t=""])=>{const s=qmarksTestNoExt([e]);if(!t)return s;t=t.toLowerCase();return e=>s(e)&&e.toLowerCase().endsWith(t)};const qmarksTestNocaseDot=([e,t=""])=>{const s=qmarksTestNoExtDot([e]);if(!t)return s;t=t.toLowerCase();return e=>s(e)&&e.toLowerCase().endsWith(t)};const qmarksTestDot=([e,t=""])=>{const s=qmarksTestNoExtDot([e]);return!t?s:e=>s(e)&&e.endsWith(t)};const qmarksTest=([e,t=""])=>{const s=qmarksTestNoExt([e]);return!t?s:e=>s(e)&&e.endsWith(t)};const qmarksTestNoExt=([e])=>{const t=e.length;return e=>e.length===t&&!e.startsWith(".")};const qmarksTestNoExtDot=([e])=>{const t=e.length;return e=>e.length===t&&e!=="."&&e!==".."};const g=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";const v={win32:{sep:"\\"},posix:{sep:"/"}};t.sep=g==="win32"?v.win32.sep:v.posix.sep;t.minimatch.sep=t.sep;t.GLOBSTAR=Symbol("globstar **");t.minimatch.GLOBSTAR=t.GLOBSTAR;const _="[^/]";const w=_+"*?";const x="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const S="(?:(?!(?:\\/|^)\\.).)*?";const filter=(e,s={})=>r=>(0,t.minimatch)(r,e,s);t.filter=filter;t.minimatch.filter=t.filter;const ext=(e,t={})=>Object.assign({},e,t);const defaults=e=>{if(!e||typeof e!=="object"||!Object.keys(e).length){return t.minimatch}const s=t.minimatch;const m=(t,r,o={})=>s(t,r,ext(e,o));return Object.assign(m,{Minimatch:class Minimatch extends s.Minimatch{constructor(t,s={}){super(t,ext(e,s))}static defaults(t){return s.defaults(ext(e,t)).Minimatch}},AST:class AST extends s.AST{constructor(t,s,r={}){super(t,s,ext(e,r))}static fromGlob(t,r={}){return s.AST.fromGlob(t,ext(e,r))}},unescape:(t,r={})=>s.unescape(t,ext(e,r)),escape:(t,r={})=>s.escape(t,ext(e,r)),filter:(t,r={})=>s.filter(t,ext(e,r)),defaults:t=>s.defaults(ext(e,t)),makeRe:(t,r={})=>s.makeRe(t,ext(e,r)),braceExpand:(t,r={})=>s.braceExpand(t,ext(e,r)),match:(t,r,o={})=>s.match(t,r,ext(e,o)),sep:s.sep,GLOBSTAR:t.GLOBSTAR})};t.defaults=defaults;t.minimatch.defaults=t.defaults;const braceExpand=(e,t={})=>{(0,o.assertValidPattern)(e);if(t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)){return[e]}return(0,r.expand)(e,{max:t.braceExpandMax})};t.braceExpand=braceExpand;t.minimatch.braceExpand=t.braceExpand;const makeRe=(e,t={})=>new Minimatch(e,t).makeRe();t.makeRe=makeRe;t.minimatch.makeRe=t.makeRe;const match=(e,t,s={})=>{const r=new Minimatch(t,s);e=e.filter((e=>r.match(e)));if(r.options.nonull&&!e.length){e.push(t)}return e};t.match=match;t.minimatch.match=t.match;const k=/[?*]|[+@!]\(.*?\)|\[|\]/;const regExpEscape=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Minimatch{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){(0,o.assertValidPattern)(e);t=t||{};this.options=t;this.maxGlobstarRecursion=t.maxGlobstarRecursion??200;this.pattern=e;this.platform=t.platform||g;this.isWindows=this.platform==="win32";const s="allowWindow"+"sEscape";this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t[s]===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.preserveMultipleSlashes=!!t.preserveMultipleSlashes;this.regexp=null;this.negate=false;this.nonegate=!!t.nonegate;this.comment=false;this.empty=false;this.partial=!!t.partial;this.nocase=!!this.options.nocase;this.windowsNoMagicRoot=t.windowsNoMagicRoot!==undefined?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase);this.globSet=[];this.globParts=[];this.set=[];this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1){return true}for(const e of this.set){for(const t of e){if(typeof t!=="string")return true}}return false}debug(...e){}make(){const e=this.pattern;const t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();this.globSet=[...new Set(this.braceExpand())];if(t.debug){this.debug=(...e)=>console.error(...e)}this.debug(this.pattern,this.globSet);const s=this.globSet.map((e=>this.slashSplit(e)));this.globParts=this.preprocess(s);this.debug(this.pattern,this.globParts);let r=this.globParts.map(((e,t,s)=>{if(this.isWindows&&this.windowsNoMagicRoot){const t=e[0]===""&&e[1]===""&&(e[2]==="?"||!k.test(e[2]))&&!k.test(e[3]);const s=/^[a-z]:/i.test(e[0]);if(t){return[...e.slice(0,4),...e.slice(4).map((e=>this.parse(e)))]}else if(s){return[e[0],...e.slice(1).map((e=>this.parse(e)))]}}return e.map((e=>this.parse(e)))}));this.debug(this.pattern,r);this.set=r.filter((e=>e.indexOf(false)===-1));if(this.isWindows){for(let e=0;e<this.set.length;e++){const t=this.set[e];if(t[0]===""&&t[1]===""&&this.globParts[e][2]==="?"&&typeof t[3]==="string"&&/^[a-z]:$/i.test(t[3])){t[2]="?"}}}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar){for(let t=0;t<e.length;t++){for(let s=0;s<e[t].length;s++){if(e[t][s]==="**"){e[t][s]="*"}}}}const{optimizationLevel:t=1}=this.options;if(t>=2){e=this.firstPhasePreProcess(e);e=this.secondPhasePreProcess(e)}else if(t>=1){e=this.levelOneOptimize(e)}else{e=this.adjascentGlobstarOptimize(e)}return e}adjascentGlobstarOptimize(e){return e.map((e=>{let t=-1;while(-1!==(t=e.indexOf("**",t+1))){let s=t;while(e[s+1]==="**"){s++}if(s!==t){e.splice(t,s-t)}}return e}))}levelOneOptimize(e){return e.map((e=>{e=e.reduce(((e,t)=>{const s=e[e.length-1];if(t==="**"&&s==="**"){return e}if(t===".."){if(s&&s!==".."&&s!=="."&&s!=="**"){e.pop();return e}}e.push(t);return e}),[]);return e.length===0?[""]:e}))}levelTwoFileOptimize(e){if(!Array.isArray(e)){e=this.slashSplit(e)}let t=false;do{t=false;if(!this.preserveMultipleSlashes){for(let s=1;s<e.length-1;s++){const r=e[s];if(s===1&&r===""&&e[0]==="")continue;if(r==="."||r===""){t=true;e.splice(s,1);s--}}if(e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")){t=true;e.pop()}}let s=0;while(-1!==(s=e.indexOf("..",s+1))){const r=e[s-1];if(r&&r!=="."&&r!==".."&&r!=="**"){t=true;e.splice(s-1,2);s-=2}}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=false;do{t=false;for(let s of e){let r=-1;while(-1!==(r=s.indexOf("**",r+1))){let o=r;while(s[o+1]==="**"){o++}if(o>r){s.splice(r+1,o-r)}let a=s[r+1];const c=s[r+2];const u=s[r+3];if(a!=="..")continue;if(!c||c==="."||c===".."||!u||u==="."||u===".."){continue}t=true;s.splice(r,1);const d=s.slice(0);d[r]="**";e.push(d);r--}if(!this.preserveMultipleSlashes){for(let e=1;e<s.length-1;e++){const r=s[e];if(e===1&&r===""&&s[0]==="")continue;if(r==="."||r===""){t=true;s.splice(e,1);e--}}if(s[0]==="."&&s.length===2&&(s[1]==="."||s[1]==="")){t=true;s.pop()}}let o=0;while(-1!==(o=s.indexOf("..",o+1))){const e=s[o-1];if(e&&e!=="."&&e!==".."&&e!=="**"){t=true;const e=o===1&&s[o+1]==="**";const r=e?["."]:[];s.splice(o-1,2,...r);if(s.length===0)s.push("");o-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++){for(let s=t+1;s<e.length;s++){const r=this.partsMatch(e[t],e[s],!this.preserveMultipleSlashes);if(r){e[t]=[];e[s]=r;break}}}return e.filter((e=>e.length))}partsMatch(e,t,s=false){let r=0;let o=0;let a=[];let c="";while(r<e.length&&o<t.length){if(e[r]===t[o]){a.push(c==="b"?t[o]:e[r]);r++;o++}else if(s&&e[r]==="**"&&t[o]===e[r+1]){a.push(e[r]);r++}else if(s&&t[o]==="**"&&e[r]===t[o+1]){a.push(t[o]);o++}else if(e[r]==="*"&&t[o]&&(this.options.dot||!t[o].startsWith("."))&&t[o]!=="**"){if(c==="b")return false;c="a";a.push(e[r]);r++;o++}else if(t[o]==="*"&&e[r]&&(this.options.dot||!e[r].startsWith("."))&&e[r]!=="**"){if(c==="a")return false;c="b";a.push(t[o]);r++;o++}else{return false}}return e.length===t.length&&a}parseNegate(){if(this.nonegate)return;const e=this.pattern;let t=false;let s=0;for(let r=0;r<e.length&&e.charAt(r)==="!";r++){t=!t;s++}if(s)this.pattern=e.slice(s);this.negate=t}matchOne(e,s,r=false){let o=0;let a=0;if(this.isWindows){const t=typeof e[0]==="string"&&/^[a-z]:$/i.test(e[0]);const r=!t&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]);const c=typeof s[0]==="string"&&/^[a-z]:$/i.test(s[0]);const u=!c&&s[0]===""&&s[1]===""&&s[2]==="?"&&typeof s[3]==="string"&&/^[a-z]:$/i.test(s[3]);const d=r?3:t?0:undefined;const h=u?3:c?0:undefined;if(typeof d==="number"&&typeof h==="number"){const[t,r]=[e[d],s[h]];if(t.toLowerCase()===r.toLowerCase()){s[h]=t;a=h;o=d}}}const{optimizationLevel:c=1}=this.options;if(c>=2){e=this.levelTwoFileOptimize(e)}if(s.includes(t.GLOBSTAR)){return this.#Le(e,s,r,o,a)}return this.#Fe(e,s,r,o,a)}#Le(e,s,r,o,a){const c=s.indexOf(t.GLOBSTAR,a);const u=s.lastIndexOf(t.GLOBSTAR);const[d,h,f]=r?[s.slice(a,c),s.slice(c+1),[]]:[s.slice(a,c),s.slice(c+1,u),s.slice(u+1)];if(d.length){const t=e.slice(o,o+d.length);if(!this.#Fe(t,d,r,0,0)){return false}o+=d.length;a+=d.length}let p=0;if(f.length){if(f.length+o>e.length)return false;let t=e.length-f.length;if(this.#Fe(e,f,r,t,0)){p=f.length}else{if(e[e.length-1]!==""||o+f.length===e.length){return false}t--;if(!this.#Fe(e,f,r,t,0)){return false}p=f.length+1}}if(!h.length){let t=!!p;for(let s=o;s<e.length-p;s++){const r=String(e[s]);t=true;if(r==="."||r===".."||!this.options.dot&&r.startsWith(".")){return false}}return r||t}const y=[[[],0]];let g=y[0];let v=0;const _=[0];for(const e of h){if(e===t.GLOBSTAR){_.push(v);g=[[],0];y.push(g)}else{g[0].push(e);v++}}let w=y.length-1;const x=e.length-p;for(const e of y){e[1]=x-(_[w--]+e[0].length)}return!!this.#Re(e,y,o,0,r,0,!!p)}#Re(e,t,s,r,o,a,c){const u=t[r];if(!u){for(let t=s;t<e.length;t++){c=true;const s=e[t];if(s==="."||s===".."||!this.options.dot&&s.startsWith(".")){return false}}return c}const[d,h]=u;while(s<=h){const u=this.#Fe(e.slice(0,s+d.length),d,o,s,0);if(u&&a<this.maxGlobstarRecursion){const u=this.#Re(e,t,s+d.length,r+1,o,a+1,c);if(u!==false){return u}}const h=e[s];if(h==="."||h===".."||!this.options.dot&&h.startsWith(".")){return false}s++}return o||null}#Fe(e,s,r,o,a){let c;let u;let d;let h;for(c=o,u=a,h=e.length,d=s.length;c<h&&u<d;c++,u++){this.debug("matchOne loop");let r=s[u];let o=e[c];this.debug(s,r,o);if(r===false||r===t.GLOBSTAR){return false}let a;if(typeof r==="string"){a=o===r;this.debug("string match",r,o,a)}else{a=r.test(o);this.debug("pattern match",r,o,a)}if(!a)return false}if(c===h&&u===d){return true}else if(c===h){return r}else if(u===d){return c===h-1&&e[c]===""}else{throw new Error("wtf?")}}braceExpand(){return(0,t.braceExpand)(this.pattern,this.options)}parse(e){(0,o.assertValidPattern)(e);const s=this.options;if(e==="**")return t.GLOBSTAR;if(e==="")return"";let r;let c=null;if(r=e.match(p)){c=s.dot?starTestDot:starTest}else if(r=e.match(d)){c=(s.nocase?s.dot?starDotExtTestNocaseDot:starDotExtTestNocase:s.dot?starDotExtTestDot:starDotExtTest)(r[1])}else if(r=e.match(y)){c=(s.nocase?s.dot?qmarksTestNocaseDot:qmarksTestNocase:s.dot?qmarksTestDot:qmarksTest)(r)}else if(r=e.match(h)){c=s.dot?starDotStarTestDot:starDotStarTest}else if(r=e.match(f)){c=dotStarTest}const u=a.AST.fromGlob(e,this.options).toMMPattern();if(c&&typeof u==="object"){Reflect.defineProperty(u,"test",{value:c})}return u}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const e=this.set;if(!e.length){this.regexp=false;return this.regexp}const s=this.options;const r=s.noglobstar?w:s.dot?x:S;const o=new Set(s.nocase?["i"]:[]);let a=e.map((e=>{const s=e.map((e=>{if(e instanceof RegExp){for(const t of e.flags.split(""))o.add(t)}return typeof e==="string"?regExpEscape(e):e===t.GLOBSTAR?t.GLOBSTAR:e._src}));s.forEach(((e,o)=>{const a=s[o+1];const c=s[o-1];if(e!==t.GLOBSTAR||c===t.GLOBSTAR){return}if(c===undefined){if(a!==undefined&&a!==t.GLOBSTAR){s[o+1]="(?:\\/|"+r+"\\/)?"+a}else{s[o]=r}}else if(a===undefined){s[o-1]=c+"(?:\\/|\\/"+r+")?"}else if(a!==t.GLOBSTAR){s[o-1]=c+"(?:\\/|\\/"+r+"\\/)"+a;s[o+1]=t.GLOBSTAR}}));const a=s.filter((e=>e!==t.GLOBSTAR));if(this.partial&&a.length>=1){const e=[];for(let t=1;t<=a.length;t++){e.push(a.slice(0,t).join("/"))}return"(?:"+e.join("|")+")"}return a.join("/")})).join("|");const[c,u]=e.length>1?["(?:",")"]:["",""];a="^"+c+a+u+"$";if(this.partial){a="^(?:\\/|"+c+a.slice(1,-1)+u+")$"}if(this.negate)a="^(?!"+a+").+$";try{this.regexp=new RegExp(a,[...o].join(""))}catch(e){this.regexp=false}return this.regexp}slashSplit(e){if(this.preserveMultipleSlashes){return e.split("/")}else if(this.isWindows&&/^\/\/[^\/]+/.test(e)){return["",...e.split(/\/+/)]}else{return e.split(/\/+/)}}match(e,t=this.partial){this.debug("match",e,this.pattern);if(this.comment){return false}if(this.empty){return e===""}if(e==="/"&&t){return true}const s=this.options;if(this.isWindows){e=e.split("\\").join("/")}const r=this.slashSplit(e);this.debug(this.pattern,"split",r);const o=this.set;this.debug(this.pattern,"set",o);let a=r[r.length-1];if(!a){for(let e=r.length-2;!a&&e>=0;e--){a=r[e]}}for(let e=0;e<o.length;e++){const c=o[e];let u=r;if(s.matchBase&&c.length===1){u=[a]}const d=this.matchOne(u,c,t);if(d){if(s.flipNegate){return true}return!this.negate}}if(s.flipNegate){return false}return this.negate}static defaults(e){return t.minimatch.defaults(e).Minimatch}}t.Minimatch=Minimatch;var E=s(6403);Object.defineProperty(t,"AST",{enumerable:true,get:function(){return E.AST}});var O=s(4840);Object.defineProperty(t,"escape",{enumerable:true,get:function(){return O.escape}});var j=s(5755);Object.defineProperty(t,"unescape",{enumerable:true,get:function(){return j.unescape}});t.minimatch.AST=a.AST;t.minimatch.Minimatch=Minimatch;t.minimatch.escape=c.escape;t.minimatch.unescape=u.unescape},5755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unescape=void 0;const unescape=(e,{windowsPathsNoEscape:t=false,magicalBraces:s=true}={})=>{if(s){return t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")}return t?e.replace(/\[([^\/\\{}])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,"$1$2").replace(/\\([^\/{}])/g,"$1")};t.unescape=unescape},6222:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Minipass=t.isWritable=t.isReadable=t.isStream=void 0;const o=typeof process==="object"&&process?process:{stdout:null,stderr:null};const a=s(8474);const c=r(s(7075));const u=s(6193);const isStream=e=>!!e&&typeof e==="object"&&(e instanceof Minipass||e instanceof c.default||(0,t.isReadable)(e)||(0,t.isWritable)(e));t.isStream=isStream;const isReadable=e=>!!e&&typeof e==="object"&&e instanceof a.EventEmitter&&typeof e.pipe==="function"&&e.pipe!==c.default.Writable.prototype.pipe;t.isReadable=isReadable;const isWritable=e=>!!e&&typeof e==="object"&&e instanceof a.EventEmitter&&typeof e.write==="function"&&typeof e.end==="function";t.isWritable=isWritable;const d=Symbol("EOF");const h=Symbol("maybeEmitEnd");const f=Symbol("emittedEnd");const p=Symbol("emittingEnd");const y=Symbol("emittedError");const g=Symbol("closed");const v=Symbol("read");const _=Symbol("flush");const w=Symbol("flushChunk");const x=Symbol("encoding");const S=Symbol("decoder");const k=Symbol("flowing");const E=Symbol("paused");const O=Symbol("resume");const j=Symbol("buffer");const A=Symbol("pipes");const T=Symbol("bufferLength");const P=Symbol("bufferPush");const L=Symbol("bufferShift");const F=Symbol("objectMode");const R=Symbol("destroyed");const C=Symbol("error");const I=Symbol("emitData");const D=Symbol("emitEnd");const N=Symbol("emitEnd2");const M=Symbol("async");const W=Symbol("abort");const B=Symbol("aborted");const $=Symbol("signal");const z=Symbol("dataListeners");const U=Symbol("discarded");const defer=e=>Promise.resolve().then(e);const nodefer=e=>e();const isEndish=e=>e==="end"||e==="finish"||e==="prefinish";const isArrayBufferLike=e=>e instanceof ArrayBuffer||!!e&&typeof e==="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0;const isArrayBufferView=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e);class Pipe{src;dest;opts;ondrain;constructor(e,t,s){this.src=e;this.dest=t;this.opts=s;this.ondrain=()=>e[O]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(e,t,s){super(e,t,s);this.proxyErrors=e=>t.emit("error",e);e.on("error",this.proxyErrors)}}const isObjectModeOptions=e=>!!e.objectMode;const isEncodingOptions=e=>!e.objectMode&&!!e.encoding&&e.encoding!=="buffer";class Minipass extends a.EventEmitter{[k]=false;[E]=false;[A]=[];[j]=[];[F];[x];[M];[S];[d]=false;[f]=false;[p]=false;[g]=false;[y]=null;[T]=0;[R]=false;[$];[B]=false;[z]=0;[U]=false;writable=true;readable=true;constructor(...e){const t=e[0]||{};super();if(t.objectMode&&typeof t.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(t)){this[F]=true;this[x]=null}else if(isEncodingOptions(t)){this[x]=t.encoding;this[F]=false}else{this[F]=false;this[x]=null}this[M]=!!t.async;this[S]=this[x]?new u.StringDecoder(this[x]):null;if(t&&t.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[j]})}if(t&&t.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[A]})}const{signal:s}=t;if(s){this[$]=s;if(s.aborted){this[W]()}else{s.addEventListener("abort",(()=>this[W]()))}}}get bufferLength(){return this[T]}get encoding(){return this[x]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[F]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[M]}set["async"](e){this[M]=this[M]||!!e}[W](){this[B]=true;this.emit("abort",this[$]?.reason);this.destroy(this[$]?.reason)}get aborted(){return this[B]}set aborted(e){}write(e,t,s){if(this[B])return false;if(this[d])throw new Error("write after end");if(this[R]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof t==="function"){s=t;t="utf8"}if(!t)t="utf8";const r=this[M]?defer:nodefer;if(!this[F]&&!Buffer.isBuffer(e)){if(isArrayBufferView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(isArrayBufferLike(e)){e=Buffer.from(e)}else if(typeof e!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[F]){if(this[k]&&this[T]!==0)this[_](true);if(this[k])this.emit("data",e);else this[P](e);if(this[T]!==0)this.emit("readable");if(s)r(s);return this[k]}if(!e.length){if(this[T]!==0)this.emit("readable");if(s)r(s);return this[k]}if(typeof e==="string"&&!(t===this[x]&&!this[S]?.lastNeed)){e=Buffer.from(e,t)}if(Buffer.isBuffer(e)&&this[x]){e=this[S].write(e)}if(this[k]&&this[T]!==0)this[_](true);if(this[k])this.emit("data",e);else this[P](e);if(this[T]!==0)this.emit("readable");if(s)r(s);return this[k]}read(e){if(this[R])return null;this[U]=false;if(this[T]===0||e===0||e&&e>this[T]){this[h]();return null}if(this[F])e=null;if(this[j].length>1&&!this[F]){this[j]=[this[x]?this[j].join(""):Buffer.concat(this[j],this[T])]}const t=this[v](e||null,this[j][0]);this[h]();return t}[v](e,t){if(this[F])this[L]();else{const s=t;if(e===s.length||e===null)this[L]();else if(typeof s==="string"){this[j][0]=s.slice(e);t=s.slice(0,e);this[T]-=e}else{this[j][0]=s.subarray(e);t=s.subarray(0,e);this[T]-=e}}this.emit("data",t);if(!this[j].length&&!this[d])this.emit("drain");return t}end(e,t,s){if(typeof e==="function"){s=e;e=undefined}if(typeof t==="function"){s=t;t="utf8"}if(e!==undefined)this.write(e,t);if(s)this.once("end",s);this[d]=true;this.writable=false;if(this[k]||!this[E])this[h]();return this}[O](){if(this[R])return;if(!this[z]&&!this[A].length){this[U]=true}this[E]=false;this[k]=true;this.emit("resume");if(this[j].length)this[_]();else if(this[d])this[h]();else this.emit("drain")}resume(){return this[O]()}pause(){this[k]=false;this[E]=true;this[U]=false}get destroyed(){return this[R]}get flowing(){return this[k]}get paused(){return this[E]}[P](e){if(this[F])this[T]+=1;else this[T]+=e.length;this[j].push(e)}[L](){if(this[F])this[T]-=1;else this[T]-=this[j][0].length;return this[j].shift()}[_](e=false){do{}while(this[w](this[L]())&&this[j].length);if(!e&&!this[j].length&&!this[d])this.emit("drain")}[w](e){this.emit("data",e);return this[k]}pipe(e,t){if(this[R])return e;this[U]=false;const s=this[f];t=t||{};if(e===o.stdout||e===o.stderr)t.end=false;else t.end=t.end!==false;t.proxyErrors=!!t.proxyErrors;if(s){if(t.end)e.end()}else{this[A].push(!t.proxyErrors?new Pipe(this,e,t):new PipeProxyErrors(this,e,t));if(this[M])defer((()=>this[O]()));else this[O]()}return e}unpipe(e){const t=this[A].find((t=>t.dest===e));if(t){if(this[A].length===1){if(this[k]&&this[z]===0){this[k]=false}this[A]=[]}else this[A].splice(this[A].indexOf(t),1);t.unpipe()}}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);if(e==="data"){this[U]=false;this[z]++;if(!this[A].length&&!this[k]){this[O]()}}else if(e==="readable"&&this[T]!==0){super.emit("readable")}else if(isEndish(e)&&this[f]){super.emit(e);this.removeAllListeners(e)}else if(e==="error"&&this[y]){const e=t;if(this[M])defer((()=>e.call(this,this[y])));else e.call(this,this[y])}return s}removeListener(e,t){return this.off(e,t)}off(e,t){const s=super.off(e,t);if(e==="data"){this[z]=this.listeners("data").length;if(this[z]===0&&!this[U]&&!this[A].length){this[k]=false}}return s}removeAllListeners(e){const t=super.removeAllListeners(e);if(e==="data"||e===undefined){this[z]=0;if(!this[U]&&!this[A].length){this[k]=false}}return t}get emittedEnd(){return this[f]}[h](){if(!this[p]&&!this[f]&&!this[R]&&this[j].length===0&&this[d]){this[p]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[g])this.emit("close");this[p]=false}}emit(e,...t){const s=t[0];if(e!=="error"&&e!=="close"&&e!==R&&this[R]){return false}else if(e==="data"){return!this[F]&&!s?false:this[M]?(defer((()=>this[I](s))),true):this[I](s)}else if(e==="end"){return this[D]()}else if(e==="close"){this[g]=true;if(!this[f]&&!this[R])return false;const e=super.emit("close");this.removeAllListeners("close");return e}else if(e==="error"){this[y]=s;super.emit(C,s);const e=!this[$]||this.listeners("error").length?super.emit("error",s):false;this[h]();return e}else if(e==="resume"){const e=super.emit("resume");this[h]();return e}else if(e==="finish"||e==="prefinish"){const t=super.emit(e);this.removeAllListeners(e);return t}const r=super.emit(e,...t);this[h]();return r}[I](e){for(const t of this[A]){if(t.dest.write(e)===false)this.pause()}const t=this[U]?false:super.emit("data",e);this[h]();return t}[D](){if(this[f])return false;this[f]=true;this.readable=false;return this[M]?(defer((()=>this[N]())),true):this[N]()}[N](){if(this[S]){const e=this[S].end();if(e){for(const t of this[A]){t.dest.write(e)}if(!this[U])super.emit("data",e)}}for(const e of this[A]){e.end()}const e=super.emit("end");this.removeAllListeners("end");return e}async collect(){const e=Object.assign([],{dataLength:0});if(!this[F])e.dataLength=0;const t=this.promise();this.on("data",(t=>{e.push(t);if(!this[F])e.dataLength+=t.length}));await t;return e}async concat(){if(this[F]){throw new Error("cannot concat in objectMode")}const e=await this.collect();return this[x]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise(((e,t)=>{this.on(R,(()=>t(new Error("stream destroyed"))));this.on("error",(e=>t(e)));this.on("end",(()=>e()))}))}[Symbol.asyncIterator](){this[U]=false;let e=false;const stop=async()=>{this.pause();e=true;return{value:undefined,done:true}};const next=()=>{if(e)return stop();const t=this.read();if(t!==null)return Promise.resolve({done:false,value:t});if(this[d])return stop();let s;let r;const onerr=e=>{this.off("data",ondata);this.off("end",onend);this.off(R,ondestroy);stop();r(e)};const ondata=e=>{this.off("error",onerr);this.off("end",onend);this.off(R,ondestroy);this.pause();s({value:e,done:!!this[d]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(R,ondestroy);stop();s({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((e,t)=>{r=t;s=e;this.once(R,ondestroy);this.once("error",onerr);this.once("end",onend);this.once("data",ondata)}))};return{next:next,throw:stop,return:stop,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[U]=false;let e=false;const stop=()=>{this.pause();this.off(C,stop);this.off(R,stop);this.off("end",stop);e=true;return{done:true,value:undefined}};const next=()=>{if(e)return stop();const t=this.read();return t===null?stop():{done:false,value:t}};this.once("end",stop);this.once(C,stop);this.once(R,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(e){if(this[R]){if(e)this.emit("error",e);else this.emit(R);return this}this[R]=true;this[U]=true;this[j].length=0;this[T]=0;const t=this;if(typeof t.close==="function"&&!this[g])t.close();if(e)this.emit("error",e);else this.emit(R);return this}static get isStream(){return t.isStream}}t.Minipass=Minipass},5828:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.PathScurry=t.Path=t.PathScurryDarwin=t.PathScurryPosix=t.PathScurryWin32=t.PathScurryBase=t.PathPosix=t.PathWin32=t.PathBase=t.ChildrenCache=t.ResolveCache=void 0;const c=s(3587);const u=s(6760);const d=s(3136);const h=s(9896);const f=a(s(3024));const p=h.realpathSync.native;const y=s(1455);const g=s(6222);const v={lstatSync:h.lstatSync,readdir:h.readdir,readdirSync:h.readdirSync,readlinkSync:h.readlinkSync,realpathSync:p,promises:{lstat:y.lstat,readdir:y.readdir,readlink:y.readlink,realpath:y.realpath}};const fsFromOption=e=>!e||e===v||e===f?v:{...v,...e,promises:{...v.promises,...e.promises||{}}};const _=/^\\\\\?\\([a-z]:)\\?$/i;const uncToDrive=e=>e.replace(/\//g,"\\").replace(_,"$1\\");const w=/[\\\/]/;const x=0;const S=1;const k=2;const E=4;const O=6;const j=8;const A=10;const T=12;const P=15;const L=~P;const F=16;const R=32;const C=64;const I=128;const D=256;const N=512;const M=C|I|N;const W=1023;const entToType=e=>e.isFile()?j:e.isDirectory()?E:e.isSymbolicLink()?A:e.isCharacterDevice()?k:e.isBlockDevice()?O:e.isSocket()?T:e.isFIFO()?S:x;const B=new Map;const normalize=e=>{const t=B.get(e);if(t)return t;const s=e.normalize("NFKD");B.set(e,s);return s};const $=new Map;const normalizeNocase=e=>{const t=$.get(e);if(t)return t;const s=normalize(e.toLowerCase());$.set(e,s);return s};class ResolveCache extends c.LRUCache{constructor(){super({max:256})}}t.ResolveCache=ResolveCache;class ChildrenCache extends c.LRUCache{constructor(e=16*1024){super({maxSize:e,sizeCalculation:e=>e.length+1})}}t.ChildrenCache=ChildrenCache;const z=Symbol("PathScurry setAsCwd");class PathBase{name;root;roots;parent;nocase;isCWD=false;#Ce;#Ie;get dev(){return this.#Ie}#De;get mode(){return this.#De}#Ne;get nlink(){return this.#Ne}#Me;get uid(){return this.#Me}#We;get gid(){return this.#We}#Be;get rdev(){return this.#Be}#$e;get blksize(){return this.#$e}#ze;get ino(){return this.#ze}#k;get size(){return this.#k}#Ue;get blocks(){return this.#Ue}#qe;get atimeMs(){return this.#qe}#Ge;get mtimeMs(){return this.#Ge}#Ve;get ctimeMs(){return this.#Ve}#He;get birthtimeMs(){return this.#He}#Ke;get atime(){return this.#Ke}#Je;get mtime(){return this.#Je}#Ye;get ctime(){return this.#Ye}#Qe;get birthtime(){return this.#Qe}#Ze;#Xe;#et;#tt;#it;#st;#nt;#rt;#ot;#at;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=x,s,r,o,a,c){this.name=e;this.#Ze=o?normalizeNocase(e):normalize(e);this.#nt=t&W;this.nocase=o;this.roots=r;this.root=s||this;this.#rt=a;this.#et=c.fullpath;this.#it=c.relative;this.#st=c.relativePosix;this.parent=c.parent;if(this.parent){this.#Ce=this.parent.#Ce}else{this.#Ce=fsFromOption(c.fs)}}depth(){if(this.#Xe!==undefined)return this.#Xe;if(!this.parent)return this.#Xe=0;return this.#Xe=this.parent.depth()+1}childrenCache(){return this.#rt}resolve(e){if(!e){return this}const t=this.getRootString(e);const s=e.substring(t.length);const r=s.split(this.splitSep);const o=t?this.getRoot(t).#lt(r):this.#lt(r);return o}#lt(e){let t=this;for(const s of e){t=t.child(s)}return t}children(){const e=this.#rt.get(this);if(e){return e}const t=Object.assign([],{provisional:0});this.#rt.set(this,t);this.#nt&=~F;return t}child(e,t){if(e===""||e==="."){return this}if(e===".."){return this.parent||this}const s=this.children();const r=this.nocase?normalizeNocase(e):normalize(e);for(const e of s){if(e.#Ze===r){return e}}const o=this.parent?this.sep:"";const a=this.#et?this.#et+o+e:undefined;const c=this.newChild(e,x,{...t,parent:this,fullpath:a});if(!this.canReaddir()){c.#nt|=I}s.push(c);return c}relative(){if(this.isCWD)return"";if(this.#it!==undefined){return this.#it}const e=this.name;const t=this.parent;if(!t){return this.#it=this.name}const s=t.relative();return s+(!s||!t.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#st!==undefined)return this.#st;const e=this.name;const t=this.parent;if(!t){return this.#st=this.fullpathPosix()}const s=t.relativePosix();return s+(!s||!t.parent?"":"/")+e}fullpath(){if(this.#et!==undefined){return this.#et}const e=this.name;const t=this.parent;if(!t){return this.#et=this.name}const s=t.fullpath();const r=s+(!t.parent?"":this.sep)+e;return this.#et=r}fullpathPosix(){if(this.#tt!==undefined)return this.#tt;if(this.sep==="/")return this.#tt=this.fullpath();if(!this.parent){const e=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(e)){return this.#tt=`//?/${e}`}else{return this.#tt=e}}const e=this.parent;const t=e.fullpathPosix();const s=t+(!t||!e.parent?"":"/")+this.name;return this.#tt=s}isUnknown(){return(this.#nt&P)===x}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#nt&P)===j}isDirectory(){return(this.#nt&P)===E}isCharacterDevice(){return(this.#nt&P)===k}isBlockDevice(){return(this.#nt&P)===O}isFIFO(){return(this.#nt&P)===S}isSocket(){return(this.#nt&P)===T}isSymbolicLink(){return(this.#nt&A)===A}lstatCached(){return this.#nt&R?this:undefined}readlinkCached(){return this.#ot}realpathCached(){return this.#at}readdirCached(){const e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#ot)return true;if(!this.parent)return false;const e=this.#nt&P;return!(e!==x&&e!==A||this.#nt&D||this.#nt&I)}calledReaddir(){return!!(this.#nt&F)}isENOENT(){return!!(this.#nt&I)}isNamed(e){return!this.nocase?this.#Ze===normalize(e):this.#Ze===normalizeNocase(e)}async readlink(){const e=this.#ot;if(e){return e}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const e=await this.#Ce.promises.readlink(this.fullpath());const t=(await this.parent.realpath())?.resolve(e);if(t){return this.#ot=t}}catch(e){this.#ct(e.code);return undefined}}readlinkSync(){const e=this.#ot;if(e){return e}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const e=this.#Ce.readlinkSync(this.fullpath());const t=this.parent.realpathSync()?.resolve(e);if(t){return this.#ot=t}}catch(e){this.#ct(e.code);return undefined}}#ut(e){this.#nt|=F;for(let t=e.provisional;t<e.length;t++){const s=e[t];if(s)s.#dt()}}#dt(){if(this.#nt&I)return;this.#nt=(this.#nt|I)&L;this.#ht()}#ht(){const e=this.children();e.provisional=0;for(const t of e){t.#dt()}}#ft(){this.#nt|=N;this.#pt()}#pt(){if(this.#nt&C)return;let e=this.#nt;if((e&P)===E)e&=L;this.#nt=e|C;this.#ht()}#bt(e=""){if(e==="ENOTDIR"||e==="EPERM"){this.#pt()}else if(e==="ENOENT"){this.#dt()}else{this.children().provisional=0}}#yt(e=""){if(e==="ENOTDIR"){const e=this.parent;e.#pt()}else if(e==="ENOENT"){this.#dt()}}#ct(e=""){let t=this.#nt;t|=D;if(e==="ENOENT")t|=I;if(e==="EINVAL"||e==="UNKNOWN"){t&=L}this.#nt=t;if(e==="ENOTDIR"&&this.parent){this.parent.#pt()}}#mt(e,t){return this.#gt(e,t)||this.#vt(e,t)}#vt(e,t){const s=entToType(e);const r=this.newChild(e.name,s,{parent:this});const o=r.#nt&P;if(o!==E&&o!==A&&o!==x){r.#nt|=C}t.unshift(r);t.provisional++;return r}#gt(e,t){for(let s=t.provisional;s<t.length;s++){const r=t[s];const o=this.nocase?normalizeNocase(e.name):normalize(e.name);if(o!==r.#Ze){continue}return this.#_t(e,r,s,t)}}#_t(e,t,s,r){const o=t.name;t.#nt=t.#nt&L|entToType(e);if(o!==e.name)t.name=e.name;if(s!==r.provisional){if(s===r.length-1)r.pop();else r.splice(s,1);r.unshift(t)}r.provisional++;return t}async lstat(){if((this.#nt&I)===0){try{this.#wt(await this.#Ce.promises.lstat(this.fullpath()));return this}catch(e){this.#yt(e.code)}}}lstatSync(){if((this.#nt&I)===0){try{this.#wt(this.#Ce.lstatSync(this.fullpath()));return this}catch(e){this.#yt(e.code)}}}#wt(e){const{atime:t,atimeMs:s,birthtime:r,birthtimeMs:o,blksize:a,blocks:c,ctime:u,ctimeMs:d,dev:h,gid:f,ino:p,mode:y,mtime:g,mtimeMs:v,nlink:_,rdev:w,size:S,uid:k}=e;this.#Ke=t;this.#qe=s;this.#Qe=r;this.#He=o;this.#$e=a;this.#Ue=c;this.#Ye=u;this.#Ve=d;this.#Ie=h;this.#We=f;this.#ze=p;this.#De=y;this.#Je=g;this.#Ge=v;this.#Ne=_;this.#Be=w;this.#k=S;this.#Me=k;const O=entToType(e);this.#nt=this.#nt&L|O|R;if(O!==x&&O!==E&&O!==A){this.#nt|=C}}#xt=[];#St=false;#kt(e){this.#St=false;const t=this.#xt.slice();this.#xt.length=0;t.forEach((t=>t(null,e)))}readdirCB(e,t=false){if(!this.canReaddir()){if(t)e(null,[]);else queueMicrotask((()=>e(null,[])));return}const s=this.children();if(this.calledReaddir()){const r=s.slice(0,s.provisional);if(t)e(null,r);else queueMicrotask((()=>e(null,r)));return}this.#xt.push(e);if(this.#St){return}this.#St=true;const r=this.fullpath();this.#Ce.readdir(r,{withFileTypes:true},((e,t)=>{if(e){this.#bt(e.code);s.provisional=0}else{for(const e of t){this.#mt(e,s)}this.#ut(s)}this.#kt(s.slice(0,s.provisional));return}))}#Et;async readdir(){if(!this.canReaddir()){return[]}const e=this.children();if(this.calledReaddir()){return e.slice(0,e.provisional)}const t=this.fullpath();if(this.#Et){await this.#Et}else{let resolve=()=>{};this.#Et=new Promise((e=>resolve=e));try{for(const s of await this.#Ce.promises.readdir(t,{withFileTypes:true})){this.#mt(s,e)}this.#ut(e)}catch(t){this.#bt(t.code);e.provisional=0}this.#Et=undefined;resolve()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir()){return[]}const e=this.children();if(this.calledReaddir()){return e.slice(0,e.provisional)}const t=this.fullpath();try{for(const s of this.#Ce.readdirSync(t,{withFileTypes:true})){this.#mt(s,e)}this.#ut(e)}catch(t){this.#bt(t.code);e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#nt&M)return false;const e=P&this.#nt;if(!(e===x||e===E||e===A)){return false}return true}shouldWalk(e,t){return(this.#nt&E)===E&&!(this.#nt&M)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#at)return this.#at;if((N|D|I)&this.#nt)return undefined;try{const e=await this.#Ce.promises.realpath(this.fullpath());return this.#at=this.resolve(e)}catch(e){this.#ft()}}realpathSync(){if(this.#at)return this.#at;if((N|D|I)&this.#nt)return undefined;try{const e=this.#Ce.realpathSync(this.fullpath());return this.#at=this.resolve(e)}catch(e){this.#ft()}}[z](e){if(e===this)return;e.isCWD=false;this.isCWD=true;const t=new Set([]);let s=[];let r=this;while(r&&r.parent){t.add(r);r.#it=s.join(this.sep);r.#st=s.join("/");r=r.parent;s.push("..")}r=e;while(r&&r.parent&&!t.has(r)){r.#it=undefined;r.#st=undefined;r=r.parent}}}t.PathBase=PathBase;class PathWin32 extends PathBase{sep="\\";splitSep=w;constructor(e,t=x,s,r,o,a,c){super(e,t,s,r,o,a,c)}newChild(e,t=x,s={}){return new PathWin32(e,t,this.root,this.roots,this.nocase,this.childrenCache(),s)}getRootString(e){return u.win32.parse(e).root}getRoot(e){e=uncToDrive(e.toUpperCase());if(e===this.root.name){return this.root}for(const[t,s]of Object.entries(this.roots)){if(this.sameRoot(e,t)){return this.roots[e]=s}}return this.roots[e]=new PathScurryWin32(e,this).root}sameRoot(e,t=this.root.name){e=e.toUpperCase().replace(/\//g,"\\").replace(_,"$1\\");return e===t}}t.PathWin32=PathWin32;class PathPosix extends PathBase{splitSep="/";sep="/";constructor(e,t=x,s,r,o,a,c){super(e,t,s,r,o,a,c)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,t=x,s={}){return new PathPosix(e,t,this.root,this.roots,this.nocase,this.childrenCache(),s)}}t.PathPosix=PathPosix;class PathScurryBase{root;rootPath;roots;cwd;#Ot;#jt;#rt;nocase;#Ce;constructor(e=process.cwd(),t,s,{nocase:r,childrenCacheSize:o=16*1024,fs:a=v}={}){this.#Ce=fsFromOption(a);if(e instanceof URL||e.startsWith("file://")){e=(0,d.fileURLToPath)(e)}const c=t.resolve(e);this.roots=Object.create(null);this.rootPath=this.parseRootPath(c);this.#Ot=new ResolveCache;this.#jt=new ResolveCache;this.#rt=new ChildrenCache(o);const u=c.substring(this.rootPath.length).split(s);if(u.length===1&&!u[0]){u.pop()}if(r===undefined){throw new TypeError("must provide nocase setting to PathScurryBase ctor")}this.nocase=r;this.root=this.newRoot(this.#Ce);this.roots[this.rootPath]=this.root;let h=this.root;let f=u.length-1;const p=t.sep;let y=this.rootPath;let g=false;for(const e of u){const t=f--;h=h.child(e,{relative:new Array(t).fill("..").join(p),relativePosix:new Array(t).fill("..").join("/"),fullpath:y+=(g?"":p)+e});g=true}this.cwd=h}depth(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return e.depth()}childrenCache(){return this.#rt}resolve(...e){let t="";for(let s=e.length-1;s>=0;s--){const r=e[s];if(!r||r===".")continue;t=t?`${r}/${t}`:r;if(this.isAbsolute(r)){break}}const s=this.#Ot.get(t);if(s!==undefined){return s}const r=this.cwd.resolve(t).fullpath();this.#Ot.set(t,r);return r}resolvePosix(...e){let t="";for(let s=e.length-1;s>=0;s--){const r=e[s];if(!r||r===".")continue;t=t?`${r}/${t}`:r;if(this.isAbsolute(r)){break}}const s=this.#jt.get(t);if(s!==undefined){return s}const r=this.cwd.resolve(t).fullpathPosix();this.#jt.set(t,r);return r}relative(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return e.relative()}relativePosix(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return e.relativePosix()}basename(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return e.name}dirname(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:true}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s}=t;if(!e.canReaddir()){return[]}else{const t=await e.readdir();return s?t:t.map((e=>e.name))}}readdirSync(e=this.cwd,t={withFileTypes:true}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s=true}=t;if(!e.canReaddir()){return[]}else if(s){return e.readdirSync()}else{return e.readdirSync().map((e=>e.name))}}async lstat(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return e.lstat()}lstatSync(e=this.cwd){if(typeof e==="string"){e=this.cwd.resolve(e)}return e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:false}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e.withFileTypes;e=this.cwd}const s=await e.readlink();return t?s:s?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:false}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e.withFileTypes;e=this.cwd}const s=e.readlinkSync();return t?s:s?.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:false}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e.withFileTypes;e=this.cwd}const s=await e.realpath();return t?s:s?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:false}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e.withFileTypes;e=this.cwd}const s=e.realpathSync();return t?s:s?.fullpath()}async walk(e=this.cwd,t={}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s=true,follow:r=false,filter:o,walkFilter:a}=t;const c=[];if(!o||o(e)){c.push(s?e:e.fullpath())}const u=new Set;const walk=(e,t)=>{u.add(e);e.readdirCB(((e,d)=>{if(e){return t(e)}let h=d.length;if(!h)return t();const next=()=>{if(--h===0){t()}};for(const e of d){if(!o||o(e)){c.push(s?e:e.fullpath())}if(r&&e.isSymbolicLink()){e.realpath().then((e=>e?.isUnknown()?e.lstat():e)).then((e=>e?.shouldWalk(u,a)?walk(e,next):next()))}else{if(e.shouldWalk(u,a)){walk(e,next)}else{next()}}}}),true)};const d=e;return new Promise(((e,t)=>{walk(d,(s=>{if(s)return t(s);e(c)}))}))}walkSync(e=this.cwd,t={}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s=true,follow:r=false,filter:o,walkFilter:a}=t;const c=[];if(!o||o(e)){c.push(s?e:e.fullpath())}const u=new Set([e]);for(const e of u){const t=e.readdirSync();for(const e of t){if(!o||o(e)){c.push(s?e:e.fullpath())}let t=e;if(e.isSymbolicLink()){if(!(r&&(t=e.realpathSync())))continue;if(t.isUnknown())t.lstatSync()}if(t.shouldWalk(u,a)){u.add(t)}}}return c}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}return this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s=true,follow:r=false,filter:o,walkFilter:a}=t;if(!o||o(e)){yield s?e:e.fullpath()}const c=new Set([e]);for(const e of c){const t=e.readdirSync();for(const e of t){if(!o||o(e)){yield s?e:e.fullpath()}let t=e;if(e.isSymbolicLink()){if(!(r&&(t=e.realpathSync())))continue;if(t.isUnknown())t.lstatSync()}if(t.shouldWalk(c,a)){c.add(t)}}}}stream(e=this.cwd,t={}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s=true,follow:r=false,filter:o,walkFilter:a}=t;const c=new g.Minipass({objectMode:true});if(!o||o(e)){c.write(s?e:e.fullpath())}const u=new Set;const d=[e];let h=0;const process=()=>{let e=false;while(!e){const t=d.shift();if(!t){if(h===0)c.end();return}h++;u.add(t);const onReaddir=(t,p,y=false)=>{if(t)return c.emit("error",t);if(r&&!y){const e=[];for(const t of p){if(t.isSymbolicLink()){e.push(t.realpath().then((e=>e?.isUnknown()?e.lstat():e)))}}if(e.length){Promise.all(e).then((()=>onReaddir(null,p,true)));return}}for(const t of p){if(t&&(!o||o(t))){if(!c.write(s?t:t.fullpath())){e=true}}}h--;for(const e of p){const t=e.realpathCached()||e;if(t.shouldWalk(u,a)){d.push(t)}}if(e&&!c.flowing){c.once("drain",process)}else if(!f){process()}};let f=true;t.readdirCB(onReaddir,true);f=false}};process();return c}streamSync(e=this.cwd,t={}){if(typeof e==="string"){e=this.cwd.resolve(e)}else if(!(e instanceof PathBase)){t=e;e=this.cwd}const{withFileTypes:s=true,follow:r=false,filter:o,walkFilter:a}=t;const c=new g.Minipass({objectMode:true});const u=new Set;if(!o||o(e)){c.write(s?e:e.fullpath())}const d=[e];let h=0;const process=()=>{let e=false;while(!e){const t=d.shift();if(!t){if(h===0)c.end();return}h++;u.add(t);const f=t.readdirSync();for(const t of f){if(!o||o(t)){if(!c.write(s?t:t.fullpath())){e=true}}}h--;for(const e of f){let t=e;if(e.isSymbolicLink()){if(!(r&&(t=e.realpathSync())))continue;if(t.isUnknown())t.lstatSync()}if(t.shouldWalk(u,a)){d.push(t)}}}if(e&&!c.flowing)c.once("drain",process)};process();return c}chdir(e=this.cwd){const t=this.cwd;this.cwd=typeof e==="string"?this.cwd.resolve(e):e;this.cwd[z](t)}}t.PathScurryBase=PathScurryBase;class PathScurryWin32 extends PathScurryBase{sep="\\";constructor(e=process.cwd(),t={}){const{nocase:s=true}=t;super(e,u.win32,"\\",{...t,nocase:s});this.nocase=s;for(let e=this.cwd;e;e=e.parent){e.nocase=this.nocase}}parseRootPath(e){return u.win32.parse(e).root.toUpperCase()}newRoot(e){return new PathWin32(this.rootPath,E,undefined,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}}t.PathScurryWin32=PathScurryWin32;class PathScurryPosix extends PathScurryBase{sep="/";constructor(e=process.cwd(),t={}){const{nocase:s=false}=t;super(e,u.posix,"/",{...t,nocase:s});this.nocase=s}parseRootPath(e){return"/"}newRoot(e){return new PathPosix(this.rootPath,E,undefined,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}}t.PathScurryPosix=PathScurryPosix;class PathScurryDarwin extends PathScurryPosix{constructor(e=process.cwd(),t={}){const{nocase:s=true}=t;super(e,{...t,nocase:s})}}t.PathScurryDarwin=PathScurryDarwin;t.Path=process.platform==="win32"?PathWin32:PathPosix;t.PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix},86:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=s(5649);const o=s(4684);s(7975);s(6760);function createConsola(e={}){let t=r.LogLevels.info;if(process.env.CONSOLA_LEVEL){t=Number.parseInt(process.env.CONSOLA_LEVEL)??t}const s=r.createConsola({level:t,defaults:{level:t},stdout:process.stdout,stderr:process.stderr,reporters:e.reporters||[new o.BasicReporter],...e});return s}const a=createConsola();t.Consola=r.Consola;t.LogLevels=r.LogLevels;t.LogTypes=r.LogTypes;t.consola=a;t.createConsola=createConsola;t["default"]=a},5649:(e,t)=>{"use strict";const s={silent:Number.NEGATIVE_INFINITY,fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,ready:3,start:3,box:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY};const r={silent:{level:-1},fatal:{level:s.fatal},error:{level:s.error},warn:{level:s.warn},log:{level:s.log},info:{level:s.info},success:{level:s.success},fail:{level:s.fail},ready:{level:s.info},start:{level:s.info},box:{level:s.info},debug:{level:s.debug},trace:{level:s.trace},verbose:{level:s.verbose}};function isPlainObject$1(e){if(e===null||typeof e!=="object"){return false}const t=Object.getPrototypeOf(e);if(t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null){return false}if(Symbol.iterator in e){return false}if(Symbol.toStringTag in e){return Object.prototype.toString.call(e)==="[object Module]"}return true}function _defu(e,t,s=".",r){if(!isPlainObject$1(t)){return _defu(e,{},s,r)}const o=Object.assign({},t);for(const t in e){if(t==="__proto__"||t==="constructor"){continue}const a=e[t];if(a===null||a===void 0){continue}if(r&&r(o,t,a,s)){continue}if(Array.isArray(a)&&Array.isArray(o[t])){o[t]=[...a,...o[t]]}else if(isPlainObject$1(a)&&isPlainObject$1(o[t])){o[t]=_defu(a,o[t],(s?`${s}.`:"")+t.toString(),r)}else{o[t]=a}}return o}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const o=createDefu();function isPlainObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isLogObj(e){if(!isPlainObject(e)){return false}if(!e.message&&!e.args){return false}if(e.stack){return false}return true}let a=false;const c=[];class Consola{options;_lastLog;_mockFn;constructor(e={}){const t=e.types||r;this.options=o({...e,defaults:{...e.defaults},level:_normalizeLogLevel(e.level,t),reporters:[...e.reporters||[]]},{types:r,throttle:1e3,throttleMin:5,formatOptions:{date:true,colors:false,compact:true}});for(const e in t){const s={type:e,...this.options.defaults,...t[e]};this[e]=this._wrapLogFn(s);this[e].raw=this._wrapLogFn(s,true)}if(this.options.mockFn){this.mockTypes()}this._lastLog={}}get level(){return this.options.level}set level(e){this.options.level=_normalizeLogLevel(e,this.options.types,this.options.level)}prompt(e,t){if(!this.options.prompt){throw new Error("prompt is not supported!")}return this.options.prompt(e,t)}create(e){const t=new Consola({...this.options,...e});if(this._mockFn){t.mockTypes(this._mockFn)}return t}withDefaults(e){return this.create({...this.options,defaults:{...this.options.defaults,...e}})}withTag(e){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+e:e})}addReporter(e){this.options.reporters.push(e);return this}removeReporter(e){if(e){const t=this.options.reporters.indexOf(e);if(t!==-1){return this.options.reporters.splice(t,1)}}else{this.options.reporters.splice(0)}return this}setReporters(e){this.options.reporters=Array.isArray(e)?e:[e];return this}wrapAll(){this.wrapConsole();this.wrapStd()}restoreAll(){this.restoreConsole();this.restoreStd()}wrapConsole(){for(const e in this.options.types){if(!console["__"+e]){console["__"+e]=console[e]}console[e]=this[e].raw}}restoreConsole(){for(const e in this.options.types){if(console["__"+e]){console[e]=console["__"+e];delete console["__"+e]}}}wrapStd(){this._wrapStream(this.options.stdout,"log");this._wrapStream(this.options.stderr,"log")}_wrapStream(e,t){if(!e){return}if(!e.__write){e.__write=e.write}e.write=e=>{this[t].raw(String(e).trim())}}restoreStd(){this._restoreStream(this.options.stdout);this._restoreStream(this.options.stderr)}_restoreStream(e){if(!e){return}if(e.__write){e.write=e.__write;delete e.__write}}pauseLogs(){a=true}resumeLogs(){a=false;const e=c.splice(0);for(const t of e){t[0]._logFn(t[1],t[2])}}mockTypes(e){const t=e||this.options.mockFn;this._mockFn=t;if(typeof t!=="function"){return}for(const e in this.options.types){this[e]=t(e,this.options.types[e])||this[e];this[e].raw=this[e]}}_wrapLogFn(e,t){return(...s)=>{if(a){c.push([this,e,s,t]);return}return this._logFn(e,s,t)}}_logFn(e,t,s){if((e.level||0)>this.level){return false}const r={date:new Date,args:[],...e,level:_normalizeLogLevel(e.level,this.options.types)};if(!s&&t.length===1&&isLogObj(t[0])){Object.assign(r,t[0])}else{r.args=[...t]}if(r.message){r.args.unshift(r.message);delete r.message}if(r.additional){if(!Array.isArray(r.additional)){r.additional=r.additional.split("\n")}r.args.push("\n"+r.additional.join("\n"));delete r.additional}r.type=typeof r.type==="string"?r.type.toLowerCase():"log";r.tag=typeof r.tag==="string"?r.tag:"";const resolveLog=(e=false)=>{const t=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&t>0){const e=[...this._lastLog.object.args];if(t>1){e.push(`(repeated ${t} times)`)}this._log({...this._lastLog.object,args:e});this._lastLog.count=1}if(e){this._lastLog.object=r;this._log(r)}};clearTimeout(this._lastLog.timeout);const o=this._lastLog.time&&r.date?r.date.getTime()-this._lastLog.time.getTime():0;this._lastLog.time=r.date;if(o<this.options.throttle){try{const e=JSON.stringify([r.type,r.tag,r.args]);const t=this._lastLog.serialized===e;this._lastLog.serialized=e;if(t){this._lastLog.count=(this._lastLog.count||0)+1;if(this._lastLog.count>this.options.throttleMin){this._lastLog.timeout=setTimeout(resolveLog,this.options.throttle);return}}}catch{}}resolveLog(true)}_log(e){for(const t of this.options.reporters){t.log(e,{options:this.options})}}}function _normalizeLogLevel(e,t={},s=3){if(e===void 0){return s}if(typeof e==="number"){return e}if(t[e]&&t[e].level!==void 0){return t[e].level}return s}Consola.prototype.add=Consola.prototype.addReporter;Consola.prototype.remove=Consola.prototype.removeReporter;Consola.prototype.clear=Consola.prototype.removeReporter;Consola.prototype.withScope=Consola.prototype.withTag;Consola.prototype.mock=Consola.prototype.mockTypes;Consola.prototype.pause=Consola.prototype.pauseLogs;Consola.prototype.resume=Consola.prototype.resumeLogs;function createConsola(e={}){return new Consola(e)}t.Consola=Consola;t.LogLevels=s;t.LogTypes=r;t.createConsola=createConsola},4684:(e,t,s)=>{"use strict";const r=s(7975);const o=s(6760);function parseStack(e,t){const s=process.cwd()+o.sep;const r=e.split("\n").splice(t.split("\n").length).map((e=>e.trim().replace("file://","").replace(s,"")));return r}function writeStream(e,t){const s=t.__write||t.write;return s.call(t,e)}const bracket=e=>e?`[${e}]`:"";class BasicReporter{formatStack(e,t,s){const r=" ".repeat((s?.errorLevel||0)+1);return r+parseStack(e,t).join(`\n${r}`)}formatError(e,t){const s=e.message??r.formatWithOptions(t,e);const o=e.stack?this.formatStack(e.stack,s,t):"";const a=t?.errorLevel||0;const c=a>0?`${" ".repeat(a)}[cause]: `:"";const u=e.cause?"\n\n"+this.formatError(e.cause,{...t,errorLevel:a+1}):"";return c+s+"\n"+o+u}formatArgs(e,t){const s=e.map((e=>{if(e&&typeof e.stack==="string"){return this.formatError(e,t)}return e}));return r.formatWithOptions(t,...s)}formatDate(e,t){return t.date?e.toLocaleTimeString():""}filterAndJoin(e){return e.filter(Boolean).join(" ")}formatLogObj(e,t){const s=this.formatArgs(e.args,t);if(e.type==="box"){return"\n"+[bracket(e.tag),e.title&&e.title,...s.split("\n")].filter(Boolean).map((e=>" > "+e)).join("\n")+"\n"}return this.filterAndJoin([bracket(e.type),bracket(e.tag),s])}log(e,t){const s=this.formatLogObj(e,{columns:t.options.stdout.columns||0,...t.options.formatOptions});return writeStream(s+"\n",e.level<2?t.options.stderr||process.stderr:t.options.stdout||process.stdout)}}t.BasicReporter=BasicReporter;t.parseStack=parseStack},7638:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"6.15.0":{"node_abi":48,"v8":"5.1"},"6.15.1":{"node_abi":48,"v8":"5.1"},"6.16.0":{"node_abi":48,"v8":"5.1"},"6.17.0":{"node_abi":48,"v8":"5.1"},"6.17.1":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"8.13.0":{"node_abi":57,"v8":"6.2"},"8.14.0":{"node_abi":57,"v8":"6.2"},"8.14.1":{"node_abi":57,"v8":"6.2"},"8.15.0":{"node_abi":57,"v8":"6.2"},"8.15.1":{"node_abi":57,"v8":"6.2"},"8.16.0":{"node_abi":57,"v8":"6.2"},"8.16.1":{"node_abi":57,"v8":"6.2"},"8.16.2":{"node_abi":57,"v8":"6.2"},"8.17.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"10.14.0":{"node_abi":64,"v8":"6.8"},"10.14.1":{"node_abi":64,"v8":"6.8"},"10.14.2":{"node_abi":64,"v8":"6.8"},"10.15.0":{"node_abi":64,"v8":"6.8"},"10.15.1":{"node_abi":64,"v8":"6.8"},"10.15.2":{"node_abi":64,"v8":"6.8"},"10.15.3":{"node_abi":64,"v8":"6.8"},"10.16.0":{"node_abi":64,"v8":"6.8"},"10.16.1":{"node_abi":64,"v8":"6.8"},"10.16.2":{"node_abi":64,"v8":"6.8"},"10.16.3":{"node_abi":64,"v8":"6.8"},"10.17.0":{"node_abi":64,"v8":"6.8"},"10.18.0":{"node_abi":64,"v8":"6.8"},"10.18.1":{"node_abi":64,"v8":"6.8"},"10.19.0":{"node_abi":64,"v8":"6.8"},"10.20.0":{"node_abi":64,"v8":"6.8"},"10.20.1":{"node_abi":64,"v8":"6.8"},"10.21.0":{"node_abi":64,"v8":"6.8"},"10.22.0":{"node_abi":64,"v8":"6.8"},"10.22.1":{"node_abi":64,"v8":"6.8"},"10.23.0":{"node_abi":64,"v8":"6.8"},"10.23.1":{"node_abi":64,"v8":"6.8"},"10.23.2":{"node_abi":64,"v8":"6.8"},"10.23.3":{"node_abi":64,"v8":"6.8"},"10.24.0":{"node_abi":64,"v8":"6.8"},"10.24.1":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"},"11.2.0":{"node_abi":67,"v8":"7.0"},"11.3.0":{"node_abi":67,"v8":"7.0"},"11.4.0":{"node_abi":67,"v8":"7.0"},"11.5.0":{"node_abi":67,"v8":"7.0"},"11.6.0":{"node_abi":67,"v8":"7.0"},"11.7.0":{"node_abi":67,"v8":"7.0"},"11.8.0":{"node_abi":67,"v8":"7.0"},"11.9.0":{"node_abi":67,"v8":"7.0"},"11.10.0":{"node_abi":67,"v8":"7.0"},"11.10.1":{"node_abi":67,"v8":"7.0"},"11.11.0":{"node_abi":67,"v8":"7.0"},"11.12.0":{"node_abi":67,"v8":"7.0"},"11.13.0":{"node_abi":67,"v8":"7.0"},"11.14.0":{"node_abi":67,"v8":"7.0"},"11.15.0":{"node_abi":67,"v8":"7.0"},"12.0.0":{"node_abi":72,"v8":"7.4"},"12.1.0":{"node_abi":72,"v8":"7.4"},"12.2.0":{"node_abi":72,"v8":"7.4"},"12.3.0":{"node_abi":72,"v8":"7.4"},"12.3.1":{"node_abi":72,"v8":"7.4"},"12.4.0":{"node_abi":72,"v8":"7.4"},"12.5.0":{"node_abi":72,"v8":"7.5"},"12.6.0":{"node_abi":72,"v8":"7.5"},"12.7.0":{"node_abi":72,"v8":"7.5"},"12.8.0":{"node_abi":72,"v8":"7.5"},"12.8.1":{"node_abi":72,"v8":"7.5"},"12.9.0":{"node_abi":72,"v8":"7.6"},"12.9.1":{"node_abi":72,"v8":"7.6"},"12.10.0":{"node_abi":72,"v8":"7.6"},"12.11.0":{"node_abi":72,"v8":"7.7"},"12.11.1":{"node_abi":72,"v8":"7.7"},"12.12.0":{"node_abi":72,"v8":"7.7"},"12.13.0":{"node_abi":72,"v8":"7.7"},"12.13.1":{"node_abi":72,"v8":"7.7"},"12.14.0":{"node_abi":72,"v8":"7.7"},"12.14.1":{"node_abi":72,"v8":"7.7"},"12.15.0":{"node_abi":72,"v8":"7.7"},"12.16.0":{"node_abi":72,"v8":"7.8"},"12.16.1":{"node_abi":72,"v8":"7.8"},"12.16.2":{"node_abi":72,"v8":"7.8"},"12.16.3":{"node_abi":72,"v8":"7.8"},"12.17.0":{"node_abi":72,"v8":"7.8"},"12.18.0":{"node_abi":72,"v8":"7.8"},"12.18.1":{"node_abi":72,"v8":"7.8"},"12.18.2":{"node_abi":72,"v8":"7.8"},"12.18.3":{"node_abi":72,"v8":"7.8"},"12.18.4":{"node_abi":72,"v8":"7.8"},"12.19.0":{"node_abi":72,"v8":"7.8"},"12.19.1":{"node_abi":72,"v8":"7.8"},"12.20.0":{"node_abi":72,"v8":"7.8"},"12.20.1":{"node_abi":72,"v8":"7.8"},"12.20.2":{"node_abi":72,"v8":"7.8"},"12.21.0":{"node_abi":72,"v8":"7.8"},"12.22.0":{"node_abi":72,"v8":"7.8"},"12.22.1":{"node_abi":72,"v8":"7.8"},"12.22.2":{"node_abi":72,"v8":"7.8"},"12.22.3":{"node_abi":72,"v8":"7.8"},"12.22.4":{"node_abi":72,"v8":"7.8"},"12.22.5":{"node_abi":72,"v8":"7.8"},"12.22.6":{"node_abi":72,"v8":"7.8"},"12.22.7":{"node_abi":72,"v8":"7.8"},"12.22.8":{"node_abi":72,"v8":"7.8"},"12.22.9":{"node_abi":72,"v8":"7.8"},"12.22.10":{"node_abi":72,"v8":"7.8"},"12.22.11":{"node_abi":72,"v8":"7.8"},"12.22.12":{"node_abi":72,"v8":"7.8"},"13.0.0":{"node_abi":79,"v8":"7.8"},"13.0.1":{"node_abi":79,"v8":"7.8"},"13.1.0":{"node_abi":79,"v8":"7.8"},"13.2.0":{"node_abi":79,"v8":"7.9"},"13.3.0":{"node_abi":79,"v8":"7.9"},"13.4.0":{"node_abi":79,"v8":"7.9"},"13.5.0":{"node_abi":79,"v8":"7.9"},"13.6.0":{"node_abi":79,"v8":"7.9"},"13.7.0":{"node_abi":79,"v8":"7.9"},"13.8.0":{"node_abi":79,"v8":"7.9"},"13.9.0":{"node_abi":79,"v8":"7.9"},"13.10.0":{"node_abi":79,"v8":"7.9"},"13.10.1":{"node_abi":79,"v8":"7.9"},"13.11.0":{"node_abi":79,"v8":"7.9"},"13.12.0":{"node_abi":79,"v8":"7.9"},"13.13.0":{"node_abi":79,"v8":"7.9"},"13.14.0":{"node_abi":79,"v8":"7.9"},"14.0.0":{"node_abi":83,"v8":"8.1"},"14.1.0":{"node_abi":83,"v8":"8.1"},"14.2.0":{"node_abi":83,"v8":"8.1"},"14.3.0":{"node_abi":83,"v8":"8.1"},"14.4.0":{"node_abi":83,"v8":"8.1"},"14.5.0":{"node_abi":83,"v8":"8.3"},"14.6.0":{"node_abi":83,"v8":"8.4"},"14.7.0":{"node_abi":83,"v8":"8.4"},"14.8.0":{"node_abi":83,"v8":"8.4"},"14.9.0":{"node_abi":83,"v8":"8.4"},"14.10.0":{"node_abi":83,"v8":"8.4"},"14.10.1":{"node_abi":83,"v8":"8.4"},"14.11.0":{"node_abi":83,"v8":"8.4"},"14.12.0":{"node_abi":83,"v8":"8.4"},"14.13.0":{"node_abi":83,"v8":"8.4"},"14.13.1":{"node_abi":83,"v8":"8.4"},"14.14.0":{"node_abi":83,"v8":"8.4"},"14.15.0":{"node_abi":83,"v8":"8.4"},"14.15.1":{"node_abi":83,"v8":"8.4"},"14.15.2":{"node_abi":83,"v8":"8.4"},"14.15.3":{"node_abi":83,"v8":"8.4"},"14.15.4":{"node_abi":83,"v8":"8.4"},"14.15.5":{"node_abi":83,"v8":"8.4"},"14.16.0":{"node_abi":83,"v8":"8.4"},"14.16.1":{"node_abi":83,"v8":"8.4"},"14.17.0":{"node_abi":83,"v8":"8.4"},"14.17.1":{"node_abi":83,"v8":"8.4"},"14.17.2":{"node_abi":83,"v8":"8.4"},"14.17.3":{"node_abi":83,"v8":"8.4"},"14.17.4":{"node_abi":83,"v8":"8.4"},"14.17.5":{"node_abi":83,"v8":"8.4"},"14.17.6":{"node_abi":83,"v8":"8.4"},"14.18.0":{"node_abi":83,"v8":"8.4"},"14.18.1":{"node_abi":83,"v8":"8.4"},"14.18.2":{"node_abi":83,"v8":"8.4"},"14.18.3":{"node_abi":83,"v8":"8.4"},"14.19.0":{"node_abi":83,"v8":"8.4"},"14.19.1":{"node_abi":83,"v8":"8.4"},"14.19.2":{"node_abi":83,"v8":"8.4"},"14.19.3":{"node_abi":83,"v8":"8.4"},"14.20.0":{"node_abi":83,"v8":"8.4"},"14.20.1":{"node_abi":83,"v8":"8.4"},"14.21.0":{"node_abi":83,"v8":"8.4"},"14.21.1":{"node_abi":83,"v8":"8.4"},"14.21.2":{"node_abi":83,"v8":"8.4"},"14.21.3":{"node_abi":83,"v8":"8.4"},"15.0.0":{"node_abi":88,"v8":"8.6"},"15.0.1":{"node_abi":88,"v8":"8.6"},"15.1.0":{"node_abi":88,"v8":"8.6"},"15.2.0":{"node_abi":88,"v8":"8.6"},"15.2.1":{"node_abi":88,"v8":"8.6"},"15.3.0":{"node_abi":88,"v8":"8.6"},"15.4.0":{"node_abi":88,"v8":"8.6"},"15.5.0":{"node_abi":88,"v8":"8.6"},"15.5.1":{"node_abi":88,"v8":"8.6"},"15.6.0":{"node_abi":88,"v8":"8.6"},"15.7.0":{"node_abi":88,"v8":"8.6"},"15.8.0":{"node_abi":88,"v8":"8.6"},"15.9.0":{"node_abi":88,"v8":"8.6"},"15.10.0":{"node_abi":88,"v8":"8.6"},"15.11.0":{"node_abi":88,"v8":"8.6"},"15.12.0":{"node_abi":88,"v8":"8.6"},"15.13.0":{"node_abi":88,"v8":"8.6"},"15.14.0":{"node_abi":88,"v8":"8.6"},"16.0.0":{"node_abi":93,"v8":"9.0"},"16.1.0":{"node_abi":93,"v8":"9.0"},"16.2.0":{"node_abi":93,"v8":"9.0"},"16.3.0":{"node_abi":93,"v8":"9.0"},"16.4.0":{"node_abi":93,"v8":"9.1"},"16.4.1":{"node_abi":93,"v8":"9.1"},"16.4.2":{"node_abi":93,"v8":"9.1"},"16.5.0":{"node_abi":93,"v8":"9.1"},"16.6.0":{"node_abi":93,"v8":"9.2"},"16.6.1":{"node_abi":93,"v8":"9.2"},"16.6.2":{"node_abi":93,"v8":"9.2"},"16.7.0":{"node_abi":93,"v8":"9.2"},"16.8.0":{"node_abi":93,"v8":"9.2"},"16.9.0":{"node_abi":93,"v8":"9.3"},"16.9.1":{"node_abi":93,"v8":"9.3"},"16.10.0":{"node_abi":93,"v8":"9.3"},"16.11.0":{"node_abi":93,"v8":"9.4"},"16.11.1":{"node_abi":93,"v8":"9.4"},"16.12.0":{"node_abi":93,"v8":"9.4"},"16.13.0":{"node_abi":93,"v8":"9.4"},"16.13.1":{"node_abi":93,"v8":"9.4"},"16.13.2":{"node_abi":93,"v8":"9.4"},"16.14.0":{"node_abi":93,"v8":"9.4"},"16.14.1":{"node_abi":93,"v8":"9.4"},"16.14.2":{"node_abi":93,"v8":"9.4"},"16.15.0":{"node_abi":93,"v8":"9.4"},"16.15.1":{"node_abi":93,"v8":"9.4"},"16.16.0":{"node_abi":93,"v8":"9.4"},"16.17.0":{"node_abi":93,"v8":"9.4"},"16.17.1":{"node_abi":93,"v8":"9.4"},"16.18.0":{"node_abi":93,"v8":"9.4"},"16.18.1":{"node_abi":93,"v8":"9.4"},"16.19.0":{"node_abi":93,"v8":"9.4"},"16.19.1":{"node_abi":93,"v8":"9.4"},"16.20.0":{"node_abi":93,"v8":"9.4"},"16.20.1":{"node_abi":93,"v8":"9.4"},"16.20.2":{"node_abi":93,"v8":"9.4"},"17.0.0":{"node_abi":102,"v8":"9.5"},"17.0.1":{"node_abi":102,"v8":"9.5"},"17.1.0":{"node_abi":102,"v8":"9.5"},"17.2.0":{"node_abi":102,"v8":"9.6"},"17.3.0":{"node_abi":102,"v8":"9.6"},"17.3.1":{"node_abi":102,"v8":"9.6"},"17.4.0":{"node_abi":102,"v8":"9.6"},"17.5.0":{"node_abi":102,"v8":"9.6"},"17.6.0":{"node_abi":102,"v8":"9.6"},"17.7.0":{"node_abi":102,"v8":"9.6"},"17.7.1":{"node_abi":102,"v8":"9.6"},"17.7.2":{"node_abi":102,"v8":"9.6"},"17.8.0":{"node_abi":102,"v8":"9.6"},"17.9.0":{"node_abi":102,"v8":"9.6"},"17.9.1":{"node_abi":102,"v8":"9.6"},"18.0.0":{"node_abi":108,"v8":"10.1"},"18.1.0":{"node_abi":108,"v8":"10.1"},"18.2.0":{"node_abi":108,"v8":"10.1"},"18.3.0":{"node_abi":108,"v8":"10.2"},"18.4.0":{"node_abi":108,"v8":"10.2"},"18.5.0":{"node_abi":108,"v8":"10.2"},"18.6.0":{"node_abi":108,"v8":"10.2"},"18.7.0":{"node_abi":108,"v8":"10.2"},"18.8.0":{"node_abi":108,"v8":"10.2"},"18.9.0":{"node_abi":108,"v8":"10.2"},"18.9.1":{"node_abi":108,"v8":"10.2"},"18.10.0":{"node_abi":108,"v8":"10.2"},"18.11.0":{"node_abi":108,"v8":"10.2"},"18.12.0":{"node_abi":108,"v8":"10.2"},"18.12.1":{"node_abi":108,"v8":"10.2"},"18.13.0":{"node_abi":108,"v8":"10.2"},"18.14.0":{"node_abi":108,"v8":"10.2"},"18.14.1":{"node_abi":108,"v8":"10.2"},"18.14.2":{"node_abi":108,"v8":"10.2"},"18.15.0":{"node_abi":108,"v8":"10.2"},"18.16.0":{"node_abi":108,"v8":"10.2"},"18.16.1":{"node_abi":108,"v8":"10.2"},"18.17.0":{"node_abi":108,"v8":"10.2"},"18.17.1":{"node_abi":108,"v8":"10.2"},"18.18.0":{"node_abi":108,"v8":"10.2"},"18.18.1":{"node_abi":108,"v8":"10.2"},"18.18.2":{"node_abi":108,"v8":"10.2"},"18.19.0":{"node_abi":108,"v8":"10.2"},"18.19.1":{"node_abi":108,"v8":"10.2"},"18.20.0":{"node_abi":108,"v8":"10.2"},"18.20.1":{"node_abi":108,"v8":"10.2"},"18.20.2":{"node_abi":108,"v8":"10.2"},"18.20.3":{"node_abi":108,"v8":"10.2"},"18.20.4":{"node_abi":108,"v8":"10.2"},"18.20.5":{"node_abi":108,"v8":"10.2"},"18.20.6":{"node_abi":108,"v8":"10.2"},"18.20.7":{"node_abi":108,"v8":"10.2"},"18.20.8":{"node_abi":108,"v8":"10.2"},"19.0.0":{"node_abi":111,"v8":"10.7"},"19.0.1":{"node_abi":111,"v8":"10.7"},"19.1.0":{"node_abi":111,"v8":"10.7"},"19.2.0":{"node_abi":111,"v8":"10.8"},"19.3.0":{"node_abi":111,"v8":"10.8"},"19.4.0":{"node_abi":111,"v8":"10.8"},"19.5.0":{"node_abi":111,"v8":"10.8"},"19.6.0":{"node_abi":111,"v8":"10.8"},"19.6.1":{"node_abi":111,"v8":"10.8"},"19.7.0":{"node_abi":111,"v8":"10.8"},"19.8.0":{"node_abi":111,"v8":"10.8"},"19.8.1":{"node_abi":111,"v8":"10.8"},"19.9.0":{"node_abi":111,"v8":"10.8"},"20.0.0":{"node_abi":115,"v8":"11.3"},"20.1.0":{"node_abi":115,"v8":"11.3"},"20.2.0":{"node_abi":115,"v8":"11.3"},"20.3.0":{"node_abi":115,"v8":"11.3"},"20.3.1":{"node_abi":115,"v8":"11.3"},"20.4.0":{"node_abi":115,"v8":"11.3"},"20.5.0":{"node_abi":115,"v8":"11.3"},"20.5.1":{"node_abi":115,"v8":"11.3"},"20.6.0":{"node_abi":115,"v8":"11.3"},"20.6.1":{"node_abi":115,"v8":"11.3"},"20.7.0":{"node_abi":115,"v8":"11.3"},"20.8.0":{"node_abi":115,"v8":"11.3"},"20.8.1":{"node_abi":115,"v8":"11.3"},"20.9.0":{"node_abi":115,"v8":"11.3"},"20.10.0":{"node_abi":115,"v8":"11.3"},"20.11.0":{"node_abi":115,"v8":"11.3"},"20.11.1":{"node_abi":115,"v8":"11.3"},"20.12.0":{"node_abi":115,"v8":"11.3"},"20.12.1":{"node_abi":115,"v8":"11.3"},"20.12.2":{"node_abi":115,"v8":"11.3"},"20.13.0":{"node_abi":115,"v8":"11.3"},"20.13.1":{"node_abi":115,"v8":"11.3"},"20.14.0":{"node_abi":115,"v8":"11.3"},"20.15.0":{"node_abi":115,"v8":"11.3"},"20.15.1":{"node_abi":115,"v8":"11.3"},"20.16.0":{"node_abi":115,"v8":"11.3"},"20.17.0":{"node_abi":115,"v8":"11.3"},"20.18.0":{"node_abi":115,"v8":"11.3"},"20.18.1":{"node_abi":115,"v8":"11.3"},"20.18.2":{"node_abi":115,"v8":"11.3"},"20.18.3":{"node_abi":115,"v8":"11.3"},"20.19.0":{"node_abi":115,"v8":"11.3"},"20.19.1":{"node_abi":115,"v8":"11.3"},"21.0.0":{"node_abi":120,"v8":"11.8"},"21.1.0":{"node_abi":120,"v8":"11.8"},"21.2.0":{"node_abi":120,"v8":"11.8"},"21.3.0":{"node_abi":120,"v8":"11.8"},"21.4.0":{"node_abi":120,"v8":"11.8"},"21.5.0":{"node_abi":120,"v8":"11.8"},"21.6.0":{"node_abi":120,"v8":"11.8"},"21.6.1":{"node_abi":120,"v8":"11.8"},"21.6.2":{"node_abi":120,"v8":"11.8"},"21.7.0":{"node_abi":120,"v8":"11.8"},"21.7.1":{"node_abi":120,"v8":"11.8"},"21.7.2":{"node_abi":120,"v8":"11.8"},"21.7.3":{"node_abi":120,"v8":"11.8"},"22.0.0":{"node_abi":127,"v8":"12.4"},"22.1.0":{"node_abi":127,"v8":"12.4"},"22.2.0":{"node_abi":127,"v8":"12.4"},"22.3.0":{"node_abi":127,"v8":"12.4"},"22.4.0":{"node_abi":127,"v8":"12.4"},"22.4.1":{"node_abi":127,"v8":"12.4"},"22.5.0":{"node_abi":127,"v8":"12.4"},"22.5.1":{"node_abi":127,"v8":"12.4"},"22.6.0":{"node_abi":127,"v8":"12.4"},"22.7.0":{"node_abi":127,"v8":"12.4"},"22.8.0":{"node_abi":127,"v8":"12.4"},"22.9.0":{"node_abi":127,"v8":"12.4"},"22.10.0":{"node_abi":127,"v8":"12.4"},"22.11.0":{"node_abi":127,"v8":"12.4"},"22.12.0":{"node_abi":127,"v8":"12.4"},"22.13.0":{"node_abi":127,"v8":"12.4"},"22.13.1":{"node_abi":127,"v8":"12.4"},"22.14.0":{"node_abi":127,"v8":"12.4"},"22.15.0":{"node_abi":127,"v8":"12.4"},"23.0.0":{"node_abi":131,"v8":"12.9"},"23.1.0":{"node_abi":131,"v8":"12.9"},"23.2.0":{"node_abi":131,"v8":"12.9"},"23.3.0":{"node_abi":131,"v8":"12.9"},"23.4.0":{"node_abi":131,"v8":"12.9"},"23.5.0":{"node_abi":131,"v8":"12.9"},"23.6.0":{"node_abi":131,"v8":"12.9"},"23.6.1":{"node_abi":131,"v8":"12.9"},"23.7.0":{"node_abi":131,"v8":"12.9"},"23.8.0":{"node_abi":131,"v8":"12.9"},"23.9.0":{"node_abi":131,"v8":"12.9"},"23.10.0":{"node_abi":131,"v8":"12.9"},"23.11.0":{"node_abi":131,"v8":"12.9"},"24.0.0":{"node_abi":137,"v8":"13.6"}}')},9355:e=>{"use strict";e.exports=JSON.parse('{"name":"@mapbox/node-pre-gyp","description":"Node.js native addon binary install tool","version":"2.0.3","keywords":["native","addon","module","c","c++","bindings","binary"],"license":"BSD-3-Clause","author":"Dane Springmeyer <dane@mapbox.com>","repository":{"type":"git","url":"git://github.com/mapbox/node-pre-gyp.git"},"bin":"./bin/node-pre-gyp","main":"./lib/node-pre-gyp.js","engines":{"node":">=18"},"dependencies":{"consola":"^3.2.3","detect-libc":"^2.0.0","https-proxy-agent":"^7.0.5","node-fetch":"^2.6.7","nopt":"^8.0.0","semver":"^7.5.3","tar":"^7.4.0"},"devDependencies":{"@mapbox/cloudfriend":"^9.0.0","@mapbox/eslint-config-mapbox":"^5.0.1","aws-sdk":"^2.1087.0","codecov":"^3.8.3","eslint":"^8.57.0","eslint-plugin-n":"^17.9.0","mock-aws-s3":"^4.0.2","nock":"^13.5.4","node-addon-api":"^8.1.0","nyc":"^17.0.0","tape":"^5.5.2","tar-fs":"^3.1.1"},"nyc":{"all":true,"skip-full":false,"exclude":["test/**"]},"scripts":{"coverage":"nyc --all --include index.js --include lib/ npm test","upload-coverage":"nyc report --reporter json && codecov --clear --flags=unit --file=./coverage/coverage-final.json","lint":"eslint bin/node-pre-gyp lib/*js lib/util/*js test/*js scripts/*js","fix":"npm run lint -- --fix","update-crosswalk":"node scripts/abi_crosswalk.js","test":"tape test/*test.js","test:s3":"tape test/s3.test.js","bucket":"node scripts/set-bucket.js"},"overrides":{"js-yaml":"^3.14.2"}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var s=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(s.exports,s,s.exports,__nccwpck_require__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(9631);module.exports=__webpack_exports__})();