@mux/supabase
Version:
CLI tool to initialize Mux Sync Engine with Supabase
23 lines • 1.81 MB
JavaScript
#!/usr/bin/env node
'use strict';var Gt=require('fs'),vn=require('path'),E1=require('process'),zT=require('os'),$f=require('tty'),async_hooks=require('async_hooks'),Zh=require('readline'),b7=require('util'),child_process=require('child_process'),lp=require('crypto'),timers=require('timers'),B1=require('stream'),JS=require('http'),zu=require('url'),zQ=require('https'),Pi=require('zlib'),web=require('stream/web'),buffer=require('buffer');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var Gt__default=/*#__PURE__*/_interopDefault(Gt);var vn__default=/*#__PURE__*/_interopDefault(vn);var E1__default=/*#__PURE__*/_interopDefault(E1);var zT__default=/*#__PURE__*/_interopDefault(zT);var $f__default=/*#__PURE__*/_interopDefault($f);var Zh__namespace=/*#__PURE__*/_interopNamespace(Zh);var b7__namespace=/*#__PURE__*/_interopNamespace(b7);var lp__namespace=/*#__PURE__*/_interopNamespace(lp);var B1__default=/*#__PURE__*/_interopDefault(B1);var JS__default=/*#__PURE__*/_interopDefault(JS);var zu__default=/*#__PURE__*/_interopDefault(zu);var zQ__default=/*#__PURE__*/_interopDefault(zQ);var Pi__default=/*#__PURE__*/_interopDefault(Pi);var _T=Object.create;var g8=Object.defineProperty;var wT=Object.getOwnPropertyDescriptor;var yT=Object.getOwnPropertyNames;var DT=Object.getPrototypeOf,ST=Object.prototype.hasOwnProperty;var ve=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Mr=(t,e)=>()=>(t&&(e=t(t=0)),e);var _=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ET=(t,e)=>{for(var r in e)g8(t,r,{get:e[r],enumerable:true});},FT=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yT(e))!ST.call(t,i)&&i!==r&&g8(t,i,{get:()=>e[i],enumerable:!(a=wT(e,i))||a.enumerable});return t};var me=(t,e,r)=>(r=t!=null?_T(DT(t)):{},FT(e||!t||!t.__esModule?g8(r,"default",{value:t,enumerable:true}):r,t));var Op=_(w8=>{var Qo=class extends Error{constructor(e,r,a){super(a),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=r,this.exitCode=e,this.nestedError=void 0;}},_8=class extends Qo{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name;}};w8.CommanderError=Qo;w8.InvalidArgumentError=_8;});var Zo=_(D8=>{var{InvalidArgumentError:CT}=Op(),y8=class{constructor(e,r){switch(this.description=r||"",this.variadic=false,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case "<":this.required=true,this._name=e.slice(1,-1);break;case "[":this.required=false,this._name=e.slice(1,-1);break;default:this.required=true,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=true,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,a)=>{if(!this.argChoices.includes(r))throw new CT(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,a):r},this}argRequired(){return this.required=true,this}argOptional(){return this.required=false,this}};function AT(t){let e=t.name()+(t.variadic===true?"...":"");return t.required?"<"+e+">":"["+e+"]"}D8.Argument=y8;D8.humanReadableArgName=AT;});var E8=_(Sf=>{var{humanReadableArgName:TT}=Zo(),S8=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=false,this.sortOptions=false,this.showGlobalOptions=false;}visibleCommands(e){let r=e.commands.filter(i=>!i._hidden),a=e._getHelpCommand();return a&&!a._hidden&&r.push(a),this.sortSubcommands&&r.sort((i,n)=>i.name().localeCompare(n.name())),r}compareOptions(e,r){let a=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return a(e).localeCompare(a(r))}visibleOptions(e){let r=e.options.filter(i=>!i.hidden),a=e._getHelpOption();if(a&&!a.hidden){let i=a.short&&e._findOption(a.short),n=a.long&&e._findOption(a.long);!i&&!n?r.push(a):a.long&&!n?r.push(e.createOption(a.long,a.description)):a.short&&!i&&r.push(e.createOption(a.short,a.description));}return this.sortOptions&&r.sort(this.compareOptions),r}visibleGlobalOptions(e){if(!this.showGlobalOptions)return [];let r=[];for(let a=e.parent;a;a=a.parent){let i=a.options.filter(n=>!n.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(a=>TT(a)).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((a,i)=>Math.max(a,r.subcommandTerm(i).length),0)}longestOptionTermLength(e,r){return r.visibleOptions(e).reduce((a,i)=>Math.max(a,r.optionTerm(i).length),0)}longestGlobalOptionTermLength(e,r){return r.visibleGlobalOptions(e).reduce((a,i)=>Math.max(a,r.optionTerm(i).length),0)}longestArgumentTermLength(e,r){return r.visibleArguments(e).reduce((a,i)=>Math.max(a,r.argumentTerm(i).length),0)}commandUsage(e){let r=e._name;e._aliases[0]&&(r=r+"|"+e._aliases[0]);let a="";for(let i=e.parent;i;i=i.parent)a=i.name()+" "+a;return a+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(a=>JSON.stringify(a)).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(a=>JSON.stringify(a)).join(", ")}`),e.defaultValue!==void 0&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),r.length>0){let a=`(${r.join(", ")})`;return e.description?`${e.description} ${a}`:a}return e.description}formatHelp(e,r){let a=r.padWidth(e,r),i=r.helpWidth||80,n=2,p=2;function s(g,D){if(D){let y=`${g.padEnd(a+p)}${D}`;return r.wrap(y,i-n,a+p)}return g}function o(g){return g.join(`
`).replace(/^/gm," ".repeat(n))}let l=[`Usage: ${r.commandUsage(e)}`,""],d=r.commandDescription(e);d.length>0&&(l=l.concat([r.wrap(d,i,0),""]));let f=r.visibleArguments(e).map(g=>s(r.argumentTerm(g),r.argumentDescription(g)));f.length>0&&(l=l.concat(["Arguments:",o(f),""]));let h=r.visibleOptions(e).map(g=>s(r.optionTerm(g),r.optionDescription(g)));if(h.length>0&&(l=l.concat(["Options:",o(h),""])),this.showGlobalOptions){let g=r.visibleGlobalOptions(e).map(D=>s(r.optionTerm(D),r.optionDescription(D)));g.length>0&&(l=l.concat(["Global Options:",o(g),""]));}let b=r.visibleCommands(e).map(g=>s(r.subcommandTerm(g),r.subcommandDescription(g)));return b.length>0&&(l=l.concat(["Commands:",o(b),""])),l.join(`
`)}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,a,i=40){let n=" \\f\\t\\v\xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF",p=new RegExp(`[\\n][${n}]+`);if(e.match(p))return e;let s=r-a;if(s<i)return e;let o=e.slice(0,a),l=e.slice(a).replace(`\r
`,`
`),d=" ".repeat(a),h="\\s\u200B",b=new RegExp(`
|.{1,${s-1}}([${h}]|$)|[^${h}]+?([${h}]|$)`,"g"),g=l.match(b)||[];return o+g.map((D,y)=>D===`
`?"":(y>0?d:"")+D.trimEnd()).join(`
`)}};Sf.Help=S8;});var T8=_(A8=>{var{InvalidArgumentError:OT}=Op(),F8=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=false;let a=NT(e);this.short=a.shortFlag,this.long=a.longFlag,this.negate=false,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=false,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]:true}),this.implied=Object.assign(this.implied||{},r),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=true){return this.mandatory=!!e,this}hideHelp(e=true){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,a)=>{if(!this.argChoices.includes(r))throw new OT(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,a):r},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return PT(this.name().replace(/^no-/,""))}is(e){return this.short===e||this.long===e}isBoolean(){return !this.required&&!this.optional&&!this.negate}},C8=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,a)=>{this.positiveOptions.has(a)&&this.dualOptions.add(a);});}valueFromOption(e,r){let a=r.attributeName();if(!this.dualOptions.has(a))return true;let i=this.negativeOptions.get(a).presetArg,n=i!==void 0?i:false;return r.negate===(n===e)}};function PT(t){return t.split("-").reduce((e,r)=>e+r[0].toUpperCase()+r.slice(1))}function NT(t){let e,r,a=t.split(/[ |,]+/);return a.length>1&&!/^[[<]/.test(a[1])&&(e=a.shift()),r=a.shift(),!e&&/^-[^-]$/.test(r)&&(e=r,r=void 0),{shortFlag:e,longFlag:r}}A8.Option=F8;A8.DualOptions=C8;});var Ff=_(Ef=>{function BT(t,e){if(Math.abs(t.length-e.length)>3)return Math.max(t.length,e.length);let r=[];for(let a=0;a<=t.length;a++)r[a]=[a];for(let a=0;a<=e.length;a++)r[0][a]=a;for(let a=1;a<=e.length;a++)for(let i=1;i<=t.length;i++){let n=1;t[i-1]===e[a-1]?n=0:n=1,r[i][a]=Math.min(r[i-1][a]+1,r[i][a-1]+1,r[i-1][a-1]+n),i>1&&a>1&&t[i-1]===e[a-2]&&t[i-2]===e[a-1]&&(r[i][a]=Math.min(r[i][a],r[i-2][a-2]+1));}return r[t.length][e.length]}function kT(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(p=>p.slice(2)));let a=[],i=3,n=.4;return e.forEach(p=>{if(p.length<=1)return;let s=BT(t,p),o=Math.max(t.length,p.length);(o-s)/o>n&&(s<i?(i=s,a=[p]):s===i&&a.push(p));}),a.sort((p,s)=>p.localeCompare(s)),r&&(a=a.map(p=>`--${p}`)),a.length>1?`
(Did you mean one of ${a.join(", ")}?)`:a.length===1?`
(Did you mean ${a[0]}?)`:""}Ef.suggestSimilar=kT;});var Pf=_(Of=>{var RT=ve("events").EventEmitter,O8=ve("child_process"),fr=ve("path"),P8=ve("fs"),We=ve("process"),{Argument:jT,humanReadableArgName:qT}=Zo(),{CommanderError:N8}=Op(),{Help:VT}=E8(),{Option:Cf,DualOptions:IT}=T8(),{suggestSimilar:Af}=Ff(),B8=class t extends RT{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=false,this._allowExcessArguments=true,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=false,this._actionHandler=null,this._executableHandler=false,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=true,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=false,this._passThroughOptions=false,this._lifeCycleHooks={},this._showHelpAfterError=false,this._showSuggestionAfterError=true,this._outputConfiguration={writeOut:r=>We.stdout.write(r),writeErr:r=>We.stderr.write(r),getOutHelpWidth:()=>We.stdout.isTTY?We.stdout.columns:void 0,getErrHelpWidth:()=>We.stderr.isTTY?We.stderr.columns:void 0,outputError:(r,a)=>a(r)},this._hidden=false,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={};}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,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,a){let i=r,n=a;typeof i=="object"&&i!==null&&(n=i,i=null),n=n||{};let[,p,s]=e.match(/([^ ]+) *(.*)/),o=this.createCommand(p);return i&&(o.description(i),o._executableHandler=true),n.isDefault&&(this._defaultCommandName=o._name),o._hidden=!!(n.noHelp||n.hidden),o._executableFile=n.executableFile||null,s&&o.arguments(s),this._registerCommand(o),o.parent=this,o.copyInheritedSettings(this),i?this:o}createCommand(e){return new t(e)}createHelp(){return Object.assign(new VT,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=true){return typeof e!="string"&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=true){return this._showSuggestionAfterError=!!e,this}addCommand(e,r){if(!e._name)throw new Error(`Command passed to .addCommand() must have a name
- specify the name in Command constructor or using .name()`);return r=r||{},r.isDefault&&(this._defaultCommandName=e._name),(r.noHelp||r.hidden)&&(e._hidden=true),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,r){return new jT(e,r)}argument(e,r,a,i){let n=this.createArgument(e,r);return typeof a=="function"?n.default(i).argParser(a):n.default(a),this.addArgument(n),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}helpCommand(e,r){if(typeof e=="boolean")return this._addImplicitHelpCommand=e,this;e=e??"help [command]";let[,a,i]=e.match(/([^ ]+) *(.*)/),n=r??"display help for command",p=this.createCommand(a);return p.helpOption(false),i&&p.arguments(i),n&&p.description(n),this._addImplicitHelpCommand=true,this._helpCommand=p,this}addHelpCommand(e,r){return typeof e!="object"?(this.helpCommand(e,r),this):(this._addImplicitHelpCommand=true,this._helpCommand=e,this)}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(this._helpCommand===void 0&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,r){let a=["preSubcommand","preAction","postAction"];if(!a.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.
Expecting one of '${a.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,a){this._exitCallback&&this._exitCallback(new N8(e,r,a)),We.exit(e);}action(e){let r=a=>{let i=this.registeredArguments.length,n=a.slice(0,i);return this._storeOptionsAsProperties?n[i]=this:n[i]=this.opts(),n.push(this),e.apply(this,n)};return this._actionHandler=r,this}createOption(e,r){return new Cf(e,r)}_callParseArg(e,r,a,i){try{return e.parseArg(r,a)}catch(n){if(n.code==="commander.invalidArgument"){let p=`${i} ${n.message}`;this.error(p,{exitCode:n.exitCode,code:n.code});}throw n}}_registerOption(e){let r=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(r){let a=e.long&&this._findOption(e.long)?e.long:e.short;throw new Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${a}'
- already used by option '${r.flags}'`)}this.options.push(e);}_registerCommand(e){let r=i=>[i.name()].concat(i.aliases()),a=r(e).find(i=>this._findCommand(i));if(a){let i=r(this._findCommand(a)).join("|"),n=r(e).join("|");throw new Error(`cannot add command '${n}' as already have command '${i}'`)}this.commands.push(e);}addOption(e){this._registerOption(e);let r=e.name(),a=e.attributeName();if(e.negate){let n=e.long.replace(/^--no-/,"--");this._findOption(n)||this.setOptionValueWithSource(a,e.defaultValue===void 0?true:e.defaultValue,"default");}else e.defaultValue!==void 0&&this.setOptionValueWithSource(a,e.defaultValue,"default");let i=(n,p,s)=>{n==null&&e.presetArg!==void 0&&(n=e.presetArg);let o=this.getOptionValue(a);n!==null&&e.parseArg?n=this._callParseArg(e,n,o,p):n!==null&&e.variadic&&(n=e._concatValue(n,o)),n==null&&(e.negate?n=false:e.isBoolean()||e.optional?n=true:n=""),this.setOptionValueWithSource(a,n,s);};return this.on("option:"+r,n=>{let p=`error: option '${e.flags}' argument '${n}' is invalid.`;i(n,p,"cli");}),e.envVar&&this.on("optionEnv:"+r,n=>{let p=`error: option '${e.flags}' value '${n}' from env '${e.envVar}' is invalid.`;i(n,p,"env");}),this}_optionEx(e,r,a,i,n){if(typeof r=="object"&&r instanceof Cf)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");let p=this.createOption(r,a);if(p.makeOptionMandatory(!!e.mandatory),typeof i=="function")p.default(n).argParser(i);else if(i instanceof RegExp){let s=i;i=(o,l)=>{let d=s.exec(o);return d?d[0]:l},p.default(n).argParser(i);}else p.default(i);return this.addOption(p)}option(e,r,a,i){return this._optionEx({},e,r,a,i)}requiredOption(e,r,a,i){return this._optionEx({mandatory:true},e,r,a,i)}combineFlagAndOptionalValue(e=true){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=true){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=true){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=true){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=true){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw new Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(e=true){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");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,a){return this._storeOptionsAsProperties?this[e]=r:this._optionValues[e]=r,this._optionValueSources[e]=a,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let r;return this._getCommandAndAncestors().forEach(a=>{a.getOptionValueSource(e)!==void 0&&(r=a.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");if(r=r||{},e===void 0&&r.from===void 0){We.versions?.electron&&(r.from="electron");let i=We.execArgv??[];(i.includes("-e")||i.includes("--eval")||i.includes("-p")||i.includes("--print"))&&(r.from="eval");}e===void 0&&(e=We.argv),this.rawArgs=e.slice();let a;switch(r.from){case void 0:case "node":this._scriptPath=e[1],a=e.slice(2);break;case "electron":We.defaultApp?(this._scriptPath=e[1],a=e.slice(2)):a=e.slice(1);break;case "user":a=e.slice(0);break;case "eval":a=e.slice(1);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",a}parse(e,r){let a=this._prepareUserArgs(e,r);return this._parseCommand([],a),this}async parseAsync(e,r){let a=this._prepareUserArgs(e,r);return await this._parseCommand([],a),this}_executeSubCommand(e,r){r=r.slice();let a=false,i=[".js",".ts",".tsx",".mjs",".cjs"];function n(d,f){let h=fr.resolve(d,f);if(P8.existsSync(h))return h;if(i.includes(fr.extname(f)))return;let b=i.find(g=>P8.existsSync(`${h}${g}`));if(b)return `${h}${b}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let p=e._executableFile||`${this._name}-${e._name}`,s=this._executableDir||"";if(this._scriptPath){let d;try{d=P8.realpathSync(this._scriptPath);}catch{d=this._scriptPath;}s=fr.resolve(fr.dirname(d),s);}if(s){let d=n(s,p);if(!d&&!e._executableFile&&this._scriptPath){let f=fr.basename(this._scriptPath,fr.extname(this._scriptPath));f!==this._name&&(d=n(s,`${f}-${e._name}`));}p=d||p;}a=i.includes(fr.extname(p));let o;We.platform!=="win32"?a?(r.unshift(p),r=Tf(We.execArgv).concat(r),o=O8.spawn(We.argv[0],r,{stdio:"inherit"})):o=O8.spawn(p,r,{stdio:"inherit"}):(r.unshift(p),r=Tf(We.execArgv).concat(r),o=O8.spawn(We.execPath,r,{stdio:"inherit"})),o.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(f=>{We.on(f,()=>{o.killed===false&&o.exitCode===null&&o.kill(f);});});let l=this._exitCallback;o.on("close",d=>{d=d??1,l?l(new N8(d,"commander.executeSubCommandAsync","(close)")):We.exit(d);}),o.on("error",d=>{if(d.code==="ENOENT"){let f=s?`searched for local subcommand relative to directory '${s}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",h=`'${p}' does not exist
- if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
- ${f}`;throw new Error(h)}else if(d.code==="EACCES")throw new Error(`'${p}' not executable`);if(!l)We.exit(1);else {let f=new N8(1,"commander.executeSubCommandAsync","(error)");f.nestedError=d,l(f);}}),this.runningCommand=o;}_dispatchSubcommand(e,r,a){let i=this._findCommand(e);i||this.help({error:true});let n;return n=this._chainOrCallSubCommandHook(n,i,"preSubcommand"),n=this._chainOrCall(n,()=>{if(i._executableHandler)this._executeSubCommand(i,r.concat(a));else return i._parseCommand(r,a)}),n}_dispatchHelpCommand(e){e||this.help();let r=this._findCommand(e);return r&&!r._executableHandler&&r.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_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=(a,i,n)=>{let p=i;if(i!==null&&a.parseArg){let s=`error: command-argument value '${i}' is invalid for argument '${a.name()}'.`;p=this._callParseArg(a,i,n,s);}return p};this._checkNumberOfArguments();let r=[];this.registeredArguments.forEach((a,i)=>{let n=a.defaultValue;a.variadic?i<this.args.length?(n=this.args.slice(i),a.parseArg&&(n=n.reduce((p,s)=>e(a,s,p),a.defaultValue))):n===void 0&&(n=[]):i<this.args.length&&(n=this.args[i],a.parseArg&&(n=e(a,n,a.defaultValue))),r[i]=n;}),this.processedArgs=r;}_chainOrCall(e,r){return e&&e.then&&typeof e.then=="function"?e.then(()=>r()):r()}_chainOrCallHooks(e,r){let a=e,i=[];return this._getCommandAndAncestors().reverse().filter(n=>n._lifeCycleHooks[r]!==void 0).forEach(n=>{n._lifeCycleHooks[r].forEach(p=>{i.push({hookedCommand:n,callback:p});});}),r==="postAction"&&i.reverse(),i.forEach(n=>{a=this._chainOrCall(a,()=>n.callback(n.hookedCommand,this));}),a}_chainOrCallSubCommandHook(e,r,a){let i=e;return this._lifeCycleHooks[a]!==void 0&&this._lifeCycleHooks[a].forEach(n=>{i=this._chainOrCall(i,()=>n(this,r));}),i}_parseCommand(e,r){let a=this.parseOptions(r);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(a.operands),r=a.unknown,this.args=e.concat(r),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),r);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(r),this._dispatchSubcommand(this._defaultCommandName,e,r);this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName&&this.help({error:true}),this._outputHelpIfRequested(a.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let i=()=>{a.unknown.length>0&&this.unknownOption(a.unknown[0]);},n=`command:${this.name()}`;if(this._actionHandler){i(),this._processArguments();let p;return p=this._chainOrCallHooks(p,"preAction"),p=this._chainOrCall(p,()=>this._actionHandler(this.processedArgs)),this.parent&&(p=this._chainOrCall(p,()=>{this.parent.emit(n,e,r);})),p=this._chainOrCallHooks(p,"postAction"),p}if(this.parent&&this.parent.listenerCount(n))i(),this._processArguments(),this.parent.emit(n,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:true})):(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(a=>{let i=a.attributeName();return this.getOptionValue(i)===void 0?false:this.getOptionValueSource(i)!=="default"});e.filter(a=>a.conflictsWith.length>0).forEach(a=>{let i=e.find(n=>a.conflictsWith.includes(n.attributeName()));i&&this._conflictingOption(a,i);});}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions();});}parseOptions(e){let r=[],a=[],i=r,n=e.slice();function p(o){return o.length>1&&o[0]==="-"}let s=null;for(;n.length;){let o=n.shift();if(o==="--"){i===a&&i.push(o),i.push(...n);break}if(s&&!p(o)){this.emit(`option:${s.name()}`,o);continue}if(s=null,p(o)){let l=this._findOption(o);if(l){if(l.required){let d=n.shift();d===void 0&&this.optionMissingArgument(l),this.emit(`option:${l.name()}`,d);}else if(l.optional){let d=null;n.length>0&&!p(n[0])&&(d=n.shift()),this.emit(`option:${l.name()}`,d);}else this.emit(`option:${l.name()}`);s=l.variadic?l:null;continue}}if(o.length>2&&o[0]==="-"&&o[1]!=="-"){let l=this._findOption(`-${o[1]}`);if(l){l.required||l.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${l.name()}`,o.slice(2)):(this.emit(`option:${l.name()}`),n.unshift(`-${o.slice(2)}`));continue}}if(/^--[^=]+=/.test(o)){let l=o.indexOf("="),d=this._findOption(o.slice(0,l));if(d&&(d.required||d.optional)){this.emit(`option:${d.name()}`,o.slice(l+1));continue}}if(p(o)&&(i=a),(this._enablePositionalOptions||this._passThroughOptions)&&r.length===0&&a.length===0){if(this._findCommand(o)){r.push(o),n.length>0&&a.push(...n);break}else if(this._getHelpCommand()&&o===this._getHelpCommand().name()){r.push(o),n.length>0&&r.push(...n);break}else if(this._defaultCommandName){a.push(o),n.length>0&&a.push(...n);break}}if(this._passThroughOptions){i.push(o),n.length>0&&i.push(...n);break}i.push(o);}return {operands:r,unknown:a}}opts(){if(this._storeOptionsAsProperties){let e={},r=this.options.length;for(let a=0;a<r;a++){let i=this.options[a].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}
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError=="string"?this._outputConfiguration.writeErr(`${this._showHelpAfterError}
`):this._showHelpAfterError&&(this._outputConfiguration.writeErr(`
`),this.outputHelp({error:true}));let a=r||{},i=a.exitCode||1,n=a.code||"commander.error";this._exit(i,n,e);}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in We.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()}`,We.env[e.envVar]):this.emit(`optionEnv:${e.name()}`));}});}_parseOptionsImplied(){let e=new IT(this.options),r=a=>this.getOptionValue(a)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(a));this.options.filter(a=>a.implied!==void 0&&r(a.attributeName())&&e.valueFromOption(this.getOptionValue(a.attributeName()),a)).forEach(a=>{Object.keys(a.implied).filter(i=>!r(i)).forEach(i=>{this.setOptionValueWithSource(i,a.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 a=p=>{let s=p.attributeName(),o=this.getOptionValue(s),l=this.options.find(f=>f.negate&&s===f.attributeName()),d=this.options.find(f=>!f.negate&&s===f.attributeName());return l&&(l.presetArg===void 0&&o===false||l.presetArg!==void 0&&o===l.presetArg)?l:d||p},i=p=>{let s=a(p),o=s.attributeName();return this.getOptionValueSource(o)==="env"?`environment variable '${s.envVar}'`:`option '${s.flags}'`},n=`error: ${i(e)} cannot be used with ${i(r)}`;this.error(n,{code:"commander.conflictingOption"});}unknownOption(e){if(this._allowUnknownOption)return;let r="";if(e.startsWith("--")&&this._showSuggestionAfterError){let i=[],n=this;do{let p=n.createHelp().visibleOptions(n).filter(s=>s.long).map(s=>s.long);i=i.concat(p),n=n.parent;}while(n&&!n._enablePositionalOptions);r=Af(e,i);}let a=`error: unknown option '${e}'${r}`;this.error(a,{code:"commander.unknownOption"});}_excessArguments(e){if(this._allowExcessArguments)return;let r=this.registeredArguments.length,a=r===1?"":"s",n=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${r} argument${a} but got ${e.length}.`;this.error(n,{code:"commander.excessArguments"});}unknownCommand(){let e=this.args[0],r="";if(this._showSuggestionAfterError){let i=[];this.createHelp().visibleCommands(this).forEach(n=>{i.push(n.name()),n.alias()&&i.push(n.alias());}),r=Af(e,i);}let a=`error: unknown command '${e}'${r}`;this.error(a,{code:"commander.unknownCommand"});}version(e,r,a){if(e===void 0)return this._version;this._version=e,r=r||"-V, --version",a=a||"output the version number";let i=this.createOption(r,a);return this._versionOptionName=i.attributeName(),this._registerOption(i),this.on("option:"+i.name(),()=>{this._outputConfiguration.writeOut(`${e}
`),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");let a=this.parent?._findCommand(e);if(a){let i=[a.name()].concat(a.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${i}'`)}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(a=>qT(a));return [].concat(this.options.length||this._helpOption!==null?"[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=fr.basename(e,fr.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},a;return r.error?a=i=>this._outputConfiguration.writeErr(i):a=i=>this._outputConfiguration.writeOut(i),r.write=e.write||a,r.command=this,r}outputHelp(e){let r;typeof e=="function"&&(r=e,e=void 0);let a=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(n=>n.emit("beforeAllHelp",a)),this.emit("beforeHelp",a);let i=this.helpInformation(a);if(r&&(i=r(i),typeof i!="string"&&!Buffer.isBuffer(i)))throw new Error("outputHelp callback must return a string or a Buffer");a.write(i),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",a),this._getCommandAndAncestors().forEach(n=>n.emit("afterAllHelp",a));}helpOption(e,r){return typeof e=="boolean"?(e?this._helpOption=this._helpOption??void 0:this._helpOption=null,this):(e=e??"-h, --help",r=r??"display help for command",this._helpOption=this.createOption(e,r),this)}_getHelpOption(){return this._helpOption===void 0&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let r=We.exitCode||0;r===0&&e&&typeof e!="function"&&e.error&&(r=1),this._exit(r,"commander.help","(outputHelp)");}addHelpText(e,r){let a=["beforeAll","before","after","afterAll"];if(!a.includes(e))throw new Error(`Unexpected value for position to addHelpText.
Expecting one of '${a.join("', '")}'`);let i=`${e}Help`;return this.on(i,n=>{let p;typeof r=="function"?p=r({error:n.error,command:n.command}):p=r,p&&n.write(`${p}
`);}),this}_outputHelpIfRequested(e){let r=this._getHelpOption();r&&e.find(i=>r.is(i))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"));}};function Tf(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let r,a="127.0.0.1",i="9229",n;return (n=e.match(/^(--inspect(-brk)?)$/))!==null?r=n[1]:(n=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(r=n[1],/^\d+$/.test(n[3])?i=n[3]:a=n[3]):(n=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(r=n[1],a=n[3],i=n[4]),r&&i!=="0"?`${r}=${a}:${parseInt(i)+1}`:e})}Of.Command=B8;});var Rf=_(n1=>{var{Argument:Nf}=Zo(),{Command:k8}=Pf(),{CommanderError:LT,InvalidArgumentError:Bf}=Op(),{Help:$T}=E8(),{Option:kf}=T8();n1.program=new k8;n1.createCommand=t=>new k8(t);n1.createOption=(t,e)=>new kf(t,e);n1.createArgument=(t,e)=>new Nf(t,e);n1.Command=k8;n1.Option=kf;n1.Argument=Nf;n1.Help=$T;n1.CommanderError=LT;n1.InvalidArgumentError=Bf;n1.InvalidOptionArgumentError=Bf;});var eh=_((K1e,fO)=>{fO.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