chvm 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +0 -1
- package/dist/cli.cjs +25 -25
- package/package.json +5 -3
package/dist/cli.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var
|
|
3
|
-
`).replace(/^/gm," ".repeat(
|
|
4
|
-
`)}padWidth(e,
|
|
2
|
+
"use strict";var Yu=Object.create;var Di=Object.defineProperty;var Ku=Object.getOwnPropertyDescriptor;var Xu=Object.getOwnPropertyNames;var Ju=Object.getPrototypeOf,Qu=Object.prototype.hasOwnProperty;var ea=(t,e)=>()=>(t&&(e=t(t=0)),e);var S=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ta=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xu(e))!Qu.call(t,i)&&i!==r&&Di(t,i,{get:()=>e[i],enumerable:!(n=Ku(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Yu(Ju(t)):{},ta(e||!t||!t.__esModule?Di(r,"default",{value:t,enumerable:!0}):r,t));var D=ea(()=>{"use strict"});var mt=S(Rr=>{"use strict";D();var Ht=class extends Error{constructor(e,r,n){super(n),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=r,this.exitCode=e,this.nestedError=void 0}},Ir=class extends Ht{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};Rr.CommanderError=Ht;Rr.InvalidArgumentError=Ir});var jt=S(Nr=>{"use strict";D();var{InvalidArgumentError:ra}=mt(),Lr=class{constructor(e,r){switch(this.description=r||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,r){return r===this.defaultValue||!Array.isArray(r)?[e]:r.concat(e)}default(e,r){return this.defaultValue=e,this.defaultValueDescription=r,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(r,n)=>{if(!this.argChoices.includes(r))throw new ra(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,n):r},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function na(t){let e=t.name()+(t.variadic===!0?"...":"");return t.required?"<"+e+">":"["+e+"]"}Nr.Argument=Lr;Nr.humanReadableArgName=na});var Pr=S(di=>{"use strict";D();var{humanReadableArgName:ia}=jt(),Mr=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){let r=e.commands.filter(n=>!n._hidden);if(e._hasImplicitHelpCommand()){let[,n,i]=e._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),o=e.createCommand(n).helpOption(!1);o.description(e._helpCommandDescription),i&&o.arguments(i),r.push(o)}return this.sortSubcommands&&r.sort((n,i)=>n.name().localeCompare(i.name())),r}compareOptions(e,r){let n=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return n(e).localeCompare(n(r))}visibleOptions(e){let r=e.options.filter(o=>!o.hidden),n=e._hasHelpOption&&e._helpShortFlag&&!e._findOption(e._helpShortFlag),i=e._hasHelpOption&&!e._findOption(e._helpLongFlag);if(n||i){let o;n?i?o=e.createOption(e._helpFlags,e._helpDescription):o=e.createOption(e._helpShortFlag,e._helpDescription):o=e.createOption(e._helpLongFlag,e._helpDescription),r.push(o)}return this.sortOptions&&r.sort(this.compareOptions),r}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let r=[];for(let n=e.parent;n;n=n.parent){let i=n.options.filter(o=>!o.hidden);r.push(...i)}return this.sortOptions&&r.sort(this.compareOptions),r}visibleArguments(e){return e._argsDescription&&e.registeredArguments.forEach(r=>{r.description=r.description||e._argsDescription[r.name()]||""}),e.registeredArguments.find(r=>r.description)?e.registeredArguments:[]}subcommandTerm(e){let r=e.registeredArguments.map(n=>ia(n)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(r?" "+r:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,r){return r.visibleCommands(e).reduce((n,i)=>Math.max(n,r.subcommandTerm(i).length),0)}longestOptionTermLength(e,r){return r.visibleOptions(e).reduce((n,i)=>Math.max(n,r.optionTerm(i).length),0)}longestGlobalOptionTermLength(e,r){return r.visibleGlobalOptions(e).reduce((n,i)=>Math.max(n,r.optionTerm(i).length),0)}longestArgumentTermLength(e,r){return r.visibleArguments(e).reduce((n,i)=>Math.max(n,r.argumentTerm(i).length),0)}commandUsage(e){let r=e._name;e._aliases[0]&&(r=r+"|"+e._aliases[0]);let n="";for(let i=e.parent;i;i=i.parent)n=i.name()+" "+n;return n+r+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let r=[];return e.argChoices&&r.push(`choices: ${e.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),e.defaultValue!==void 0&&(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue=="boolean")&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),e.presetArg!==void 0&&e.optional&&r.push(`preset: ${JSON.stringify(e.presetArg)}`),e.envVar!==void 0&&r.push(`env: ${e.envVar}`),r.length>0?`${e.description} (${r.join(", ")})`:e.description}argumentDescription(e){let r=[];if(e.argChoices&&r.push(`choices: ${e.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),e.defaultValue!==void 0&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),r.length>0){let n=`(${r.join(", ")})`;return e.description?`${e.description} ${n}`:n}return e.description}formatHelp(e,r){let n=r.padWidth(e,r),i=r.helpWidth||80,o=2,s=2;function a(c,g){if(g){let p=`${c.padEnd(n+s)}${g}`;return r.wrap(p,i-o,n+s)}return c}function f(c){return c.join(`
|
|
3
|
+
`).replace(/^/gm," ".repeat(o))}let d=[`Usage: ${r.commandUsage(e)}`,""],h=r.commandDescription(e);h.length>0&&(d=d.concat([r.wrap(h,i,0),""]));let F=r.visibleArguments(e).map(c=>a(r.argumentTerm(c),r.argumentDescription(c)));F.length>0&&(d=d.concat(["Arguments:",f(F),""]));let y=r.visibleOptions(e).map(c=>a(r.optionTerm(c),r.optionDescription(c)));if(y.length>0&&(d=d.concat(["Options:",f(y),""])),this.showGlobalOptions){let c=r.visibleGlobalOptions(e).map(g=>a(r.optionTerm(g),r.optionDescription(g)));c.length>0&&(d=d.concat(["Global Options:",f(c),""]))}let l=r.visibleCommands(e).map(c=>a(r.subcommandTerm(c),r.subcommandDescription(c)));return l.length>0&&(d=d.concat(["Commands:",f(l),""])),d.join(`
|
|
4
|
+
`)}padWidth(e,r){return Math.max(r.longestOptionTermLength(e,r),r.longestGlobalOptionTermLength(e,r),r.longestSubcommandTermLength(e,r),r.longestArgumentTermLength(e,r))}wrap(e,r,n,i=40){let o=" \\f\\t\\v\xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF",s=new RegExp(`[\\n][${o}]+`);if(e.match(s))return e;let a=r-n;if(a<i)return e;let f=e.slice(0,n),d=e.slice(n).replace(`\r
|
|
5
5
|
`,`
|
|
6
|
-
`),
|
|
7
|
-
|.{1,${
|
|
8
|
-
`?"":(
|
|
9
|
-
`)}};
|
|
10
|
-
(Did you mean one of ${
|
|
11
|
-
(Did you mean ${
|
|
12
|
-
- specify the name in Command constructor or using .name()`);return
|
|
13
|
-
Expecting one of '${
|
|
6
|
+
`),h=" ".repeat(n),y="\\s\u200B",l=new RegExp(`
|
|
7
|
+
|.{1,${a-1}}([${y}]|$)|[^${y}]+?([${y}]|$)`,"g"),c=d.match(l)||[];return f+c.map((g,p)=>g===`
|
|
8
|
+
`?"":(p>0?h:"")+g.trimEnd()).join(`
|
|
9
|
+
`)}};di.Help=Mr});var Hr=S(Vt=>{"use strict";D();var{InvalidArgumentError:oa}=mt(),Ur=class{constructor(e,r){this.flags=e,this.description=r||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;let n=pi(e);this.short=n.shortFlag,this.long=n.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,r){return this.defaultValue=e,this.defaultValueDescription=r,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let r=e;return typeof e=="string"&&(r={[e]:!0}),this.implied=Object.assign(this.implied||{},r),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,r){return r===this.defaultValue||!Array.isArray(r)?[e]:r.concat(e)}choices(e){return this.argChoices=e.slice(),this.parseArg=(r,n)=>{if(!this.argChoices.includes(r))throw new oa(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,n):r},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return sa(this.name().replace(/^no-/,""))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},kr=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(r=>{r.negate?this.negativeOptions.set(r.attributeName(),r):this.positiveOptions.set(r.attributeName(),r)}),this.negativeOptions.forEach((r,n)=>{this.positiveOptions.has(n)&&this.dualOptions.add(n)})}valueFromOption(e,r){let n=r.attributeName();if(!this.dualOptions.has(n))return!0;let i=this.negativeOptions.get(n).presetArg,o=i!==void 0?i:!1;return r.negate===(o===e)}};function sa(t){return t.split("-").reduce((e,r)=>e+r[0].toUpperCase()+r.slice(1))}function pi(t){let e,r,n=t.split(/[ |,]+/);return n.length>1&&!/^[[<]/.test(n[1])&&(e=n.shift()),r=n.shift(),!e&&/^-[^-]$/.test(r)&&(e=r,r=void 0),{shortFlag:e,longFlag:r}}Vt.Option=Ur;Vt.splitOptionFlags=pi;Vt.DualOptions=kr});var gi=S(mi=>{"use strict";D();function ua(t,e){if(Math.abs(t.length-e.length)>3)return Math.max(t.length,e.length);let r=[];for(let n=0;n<=t.length;n++)r[n]=[n];for(let n=0;n<=e.length;n++)r[0][n]=n;for(let n=1;n<=e.length;n++)for(let i=1;i<=t.length;i++){let o=1;t[i-1]===e[n-1]?o=0:o=1,r[i][n]=Math.min(r[i-1][n]+1,r[i][n-1]+1,r[i-1][n-1]+o),i>1&&n>1&&t[i-1]===e[n-2]&&t[i-2]===e[n-1]&&(r[i][n]=Math.min(r[i][n],r[i-2][n-2]+1))}return r[t.length][e.length]}function aa(t,e){if(!e||e.length===0)return"";e=Array.from(new Set(e));let r=t.startsWith("--");r&&(t=t.slice(2),e=e.map(s=>s.slice(2)));let n=[],i=3,o=.4;return e.forEach(s=>{if(s.length<=1)return;let a=ua(t,s),f=Math.max(t.length,s.length);(f-a)/f>o&&(a<i?(i=a,n=[s]):a===i&&n.push(s))}),n.sort((s,a)=>s.localeCompare(a)),r&&(n=n.map(s=>`--${s}`)),n.length>1?`
|
|
10
|
+
(Did you mean one of ${n.join(", ")}?)`:n.length===1?`
|
|
11
|
+
(Did you mean ${n[0]}?)`:""}mi.suggestSimilar=aa});var xi=S(yi=>{"use strict";D();var la=require("events").EventEmitter,jr=require("child_process"),ve=require("path"),Vr=require("fs"),q=require("process"),{Argument:fa,humanReadableArgName:ca}=jt(),{CommanderError:$r}=mt(),{Help:ha}=Pr(),{Option:Ei,splitOptionFlags:Da,DualOptions:da}=Hr(),{suggestSimilar:Fi}=gi(),qr=class t extends la{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:r=>q.stdout.write(r),writeErr:r=>q.stderr.write(r),getOutHelpWidth:()=>q.stdout.isTTY?q.stdout.columns:void 0,getErrHelpWidth:()=>q.stderr.isTTY?q.stderr.columns:void 0,outputError:(r,n)=>n(r)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._hasHelpOption=e._hasHelpOption,this._helpFlags=e._helpFlags,this._helpDescription=e._helpDescription,this._helpShortFlag=e._helpShortFlag,this._helpLongFlag=e._helpLongFlag,this._helpCommandName=e._helpCommandName,this._helpCommandnameAndArgs=e._helpCommandnameAndArgs,this._helpCommandDescription=e._helpCommandDescription,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){let e=[];for(let r=this;r;r=r.parent)e.push(r);return e}command(e,r,n){let i=r,o=n;typeof i=="object"&&i!==null&&(o=i,i=null),o=o||{};let[,s,a]=e.match(/([^ ]+) *(.*)/),f=this.createCommand(s);return i&&(f.description(i),f._executableHandler=!0),o.isDefault&&(this._defaultCommandName=f._name),f._hidden=!!(o.noHelp||o.hidden),f._executableFile=o.executableFile||null,a&&f.arguments(a),this.commands.push(f),f.parent=this,f.copyInheritedSettings(this),i?this:f}createCommand(e){return new t(e)}createHelp(){return Object.assign(new ha,this.configureHelp())}configureHelp(e){return e===void 0?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return e===void 0?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return typeof e!="string"&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,r){if(!e._name)throw new Error(`Command passed to .addCommand() must have a name
|
|
12
|
+
- specify the name in Command constructor or using .name()`);return r=r||{},r.isDefault&&(this._defaultCommandName=e._name),(r.noHelp||r.hidden)&&(e._hidden=!0),this.commands.push(e),e.parent=this,this}createArgument(e,r){return new fa(e,r)}argument(e,r,n,i){let o=this.createArgument(e,r);return typeof n=="function"?o.default(i).argParser(n):o.default(n),this.addArgument(o),this}arguments(e){return e.trim().split(/ +/).forEach(r=>{this.argument(r)}),this}addArgument(e){let r=this.registeredArguments.slice(-1)[0];if(r&&r.variadic)throw new Error(`only the last argument can be variadic '${r.name()}'`);if(e.required&&e.defaultValue!==void 0&&e.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}addHelpCommand(e,r){return e===!1?this._addImplicitHelpCommand=!1:(this._addImplicitHelpCommand=!0,typeof e=="string"&&(this._helpCommandName=e.split(" ")[0],this._helpCommandnameAndArgs=e),this._helpCommandDescription=r||this._helpCommandDescription),this}_hasImplicitHelpCommand(){return this._addImplicitHelpCommand===void 0?this.commands.length&&!this._actionHandler&&!this._findCommand("help"):this._addImplicitHelpCommand}hook(e,r){let n=["preSubcommand","preAction","postAction"];if(!n.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.
|
|
13
|
+
Expecting one of '${n.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(r):this._lifeCycleHooks[e]=[r],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=r=>{if(r.code!=="commander.executeSubCommandAsync")throw r},this}_exit(e,r,n){this._exitCallback&&this._exitCallback(new $r(e,r,n)),q.exit(e)}action(e){let r=n=>{let i=this.registeredArguments.length,o=n.slice(0,i);return this._storeOptionsAsProperties?o[i]=this:o[i]=this.opts(),o.push(this),e.apply(this,o)};return this._actionHandler=r,this}createOption(e,r){return new Ei(e,r)}_callParseArg(e,r,n,i){try{return e.parseArg(r,n)}catch(o){if(o.code==="commander.invalidArgument"){let s=`${i} ${o.message}`;this.error(s,{exitCode:o.exitCode,code:o.code})}throw o}}addOption(e){let r=e.name(),n=e.attributeName();if(e.negate){let o=e.long.replace(/^--no-/,"--");this._findOption(o)||this.setOptionValueWithSource(n,e.defaultValue===void 0?!0:e.defaultValue,"default")}else e.defaultValue!==void 0&&this.setOptionValueWithSource(n,e.defaultValue,"default");this.options.push(e);let i=(o,s,a)=>{o==null&&e.presetArg!==void 0&&(o=e.presetArg);let f=this.getOptionValue(n);o!==null&&e.parseArg?o=this._callParseArg(e,o,f,s):o!==null&&e.variadic&&(o=e._concatValue(o,f)),o==null&&(e.negate?o=!1:e.isBoolean()||e.optional?o=!0:o=""),this.setOptionValueWithSource(n,o,a)};return this.on("option:"+r,o=>{let s=`error: option '${e.flags}' argument '${o}' is invalid.`;i(o,s,"cli")}),e.envVar&&this.on("optionEnv:"+r,o=>{let s=`error: option '${e.flags}' value '${o}' from env '${e.envVar}' is invalid.`;i(o,s,"env")}),this}_optionEx(e,r,n,i,o){if(typeof r=="object"&&r instanceof Ei)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");let s=this.createOption(r,n);if(s.makeOptionMandatory(!!e.mandatory),typeof i=="function")s.default(o).argParser(i);else if(i instanceof RegExp){let a=i;i=(f,d)=>{let h=a.exec(f);return h?h[0]:d},s.default(o).argParser(i)}else s.default(i);return this.addOption(s)}option(e,r,n,i){return this._optionEx({},e,r,n,i)}requiredOption(e,r,n,i){return this._optionEx({mandatory:!0},e,r,n,i)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){if(this._passThroughOptions=!!e,this.parent&&e&&!this.parent._enablePositionalOptions)throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)");return this}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,r){return this.setOptionValueWithSource(e,r,void 0)}setOptionValueWithSource(e,r,n){return this._storeOptionsAsProperties?this[e]=r:this._optionValues[e]=r,this._optionValueSources[e]=n,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let r;return this._getCommandAndAncestors().forEach(n=>{n.getOptionValueSource(e)!==void 0&&(r=n.getOptionValueSource(e))}),r}_prepareUserArgs(e,r){if(e!==void 0&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");r=r||{},e===void 0&&(e=q.argv,q.versions&&q.versions.electron&&(r.from="electron")),this.rawArgs=e.slice();let n;switch(r.from){case void 0:case"node":this._scriptPath=e[1],n=e.slice(2);break;case"electron":q.defaultApp?(this._scriptPath=e[1],n=e.slice(2)):n=e.slice(1);break;case"user":n=e.slice(0);break;default:throw new Error(`unexpected parse option { from: '${r.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",n}parse(e,r){let n=this._prepareUserArgs(e,r);return this._parseCommand([],n),this}async parseAsync(e,r){let n=this._prepareUserArgs(e,r);return await this._parseCommand([],n),this}_executeSubCommand(e,r){r=r.slice();let n=!1,i=[".js",".ts",".tsx",".mjs",".cjs"];function o(h,F){let y=ve.resolve(h,F);if(Vr.existsSync(y))return y;if(i.includes(ve.extname(F)))return;let l=i.find(c=>Vr.existsSync(`${y}${c}`));if(l)return`${y}${l}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let s=e._executableFile||`${this._name}-${e._name}`,a=this._executableDir||"";if(this._scriptPath){let h;try{h=Vr.realpathSync(this._scriptPath)}catch{h=this._scriptPath}a=ve.resolve(ve.dirname(h),a)}if(a){let h=o(a,s);if(!h&&!e._executableFile&&this._scriptPath){let F=ve.basename(this._scriptPath,ve.extname(this._scriptPath));F!==this._name&&(h=o(a,`${F}-${e._name}`))}s=h||s}n=i.includes(ve.extname(s));let f;q.platform!=="win32"?n?(r.unshift(s),r=Ci(q.execArgv).concat(r),f=jr.spawn(q.argv[0],r,{stdio:"inherit"})):f=jr.spawn(s,r,{stdio:"inherit"}):(r.unshift(s),r=Ci(q.execArgv).concat(r),f=jr.spawn(q.execPath,r,{stdio:"inherit"})),f.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(F=>{q.on(F,()=>{f.killed===!1&&f.exitCode===null&&f.kill(F)})});let d=this._exitCallback;d?f.on("close",()=>{d(new $r(q.exitCode||0,"commander.executeSubCommandAsync","(close)"))}):f.on("close",q.exit.bind(q)),f.on("error",h=>{if(h.code==="ENOENT"){let F=a?`searched for local subcommand relative to directory '${a}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",y=`'${s}' does not exist
|
|
14
14
|
- if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
15
15
|
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
16
|
-
- ${
|
|
16
|
+
- ${F}`;throw new Error(y)}else if(h.code==="EACCES")throw new Error(`'${s}' not executable`);if(!d)q.exit(1);else{let F=new $r(1,"commander.executeSubCommandAsync","(error)");F.nestedError=h,d(F)}}),this.runningCommand=f}_dispatchSubcommand(e,r,n){let i=this._findCommand(e);i||this.help({error:!0});let o;return o=this._chainOrCallSubCommandHook(o,i,"preSubcommand"),o=this._chainOrCall(o,()=>{if(i._executableHandler)this._executeSubCommand(i,r.concat(n));else return i._parseCommand(r,n)}),o}_dispatchHelpCommand(e){e||this.help();let r=this._findCommand(e);return r&&!r._executableHandler&&r.help(),this._dispatchSubcommand(e,[],[this._helpLongFlag||this._helpShortFlag])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,r)=>{e.required&&this.args[r]==null&&this.missingArgument(e.name())}),!(this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)&&this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){let e=(n,i,o)=>{let s=i;if(i!==null&&n.parseArg){let a=`error: command-argument value '${i}' is invalid for argument '${n.name()}'.`;s=this._callParseArg(n,i,o,a)}return s};this._checkNumberOfArguments();let r=[];this.registeredArguments.forEach((n,i)=>{let o=n.defaultValue;n.variadic?i<this.args.length?(o=this.args.slice(i),n.parseArg&&(o=o.reduce((s,a)=>e(n,a,s),n.defaultValue))):o===void 0&&(o=[]):i<this.args.length&&(o=this.args[i],n.parseArg&&(o=e(n,o,n.defaultValue))),r[i]=o}),this.processedArgs=r}_chainOrCall(e,r){return e&&e.then&&typeof e.then=="function"?e.then(()=>r()):r()}_chainOrCallHooks(e,r){let n=e,i=[];return this._getCommandAndAncestors().reverse().filter(o=>o._lifeCycleHooks[r]!==void 0).forEach(o=>{o._lifeCycleHooks[r].forEach(s=>{i.push({hookedCommand:o,callback:s})})}),r==="postAction"&&i.reverse(),i.forEach(o=>{n=this._chainOrCall(n,()=>o.callback(o.hookedCommand,this))}),n}_chainOrCallSubCommandHook(e,r,n){let i=e;return this._lifeCycleHooks[n]!==void 0&&this._lifeCycleHooks[n].forEach(o=>{i=this._chainOrCall(i,()=>o(this,r))}),i}_parseCommand(e,r){let n=this.parseOptions(r);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(n.operands),r=n.unknown,this.args=e.concat(r),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),r);if(this._hasImplicitHelpCommand()&&e[0]===this._helpCommandName)return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return _i(this,r),this._dispatchSubcommand(this._defaultCommandName,e,r);this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName&&this.help({error:!0}),_i(this,n.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let i=()=>{n.unknown.length>0&&this.unknownOption(n.unknown[0])},o=`command:${this.name()}`;if(this._actionHandler){i(),this._processArguments();let s;return s=this._chainOrCallHooks(s,"preAction"),s=this._chainOrCall(s,()=>this._actionHandler(this.processedArgs)),this.parent&&(s=this._chainOrCall(s,()=>{this.parent.emit(o,e,r)})),s=this._chainOrCallHooks(s,"postAction"),s}if(this.parent&&this.parent.listenerCount(o))i(),this._processArguments(),this.parent.emit(o,e,r);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,r);this.listenerCount("command:*")?this.emit("command:*",e,r):this.commands.length?this.unknownCommand():(i(),this._processArguments())}else this.commands.length?(i(),this.help({error:!0})):(i(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(r=>r._name===e||r._aliases.includes(e))}_findOption(e){return this.options.find(r=>r.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(r=>{r.mandatory&&e.getOptionValue(r.attributeName())===void 0&&e.missingMandatoryOptionValue(r)})})}_checkForConflictingLocalOptions(){let e=this.options.filter(n=>{let i=n.attributeName();return this.getOptionValue(i)===void 0?!1:this.getOptionValueSource(i)!=="default"});e.filter(n=>n.conflictsWith.length>0).forEach(n=>{let i=e.find(o=>n.conflictsWith.includes(o.attributeName()));i&&this._conflictingOption(n,i)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){let r=[],n=[],i=r,o=e.slice();function s(f){return f.length>1&&f[0]==="-"}let a=null;for(;o.length;){let f=o.shift();if(f==="--"){i===n&&i.push(f),i.push(...o);break}if(a&&!s(f)){this.emit(`option:${a.name()}`,f);continue}if(a=null,s(f)){let d=this._findOption(f);if(d){if(d.required){let h=o.shift();h===void 0&&this.optionMissingArgument(d),this.emit(`option:${d.name()}`,h)}else if(d.optional){let h=null;o.length>0&&!s(o[0])&&(h=o.shift()),this.emit(`option:${d.name()}`,h)}else this.emit(`option:${d.name()}`);a=d.variadic?d:null;continue}}if(f.length>2&&f[0]==="-"&&f[1]!=="-"){let d=this._findOption(`-${f[1]}`);if(d){d.required||d.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${d.name()}`,f.slice(2)):(this.emit(`option:${d.name()}`),o.unshift(`-${f.slice(2)}`));continue}}if(/^--[^=]+=/.test(f)){let d=f.indexOf("="),h=this._findOption(f.slice(0,d));if(h&&(h.required||h.optional)){this.emit(`option:${h.name()}`,f.slice(d+1));continue}}if(s(f)&&(i=n),(this._enablePositionalOptions||this._passThroughOptions)&&r.length===0&&n.length===0){if(this._findCommand(f)){r.push(f),o.length>0&&n.push(...o);break}else if(f===this._helpCommandName&&this._hasImplicitHelpCommand()){r.push(f),o.length>0&&r.push(...o);break}else if(this._defaultCommandName){n.push(f),o.length>0&&n.push(...o);break}}if(this._passThroughOptions){i.push(f),o.length>0&&i.push(...o);break}i.push(f)}return{operands:r,unknown:n}}opts(){if(this._storeOptionsAsProperties){let e={},r=this.options.length;for(let n=0;n<r;n++){let i=this.options[n].attributeName();e[i]=i===this._versionOptionName?this._version:this[i]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,r)=>Object.assign(e,r.opts()),{})}error(e,r){this._outputConfiguration.outputError(`${e}
|
|
17
17
|
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError=="string"?this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
18
18
|
`):this._showHelpAfterError&&(this._outputConfiguration.writeErr(`
|
|
19
|
-
`),this.outputHelp({error:!0}));let r
|
|
20
|
-
`),this._exit(0,"commander.version",e)}),this}description(e,
|
|
21
|
-
Expecting one of '${
|
|
22
|
-
`)}),this}};function Ki(t,e){t._hasHelpOption&&e.find(r=>r===t._helpLongFlag||r===t._helpShortFlag)&&(t.outputHelp(),t._exit(0,"commander.helpDisplayed","(outputHelp)"))}function Ji(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let i,r="127.0.0.1",n="9229",u;return(u=e.match(/^(--inspect(-brk)?)$/))!==null?i=u[1]:(u=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(i=u[1],/^\d+$/.test(u[3])?n=u[3]:r=u[3]):(u=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(i=u[1],r=u[3],n=u[4]),i&&n!=="0"?`${i}=${r}:${parseInt(n)+1}`:e})}Qi.Command=br});var rn=g((te,tn)=>{"use strict";f();var{Argument:Ds}=bt(),{Command:Xi}=Zi(),{CommanderError:ds,InvalidArgumentError:en}=et(),{Help:ps}=Fr(),{Option:ms}=Cr();te=tn.exports=new Xi;te.program=te;te.Command=Xi;te.Option=ms;te.Argument=Ds;te.Help=ps;te.CommanderError=ds;te.InvalidArgumentError=en;te.InvalidOptionArgumentError=en});var yn=g((Tc,Rr)=>{"use strict";f();var Cn=(t,e)=>{for(let i of Reflect.ownKeys(e))Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i));return t};Rr.exports=Cn;Rr.exports.default=Cn});var xn=g((Mc,Tt)=>{"use strict";f();var Rs=yn(),Bt=new WeakMap,vn=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let i,r=0,n=t.displayName||t.name||"<anonymous>",u=function(...o){if(Bt.set(u,++r),r===1)i=t.apply(this,o),t=null;else if(e.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return i};return Rs(u,t),Bt.set(u,r),u};Tt.exports=vn;Tt.exports.default=vn;Tt.exports.callCount=t=>{if(!Bt.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return Bt.get(t)}});var bn=g((Nc,Rt)=>{"use strict";f();Rt.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Rt.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Rt.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Nr=g((Lc,Ue)=>{"use strict";f();var P=global.process,we=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};we(P)?(wn=require("assert"),qe=bn(),An=/^win/i.test(P.platform),nt=require("events"),typeof nt!="function"&&(nt=nt.EventEmitter),P.__signal_exit_emitter__?q=P.__signal_exit_emitter__:(q=P.__signal_exit_emitter__=new nt,q.count=0,q.emitted={}),q.infinite||(q.setMaxListeners(1/0),q.infinite=!0),Ue.exports=function(t,e){if(!we(global.process))return function(){};wn.equal(typeof t,"function","a callback must be provided for exit handler"),He===!1&&Mr();var i="exit";e&&e.alwaysLast&&(i="afterexit");var r=function(){q.removeListener(i,t),q.listeners("exit").length===0&&q.listeners("afterexit").length===0&&Mt()};return q.on(i,t),r},Mt=function(){!He||!we(global.process)||(He=!1,qe.forEach(function(e){try{P.removeListener(e,Pt[e])}catch{}}),P.emit=Nt,P.reallyExit=Pr,q.count-=1)},Ue.exports.unload=Mt,Ae=function(e,i,r){q.emitted[e]||(q.emitted[e]=!0,q.emit(e,i,r))},Pt={},qe.forEach(function(t){Pt[t]=function(){if(we(global.process)){var i=P.listeners(t);i.length===q.count&&(Mt(),Ae("exit",null,t),Ae("afterexit",null,t),An&&t==="SIGHUP"&&(t="SIGINT"),P.kill(P.pid,t))}}}),Ue.exports.signals=function(){return qe},He=!1,Mr=function(){He||!we(global.process)||(He=!0,q.count+=1,qe=qe.filter(function(e){try{return P.on(e,Pt[e]),!0}catch{return!1}}),P.emit=On,P.reallyExit=Sn)},Ue.exports.load=Mr,Pr=P.reallyExit,Sn=function(e){we(global.process)&&(P.exitCode=e||0,Ae("exit",P.exitCode,null),Ae("afterexit",P.exitCode,null),Pr.call(P,P.exitCode))},Nt=P.emit,On=function(e,i){if(e==="exit"&&we(global.process)){i!==void 0&&(P.exitCode=i);var r=Nt.apply(this,arguments);return Ae("exit",P.exitCode,null),Ae("afterexit",P.exitCode,null),r}else return Nt.apply(this,arguments)}):Ue.exports=function(){return function(){}};var wn,qe,An,nt,q,Mt,Ae,Pt,He,Mr,Pr,Sn,Nt,On});var Pn=g((Uc,Ps)=>{Ps.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var kr=g((Wc,In)=>{"use strict";f();var Lt=Object.assign({},Pn()),Nn=Object.keys(Lt);Object.defineProperty(Lt,"random",{get(){let t=Math.floor(Math.random()*Nn.length),e=Nn[t];return Lt[e]}});In.exports=Lt});var kn=g((nh,jr)=>{"use strict";f();var ge={};typeof jr>"u"?window.eastasianwidth=ge:jr.exports=ge;ge.eastAsianWidth=function(t){var e=t.charCodeAt(0),i=t.length==2?t.charCodeAt(1):0,r=e;return 55296<=e&&e<=56319&&56320<=i&&i<=57343&&(e&=1023,i&=1023,r=e<<10|i,r+=65536),r==12288||65281<=r&&r<=65376||65504<=r&&r<=65510?"F":r==8361||65377<=r&&r<=65470||65474<=r&&r<=65479||65482<=r&&r<=65487||65490<=r&&r<=65495||65498<=r&&r<=65500||65512<=r&&r<=65518?"H":4352<=r&&r<=4447||4515<=r&&r<=4519||4602<=r&&r<=4607||9001<=r&&r<=9002||11904<=r&&r<=11929||11931<=r&&r<=12019||12032<=r&&r<=12245||12272<=r&&r<=12283||12289<=r&&r<=12350||12353<=r&&r<=12438||12441<=r&&r<=12543||12549<=r&&r<=12589||12593<=r&&r<=12686||12688<=r&&r<=12730||12736<=r&&r<=12771||12784<=r&&r<=12830||12832<=r&&r<=12871||12880<=r&&r<=13054||13056<=r&&r<=19903||19968<=r&&r<=42124||42128<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||55216<=r&&r<=55238||55243<=r&&r<=55291||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65106||65108<=r&&r<=65126||65128<=r&&r<=65131||110592<=r&&r<=110593||127488<=r&&r<=127490||127504<=r&&r<=127546||127552<=r&&r<=127560||127568<=r&&r<=127569||131072<=r&&r<=194367||177984<=r&&r<=196605||196608<=r&&r<=262141?"W":32<=r&&r<=126||162<=r&&r<=163||165<=r&&r<=166||r==172||r==175||10214<=r&&r<=10221||10629<=r&&r<=10630?"Na":r==161||r==164||167<=r&&r<=168||r==170||173<=r&&r<=174||176<=r&&r<=180||182<=r&&r<=186||188<=r&&r<=191||r==198||r==208||215<=r&&r<=216||222<=r&&r<=225||r==230||232<=r&&r<=234||236<=r&&r<=237||r==240||242<=r&&r<=243||247<=r&&r<=250||r==252||r==254||r==257||r==273||r==275||r==283||294<=r&&r<=295||r==299||305<=r&&r<=307||r==312||319<=r&&r<=322||r==324||328<=r&&r<=331||r==333||338<=r&&r<=339||358<=r&&r<=359||r==363||r==462||r==464||r==466||r==468||r==470||r==472||r==474||r==476||r==593||r==609||r==708||r==711||713<=r&&r<=715||r==717||r==720||728<=r&&r<=731||r==733||r==735||768<=r&&r<=879||913<=r&&r<=929||931<=r&&r<=937||945<=r&&r<=961||963<=r&&r<=969||r==1025||1040<=r&&r<=1103||r==1105||r==8208||8211<=r&&r<=8214||8216<=r&&r<=8217||8220<=r&&r<=8221||8224<=r&&r<=8226||8228<=r&&r<=8231||r==8240||8242<=r&&r<=8243||r==8245||r==8251||r==8254||r==8308||r==8319||8321<=r&&r<=8324||r==8364||r==8451||r==8453||r==8457||r==8467||r==8470||8481<=r&&r<=8482||r==8486||r==8491||8531<=r&&r<=8532||8539<=r&&r<=8542||8544<=r&&r<=8555||8560<=r&&r<=8569||r==8585||8592<=r&&r<=8601||8632<=r&&r<=8633||r==8658||r==8660||r==8679||r==8704||8706<=r&&r<=8707||8711<=r&&r<=8712||r==8715||r==8719||r==8721||r==8725||r==8730||8733<=r&&r<=8736||r==8739||r==8741||8743<=r&&r<=8748||r==8750||8756<=r&&r<=8759||8764<=r&&r<=8765||r==8776||r==8780||r==8786||8800<=r&&r<=8801||8804<=r&&r<=8807||8810<=r&&r<=8811||8814<=r&&r<=8815||8834<=r&&r<=8835||8838<=r&&r<=8839||r==8853||r==8857||r==8869||r==8895||r==8978||9312<=r&&r<=9449||9451<=r&&r<=9547||9552<=r&&r<=9587||9600<=r&&r<=9615||9618<=r&&r<=9621||9632<=r&&r<=9633||9635<=r&&r<=9641||9650<=r&&r<=9651||9654<=r&&r<=9655||9660<=r&&r<=9661||9664<=r&&r<=9665||9670<=r&&r<=9672||r==9675||9678<=r&&r<=9681||9698<=r&&r<=9701||r==9711||9733<=r&&r<=9734||r==9737||9742<=r&&r<=9743||9748<=r&&r<=9749||r==9756||r==9758||r==9792||r==9794||9824<=r&&r<=9825||9827<=r&&r<=9829||9831<=r&&r<=9834||9836<=r&&r<=9837||r==9839||9886<=r&&r<=9887||9918<=r&&r<=9919||9924<=r&&r<=9933||9935<=r&&r<=9953||r==9955||9960<=r&&r<=9983||r==10045||r==10071||10102<=r&&r<=10111||11093<=r&&r<=11097||12872<=r&&r<=12879||57344<=r&&r<=63743||65024<=r&&r<=65039||r==65533||127232<=r&&r<=127242||127248<=r&&r<=127277||127280<=r&&r<=127337||127344<=r&&r<=127386||917760<=r&&r<=917999||983040<=r&&r<=1048573||1048576<=r&&r<=1114109?"A":"N"};ge.characterLength=function(t){var e=this.eastAsianWidth(t);return e=="F"||e=="W"||e=="A"?2:1};function Ln(t){return t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}ge.length=function(t){for(var e=Ln(t),i=0,r=0;r<e.length;r++)i=i+this.characterLength(e[r]);return i};ge.slice=function(t,e,i){textLen=ge.length(t),e=e||0,i=i||1,e<0&&(e=textLen+e),i<0&&(i=textLen+i);for(var r="",n=0,u=Ln(t),o=0;o<u.length;o++){var s=u[o],a=ge.length(s);if(n>=e-(a==2?1:0))if(n+a<=i)r+=s;else break;n+=a}return r}});var Hr=g((dh,Vn)=>{"use strict";f();Vn.exports=require("stream")});var Yn=g((mh,Gn)=>{"use strict";f();function qn(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Hn(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?qn(Object(i),!0).forEach(function(r){$s(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):qn(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function $s(t,e,i){return e=Wn(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function js(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Wn(r.key),r)}}function Vs(t,e,i){return e&&Un(t.prototype,e),i&&Un(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function Wn(t){var e=qs(t,"string");return typeof e=="symbol"?e:String(e)}function qs(t,e){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Hs=require("buffer"),kt=Hs.Buffer,Us=require("util"),Ur=Us.inspect,Ws=Ur&&Ur.custom||"inspect";function Gs(t,e,i){kt.prototype.copy.call(t,e,i)}Gn.exports=(function(){function t(){js(this,t),this.head=null,this.tail=null,this.length=0}return Vs(t,[{key:"push",value:function(i){var r={data:i,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function(i){var r={data:i,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(i){if(this.length===0)return"";for(var r=this.head,n=""+r.data;r=r.next;)n+=i+r.data;return n}},{key:"concat",value:function(i){if(this.length===0)return kt.alloc(0);for(var r=kt.allocUnsafe(i>>>0),n=this.head,u=0;n;)Gs(n.data,r,u),u+=n.data.length,n=n.next;return r}},{key:"consume",value:function(i,r){var n;return i<this.head.data.length?(n=this.head.data.slice(0,i),this.head.data=this.head.data.slice(i)):i===this.head.data.length?n=this.shift():n=r?this._getString(i):this._getBuffer(i),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(i){var r=this.head,n=1,u=r.data;for(i-=u.length;r=r.next;){var o=r.data,s=i>o.length?o.length:i;if(s===o.length?u+=o:u+=o.slice(0,i),i-=s,i===0){s===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(s));break}++n}return this.length-=n,u}},{key:"_getBuffer",value:function(i){var r=kt.allocUnsafe(i),n=this.head,u=1;for(n.data.copy(r),i-=n.data.length;n=n.next;){var o=n.data,s=i>o.length?o.length:i;if(o.copy(r,r.length-i,0,s),i-=s,i===0){s===o.length?(++u,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++u}return this.length-=u,r}},{key:Ws,value:function(i,r){return Ur(this,Hn(Hn({},r),{},{depth:0,customInspect:!1}))}}]),t})()});var Gr=g((Fh,Kn)=>{"use strict";f();function Ys(t,e){var i=this,r=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return r||n?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Wr,this,t)):process.nextTick(Wr,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(u){!e&&u?i._writableState?i._writableState.errorEmitted?process.nextTick($t,i):(i._writableState.errorEmitted=!0,process.nextTick(zn,i,u)):process.nextTick(zn,i,u):e?(process.nextTick($t,i),e(u)):process.nextTick($t,i)}),this)}function zn(t,e){Wr(t,e),$t(t)}function $t(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function zs(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Wr(t,e){t.emit("error",e)}function Ks(t,e){var i=t._readableState,r=t._writableState;i&&i.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}Kn.exports={destroy:Ys,undestroy:zs,errorOrDestroy:Ks}});var Fe=g((Eh,Zn)=>{"use strict";f();var Qn={};function Q(t,e,i){i||(i=Error);function r(u,o,s){return typeof e=="string"?e:e(u,o,s)}class n extends i{constructor(o,s,a){super(r(o,s,a))}}n.prototype.name=i.name,n.prototype.code=t,Qn[t]=n}function Jn(t,e){if(Array.isArray(t)){let i=t.length;return t=t.map(r=>String(r)),i>2?`one of ${e} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:i===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return`of ${e} ${String(t)}`}function Js(t,e,i){return t.substr(!i||i<0?0:+i,e.length)===e}function Qs(t,e,i){return(i===void 0||i>t.length)&&(i=t.length),t.substring(i-e.length,i)===e}function Zs(t,e,i){return typeof i!="number"&&(i=0),i+e.length>t.length?!1:t.indexOf(e,i)!==-1}Q("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);Q("ERR_INVALID_ARG_TYPE",function(t,e,i){let r;typeof e=="string"&&Js(e,"not ")?(r="must not be",e=e.replace(/^not /,"")):r="must be";let n;if(Qs(t," argument"))n=`The ${t} ${r} ${Jn(e,"type")}`;else{let u=Zs(t,".")?"property":"argument";n=`The "${t}" ${u} ${r} ${Jn(e,"type")}`}return n+=`. Received type ${typeof i}`,n},TypeError);Q("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Q("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});Q("ERR_STREAM_PREMATURE_CLOSE","Premature close");Q("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});Q("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Q("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Q("ERR_STREAM_WRITE_AFTER_END","write after end");Q("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Q("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);Q("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Zn.exports.codes=Qn});var Yr=g((yh,Xn)=>{"use strict";f();var Xs=Fe().codes.ERR_INVALID_OPT_VALUE;function ea(t,e,i){return t.highWaterMark!=null?t.highWaterMark:e?t[i]:null}function ta(t,e,i,r){var n=ea(e,r,i);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var u=r?i:"highWaterMark";throw new Xs(u,n)}return Math.floor(n)}return t.objectMode?16:16*1024}Xn.exports={getHighWaterMark:ta}});var eu=g((xh,zr)=>{"use strict";f();typeof Object.create=="function"?zr.exports=function(e,i){i&&(e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:zr.exports=function(e,i){if(i){e.super_=i;var r=function(){};r.prototype=i.prototype,e.prototype=new r,e.prototype.constructor=e}}});var Se=g((wh,Jr)=>{"use strict";f();try{if(Kr=require("util"),typeof Kr.inherits!="function")throw"";Jr.exports=Kr.inherits}catch{Jr.exports=eu()}var Kr});var ru=g((Sh,tu)=>{"use strict";f();tu.exports=require("util").deprecate});var Xr=g((Bh,au)=>{"use strict";f();au.exports=k;function nu(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Sa(e,t)}}var Ge;k.WritableState=lt;var ra={deprecate:ru()},uu=Hr(),Vt=require("buffer").Buffer,ia=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function na(t){return Vt.from(t)}function ua(t){return Vt.isBuffer(t)||t instanceof ia}var Zr=Gr(),oa=Yr(),sa=oa.getHighWaterMark,_e=Fe().codes,aa=_e.ERR_INVALID_ARG_TYPE,la=_e.ERR_METHOD_NOT_IMPLEMENTED,fa=_e.ERR_MULTIPLE_CALLBACK,ca=_e.ERR_STREAM_CANNOT_PIPE,ha=_e.ERR_STREAM_DESTROYED,Da=_e.ERR_STREAM_NULL_VALUES,da=_e.ERR_STREAM_WRITE_AFTER_END,pa=_e.ERR_UNKNOWN_ENCODING,Ye=Zr.errorOrDestroy;Se()(k,uu);function ma(){}function lt(t,e,i){Ge=Ge||Oe(),t=t||{},typeof i!="boolean"&&(i=e instanceof Ge),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=sa(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var r=t.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(n){va(e,n)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new nu(this)}lt.prototype.getBuffer=function(){for(var e=this.bufferedRequest,i=[];e;)i.push(e),e=e.next;return i};(function(){try{Object.defineProperty(lt.prototype,"buffer",{get:ra.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var jt;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(jt=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return jt.call(this,e)?!0:this!==k?!1:e&&e._writableState instanceof lt}})):jt=function(e){return e instanceof this};function k(t){Ge=Ge||Oe();var e=this instanceof Ge;if(!e&&!jt.call(k,this))return new k(t);this._writableState=new lt(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),uu.call(this)}k.prototype.pipe=function(){Ye(this,new ca)};function ga(t,e){var i=new da;Ye(t,i),process.nextTick(e,i)}function Fa(t,e,i,r){var n;return i===null?n=new Da:typeof i!="string"&&!e.objectMode&&(n=new aa("chunk",["string","Buffer"],i)),n?(Ye(t,n),process.nextTick(r,n),!1):!0}k.prototype.write=function(t,e,i){var r=this._writableState,n=!1,u=!r.objectMode&&ua(t);return u&&!Vt.isBuffer(t)&&(t=na(t)),typeof e=="function"&&(i=e,e=null),u?e="buffer":e||(e=r.defaultEncoding),typeof i!="function"&&(i=ma),r.ending?ga(this,i):(u||Fa(this,r,t,i))&&(r.pendingcb++,n=Ea(this,r,u,t,e,i)),n};k.prototype.cork=function(){this._writableState.corked++};k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&ou(this,t))};k.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new pa(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function _a(t,e,i){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=Vt.from(e,i)),e}Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ea(t,e,i,r,n,u){if(!i){var o=_a(e,r,n);r!==o&&(i=!0,n="buffer",r=o)}var s=e.objectMode?1:r.length;e.length+=s;var a=e.length<e.highWaterMark;if(a||(e.needDrain=!0),e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:n,isBuf:i,callback:u,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else Qr(t,e,!1,s,r,n,u);return a}function Qr(t,e,i,r,n,u,o){e.writelen=r,e.writecb=o,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new ha("write")):i?t._writev(n,e.onwrite):t._write(n,u,e.onwrite),e.sync=!1}function Ca(t,e,i,r,n){--e.pendingcb,i?(process.nextTick(n,r),process.nextTick(at,t,e),t._writableState.errorEmitted=!0,Ye(t,r)):(n(r),t._writableState.errorEmitted=!0,Ye(t,r),at(t,e))}function ya(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function va(t,e){var i=t._writableState,r=i.sync,n=i.writecb;if(typeof n!="function")throw new fa;if(ya(i),e)Ca(t,i,r,e,n);else{var u=su(i)||t.destroyed;!u&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest&&ou(t,i),r?process.nextTick(iu,t,i,u,n):iu(t,i,u,n)}}function iu(t,e,i,r){i||xa(t,e),e.pendingcb--,r(),at(t,e)}function xa(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function ou(t,e){e.bufferProcessing=!0;var i=e.bufferedRequest;if(t._writev&&i&&i.next){var r=e.bufferedRequestCount,n=new Array(r),u=e.corkedRequestsFree;u.entry=i;for(var o=0,s=!0;i;)n[o]=i,i.isBuf||(s=!1),i=i.next,o+=1;n.allBuffers=s,Qr(t,e,!0,e.length,n,"",u.finish),e.pendingcb++,e.lastBufferedRequest=null,u.next?(e.corkedRequestsFree=u.next,u.next=null):e.corkedRequestsFree=new nu(e),e.bufferedRequestCount=0}else{for(;i;){var a=i.chunk,c=i.encoding,l=i.callback,h=e.objectMode?1:a.length;if(Qr(t,e,!1,h,a,c,l),i=i.next,e.bufferedRequestCount--,e.writing)break}i===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=i,e.bufferProcessing=!1}k.prototype._write=function(t,e,i){i(new la("_write()"))};k.prototype._writev=null;k.prototype.end=function(t,e,i){var r=this._writableState;return typeof t=="function"?(i=t,t=null,e=null):typeof e=="function"&&(i=e,e=null),t!=null&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||Aa(this,r,i),this};Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function su(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function ba(t,e){t._final(function(i){e.pendingcb--,i&&Ye(t,i),e.prefinished=!0,t.emit("prefinish"),at(t,e)})}function wa(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=!0,process.nextTick(ba,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function at(t,e){var i=su(e);if(i&&(wa(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return i}function Aa(t,e,i){e.ending=!0,at(t,e),i&&(e.finished?process.nextTick(i):t.once("finish",i)),e.ended=!0,t.writable=!1}function Sa(t,e,i){var r=t.entry;for(t.entry=null;r;){var n=r.callback;e.pendingcb--,n(i),r=r.next}e.corkedRequestsFree.next=t}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});k.prototype.destroy=Zr.destroy;k.prototype._undestroy=Zr.undestroy;k.prototype._destroy=function(t,e){e(t)}});var Oe=g((Rh,fu)=>{"use strict";f();var Oa=Object.keys||function(t){var e=[];for(var i in t)e.push(i);return e};fu.exports=ae;var lu=ri(),ti=Xr();Se()(ae,lu);for(ei=Oa(ti.prototype),qt=0;qt<ei.length;qt++)Ht=ei[qt],ae.prototype[Ht]||(ae.prototype[Ht]=ti.prototype[Ht]);var ei,Ht,qt;function ae(t){if(!(this instanceof ae))return new ae(t);lu.call(this,t),ti.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Ba)))}Object.defineProperty(ae.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(ae.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(ae.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ba(){this._writableState.ended||process.nextTick(Ta,this)}function Ta(t){t.end()}Object.defineProperty(ae.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var Du=g((ii,hu)=>{"use strict";f();var Ut=require("buffer"),le=Ut.Buffer;function cu(t,e){for(var i in t)e[i]=t[i]}le.from&&le.alloc&&le.allocUnsafe&&le.allocUnsafeSlow?hu.exports=Ut:(cu(Ut,ii),ii.Buffer=Be);function Be(t,e,i){return le(t,e,i)}Be.prototype=Object.create(le.prototype);cu(le,Be);Be.from=function(t,e,i){if(typeof t=="number")throw new TypeError("Argument must not be a number");return le(t,e,i)};Be.alloc=function(t,e,i){if(typeof t!="number")throw new TypeError("Argument must be a number");var r=le(t);return e!==void 0?typeof i=="string"?r.fill(e,i):r.fill(e):r.fill(0),r};Be.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return le(t)};Be.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Ut.SlowBuffer(t)}});var oi=g(pu=>{"use strict";f();var ui=Du().Buffer,du=ui.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ra(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function Ma(t){var e=Ra(t);if(typeof e!="string"&&(ui.isEncoding===du||!du(t)))throw new Error("Unknown encoding: "+t);return e||t}pu.StringDecoder=ft;function ft(t){this.encoding=Ma(t);var e;switch(this.encoding){case"utf16le":this.text=$a,this.end=ja,e=4;break;case"utf8":this.fillLast=Ia,e=4;break;case"base64":this.text=Va,this.end=qa,e=3;break;default:this.write=Ha,this.end=Ua;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ui.allocUnsafe(e)}ft.prototype.write=function(t){if(t.length===0)return"";var e,i;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?e?e+this.text(t,i):this.text(t,i):e||""};ft.prototype.end=ka;ft.prototype.text=La;ft.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function ni(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Pa(t,e,i){var r=e.length-1;if(r<i)return 0;var n=ni(e[r]);return n>=0?(n>0&&(t.lastNeed=n-1),n):--r<i||n===-2?0:(n=ni(e[r]),n>=0?(n>0&&(t.lastNeed=n-2),n):--r<i||n===-2?0:(n=ni(e[r]),n>=0?(n>0&&(n===2?n=0:t.lastNeed=n-3),n):0))}function Na(t,e,i){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function Ia(t){var e=this.lastTotal-this.lastNeed,i=Na(this,t,e);if(i!==void 0)return i;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function La(t,e){var i=Pa(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=i;var r=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)}function ka(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function $a(t,e){if((t.length-e)%2===0){var i=t.toString("utf16le",e);if(i){var r=i.charCodeAt(i.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function ja(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,i)}return e}function Va(t,e){var i=(t.length-e)%3;return i===0?t.toString("base64",e):(this.lastNeed=3-i,this.lastTotal=3,i===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-i))}function qa(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Ha(t){return t.toString(this.encoding)}function Ua(t){return t&&t.length?this.write(t):""}});var Wt=g((Lh,Fu)=>{"use strict";f();var mu=Fe().codes.ERR_STREAM_PREMATURE_CLOSE;function Wa(t){var e=!1;return function(){if(!e){e=!0;for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];t.apply(this,r)}}}function Ga(){}function Ya(t){return t.setHeader&&typeof t.abort=="function"}function gu(t,e,i){if(typeof e=="function")return gu(t,null,e);e||(e={}),i=Wa(i||Ga);var r=e.readable||e.readable!==!1&&t.readable,n=e.writable||e.writable!==!1&&t.writable,u=function(){t.writable||s()},o=t._writableState&&t._writableState.finished,s=function(){n=!1,o=!0,r||i.call(t)},a=t._readableState&&t._readableState.endEmitted,c=function(){r=!1,a=!0,n||i.call(t)},l=function(D){i.call(t,D)},h=function(){var D;if(r&&!a)return(!t._readableState||!t._readableState.ended)&&(D=new mu),i.call(t,D);if(n&&!o)return(!t._writableState||!t._writableState.ended)&&(D=new mu),i.call(t,D)},p=function(){t.req.on("finish",s)};return Ya(t)?(t.on("complete",s),t.on("abort",h),t.req?p():t.on("request",p)):n&&!t._writableState&&(t.on("end",u),t.on("close",u)),t.on("end",c),t.on("finish",s),e.error!==!1&&t.on("error",l),t.on("close",h),function(){t.removeListener("complete",s),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",s),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",s),t.removeListener("end",c),t.removeListener("error",l),t.removeListener("close",h)}}Fu.exports=gu});var Eu=g(($h,_u)=>{"use strict";f();var Gt;function Ee(t,e,i){return e=za(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function za(t){var e=Ka(t,"string");return typeof e=="symbol"?e:String(e)}function Ka(t,e){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ja=Wt(),Ce=Symbol("lastResolve"),Te=Symbol("lastReject"),ct=Symbol("error"),Yt=Symbol("ended"),Re=Symbol("lastPromise"),si=Symbol("handlePromise"),Me=Symbol("stream");function ye(t,e){return{value:t,done:e}}function Qa(t){var e=t[Ce];if(e!==null){var i=t[Me].read();i!==null&&(t[Re]=null,t[Ce]=null,t[Te]=null,e(ye(i,!1)))}}function Za(t){process.nextTick(Qa,t)}function Xa(t,e){return function(i,r){t.then(function(){if(e[Yt]){i(ye(void 0,!0));return}e[si](i,r)},r)}}var el=Object.getPrototypeOf(function(){}),tl=Object.setPrototypeOf((Gt={get stream(){return this[Me]},next:function(){var e=this,i=this[ct];if(i!==null)return Promise.reject(i);if(this[Yt])return Promise.resolve(ye(void 0,!0));if(this[Me].destroyed)return new Promise(function(o,s){process.nextTick(function(){e[ct]?s(e[ct]):o(ye(void 0,!0))})});var r=this[Re],n;if(r)n=new Promise(Xa(r,this));else{var u=this[Me].read();if(u!==null)return Promise.resolve(ye(u,!1));n=new Promise(this[si])}return this[Re]=n,n}},Ee(Gt,Symbol.asyncIterator,function(){return this}),Ee(Gt,"return",function(){var e=this;return new Promise(function(i,r){e[Me].destroy(null,function(n){if(n){r(n);return}i(ye(void 0,!0))})})}),Gt),el),rl=function(e){var i,r=Object.create(tl,(i={},Ee(i,Me,{value:e,writable:!0}),Ee(i,Ce,{value:null,writable:!0}),Ee(i,Te,{value:null,writable:!0}),Ee(i,ct,{value:null,writable:!0}),Ee(i,Yt,{value:e._readableState.endEmitted,writable:!0}),Ee(i,si,{value:function(u,o){var s=r[Me].read();s?(r[Re]=null,r[Ce]=null,r[Te]=null,u(ye(s,!1))):(r[Ce]=u,r[Te]=o)},writable:!0}),i));return r[Re]=null,Ja(e,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var u=r[Te];u!==null&&(r[Re]=null,r[Ce]=null,r[Te]=null,u(n)),r[ct]=n;return}var o=r[Ce];o!==null&&(r[Re]=null,r[Ce]=null,r[Te]=null,o(ye(void 0,!0))),r[Yt]=!0}),e.on("readable",Za.bind(null,r)),r};_u.exports=rl});var xu=g((Vh,vu)=>{"use strict";f();function Cu(t,e,i,r,n,u,o){try{var s=t[u](o),a=s.value}catch(c){i(c);return}s.done?e(a):Promise.resolve(a).then(r,n)}function il(t){return function(){var e=this,i=arguments;return new Promise(function(r,n){var u=t.apply(e,i);function o(a){Cu(u,r,n,o,s,"next",a)}function s(a){Cu(u,r,n,o,s,"throw",a)}o(void 0)})}}function yu(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function nl(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?yu(Object(i),!0).forEach(function(r){ul(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):yu(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function ul(t,e,i){return e=ol(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ol(t){var e=sl(t,"string");return typeof e=="symbol"?e:String(e)}function sl(t,e){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var al=Fe().codes.ERR_INVALID_ARG_TYPE;function ll(t,e,i){var r;if(e&&typeof e.next=="function")r=e;else if(e&&e[Symbol.asyncIterator])r=e[Symbol.asyncIterator]();else if(e&&e[Symbol.iterator])r=e[Symbol.iterator]();else throw new al("iterable",["Iterable"],e);var n=new t(nl({objectMode:!0},i)),u=!1;n._read=function(){u||(u=!0,o())};function o(){return s.apply(this,arguments)}function s(){return s=il(function*(){try{var a=yield r.next(),c=a.value,l=a.done;l?n.push(null):n.push(yield c)?o():u=!1}catch(h){n.destroy(h)}}),s.apply(this,arguments)}return n}vu.exports=ll});var ri=g((Uh,Pu)=>{"use strict";f();Pu.exports=x;var ze;x.ReadableState=Su;var Hh=require("events").EventEmitter,Au=function(e,i){return e.listeners(i).length},Dt=Hr(),zt=require("buffer").Buffer,fl=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function cl(t){return zt.from(t)}function hl(t){return zt.isBuffer(t)||t instanceof fl}var ai=require("util"),y;ai&&ai.debuglog?y=ai.debuglog("stream"):y=function(){};var Dl=Yn(),pi=Gr(),dl=Yr(),pl=dl.getHighWaterMark,Kt=Fe().codes,ml=Kt.ERR_INVALID_ARG_TYPE,gl=Kt.ERR_STREAM_PUSH_AFTER_EOF,Fl=Kt.ERR_METHOD_NOT_IMPLEMENTED,_l=Kt.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Ke,li,fi;Se()(x,Dt);var ht=pi.errorOrDestroy,ci=["error","close","destroy","pause","resume"];function El(t,e,i){if(typeof t.prependListener=="function")return t.prependListener(e,i);!t._events||!t._events[e]?t.on(e,i):Array.isArray(t._events[e])?t._events[e].unshift(i):t._events[e]=[i,t._events[e]]}function Su(t,e,i){ze=ze||Oe(),t=t||{},typeof i!="boolean"&&(i=e instanceof ze),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=pl(this,t,"readableHighWaterMark",i),this.buffer=new Dl,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Ke||(Ke=oi().StringDecoder),this.decoder=new Ke(t.encoding),this.encoding=t.encoding)}function x(t){if(ze=ze||Oe(),!(this instanceof x))return new x(t);var e=this instanceof ze;this._readableState=new Su(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Dt.call(this)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});x.prototype.destroy=pi.destroy;x.prototype._undestroy=pi.undestroy;x.prototype._destroy=function(t,e){e(t)};x.prototype.push=function(t,e){var i=this._readableState,r;return i.objectMode?r=!0:typeof t=="string"&&(e=e||i.defaultEncoding,e!==i.encoding&&(t=zt.from(t,e),e=""),r=!0),Ou(this,t,e,!1,r)};x.prototype.unshift=function(t){return Ou(this,t,null,!0,!1)};function Ou(t,e,i,r,n){y("readableAddChunk",e);var u=t._readableState;if(e===null)u.reading=!1,vl(t,u);else{var o;if(n||(o=Cl(u,e)),o)ht(t,o);else if(u.objectMode||e&&e.length>0)if(typeof e!="string"&&!u.objectMode&&Object.getPrototypeOf(e)!==zt.prototype&&(e=cl(e)),r)u.endEmitted?ht(t,new _l):hi(t,u,e,!0);else if(u.ended)ht(t,new gl);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!i?(e=u.decoder.write(e),u.objectMode||e.length!==0?hi(t,u,e,!1):di(t,u)):hi(t,u,e,!1)}else r||(u.reading=!1,di(t,u))}return!u.ended&&(u.length<u.highWaterMark||u.length===0)}function hi(t,e,i,r){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,t.emit("data",i)):(e.length+=e.objectMode?1:i.length,r?e.buffer.unshift(i):e.buffer.push(i),e.needReadable&&Jt(t)),di(t,e)}function Cl(t,e){var i;return!hl(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(i=new ml("chunk",["string","Buffer","Uint8Array"],e)),i}x.prototype.isPaused=function(){return this._readableState.flowing===!1};x.prototype.setEncoding=function(t){Ke||(Ke=oi().StringDecoder);var e=new Ke(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var i=this._readableState.buffer.head,r="";i!==null;)r+=e.write(i.data),i=i.next;return this._readableState.buffer.clear(),r!==""&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var bu=1073741824;function yl(t){return t>=bu?t=bu:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function wu(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=yl(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}x.prototype.read=function(t){y("read",t),t=parseInt(t,10);var e=this._readableState,i=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return y("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?Di(this):Jt(this),null;if(t=wu(t,e),t===0&&e.ended)return e.length===0&&Di(this),null;var r=e.needReadable;y("need readable",r),(e.length===0||e.length-t<e.highWaterMark)&&(r=!0,y("length less than watermark",r)),e.ended||e.reading?(r=!1,y("reading or ended",r)):r&&(y("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=wu(i,e)));var n;return t>0?n=Ru(t,e):n=null,n===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),i!==t&&e.ended&&Di(this)),n!==null&&this.emit("data",n),n};function vl(t,e){if(y("onEofChunk"),!e.ended){if(e.decoder){var i=e.decoder.end();i&&i.length&&(e.buffer.push(i),e.length+=e.objectMode?1:i.length)}e.ended=!0,e.sync?Jt(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,Bu(t)))}}function Jt(t){var e=t._readableState;y("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(y("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(Bu,t))}function Bu(t){var e=t._readableState;y("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,mi(t)}function di(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(xl,t,e))}function xl(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var i=e.length;if(y("maybeReadMore read 0"),t.read(0),i===e.length)break}e.readingMore=!1}x.prototype._read=function(t){ht(this,new Fl("_read()"))};x.prototype.pipe=function(t,e){var i=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t);break}r.pipesCount+=1,y("pipe count=%d opts=%j",r.pipesCount,e);var n=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,u=n?s:_;r.endEmitted?process.nextTick(u):i.once("end",u),t.on("unpipe",o);function o(E,C){y("onunpipe"),E===i&&C&&C.hasUnpiped===!1&&(C.hasUnpiped=!0,l())}function s(){y("onend"),t.end()}var a=bl(i);t.on("drain",a);var c=!1;function l(){y("cleanup"),t.removeListener("close",d),t.removeListener("finish",D),t.removeListener("drain",a),t.removeListener("error",p),t.removeListener("unpipe",o),i.removeListener("end",s),i.removeListener("end",_),i.removeListener("data",h),c=!0,r.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&a()}i.on("data",h);function h(E){y("ondata");var C=t.write(E);y("dest.write",C),C===!1&&((r.pipesCount===1&&r.pipes===t||r.pipesCount>1&&Mu(r.pipes,t)!==-1)&&!c&&(y("false write response, pause",r.awaitDrain),r.awaitDrain++),i.pause())}function p(E){y("onerror",E),_(),t.removeListener("error",p),Au(t,"error")===0&&ht(t,E)}El(t,"error",p);function d(){t.removeListener("finish",D),_()}t.once("close",d);function D(){y("onfinish"),t.removeListener("close",d),_()}t.once("finish",D);function _(){y("unpipe"),i.unpipe(t)}return t.emit("pipe",i),r.flowing||(y("pipe resume"),i.resume()),t};function bl(t){return function(){var i=t._readableState;y("pipeOnDrain",i.awaitDrain),i.awaitDrain&&i.awaitDrain--,i.awaitDrain===0&&Au(t,"data")&&(i.flowing=!0,mi(t))}}x.prototype.unpipe=function(t){var e=this._readableState,i={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,i),this);if(!t){var r=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var u=0;u<n;u++)r[u].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Mu(e.pipes,t);return o===-1?this:(e.pipes.splice(o,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,i),this)};x.prototype.on=function(t,e){var i=Dt.prototype.on.call(this,t,e),r=this._readableState;return t==="data"?(r.readableListening=this.listenerCount("readable")>0,r.flowing!==!1&&this.resume()):t==="readable"&&!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,y("on readable",r.length,r.reading),r.length?Jt(this):r.reading||process.nextTick(wl,this)),i};x.prototype.addListener=x.prototype.on;x.prototype.removeListener=function(t,e){var i=Dt.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(Tu,this),i};x.prototype.removeAllListeners=function(t){var e=Dt.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(Tu,this),e};function Tu(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function wl(t){y("readable nexttick read 0"),t.read(0)}x.prototype.resume=function(){var t=this._readableState;return t.flowing||(y("resume"),t.flowing=!t.readableListening,Al(this,t)),t.paused=!1,this};function Al(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(Sl,t,e))}function Sl(t,e){y("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),mi(t),e.flowing&&!e.reading&&t.read(0)}x.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function mi(t){var e=t._readableState;for(y("flow",e.flowing);e.flowing&&t.read()!==null;);}x.prototype.wrap=function(t){var e=this,i=this._readableState,r=!1;t.on("end",function(){if(y("wrapped end"),i.decoder&&!i.ended){var o=i.decoder.end();o&&o.length&&e.push(o)}e.push(null)}),t.on("data",function(o){if(y("wrapped data"),i.decoder&&(o=i.decoder.write(o)),!(i.objectMode&&o==null)&&!(!i.objectMode&&(!o||!o.length))){var s=e.push(o);s||(r=!0,t.pause())}});for(var n in t)this[n]===void 0&&typeof t[n]=="function"&&(this[n]=(function(s){return function(){return t[s].apply(t,arguments)}})(n));for(var u=0;u<ci.length;u++)t.on(ci[u],this.emit.bind(this,ci[u]));return this._read=function(o){y("wrapped _read",o),r&&(r=!1,t.resume())},this};typeof Symbol=="function"&&(x.prototype[Symbol.asyncIterator]=function(){return li===void 0&&(li=Eu()),li(this)});Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}});x._fromList=Ru;Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ru(t,e){if(e.length===0)return null;var i;return e.objectMode?i=e.buffer.shift():!t||t>=e.length?(e.decoder?i=e.buffer.join(""):e.buffer.length===1?i=e.buffer.first():i=e.buffer.concat(e.length),e.buffer.clear()):i=e.buffer.consume(t,e.decoder),i}function Di(t){var e=t._readableState;y("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(Ol,e,t))}function Ol(t,e){if(y("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var i=e._writableState;(!i||i.autoDestroy&&i.finished)&&e.destroy()}}typeof Symbol=="function"&&(x.from=function(t,e){return fi===void 0&&(fi=xu()),fi(x,t,e)});function Mu(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}});var gi=g((Gh,Iu)=>{"use strict";f();Iu.exports=De;var Qt=Fe().codes,Bl=Qt.ERR_METHOD_NOT_IMPLEMENTED,Tl=Qt.ERR_MULTIPLE_CALLBACK,Rl=Qt.ERR_TRANSFORM_ALREADY_TRANSFORMING,Ml=Qt.ERR_TRANSFORM_WITH_LENGTH_0,Zt=Oe();Se()(De,Zt);function Pl(t,e){var i=this._transformState;i.transforming=!1;var r=i.writecb;if(r===null)return this.emit("error",new Tl);i.writechunk=null,i.writecb=null,e!=null&&this.push(e),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function De(t){if(!(this instanceof De))return new De(t);Zt.call(this,t),this._transformState={afterTransform:Pl.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",Nl)}function Nl(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,i){Nu(t,e,i)}):Nu(this,null,null)}De.prototype.push=function(t,e){return this._transformState.needTransform=!1,Zt.prototype.push.call(this,t,e)};De.prototype._transform=function(t,e,i){i(new Bl("_transform()"))};De.prototype._write=function(t,e,i){var r=this._transformState;if(r.writecb=i,r.writechunk=t,r.writeencoding=e,!r.transforming){var n=this._readableState;(r.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};De.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};De.prototype._destroy=function(t,e){Zt.prototype._destroy.call(this,t,function(i){e(i)})};function Nu(t,e,i){if(e)return t.emit("error",e);if(i!=null&&t.push(i),t._writableState.length)throw new Ml;if(t._transformState.transforming)throw new Rl;return t.push(null)}});var $u=g((zh,ku)=>{"use strict";f();ku.exports=dt;var Lu=gi();Se()(dt,Lu);function dt(t){if(!(this instanceof dt))return new dt(t);Lu.call(this,t)}dt.prototype._transform=function(t,e,i){i(null,t)}});var Uu=g((Jh,Hu)=>{"use strict";f();var Fi;function Il(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var qu=Fe().codes,Ll=qu.ERR_MISSING_ARGS,kl=qu.ERR_STREAM_DESTROYED;function ju(t){if(t)throw t}function $l(t){return t.setHeader&&typeof t.abort=="function"}function jl(t,e,i,r){r=Il(r);var n=!1;t.on("close",function(){n=!0}),Fi===void 0&&(Fi=Wt()),Fi(t,{readable:e,writable:i},function(o){if(o)return r(o);n=!0,r()});var u=!1;return function(o){if(!n&&!u){if(u=!0,$l(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();r(o||new kl("pipe"))}}}function Vu(t){t()}function Vl(t,e){return t.pipe(e)}function ql(t){return!t.length||typeof t[t.length-1]!="function"?ju:t.pop()}function Hl(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var r=ql(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Ll("streams");var n,u=e.map(function(o,s){var a=s<e.length-1,c=s>0;return jl(o,a,c,function(l){n||(n=l),l&&u.forEach(Vu),!a&&(u.forEach(Vu),r(n))})});return e.reduce(Vl)}Hu.exports=Hl});var Wu=g((Z,mt)=>{"use strict";f();var pt=require("stream");process.env.READABLE_STREAM==="disable"&&pt?(mt.exports=pt.Readable,Object.assign(mt.exports,pt),mt.exports.Stream=pt):(Z=mt.exports=ri(),Z.Stream=pt||Z,Z.Readable=Z,Z.Writable=Xr(),Z.Duplex=Oe(),Z.Transform=gi(),Z.PassThrough=$u(),Z.finished=Wt(),Z.pipeline=Uu())});var zu=g((Xh,Yu)=>{"use strict";f();var{Buffer:ne}=require("buffer"),Gu=Symbol.for("BufferList");function S(t){if(!(this instanceof S))return new S(t);S._init.call(this,t)}S._init=function(e){Object.defineProperty(this,Gu,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};S.prototype._new=function(e){return new S(e)};S.prototype._offset=function(e){if(e===0)return[0,0];let i=0;for(let r=0;r<this._bufs.length;r++){let n=i+this._bufs[r].length;if(e<n||r===this._bufs.length-1)return[r,e-i];i=n}};S.prototype._reverseOffset=function(t){let e=t[0],i=t[1];for(let r=0;r<e;r++)i+=this._bufs[r].length;return i};S.prototype.get=function(e){if(e>this.length||e<0)return;let i=this._offset(e);return this._bufs[i[0]][i[1]]};S.prototype.slice=function(e,i){return typeof e=="number"&&e<0&&(e+=this.length),typeof i=="number"&&i<0&&(i+=this.length),this.copy(null,0,e,i)};S.prototype.copy=function(e,i,r,n){if((typeof r!="number"||r<0)&&(r=0),(typeof n!="number"||n>this.length)&&(n=this.length),r>=this.length||n<=0)return e||ne.alloc(0);let u=!!e,o=this._offset(r),s=n-r,a=s,c=u&&i||0,l=o[1];if(r===0&&n===this.length){if(!u)return this._bufs.length===1?this._bufs[0]:ne.concat(this._bufs,this.length);for(let h=0;h<this._bufs.length;h++)this._bufs[h].copy(e,c),c+=this._bufs[h].length;return e}if(a<=this._bufs[o[0]].length-l)return u?this._bufs[o[0]].copy(e,i,l,l+a):this._bufs[o[0]].slice(l,l+a);u||(e=ne.allocUnsafe(s));for(let h=o[0];h<this._bufs.length;h++){let p=this._bufs[h].length-l;if(a>p)this._bufs[h].copy(e,c,l),c+=p;else{this._bufs[h].copy(e,c,l,l+a),c+=p;break}a-=p,l&&(l=0)}return e.length>c?e.slice(0,c):e};S.prototype.shallowSlice=function(e,i){if(e=e||0,i=typeof i!="number"?this.length:i,e<0&&(e+=this.length),i<0&&(i+=this.length),e===i)return this._new();let r=this._offset(e),n=this._offset(i),u=this._bufs.slice(r[0],n[0]+1);return n[1]===0?u.pop():u[u.length-1]=u[u.length-1].slice(0,n[1]),r[1]!==0&&(u[0]=u[0].slice(r[1])),this._new(u)};S.prototype.toString=function(e,i,r){return this.slice(i,r).toString(e)};S.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};S.prototype.duplicate=function(){let e=this._new();for(let i=0;i<this._bufs.length;i++)e.append(this._bufs[i]);return e};S.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(ne.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let i=0;i<e.length;i++)this.append(e[i]);else if(this._isBufferList(e))for(let i=0;i<e._bufs.length;i++)this.append(e._bufs[i]);else typeof e=="number"&&(e=e.toString()),this._appendBuffer(ne.from(e));return this};S.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length};S.prototype.indexOf=function(t,e,i){if(i===void 0&&typeof e=="string"&&(i=e,e=void 0),typeof t=="function"||Array.isArray(t))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof t=="number"?t=ne.from([t]):typeof t=="string"?t=ne.from(t,i):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=ne.from(t.buffer,t.byteOffset,t.byteLength):ne.isBuffer(t)||(t=ne.from(t)),e=Number(e||0),isNaN(e)&&(e=0),e<0&&(e=this.length+e),e<0&&(e=0),t.length===0)return e>this.length?this.length:e;let r=this._offset(e),n=r[0],u=r[1];for(;n<this._bufs.length;n++){let o=this._bufs[n];for(;u<o.length;)if(o.length-u>=t.length){let a=o.indexOf(t,u);if(a!==-1)return this._reverseOffset([n,a]);u=o.length-t.length+1}else{let a=this._reverseOffset([n,u]);if(this._match(a,t))return a;u++}u=0}return-1};S.prototype._match=function(t,e){if(this.length-t<e.length)return!1;for(let i=0;i<e.length;i++)if(this.get(t+i)!==e[i])return!1;return!0};(function(){let t={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let e in t)(function(i){t[i]===null?S.prototype[i]=function(r,n){return this.slice(r,r+n)[i](0,n)}:S.prototype[i]=function(r=0){return this.slice(r,r+t[i])[i](0)}})(e)})();S.prototype._isBufferList=function(e){return e instanceof S||S.isBufferList(e)};S.isBufferList=function(e){return e!=null&&e[Gu]};Yu.exports=S});var Ku=g((tD,Xt)=>{"use strict";f();var _i=Wu().Duplex,Ul=Se(),gt=zu();function Y(t){if(!(this instanceof Y))return new Y(t);if(typeof t=="function"){this._callback=t;let e=function(r){this._callback&&(this._callback(r),this._callback=null)}.bind(this);this.on("pipe",function(r){r.on("error",e)}),this.on("unpipe",function(r){r.removeListener("error",e)}),t=null}gt._init.call(this,t),_i.call(this)}Ul(Y,_i);Object.assign(Y.prototype,gt.prototype);Y.prototype._new=function(e){return new Y(e)};Y.prototype._write=function(e,i,r){this._appendBuffer(e),typeof r=="function"&&r()};Y.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)};Y.prototype.end=function(e){_i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)};Y.prototype._destroy=function(e,i){this._bufs.length=0,this.length=0,i(e)};Y.prototype._isBufferList=function(e){return e instanceof Y||e instanceof gt||Y.isBufferList(e)};Y.isBufferList=gt.isBufferList;Xt.exports=Y;Xt.exports.BufferListStream=Y;Xt.exports.BufferList=gt});var ho=g((SD,co)=>{"use strict";f();var ve=require("constants"),ef=process.cwd,tr=null,tf=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return tr||(tr=ef.call(process)),tr};try{process.cwd()}catch{}typeof process.chdir=="function"&&(wi=process.chdir,process.chdir=function(t){tr=null,wi.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,wi));var wi;co.exports=rf;function rf(t){ve.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||i(t),t.chown=u(t.chown),t.fchown=u(t.fchown),t.lchown=u(t.lchown),t.chmod=r(t.chmod),t.fchmod=r(t.fchmod),t.lchmod=r(t.lchmod),t.chownSync=o(t.chownSync),t.fchownSync=o(t.fchownSync),t.lchownSync=o(t.lchownSync),t.chmodSync=n(t.chmodSync),t.fchmodSync=n(t.fchmodSync),t.lchmodSync=n(t.lchmodSync),t.stat=s(t.stat),t.fstat=s(t.fstat),t.lstat=s(t.lstat),t.statSync=a(t.statSync),t.fstatSync=a(t.fstatSync),t.lstatSync=a(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(l,h,p){p&&process.nextTick(p)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(l,h,p,d){d&&process.nextTick(d)},t.lchownSync=function(){}),tf==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(l){function h(p,d,D){var _=Date.now(),E=0;l(p,d,function C($){if($&&($.code==="EACCES"||$.code==="EPERM"||$.code==="EBUSY")&&Date.now()-_<6e4){setTimeout(function(){t.stat(d,function(j,pe){j&&j.code==="ENOENT"?l(p,d,C):D($)})},E),E<100&&(E+=10);return}D&&D($)})}return Object.setPrototypeOf&&Object.setPrototypeOf(h,l),h})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(l){function h(p,d,D,_,E,C){var $;if(C&&typeof C=="function"){var j=0;$=function(pe,ue,hr){if(pe&&pe.code==="EAGAIN"&&j<10)return j++,l.call(t,p,d,D,_,E,$);C.apply(this,arguments)}}return l.call(t,p,d,D,_,E,$)}return Object.setPrototypeOf&&Object.setPrototypeOf(h,l),h})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(l){return function(h,p,d,D,_){for(var E=0;;)try{return l.call(t,h,p,d,D,_)}catch(C){if(C.code==="EAGAIN"&&E<10){E++;continue}throw C}}})(t.readSync);function e(l){l.lchmod=function(h,p,d){l.open(h,ve.O_WRONLY|ve.O_SYMLINK,p,function(D,_){if(D){d&&d(D);return}l.fchmod(_,p,function(E){l.close(_,function(C){d&&d(E||C)})})})},l.lchmodSync=function(h,p){var d=l.openSync(h,ve.O_WRONLY|ve.O_SYMLINK,p),D=!0,_;try{_=l.fchmodSync(d,p),D=!1}finally{if(D)try{l.closeSync(d)}catch{}else l.closeSync(d)}return _}}function i(l){ve.hasOwnProperty("O_SYMLINK")&&l.futimes?(l.lutimes=function(h,p,d,D){l.open(h,ve.O_SYMLINK,function(_,E){if(_){D&&D(_);return}l.futimes(E,p,d,function(C){l.close(E,function($){D&&D(C||$)})})})},l.lutimesSync=function(h,p,d){var D=l.openSync(h,ve.O_SYMLINK),_,E=!0;try{_=l.futimesSync(D,p,d),E=!1}finally{if(E)try{l.closeSync(D)}catch{}else l.closeSync(D)}return _}):l.futimes&&(l.lutimes=function(h,p,d,D){D&&process.nextTick(D)},l.lutimesSync=function(){})}function r(l){return l&&function(h,p,d){return l.call(t,h,p,function(D){c(D)&&(D=null),d&&d.apply(this,arguments)})}}function n(l){return l&&function(h,p){try{return l.call(t,h,p)}catch(d){if(!c(d))throw d}}}function u(l){return l&&function(h,p,d,D){return l.call(t,h,p,d,function(_){c(_)&&(_=null),D&&D.apply(this,arguments)})}}function o(l){return l&&function(h,p,d){try{return l.call(t,h,p,d)}catch(D){if(!c(D))throw D}}}function s(l){return l&&function(h,p,d){typeof p=="function"&&(d=p,p=null);function D(_,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),d&&d.apply(this,arguments)}return p?l.call(t,h,p,D):l.call(t,h,D)}}function a(l){return l&&function(h,p){var d=p?l.call(t,h,p):l.call(t,h);return d&&(d.uid<0&&(d.uid+=4294967296),d.gid<0&&(d.gid+=4294967296)),d}}function c(l){if(!l||l.code==="ENOSYS")return!0;var h=!process.getuid||process.getuid()!==0;return!!(h&&(l.code==="EINVAL"||l.code==="EPERM"))}}});var mo=g((BD,po)=>{"use strict";f();var Do=require("stream").Stream;po.exports=nf;function nf(t){return{ReadStream:e,WriteStream:i};function e(r,n){if(!(this instanceof e))return new e(r,n);Do.call(this);var u=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,n=n||{};for(var o=Object.keys(n),s=0,a=o.length;s<a;s++){var c=o[s];this[c]=n[c]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")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(){u._read()});return}t.open(this.path,this.flags,this.mode,function(l,h){if(l){u.emit("error",l),u.readable=!1;return}u.fd=h,u.emit("open",h),u._read()})}function i(r,n){if(!(this instanceof i))return new i(r,n);Do.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,n=n||{};for(var u=Object.keys(n),o=0,s=u.length;o<s;o++){var a=u[o];this[a]=n[a]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var Fo=g((RD,go)=>{"use strict";f();go.exports=of;var uf=Object.getPrototypeOf||function(t){return t.__proto__};function of(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:uf(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}});var Bi=g((PD,Oi)=>{"use strict";f();var I=require("fs"),sf=ho(),af=mo(),lf=Fo(),rr=require("util"),G,nr;typeof Symbol=="function"&&typeof Symbol.for=="function"?(G=Symbol.for("graceful-fs.queue"),nr=Symbol.for("graceful-fs.previous")):(G="___graceful-fs.queue",nr="___graceful-fs.previous");function ff(){}function Co(t,e){Object.defineProperty(t,G,{get:function(){return e}})}var ke=ff;rr.debuglog?ke=rr.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(ke=function(){var t=rr.format.apply(rr,arguments);t="GFS4: "+t.split(/\n/).join(`
|
|
23
|
-
GFS4: `),console.error(t)});I[G]||(_o=global[G]||[],Co(I,_o),I.close=(function(t){function e(i,r){return t.call(I,i,function(n){n||Eo(),typeof r=="function"&&r.apply(this,arguments)})}return Object.defineProperty(e,nr,{value:t}),e})(I.close),I.closeSync=(function(t){function e(i){t.apply(I,arguments),Eo()}return Object.defineProperty(e,nr,{value:t}),e})(I.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){ke(I[G]),require("assert").equal(I[G].length,0)}));var _o;global[G]||Co(global,I[G]);Oi.exports=Ai(lf(I));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!I.__patched&&(Oi.exports=Ai(I),I.__patched=!0);function Ai(t){sf(t),t.gracefulify=Ai,t.createReadStream=ue,t.createWriteStream=hr;var e=t.readFile;t.readFile=i;function i(F,w,b){return typeof w=="function"&&(b=w,w=null),H(F,w,b);function H(U,V,N,L){return e(U,V,function(A){A&&(A.code==="EMFILE"||A.code==="ENFILE")?Qe([H,[U,V,N],A,L||Date.now(),Date.now()]):typeof N=="function"&&N.apply(this,arguments)})}}var r=t.writeFile;t.writeFile=n;function n(F,w,b,H){return typeof b=="function"&&(H=b,b=null),U(F,w,b,H);function U(V,N,L,A,W){return r(V,N,L,function(O){O&&(O.code==="EMFILE"||O.code==="ENFILE")?Qe([U,[V,N,L,A],O,W||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}var u=t.appendFile;u&&(t.appendFile=o);function o(F,w,b,H){return typeof b=="function"&&(H=b,b=null),U(F,w,b,H);function U(V,N,L,A,W){return u(V,N,L,function(O){O&&(O.code==="EMFILE"||O.code==="ENFILE")?Qe([U,[V,N,L,A],O,W||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}var s=t.copyFile;s&&(t.copyFile=a);function a(F,w,b,H){return typeof b=="function"&&(H=b,b=0),U(F,w,b,H);function U(V,N,L,A,W){return s(V,N,L,function(O){O&&(O.code==="EMFILE"||O.code==="ENFILE")?Qe([U,[V,N,L,A],O,W||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}var c=t.readdir;t.readdir=h;var l=/^v[0-5]\./;function h(F,w,b){typeof w=="function"&&(b=w,w=null);var H=l.test(process.version)?function(N,L,A,W){return c(N,U(N,L,A,W))}:function(N,L,A,W){return c(N,L,U(N,L,A,W))};return H(F,w,b);function U(V,N,L,A){return function(W,O){W&&(W.code==="EMFILE"||W.code==="ENFILE")?Qe([H,[V,N,L],W,A||Date.now(),Date.now()]):(O&&O.sort&&O.sort(),typeof L=="function"&&L.call(this,W,O))}}}if(process.version.substr(0,4)==="v0.8"){var p=af(t);C=p.ReadStream,j=p.WriteStream}var d=t.ReadStream;d&&(C.prototype=Object.create(d.prototype),C.prototype.open=$);var D=t.WriteStream;D&&(j.prototype=Object.create(D.prototype),j.prototype.open=pe),Object.defineProperty(t,"ReadStream",{get:function(){return C},set:function(F){C=F},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return j},set:function(F){j=F},enumerable:!0,configurable:!0});var _=C;Object.defineProperty(t,"FileReadStream",{get:function(){return _},set:function(F){_=F},enumerable:!0,configurable:!0});var E=j;Object.defineProperty(t,"FileWriteStream",{get:function(){return E},set:function(F){E=F},enumerable:!0,configurable:!0});function C(F,w){return this instanceof C?(d.apply(this,arguments),this):C.apply(Object.create(C.prototype),arguments)}function $(){var F=this;Xe(F.path,F.flags,F.mode,function(w,b){w?(F.autoClose&&F.destroy(),F.emit("error",w)):(F.fd=b,F.emit("open",b),F.read())})}function j(F,w){return this instanceof j?(D.apply(this,arguments),this):j.apply(Object.create(j.prototype),arguments)}function pe(){var F=this;Xe(F.path,F.flags,F.mode,function(w,b){w?(F.destroy(),F.emit("error",w)):(F.fd=b,F.emit("open",b))})}function ue(F,w){return new t.ReadStream(F,w)}function hr(F,w){return new t.WriteStream(F,w)}var vt=t.open;t.open=Xe;function Xe(F,w,b,H){return typeof b=="function"&&(H=b,b=null),U(F,w,b,H);function U(V,N,L,A,W){return vt(V,N,L,function(O,Lf){O&&(O.code==="EMFILE"||O.code==="ENFILE")?Qe([U,[V,N,L,A],O,W||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}return t}function Qe(t){ke("ENQUEUE",t[0].name,t[1]),I[G].push(t),Si()}var ir;function Eo(){for(var t=Date.now(),e=0;e<I[G].length;++e)I[G][e].length>2&&(I[G][e][3]=t,I[G][e][4]=t);Si()}function Si(){if(clearTimeout(ir),ir=void 0,I[G].length!==0){var t=I[G].shift(),e=t[0],i=t[1],r=t[2],n=t[3],u=t[4];if(n===void 0)ke("RETRY",e.name,i),e.apply(null,i);else if(Date.now()-n>=6e4){ke("TIMEOUT",e.name,i);var o=i.pop();typeof o=="function"&&o.call(null,r)}else{var s=Date.now()-u,a=Math.max(u-n,1),c=Math.min(a*1.2,100);s>=c?(ke("RETRY",e.name,i),e.apply(null,i.concat([n]))):I[G].push(t)}ir===void 0&&(ir=setTimeout(Si,0))}}});var vo=g((ID,yo)=>{"use strict";f();function ee(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}yo.exports=ee;ee.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};ee.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};ee.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var i=this._timeouts.shift();if(i===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),i=this._timeouts.shift();else return!1;var r=this,n=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},i);return this._options.unref&&n.unref(),!0};ee.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var i=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){i._operationTimeoutCb()},i._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};ee.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};ee.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};ee.prototype.start=ee.prototype.try;ee.prototype.errors=function(){return this._errors};ee.prototype.attempts=function(){return this._attempts};ee.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,i=0,r=0;r<this._errors.length;r++){var n=this._errors[r],u=n.message,o=(t[u]||0)+1;t[u]=o,o>=i&&(e=n,i=o)}return e}});var xo=g($e=>{"use strict";f();var cf=vo();$e.operation=function(t){var e=$e.timeouts(t);return new cf(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};$e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var i in t)e[i]=t[i];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var r=[],n=0;n<e.retries;n++)r.push(this.createTimeout(n,e));return t&&t.forever&&!r.length&&r.push(this.createTimeout(n,e)),r.sort(function(u,o){return u-o}),r};$e.createTimeout=function(t,e){var i=e.randomize?Math.random()+1:1,r=Math.round(i*e.minTimeout*Math.pow(e.factor,t));return r=Math.min(r,e.maxTimeout),r};$e.wrap=function(t,e,i){if(e instanceof Array&&(i=e,e=null),!i){i=[];for(var r in t)typeof t[r]=="function"&&i.push(r)}for(var n=0;n<i.length;n++){var u=i[n],o=t[u];t[u]=function(a){var c=$e.operation(e),l=Array.prototype.slice.call(arguments,1),h=l.pop();l.push(function(p){c.retry(p)||(p&&(arguments[0]=c.mainError()),h.apply(this,arguments))}),c.attempt(function(){a.apply(t,l)})}.bind(t,o),t[u].options=e}}});var wo=g((jD,bo)=>{"use strict";f();bo.exports=xo()});var So=g((qD,Ti)=>{"use strict";f();var Ao=Symbol();function hf(t,e,i){let r=e[Ao];if(r)return e.stat(t,(u,o)=>{if(u)return i(u);i(null,o.mtime,r)});let n=new Date(Math.ceil(Date.now()/1e3)*1e3+5);e.utimes(t,n,n,u=>{if(u)return i(u);e.stat(t,(o,s)=>{if(o)return i(o);let a=s.mtime.getTime()%1e3===0?"s":"ms";Object.defineProperty(e,Ao,{value:a}),i(null,s.mtime,a)})})}function Df(t){let e=Date.now();return t==="s"&&(e=Math.ceil(e/1e3)*1e3),new Date(e)}Ti.exports.probe=hf;Ti.exports.getMtime=Df});var Mo=g((UD,Ct)=>{"use strict";f();var df=require("path"),Pi=Bi(),pf=wo(),mf=Nr(),Oo=So(),de={};function Et(t,e){return e.lockfilePath||`${t}.lock`}function Ni(t,e,i){if(!e.realpath)return i(null,df.resolve(t));e.fs.realpath(t,i)}function Mi(t,e,i){let r=Et(t,e);e.fs.mkdir(r,n=>{if(!n)return Oo.probe(r,e.fs,(u,o,s)=>{if(u)return e.fs.rmdir(r,()=>{}),i(u);i(null,o,s)});if(n.code!=="EEXIST")return i(n);if(e.stale<=0)return i(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));e.fs.stat(r,(u,o)=>{if(u)return u.code==="ENOENT"?Mi(t,{...e,stale:0},i):i(u);if(!Bo(o,e))return i(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));To(t,e,s=>{if(s)return i(s);Mi(t,{...e,stale:0},i)})})})}function Bo(t,e){return t.mtime.getTime()<Date.now()-e.stale}function To(t,e,i){e.fs.rmdir(Et(t,e),r=>{if(r&&r.code!=="ENOENT")return i(r);i()})}function ur(t,e){let i=de[t];i.updateTimeout||(i.updateDelay=i.updateDelay||e.update,i.updateTimeout=setTimeout(()=>{i.updateTimeout=null,e.fs.stat(i.lockfilePath,(r,n)=>{let u=i.lastUpdate+e.stale<Date.now();if(r)return r.code==="ENOENT"||u?Ri(t,i,Object.assign(r,{code:"ECOMPROMISED"})):(i.updateDelay=1e3,ur(t,e));if(!(i.mtime.getTime()===n.mtime.getTime()))return Ri(t,i,Object.assign(new Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let s=Oo.getMtime(i.mtimePrecision);e.fs.utimes(i.lockfilePath,s,s,a=>{let c=i.lastUpdate+e.stale<Date.now();if(!i.released){if(a)return a.code==="ENOENT"||c?Ri(t,i,Object.assign(a,{code:"ECOMPROMISED"})):(i.updateDelay=1e3,ur(t,e));i.mtime=s,i.lastUpdate=Date.now(),i.updateDelay=null,ur(t,e)}})})},i.updateDelay),i.updateTimeout.unref&&i.updateTimeout.unref())}function Ri(t,e,i){e.released=!0,e.updateTimeout&&clearTimeout(e.updateTimeout),de[t]===e&&delete de[t],e.options.onCompromised(i)}function gf(t,e,i){e={stale:1e4,update:null,realpath:!0,retries:0,fs:Pi,onCompromised:r=>{throw r},...e},e.retries=e.retries||0,e.retries=typeof e.retries=="number"?{retries:e.retries}:e.retries,e.stale=Math.max(e.stale||0,2e3),e.update=e.update==null?e.stale/2:e.update||0,e.update=Math.max(Math.min(e.update,e.stale/2),1e3),Ni(t,e,(r,n)=>{if(r)return i(r);let u=pf.operation(e.retries);u.attempt(()=>{Mi(n,e,(o,s,a)=>{if(u.retry(o))return;if(o)return i(u.mainError());let c=de[n]={lockfilePath:Et(n,e),mtime:s,mtimePrecision:a,options:e,lastUpdate:Date.now()};ur(n,e),i(null,l=>{if(c.released)return l&&l(Object.assign(new Error("Lock is already released"),{code:"ERELEASED"}));Ro(n,{...e,realpath:!1},l)})})})})}function Ro(t,e,i){e={fs:Pi,realpath:!0,...e},Ni(t,e,(r,n)=>{if(r)return i(r);let u=de[n];if(!u)return i(Object.assign(new Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));u.updateTimeout&&clearTimeout(u.updateTimeout),u.released=!0,delete de[n],To(n,e,i)})}function Ff(t,e,i){e={stale:1e4,realpath:!0,fs:Pi,...e},e.stale=Math.max(e.stale||0,2e3),Ni(t,e,(r,n)=>{if(r)return i(r);e.fs.stat(Et(n,e),(u,o)=>u?u.code==="ENOENT"?i(null,!1):i(u):i(null,!Bo(o,e)))})}function _f(){return de}mf(()=>{for(let t in de){let e=de[t].options;try{e.fs.rmdirSync(Et(t,e))}catch{}}});Ct.exports.lock=gf;Ct.exports.unlock=Ro;Ct.exports.check=Ff;Ct.exports.getLocks=_f});var No=g((GD,Po)=>{"use strict";f();var Ef=Bi();function Cf(t){let e=["mkdir","realpath","stat","rmdir","utimes"],i={...t};return e.forEach(r=>{i[r]=(...n)=>{let u=n.pop(),o;try{o=t[`${r}Sync`](...n)}catch(s){return u(s)}u(null,o)}}),i}function yf(t){return(...e)=>new Promise((i,r)=>{e.push((n,u)=>{n?r(n):i(u)}),t(...e)})}function vf(t){return(...e)=>{let i,r;if(e.push((n,u)=>{i=n,r=u}),t(...e),i)throw i;return r}}function xf(t){if(t={...t},t.fs=Cf(t.fs||Ef),typeof t.retries=="number"&&t.retries>0||t.retries&&typeof t.retries.retries=="number"&&t.retries.retries>0)throw Object.assign(new Error("Cannot use retries with the sync api"),{code:"ESYNC"});return t}Po.exports={toPromise:yf,toSync:vf,toSyncOptions:xf}});var Lo=g((zD,xe)=>{"use strict";f();var Ze=Mo(),{toPromise:or,toSync:sr,toSyncOptions:Ii}=No();async function Io(t,e){let i=await or(Ze.lock)(t,e);return or(i)}function bf(t,e){let i=sr(Ze.lock)(t,Ii(e));return sr(i)}function wf(t,e){return or(Ze.unlock)(t,e)}function Af(t,e){return sr(Ze.unlock)(t,Ii(e))}function Sf(t,e){return or(Ze.check)(t,e)}function Of(t,e){return sr(Ze.check)(t,Ii(e))}xe.exports=Io;xe.exports.lock=Io;xe.exports.unlock=wf;xe.exports.lockSync=bf;xe.exports.unlockSync=Af;xe.exports.check=Sf;xe.exports.checkSync=Of});f();f();var nn=B(rn(),1),{program:Xf,createCommand:ec,createArgument:tc,createOption:rc,CommanderError:ic,InvalidArgumentError:nc,InvalidOptionArgumentError:uc,Command:un,Argument:oc,Option:sc,Help:ac}=nn.default;f();f();f();f();var on=(t=0)=>e=>`\x1B[${e+t}m`,sn=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,an=(t=0)=>(e,i,r)=>`\x1B[${38+t};2;${e};${i};${r}m`,R={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},cc=Object.keys(R.modifier),gs=Object.keys(R.color),Fs=Object.keys(R.bgColor),hc=[...gs,...Fs];function _s(){let t=new Map;for(let[e,i]of Object.entries(R)){for(let[r,n]of Object.entries(i))R[r]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},i[r]=R[r],t.set(n[0],n[1]);Object.defineProperty(R,e,{value:i,enumerable:!1})}return Object.defineProperty(R,"codes",{value:t,enumerable:!1}),R.color.close="\x1B[39m",R.bgColor.close="\x1B[49m",R.color.ansi=on(),R.color.ansi256=sn(),R.color.ansi16m=an(),R.bgColor.ansi=on(10),R.bgColor.ansi256=sn(10),R.bgColor.ansi16m=an(10),Object.defineProperties(R,{rgbToAnsi256:{value(e,i,r){return e===i&&i===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(e){let i=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!i)return[0,0,0];let[r]=i;r.length===3&&(r=[...r].map(u=>u+u).join(""));let n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:e=>R.rgbToAnsi256(...R.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let i,r,n;if(e>=232)i=((e-232)*10+8)/255,r=i,n=i;else{e-=16;let s=e%36;i=Math.floor(e/36)/5,r=Math.floor(s/6)/5,n=s%6/5}let u=Math.max(i,r,n)*2;if(u===0)return 30;let o=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(i));return u===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,i,r)=>R.ansi256ToAnsi(R.rgbToAnsi256(e,i,r)),enumerable:!1},hexToAnsi:{value:e=>R.ansi256ToAnsi(R.hexToAnsi256(e)),enumerable:!1}}),R}var Es=_s(),re=Es;f();var St=B(require("process"),1),fn=B(require("os"),1),wr=B(require("tty"),1);function K(t,e=globalThis.Deno?globalThis.Deno.args:St.default.argv){let i=t.startsWith("-")?"":t.length===1?"-":"--",r=e.indexOf(i+t),n=e.indexOf("--");return r!==-1&&(n===-1||r<n)}var{env:M}=St.default,At;K("no-color")||K("no-colors")||K("color=false")||K("color=never")?At=0:(K("color")||K("colors")||K("color=true")||K("color=always"))&&(At=1);function Cs(){if("FORCE_COLOR"in M)return M.FORCE_COLOR==="true"?1:M.FORCE_COLOR==="false"?0:M.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(M.FORCE_COLOR,10),3)}function ys(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function vs(t,{streamIsTTY:e,sniffFlags:i=!0}={}){let r=Cs();r!==void 0&&(At=r);let n=i?At:r;if(n===0)return 0;if(i){if(K("color=16m")||K("color=full")||K("color=truecolor"))return 3;if(K("color=256"))return 2}if("TF_BUILD"in M&&"AGENT_NAME"in M)return 1;if(t&&!e&&n===void 0)return 0;let u=n||0;if(M.TERM==="dumb")return u;if(St.default.platform==="win32"){let o=fn.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in M)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(o=>o in M)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in M)||M.CI_NAME==="codeship"?1:u;if("TEAMCITY_VERSION"in M)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(M.TEAMCITY_VERSION)?1:0;if(M.COLORTERM==="truecolor"||M.TERM==="xterm-kitty"||M.TERM==="xterm-ghostty"||M.TERM==="wezterm")return 3;if("TERM_PROGRAM"in M){let o=Number.parseInt((M.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(M.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(M.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(M.TERM)||"COLORTERM"in M?1:u}function ln(t,e={}){let i=vs(t,{streamIsTTY:t&&t.isTTY,...e});return ys(i)}var xs={stdout:ln({isTTY:wr.default.isatty(1)}),stderr:ln({isTTY:wr.default.isatty(2)})},cn=xs;f();function hn(t,e,i){let r=t.indexOf(e);if(r===-1)return t;let n=e.length,u=0,o="";do o+=t.slice(u,r)+e+i,u=r+n,r=t.indexOf(e,u);while(r!==-1);return o+=t.slice(u),o}function Dn(t,e,i,r){let n=0,u="";do{let o=t[r-1]==="\r";u+=t.slice(n,o?r-1:r)+e+(o?`\r
|
|
19
|
+
`),this.outputHelp({error:!0}));let n=r||{},i=n.exitCode||1,o=n.code||"commander.error";this._exit(i,o,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in q.env){let r=e.attributeName();(this.getOptionValue(r)===void 0||["default","config","env"].includes(this.getOptionValueSource(r)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,q.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new da(this.options),r=n=>this.getOptionValue(n)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(n));this.options.filter(n=>n.implied!==void 0&&r(n.attributeName())&&e.valueFromOption(this.getOptionValue(n.attributeName()),n)).forEach(n=>{Object.keys(n.implied).filter(i=>!r(i)).forEach(i=>{this.setOptionValueWithSource(i,n.implied[i],"implied")})})}missingArgument(e){let r=`error: missing required argument '${e}'`;this.error(r,{code:"commander.missingArgument"})}optionMissingArgument(e){let r=`error: option '${e.flags}' argument missing`;this.error(r,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let r=`error: required option '${e.flags}' not specified`;this.error(r,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,r){let n=s=>{let a=s.attributeName(),f=this.getOptionValue(a),d=this.options.find(F=>F.negate&&a===F.attributeName()),h=this.options.find(F=>!F.negate&&a===F.attributeName());return d&&(d.presetArg===void 0&&f===!1||d.presetArg!==void 0&&f===d.presetArg)?d:h||s},i=s=>{let a=n(s),f=a.attributeName();return this.getOptionValueSource(f)==="env"?`environment variable '${a.envVar}'`:`option '${a.flags}'`},o=`error: ${i(e)} cannot be used with ${i(r)}`;this.error(o,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let r="";if(e.startsWith("--")&&this._showSuggestionAfterError){let i=[],o=this;do{let s=o.createHelp().visibleOptions(o).filter(a=>a.long).map(a=>a.long);i=i.concat(s),o=o.parent}while(o&&!o._enablePositionalOptions);r=Fi(e,i)}let n=`error: unknown option '${e}'${r}`;this.error(n,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let r=this.registeredArguments.length,n=r===1?"":"s",o=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${r} argument${n} but got ${e.length}.`;this.error(o,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],r="";if(this._showSuggestionAfterError){let i=[];this.createHelp().visibleCommands(this).forEach(o=>{i.push(o.name()),o.alias()&&i.push(o.alias())}),r=Fi(e,i)}let n=`error: unknown command '${e}'${r}`;this.error(n,{code:"commander.unknownCommand"})}version(e,r,n){if(e===void 0)return this._version;this._version=e,r=r||"-V, --version",n=n||"output the version number";let i=this.createOption(r,n);return this._versionOptionName=i.attributeName(),this.options.push(i),this.on("option:"+i.name(),()=>{this._outputConfiguration.writeOut(`${e}
|
|
20
|
+
`),this._exit(0,"commander.version",e)}),this}description(e,r){return e===void 0&&r===void 0?this._description:(this._description=e,r&&(this._argsDescription=r),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let r=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(r=this.commands[this.commands.length-1]),e===r._name)throw new Error("Command alias can't be the same as its name");return r._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(r=>this.alias(r)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;let r=this.registeredArguments.map(n=>ca(n));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?r:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=ve.basename(e,ve.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let r=this.createHelp();return r.helpWidth===void 0&&(r.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),r.formatHelp(this,r)}_getHelpContext(e){e=e||{};let r={error:!!e.error},n;return r.error?n=i=>this._outputConfiguration.writeErr(i):n=i=>this._outputConfiguration.writeOut(i),r.write=e.write||n,r.command=this,r}outputHelp(e){let r;typeof e=="function"&&(r=e,e=void 0);let n=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(o=>o.emit("beforeAllHelp",n)),this.emit("beforeHelp",n);let i=this.helpInformation(n);if(r&&(i=r(i),typeof i!="string"&&!Buffer.isBuffer(i)))throw new Error("outputHelp callback must return a string or a Buffer");n.write(i),this._helpLongFlag&&this.emit(this._helpLongFlag),this.emit("afterHelp",n),this._getCommandAndAncestors().forEach(o=>o.emit("afterAllHelp",n))}helpOption(e,r){if(typeof e=="boolean")return this._hasHelpOption=e,this;this._helpFlags=e||this._helpFlags,this._helpDescription=r||this._helpDescription;let n=Da(this._helpFlags);return this._helpShortFlag=n.shortFlag,this._helpLongFlag=n.longFlag,this}help(e){this.outputHelp(e);let r=q.exitCode||0;r===0&&e&&typeof e!="function"&&e.error&&(r=1),this._exit(r,"commander.help","(outputHelp)")}addHelpText(e,r){let n=["beforeAll","before","after","afterAll"];if(!n.includes(e))throw new Error(`Unexpected value for position to addHelpText.
|
|
21
|
+
Expecting one of '${n.join("', '")}'`);let i=`${e}Help`;return this.on(i,o=>{let s;typeof r=="function"?s=r({error:o.error,command:o.command}):s=r,s&&o.write(`${s}
|
|
22
|
+
`)}),this}};function _i(t,e){t._hasHelpOption&&e.find(n=>n===t._helpLongFlag||n===t._helpShortFlag)&&(t.outputHelp(),t._exit(0,"commander.helpDisplayed","(outputHelp)"))}function Ci(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let r,n="127.0.0.1",i="9229",o;return(o=e.match(/^(--inspect(-brk)?)$/))!==null?r=o[1]:(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(r=o[1],/^\d+$/.test(o[3])?i=o[3]:n=o[3]):(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(r=o[1],n=o[3],i=o[4]),r&&i!=="0"?`${r}=${n}:${parseInt(i)+1}`:e})}yi.Command=qr});var Si=S((pe,bi)=>{"use strict";D();var{Argument:pa}=jt(),{Command:vi}=xi(),{CommanderError:ma,InvalidArgumentError:wi}=mt(),{Help:ga}=Pr(),{Option:Ea}=Hr();pe=bi.exports=new vi;pe.program=pe;pe.Command=vi;pe.Option=Ea;pe.Argument=pa;pe.Help=ga;pe.CommanderError=ma;pe.InvalidArgumentError=wi;pe.InvalidOptionArgumentError=wi});var Gi=S((Kh,Xr)=>{"use strict";D();var Wi=(t,e)=>{for(let r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};Xr.exports=Wi;Xr.exports.default=Wi});var Zi=S((Jh,zt)=>{"use strict";D();var La=Gi(),Gt=new WeakMap,zi=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,n=0,i=t.displayName||t.name||"<anonymous>",o=function(...s){if(Gt.set(o,++n),n===1)r=t.apply(this,s),t=null;else if(e.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return La(o,t),Gt.set(o,n),o};zt.exports=zi;zt.exports.default=zi;zt.exports.callCount=t=>{if(!Gt.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return Gt.get(t)}});var Yi=S((eD,Zt)=>{"use strict";D();Zt.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Zt.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Zt.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var en=S((rD,it)=>{"use strict";D();var z=global.process,He=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};He(z)?(Ki=require("assert"),rt=Yi(),Xi=/^win/i.test(z.platform),_t=require("events"),typeof _t!="function"&&(_t=_t.EventEmitter),z.__signal_exit_emitter__?ne=z.__signal_exit_emitter__:(ne=z.__signal_exit_emitter__=new _t,ne.count=0,ne.emitted={}),ne.infinite||(ne.setMaxListeners(1/0),ne.infinite=!0),it.exports=function(t,e){if(!He(global.process))return function(){};Ki.equal(typeof t,"function","a callback must be provided for exit handler"),nt===!1&&Jr();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){ne.removeListener(r,t),ne.listeners("exit").length===0&&ne.listeners("afterexit").length===0&&Yt()};return ne.on(r,t),n},Yt=function(){!nt||!He(global.process)||(nt=!1,rt.forEach(function(e){try{z.removeListener(e,Kt[e])}catch{}}),z.emit=Xt,z.reallyExit=Qr,ne.count-=1)},it.exports.unload=Yt,je=function(e,r,n){ne.emitted[e]||(ne.emitted[e]=!0,ne.emit(e,r,n))},Kt={},rt.forEach(function(t){Kt[t]=function(){if(He(global.process)){var r=z.listeners(t);r.length===ne.count&&(Yt(),je("exit",null,t),je("afterexit",null,t),Xi&&t==="SIGHUP"&&(t="SIGINT"),z.kill(z.pid,t))}}}),it.exports.signals=function(){return rt},nt=!1,Jr=function(){nt||!He(global.process)||(nt=!0,ne.count+=1,rt=rt.filter(function(e){try{return z.on(e,Kt[e]),!0}catch{return!1}}),z.emit=Qi,z.reallyExit=Ji)},it.exports.load=Jr,Qr=z.reallyExit,Ji=function(e){He(global.process)&&(z.exitCode=e||0,je("exit",z.exitCode,null),je("afterexit",z.exitCode,null),Qr.call(z,z.exitCode))},Xt=z.emit,Qi=function(e,r){if(e==="exit"&&He(global.process)){r!==void 0&&(z.exitCode=r);var n=Xt.apply(this,arguments);return je("exit",z.exitCode,null),je("afterexit",z.exitCode,null),n}else return Xt.apply(this,arguments)}):it.exports=function(){return function(){}};var Ki,rt,Xi,_t,ne,Yt,je,Kt,nt,Jr,Qr,Ji,Xt,Qi});var io=S((lD,Ma)=>{Ma.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var nn=S((fD,so)=>{"use strict";D();var Qt=Object.assign({},io()),oo=Object.keys(Qt);Object.defineProperty(Qt,"random",{get(){let t=Math.floor(Math.random()*oo.length),e=oo[t];return Qt[e]}});so.exports=Qt});var ao=S((xD,sn)=>{"use strict";D();var Te={};typeof sn>"u"?window.eastasianwidth=Te:sn.exports=Te;Te.eastAsianWidth=function(t){var e=t.charCodeAt(0),r=t.length==2?t.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=r&&r<=57343&&(e&=1023,r&=1023,n=e<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":n==8361||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||n==172||n==175||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":n==161||n==164||167<=n&&n<=168||n==170||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||n==198||n==208||215<=n&&n<=216||222<=n&&n<=225||n==230||232<=n&&n<=234||236<=n&&n<=237||n==240||242<=n&&n<=243||247<=n&&n<=250||n==252||n==254||n==257||n==273||n==275||n==283||294<=n&&n<=295||n==299||305<=n&&n<=307||n==312||319<=n&&n<=322||n==324||328<=n&&n<=331||n==333||338<=n&&n<=339||358<=n&&n<=359||n==363||n==462||n==464||n==466||n==468||n==470||n==472||n==474||n==476||n==593||n==609||n==708||n==711||713<=n&&n<=715||n==717||n==720||728<=n&&n<=731||n==733||n==735||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||n==1025||1040<=n&&n<=1103||n==1105||n==8208||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||n==8240||8242<=n&&n<=8243||n==8245||n==8251||n==8254||n==8308||n==8319||8321<=n&&n<=8324||n==8364||n==8451||n==8453||n==8457||n==8467||n==8470||8481<=n&&n<=8482||n==8486||n==8491||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||n==8585||8592<=n&&n<=8601||8632<=n&&n<=8633||n==8658||n==8660||n==8679||n==8704||8706<=n&&n<=8707||8711<=n&&n<=8712||n==8715||n==8719||n==8721||n==8725||n==8730||8733<=n&&n<=8736||n==8739||n==8741||8743<=n&&n<=8748||n==8750||8756<=n&&n<=8759||8764<=n&&n<=8765||n==8776||n==8780||n==8786||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||n==8853||n==8857||n==8869||n==8895||n==8978||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||n==9675||9678<=n&&n<=9681||9698<=n&&n<=9701||n==9711||9733<=n&&n<=9734||n==9737||9742<=n&&n<=9743||9748<=n&&n<=9749||n==9756||n==9758||n==9792||n==9794||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||n==9839||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||n==9955||9960<=n&&n<=9983||n==10045||n==10071||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||n==65533||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"};Te.characterLength=function(t){var e=this.eastAsianWidth(t);return e=="F"||e=="W"||e=="A"?2:1};function uo(t){return t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}Te.length=function(t){for(var e=uo(t),r=0,n=0;n<e.length;n++)r=r+this.characterLength(e[n]);return r};Te.slice=function(t,e,r){textLen=Te.length(t),e=e||0,r=r||1,e<0&&(e=textLen+e),r<0&&(r=textLen+r);for(var n="",i=0,o=uo(t),s=0;s<o.length;s++){var a=o[s],f=Te.length(a);if(i>=e-(f==2?1:0))if(i+f<=r)n+=a;else break;i+=f}return n}});var ln=S((RD,co)=>{"use strict";D();co.exports=require("stream")});var Eo=S((ND,go)=>{"use strict";D();function ho(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Do(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ho(Object(r),!0).forEach(function(n){ja(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ho(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ja(t,e,r){return e=mo(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function po(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mo(n.key),n)}}function $a(t,e,r){return e&&po(t.prototype,e),r&&po(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function mo(t){var e=qa(t,"string");return typeof e=="symbol"?e:String(e)}function qa(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Wa=require("buffer"),er=Wa.Buffer,Ga=require("util"),fn=Ga.inspect,za=fn&&fn.custom||"inspect";function Za(t,e,r){er.prototype.copy.call(t,e,r)}go.exports=(function(){function t(){Va(this,t),this.head=null,this.tail=null,this.length=0}return $a(t,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return er.alloc(0);for(var n=er.allocUnsafe(r>>>0),i=this.head,o=0;i;)Za(i.data,n,o),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,o=n.data;for(r-=o.length;n=n.next;){var s=n.data,a=r>s.length?s.length:r;if(a===s.length?o+=s:o+=s.slice(0,r),r-=a,r===0){a===s.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(a));break}++i}return this.length-=i,o}},{key:"_getBuffer",value:function(r){var n=er.allocUnsafe(r),i=this.head,o=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var s=i.data,a=r>s.length?s.length:r;if(s.copy(n,n.length-r,0,a),r-=a,r===0){a===s.length?(++o,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(a));break}++o}return this.length-=o,n}},{key:za,value:function(r,n){return fn(this,Do(Do({},n),{},{depth:0,customInspect:!1}))}}]),t})()});var hn=S((PD,_o)=>{"use strict";D();function Ya(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(cn,this,t)):process.nextTick(cn,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(o){!e&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(tr,r):(r._writableState.errorEmitted=!0,process.nextTick(Fo,r,o)):process.nextTick(Fo,r,o):e?(process.nextTick(tr,r),e(o)):process.nextTick(tr,r)}),this)}function Fo(t,e){cn(t,e),tr(t)}function tr(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function Ka(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function cn(t,e){t.emit("error",e)}function Xa(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}_o.exports={destroy:Ya,undestroy:Ka,errorOrDestroy:Xa}});var Be=S((kD,xo)=>{"use strict";D();var yo={};function ce(t,e,r){r||(r=Error);function n(o,s,a){return typeof e=="string"?e:e(o,s,a)}class i extends r{constructor(s,a,f){super(n(s,a,f))}}i.prototype.name=r.name,i.prototype.code=t,yo[t]=i}function Co(t,e){if(Array.isArray(t)){let r=t.length;return t=t.map(n=>String(n)),r>2?`one of ${e} ${t.slice(0,r-1).join(", ")}, or `+t[r-1]:r===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return`of ${e} ${String(t)}`}function Ja(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function Qa(t,e,r){return(r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function el(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?!1:t.indexOf(e,r)!==-1}ce("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);ce("ERR_INVALID_ARG_TYPE",function(t,e,r){let n;typeof e=="string"&&Ja(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";let i;if(Qa(t," argument"))i=`The ${t} ${n} ${Co(e,"type")}`;else{let o=el(t,".")?"property":"argument";i=`The "${t}" ${o} ${n} ${Co(e,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);ce("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ce("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});ce("ERR_STREAM_PREMATURE_CLOSE","Premature close");ce("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});ce("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ce("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ce("ERR_STREAM_WRITE_AFTER_END","write after end");ce("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ce("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);ce("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");xo.exports.codes=yo});var Dn=S((jD,vo)=>{"use strict";D();var tl=Be().codes.ERR_INVALID_OPT_VALUE;function rl(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function nl(t,e,r,n){var i=rl(e,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var o=n?r:"highWaterMark";throw new tl(o,i)}return Math.floor(i)}return t.objectMode?16:16*1024}vo.exports={getHighWaterMark:nl}});var wo=S(($D,dn)=>{"use strict";D();typeof Object.create=="function"?dn.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:dn.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Ve=S((WD,mn)=>{"use strict";D();try{if(pn=require("util"),typeof pn.inherits!="function")throw"";mn.exports=pn.inherits}catch{mn.exports=wo()}var pn});var So=S((zD,bo)=>{"use strict";D();bo.exports=require("util").deprecate});var Fn=S((YD,Ro)=>{"use strict";D();Ro.exports=J;function Oo(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Tl(e,t)}}var st;J.WritableState=wt;var il={deprecate:So()},To=ln(),nr=require("buffer").Buffer,ol=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function sl(t){return nr.from(t)}function ul(t){return nr.isBuffer(t)||t instanceof ol}var En=hn(),al=Dn(),ll=al.getHighWaterMark,Ie=Be().codes,fl=Ie.ERR_INVALID_ARG_TYPE,cl=Ie.ERR_METHOD_NOT_IMPLEMENTED,hl=Ie.ERR_MULTIPLE_CALLBACK,Dl=Ie.ERR_STREAM_CANNOT_PIPE,dl=Ie.ERR_STREAM_DESTROYED,pl=Ie.ERR_STREAM_NULL_VALUES,ml=Ie.ERR_STREAM_WRITE_AFTER_END,gl=Ie.ERR_UNKNOWN_ENCODING,ut=En.errorOrDestroy;Ve()(J,To);function El(){}function wt(t,e,r){st=st||$e(),t=t||{},typeof r!="boolean"&&(r=e instanceof st),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=ll(this,t,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=t.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){wl(e,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Oo(this)}wt.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(wt.prototype,"buffer",{get:il.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var rr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(rr=Function.prototype[Symbol.hasInstance],Object.defineProperty(J,Symbol.hasInstance,{value:function(e){return rr.call(this,e)?!0:this!==J?!1:e&&e._writableState instanceof wt}})):rr=function(e){return e instanceof this};function J(t){st=st||$e();var e=this instanceof st;if(!e&&!rr.call(J,this))return new J(t);this._writableState=new wt(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),To.call(this)}J.prototype.pipe=function(){ut(this,new Dl)};function Fl(t,e){var r=new ml;ut(t,r),process.nextTick(e,r)}function _l(t,e,r,n){var i;return r===null?i=new pl:typeof r!="string"&&!e.objectMode&&(i=new fl("chunk",["string","Buffer"],r)),i?(ut(t,i),process.nextTick(n,i),!1):!0}J.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&ul(t);return o&&!nr.isBuffer(t)&&(t=sl(t)),typeof e=="function"&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=El),n.ending?Fl(this,r):(o||_l(this,n,t,r))&&(n.pendingcb++,i=yl(this,n,o,t,e,r)),i};J.prototype.cork=function(){this._writableState.corked++};J.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&Bo(this,t))};J.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new gl(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(J.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Cl(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=nr.from(e,r)),e}Object.defineProperty(J.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function yl(t,e,r,n,i,o){if(!r){var s=Cl(e,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var f=e.length<e.highWaterMark;if(f||(e.needDrain=!0),e.writing||e.corked){var d=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},d?d.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else gn(t,e,!1,a,n,i,o);return f}function gn(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new dl("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function xl(t,e,r,n,i){--e.pendingcb,r?(process.nextTick(i,n),process.nextTick(vt,t,e),t._writableState.errorEmitted=!0,ut(t,n)):(i(n),t._writableState.errorEmitted=!0,ut(t,n),vt(t,e))}function vl(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function wl(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new hl;if(vl(r),e)xl(t,r,n,e,i);else{var o=Io(r)||t.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Bo(t,r),n?process.nextTick(Ao,t,r,o,i):Ao(t,r,o,i)}}function Ao(t,e,r,n){r||bl(t,e),e.pendingcb--,n(),vt(t,e)}function bl(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function Bo(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,a=!0;r;)i[s]=r,r.isBuf||(a=!1),r=r.next,s+=1;i.allBuffers=a,gn(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new Oo(e),e.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,d=r.encoding,h=r.callback,F=e.objectMode?1:f.length;if(gn(t,e,!1,F,f,d,h),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}J.prototype._write=function(t,e,r){r(new cl("_write()"))};J.prototype._writev=null;J.prototype.end=function(t,e,r){var n=this._writableState;return typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||Ol(this,n,r),this};Object.defineProperty(J.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Io(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function Sl(t,e){t._final(function(r){e.pendingcb--,r&&ut(t,r),e.prefinished=!0,t.emit("prefinish"),vt(t,e)})}function Al(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=!0,process.nextTick(Sl,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function vt(t,e){var r=Io(e);if(r&&(Al(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}function Ol(t,e,r){e.ending=!0,vt(t,e),r&&(e.finished?process.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function Tl(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}Object.defineProperty(J.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});J.prototype.destroy=En.destroy;J.prototype._undestroy=En.undestroy;J.prototype._destroy=function(t,e){e(t)}});var $e=S((XD,No)=>{"use strict";D();var Bl=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};No.exports=Ce;var Lo=yn(),Cn=Fn();Ve()(Ce,Lo);for(_n=Bl(Cn.prototype),ir=0;ir<_n.length;ir++)or=_n[ir],Ce.prototype[or]||(Ce.prototype[or]=Cn.prototype[or]);var _n,or,ir;function Ce(t){if(!(this instanceof Ce))return new Ce(t);Lo.call(this,t),Cn.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Il)))}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Ce.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Il(){this._writableState.ended||process.nextTick(Rl,this)}function Rl(t){t.end()}Object.defineProperty(Ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var Uo=S((xn,Po)=>{"use strict";D();var sr=require("buffer"),ye=sr.Buffer;function Mo(t,e){for(var r in t)e[r]=t[r]}ye.from&&ye.alloc&&ye.allocUnsafe&&ye.allocUnsafeSlow?Po.exports=sr:(Mo(sr,xn),xn.Buffer=qe);function qe(t,e,r){return ye(t,e,r)}qe.prototype=Object.create(ye.prototype);Mo(ye,qe);qe.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return ye(t,e,r)};qe.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=ye(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};qe.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return ye(t)};qe.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return sr.SlowBuffer(t)}});var bn=S(Ho=>{"use strict";D();var wn=Uo().Buffer,ko=wn.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ll(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function Nl(t){var e=Ll(t);if(typeof e!="string"&&(wn.isEncoding===ko||!ko(t)))throw new Error("Unknown encoding: "+t);return e||t}Ho.StringDecoder=bt;function bt(t){this.encoding=Nl(t);var e;switch(this.encoding){case"utf16le":this.text=jl,this.end=Vl,e=4;break;case"utf8":this.fillLast=Ul,e=4;break;case"base64":this.text=$l,this.end=ql,e=3;break;default:this.write=Wl,this.end=Gl;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=wn.allocUnsafe(e)}bt.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};bt.prototype.end=Hl;bt.prototype.text=kl;bt.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function vn(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Ml(t,e,r){var n=e.length-1;if(n<r)return 0;var i=vn(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||i===-2?0:(i=vn(e[n]),i>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||i===-2?0:(i=vn(e[n]),i>=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function Pl(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function Ul(t){var e=this.lastTotal-this.lastNeed,r=Pl(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function kl(t,e){var r=Ml(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function Hl(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function jl(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Vl(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function $l(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function ql(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Wl(t){return t.toString(this.encoding)}function Gl(t){return t&&t.length?this.write(t):""}});var ur=S((rd,$o)=>{"use strict";D();var jo=Be().codes.ERR_STREAM_PREMATURE_CLOSE;function zl(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}function Zl(){}function Yl(t){return t.setHeader&&typeof t.abort=="function"}function Vo(t,e,r){if(typeof e=="function")return Vo(t,null,e);e||(e={}),r=zl(r||Zl);var n=e.readable||e.readable!==!1&&t.readable,i=e.writable||e.writable!==!1&&t.writable,o=function(){t.writable||a()},s=t._writableState&&t._writableState.finished,a=function(){i=!1,s=!0,n||r.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){n=!1,f=!0,i||r.call(t)},h=function(c){r.call(t,c)},F=function(){var c;if(n&&!f)return(!t._readableState||!t._readableState.ended)&&(c=new jo),r.call(t,c);if(i&&!s)return(!t._writableState||!t._writableState.ended)&&(c=new jo),r.call(t,c)},y=function(){t.req.on("finish",a)};return Yl(t)?(t.on("complete",a),t.on("abort",F),t.req?y():t.on("request",y)):i&&!t._writableState&&(t.on("end",o),t.on("close",o)),t.on("end",d),t.on("finish",a),e.error!==!1&&t.on("error",h),t.on("close",F),function(){t.removeListener("complete",a),t.removeListener("abort",F),t.removeListener("request",y),t.req&&t.req.removeListener("finish",a),t.removeListener("end",o),t.removeListener("close",o),t.removeListener("finish",a),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",F)}}$o.exports=Vo});var Wo=S((id,qo)=>{"use strict";D();var ar;function Re(t,e,r){return e=Kl(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kl(t){var e=Xl(t,"string");return typeof e=="symbol"?e:String(e)}function Xl(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Jl=ur(),Le=Symbol("lastResolve"),We=Symbol("lastReject"),St=Symbol("error"),lr=Symbol("ended"),Ge=Symbol("lastPromise"),Sn=Symbol("handlePromise"),ze=Symbol("stream");function Ne(t,e){return{value:t,done:e}}function Ql(t){var e=t[Le];if(e!==null){var r=t[ze].read();r!==null&&(t[Ge]=null,t[Le]=null,t[We]=null,e(Ne(r,!1)))}}function ef(t){process.nextTick(Ql,t)}function tf(t,e){return function(r,n){t.then(function(){if(e[lr]){r(Ne(void 0,!0));return}e[Sn](r,n)},n)}}var rf=Object.getPrototypeOf(function(){}),nf=Object.setPrototypeOf((ar={get stream(){return this[ze]},next:function(){var e=this,r=this[St];if(r!==null)return Promise.reject(r);if(this[lr])return Promise.resolve(Ne(void 0,!0));if(this[ze].destroyed)return new Promise(function(s,a){process.nextTick(function(){e[St]?a(e[St]):s(Ne(void 0,!0))})});var n=this[Ge],i;if(n)i=new Promise(tf(n,this));else{var o=this[ze].read();if(o!==null)return Promise.resolve(Ne(o,!1));i=new Promise(this[Sn])}return this[Ge]=i,i}},Re(ar,Symbol.asyncIterator,function(){return this}),Re(ar,"return",function(){var e=this;return new Promise(function(r,n){e[ze].destroy(null,function(i){if(i){n(i);return}r(Ne(void 0,!0))})})}),ar),rf),of=function(e){var r,n=Object.create(nf,(r={},Re(r,ze,{value:e,writable:!0}),Re(r,Le,{value:null,writable:!0}),Re(r,We,{value:null,writable:!0}),Re(r,St,{value:null,writable:!0}),Re(r,lr,{value:e._readableState.endEmitted,writable:!0}),Re(r,Sn,{value:function(o,s){var a=n[ze].read();a?(n[Ge]=null,n[Le]=null,n[We]=null,o(Ne(a,!1))):(n[Le]=o,n[We]=s)},writable:!0}),r));return n[Ge]=null,Jl(e,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=n[We];o!==null&&(n[Ge]=null,n[Le]=null,n[We]=null,o(i)),n[St]=i;return}var s=n[Le];s!==null&&(n[Ge]=null,n[Le]=null,n[We]=null,s(Ne(void 0,!0))),n[lr]=!0}),e.on("readable",ef.bind(null,n)),n};qo.exports=of});var Yo=S((sd,Zo)=>{"use strict";D();function Go(t,e,r,n,i,o,s){try{var a=t[o](s),f=a.value}catch(d){r(d);return}a.done?e(f):Promise.resolve(f).then(n,i)}function sf(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function s(f){Go(o,n,i,s,a,"next",f)}function a(f){Go(o,n,i,s,a,"throw",f)}s(void 0)})}}function zo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function uf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zo(Object(r),!0).forEach(function(n){af(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zo(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function af(t,e,r){return e=lf(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lf(t){var e=ff(t,"string");return typeof e=="symbol"?e:String(e)}function ff(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var cf=Be().codes.ERR_INVALID_ARG_TYPE;function hf(t,e,r){var n;if(e&&typeof e.next=="function")n=e;else if(e&&e[Symbol.asyncIterator])n=e[Symbol.asyncIterator]();else if(e&&e[Symbol.iterator])n=e[Symbol.iterator]();else throw new cf("iterable",["Iterable"],e);var i=new t(uf({objectMode:!0},r)),o=!1;i._read=function(){o||(o=!0,s())};function s(){return a.apply(this,arguments)}function a(){return a=sf(function*(){try{var f=yield n.next(),d=f.value,h=f.done;h?i.push(null):i.push(yield d)?s():o=!1}catch(F){i.destroy(F)}}),a.apply(this,arguments)}return i}Zo.exports=hf});var yn=S((ld,os)=>{"use strict";D();os.exports=L;var at;L.ReadableState=Qo;var ad=require("events").EventEmitter,Jo=function(e,r){return e.listeners(r).length},Ot=ln(),fr=require("buffer").Buffer,Df=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function df(t){return fr.from(t)}function pf(t){return fr.isBuffer(t)||t instanceof Df}var An=require("util"),B;An&&An.debuglog?B=An.debuglog("stream"):B=function(){};var mf=Eo(),Nn=hn(),gf=Dn(),Ef=gf.getHighWaterMark,cr=Be().codes,Ff=cr.ERR_INVALID_ARG_TYPE,_f=cr.ERR_STREAM_PUSH_AFTER_EOF,Cf=cr.ERR_METHOD_NOT_IMPLEMENTED,yf=cr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,lt,On,Tn;Ve()(L,Ot);var At=Nn.errorOrDestroy,Bn=["error","close","destroy","pause","resume"];function xf(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}function Qo(t,e,r){at=at||$e(),t=t||{},typeof r!="boolean"&&(r=e instanceof at),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=Ef(this,t,"readableHighWaterMark",r),this.buffer=new mf,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(lt||(lt=bn().StringDecoder),this.decoder=new lt(t.encoding),this.encoding=t.encoding)}function L(t){if(at=at||$e(),!(this instanceof L))return new L(t);var e=this instanceof at;this._readableState=new Qo(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Ot.call(this)}Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});L.prototype.destroy=Nn.destroy;L.prototype._undestroy=Nn.undestroy;L.prototype._destroy=function(t,e){e(t)};L.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=fr.from(t,e),e=""),n=!0),es(this,t,e,!1,n)};L.prototype.unshift=function(t){return es(this,t,null,!0,!1)};function es(t,e,r,n,i){B("readableAddChunk",e);var o=t._readableState;if(e===null)o.reading=!1,bf(t,o);else{var s;if(i||(s=vf(o,e)),s)At(t,s);else if(o.objectMode||e&&e.length>0)if(typeof e!="string"&&!o.objectMode&&Object.getPrototypeOf(e)!==fr.prototype&&(e=df(e)),n)o.endEmitted?At(t,new yf):In(t,o,e,!0);else if(o.ended)At(t,new _f);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||e.length!==0?In(t,o,e,!1):Ln(t,o)):In(t,o,e,!1)}else n||(o.reading=!1,Ln(t,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function In(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&hr(t)),Ln(t,e)}function vf(t,e){var r;return!pf(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new Ff("chunk",["string","Buffer","Uint8Array"],e)),r}L.prototype.isPaused=function(){return this._readableState.flowing===!1};L.prototype.setEncoding=function(t){lt||(lt=bn().StringDecoder);var e=new lt(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var Ko=1073741824;function wf(t){return t>=Ko?t=Ko:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function Xo(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=wf(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}L.prototype.read=function(t){B("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return B("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?Rn(this):hr(this),null;if(t=Xo(t,e),t===0&&e.ended)return e.length===0&&Rn(this),null;var n=e.needReadable;B("need readable",n),(e.length===0||e.length-t<e.highWaterMark)&&(n=!0,B("length less than watermark",n)),e.ended||e.reading?(n=!1,B("reading or ended",n)):n&&(B("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=Xo(r,e)));var i;return t>0?i=ns(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&Rn(this)),i!==null&&this.emit("data",i),i};function bf(t,e){if(B("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?hr(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,ts(t)))}}function hr(t){var e=t._readableState;B("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(B("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(ts,t))}function ts(t){var e=t._readableState;B("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,Mn(t)}function Ln(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(Sf,t,e))}function Sf(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var r=e.length;if(B("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}L.prototype._read=function(t){At(this,new Cf("_read()"))};L.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t);break}n.pipesCount+=1,B("pipe count=%d opts=%j",n.pipesCount,e);var i=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,o=i?a:g;n.endEmitted?process.nextTick(o):r.once("end",o),t.on("unpipe",s);function s(p,m){B("onunpipe"),p===r&&m&&m.hasUnpiped===!1&&(m.hasUnpiped=!0,h())}function a(){B("onend"),t.end()}var f=Af(r);t.on("drain",f);var d=!1;function h(){B("cleanup"),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("drain",f),t.removeListener("error",y),t.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",g),r.removeListener("data",F),d=!0,n.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&f()}r.on("data",F);function F(p){B("ondata");var m=t.write(p);B("dest.write",m),m===!1&&((n.pipesCount===1&&n.pipes===t||n.pipesCount>1&&is(n.pipes,t)!==-1)&&!d&&(B("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function y(p){B("onerror",p),g(),t.removeListener("error",y),Jo(t,"error")===0&&At(t,p)}xf(t,"error",y);function l(){t.removeListener("finish",c),g()}t.once("close",l);function c(){B("onfinish"),t.removeListener("close",l),g()}t.once("finish",c);function g(){B("unpipe"),r.unpipe(t)}return t.emit("pipe",r),n.flowing||(B("pipe resume"),r.resume()),t};function Af(t){return function(){var r=t._readableState;B("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Jo(t,"data")&&(r.flowing=!0,Mn(t))}}L.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=is(e.pipes,t);return s===-1?this:(e.pipes.splice(s,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};L.prototype.on=function(t,e){var r=Ot.prototype.on.call(this,t,e),n=this._readableState;return t==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,B("on readable",n.length,n.reading),n.length?hr(this):n.reading||process.nextTick(Of,this)),r};L.prototype.addListener=L.prototype.on;L.prototype.removeListener=function(t,e){var r=Ot.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(rs,this),r};L.prototype.removeAllListeners=function(t){var e=Ot.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(rs,this),e};function rs(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function Of(t){B("readable nexttick read 0"),t.read(0)}L.prototype.resume=function(){var t=this._readableState;return t.flowing||(B("resume"),t.flowing=!t.readableListening,Tf(this,t)),t.paused=!1,this};function Tf(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(Bf,t,e))}function Bf(t,e){B("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),Mn(t),e.flowing&&!e.reading&&t.read(0)}L.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Mn(t){var e=t._readableState;for(B("flow",e.flowing);e.flowing&&t.read()!==null;);}L.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;t.on("end",function(){if(B("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&e.push(s)}e.push(null)}),t.on("data",function(s){if(B("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var a=e.push(s);a||(n=!0,t.pause())}});for(var i in t)this[i]===void 0&&typeof t[i]=="function"&&(this[i]=(function(a){return function(){return t[a].apply(t,arguments)}})(i));for(var o=0;o<Bn.length;o++)t.on(Bn[o],this.emit.bind(this,Bn[o]));return this._read=function(s){B("wrapped _read",s),n&&(n=!1,t.resume())},this};typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return On===void 0&&(On=Wo()),On(this)});Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}});L._fromList=ns;Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function ns(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function Rn(t){var e=t._readableState;B("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(If,e,t))}function If(t,e){if(B("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}typeof Symbol=="function"&&(L.from=function(t,e){return Tn===void 0&&(Tn=Yo()),Tn(L,t,e)});function is(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}});var Pn=S((cd,us)=>{"use strict";D();us.exports=be;var Dr=Be().codes,Rf=Dr.ERR_METHOD_NOT_IMPLEMENTED,Lf=Dr.ERR_MULTIPLE_CALLBACK,Nf=Dr.ERR_TRANSFORM_ALREADY_TRANSFORMING,Mf=Dr.ERR_TRANSFORM_WITH_LENGTH_0,dr=$e();Ve()(be,dr);function Pf(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new Lf);r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function be(t){if(!(this instanceof be))return new be(t);dr.call(this,t),this._transformState={afterTransform:Pf.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",Uf)}function Uf(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){ss(t,e,r)}):ss(this,null,null)}be.prototype.push=function(t,e){return this._transformState.needTransform=!1,dr.prototype.push.call(this,t,e)};be.prototype._transform=function(t,e,r){r(new Rf("_transform()"))};be.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};be.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};be.prototype._destroy=function(t,e){dr.prototype._destroy.call(this,t,function(r){e(r)})};function ss(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new Mf;if(t._transformState.transforming)throw new Nf;return t.push(null)}});var fs=S((Dd,ls)=>{"use strict";D();ls.exports=Tt;var as=Pn();Ve()(Tt,as);function Tt(t){if(!(this instanceof Tt))return new Tt(t);as.call(this,t)}Tt.prototype._transform=function(t,e,r){r(null,t)}});var ps=S((pd,ds)=>{"use strict";D();var Un;function kf(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var Ds=Be().codes,Hf=Ds.ERR_MISSING_ARGS,jf=Ds.ERR_STREAM_DESTROYED;function cs(t){if(t)throw t}function Vf(t){return t.setHeader&&typeof t.abort=="function"}function $f(t,e,r,n){n=kf(n);var i=!1;t.on("close",function(){i=!0}),Un===void 0&&(Un=ur()),Un(t,{readable:e,writable:r},function(s){if(s)return n(s);i=!0,n()});var o=!1;return function(s){if(!i&&!o){if(o=!0,Vf(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();n(s||new jf("pipe"))}}}function hs(t){t()}function qf(t,e){return t.pipe(e)}function Wf(t){return!t.length||typeof t[t.length-1]!="function"?cs:t.pop()}function Gf(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=Wf(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Hf("streams");var i,o=e.map(function(s,a){var f=a<e.length-1,d=a>0;return $f(s,f,d,function(h){i||(i=h),h&&o.forEach(hs),!f&&(o.forEach(hs),n(i))})});return e.reduce(qf)}ds.exports=Gf});var ms=S((he,It)=>{"use strict";D();var Bt=require("stream");process.env.READABLE_STREAM==="disable"&&Bt?(It.exports=Bt.Readable,Object.assign(It.exports,Bt),It.exports.Stream=Bt):(he=It.exports=yn(),he.Stream=Bt||he,he.Readable=he,he.Writable=Fn(),he.Duplex=$e(),he.Transform=Pn(),he.PassThrough=fs(),he.finished=ur(),he.pipeline=ps())});var Fs=S((Ed,Es)=>{"use strict";D();var{Buffer:Ee}=require("buffer"),gs=Symbol.for("BufferList");function j(t){if(!(this instanceof j))return new j(t);j._init.call(this,t)}j._init=function(e){Object.defineProperty(this,gs,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};j.prototype._new=function(e){return new j(e)};j.prototype._offset=function(e){if(e===0)return[0,0];let r=0;for(let n=0;n<this._bufs.length;n++){let i=r+this._bufs[n].length;if(e<i||n===this._bufs.length-1)return[n,e-r];r=i}};j.prototype._reverseOffset=function(t){let e=t[0],r=t[1];for(let n=0;n<e;n++)r+=this._bufs[n].length;return r};j.prototype.get=function(e){if(e>this.length||e<0)return;let r=this._offset(e);return this._bufs[r[0]][r[1]]};j.prototype.slice=function(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};j.prototype.copy=function(e,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return e||Ee.alloc(0);let o=!!e,s=this._offset(n),a=i-n,f=a,d=o&&r||0,h=s[1];if(n===0&&i===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:Ee.concat(this._bufs,this.length);for(let F=0;F<this._bufs.length;F++)this._bufs[F].copy(e,d),d+=this._bufs[F].length;return e}if(f<=this._bufs[s[0]].length-h)return o?this._bufs[s[0]].copy(e,r,h,h+f):this._bufs[s[0]].slice(h,h+f);o||(e=Ee.allocUnsafe(a));for(let F=s[0];F<this._bufs.length;F++){let y=this._bufs[F].length-h;if(f>y)this._bufs[F].copy(e,d,h),d+=y;else{this._bufs[F].copy(e,d,h,h+f),d+=y;break}f-=y,h&&(h=0)}return e.length>d?e.slice(0,d):e};j.prototype.shallowSlice=function(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();let n=this._offset(e),i=this._offset(r),o=this._bufs.slice(n[0],i[0]+1);return i[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,i[1]),n[1]!==0&&(o[0]=o[0].slice(n[1])),this._new(o)};j.prototype.toString=function(e,r,n){return this.slice(r,n).toString(e)};j.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};j.prototype.duplicate=function(){let e=this._new();for(let r=0;r<this._bufs.length;r++)e.append(this._bufs[r]);return e};j.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(Ee.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let r=0;r<e.length;r++)this.append(e[r]);else if(this._isBufferList(e))for(let r=0;r<e._bufs.length;r++)this.append(e._bufs[r]);else typeof e=="number"&&(e=e.toString()),this._appendBuffer(Ee.from(e));return this};j.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length};j.prototype.indexOf=function(t,e,r){if(r===void 0&&typeof e=="string"&&(r=e,e=void 0),typeof t=="function"||Array.isArray(t))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof t=="number"?t=Ee.from([t]):typeof t=="string"?t=Ee.from(t,r):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=Ee.from(t.buffer,t.byteOffset,t.byteLength):Ee.isBuffer(t)||(t=Ee.from(t)),e=Number(e||0),isNaN(e)&&(e=0),e<0&&(e=this.length+e),e<0&&(e=0),t.length===0)return e>this.length?this.length:e;let n=this._offset(e),i=n[0],o=n[1];for(;i<this._bufs.length;i++){let s=this._bufs[i];for(;o<s.length;)if(s.length-o>=t.length){let f=s.indexOf(t,o);if(f!==-1)return this._reverseOffset([i,f]);o=s.length-t.length+1}else{let f=this._reverseOffset([i,o]);if(this._match(f,t))return f;o++}o=0}return-1};j.prototype._match=function(t,e){if(this.length-t<e.length)return!1;for(let r=0;r<e.length;r++)if(this.get(t+r)!==e[r])return!1;return!0};(function(){let t={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let e in t)(function(r){t[r]===null?j.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:j.prototype[r]=function(n=0){return this.slice(n,n+t[r])[r](0)}})(e)})();j.prototype._isBufferList=function(e){return e instanceof j||j.isBufferList(e)};j.isBufferList=function(e){return e!=null&&e[gs]};Es.exports=j});var _s=S((_d,pr)=>{"use strict";D();var kn=ms().Duplex,zf=Ve(),Rt=Fs();function ue(t){if(!(this instanceof ue))return new ue(t);if(typeof t=="function"){this._callback=t;let e=function(n){this._callback&&(this._callback(n),this._callback=null)}.bind(this);this.on("pipe",function(n){n.on("error",e)}),this.on("unpipe",function(n){n.removeListener("error",e)}),t=null}Rt._init.call(this,t),kn.call(this)}zf(ue,kn);Object.assign(ue.prototype,Rt.prototype);ue.prototype._new=function(e){return new ue(e)};ue.prototype._write=function(e,r,n){this._appendBuffer(e),typeof n=="function"&&n()};ue.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)};ue.prototype.end=function(e){kn.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)};ue.prototype._destroy=function(e,r){this._bufs.length=0,this.length=0,r(e)};ue.prototype._isBufferList=function(e){return e instanceof ue||e instanceof Rt||ue.isBufferList(e)};ue.isBufferList=Rt.isBufferList;pr.exports=ue;pr.exports.BufferListStream=ue;pr.exports.BufferList=Rt});var Gn=S((Wd,As)=>{"use strict";D();As.exports={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24}});var gr=S(Ts=>{"use strict";D();var Os={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",DESCRIPTOR_NOT_EXIST:"No descriptor present",DESCRIPTOR_UNKNOWN:"Unknown descriptor format",DESCRIPTOR_FAULTY:"Descriptor data is malformed",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed {0}",FILE_IN_THE_WAY:"There is a file in the way: {0}",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",DISK_ENTRY_TOO_LARGE:"Number of disk entries is too large",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:'File not found: "{0}"',NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found",INVALID_PASS_PARAM:"Incompatible password parameter",WRONG_PASSWORD:"Wrong Password",COMMENT_TOO_LONG:"Comment is too long",EXTRA_FIELD_PARSE_ERROR:"Extra field parsing error"};function ec(t){return function(...e){return e.length&&(t=t.replace(/\{(\d)\}/g,(r,n)=>e[n]||"")),new Error("ADM-ZIP: "+t)}}for(let t of Object.keys(Os))Ts[t]=ec(Os[t])});var Ns=S((Yd,Ls)=>{"use strict";D();var tc=require("fs"),re=require("path"),Bs=Gn(),rc=gr(),nc=typeof process=="object"&&process.platform==="win32",Is=t=>typeof t=="object"&&t!==null,Rs=new Uint32Array(256).map((t,e)=>{for(let r=0;r<8;r++)(e&1)!==0?e=3988292384^e>>>1:e>>>=1;return e>>>0});function Q(t){this.sep=re.sep,this.fs=tc,Is(t)&&Is(t.fs)&&typeof t.fs.statSync=="function"&&(this.fs=t.fs)}Ls.exports=Q;Q.prototype.makeDir=function(t){let e=this;function r(n){let i=n.split(e.sep)[0];n.split(e.sep).forEach(function(o){if(!(!o||o.substr(-1,1)===":")){i+=e.sep+o;var s;try{s=e.fs.statSync(i)}catch{e.fs.mkdirSync(i)}if(s&&s.isFile())throw rc.FILE_IN_THE_WAY(`"${i}"`)}})}r(t)};Q.prototype.writeFileTo=function(t,e,r,n){let i=this;if(i.fs.existsSync(t)){if(!r)return!1;var o=i.fs.statSync(t);if(o.isDirectory())return!1}var s=re.dirname(t);i.fs.existsSync(s)||i.makeDir(s);var a;try{a=i.fs.openSync(t,"w",438)}catch{i.fs.chmodSync(t,438),a=i.fs.openSync(t,"w",438)}if(a)try{i.fs.writeSync(a,e,0,e.length,0)}finally{i.fs.closeSync(a)}return i.fs.chmodSync(t,n||438),!0};Q.prototype.writeFileToAsync=function(t,e,r,n,i){typeof n=="function"&&(i=n,n=void 0);let o=this;o.fs.exists(t,function(s){if(s&&!r)return i(!1);o.fs.stat(t,function(a,f){if(s&&f.isDirectory())return i(!1);var d=re.dirname(t);o.fs.exists(d,function(h){h||o.makeDir(d),o.fs.open(t,"w",438,function(F,y){F?o.fs.chmod(t,438,function(){o.fs.open(t,"w",438,function(l,c){o.fs.write(c,e,0,e.length,0,function(){o.fs.close(c,function(){o.fs.chmod(t,n||438,function(){i(!0)})})})})}):y?o.fs.write(y,e,0,e.length,0,function(){o.fs.close(y,function(){o.fs.chmod(t,n||438,function(){i(!0)})})}):o.fs.chmod(t,n||438,function(){i(!0)})})})})})};Q.prototype.findFiles=function(t){let e=this;function r(n,i,o){typeof i=="boolean"&&(o=i,i=void 0);let s=[];return e.fs.readdirSync(n).forEach(function(a){let f=re.join(n,a),d=e.fs.statSync(f);(!i||i.test(f))&&s.push(re.normalize(f)+(d.isDirectory()?e.sep:"")),d.isDirectory()&&o&&(s=s.concat(r(f,i,o)))}),s}return r(t,void 0,!0)};Q.prototype.findFilesAsync=function(t,e){let r=this,n=[];r.fs.readdir(t,function(i,o){if(i)return e(i);let s=o.length;if(!s)return e(null,n);o.forEach(function(a){a=re.join(t,a),r.fs.stat(a,function(f,d){if(f)return e(f);d&&(n.push(re.normalize(a)+(d.isDirectory()?r.sep:"")),d.isDirectory()?r.findFilesAsync(a,function(h,F){if(h)return e(h);n=n.concat(F),--s||e(null,n)}):--s||e(null,n))})})})};Q.prototype.getAttributes=function(){};Q.prototype.setAttributes=function(){};Q.crc32update=function(t,e){return Rs[(t^e)&255]^t>>>8};Q.crc32=function(t){typeof t=="string"&&(t=Buffer.from(t,"utf8"));let e=t.length,r=-1;for(let n=0;n<e;)r=Q.crc32update(r,t[n++]);return~r>>>0};Q.methodToString=function(t){switch(t){case Bs.STORED:return"STORED ("+t+")";case Bs.DEFLATED:return"DEFLATED ("+t+")";default:return"UNSUPPORTED ("+t+")"}};Q.canonical=function(t){if(!t)return"";let e=re.posix.normalize("/"+t.split("\\").join("/"));return re.join(".",e)};Q.zipnamefix=function(t){if(!t)return"";let e=re.posix.normalize("/"+t.split("\\").join("/"));return re.posix.join(".",e)};Q.findLast=function(t,e){if(!Array.isArray(t))throw new TypeError("arr is not array");let r=t.length>>>0;for(let n=r-1;n>=0;n--)if(e(t[n],n,t))return t[n]};Q.sanitize=function(t,e){t=re.resolve(re.normalize(t));for(var r=e.split("/"),n=0,i=r.length;n<i;n++){var o=re.normalize(re.join(t,r.slice(n,i).join(re.sep)));if(o.indexOf(t)===0)return o}return re.normalize(re.join(t,re.basename(e)))};Q.toBuffer=function(e,r){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):typeof e=="string"?r(e):Buffer.alloc(0)};Q.readBigUInt64LE=function(t,e){var r=Buffer.from(t.slice(e,e+8));return r.swap64(),parseInt(`0x${r.toString("hex")}`)};Q.fromDOS2Date=function(t){return new Date((t>>25&127)+1980,Math.max((t>>21&15)-1,0),Math.max(t>>16&31,1),t>>11&31,t>>5&63,(t&31)<<1)};Q.fromDate2DOS=function(t){let e=0,r=0;return t.getFullYear()>1979&&(e=(t.getFullYear()-1980&127)<<9|t.getMonth()+1<<5|t.getDate(),r=t.getHours()<<11|t.getMinutes()<<5|t.getSeconds()>>1),e<<16|r};Q.isWin=nc;Q.crcTable=Rs});var Ps=S((Xd,Ms)=>{"use strict";D();var ic=require("path");Ms.exports=function(t,{fs:e}){var r=t||"",n=o(),i=null;function o(){return{directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0}}return r&&e.existsSync(r)?(i=e.statSync(r),n.directory=i.isDirectory(),n.mtime=i.mtime,n.atime=i.atime,n.executable=(73&i.mode)!==0,n.readonly=(128&i.mode)===0,n.hidden=ic.basename(r)[0]==="."):console.warn("Invalid path: "+r),{get directory(){return n.directory},get readOnly(){return n.readonly},get hidden(){return n.hidden},get mtime(){return n.mtime},get atime(){return n.atime},get executable(){return n.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:r,isDirectory:n.directory,isReadOnly:n.readonly,isHidden:n.hidden,isExecutable:n.executable,mTime:n.mtime,aTime:n.atime}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var ks=S((Qd,Us)=>{"use strict";D();Us.exports={efs:!0,encode:t=>Buffer.from(t,"utf8"),decode:t=>t.toString("utf8")}});var ht=S((t0,ct)=>{"use strict";D();ct.exports=Ns();ct.exports.Constants=Gn();ct.exports.Errors=gr();ct.exports.FileAttr=Ps();ct.exports.decoder=ks()});var js=S((n0,Hs)=>{"use strict";D();var Me=ht(),b=Me.Constants;Hs.exports=function(){var t=20,e=10,r=0,n=0,i=0,o=0,s=0,a=0,f=0,d=0,h=0,F=0,y=0,l=0,c=0;t|=Me.isWin?2560:768,r|=b.FLG_EFS;let g={extraLen:0},p=u=>Math.max(0,u)>>>0,m=u=>Math.max(0,u)&65535,C=u=>Math.max(0,u)&255;return i=Me.fromDate2DOS(new Date),{get made(){return t},set made(u){t=u},get version(){return e},set version(u){e=u},get flags(){return r},set flags(u){r=u},get flags_efs(){return(r&b.FLG_EFS)>0},set flags_efs(u){u?r|=b.FLG_EFS:r&=~b.FLG_EFS},get flags_desc(){return(r&b.FLG_DESC)>0},set flags_desc(u){u?r|=b.FLG_DESC:r&=~b.FLG_DESC},get method(){return n},set method(u){switch(u){case b.STORED:this.version=10;case b.DEFLATED:default:this.version=20}n=u},get time(){return Me.fromDOS2Date(this.timeval)},set time(u){this.timeval=Me.fromDate2DOS(u)},get timeval(){return i},set timeval(u){i=p(u)},get timeHighByte(){return C(i>>>8)},get crc(){return o},set crc(u){o=p(u)},get compressedSize(){return s},set compressedSize(u){s=p(u)},get size(){return a},set size(u){a=p(u)},get fileNameLength(){return f},set fileNameLength(u){f=u},get extraLength(){return d},set extraLength(u){d=u},get extraLocalLength(){return g.extraLen},set extraLocalLength(u){g.extraLen=u},get commentLength(){return h},set commentLength(u){h=u},get diskNumStart(){return F},set diskNumStart(u){F=p(u)},get inAttr(){return y},set inAttr(u){y=p(u)},get attr(){return l},set attr(u){l=p(u)},get fileAttr(){return(l||0)>>16&4095},get offset(){return c},set offset(u){c=p(u)},get encrypted(){return(r&b.FLG_ENC)===b.FLG_ENC},get centralHeaderSize(){return b.CENHDR+f+d+h},get realDataOffset(){return c+b.LOCHDR+g.fnameLen+g.extraLen},get localHeader(){return g},loadLocalHeaderFromBinary:function(u){var E=u.slice(c,c+b.LOCHDR);if(E.readUInt32LE(0)!==b.LOCSIG)throw Me.Errors.INVALID_LOC();g.version=E.readUInt16LE(b.LOCVER),g.flags=E.readUInt16LE(b.LOCFLG),g.method=E.readUInt16LE(b.LOCHOW),g.time=E.readUInt32LE(b.LOCTIM),g.crc=E.readUInt32LE(b.LOCCRC),g.compressedSize=E.readUInt32LE(b.LOCSIZ),g.size=E.readUInt32LE(b.LOCLEN),g.fnameLen=E.readUInt16LE(b.LOCNAM),g.extraLen=E.readUInt16LE(b.LOCEXT);let _=c+b.LOCHDR+g.fnameLen,A=_+g.extraLen;return u.slice(_,A)},loadFromBinary:function(u){if(u.length!==b.CENHDR||u.readUInt32LE(0)!==b.CENSIG)throw Me.Errors.INVALID_CEN();t=u.readUInt16LE(b.CENVEM),e=u.readUInt16LE(b.CENVER),r=u.readUInt16LE(b.CENFLG),n=u.readUInt16LE(b.CENHOW),i=u.readUInt32LE(b.CENTIM),o=u.readUInt32LE(b.CENCRC),s=u.readUInt32LE(b.CENSIZ),a=u.readUInt32LE(b.CENLEN),f=u.readUInt16LE(b.CENNAM),d=u.readUInt16LE(b.CENEXT),h=u.readUInt16LE(b.CENCOM),F=u.readUInt16LE(b.CENDSK),y=u.readUInt16LE(b.CENATT),l=u.readUInt32LE(b.CENATX),c=u.readUInt32LE(b.CENOFF)},localHeaderToBinary:function(){var u=Buffer.alloc(b.LOCHDR);return u.writeUInt32LE(b.LOCSIG,0),u.writeUInt16LE(e,b.LOCVER),u.writeUInt16LE(r,b.LOCFLG),u.writeUInt16LE(n,b.LOCHOW),u.writeUInt32LE(i,b.LOCTIM),u.writeUInt32LE(o,b.LOCCRC),u.writeUInt32LE(s,b.LOCSIZ),u.writeUInt32LE(a,b.LOCLEN),u.writeUInt16LE(f,b.LOCNAM),u.writeUInt16LE(g.extraLen,b.LOCEXT),u},centralHeaderToBinary:function(){var u=Buffer.alloc(b.CENHDR+f+d+h);return u.writeUInt32LE(b.CENSIG,0),u.writeUInt16LE(t,b.CENVEM),u.writeUInt16LE(e,b.CENVER),u.writeUInt16LE(r,b.CENFLG),u.writeUInt16LE(n,b.CENHOW),u.writeUInt32LE(i,b.CENTIM),u.writeUInt32LE(o,b.CENCRC),u.writeUInt32LE(s,b.CENSIZ),u.writeUInt32LE(a,b.CENLEN),u.writeUInt16LE(f,b.CENNAM),u.writeUInt16LE(d,b.CENEXT),u.writeUInt16LE(h,b.CENCOM),u.writeUInt16LE(F,b.CENDSK),u.writeUInt16LE(y,b.CENATT),u.writeUInt32LE(l,b.CENATX),u.writeUInt32LE(c,b.CENOFF),u},toJSON:function(){let u=function(E){return E+" bytes"};return{made:t,version:e,flags:r,method:Me.methodToString(n),time:this.time,crc:"0x"+o.toString(16).toUpperCase(),compressedSize:u(s),size:u(a),fileNameLength:u(f),extraLength:u(d),commentLength:u(h),diskNumStart:F,inAttr:y,attr:l,offset:c,centralHeaderSize:u(b.CENHDR+f+d+h)}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var $s=S((o0,Vs)=>{"use strict";D();var Dt=ht(),Y=Dt.Constants;Vs.exports=function(){var t=0,e=0,r=0,n=0,i=0;return{get diskEntries(){return t},set diskEntries(o){t=e=o},get totalEntries(){return e},set totalEntries(o){e=t=o},get size(){return r},set size(o){r=o},get offset(){return n},set offset(o){n=o},get commentLength(){return i},set commentLength(o){i=o},get mainHeaderSize(){return Y.ENDHDR+i},loadFromBinary:function(o){if((o.length!==Y.ENDHDR||o.readUInt32LE(0)!==Y.ENDSIG)&&(o.length<Y.ZIP64HDR||o.readUInt32LE(0)!==Y.ZIP64SIG))throw Dt.Errors.INVALID_END();o.readUInt32LE(0)===Y.ENDSIG?(t=o.readUInt16LE(Y.ENDSUB),e=o.readUInt16LE(Y.ENDTOT),r=o.readUInt32LE(Y.ENDSIZ),n=o.readUInt32LE(Y.ENDOFF),i=o.readUInt16LE(Y.ENDCOM)):(t=Dt.readBigUInt64LE(o,Y.ZIP64SUB),e=Dt.readBigUInt64LE(o,Y.ZIP64TOT),r=Dt.readBigUInt64LE(o,Y.ZIP64SIZE),n=Dt.readBigUInt64LE(o,Y.ZIP64OFF),i=0)},toBinary:function(){var o=Buffer.alloc(Y.ENDHDR+i);return o.writeUInt32LE(Y.ENDSIG,0),o.writeUInt32LE(0,4),o.writeUInt16LE(t,Y.ENDSUB),o.writeUInt16LE(e,Y.ENDTOT),o.writeUInt32LE(r,Y.ENDSIZ),o.writeUInt32LE(n,Y.ENDOFF),o.writeUInt16LE(i,Y.ENDCOM),o.fill(" ",Y.ENDHDR),o},toJSON:function(){let o=function(s,a){let f=s.toString(16).toUpperCase();for(;f.length<a;)f="0"+f;return"0x"+f};return{diskEntries:t,totalEntries:e,size:r+" bytes",offset:o(n,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var Zn=S(zn=>{"use strict";D();zn.EntryHeader=js();zn.MainHeader=$s()});var Ws=S((l0,qs)=>{"use strict";D();qs.exports=function(t){var e=require("zlib"),r={chunkSize:(parseInt(t.length/1024)+1)*1024};return{deflate:function(){return e.deflateRawSync(t,r)},deflateAsync:function(n){var i=e.createDeflateRaw(r),o=[],s=0;i.on("data",function(a){o.push(a),s+=a.length}),i.on("end",function(){var a=Buffer.alloc(s),f=0;a.fill(0);for(var d=0;d<o.length;d++){var h=o[d];h.copy(a,f),f+=h.length}n&&n(a)}),i.end(t)}}}});var zs=S((c0,Gs)=>{"use strict";D();var oc=+(process.versions?process.versions.node:"").split(".")[0]||0;Gs.exports=function(t,e){var r=require("zlib");let n=oc>=15&&e>0?{maxOutputLength:e}:{};return{inflate:function(){return r.inflateRawSync(t,n)},inflateAsync:function(i){var o=r.createInflateRaw(n),s=[],a=0;o.on("data",function(f){s.push(f),a+=f.length}),o.on("end",function(){var f=Buffer.alloc(a),d=0;f.fill(0);for(var h=0;h<s.length;h++){var F=s[h];F.copy(f,d),d+=F.length}i&&i(f)}),o.end(t)}}}});var Js=S((D0,Xs)=>{"use strict";D();var{randomFillSync:Zs}=require("crypto"),sc=gr(),uc=new Uint32Array(256).map((t,e)=>{for(let r=0;r<8;r++)(e&1)!==0?e=e>>>1^3988292384:e>>>=1;return e>>>0}),Ks=(t,e)=>Math.imul(t,e)>>>0,Ys=(t,e)=>uc[(t^e)&255]^t>>>8,Mt=()=>typeof Zs=="function"?Zs(Buffer.alloc(12)):Mt.node();Mt.node=()=>{let t=Buffer.alloc(12),e=t.length;for(let r=0;r<e;r++)t[r]=Math.random()*256&255;return t};var Er={genSalt:Mt};function Fr(t){let e=Buffer.isBuffer(t)?t:Buffer.from(t);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let r=0;r<e.length;r++)this.updateKeys(e[r])}Fr.prototype.updateKeys=function(t){let e=this.keys;return e[0]=Ys(e[0],t),e[1]+=e[0]&255,e[1]=Ks(e[1],134775813)+1,e[2]=Ys(e[2],e[1]>>>24),t};Fr.prototype.next=function(){let t=(this.keys[2]|2)>>>0;return Ks(t,t^1)>>8&255};function ac(t){let e=new Fr(t);return function(r){let n=Buffer.alloc(r.length),i=0;for(let o of r)n[i++]=e.updateKeys(o^e.next());return n}}function lc(t){let e=new Fr(t);return function(r,n,i=0){n||(n=Buffer.alloc(r.length));for(let o of r){let s=e.next();n[i++]=o^s,e.updateKeys(o)}return n}}function fc(t,e,r){if(!t||!Buffer.isBuffer(t)||t.length<12)return Buffer.alloc(0);let n=ac(r),i=n(t.slice(0,12)),o=(e.flags&8)===8?e.timeHighByte:e.crc>>>24;if(i[11]!==o)throw sc.WRONG_PASSWORD();return n(t.slice(12))}function cc(t){Buffer.isBuffer(t)&&t.length>=12?Er.genSalt=function(){return t.slice(0,12)}:t==="node"?Er.genSalt=Mt.node:Er.genSalt=Mt}function hc(t,e,r,n=!1){t==null&&(t=Buffer.alloc(0)),Buffer.isBuffer(t)||(t=Buffer.from(t.toString()));let i=lc(r),o=Er.genSalt();o[11]=e.crc>>>24&255,n&&(o[10]=e.crc>>>16&255);let s=Buffer.alloc(t.length+12);return i(o,s),i(t,s,12)}Xs.exports={decrypt:fc,encrypt:hc,_salter:cc}});var Qs=S(_r=>{"use strict";D();_r.Deflater=Ws();_r.Inflater=zs();_r.ZipCrypto=Js()});var Kn=S((g0,eu)=>{"use strict";D();var M=ht(),Dc=Zn(),ee=M.Constants,Yn=Qs();eu.exports=function(t,e){var r=new Dc.EntryHeader,n=Buffer.alloc(0),i=Buffer.alloc(0),o=!1,s=null,a=Buffer.alloc(0),f=Buffer.alloc(0),d=!0;let h=t,F=typeof h.decoder=="object"?h.decoder:M.decoder;d=F.hasOwnProperty("efs")?F.efs:!1;function y(){return!e||!(e instanceof Uint8Array)?Buffer.alloc(0):(f=r.loadLocalHeaderFromBinary(e),e.slice(r.realDataOffset,r.realDataOffset+r.compressedSize))}function l(u){if(r.flags_desc){let E={},_=r.realDataOffset+r.compressedSize;if(e.readUInt32LE(_)==ee.LOCSIG||e.readUInt32LE(_)==ee.CENSIG)throw M.Errors.DESCRIPTOR_NOT_EXIST();if(e.readUInt32LE(_)==ee.EXTSIG)E.crc=e.readUInt32LE(_+ee.EXTCRC),E.compressedSize=e.readUInt32LE(_+ee.EXTSIZ),E.size=e.readUInt32LE(_+ee.EXTLEN);else if(e.readUInt16LE(_+12)===19280)E.crc=e.readUInt32LE(_+ee.EXTCRC-4),E.compressedSize=e.readUInt32LE(_+ee.EXTSIZ-4),E.size=e.readUInt32LE(_+ee.EXTLEN-4);else throw M.Errors.DESCRIPTOR_UNKNOWN();if(E.compressedSize!==r.compressedSize||E.size!==r.size||E.crc!==r.crc)throw M.Errors.DESCRIPTOR_FAULTY();if(M.crc32(u)!==E.crc)return!1}else if(M.crc32(u)!==r.localHeader.crc)return!1;return!0}function c(u,E,_){if(typeof E>"u"&&typeof u=="string"&&(_=u,u=void 0),o)return u&&E&&E(Buffer.alloc(0),M.Errors.DIRECTORY_CONTENT_ERROR()),Buffer.alloc(0);var A=y();if(A.length===0)return u&&E&&E(A),A;if(r.encrypted){if(typeof _!="string"&&!Buffer.isBuffer(_))throw M.Errors.INVALID_PASS_PARAM();A=Yn.ZipCrypto.decrypt(A,r,_)}var w=Buffer.alloc(r.size);switch(r.method){case M.Constants.STORED:if(A.copy(w),l(w))return u&&E&&E(w),w;throw u&&E&&E(w,M.Errors.BAD_CRC()),M.Errors.BAD_CRC();case M.Constants.DEFLATED:var R=new Yn.Inflater(A,r.size);if(u)R.inflateAsync(function(v){v.copy(v,0),E&&(l(v)?E(v):E(v,M.Errors.BAD_CRC()))});else{if(R.inflate(w).copy(w,0),!l(w))throw M.Errors.BAD_CRC(`"${F.decode(n)}"`);return w}break;default:throw u&&E&&E(Buffer.alloc(0),M.Errors.UNKNOWN_METHOD()),M.Errors.UNKNOWN_METHOD()}}function g(u,E){if((!s||!s.length)&&Buffer.isBuffer(e))return u&&E&&E(y()),y();if(s.length&&!o){var _;switch(r.method){case M.Constants.STORED:return r.compressedSize=r.size,_=Buffer.alloc(s.length),s.copy(_),u&&E&&E(_),_;default:case M.Constants.DEFLATED:var A=new Yn.Deflater(s);if(u)A.deflateAsync(function(R){_=Buffer.alloc(R.length),r.compressedSize=R.length,R.copy(_),E&&E(_)});else{var w=A.deflate();return r.compressedSize=w.length,w}A=null;break}}else if(u&&E)E(Buffer.alloc(0));else return Buffer.alloc(0)}function p(u,E){return(u.readUInt32LE(E+4)<<4)+u.readUInt32LE(E)}function m(u){try{for(var E=0,_,A,w;E+4<u.length;)_=u.readUInt16LE(E),E+=2,A=u.readUInt16LE(E),E+=2,w=u.slice(E,E+A),E+=A,ee.ID_ZIP64===_&&C(w)}catch{throw M.Errors.EXTRA_FIELD_PARSE_ERROR()}}function C(u){var E,_,A,w;u.length>=ee.EF_ZIP64_SCOMP&&(E=p(u,ee.EF_ZIP64_SUNCOMP),r.size===ee.EF_ZIP64_OR_32&&(r.size=E)),u.length>=ee.EF_ZIP64_RHO&&(_=p(u,ee.EF_ZIP64_SCOMP),r.compressedSize===ee.EF_ZIP64_OR_32&&(r.compressedSize=_)),u.length>=ee.EF_ZIP64_DSN&&(A=p(u,ee.EF_ZIP64_RHO),r.offset===ee.EF_ZIP64_OR_32&&(r.offset=A)),u.length>=ee.EF_ZIP64_DSN+4&&(w=u.readUInt32LE(ee.EF_ZIP64_DSN),r.diskNumStart===ee.EF_ZIP64_OR_16&&(r.diskNumStart=w))}return{get entryName(){return F.decode(n)},get rawEntryName(){return n},set entryName(u){n=M.toBuffer(u,F.encode);var E=n[n.length-1];o=E===47||E===92,r.fileNameLength=n.length},get efs(){return typeof d=="function"?d(this.entryName):d},get extra(){return a},set extra(u){a=u,r.extraLength=u.length,m(u)},get comment(){return F.decode(i)},set comment(u){if(i=M.toBuffer(u,F.encode),r.commentLength=i.length,i.length>65535)throw M.Errors.COMMENT_TOO_LONG()},get name(){var u=F.decode(n);return o?u.substr(u.length-1).split("/").pop():u.split("/").pop()},get isDirectory(){return o},getCompressedData:function(){return g(!1,null)},getCompressedDataAsync:function(u){g(!0,u)},setData:function(u){s=M.toBuffer(u,M.decoder.encode),!o&&s.length?(r.size=s.length,r.method=M.Constants.DEFLATED,r.crc=M.crc32(u),r.changed=!0):r.method=M.Constants.STORED},getData:function(u){return r.changed?s:c(!1,null,u)},getDataAsync:function(u,E){r.changed?u(s):c(!0,u,E)},set attr(u){r.attr=u},get attr(){return r.attr},set header(u){r.loadFromBinary(u)},get header(){return r},packCentralHeader:function(){r.flags_efs=this.efs,r.extraLength=a.length;var u=r.centralHeaderToBinary(),E=M.Constants.CENHDR;return n.copy(u,E),E+=n.length,a.copy(u,E),E+=r.extraLength,i.copy(u,E),u},packLocalHeader:function(){let u=0;r.flags_efs=this.efs,r.extraLocalLength=f.length;let E=r.localHeaderToBinary(),_=Buffer.alloc(E.length+n.length+r.extraLocalLength);return E.copy(_,u),u+=E.length,n.copy(_,u),u+=n.length,f.copy(_,u),u+=f.length,_},toJSON:function(){let u=function(E){return"<"+(E&&E.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:r.toJSON(),compressedData:u(e),data:u(s)}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var nu=S((F0,ru)=>{"use strict";D();var tu=Kn(),dc=Zn(),oe=ht();ru.exports=function(t,e){var r=[],n={},i=Buffer.alloc(0),o=new dc.MainHeader,s=!1,a=null;let f=new Set,d=e,{noSort:h,decoder:F}=d;t?c(d.readEntries):s=!0;function y(){let p=new Set;for(let m of Object.keys(n)){let C=m.split("/");if(C.pop(),!!C.length)for(let u=0;u<C.length;u++){let E=C.slice(0,u+1).join("/")+"/";p.add(E)}}for(let m of p)if(!(m in n)){let C=new tu(d);C.entryName=m,C.attr=16,C.temporary=!0,r.push(C),n[C.entryName]=C,f.add(C)}}function l(){if(s=!0,n={},o.diskEntries>(t.length-o.offset)/oe.Constants.CENHDR)throw oe.Errors.DISK_ENTRY_TOO_LARGE();r=new Array(o.diskEntries);for(var p=o.offset,m=0;m<r.length;m++){var C=p,u=new tu(d,t);u.header=t.slice(C,C+=oe.Constants.CENHDR),u.entryName=t.slice(C,C+=u.header.fileNameLength),u.header.extraLength&&(u.extra=t.slice(C,C+=u.header.extraLength)),u.header.commentLength&&(u.comment=t.slice(C,C+u.header.commentLength)),p+=u.header.centralHeaderSize,r[m]=u,n[u.entryName]=u}f.clear(),y()}function c(p){var m=t.length-oe.Constants.ENDHDR,C=Math.max(0,m-65535),u=C,E=t.length,_=-1,A=0;for(typeof d.trailingSpace=="boolean"&&d.trailingSpace&&(C=0),m;m>=u;m--)if(t[m]===80){if(t.readUInt32LE(m)===oe.Constants.ENDSIG){_=m,A=m,E=m+oe.Constants.ENDHDR,u=m-oe.Constants.END64HDR;continue}if(t.readUInt32LE(m)===oe.Constants.END64SIG){u=C;continue}if(t.readUInt32LE(m)===oe.Constants.ZIP64SIG){_=m,E=m+oe.readBigUInt64LE(t,m+oe.Constants.ZIP64SIZE)+oe.Constants.ZIP64LEAD;break}}if(_==-1)throw oe.Errors.INVALID_FORMAT();o.loadFromBinary(t.slice(_,E)),o.commentLength&&(i=t.slice(A+oe.Constants.ENDHDR)),p&&l()}function g(){r.length>1&&!h&&r.sort((p,m)=>p.entryName.toLowerCase().localeCompare(m.entryName.toLowerCase()))}return{get entries(){return s||l(),r.filter(p=>!f.has(p))},get comment(){return F.decode(i)},set comment(p){i=oe.toBuffer(p,F.encode),o.commentLength=i.length},getEntryCount:function(){return s?r.length:o.diskEntries},forEach:function(p){this.entries.forEach(p)},getEntry:function(p){return s||l(),n[p]||null},setEntry:function(p){s||l(),r.push(p),n[p.entryName]=p,o.totalEntries=r.length},deleteFile:function(p,m=!0){s||l();let C=n[p];this.getEntryChildren(C,m).map(E=>E.entryName).forEach(this.deleteEntry)},deleteEntry:function(p){s||l();let m=n[p],C=r.indexOf(m);C>=0&&(r.splice(C,1),delete n[p],o.totalEntries=r.length)},getEntryChildren:function(p,m=!0){if(s||l(),typeof p=="object")if(p.isDirectory&&m){let C=[],u=p.entryName;for(let E of r)E.entryName.startsWith(u)&&C.push(E);return C}else return[p];return[]},getChildCount:function(p){if(p&&p.isDirectory){let m=this.getEntryChildren(p);return m.includes(p)?m.length-1:m.length}return 0},compressToBuffer:function(){s||l(),g();let p=[],m=[],C=0,u=0;o.size=0,o.offset=0;let E=0;for(let w of this.entries){let R=w.getCompressedData();w.header.offset=u;let v=w.packLocalHeader(),T=v.length+R.length;u+=T,p.push(v),p.push(R);let O=w.packCentralHeader();m.push(O),o.size+=O.length,C+=T+O.length,E++}C+=o.mainHeaderSize,o.offset=u,o.totalEntries=E,u=0;let _=Buffer.alloc(C);for(let w of p)w.copy(_,u),u+=w.length;for(let w of m)w.copy(_,u),u+=w.length;let A=o.toBinary();return i&&i.copy(A,oe.Constants.ENDHDR),A.copy(_,u),t=_,s=!1,_},toAsyncBuffer:function(p,m,C,u){try{s||l(),g();let E=[],_=[],A=0,w=0,R=0;o.size=0,o.offset=0;let v=function(T){if(T.length>0){let O=T.shift(),P=O.entryName+O.extra.toString();C&&C(P),O.getCompressedDataAsync(function(N){u&&u(P),O.header.offset=w;let Z=O.packLocalHeader(),U=Z.length+N.length;w+=U,E.push(Z),E.push(N);let k=O.packCentralHeader();_.push(k),o.size+=k.length,A+=U+k.length,R++,v(T)})}else{A+=o.mainHeaderSize,o.offset=w,o.totalEntries=R,w=0;let O=Buffer.alloc(A);E.forEach(function(N){N.copy(O,w),w+=N.length}),_.forEach(function(N){N.copy(O,w),w+=N.length});let P=o.toBinary();i&&i.copy(P,oe.Constants.ENDHDR),P.copy(O,w),t=O,s=!1,p(O)}};v(Array.from(this.entries))}catch(E){m(E)}}}}});var su=S((C0,ou)=>{"use strict";D();var K=ht(),te=require("path"),pc=Kn(),mc=nu(),Ke=(...t)=>K.findLast(t,e=>typeof e=="boolean"),iu=(...t)=>K.findLast(t,e=>typeof e=="string"),gc=(...t)=>K.findLast(t,e=>typeof e=="function"),Ec={noSort:!1,readEntries:!1,method:K.Constants.NONE,fs:null};ou.exports=function(t,e){let r=null,n=Object.assign(Object.create(null),Ec);t&&typeof t=="object"&&(t instanceof Uint8Array||(Object.assign(n,t),t=n.input?n.input:void 0,n.input&&delete n.input),Buffer.isBuffer(t)&&(r=t,n.method=K.Constants.BUFFER,t=void 0)),Object.assign(n,e);let i=new K(n);if((typeof n.decoder!="object"||typeof n.decoder.encode!="function"||typeof n.decoder.decode!="function")&&(n.decoder=K.decoder),t&&typeof t=="string")if(i.fs.existsSync(t))n.method=K.Constants.FILE,n.filename=t,r=i.fs.readFileSync(t);else throw K.Errors.INVALID_FILENAME();let o=new mc(r,n),{canonical:s,sanitize:a,zipnamefix:f}=K;function d(l){if(l&&o){var c;if(typeof l=="string"&&(c=o.getEntry(te.posix.normalize(l))),typeof l=="object"&&typeof l.entryName<"u"&&typeof l.header<"u"&&(c=o.getEntry(l.entryName)),c)return c}return null}function h(l){let{join:c,normalize:g,sep:p}=te.posix;return c(".",g(p+l.split("\\").join(p)+p))}function F(l){return l instanceof RegExp?(function(c){return function(g){return c.test(g)}})(l):typeof l!="function"?()=>!0:l}let y=(l,c)=>{let g=c.slice(-1);return g=g===i.sep?i.sep:"",te.relative(l,c)+g};return{readFile:function(l,c){var g=d(l);return g&&g.getData(c)||null},childCount:function(l){let c=d(l);if(c)return o.getChildCount(c)},readFileAsync:function(l,c){var g=d(l);g?g.getDataAsync(c):c(null,"getEntry failed for:"+l)},readAsText:function(l,c){var g=d(l);if(g){var p=g.getData();if(p&&p.length)return p.toString(c||"utf8")}return""},readAsTextAsync:function(l,c,g){var p=d(l);p?p.getDataAsync(function(m,C){if(C){c(m,C);return}m&&m.length?c(m.toString(g||"utf8")):c("")}):c("")},deleteFile:function(l,c=!0){var g=d(l);g&&o.deleteFile(g.entryName,c)},deleteEntry:function(l){var c=d(l);c&&o.deleteEntry(c.entryName)},addZipComment:function(l){o.comment=l},getZipComment:function(){return o.comment||""},addZipEntryComment:function(l,c){var g=d(l);g&&(g.comment=c)},getZipEntryComment:function(l){var c=d(l);return c&&c.comment||""},updateFile:function(l,c){var g=d(l);g&&g.setData(c)},addLocalFile:function(l,c,g,p){if(i.fs.existsSync(l)){c=c?h(c):"";let m=te.win32.basename(te.win32.normalize(l));c+=g||m;let C=i.fs.statSync(l),u=C.isFile()?i.fs.readFileSync(l):Buffer.alloc(0);C.isDirectory()&&(c+=i.sep),this.addFile(c,u,p,C)}else throw K.Errors.FILE_NOT_FOUND(l)},addLocalFileAsync:function(l,c){l=typeof l=="object"?l:{localPath:l};let g=te.resolve(l.localPath),{comment:p}=l,{zipPath:m,zipName:C}=l,u=this;i.fs.stat(g,function(E,_){if(E)return c(E,!1);m=m?h(m):"";let A=te.win32.basename(te.win32.normalize(g));if(m+=C||A,_.isFile())i.fs.readFile(g,function(w,R){return w?c(w,!1):(u.addFile(m,R,p,_),setImmediate(c,void 0,!0))});else if(_.isDirectory())return m+=i.sep,u.addFile(m,Buffer.alloc(0),p,_),setImmediate(c,void 0,!0)})},addLocalFolder:function(l,c,g){if(g=F(g),c=c?h(c):"",l=te.normalize(l),i.fs.existsSync(l)){let p=i.findFiles(l),m=this;if(p.length)for(let C of p){let u=te.join(c,y(l,C));g(u)&&m.addLocalFile(C,te.dirname(u))}}else throw K.Errors.FILE_NOT_FOUND(l)},addLocalFolderAsync:function(l,c,g,p){p=F(p),g=g?h(g):"",l=te.normalize(l);var m=this;i.fs.open(l,"r",function(C){if(C&&C.code==="ENOENT")c(void 0,K.Errors.FILE_NOT_FOUND(l));else if(C)c(void 0,C);else{var u=i.findFiles(l),E=-1,_=function(){if(E+=1,E<u.length){var A=u[E],w=y(l,A).split("\\").join("/");w=w.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),p(w)?i.fs.stat(A,function(R,v){R&&c(void 0,R),v.isFile()?i.fs.readFile(A,function(T,O){T?c(void 0,T):(m.addFile(g+w,O,"",v),_())}):(m.addFile(g+w+"/",Buffer.alloc(0),"",v),_())}):process.nextTick(()=>{_()})}else c(!0,void 0)};_()}})},addLocalFolderAsync2:function(l,c){let g=this;l=typeof l=="object"?l:{localPath:l},localPath=te.resolve(h(l.localPath));let{zipPath:p,filter:m,namefix:C}=l;m instanceof RegExp?m=(function(_){return function(A){return _.test(A)}})(m):typeof m!="function"&&(m=function(){return!0}),p=p?h(p):"",C=="latin1"&&(C=_=>_.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,"")),typeof C!="function"&&(C=_=>_);let u=_=>te.join(p,C(y(localPath,_))),E=_=>te.win32.basename(te.win32.normalize(C(_)));i.fs.open(localPath,"r",function(_){_&&_.code==="ENOENT"?c(void 0,K.Errors.FILE_NOT_FOUND(localPath)):_?c(void 0,_):i.findFilesAsync(localPath,function(A,w){if(A)return c(A);w=w.filter(R=>m(u(R))),w.length||c(void 0,!1),setImmediate(w.reverse().reduce(function(R,v){return function(T,O){if(T||O===!1)return setImmediate(R,T,!1);g.addLocalFileAsync({localPath:v,zipPath:te.dirname(u(v)),zipName:E(v)},R)}},c))})})},addLocalFolderPromise:function(l,c){return new Promise((g,p)=>{this.addLocalFolderAsync2(Object.assign({localPath:l},c),(m,C)=>{m&&p(m),C&&g(this)})})},addFile:function(l,c,g,p){l=f(l);let m=d(l),C=m!=null;C||(m=new pc(n),m.entryName=l),m.comment=g||"";let u=typeof p=="object"&&p instanceof i.fs.Stats;u&&(m.header.time=p.mtime);var E=m.isDirectory?16:0;let _=m.isDirectory?16384:32768;return u?_|=4095&p.mode:typeof p=="number"?_|=4095&p:_|=m.isDirectory?493:420,E=(E|_<<16)>>>0,m.attr=E,m.setData(c),C||o.setEntry(m),m},getEntries:function(l){return o.password=l,o?o.entries:[]},getEntry:function(l){return d(l)},getEntryCount:function(){return o.getEntryCount()},forEach:function(l){return o.forEach(l)},extractEntryTo:function(l,c,g,p,m,C){p=Ke(!1,p),m=Ke(!1,m),g=Ke(!0,g),C=iu(m,C);var u=d(l);if(!u)throw K.Errors.NO_ENTRY();var E=s(u.entryName),_=a(c,C&&!u.isDirectory?C:g?E:te.basename(E));if(u.isDirectory){var A=o.getEntryChildren(u);return A.forEach(function(v){if(v.isDirectory)return;var T=v.getData();if(!T)throw K.Errors.CANT_EXTRACT_FILE();var O=s(v.entryName),P=a(c,g?O:te.basename(O));let N=m?v.header.fileAttr:void 0;i.writeFileTo(P,T,p,N)}),!0}var w=u.getData(o.password);if(!w)throw K.Errors.CANT_EXTRACT_FILE();if(i.fs.existsSync(_)&&!p)throw K.Errors.CANT_OVERRIDE();let R=m?l.header.fileAttr:void 0;return i.writeFileTo(_,w,p,R),!0},test:function(l){if(!o)return!1;for(var c in o.entries)try{if(c.isDirectory)continue;var g=o.entries[c].getData(l);if(!g)return!1}catch{return!1}return!0},extractAllTo:function(l,c,g,p){if(g=Ke(!1,g),p=iu(g,p),c=Ke(!1,c),!o)throw K.Errors.NO_ZIP();o.entries.forEach(function(m){var C=a(l,s(m.entryName));if(m.isDirectory){i.makeDir(C);return}var u=m.getData(p);if(!u)throw K.Errors.CANT_EXTRACT_FILE();let E=g?m.header.fileAttr:void 0;i.writeFileTo(C,u,c,E);try{i.fs.utimesSync(C,m.header.time,m.header.time)}catch{throw K.Errors.CANT_EXTRACT_FILE()}})},extractAllToAsync:function(l,c,g,p){if(p=gc(c,g,p),g=Ke(!1,g),c=Ke(!1,c),!p)return new Promise((_,A)=>{this.extractAllToAsync(l,c,g,function(w){w?A(w):_(this)})});if(!o){p(K.Errors.NO_ZIP());return}l=te.resolve(l);let m=_=>a(l,te.normalize(s(_.entryName))),C=(_,A)=>new Error(_+': "'+A+'"'),u=[],E=[];o.entries.forEach(_=>{_.isDirectory?u.push(_):E.push(_)});for(let _ of u){let A=m(_),w=g?_.header.fileAttr:void 0;try{i.makeDir(A),w&&i.fs.chmodSync(A,w),i.fs.utimesSync(A,_.header.time,_.header.time)}catch{p(C("Unable to create folder",A))}}E.reverse().reduce(function(_,A){return function(w){if(w)_(w);else{let R=te.normalize(s(A.entryName)),v=a(l,R);A.getDataAsync(function(T,O){if(O)_(O);else if(!T)_(K.Errors.CANT_EXTRACT_FILE());else{let P=g?A.header.fileAttr:void 0;i.writeFileToAsync(v,T,c,P,function(N){N||_(C("Unable to write file",v)),i.fs.utimes(v,A.header.time,A.header.time,function(Z){Z?_(C("Unable to set times",v)):_()})})}})}}},p)()},writeZip:function(l,c){if(arguments.length===1&&typeof l=="function"&&(c=l,l=""),!l&&n.filename&&(l=n.filename),!!l){var g=o.compressToBuffer();if(g){var p=i.writeFileTo(l,g,!0);typeof c=="function"&&c(p?null:new Error("failed"),"")}}},writeZipPromise:function(l,c){let{overwrite:g,perm:p}=Object.assign({overwrite:!0},c);return new Promise((m,C)=>{!l&&n.filename&&(l=n.filename),l||C("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then(u=>{let E=_=>_?m(_):C("ADM-ZIP: Wasn't able to write zip file");i.writeFileToAsync(l,u,g,p,E)},C)})},toBufferPromise:function(){return new Promise((l,c)=>{o.toAsyncBuffer(l,c)})},toBuffer:function(l,c,g,p){return typeof l=="function"?(o.toAsyncBuffer(l,c,g,p),null):o.compressToBuffer()}}}});var pu=S((w0,du)=>{"use strict";D();var Pe=require("constants"),_c=process.cwd,Cr=null,Cc=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return Cr||(Cr=_c.call(process)),Cr};try{process.cwd()}catch{}typeof process.chdir=="function"&&(Xn=process.chdir,process.chdir=function(t){Cr=null,Xn.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Xn));var Xn;du.exports=yc;function yc(t){Pe.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||r(t),t.chown=o(t.chown),t.fchown=o(t.fchown),t.lchown=o(t.lchown),t.chmod=n(t.chmod),t.fchmod=n(t.fchmod),t.lchmod=n(t.lchmod),t.chownSync=s(t.chownSync),t.fchownSync=s(t.fchownSync),t.lchownSync=s(t.lchownSync),t.chmodSync=i(t.chmodSync),t.fchmodSync=i(t.fchmodSync),t.lchmodSync=i(t.lchmodSync),t.stat=a(t.stat),t.fstat=a(t.fstat),t.lstat=a(t.lstat),t.statSync=f(t.statSync),t.fstatSync=f(t.fstatSync),t.lstatSync=f(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(h,F,y){y&&process.nextTick(y)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(h,F,y,l){l&&process.nextTick(l)},t.lchownSync=function(){}),Cc==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(h){function F(y,l,c){var g=Date.now(),p=0;h(y,l,function m(C){if(C&&(C.code==="EACCES"||C.code==="EPERM"||C.code==="EBUSY")&&Date.now()-g<6e4){setTimeout(function(){t.stat(l,function(u,E){u&&u.code==="ENOENT"?h(y,l,m):c(C)})},p),p<100&&(p+=10);return}c&&c(C)})}return Object.setPrototypeOf&&Object.setPrototypeOf(F,h),F})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(h){function F(y,l,c,g,p,m){var C;if(m&&typeof m=="function"){var u=0;C=function(E,_,A){if(E&&E.code==="EAGAIN"&&u<10)return u++,h.call(t,y,l,c,g,p,C);m.apply(this,arguments)}}return h.call(t,y,l,c,g,p,C)}return Object.setPrototypeOf&&Object.setPrototypeOf(F,h),F})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(h){return function(F,y,l,c,g){for(var p=0;;)try{return h.call(t,F,y,l,c,g)}catch(m){if(m.code==="EAGAIN"&&p<10){p++;continue}throw m}}})(t.readSync);function e(h){h.lchmod=function(F,y,l){h.open(F,Pe.O_WRONLY|Pe.O_SYMLINK,y,function(c,g){if(c){l&&l(c);return}h.fchmod(g,y,function(p){h.close(g,function(m){l&&l(p||m)})})})},h.lchmodSync=function(F,y){var l=h.openSync(F,Pe.O_WRONLY|Pe.O_SYMLINK,y),c=!0,g;try{g=h.fchmodSync(l,y),c=!1}finally{if(c)try{h.closeSync(l)}catch{}else h.closeSync(l)}return g}}function r(h){Pe.hasOwnProperty("O_SYMLINK")&&h.futimes?(h.lutimes=function(F,y,l,c){h.open(F,Pe.O_SYMLINK,function(g,p){if(g){c&&c(g);return}h.futimes(p,y,l,function(m){h.close(p,function(C){c&&c(m||C)})})})},h.lutimesSync=function(F,y,l){var c=h.openSync(F,Pe.O_SYMLINK),g,p=!0;try{g=h.futimesSync(c,y,l),p=!1}finally{if(p)try{h.closeSync(c)}catch{}else h.closeSync(c)}return g}):h.futimes&&(h.lutimes=function(F,y,l,c){c&&process.nextTick(c)},h.lutimesSync=function(){})}function n(h){return h&&function(F,y,l){return h.call(t,F,y,function(c){d(c)&&(c=null),l&&l.apply(this,arguments)})}}function i(h){return h&&function(F,y){try{return h.call(t,F,y)}catch(l){if(!d(l))throw l}}}function o(h){return h&&function(F,y,l,c){return h.call(t,F,y,l,function(g){d(g)&&(g=null),c&&c.apply(this,arguments)})}}function s(h){return h&&function(F,y,l){try{return h.call(t,F,y,l)}catch(c){if(!d(c))throw c}}}function a(h){return h&&function(F,y,l){typeof y=="function"&&(l=y,y=null);function c(g,p){p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),l&&l.apply(this,arguments)}return y?h.call(t,F,y,c):h.call(t,F,c)}}function f(h){return h&&function(F,y){var l=y?h.call(t,F,y):h.call(t,F);return l&&(l.uid<0&&(l.uid+=4294967296),l.gid<0&&(l.gid+=4294967296)),l}}function d(h){if(!h||h.code==="ENOSYS")return!0;var F=!process.getuid||process.getuid()!==0;return!!(F&&(h.code==="EINVAL"||h.code==="EPERM"))}}});var Eu=S((S0,gu)=>{"use strict";D();var mu=require("stream").Stream;gu.exports=xc;function xc(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);mu.call(this);var o=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var s=Object.keys(i),a=0,f=s.length;a<f;a++){var d=s[a];this[d]=i[d]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")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}t.open(this.path,this.flags,this.mode,function(h,F){if(h){o.emit("error",h),o.readable=!1;return}o.fd=F,o.emit("open",F),o._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);mu.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),s=0,a=o.length;s<a;s++){var f=o[s];this[f]=i[f]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var _u=S((O0,Fu)=>{"use strict";D();Fu.exports=wc;var vc=Object.getPrototypeOf||function(t){return t.__proto__};function wc(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:vc(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}});var ti=S((B0,ei)=>{"use strict";D();var X=require("fs"),bc=pu(),Sc=Eu(),Ac=_u(),yr=require("util"),se,vr;typeof Symbol=="function"&&typeof Symbol.for=="function"?(se=Symbol.for("graceful-fs.queue"),vr=Symbol.for("graceful-fs.previous")):(se="___graceful-fs.queue",vr="___graceful-fs.previous");function Oc(){}function xu(t,e){Object.defineProperty(t,se,{get:function(){return e}})}var Je=Oc;yr.debuglog?Je=yr.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Je=function(){var t=yr.format.apply(yr,arguments);t="GFS4: "+t.split(/\n/).join(`
|
|
23
|
+
GFS4: `),console.error(t)});X[se]||(Cu=global[se]||[],xu(X,Cu),X.close=(function(t){function e(r,n){return t.call(X,r,function(i){i||yu(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(e,vr,{value:t}),e})(X.close),X.closeSync=(function(t){function e(r){t.apply(X,arguments),yu()}return Object.defineProperty(e,vr,{value:t}),e})(X.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Je(X[se]),require("assert").equal(X[se].length,0)}));var Cu;global[se]||xu(global,X[se]);ei.exports=Jn(Ac(X));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!X.__patched&&(ei.exports=Jn(X),X.__patched=!0);function Jn(t){bc(t),t.gracefulify=Jn,t.createReadStream=_,t.createWriteStream=A;var e=t.readFile;t.readFile=r;function r(v,T,O){return typeof T=="function"&&(O=T,T=null),P(v,T,O);function P(N,Z,U,k){return e(N,Z,function(H){H&&(H.code==="EMFILE"||H.code==="ENFILE")?dt([P,[N,Z,U],H,k||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments)})}}var n=t.writeFile;t.writeFile=i;function i(v,T,O,P){return typeof O=="function"&&(P=O,O=null),N(v,T,O,P);function N(Z,U,k,H,ie){return n(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?dt([N,[Z,U,k,H],$,ie||Date.now(),Date.now()]):typeof H=="function"&&H.apply(this,arguments)})}}var o=t.appendFile;o&&(t.appendFile=s);function s(v,T,O,P){return typeof O=="function"&&(P=O,O=null),N(v,T,O,P);function N(Z,U,k,H,ie){return o(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?dt([N,[Z,U,k,H],$,ie||Date.now(),Date.now()]):typeof H=="function"&&H.apply(this,arguments)})}}var a=t.copyFile;a&&(t.copyFile=f);function f(v,T,O,P){return typeof O=="function"&&(P=O,O=0),N(v,T,O,P);function N(Z,U,k,H,ie){return a(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?dt([N,[Z,U,k,H],$,ie||Date.now(),Date.now()]):typeof H=="function"&&H.apply(this,arguments)})}}var d=t.readdir;t.readdir=F;var h=/^v[0-5]\./;function F(v,T,O){typeof T=="function"&&(O=T,T=null);var P=h.test(process.version)?function(U,k,H,ie){return d(U,N(U,k,H,ie))}:function(U,k,H,ie){return d(U,k,N(U,k,H,ie))};return P(v,T,O);function N(Z,U,k,H){return function(ie,$){ie&&(ie.code==="EMFILE"||ie.code==="ENFILE")?dt([P,[Z,U,k],ie,H||Date.now(),Date.now()]):($&&$.sort&&$.sort(),typeof k=="function"&&k.call(this,ie,$))}}}if(process.version.substr(0,4)==="v0.8"){var y=Sc(t);m=y.ReadStream,u=y.WriteStream}var l=t.ReadStream;l&&(m.prototype=Object.create(l.prototype),m.prototype.open=C);var c=t.WriteStream;c&&(u.prototype=Object.create(c.prototype),u.prototype.open=E),Object.defineProperty(t,"ReadStream",{get:function(){return m},set:function(v){m=v},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return u},set:function(v){u=v},enumerable:!0,configurable:!0});var g=m;Object.defineProperty(t,"FileReadStream",{get:function(){return g},set:function(v){g=v},enumerable:!0,configurable:!0});var p=u;Object.defineProperty(t,"FileWriteStream",{get:function(){return p},set:function(v){p=v},enumerable:!0,configurable:!0});function m(v,T){return this instanceof m?(l.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}function C(){var v=this;R(v.path,v.flags,v.mode,function(T,O){T?(v.autoClose&&v.destroy(),v.emit("error",T)):(v.fd=O,v.emit("open",O),v.read())})}function u(v,T){return this instanceof u?(c.apply(this,arguments),this):u.apply(Object.create(u.prototype),arguments)}function E(){var v=this;R(v.path,v.flags,v.mode,function(T,O){T?(v.destroy(),v.emit("error",T)):(v.fd=O,v.emit("open",O))})}function _(v,T){return new t.ReadStream(v,T)}function A(v,T){return new t.WriteStream(v,T)}var w=t.open;t.open=R;function R(v,T,O,P){return typeof O=="function"&&(P=O,O=null),N(v,T,O,P);function N(Z,U,k,H,ie){return w(Z,U,k,function($,rh){$&&($.code==="EMFILE"||$.code==="ENFILE")?dt([N,[Z,U,k,H],$,ie||Date.now(),Date.now()]):typeof H=="function"&&H.apply(this,arguments)})}}return t}function dt(t){Je("ENQUEUE",t[0].name,t[1]),X[se].push(t),Qn()}var xr;function yu(){for(var t=Date.now(),e=0;e<X[se].length;++e)X[se][e].length>2&&(X[se][e][3]=t,X[se][e][4]=t);Qn()}function Qn(){if(clearTimeout(xr),xr=void 0,X[se].length!==0){var t=X[se].shift(),e=t[0],r=t[1],n=t[2],i=t[3],o=t[4];if(i===void 0)Je("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){Je("TIMEOUT",e.name,r);var s=r.pop();typeof s=="function"&&s.call(null,n)}else{var a=Date.now()-o,f=Math.max(o-i,1),d=Math.min(f*1.2,100);a>=d?(Je("RETRY",e.name,r),e.apply(null,r.concat([i]))):X[se].push(t)}xr===void 0&&(xr=setTimeout(Qn,0))}}});var wu=S((R0,vu)=>{"use strict";D();function de(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}vu.exports=de;de.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};de.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};de.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),r=this._timeouts.shift();else return!1;var n=this,i=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r);return this._options.unref&&i.unref(),!0};de.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};de.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};de.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};de.prototype.start=de.prototype.try;de.prototype.errors=function(){return this._errors};de.prototype.attempts=function(){return this._attempts};de.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],o=i.message,s=(t[o]||0)+1;t[o]=s,s>=r&&(e=i,r=s)}return e}});var bu=S(Qe=>{"use strict";D();var Tc=wu();Qe.operation=function(t){var e=Qe.timeouts(t);return new Tc(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Qe.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(o,s){return o-s}),n};Qe.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*e.minTimeout*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};Qe.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var o=r[i],s=t[o];t[o]=function(f){var d=Qe.operation(e),h=Array.prototype.slice.call(arguments,1),F=h.pop();h.push(function(y){d.retry(y)||(y&&(arguments[0]=d.mainError()),F.apply(this,arguments))}),d.attempt(function(){f.apply(t,h)})}.bind(t,s),t[o].options=e}}});var Au=S((P0,Su)=>{"use strict";D();Su.exports=bu()});var Tu=S((k0,ri)=>{"use strict";D();var Ou=Symbol();function Bc(t,e,r){let n=e[Ou];if(n)return e.stat(t,(o,s)=>{if(o)return r(o);r(null,s.mtime,n)});let i=new Date(Math.ceil(Date.now()/1e3)*1e3+5);e.utimes(t,i,i,o=>{if(o)return r(o);e.stat(t,(s,a)=>{if(s)return r(s);let f=a.mtime.getTime()%1e3===0?"s":"ms";Object.defineProperty(e,Ou,{value:f}),r(null,a.mtime,f)})})}function Ic(t){let e=Date.now();return t==="s"&&(e=Math.ceil(e/1e3)*1e3),new Date(e)}ri.exports.probe=Bc;ri.exports.getMtime=Ic});var Nu=S((j0,Ut)=>{"use strict";D();var Rc=require("path"),oi=ti(),Lc=Au(),Nc=en(),Bu=Tu(),Ae={};function Pt(t,e){return e.lockfilePath||`${t}.lock`}function si(t,e,r){if(!e.realpath)return r(null,Rc.resolve(t));e.fs.realpath(t,r)}function ii(t,e,r){let n=Pt(t,e);e.fs.mkdir(n,i=>{if(!i)return Bu.probe(n,e.fs,(o,s,a)=>{if(o)return e.fs.rmdir(n,()=>{}),r(o);r(null,s,a)});if(i.code!=="EEXIST")return r(i);if(e.stale<=0)return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));e.fs.stat(n,(o,s)=>{if(o)return o.code==="ENOENT"?ii(t,{...e,stale:0},r):r(o);if(!Iu(s,e))return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));Ru(t,e,a=>{if(a)return r(a);ii(t,{...e,stale:0},r)})})})}function Iu(t,e){return t.mtime.getTime()<Date.now()-e.stale}function Ru(t,e,r){e.fs.rmdir(Pt(t,e),n=>{if(n&&n.code!=="ENOENT")return r(n);r()})}function wr(t,e){let r=Ae[t];r.updateTimeout||(r.updateDelay=r.updateDelay||e.update,r.updateTimeout=setTimeout(()=>{r.updateTimeout=null,e.fs.stat(r.lockfilePath,(n,i)=>{let o=r.lastUpdate+e.stale<Date.now();if(n)return n.code==="ENOENT"||o?ni(t,r,Object.assign(n,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,wr(t,e));if(!(r.mtime.getTime()===i.mtime.getTime()))return ni(t,r,Object.assign(new Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let a=Bu.getMtime(r.mtimePrecision);e.fs.utimes(r.lockfilePath,a,a,f=>{let d=r.lastUpdate+e.stale<Date.now();if(!r.released){if(f)return f.code==="ENOENT"||d?ni(t,r,Object.assign(f,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,wr(t,e));r.mtime=a,r.lastUpdate=Date.now(),r.updateDelay=null,wr(t,e)}})})},r.updateDelay),r.updateTimeout.unref&&r.updateTimeout.unref())}function ni(t,e,r){e.released=!0,e.updateTimeout&&clearTimeout(e.updateTimeout),Ae[t]===e&&delete Ae[t],e.options.onCompromised(r)}function Mc(t,e,r){e={stale:1e4,update:null,realpath:!0,retries:0,fs:oi,onCompromised:n=>{throw n},...e},e.retries=e.retries||0,e.retries=typeof e.retries=="number"?{retries:e.retries}:e.retries,e.stale=Math.max(e.stale||0,2e3),e.update=e.update==null?e.stale/2:e.update||0,e.update=Math.max(Math.min(e.update,e.stale/2),1e3),si(t,e,(n,i)=>{if(n)return r(n);let o=Lc.operation(e.retries);o.attempt(()=>{ii(i,e,(s,a,f)=>{if(o.retry(s))return;if(s)return r(o.mainError());let d=Ae[i]={lockfilePath:Pt(i,e),mtime:a,mtimePrecision:f,options:e,lastUpdate:Date.now()};wr(i,e),r(null,h=>{if(d.released)return h&&h(Object.assign(new Error("Lock is already released"),{code:"ERELEASED"}));Lu(i,{...e,realpath:!1},h)})})})})}function Lu(t,e,r){e={fs:oi,realpath:!0,...e},si(t,e,(n,i)=>{if(n)return r(n);let o=Ae[i];if(!o)return r(Object.assign(new Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));o.updateTimeout&&clearTimeout(o.updateTimeout),o.released=!0,delete Ae[i],Ru(i,e,r)})}function Pc(t,e,r){e={stale:1e4,realpath:!0,fs:oi,...e},e.stale=Math.max(e.stale||0,2e3),si(t,e,(n,i)=>{if(n)return r(n);e.fs.stat(Pt(i,e),(o,s)=>o?o.code==="ENOENT"?r(null,!1):r(o):r(null,!Iu(s,e)))})}function Uc(){return Ae}Nc(()=>{for(let t in Ae){let e=Ae[t].options;try{e.fs.rmdirSync(Pt(t,e))}catch{}}});Ut.exports.lock=Mc;Ut.exports.unlock=Lu;Ut.exports.check=Pc;Ut.exports.getLocks=Uc});var Pu=S(($0,Mu)=>{"use strict";D();var kc=ti();function Hc(t){let e=["mkdir","realpath","stat","rmdir","utimes"],r={...t};return e.forEach(n=>{r[n]=(...i)=>{let o=i.pop(),s;try{s=t[`${n}Sync`](...i)}catch(a){return o(a)}o(null,s)}}),r}function jc(t){return(...e)=>new Promise((r,n)=>{e.push((i,o)=>{i?n(i):r(o)}),t(...e)})}function Vc(t){return(...e)=>{let r,n;if(e.push((i,o)=>{r=i,n=o}),t(...e),r)throw r;return n}}function $c(t){if(t={...t},t.fs=Hc(t.fs||kc),typeof t.retries=="number"&&t.retries>0||t.retries&&typeof t.retries.retries=="number"&&t.retries.retries>0)throw Object.assign(new Error("Cannot use retries with the sync api"),{code:"ESYNC"});return t}Mu.exports={toPromise:jc,toSync:Vc,toSyncOptions:$c}});var ku=S((W0,Ue)=>{"use strict";D();var pt=Nu(),{toPromise:br,toSync:Sr,toSyncOptions:ui}=Pu();async function Uu(t,e){let r=await br(pt.lock)(t,e);return br(r)}function qc(t,e){let r=Sr(pt.lock)(t,ui(e));return Sr(r)}function Wc(t,e){return br(pt.unlock)(t,e)}function Gc(t,e){return Sr(pt.unlock)(t,ui(e))}function zc(t,e){return br(pt.check)(t,e)}function Zc(t,e){return Sr(pt.check)(t,ui(e))}Ue.exports=Uu;Ue.exports.lock=Uu;Ue.exports.unlock=Wc;Ue.exports.lockSync=qc;Ue.exports.unlockSync=Gc;Ue.exports.check=zc;Ue.exports.checkSync=Zc});D();D();var Ai=V(Si(),1),{program:Eh,createCommand:Fh,createArgument:_h,createOption:Ch,CommanderError:yh,InvalidArgumentError:xh,InvalidOptionArgumentError:vh,Command:Oi,Argument:wh,Option:bh,Help:Sh}=Ai.default;D();D();D();D();var Ti=(t=0)=>e=>`\x1B[${e+t}m`,Bi=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,Ii=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,W={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Th=Object.keys(W.modifier),Fa=Object.keys(W.color),_a=Object.keys(W.bgColor),Bh=[...Fa,..._a];function Ca(){let t=new Map;for(let[e,r]of Object.entries(W)){for(let[n,i]of Object.entries(r))W[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=W[n],t.set(i[0],i[1]);Object.defineProperty(W,e,{value:r,enumerable:!1})}return Object.defineProperty(W,"codes",{value:t,enumerable:!1}),W.color.close="\x1B[39m",W.bgColor.close="\x1B[49m",W.color.ansi=Ti(),W.color.ansi256=Bi(),W.color.ansi16m=Ii(),W.bgColor.ansi=Ti(10),W.bgColor.ansi256=Bi(10),W.bgColor.ansi16m=Ii(10),Object.defineProperties(W,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(o=>o+o).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>W.rgbToAnsi256(...W.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let o=Math.max(r,n,i)*2;if(o===0)return 30;let s=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return o===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>W.ansi256ToAnsi(W.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>W.ansi256ToAnsi(W.hexToAnsi256(e)),enumerable:!1}}),W}var ya=Ca(),me=ya;D();var qt=V(require("process"),1),Li=V(require("os"),1),Wr=V(require("tty"),1);function le(t,e=globalThis.Deno?globalThis.Deno.args:qt.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:G}=qt.default,$t;le("no-color")||le("no-colors")||le("color=false")||le("color=never")?$t=0:(le("color")||le("colors")||le("color=true")||le("color=always"))&&($t=1);function xa(){if("FORCE_COLOR"in G)return G.FORCE_COLOR==="true"?1:G.FORCE_COLOR==="false"?0:G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}function va(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function wa(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=xa();n!==void 0&&($t=n);let i=r?$t:n;if(i===0)return 0;if(r){if(le("color=16m")||le("color=full")||le("color=truecolor"))return 3;if(le("color=256"))return 2}if("TF_BUILD"in G&&"AGENT_NAME"in G)return 1;if(t&&!e&&i===void 0)return 0;let o=i||0;if(G.TERM==="dumb")return o;if(qt.default.platform==="win32"){let s=Li.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in G)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(s=>s in G)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in G)||G.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in G)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0;if(G.COLORTERM==="truecolor"||G.TERM==="xterm-kitty"||G.TERM==="xterm-ghostty"||G.TERM==="wezterm")return 3;if("TERM_PROGRAM"in G){let s=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(G.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)||"COLORTERM"in G?1:o}function Ri(t,e={}){let r=wa(t,{streamIsTTY:t&&t.isTTY,...e});return va(r)}var ba={stdout:Ri({isTTY:Wr.default.isatty(1)}),stderr:Ri({isTTY:Wr.default.isatty(2)})},Ni=ba;D();function Mi(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,o=0,s="";do s+=t.slice(o,n)+e+r,o=n+i,n=t.indexOf(e,o);while(n!==-1);return s+=t.slice(o),s}function Pi(t,e,r,n){let i=0,o="";do{let s=t[n-1]==="\r";o+=t.slice(i,s?n-1:n)+e+(s?`\r
|
|
24
24
|
`:`
|
|
25
|
-
`)+i
|
|
26
|
-
`,
|
|
27
|
-
`);return
|
|
25
|
+
`)+r,i=n+1,n=t.indexOf(`
|
|
26
|
+
`,i)}while(n!==-1);return o+=t.slice(i),o}var{stdout:Ui,stderr:ki}=Ni,Gr=Symbol("GENERATOR"),et=Symbol("STYLER"),gt=Symbol("IS_EMPTY"),Hi=["ansi","ansi","ansi256","ansi16m"],tt=Object.create(null),Sa=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Ui?Ui.level:0;t.level=e.level===void 0?r:e.level};var Aa=t=>{let e=(...r)=>r.join(" ");return Sa(e,t),Object.setPrototypeOf(e,Et.prototype),e};function Et(t){return Aa(t)}Object.setPrototypeOf(Et.prototype,Function.prototype);for(let[t,e]of Object.entries(me))tt[t]={get(){let r=Wt(this,Zr(e.open,e.close,this[et]),this[gt]);return Object.defineProperty(this,t,{value:r}),r}};tt.visible={get(){let t=Wt(this,this[et],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var zr=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?me[r].ansi16m(...n):e==="ansi256"?me[r].ansi256(me.rgbToAnsi256(...n)):me[r].ansi(me.rgbToAnsi(...n)):t==="hex"?zr("rgb",e,r,...me.hexToRgb(...n)):me[r][t](...n),Oa=["rgb","hex","ansi256"];for(let t of Oa){tt[t]={get(){let{level:r}=this;return function(...n){let i=Zr(zr(t,Hi[r],"color",...n),me.color.close,this[et]);return Wt(this,i,this[gt])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);tt[e]={get(){let{level:r}=this;return function(...n){let i=Zr(zr(t,Hi[r],"bgColor",...n),me.bgColor.close,this[et]);return Wt(this,i,this[gt])}}}}var Ta=Object.defineProperties(()=>{},{...tt,level:{enumerable:!0,get(){return this[Gr].level},set(t){this[Gr].level=t}}}),Zr=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},Wt=(t,e,r)=>{let n=(...i)=>Ba(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Ta),n[Gr]=t,n[et]=e,n[gt]=r,n},Ba=(t,e)=>{if(t.level<=0||!e)return t[gt]?"":e;let r=t[et];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=Mi(e,r.close,r.open),r=r.parent;let o=e.indexOf(`
|
|
27
|
+
`);return o!==-1&&(e=Pi(e,i,n,o)),n+e+i};Object.defineProperties(Et.prototype,tt);var Ia=Et(),jh=Et({level:ki?ki.level:0});var I=Ia;D();var ji=require("os"),we=require("path"),Ft=V(require("fs/promises"),1),Yr=require("fs");function Fe(){return process.env.CHVM_HOME||(0,we.join)((0,ji.homedir)(),".chvm")}async function _e(t){let e=[t,(0,we.join)(t,"installs"),(0,we.join)(t,"profiles"),(0,we.join)(t,"tmp"),(0,we.join)(t,"logs")];for(let r of e)await Ft.default.mkdir(r,{recursive:!0})}async function Oe(t){let e=(0,we.join)(t,"available.json");if(!(0,Yr.existsSync)(e))return[];let r=await Ft.default.readFile(e,"utf8");return JSON.parse(r)}async function ge(t){let e=(0,we.join)(t,"installed.json");if(!(0,Yr.existsSync)(e))return{};let r=await Ft.default.readFile(e,"utf8");return JSON.parse(r)}async function Vi(t,e){let r=(0,we.join)(t,"installed.json");await Ft.default.writeFile(r,JSON.stringify(e,null,2),"utf8")}async function $i(t,e){let r=await ge(t);r[e.version]={revision:e.revision,path:e.path,installedAt:new Date().toISOString(),size:e.size},await Vi(t,r)}async function qi(t,e){let r=await ge(t);delete r[e],await Vi(t,r)}async function Ra(t){try{let e=Fe();await _e(e);let r=await Oe(e),n=await ge(e);if(t.json)console.log(JSON.stringify({available:r,installed:n},null,2));else{if(r.length===0){console.log(I.yellow('No versions available. Run "chvm update" first.'));return}console.log(I.bold(`
|
|
28
28
|
Available Chromium Versions:
|
|
29
|
-
`)),console.log(v.gray("VERSION CHANNEL STATUS")),console.log(v.gray("\u2500".repeat(60)));for(let n of i){let o=r[n.version]?v.green("* installed"):"";console.log(`${n.version.split(".")[0]} ${n.channel} ${o}`)}console.log()}}catch(e){console.error(v.red(`Error: ${e.message}`)),process.exit(1)}}function Tr(t){t.command("ls").description("List available and installed Chromium versions").option("--json","Output in JSON format").action(Ts)}f();f();var Ft=B(require("process"),1);f();var Ir=B(require("process"),1);f();var Bn=B(require("process"),1),Tn=B(xn(),1),Rn=B(Nr(),1),Ms=(0,Tn.default)(()=>{(0,Rn.default)(()=>{Bn.default.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Mn=Ms;var It=!1,We={};We.show=(t=Ir.default.stderr)=>{t.isTTY&&(It=!1,t.write("\x1B[?25h"))};We.hide=(t=Ir.default.stderr)=>{t.isTTY&&(Mn(),It=!0,t.write("\x1B[?25l"))};We.toggle=(t,e)=>{t!==void 0&&(It=t),It?We.show(e):We.hide(e)};var Lr=We;var _t=B(kr(),1);f();f();var J=B(require("process"),1);function ut(){return J.default.platform!=="win32"?J.default.env.TERM!=="linux":!!J.default.env.CI||!!J.default.env.WT_SESSION||!!J.default.env.TERMINUS_SUBLIME||J.default.env.ConEmuTask==="{cmd::Cmder}"||J.default.env.TERM_PROGRAM==="Terminus-Sublime"||J.default.env.TERM_PROGRAM==="vscode"||J.default.env.TERM==="xterm-256color"||J.default.env.TERM==="alacritty"||J.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Ns={info:v.blue("\u2139"),success:v.green("\u2714"),warning:v.yellow("\u26A0"),error:v.red("\u2716")},Is={info:v.blue("i"),success:v.green("\u221A"),warning:v.yellow("\u203C"),error:v.red("\xD7")},Ls=ut()?Ns:Is,ot=Ls;f();f();function $r({onlyFirst:t=!1}={}){let n="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(n,t?void 0:"g")}var ks=$r();function st(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(ks,"")}f();var jn=B(kn(),1);f();var $n=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Vr(t,e){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,countAnsiEscapeCodes:!1,...e},e.countAnsiEscapeCodes||(t=st(t)),t.length===0))return 0;let i=e.ambiguousIsNarrow?1:2,r=0;for(let{segment:n}of new Intl.Segmenter().segment(t)){let u=n.codePointAt(0);if(u<=31||u>=127&&u<=159||u>=768&&u<=879)continue;if($n().test(n)){r+=2;continue}switch(jn.default.eastAsianWidth(n)){case"F":case"W":{r+=2;break}case"A":{r+=i;break}default:r+=1}}return r}f();function qr({stream:t=process.stdout}={}){return!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}f();var X=B(require("process"),1),Ju=B(require("readline"),1),Qu=B(Ku(),1),Wl=3,Ei=class{#r=0;#c=new Qu.BufferListStream;#n;#i;constructor(){this.#c.pipe(X.default.stdout);let e=this;this.#n=function(i,r,...n){let{stdin:u}=X.default;if(e.#r>0||u.emit===e.#n){if(i==="keypress")return;i==="data"&&r.includes(Wl)&&X.default.emit("SIGINT"),Reflect.apply(e.#n,this,[i,r,...n])}else Reflect.apply(X.default.stdin.emit,this,[i,r,...n])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){X.default.platform!=="win32"&&(this.#i=Ju.default.createInterface({input:X.default.stdin,output:this.#c}),this.#i.on("SIGINT",()=>{X.default.listenerCount("SIGINT")===0?X.default.emit("SIGINT"):(this.#i.close(),X.default.kill(X.default.pid,"SIGINT"))}))}_realStop(){X.default.platform!=="win32"&&(this.#i.close(),this.#i=void 0)}},Gl=new Ei,Ci=Gl;var Yl=B(kr(),1),yi=class{#r=0;#c=!1;#n=0;#i=0;#e;#s;#t;#h;#d;#a;#l;#f;#p;#u;#o;color;constructor(e){typeof e=="string"&&(e={text:e}),this.#e={color:"cyan",stream:Ft.default.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#d=this.#e.interval,this.#t=this.#e.stream,this.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:qr({stream:this.#t}),this.#l=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.suffixText=this.#e.suffixText,this.indent=this.#e.indent,Ft.default.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(i){this.#r=i}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#i}}),Object.defineProperty(this,"_lineCount",{get(){return this.#n}}))}get indent(){return this.#f}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=e,this.#D()}get interval(){return this.#d??this.#s.interval??100}get spinner(){return this.#s}set spinner(e){if(this.#i=0,this.#d=void 0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#s=e}else if(!ut())this.#s=_t.default.line;else if(e===void 0)this.#s=_t.default.dots;else if(e!=="default"&&_t.default[e])this.#s=_t.default[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#p}set text(e=""){this.#p=e,this.#D()}get prefixText(){return this.#u}set prefixText(e=""){this.#u=e,this.#D()}get suffixText(){return this.#o}set suffixText(e=""){this.#o=e,this.#D()}get isSpinning(){return this.#h!==void 0}#m(e=this.#u,i=" "){return typeof e=="string"&&e!==""?e+i:typeof e=="function"?e()+i:""}#g(e=this.#o,i=" "){return typeof e=="string"&&e!==""?i+e:typeof e=="function"?i+e():""}#D(){let e=this.#t.columns??80,i=this.#m(this.#u,"-"),r=this.#g(this.#o,"-"),n=" ".repeat(this.#f)+i+"--"+this.#p+"--"+r;this.#n=0;for(let u of st(n).split(`
|
|
30
|
-
`))this.#
|
|
31
|
-
`),this)}stop(){return this.#a?(clearInterval(this.#h),this.#h=void 0,this.#
|
|
32
|
-
`;return this.stop(),this.#t.write(
|
|
33
|
-
`,"utf8")}catch{}};return{debug:s=>o("debug",s),info:s=>o("info",s),warn:s=>o("warn",s),error:s=>o("error",s)}}function Jl(t,e){return`${new Date().toISOString()} [${t.toLowerCase()}] ${e}`}f();function Je(t,e){if(!e||e.length===0)return null;if(t==="latest")return e[0];if(t==="oldest")return e[e.length-1];let i=e.find(r=>r.version===t);return i||(i=e.find(r=>r.version&&r.version.startsWith(t)),i)?i:null}f();var er=require("fs");async function to(t){let e=`https://www.googleapis.com/storage/v1/b/chromium-browser-snapshots/o?delimiter=/&prefix=Mac_Arm/${t}/&fields=items(kind,mediaLink,metadata,name,size,updated),kind,prefixes,nextPageToken`,i=await fetch(e);if(!i.ok)throw new Error(`Failed to fetch metadata for revision ${t}: ${i.statusText}`);let r=await i.json();if(!r.items||r.items.length===0)throw new Error(`No files found for revision ${t}`);return r}async function ro(t,e,i){let r=await fetch(t);if(!r.ok)throw new Error(`Failed to download: ${r.statusText}`);let n=parseInt(r.headers.get("content-length")||"0",10),u=0,o=(0,er.createWriteStream)(e);if(!r.body)throw new Error("Response body is null");let s=r.body.getReader();try{for(;;){let{done:a,value:c}=await s.read();if(a)break;if(o.write(c),u+=c.length,i&&n>0){let l={downloaded:u,total:n,percentage:Math.round(u/n*100)};i(l)}}o.end(),await new Promise((a,c)=>{o.on("finish",()=>a()),o.on("error",c)})}catch(a){throw o.close(),a}}f();var z=B(require("fs/promises"),1),Ie=require("fs"),Le=require("path"),no=require("crypto"),uo=require("child_process"),oo=require("util"),Ql=(0,oo.promisify)(uo.exec);async function so(t,e,i){await z.default.mkdir(e,{recursive:!0});try{if(await Ql(`unzip -q "${t}" -d "${e}"`),i){let r=await Zl(e);i({extractedFiles:r})}}catch(r){throw new Error(`Failed to extract zip: ${r.message}`)}}async function Zl(t){let e=0;async function i(r){try{let n=await z.default.readdir(r);for(let u of n){let o=(0,Le.join)(r,u);(await z.default.stat(o)).isDirectory()?await i(o):e++}}catch{}}return await i(t),e}async function ao(t,e,i){let r=(0,Le.join)(i,"tmp",`install-${(0,no.randomBytes)(8).toString("hex")}`);try{await z.default.mkdir(r,{recursive:!0});let n=await t(r);await Xl(n,e),await io(r)}catch(n){throw(0,Ie.existsSync)(r)&&await io(r),n}}async function lo(t){if(!(0,Ie.existsSync)(t))return!1;let e=(0,Le.join)(t,"Contents"),i=(0,Le.join)(e,"MacOS");if(!(0,Ie.existsSync)(e)||!(0,Ie.existsSync)(i))return!1;try{let r=await z.default.readdir(i);for(let n of r){let u=(0,Le.join)(i,n);(await z.default.stat(u)).isFile()&&await z.default.chmod(u,493)}}catch{}return!0}async function fo(t){if(!(0,Ie.existsSync)(t))throw new Error(`Directory does not exist: ${t}`);let e=0;async function i(r){let n=await z.default.stat(r);if(n.isDirectory()){let u=await z.default.readdir(r);for(let o of u)await i((0,Le.join)(r,o))}else e+=n.size}return await i(t),e}async function Xl(t,e){try{await z.default.rename(t,e)}catch{await z.default.cp(t,e,{recursive:!0}),await z.default.rm(t,{recursive:!0,force:!0})}}async function io(t){(0,Ie.existsSync)(t)&&await z.default.rm(t,{recursive:!0,force:!0})}f();var ko=B(Lo(),1),$o=require("path"),jo=require("fs"),Vo=B(require("fs/promises"),1);async function Bf(t,e={}){let{timeout:i=5e3,staleTimeout:r=6e4}=e,n=(0,$o.join)(t,"chvm.lock");(0,jo.existsSync)(n)||await Vo.default.writeFile(n,JSON.stringify({pid:process.pid,timestamp:Date.now()}),"utf8");try{return await ko.default.lock(n,{retries:{retries:Math.floor(i/100),minTimeout:100,maxTimeout:1e3},stale:r,realpath:!1})}catch(u){throw new Error(`Failed to acquire lock: ${u.message}`)}}async function Tf(t){typeof t=="function"&&await t()}async function ar(t,e,i={}){let r=await Bf(t,i);try{return await e()}finally{await Tf(r)}}async function Rf(t,e){try{let i=oe();await se(i);let r=eo({chvmHome:i,level:e.quiet?"error":"info"});await ar(i,async()=>{let n=await me(i);if(n.length===0)throw new Error('No versions available. Please run "chvm update" first.');let u=Je(t,n);if(!u)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let o=String(u.chromium_main_branch_position),s=u.version||`Revision ${o}`;console.log(v.blue(`Resolving '${t}' -> ${s} (revision: ${o})`));let a=await ie(i),c=u.version||o;if(a[c]){console.log(v.yellow(`Version ${s} is already installed.`));return}let l=Pe("Fetching revision metadata...").start(),p=(await to(o)).items.find(C=>C.name.includes("chrome-mac.zip"));if(!p)throw new Error("chrome-mac.zip not found in revision");l.text=`Downloading Chromium ${s}...`;let d=(0,be.join)(i,"tmp",`chrome-${o}.zip`);await yt.default.mkdir((0,be.join)(i,"tmp"),{recursive:!0}),await ro(p.mediaLink,d,C=>{l.text=`Downloading: ${C.percentage}% (${Math.round(C.downloaded/1024/1024)}MB / ${Math.round(C.total/1024/1024)}MB)`}),l.text="Extracting...";let D=(0,be.join)(i,"installs",`${c}.app`);if(await ao(async C=>{let $=(0,be.join)(C,"extracted");l.text="Extracting zip...",await so(d,$,ue=>{l.text=`Extracting: ${ue.extractedFiles} files...`}),l.text="Looking for app bundle...";let j=await yt.default.readdir($);console.log("Extracted files:",j.slice(0,10).join(", "));let pe=j.find(ue=>ue.endsWith(".app"));if(!pe){let ue=(0,be.join)($,"chrome-mac");if((0,qo.existsSync)(ue)){let vt=(await yt.default.readdir(ue)).find(Xe=>Xe.endsWith(".app"));if(vt)return(0,be.join)(ue,vt)}throw new Error("App bundle not found in extracted files")}return(0,be.join)($,pe)},D,i),await yt.default.unlink(d).catch(()=>{}),l.text="Verifying installation...",!await lo(D))throw new Error("Installation verification failed: Invalid app bundle structure");let E=await fo(D);await _n(i,{version:c,revision:o,path:D,size:E}),l.succeed(v.green(`Installed ${s} to ${D}`)),r.info(`Installed version ${s}`)},{timeout:6e5})}catch(i){console.error(v.red(`Error: ${i.message}`)),process.exit(1)}}function Li(t){t.command("install <version>").alias("i").description("Install a specific Chromium version").option("--no-cache","Skip cache and download fresh").option("--quiet","Minimal output").action(Rf)}f();var ki=require("child_process"),Ho=require("util"),Uo=B(require("fs/promises"),1),Wo=require("fs"),lr=require("path");var Mf=(0,Ho.promisify)(ki.exec);async function Pf(t,e){try{let i=oe();await se(i);let r=await ie(i),n=await me(i),u=null;if(r[t])u={version:t,...r[t]};else{let h=Je(t,n);if(!h)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let p=String(h.chromium_main_branch_position),d=h.version;if(r[d])u={version:d,...r[d]};else{console.log(v.blue(`${h.version} not installed. Installing...`)),await Mf(`node ${process.argv[1]} install ${p}`);let D=await ie(i);u={version:d,...D[d]}}}if(!u)throw new Error("Failed to prepare version for opening");e.disableCors&&console.log(v.yellow("\u26A0\uFE0F WARNING: Running with --disable-web-security. This is insecure and should only be used for development."));let o=(0,lr.join)(i,"profiles",u.version);await Uo.default.mkdir(o,{recursive:!0});let s=u.path,a=(0,lr.join)(s,"Contents","MacOS","Chromium");if(!(0,Wo.existsSync)(a))throw new Error(`Chromium executable not found at ${a}`);let c=[`--user-data-dir=${o}`];e.disableCors&&(c.push("--disable-web-security"),c.push(`--user-data-dir=${(0,lr.join)(i,"tmp",u.version)}`)),console.log(v.green(`Opening Chromium ${u.version}...`));let l=`open -a "${s}" --args ${c.join(" ")}`;(0,ki.exec)(l,h=>{h&&(console.error(v.red(`Failed to open: ${h.message}`)),process.exit(1))})}catch(i){console.error(v.red(`Error: ${i.message}`)),process.exit(1)}}function $i(t){t.command("open <version>").description("Open a specific Chromium version").option("--disable-cors","Disable CORS (useful for development)").action(Pf)}f();var fr=B(require("fs/promises"),1),cr=require("fs"),ji=require("path");async function Nf(t,e){try{let i=oe();await se(i),await ar(i,async()=>{let r=await ie(i),n=await me(i),u=t;if(!r[t]){let l=Je(t,n);if(l&&l.version&&r[l.version])u=l.version;else throw new Error(`Version "${t}" is not installed.`)}let o=r[u],s=Pe(`Uninstalling ${u}...`).start();(0,cr.existsSync)(o.path)&&(await fr.default.rm(o.path,{recursive:!0,force:!0}),s.text="Removed app bundle...");let a=(0,ji.join)(i,"profiles",u);(0,cr.existsSync)(a)&&(await fr.default.rm(a,{recursive:!0,force:!0}),s.text="Removed profile...");let c=(0,ji.join)(i,"tmp",u);(0,cr.existsSync)(c)&&await fr.default.rm(c,{recursive:!0,force:!0}),await En(i,u),s.succeed(v.green(`Uninstalled ${u}`))})}catch(i){console.error(v.red(`Error: ${i.message}`)),process.exit(1)}}function Vi(t){t.command("uninstall <version>").description("Uninstall a specific Chromium version").option("--force","Force uninstall even if running").action(Nf)}var Go={name:"chvm",version:"1.1.11",description:"Chromium Version Manager - Manage and run multiple Chromium versions on macOS ARM",type:"module",main:"./dist/cli.cjs",bin:{chvm:"./dist/cli.cjs"},scripts:{"manifest:fetch-versions":"bun ./src/manifest/fetch-versions.ts",build:"tsup","build:watch":"tsup --watch",clean:"rm -rf dist",prebuild:"npm run clean",prepublishOnly:"npm run build",test:"NODE_OPTIONS=--experimental-vm-modules jest","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch","test:e2e":"NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/e2e/**/*.test.ts'","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/unit/**/*.test.ts'","test:coverage":"NODE_OPTIONS=--experimental-vm-modules jest --coverage","semantic-release":"semantic-release"},keywords:["chrome","chromium","version-manager","macos","arm","cli"],author:"Amir Kabiri <akabiridev@gmail.com>",repository:{type:"git",url:"https://github.com/amirkabiri/chvm.git"},license:"MIT",engines:{node:">=20.0.0"},files:["dist/cli.cjs","README.md","package.json","CHANGELOG.md"],devDependencies:{"@jest/globals":"^29.7.0","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.1","@semantic-release/npm":"^13.1.1","@types/node":"^20.0.0","@types/proper-lockfile":"^4.1.4",chalk:"^5.3.0","cli-progress":"^3.12.0",commander:"^11.1.0","conventional-changelog-conventionalcommits":"^9.1.0",jest:"^29.7.0",ora:"^7.0.1",prettier:"^3.6.2","proper-lockfile":"^4.1.2","semantic-release":"^25.0.1","ts-jest":"^29.1.0",tsup:"^8.5.0",typescript:"^5.3.0"}};var fe=new un;fe.name("chvm").description("Chromium Version Manager - Manage multiple Chromium versions on macOS ARM").version(Go.version);fe.command("help",{isDefault:!1}).description("Show help information").action(()=>{fe.outputHelp()});Tr(fe);vi(fe);Li(fe);$i(fe);Vi(fe);process.argv.length===2&&(fe.outputHelp(),process.exit(0));fe.parse();
|
|
29
|
+
`)),console.log(I.gray("VERSION CHANNEL STATUS")),console.log(I.gray("\u2500".repeat(60)));for(let i of r){let s=n[i.version]?I.green("* installed"):"";console.log(`${i.version.split(".")[0]} ${i.channel} ${s}`)}console.log()}}catch(e){console.error(I.red(`Error: ${e.message}`)),process.exit(1)}}function Kr(t){t.command("ls").description("List available and installed Chromium versions").option("--json","Output in JSON format").action(Ra)}D();D();var Lt=V(require("process"),1);D();var tn=V(require("process"),1);D();var eo=V(require("process"),1),to=V(Zi(),1),ro=V(en(),1),Na=(0,to.default)(()=>{(0,ro.default)(()=>{eo.default.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),no=Na;var Jt=!1,ot={};ot.show=(t=tn.default.stderr)=>{t.isTTY&&(Jt=!1,t.write("\x1B[?25h"))};ot.hide=(t=tn.default.stderr)=>{t.isTTY&&(no(),Jt=!0,t.write("\x1B[?25l"))};ot.toggle=(t,e)=>{t!==void 0&&(Jt=t),Jt?ot.show(e):ot.hide(e)};var rn=ot;var Nt=V(nn(),1);D();D();var fe=V(require("process"),1);function Ct(){return fe.default.platform!=="win32"?fe.default.env.TERM!=="linux":!!fe.default.env.CI||!!fe.default.env.WT_SESSION||!!fe.default.env.TERMINUS_SUBLIME||fe.default.env.ConEmuTask==="{cmd::Cmder}"||fe.default.env.TERM_PROGRAM==="Terminus-Sublime"||fe.default.env.TERM_PROGRAM==="vscode"||fe.default.env.TERM==="xterm-256color"||fe.default.env.TERM==="alacritty"||fe.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Pa={info:I.blue("\u2139"),success:I.green("\u2714"),warning:I.yellow("\u26A0"),error:I.red("\u2716")},Ua={info:I.blue("i"),success:I.green("\u221A"),warning:I.yellow("\u203C"),error:I.red("\xD7")},ka=Ct()?Pa:Ua,yt=ka;D();D();function on({onlyFirst:t=!1}={}){let i="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(i,t?void 0:"g")}var Ha=on();function xt(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(Ha,"")}D();var fo=V(ao(),1);D();var lo=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function un(t,e){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,countAnsiEscapeCodes:!1,...e},e.countAnsiEscapeCodes||(t=xt(t)),t.length===0))return 0;let r=e.ambiguousIsNarrow?1:2,n=0;for(let{segment:i}of new Intl.Segmenter().segment(t)){let o=i.codePointAt(0);if(o<=31||o>=127&&o<=159||o>=768&&o<=879)continue;if(lo().test(i)){n+=2;continue}switch(fo.default.eastAsianWidth(i)){case"F":case"W":{n+=2;break}case"A":{n+=r;break}default:n+=1}}return n}D();function an({stream:t=process.stdout}={}){return!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}D();var De=V(require("process"),1),Cs=V(require("readline"),1),ys=V(_s(),1),Zf=3,Hn=class{#r=0;#c=new ys.BufferListStream;#i;#n;constructor(){this.#c.pipe(De.default.stdout);let e=this;this.#i=function(r,n,...i){let{stdin:o}=De.default;if(e.#r>0||o.emit===e.#i){if(r==="keypress")return;r==="data"&&n.includes(Zf)&&De.default.emit("SIGINT"),Reflect.apply(e.#i,this,[r,n,...i])}else Reflect.apply(De.default.stdin.emit,this,[r,n,...i])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){De.default.platform!=="win32"&&(this.#n=Cs.default.createInterface({input:De.default.stdin,output:this.#c}),this.#n.on("SIGINT",()=>{De.default.listenerCount("SIGINT")===0?De.default.emit("SIGINT"):(this.#n.close(),De.default.kill(De.default.pid,"SIGINT"))}))}_realStop(){De.default.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}},Yf=new Hn,jn=Yf;var Kf=V(nn(),1),Vn=class{#r=0;#c=!1;#i=0;#n=0;#e;#u;#t;#h;#d;#a;#l;#f;#p;#o;#s;color;constructor(e){typeof e=="string"&&(e={text:e}),this.#e={color:"cyan",stream:Lt.default.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#d=this.#e.interval,this.#t=this.#e.stream,this.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:an({stream:this.#t}),this.#l=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.suffixText=this.#e.suffixText,this.indent=this.#e.indent,Lt.default.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#i}}))}get indent(){return this.#f}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=e,this.#D()}get interval(){return this.#d??this.#u.interval??100}get spinner(){return this.#u}set spinner(e){if(this.#n=0,this.#d=void 0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#u=e}else if(!Ct())this.#u=Nt.default.line;else if(e===void 0)this.#u=Nt.default.dots;else if(e!=="default"&&Nt.default[e])this.#u=Nt.default[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#p}set text(e=""){this.#p=e,this.#D()}get prefixText(){return this.#o}set prefixText(e=""){this.#o=e,this.#D()}get suffixText(){return this.#s}set suffixText(e=""){this.#s=e,this.#D()}get isSpinning(){return this.#h!==void 0}#m(e=this.#o,r=" "){return typeof e=="string"&&e!==""?e+r:typeof e=="function"?e()+r:""}#g(e=this.#s,r=" "){return typeof e=="string"&&e!==""?r+e:typeof e=="function"?r+e():""}#D(){let e=this.#t.columns??80,r=this.#m(this.#o,"-"),n=this.#g(this.#s,"-"),i=" ".repeat(this.#f)+r+"--"+this.#p+"--"+n;this.#i=0;for(let o of xt(i).split(`
|
|
30
|
+
`))this.#i+=Math.max(1,Math.ceil(un(o,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#a&&!this.#l}set isEnabled(e){if(typeof e!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=e}get isSilent(){return this.#l}set isSilent(e){if(typeof e!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#l=e}frame(){let{frames:e}=this.#u,r=e[this.#n];this.color&&(r=I[this.color](r)),this.#n=++this.#n%e.length;let n=typeof this.#o=="string"&&this.#o!==""?this.#o+" ":"",i=typeof this.text=="string"?" "+this.text:"",o=typeof this.#s=="string"&&this.#s!==""?" "+this.#s:"";return n+r+i+o}clear(){if(!this.#a||!this.#t.isTTY)return this;this.#t.cursorTo(0);for(let e=0;e<this.#r;e++)e>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);return(this.#f||this.lastIndent!==this.#f)&&this.#t.cursorTo(this.#f),this.lastIndent=this.#f,this.#r=0,this}render(){return this.#l?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#i,this)}start(e){return e&&(this.text=e),this.#l?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&rn.hide(this.#t),this.#e.discardStdin&&Lt.default.stdin.isTTY&&(this.#c=!0,jn.start()),this.render(),this.#h=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
|
|
31
|
+
`),this)}stop(){return this.#a?(clearInterval(this.#h),this.#h=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&rn.show(this.#t),this.#e.discardStdin&&Lt.default.stdin.isTTY&&this.#c&&(jn.stop(),this.#c=!1),this):this}succeed(e){return this.stopAndPersist({symbol:yt.success,text:e})}fail(e){return this.stopAndPersist({symbol:yt.error,text:e})}warn(e){return this.stopAndPersist({symbol:yt.warning,text:e})}info(e){return this.stopAndPersist({symbol:yt.info,text:e})}stopAndPersist(e={}){if(this.#l)return this;let r=e.prefixText??this.#o,n=this.#m(r," "),i=e.symbol??" ",o=e.text??this.text,s=typeof o=="string"?" "+o:"",a=e.suffixText??this.#s,f=this.#g(a," "),d=n+i+s+f+`
|
|
32
|
+
`;return this.stop(),this.#t.write(d),this}};function Ze(t){return new Vn(t)}var xs=V(require("fs"),1),vs=require("path");function Xf(){let t=process.platform,e=process.arch;if(t==="linux")return e==="x64"?"linux_x64":e==="arm"||e==="arm64"?"linux_arm":"linux";if(t==="darwin")return e==="arm64"?"mac_arm":"mac";if(t==="win32")return e==="x64"?"win_x64":e==="arm64"?"win_arm64":e==="ia32"?"win32":"win";throw new Error(`Your platform is not supported yet: ${t} ${e}`)}async function Jf(t){try{let e=Fe();await _e(e);let r=Ze("Fetching available Chromium versions...").start();fetch(`https://raw.githubusercontent.com/amirkabiri/chvm/refs/heads/main/public/manifest/${Xf()}.json`).then(n=>n.json()).then(n=>{let i=(0,vs.join)(e,"available.json");xs.default.writeFileSync(i,JSON.stringify(n,null,2)),r.succeed(I.green(`Updated! ${n.length} versions available.`))}).catch(n=>{throw r.fail(I.red(`Failed to update: ${n.message}`)),n})}catch(e){console.error(I.red(`Error: ${e.message}`)),process.exit(1)}}function $n(t){t.command("update").description("Update the list of available Chromium versions").option("--force","Force update, bypass cache").action(Jf)}D();var kt=V(require("fs/promises"),1),qu=require("fs"),ke=require("path");D();var Ye=require("fs"),Wn=require("path"),qn={debug:0,info:1,warn:2,error:3};function ws(t){let{chvmHome:e,level:r="info"}=t,n=qn[r]||qn.info,i=(0,Wn.join)(e,"logs"),o=(0,Wn.join)(i,"chvm.log");(0,Ye.existsSync)(i)||(0,Ye.mkdirSync)(i,{recursive:!0});let s=(a,f)=>{if(qn[a]<n)return;let d=Qf(a,f);try{(0,Ye.appendFileSync)(o,d+`
|
|
33
|
+
`,"utf8")}catch{}};return{debug:a=>s("debug",a),info:a=>s("info",a),warn:a=>s("warn",a),error:a=>s("error",a)}}function Qf(t,e){return`${new Date().toISOString()} [${t.toLowerCase()}] ${e}`}D();function ft(t,e){if(!e||e.length===0)return null;if(t==="latest")return e[0];if(t==="oldest")return e[e.length-1];let r=e.find(n=>n.version===t);return r||(r=e.find(n=>n.version&&n.version.startsWith(t)),r)?r:null}D();var mr=require("fs");async function bs(t){let e=`https://www.googleapis.com/storage/v1/b/chromium-browser-snapshots/o?delimiter=/&prefix=Mac_Arm/${t}/&fields=items(kind,mediaLink,metadata,name,size,updated),kind,prefixes,nextPageToken`,r=await fetch(e);if(!r.ok)throw new Error(`Failed to fetch metadata for revision ${t}: ${r.statusText}`);let n=await r.json();if(!n.items||n.items.length===0)throw new Error(`No files found for revision ${t}`);return n}async function Ss(t,e,r){let n=await fetch(t);if(!n.ok)throw new Error(`Failed to download: ${n.statusText}`);let i=parseInt(n.headers.get("content-length")||"0",10),o=0,s=(0,mr.createWriteStream)(e);if(!n.body)throw new Error("Response body is null");let a=n.body.getReader();try{for(;;){let{done:f,value:d}=await a.read();if(f)break;if(s.write(d),o+=d.length,r&&i>0){let h={downloaded:o,total:i,percentage:Math.round(o/i*100)};r(h)}}s.end(),await new Promise((f,d)=>{s.on("finish",()=>f()),s.on("error",d)})}catch(f){throw s.close(),f}}D();var ae=V(require("fs/promises"),1),Xe=require("fs"),Se=require("path"),au=require("crypto"),lu=V(su(),1);async function fu(t,e,r){await ae.default.mkdir(e,{recursive:!0});try{let i=new lu.default(t).getEntries(),o=0;for(let s of i){let a=(0,Se.join)(e,s.entryName);if(s.isDirectory)await ae.default.mkdir(a,{recursive:!0});else{await ae.default.mkdir((0,Se.dirname)(a),{recursive:!0});let f=s.getData();await ae.default.writeFile(a,f);let d=s.attr>>16&65535;d!==0&&await ae.default.chmod(a,d),o++,r&&r({extractedFiles:o})}}r&&o===0&&r({extractedFiles:0})}catch(n){throw new Error(`Failed to extract zip: ${n.message}`)}}async function cu(t,e,r){let n=(0,Se.join)(r,"tmp",`install-${(0,au.randomBytes)(8).toString("hex")}`);try{await ae.default.mkdir(n,{recursive:!0});let i=await t(n);await Fc(i,e),await uu(n)}catch(i){throw(0,Xe.existsSync)(n)&&await uu(n),i}}async function hu(t){if(!(0,Xe.existsSync)(t))return!1;let e=(0,Se.join)(t,"Contents"),r=(0,Se.join)(e,"MacOS");if(!(0,Xe.existsSync)(e)||!(0,Xe.existsSync)(r))return!1;try{let n=await ae.default.readdir(r);for(let i of n){let o=(0,Se.join)(r,i);(await ae.default.stat(o)).isFile()&&await ae.default.chmod(o,493)}}catch{}return!0}async function Du(t){if(!(0,Xe.existsSync)(t))throw new Error(`Directory does not exist: ${t}`);let e=0;async function r(n){let i=await ae.default.stat(n);if(i.isDirectory()){let o=await ae.default.readdir(n);for(let s of o)await r((0,Se.join)(n,s))}else e+=i.size}return await r(t),e}async function Fc(t,e){try{await ae.default.rename(t,e)}catch{await ae.default.cp(t,e,{recursive:!0}),await ae.default.rm(t,{recursive:!0,force:!0})}}async function uu(t){(0,Xe.existsSync)(t)&&await ae.default.rm(t,{recursive:!0,force:!0})}D();var Hu=V(ku(),1),ju=require("path"),Vu=require("fs"),$u=V(require("fs/promises"),1);async function Yc(t,e={}){let{timeout:r=5e3,staleTimeout:n=6e4}=e,i=(0,ju.join)(t,"chvm.lock");(0,Vu.existsSync)(i)||await $u.default.writeFile(i,JSON.stringify({pid:process.pid,timestamp:Date.now()}),"utf8");try{return await Hu.default.lock(i,{retries:{retries:Math.floor(r/100),minTimeout:100,maxTimeout:1e3},stale:n,realpath:!1})}catch(o){throw new Error(`Failed to acquire lock: ${o.message}`)}}async function Kc(t){typeof t=="function"&&await t()}async function Ar(t,e,r={}){let n=await Yc(t,r);try{return await e()}finally{await Kc(n)}}async function Xc(t,e){try{let r=Fe();await _e(r);let n=ws({chvmHome:r,level:e.quiet?"error":"info"});await Ar(r,async()=>{let i=await Oe(r);if(i.length===0)throw new Error('No versions available. Please run "chvm update" first.');let o=ft(t,i);if(!o)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let s=String(o.chromium_main_branch_position),a=o.version||`Revision ${s}`;console.log(I.blue(`Resolving '${t}' -> ${a} (revision: ${s})`));let f=await ge(r),d=o.version||s;if(f[d]){console.log(I.yellow(`Version ${a} is already installed.`));return}let h=Ze("Fetching revision metadata...").start(),y=(await bs(s)).items.find(m=>m.name.includes("chrome-mac.zip"));if(!y)throw new Error("chrome-mac.zip not found in revision");h.text=`Downloading Chromium ${a}...`;let l=(0,ke.join)(r,"tmp",`chrome-${s}.zip`);await kt.default.mkdir((0,ke.join)(r,"tmp"),{recursive:!0}),await Ss(y.mediaLink,l,m=>{h.text=`Downloading: ${m.percentage}% (${Math.round(m.downloaded/1024/1024)}MB / ${Math.round(m.total/1024/1024)}MB)`}),h.text="Extracting...";let c=(0,ke.join)(r,"installs",`${d}.app`);if(await cu(async m=>{let C=(0,ke.join)(m,"extracted");h.text="Extracting zip...",await fu(l,C,_=>{h.text=`Extracting: ${_.extractedFiles} files...`}),h.text="Looking for app bundle...";let u=await kt.default.readdir(C);console.log("Extracted files:",u.slice(0,10).join(", "));let E=u.find(_=>_.endsWith(".app"));if(!E){let _=(0,ke.join)(C,"chrome-mac");if((0,qu.existsSync)(_)){let w=(await kt.default.readdir(_)).find(R=>R.endsWith(".app"));if(w)return(0,ke.join)(_,w)}throw new Error("App bundle not found in extracted files")}return(0,ke.join)(C,E)},c,r),await kt.default.unlink(l).catch(()=>{}),h.text="Verifying installation...",!await hu(c))throw new Error("Installation verification failed: Invalid app bundle structure");let p=await Du(c);await $i(r,{version:d,revision:s,path:c,size:p}),h.succeed(I.green(`Installed ${a} to ${c}`)),n.info(`Installed version ${a}`)},{timeout:6e5})}catch(r){console.error(I.red(`Error: ${r.message}`)),process.exit(1)}}function ai(t){t.command("install <version>").alias("i").description("Install a specific Chromium version").option("--no-cache","Skip cache and download fresh").option("--quiet","Minimal output").action(Xc)}D();var li=require("child_process"),Wu=require("util"),Gu=V(require("fs/promises"),1),zu=require("fs"),Or=require("path");var Jc=(0,Wu.promisify)(li.exec);async function Qc(t,e){try{let r=Fe();await _e(r);let n=await ge(r),i=await Oe(r),o=null;if(n[t])o={version:t,...n[t]};else{let F=ft(t,i);if(!F)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let y=String(F.chromium_main_branch_position),l=F.version;if(n[l])o={version:l,...n[l]};else{console.log(I.blue(`${F.version} not installed. Installing...`)),await Jc(`node ${process.argv[1]} install ${y}`);let c=await ge(r);o={version:l,...c[l]}}}if(!o)throw new Error("Failed to prepare version for opening");e.disableCors&&console.log(I.yellow("\u26A0\uFE0F WARNING: Running with --disable-web-security. This is insecure and should only be used for development."));let s=(0,Or.join)(r,"profiles",o.version);await Gu.default.mkdir(s,{recursive:!0});let a=o.path,f=(0,Or.join)(a,"Contents","MacOS","Chromium");if(!(0,zu.existsSync)(f))throw new Error(`Chromium executable not found at ${f}`);let d=[`--user-data-dir=${s}`];e.disableCors&&(d.push("--disable-web-security"),d.push(`--user-data-dir=${(0,Or.join)(r,"tmp",o.version)}`)),console.log(I.green(`Opening Chromium ${o.version}...`));let h=`open -a "${a}" --args ${d.join(" ")}`;(0,li.exec)(h,F=>{F&&(console.error(I.red(`Failed to open: ${F.message}`)),process.exit(1))})}catch(r){console.error(I.red(`Error: ${r.message}`)),process.exit(1)}}function fi(t){t.command("open <version>").description("Open a specific Chromium version").option("--disable-cors","Disable CORS (useful for development)").action(Qc)}D();var Tr=V(require("fs/promises"),1),Br=require("fs"),ci=require("path");async function eh(t,e){try{let r=Fe();await _e(r),await Ar(r,async()=>{let n=await ge(r),i=await Oe(r),o=t;if(!n[t]){let h=ft(t,i);if(h&&h.version&&n[h.version])o=h.version;else throw new Error(`Version "${t}" is not installed.`)}let s=n[o],a=Ze(`Uninstalling ${o}...`).start();(0,Br.existsSync)(s.path)&&(await Tr.default.rm(s.path,{recursive:!0,force:!0}),a.text="Removed app bundle...");let f=(0,ci.join)(r,"profiles",o);(0,Br.existsSync)(f)&&(await Tr.default.rm(f,{recursive:!0,force:!0}),a.text="Removed profile...");let d=(0,ci.join)(r,"tmp",o);(0,Br.existsSync)(d)&&await Tr.default.rm(d,{recursive:!0,force:!0}),await qi(r,o),a.succeed(I.green(`Uninstalled ${o}`))})}catch(r){console.error(I.red(`Error: ${r.message}`)),process.exit(1)}}function hi(t){t.command("uninstall <version>").description("Uninstall a specific Chromium version").option("--force","Force uninstall even if running").action(eh)}var Zu={name:"chvm",version:"1.1.12",description:"Chromium Version Manager - Manage and run multiple Chromium versions on macOS ARM",type:"module",main:"./dist/cli.cjs",bin:{chvm:"./dist/cli.cjs"},scripts:{"manifest:fetch-versions":"bun ./src/manifest/fetch-versions.ts",build:"tsup","build:watch":"tsup --watch",clean:"rm -rf dist",prebuild:"npm run clean",prepublishOnly:"npm run build",test:"NODE_OPTIONS=--experimental-vm-modules jest","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch","test:e2e":"NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/e2e/**/*.test.ts'","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/unit/**/*.test.ts'","test:coverage":"NODE_OPTIONS=--experimental-vm-modules jest --coverage","semantic-release":"semantic-release"},keywords:["chrome","chromium","version-manager","macos","arm","cli"],author:"Amir Kabiri <akabiridev@gmail.com>",repository:{type:"git",url:"https://github.com/amirkabiri/chvm.git"},license:"MIT",engines:{node:">=20.0.0"},files:["dist/cli.cjs","README.md","package.json","CHANGELOG.md"],devDependencies:{"@jest/globals":"^29.7.0","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.1","@semantic-release/npm":"^13.1.1","@types/adm-zip":"^0.5.7","@types/node":"^20.0.0","@types/proper-lockfile":"^4.1.4","adm-zip":"^0.5.16",chalk:"^5.3.0","cli-progress":"^3.12.0",commander:"^11.1.0","conventional-changelog-conventionalcommits":"^9.1.0",jest:"^29.7.0",ora:"^7.0.1",prettier:"^3.6.2","proper-lockfile":"^4.1.2","semantic-release":"^25.0.2","ts-jest":"^29.1.0",tsup:"^8.5.1",typescript:"^5.3.0"}};var xe=new Oi;xe.name("chvm").description("Chromium Version Manager - Manage multiple Chromium versions on macOS ARM").version(Zu.version);xe.command("help",{isDefault:!1}).description("Show help information").action(()=>{xe.outputHelp()});Kr(xe);$n(xe);ai(xe);fi(xe);hi(xe);process.argv.length===2&&(xe.outputHelp(),process.exit(0));xe.parse();
|
|
34
34
|
/*! Bundled license information:
|
|
35
35
|
|
|
36
36
|
safe-buffer/index.js:
|