@storybook/addon-interactions 8.1.0-alpha.2 → 8.1.0-alpha.4

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/dist/preset.js CHANGED
@@ -34,7 +34,7 @@ var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropD
34
34
  `)+postfix,endIndex=index+1,index=string.indexOf(`
35
35
  `,endIndex);}while(index!==-1);return returnValue+=string.substr(endIndex),returnValue};module2.exports={stringReplaceAll,stringEncaseCRLFWithFirstIndex};}}),require_templates4=__commonJS2({"../../node_modules/chalk/source/templates.js"(exports2,module2){var TEMPLATE_REGEX=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n",`
36
36
  `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function unescape(c){let u=c[0]==="u",bracket=c[1]==="{";return u&&!bracket&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):u&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let results=[],chunks=arguments_.trim().split(/\s*,\s*/g),matches;for(let chunk of chunks){let number=Number(chunk);if(!Number.isNaN(number))results.push(number);else if(matches=chunk.match(STRING_REGEX))results.push(matches[2].replace(ESCAPE_REGEX,(m,escape,character)=>escape?unescape(escape):character));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches;for(;(matches=STYLE_REGEX.exec(style))!==null;){let name=matches[1];if(matches[2]){let args=parseArguments(name,matches[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName];}return current}module2.exports=(chalk,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,(m,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string=chunk.join("");chunk=[],chunks.push(styles.length===0?string:buildStyle(chalk,styles)(string)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk,styles)(chunk.join(""))),chunk=[],styles.pop();}else chunk.push(character);}),chunks.push(chunk.join("")),styles.length>0){let errMessage=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?"":"s"} (\`}\`)`;throw new Error(errMessage)}return chunks.join("")};}}),require_source2=__commonJS2({"../../node_modules/chalk/source/index.js"(exports2,module2){var ansiStyles=require_ansi_styles4(),{stdout:stdoutColor,stderr:stderrColor}=require_supports_color4(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util5(),{isArray}=Array,levelMapping=["ansi","ansi","ansi256","ansi16m"],styles=Object.create(null),applyOptions=(object,options={})=>{if(options.level&&!(Number.isInteger(options.level)&&options.level>=0&&options.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=options.level===void 0?colorLevel:options.level;},ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk2={};return applyOptions(chalk2,options),chalk2.template=(...arguments_)=>chalkTag(chalk2.template,...arguments_),Object.setPrototypeOf(chalk2,Chalk.prototype),Object.setPrototypeOf(chalk2.template,chalk2),chalk2.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},chalk2.template.Instance=ChalkClass,chalk2.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:builder}),builder}};var usedModels=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){let bgModel="bg"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};}var proto=Object.defineProperties(()=>{},{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level;}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return parent===void 0?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>isArray(arguments_[0])&&isArray(arguments_[0].raw)?applyStyle(builder,chalkTag(builder,...arguments_)):applyStyle(builder,arguments_.length===1?""+arguments_[0]:arguments_.join(" "));return Object.setPrototypeOf(builder,proto),builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string)=>{if(self2.level<=0||!string)return self2._isEmpty?"":string;let styler=self2._styler;if(styler===void 0)return string;let{openAll,closeAll}=styler;if(string.indexOf("\x1B")!==-1)for(;styler!==void 0;)string=stringReplaceAll(string,styler.close,styler.open),styler=styler.parent;let lfIndex=string.indexOf(`
37
- `);return lfIndex!==-1&&(string=stringEncaseCRLFWithFirstIndex(string,closeAll,openAll,lfIndex)),openAll+string+closeAll},template,chalkTag=(chalk2,...strings)=>{let[firstString]=strings;if(!isArray(firstString)||!isArray(firstString.raw))return strings.join(" ");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i<firstString.length;i++)parts.push(String(arguments_[i-1]).replace(/[{}\\]/g,"\\$&"),String(firstString.raw[i]));return template===void 0&&(template=require_templates4()),template(chalk2,parts.join(""))};Object.defineProperties(Chalk.prototype,styles);var chalk=Chalk();chalk.supportsColor=stdoutColor,chalk.stderr=Chalk({level:stderrColor?stderrColor.level:0}),chalk.stderr.supportsColor=stderrColor,module2.exports=chalk;}}),server_errors_exports={};__export2(server_errors_exports,{AngularLegacyBuildOptionsError:()=>AngularLegacyBuildOptionsError,Category:()=>Category,ConflictingStaticDirConfigError:()=>ConflictingStaticDirConfigError,CouldNotEvaluateFrameworkError:()=>CouldNotEvaluateFrameworkError,CriticalPresetLoadError:()=>CriticalPresetLoadError,GenerateNewProjectOnInitError:()=>GenerateNewProjectOnInitError,GoogleFontsDownloadError:()=>GoogleFontsDownloadError,GoogleFontsLoadingError:()=>GoogleFontsLoadingError,InvalidFrameworkNameError:()=>InvalidFrameworkNameError,InvalidStoriesEntryError:()=>InvalidStoriesEntryError,MainFileESMOnlyImportError:()=>MainFileESMOnlyImportError,MainFileEvaluationError:()=>MainFileEvaluationError,MainFileMissingError:()=>MainFileMissingError,MissingAngularJsonError:()=>MissingAngularJsonError,MissingBuilderError:()=>MissingBuilderError,MissingFrameworkFieldError:()=>MissingFrameworkFieldError,NoMatchingExportError:()=>NoMatchingExportError,NoStatsForViteDevError:()=>NoStatsForViteDevError,NxProjectDetectedError:()=>NxProjectDetectedError,UpgradeStorybookToLowerVersionError:()=>UpgradeStorybookToLowerVersionError,UpgradeStorybookToSameVersionError:()=>UpgradeStorybookToSameVersionError,UpgradeStorybookUnknownCurrentVersionError:()=>UpgradeStorybookUnknownCurrentVersionError,WebpackCompilationError:()=>WebpackCompilationError,WebpackInvocationError:()=>WebpackInvocationError,WebpackMissingStatsError:()=>WebpackMissingStatsError});module.exports=__toCommonJS2(server_errors_exports);var import_chalk=__toESM2(require_source2()),import_ts_dedent=__toESM2(__require("ts-dedent")),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0;}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return `SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return `${this.fullErrorCode} (${errorName})`}get message(){let page;return this.documentation===!0?page=`https://storybook.js.org/error/${this.fullErrorCode}`:typeof this.documentation=="string"?page=this.documentation:Array.isArray(this.documentation)&&(page=`
37
+ `);return lfIndex!==-1&&(string=stringEncaseCRLFWithFirstIndex(string,closeAll,openAll,lfIndex)),openAll+string+closeAll},template,chalkTag=(chalk2,...strings)=>{let[firstString]=strings;if(!isArray(firstString)||!isArray(firstString.raw))return strings.join(" ");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i<firstString.length;i++)parts.push(String(arguments_[i-1]).replace(/[{}\\]/g,"\\$&"),String(firstString.raw[i]));return template===void 0&&(template=require_templates4()),template(chalk2,parts.join(""))};Object.defineProperties(Chalk.prototype,styles);var chalk=Chalk();chalk.supportsColor=stdoutColor,chalk.stderr=Chalk({level:stderrColor?stderrColor.level:0}),chalk.stderr.supportsColor=stderrColor,module2.exports=chalk;}}),server_errors_exports={};__export2(server_errors_exports,{AngularLegacyBuildOptionsError:()=>AngularLegacyBuildOptionsError,Category:()=>Category,ConflictingStaticDirConfigError:()=>ConflictingStaticDirConfigError,CouldNotEvaluateFrameworkError:()=>CouldNotEvaluateFrameworkError,CriticalPresetLoadError:()=>CriticalPresetLoadError,GenerateNewProjectOnInitError:()=>GenerateNewProjectOnInitError,GoogleFontsDownloadError:()=>GoogleFontsDownloadError,GoogleFontsLoadingError:()=>GoogleFontsLoadingError,InvalidFrameworkNameError:()=>InvalidFrameworkNameError,InvalidStoriesEntryError:()=>InvalidStoriesEntryError,MainFileESMOnlyImportError:()=>MainFileESMOnlyImportError,MainFileEvaluationError:()=>MainFileEvaluationError,MainFileMissingError:()=>MainFileMissingError,MissingAngularJsonError:()=>MissingAngularJsonError,MissingBuilderError:()=>MissingBuilderError,MissingFrameworkFieldError:()=>MissingFrameworkFieldError,NoMatchingExportError:()=>NoMatchingExportError,NoStatsForViteDevError:()=>NoStatsForViteDevError,NxProjectDetectedError:()=>NxProjectDetectedError,UpgradeStorybookInWrongWorkingDirectory:()=>UpgradeStorybookInWrongWorkingDirectory,UpgradeStorybookToLowerVersionError:()=>UpgradeStorybookToLowerVersionError,UpgradeStorybookToSameVersionError:()=>UpgradeStorybookToSameVersionError,UpgradeStorybookUnknownCurrentVersionError:()=>UpgradeStorybookUnknownCurrentVersionError,WebpackCompilationError:()=>WebpackCompilationError,WebpackInvocationError:()=>WebpackInvocationError,WebpackMissingStatsError:()=>WebpackMissingStatsError});module.exports=__toCommonJS2(server_errors_exports);var import_chalk=__toESM2(require_source2()),import_ts_dedent=__toESM2(__require("ts-dedent")),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0;}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return `SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return `${this.fullErrorCode} (${errorName})`}get message(){let page;return this.documentation===!0?page=`https://storybook.js.org/error/${this.fullErrorCode}`:typeof this.documentation=="string"?page=this.documentation:Array.isArray(this.documentation)&&(page=`
38
38
  ${this.documentation.map(doc=>` - ${doc}`).join(`
39
39
  `)}`),`${this.template()}${page!=null?`
40
40
 
@@ -45,11 +45,11 @@ More info: ${page}
45
45
  `}},MissingFrameworkFieldError=class extends StorybookError{constructor(){super(...arguments),this.category="CORE-COMMON",this.code=1,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api";}template(){return import_ts_dedent.default`
46
46
  Could not find a 'framework' field in Storybook config.
47
47
 
48
- Please run 'npx storybook@next automigrate' to automatically fix your config.
48
+ Please run 'npx storybook automigrate' to automatically fix your config.
49
49
  `}},InvalidFrameworkNameError=class extends StorybookError{constructor(data){super(),this.data=data,this.category="CORE-COMMON",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api";}template(){return import_ts_dedent.default`
50
50
  Invalid value of '${this.data.frameworkName}' in the 'framework' field of Storybook config.
51
51
 
52
- Please run 'npx storybook@next automigrate' to automatically fix your config.
52
+ Please run 'npx storybook automigrate' to automatically fix your config.
53
53
  `}},CouldNotEvaluateFrameworkError=class extends StorybookError{constructor(data){super(),this.data=data,this.category="CORE-COMMON",this.code=3;}template(){return import_ts_dedent.default`
54
54
  Could not evaluate the '${this.data.frameworkName}' package from the 'framework' field of Storybook config.
55
55
 
@@ -78,7 +78,7 @@ More info: ${page}
78
78
  Your Storybook startup script uses a solution that is not supported anymore.
79
79
  You must use Angular builder to have an explicit configuration on the project used in angular.json.
80
80
 
81
- Please run 'npx storybook@next automigrate' to automatically fix your config.
81
+ Please run 'npx storybook automigrate' to automatically fix your config.
82
82
  `}},CriticalPresetLoadError=class extends StorybookError{constructor(data){super(),this.data=data,this.category="CORE-SERVER",this.code=2;}template(){return import_ts_dedent.default`
83
83
  Storybook failed to load the following preset: ${this.data.presetName}.
84
84
 
@@ -113,7 +113,7 @@ More info: ${page}
113
113
  Correct example:
114
114
  { "@storybook/react": "7.5.3", "@storybook/react-vite": "7.5.3", "storybook": "7.5.3" }
115
115
 
116
- Please run \`npx storybook@latest doctor\` for guidance on how to fix this issue.
116
+ Please run \`npx storybook doctor\` for guidance on how to fix this issue.
117
117
  `}},MainFileESMOnlyImportError=class extends StorybookError{constructor(data){super(),this.data=data,this.category="CORE-SERVER",this.code=5,this.documentation="https://github.com/storybookjs/storybook/issues/23972#issuecomment-1948534058";}template(){let message=[`Storybook failed to load ${this.data.location}`,"","It looks like the file tried to load/import an ESM only module.",`Support for this is currently limited in ${this.data.location}`,"You can import ESM modules in your main file, but only as dynamic import.",""];return this.data.line&&message.push((0, import_chalk.white)(`In your ${(0, import_chalk.yellow)(this.data.location)} file, line ${import_chalk.bold.cyan(this.data.num)} threw an error:`),(0, import_chalk.grey)(this.data.line)),message.push("",(0, import_chalk.white)(`Convert the static import to a dynamic import ${(0, import_chalk.underline)("where they are used")}.`),(0, import_chalk.white)("Example:")+" "+(0, import_chalk.gray)("await import(<your ESM only module>);"),""),message.join(`
118
118
  `)}},MainFileMissingError=class extends StorybookError{constructor(data){super(),this.data=data,this.category="CORE-SERVER",this.code=6,this.stack="",this.documentation="https://storybook.js.org/docs/configure";}template(){return import_ts_dedent.default`
119
119
  No configuration files have been found in your configDir: ${(0, import_chalk.yellow)(this.data.location)}.
@@ -152,12 +152,16 @@ More info: ${page}
152
152
 
153
153
  If you intended to re-run automigrations, you should run the "automigrate" command directly instead:
154
154
 
155
- "npx storybook@${this.data.beforeVersion} automigrate"
155
+ "npx storybook automigrate"
156
156
  `}},UpgradeStorybookUnknownCurrentVersionError=class extends StorybookError{constructor(){super(...arguments),this.category="CLI_UPGRADE",this.code=5;}template(){return import_ts_dedent.default`
157
157
  We couldn't determine the current version of Storybook in your project.
158
158
 
159
159
  Are you running the Storybook CLI in a project without Storybook?
160
160
  It might help if you specify your Storybook config directory with the --config-dir flag.
161
+ `}},UpgradeStorybookInWrongWorkingDirectory=class extends StorybookError{constructor(){super(...arguments),this.category="CLI_UPGRADE",this.code=6;}template(){return import_ts_dedent.default`
162
+ You are running the upgrade command in a CWD that does not contain Storybook dependencies.
163
+
164
+ Did you mean to run it in a different directory? Make sure the directory you run this command in contains a package.json with your Storybook dependencies.
161
165
  `}},NoStatsForViteDevError=class extends StorybookError{constructor(){super(...arguments),this.category="BUILDER-VITE",this.code=1;}template(){return import_ts_dedent.default`
162
166
  Unable to write preview stats as the Vite builder does not support stats in dev mode.
163
167
 
@@ -263,7 +267,7 @@ GFS4: `),console.error(m);});fs[gracefulQueue]||(queue=global[gracefulQueue]||[]
263
267
 
264
268
  see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001");let{srcStat,destStat}=await stat.checkPaths(src,dest,"copy",opts);if(await stat.checkParentPaths(src,srcStat,dest,"copy"),!await runFilter(src,dest,opts))return;let destParent=path2.dirname(dest);await pathExists(destParent)||await mkdirs(destParent),await getStatsAndPerformCopy(destStat,src,dest,opts);}async function runFilter(src,dest,opts){return opts.filter?opts.filter(src,dest):!0}async function getStatsAndPerformCopy(destStat,src,dest,opts){let srcStat=await(opts.dereference?fs.stat:fs.lstat)(src);if(srcStat.isDirectory())return onDir(srcStat,destStat,src,dest,opts);if(srcStat.isFile()||srcStat.isCharacterDevice()||srcStat.isBlockDevice())return onFile(srcStat,destStat,src,dest,opts);if(srcStat.isSymbolicLink())return onLink(destStat,src,dest,opts);throw srcStat.isSocket()?new Error(`Cannot copy a socket file: ${src}`):srcStat.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${src}`):new Error(`Unknown file: ${src}`)}async function onFile(srcStat,destStat,src,dest,opts){if(!destStat)return copyFile(srcStat,src,dest,opts);if(opts.overwrite)return await fs.unlink(dest),copyFile(srcStat,src,dest,opts);if(opts.errorOnExist)throw new Error(`'${dest}' already exists`)}async function copyFile(srcStat,src,dest,opts){if(await fs.copyFile(src,dest),opts.preserveTimestamps){fileIsNotWritable(srcStat.mode)&&await makeFileWritable(dest,srcStat.mode);let updatedSrcStat=await fs.stat(src);await utimesMillis(dest,updatedSrcStat.atime,updatedSrcStat.mtime);}return fs.chmod(dest,srcStat.mode)}function fileIsNotWritable(srcMode){return (srcMode&128)===0}function makeFileWritable(dest,srcMode){return fs.chmod(dest,srcMode|128)}async function onDir(srcStat,destStat,src,dest,opts){destStat||await fs.mkdir(dest);let items=await fs.readdir(src);await Promise.all(items.map(async item=>{let srcItem=path2.join(src,item),destItem=path2.join(dest,item);if(!await runFilter(srcItem,destItem,opts))return;let{destStat:destStat2}=await stat.checkPaths(srcItem,destItem,"copy",opts);return getStatsAndPerformCopy(destStat2,srcItem,destItem,opts)})),destStat||await fs.chmod(dest,srcStat.mode);}async function onLink(destStat,src,dest,opts){let resolvedSrc=await fs.readlink(src);if(opts.dereference&&(resolvedSrc=path2.resolve(process.cwd(),resolvedSrc)),!destStat)return fs.symlink(resolvedSrc,dest);let resolvedDest=null;try{resolvedDest=await fs.readlink(dest);}catch(e){if(e.code==="EINVAL"||e.code==="UNKNOWN")return fs.symlink(resolvedSrc,dest);throw e}if(opts.dereference&&(resolvedDest=path2.resolve(process.cwd(),resolvedDest)),stat.isSrcSubdir(resolvedSrc,resolvedDest))throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);if(stat.isSrcSubdir(resolvedDest,resolvedSrc))throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);return await fs.unlink(dest),fs.symlink(resolvedSrc,dest)}module.exports=copy;}});var require_copy_sync2=__commonJS({"../../node_modules/fs-extra/lib/copy/copy-sync.js"(exports,module){var fs=require_graceful_fs(),path2=__require("path"),mkdirsSync=require_mkdirs2().mkdirsSync,utimesMillisSync=require_utimes2().utimesMillisSync,stat=require_stat2();function copySync(src,dest,opts){typeof opts=="function"&&(opts={filter:opts}),opts=opts||{},opts.clobber="clobber"in opts?!!opts.clobber:!0,opts.overwrite="overwrite"in opts?!!opts.overwrite:opts.clobber,opts.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
265
269
 
266
- see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat,destStat}=stat.checkPathsSync(src,dest,"copy",opts);if(stat.checkParentPathsSync(src,srcStat,dest,"copy"),opts.filter&&!opts.filter(src,dest))return;let destParent=path2.dirname(dest);return fs.existsSync(destParent)||mkdirsSync(destParent),getStats(destStat,src,dest,opts)}function getStats(destStat,src,dest,opts){let srcStat=(opts.dereference?fs.statSync:fs.lstatSync)(src);if(srcStat.isDirectory())return onDir(srcStat,destStat,src,dest,opts);if(srcStat.isFile()||srcStat.isCharacterDevice()||srcStat.isBlockDevice())return onFile(srcStat,destStat,src,dest,opts);if(srcStat.isSymbolicLink())return onLink(destStat,src,dest,opts);throw srcStat.isSocket()?new Error(`Cannot copy a socket file: ${src}`):srcStat.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${src}`):new Error(`Unknown file: ${src}`)}function onFile(srcStat,destStat,src,dest,opts){return destStat?mayCopyFile(srcStat,src,dest,opts):copyFile(srcStat,src,dest,opts)}function mayCopyFile(srcStat,src,dest,opts){if(opts.overwrite)return fs.unlinkSync(dest),copyFile(srcStat,src,dest,opts);if(opts.errorOnExist)throw new Error(`'${dest}' already exists`)}function copyFile(srcStat,src,dest,opts){return fs.copyFileSync(src,dest),opts.preserveTimestamps&&handleTimestamps(srcStat.mode,src,dest),setDestMode(dest,srcStat.mode)}function handleTimestamps(srcMode,src,dest){return fileIsNotWritable(srcMode)&&makeFileWritable(dest,srcMode),setDestTimestamps(src,dest)}function fileIsNotWritable(srcMode){return (srcMode&128)===0}function makeFileWritable(dest,srcMode){return setDestMode(dest,srcMode|128)}function setDestMode(dest,srcMode){return fs.chmodSync(dest,srcMode)}function setDestTimestamps(src,dest){let updatedSrcStat=fs.statSync(src);return utimesMillisSync(dest,updatedSrcStat.atime,updatedSrcStat.mtime)}function onDir(srcStat,destStat,src,dest,opts){return destStat?copyDir(src,dest,opts):mkDirAndCopy(srcStat.mode,src,dest,opts)}function mkDirAndCopy(srcMode,src,dest,opts){return fs.mkdirSync(dest),copyDir(src,dest,opts),setDestMode(dest,srcMode)}function copyDir(src,dest,opts){fs.readdirSync(src).forEach(item=>copyDirItem(item,src,dest,opts));}function copyDirItem(item,src,dest,opts){let srcItem=path2.join(src,item),destItem=path2.join(dest,item);if(opts.filter&&!opts.filter(srcItem,destItem))return;let{destStat}=stat.checkPathsSync(srcItem,destItem,"copy",opts);return getStats(destStat,srcItem,destItem,opts)}function onLink(destStat,src,dest,opts){let resolvedSrc=fs.readlinkSync(src);if(opts.dereference&&(resolvedSrc=path2.resolve(process.cwd(),resolvedSrc)),destStat){let resolvedDest;try{resolvedDest=fs.readlinkSync(dest);}catch(err){if(err.code==="EINVAL"||err.code==="UNKNOWN")return fs.symlinkSync(resolvedSrc,dest);throw err}if(opts.dereference&&(resolvedDest=path2.resolve(process.cwd(),resolvedDest)),stat.isSrcSubdir(resolvedSrc,resolvedDest))throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);if(stat.isSrcSubdir(resolvedDest,resolvedSrc))throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);return copyLink(resolvedSrc,dest)}else return fs.symlinkSync(resolvedSrc,dest)}function copyLink(resolvedSrc,dest){return fs.unlinkSync(dest),fs.symlinkSync(resolvedSrc,dest)}module.exports=copySync;}});var require_copy4=__commonJS({"../../node_modules/fs-extra/lib/copy/index.js"(exports,module){var u=require_universalify().fromPromise;module.exports={copy:u(require_copy3()),copySync:require_copy_sync2()};}});var require_remove3=__commonJS({"../../node_modules/fs-extra/lib/remove/index.js"(exports,module){var fs=require_graceful_fs(),u=require_universalify().fromCallback;function remove(path2,callback){fs.rm(path2,{recursive:!0,force:!0},callback);}function removeSync(path2){fs.rmSync(path2,{recursive:!0,force:!0});}module.exports={remove:u(remove),removeSync};}});var require_empty3=__commonJS({"../../node_modules/fs-extra/lib/empty/index.js"(exports,module){var u=require_universalify().fromPromise,fs=require_fs2(),path2=__require("path"),mkdir=require_mkdirs2(),remove=require_remove3(),emptyDir=u(async function(dir){let items;try{items=await fs.readdir(dir);}catch{return mkdir.mkdirs(dir)}return Promise.all(items.map(item=>remove.remove(path2.join(dir,item))))});function emptyDirSync(dir){let items;try{items=fs.readdirSync(dir);}catch{return mkdir.mkdirsSync(dir)}items.forEach(item=>{item=path2.join(dir,item),remove.removeSync(item);});}module.exports={emptyDirSync,emptydirSync:emptyDirSync,emptyDir,emptydir:emptyDir};}});var require_file2=__commonJS({"../../node_modules/fs-extra/lib/ensure/file.js"(exports,module){var u=require_universalify().fromPromise,path2=__require("path"),fs=require_fs2(),mkdir=require_mkdirs2();async function createFile(file){let stats;try{stats=await fs.stat(file);}catch{}if(stats&&stats.isFile())return;let dir=path2.dirname(file),dirStats=null;try{dirStats=await fs.stat(dir);}catch(err){if(err.code==="ENOENT"){await mkdir.mkdirs(dir),await fs.writeFile(file,"");return}else throw err}dirStats.isDirectory()?await fs.writeFile(file,""):await fs.readdir(dir);}function createFileSync(file){let stats;try{stats=fs.statSync(file);}catch{}if(stats&&stats.isFile())return;let dir=path2.dirname(file);try{fs.statSync(dir).isDirectory()||fs.readdirSync(dir);}catch(err){if(err&&err.code==="ENOENT")mkdir.mkdirsSync(dir);else throw err}fs.writeFileSync(file,"");}module.exports={createFile:u(createFile),createFileSync};}});var require_link2=__commonJS({"../../node_modules/fs-extra/lib/ensure/link.js"(exports,module){var u=require_universalify().fromPromise,path2=__require("path"),fs=require_fs2(),mkdir=require_mkdirs2(),{pathExists}=require_path_exists3(),{areIdentical}=require_stat2();async function createLink(srcpath,dstpath){let dstStat;try{dstStat=await fs.lstat(dstpath);}catch{}let srcStat;try{srcStat=await fs.lstat(srcpath);}catch(err){throw err.message=err.message.replace("lstat","ensureLink"),err}if(dstStat&&areIdentical(srcStat,dstStat))return;let dir=path2.dirname(dstpath);await pathExists(dir)||await mkdir.mkdirs(dir),await fs.link(srcpath,dstpath);}function createLinkSync(srcpath,dstpath){let dstStat;try{dstStat=fs.lstatSync(dstpath);}catch{}try{let srcStat=fs.lstatSync(srcpath);if(dstStat&&areIdentical(srcStat,dstStat))return}catch(err){throw err.message=err.message.replace("lstat","ensureLink"),err}let dir=path2.dirname(dstpath);return fs.existsSync(dir)||mkdir.mkdirsSync(dir),fs.linkSync(srcpath,dstpath)}module.exports={createLink:u(createLink),createLinkSync};}});var require_symlink_paths2=__commonJS({"../../node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports,module){var path2=__require("path"),fs=require_fs2(),{pathExists}=require_path_exists3(),u=require_universalify().fromPromise;async function symlinkPaths(srcpath,dstpath){if(path2.isAbsolute(srcpath)){try{await fs.lstat(srcpath);}catch(err){throw err.message=err.message.replace("lstat","ensureSymlink"),err}return {toCwd:srcpath,toDst:srcpath}}let dstdir=path2.dirname(dstpath),relativeToDst=path2.join(dstdir,srcpath);if(await pathExists(relativeToDst))return {toCwd:relativeToDst,toDst:srcpath};try{await fs.lstat(srcpath);}catch(err){throw err.message=err.message.replace("lstat","ensureSymlink"),err}return {toCwd:srcpath,toDst:path2.relative(dstdir,srcpath)}}function symlinkPathsSync(srcpath,dstpath){if(path2.isAbsolute(srcpath)){if(!fs.existsSync(srcpath))throw new Error("absolute srcpath does not exist");return {toCwd:srcpath,toDst:srcpath}}let dstdir=path2.dirname(dstpath),relativeToDst=path2.join(dstdir,srcpath);if(fs.existsSync(relativeToDst))return {toCwd:relativeToDst,toDst:srcpath};if(!fs.existsSync(srcpath))throw new Error("relative srcpath does not exist");return {toCwd:srcpath,toDst:path2.relative(dstdir,srcpath)}}module.exports={symlinkPaths:u(symlinkPaths),symlinkPathsSync};}});var require_symlink_type2=__commonJS({"../../node_modules/fs-extra/lib/ensure/symlink-type.js"(exports,module){var fs=require_fs2(),u=require_universalify().fromPromise;async function symlinkType(srcpath,type){if(type)return type;let stats;try{stats=await fs.lstat(srcpath);}catch{return "file"}return stats&&stats.isDirectory()?"dir":"file"}function symlinkTypeSync(srcpath,type){if(type)return type;let stats;try{stats=fs.lstatSync(srcpath);}catch{return "file"}return stats&&stats.isDirectory()?"dir":"file"}module.exports={symlinkType:u(symlinkType),symlinkTypeSync};}});var require_symlink2=__commonJS({"../../node_modules/fs-extra/lib/ensure/symlink.js"(exports,module){var u=require_universalify().fromPromise,path2=__require("path"),fs=require_fs2(),{mkdirs,mkdirsSync}=require_mkdirs2(),{symlinkPaths,symlinkPathsSync}=require_symlink_paths2(),{symlinkType,symlinkTypeSync}=require_symlink_type2(),{pathExists}=require_path_exists3(),{areIdentical}=require_stat2();async function createSymlink(srcpath,dstpath,type){let stats;try{stats=await fs.lstat(dstpath);}catch{}if(stats&&stats.isSymbolicLink()){let[srcStat,dstStat]=await Promise.all([fs.stat(srcpath),fs.stat(dstpath)]);if(areIdentical(srcStat,dstStat))return}let relative=await symlinkPaths(srcpath,dstpath);srcpath=relative.toDst;let toType=await symlinkType(relative.toCwd,type),dir=path2.dirname(dstpath);return await pathExists(dir)||await mkdirs(dir),fs.symlink(srcpath,dstpath,toType)}function createSymlinkSync(srcpath,dstpath,type){let stats;try{stats=fs.lstatSync(dstpath);}catch{}if(stats&&stats.isSymbolicLink()){let srcStat=fs.statSync(srcpath),dstStat=fs.statSync(dstpath);if(areIdentical(srcStat,dstStat))return}let relative=symlinkPathsSync(srcpath,dstpath);srcpath=relative.toDst,type=symlinkTypeSync(relative.toCwd,type);let dir=path2.dirname(dstpath);return fs.existsSync(dir)||mkdirsSync(dir),fs.symlinkSync(srcpath,dstpath,type)}module.exports={createSymlink:u(createSymlink),createSymlinkSync};}});var require_ensure2=__commonJS({"../../node_modules/fs-extra/lib/ensure/index.js"(exports,module){var{createFile,createFileSync}=require_file2(),{createLink,createLinkSync}=require_link2(),{createSymlink,createSymlinkSync}=require_symlink2();module.exports={createFile,createFileSync,ensureFile:createFile,ensureFileSync:createFileSync,createLink,createLinkSync,ensureLink:createLink,ensureLinkSync:createLinkSync,createSymlink,createSymlinkSync,ensureSymlink:createSymlink,ensureSymlinkSync:createSymlinkSync};}});var require_jsonfile3=__commonJS({"../../node_modules/fs-extra/lib/json/jsonfile.js"(exports,module){var jsonFile=require_jsonfile();module.exports={readJson:jsonFile.readFile,readJsonSync:jsonFile.readFileSync,writeJson:jsonFile.writeFile,writeJsonSync:jsonFile.writeFileSync};}});var require_output_file2=__commonJS({"../../node_modules/fs-extra/lib/output-file/index.js"(exports,module){var u=require_universalify().fromPromise,fs=require_fs2(),path2=__require("path"),mkdir=require_mkdirs2(),pathExists=require_path_exists3().pathExists;async function outputFile(file,data,encoding="utf-8"){let dir=path2.dirname(file);return await pathExists(dir)||await mkdir.mkdirs(dir),fs.writeFile(file,data,encoding)}function outputFileSync(file,...args){let dir=path2.dirname(file);fs.existsSync(dir)||mkdir.mkdirsSync(dir),fs.writeFileSync(file,...args);}module.exports={outputFile:u(outputFile),outputFileSync};}});var require_output_json2=__commonJS({"../../node_modules/fs-extra/lib/json/output-json.js"(exports,module){var{stringify}=require_utils2(),{outputFile}=require_output_file2();async function outputJson(file,data,options={}){let str=stringify(data,options);await outputFile(file,str,options);}module.exports=outputJson;}});var require_output_json_sync2=__commonJS({"../../node_modules/fs-extra/lib/json/output-json-sync.js"(exports,module){var{stringify}=require_utils2(),{outputFileSync}=require_output_file2();function outputJsonSync(file,data,options){let str=stringify(data,options);outputFileSync(file,str,options);}module.exports=outputJsonSync;}});var require_json2=__commonJS({"../../node_modules/fs-extra/lib/json/index.js"(exports,module){var u=require_universalify().fromPromise,jsonFile=require_jsonfile3();jsonFile.outputJson=u(require_output_json2());jsonFile.outputJsonSync=require_output_json_sync2();jsonFile.outputJSON=jsonFile.outputJson;jsonFile.outputJSONSync=jsonFile.outputJsonSync;jsonFile.writeJSON=jsonFile.writeJson;jsonFile.writeJSONSync=jsonFile.writeJsonSync;jsonFile.readJSON=jsonFile.readJson;jsonFile.readJSONSync=jsonFile.readJsonSync;module.exports=jsonFile;}});var require_move4=__commonJS({"../../node_modules/fs-extra/lib/move/move.js"(exports,module){var fs=require_fs2(),path2=__require("path"),{copy}=require_copy4(),{remove}=require_remove3(),{mkdirp}=require_mkdirs2(),{pathExists}=require_path_exists3(),stat=require_stat2();async function move(src,dest,opts={}){let overwrite=opts.overwrite||opts.clobber||!1,{srcStat,isChangingCase=!1}=await stat.checkPaths(src,dest,"move",opts);await stat.checkParentPaths(src,srcStat,dest,"move");let destParent=path2.dirname(dest);return path2.parse(destParent).root!==destParent&&await mkdirp(destParent),doRename(src,dest,overwrite,isChangingCase)}async function doRename(src,dest,overwrite,isChangingCase){if(!isChangingCase){if(overwrite)await remove(dest);else if(await pathExists(dest))throw new Error("dest already exists.")}try{await fs.rename(src,dest);}catch(err){if(err.code!=="EXDEV")throw err;await moveAcrossDevice(src,dest,overwrite);}}async function moveAcrossDevice(src,dest,overwrite){return await copy(src,dest,{overwrite,errorOnExist:!0,preserveTimestamps:!0}),remove(src)}module.exports=move;}});var require_move_sync2=__commonJS({"../../node_modules/fs-extra/lib/move/move-sync.js"(exports,module){var fs=require_graceful_fs(),path2=__require("path"),copySync=require_copy4().copySync,removeSync=require_remove3().removeSync,mkdirpSync=require_mkdirs2().mkdirpSync,stat=require_stat2();function moveSync(src,dest,opts){opts=opts||{};let overwrite=opts.overwrite||opts.clobber||!1,{srcStat,isChangingCase=!1}=stat.checkPathsSync(src,dest,"move",opts);return stat.checkParentPathsSync(src,srcStat,dest,"move"),isParentRoot(dest)||mkdirpSync(path2.dirname(dest)),doRename(src,dest,overwrite,isChangingCase)}function isParentRoot(dest){let parent=path2.dirname(dest);return path2.parse(parent).root===parent}function doRename(src,dest,overwrite,isChangingCase){if(isChangingCase)return rename(src,dest,overwrite);if(overwrite)return removeSync(dest),rename(src,dest,overwrite);if(fs.existsSync(dest))throw new Error("dest already exists.");return rename(src,dest,overwrite)}function rename(src,dest,overwrite){try{fs.renameSync(src,dest);}catch(err){if(err.code!=="EXDEV")throw err;return moveAcrossDevice(src,dest,overwrite)}}function moveAcrossDevice(src,dest,overwrite){return copySync(src,dest,{overwrite,errorOnExist:!0,preserveTimestamps:!0}),removeSync(src)}module.exports=moveSync;}});var require_move5=__commonJS({"../../node_modules/fs-extra/lib/move/index.js"(exports,module){var u=require_universalify().fromPromise;module.exports={move:u(require_move4()),moveSync:require_move_sync2()};}});var require_lib3=__commonJS({"../../node_modules/fs-extra/lib/index.js"(exports,module){module.exports={...require_fs2(),...require_copy4(),...require_empty3(),...require_ensure2(),...require_json2(),...require_mkdirs2(),...require_move5(),...require_output_file2(),...require_path_exists3(),...require_remove3()};}});var require_crypto_random_string=__commonJS({"../../node_modules/crypto-random-string/index.js"(exports,module){var crypto2=__require("crypto");module.exports=length=>{if(!Number.isFinite(length))throw new TypeError("Expected a finite number");return crypto2.randomBytes(Math.ceil(length/2)).toString("hex").slice(0,length)};}});var require_unique_string=__commonJS({"../../node_modules/unique-string/index.js"(exports,module){var cryptoRandomString=require_crypto_random_string();module.exports=()=>cryptoRandomString(32);}});var require_temp_dir=__commonJS({"../../node_modules/temp-dir/index.js"(exports,module){var fs=__require("fs"),os=__require("os"),tempDirectorySymbol=Symbol.for("__RESOLVED_TEMP_DIRECTORY__");global[tempDirectorySymbol]||Object.defineProperty(global,tempDirectorySymbol,{value:fs.realpathSync(os.tmpdir())});module.exports=global[tempDirectorySymbol];}});var require_is_stream=__commonJS({"../../node_modules/is-stream/index.js"(exports,module){var isStream=stream=>stream!==null&&typeof stream=="object"&&typeof stream.pipe=="function";isStream.writable=stream=>isStream(stream)&&stream.writable!==!1&&typeof stream._write=="function"&&typeof stream._writableState=="object";isStream.readable=stream=>isStream(stream)&&stream.readable!==!1&&typeof stream._read=="function"&&typeof stream._readableState=="object";isStream.duplex=stream=>isStream.writable(stream)&&isStream.readable(stream);isStream.transform=stream=>isStream.duplex(stream)&&typeof stream._transform=="function";module.exports=isStream;}});var require_array_union=__commonJS({"../../node_modules/array-union/index.js"(exports,module){module.exports=(...arguments_)=>[...new Set([].concat(...arguments_))];}});var require_merge2=__commonJS({"../../node_modules/merge2/index.js"(exports,module){var Stream2=__require("stream"),PassThrough2=Stream2.PassThrough,slice=Array.prototype.slice;module.exports=merge2;function merge2(){let streamsQueue=[],args=slice.call(arguments),merging=!1,options=args[args.length-1];options&&!Array.isArray(options)&&options.pipe==null?args.pop():options={};let doEnd=options.end!==!1,doPipeError=options.pipeError===!0;options.objectMode==null&&(options.objectMode=!0),options.highWaterMark==null&&(options.highWaterMark=64*1024);let mergedStream=PassThrough2(options);function addStream(){for(let i=0,len=arguments.length;i<len;i++)streamsQueue.push(pauseStreams(arguments[i],options));return mergeStream(),this}function mergeStream(){if(merging)return;merging=!0;let streams=streamsQueue.shift();if(!streams){process.nextTick(endStream);return}Array.isArray(streams)||(streams=[streams]);let pipesCount=streams.length+1;function next(){--pipesCount>0||(merging=!1,mergeStream());}function pipe(stream){function onend(){stream.removeListener("merge2UnpipeEnd",onend),stream.removeListener("end",onend),doPipeError&&stream.removeListener("error",onerror),next();}function onerror(err){mergedStream.emit("error",err);}if(stream._readableState.endEmitted)return next();stream.on("merge2UnpipeEnd",onend),stream.on("end",onend),doPipeError&&stream.on("error",onerror),stream.pipe(mergedStream,{end:!1}),stream.resume();}for(let i=0;i<streams.length;i++)pipe(streams[i]);next();}function endStream(){merging=!1,mergedStream.emit("queueDrain"),doEnd&&mergedStream.end();}return mergedStream.setMaxListeners(0),mergedStream.add=addStream,mergedStream.on("unpipe",function(stream){stream.emit("merge2UnpipeEnd");}),args.length&&addStream.apply(null,args),mergedStream}function pauseStreams(streams,options){if(Array.isArray(streams))for(let i=0,len=streams.length;i<len;i++)streams[i]=pauseStreams(streams[i],options);else {if(!streams._readableState&&streams.pipe&&(streams=streams.pipe(PassThrough2(options))),!streams._readableState||!streams.pause||!streams.pipe)throw new Error("Only readable stream can be merged.");streams.pause();}return streams}}});var require_array=__commonJS({"../../node_modules/fast-glob/out/utils/array.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.splitWhen=exports.flatten=void 0;function flatten(items){return items.reduce((collection,item)=>[].concat(collection,item),[])}exports.flatten=flatten;function splitWhen(items,predicate){let result=[[]],groupIndex=0;for(let item of items)predicate(item)?(groupIndex++,result[groupIndex]=[]):result[groupIndex].push(item);return result}exports.splitWhen=splitWhen;}});var require_errno=__commonJS({"../../node_modules/fast-glob/out/utils/errno.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.isEnoentCodeError=void 0;function isEnoentCodeError(error){return error.code==="ENOENT"}exports.isEnoentCodeError=isEnoentCodeError;}});var require_fs3=__commonJS({"../../node_modules/fast-glob/out/utils/fs.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createDirentFromStats=void 0;var DirentFromStats=class{constructor(name,stats){this.name=name,this.isBlockDevice=stats.isBlockDevice.bind(stats),this.isCharacterDevice=stats.isCharacterDevice.bind(stats),this.isDirectory=stats.isDirectory.bind(stats),this.isFIFO=stats.isFIFO.bind(stats),this.isFile=stats.isFile.bind(stats),this.isSocket=stats.isSocket.bind(stats),this.isSymbolicLink=stats.isSymbolicLink.bind(stats);}};function createDirentFromStats(name,stats){return new DirentFromStats(name,stats)}exports.createDirentFromStats=createDirentFromStats;}});var require_path2=__commonJS({"../../node_modules/fast-glob/out/utils/path.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.convertPosixPathToPattern=exports.convertWindowsPathToPattern=exports.convertPathToPattern=exports.escapePosixPath=exports.escapeWindowsPath=exports.escape=exports.removeLeadingDotSegment=exports.makeAbsolute=exports.unixify=void 0;var os=__require("os"),path2=__require("path"),IS_WINDOWS_PLATFORM=os.platform()==="win32",LEADING_DOT_SEGMENT_CHARACTERS_COUNT=2,POSIX_UNESCAPED_GLOB_SYMBOLS_RE=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,DOS_DEVICE_PATH_RE=/^\\\\([.?])/,WINDOWS_BACKSLASHES_RE=/\\(?![!()+@[\]{}])/g;function unixify(filepath){return filepath.replace(/\\/g,"/")}exports.unixify=unixify;function makeAbsolute(cwd,filepath){return path2.resolve(cwd,filepath)}exports.makeAbsolute=makeAbsolute;function removeLeadingDotSegment(entry){if(entry.charAt(0)==="."){let secondCharactery=entry.charAt(1);if(secondCharactery==="/"||secondCharactery==="\\")return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT)}return entry}exports.removeLeadingDotSegment=removeLeadingDotSegment;exports.escape=IS_WINDOWS_PLATFORM?escapeWindowsPath:escapePosixPath;function escapeWindowsPath(pattern){return pattern.replace(WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE,"\\$2")}exports.escapeWindowsPath=escapeWindowsPath;function escapePosixPath(pattern){return pattern.replace(POSIX_UNESCAPED_GLOB_SYMBOLS_RE,"\\$2")}exports.escapePosixPath=escapePosixPath;exports.convertPathToPattern=IS_WINDOWS_PLATFORM?convertWindowsPathToPattern:convertPosixPathToPattern;function convertWindowsPathToPattern(filepath){return escapeWindowsPath(filepath).replace(DOS_DEVICE_PATH_RE,"//$1").replace(WINDOWS_BACKSLASHES_RE,"/")}exports.convertWindowsPathToPattern=convertWindowsPathToPattern;function convertPosixPathToPattern(filepath){return escapePosixPath(filepath)}exports.convertPosixPathToPattern=convertPosixPathToPattern;}});var require_is_extglob=__commonJS({"../../node_modules/is-extglob/index.js"(exports,module){module.exports=function(str){if(typeof str!="string"||str==="")return !1;for(var match;match=/(\\).|([@?!+*]\(.*\))/g.exec(str);){if(match[2])return !0;str=str.slice(match.index+match[0].length);}return !1};}});var require_is_glob=__commonJS({"../../node_modules/is-glob/index.js"(exports,module){var isExtglob=require_is_extglob(),chars={"{":"}","(":")","[":"]"},strictCheck=function(str){if(str[0]==="!")return !0;for(var index=0,pipeIndex=-2,closeSquareIndex=-2,closeCurlyIndex=-2,closeParenIndex=-2,backSlashIndex=-2;index<str.length;){if(str[index]==="*"||str[index+1]==="?"&&/[\].+)]/.test(str[index])||closeSquareIndex!==-1&&str[index]==="["&&str[index+1]!=="]"&&(closeSquareIndex<index&&(closeSquareIndex=str.indexOf("]",index)),closeSquareIndex>index&&(backSlashIndex===-1||backSlashIndex>closeSquareIndex||(backSlashIndex=str.indexOf("\\",index),backSlashIndex===-1||backSlashIndex>closeSquareIndex)))||closeCurlyIndex!==-1&&str[index]==="{"&&str[index+1]!=="}"&&(closeCurlyIndex=str.indexOf("}",index),closeCurlyIndex>index&&(backSlashIndex=str.indexOf("\\",index),backSlashIndex===-1||backSlashIndex>closeCurlyIndex))||closeParenIndex!==-1&&str[index]==="("&&str[index+1]==="?"&&/[:!=]/.test(str[index+2])&&str[index+3]!==")"&&(closeParenIndex=str.indexOf(")",index),closeParenIndex>index&&(backSlashIndex=str.indexOf("\\",index),backSlashIndex===-1||backSlashIndex>closeParenIndex))||pipeIndex!==-1&&str[index]==="("&&str[index+1]!=="|"&&(pipeIndex<index&&(pipeIndex=str.indexOf("|",index)),pipeIndex!==-1&&str[pipeIndex+1]!==")"&&(closeParenIndex=str.indexOf(")",pipeIndex),closeParenIndex>pipeIndex&&(backSlashIndex=str.indexOf("\\",pipeIndex),backSlashIndex===-1||backSlashIndex>closeParenIndex))))return !0;if(str[index]==="\\"){var open=str[index+1];index+=2;var close=chars[open];if(close){var n=str.indexOf(close,index);n!==-1&&(index=n+1);}if(str[index]==="!")return !0}else index++;}return !1},relaxedCheck=function(str){if(str[0]==="!")return !0;for(var index=0;index<str.length;){if(/[*?{}()[\]]/.test(str[index]))return !0;if(str[index]==="\\"){var open=str[index+1];index+=2;var close=chars[open];if(close){var n=str.indexOf(close,index);n!==-1&&(index=n+1);}if(str[index]==="!")return !0}else index++;}return !1};module.exports=function(str,options){if(typeof str!="string"||str==="")return !1;if(isExtglob(str))return !0;var check=strictCheck;return options&&options.strict===!1&&(check=relaxedCheck),check(str)};}});var require_glob_parent=__commonJS({"../../node_modules/glob-parent/index.js"(exports,module){var isGlob=require_is_glob(),pathPosixDirname=__require("path").posix.dirname,isWin32=__require("os").platform()==="win32",slash="/",backslash=/\\/g,enclosure=/[\{\[].*[\}\]]$/,globby=/(^|[^\\])([\{\[]|\([^\)]+$)/,escaped=/\\([\!\*\?\|\[\]\(\)\{\}])/g;module.exports=function(str,opts){var options=Object.assign({flipBackslashes:!0},opts);options.flipBackslashes&&isWin32&&str.indexOf(slash)<0&&(str=str.replace(backslash,slash)),enclosure.test(str)&&(str+=slash),str+="a";do str=pathPosixDirname(str);while(isGlob(str)||globby.test(str));return str.replace(escaped,"$1")};}});var require_utils4=__commonJS({"../../node_modules/braces/lib/utils.js"(exports){exports.isInteger=num=>typeof num=="number"?Number.isInteger(num):typeof num=="string"&&num.trim()!==""?Number.isInteger(Number(num)):!1;exports.find=(node,type)=>node.nodes.find(node2=>node2.type===type);exports.exceedsLimit=(min,max,step=1,limit)=>limit===!1||!exports.isInteger(min)||!exports.isInteger(max)?!1:(Number(max)-Number(min))/Number(step)>=limit;exports.escapeNode=(block,n=0,type)=>{let node=block.nodes[n];node&&(type&&node.type===type||node.type==="open"||node.type==="close")&&node.escaped!==!0&&(node.value="\\"+node.value,node.escaped=!0);};exports.encloseBrace=node=>node.type!=="brace"||node.commas>>0+node.ranges>>0?!1:(node.invalid=!0,!0);exports.isInvalidBrace=block=>block.type!=="brace"?!1:block.invalid===!0||block.dollar?!0:!(block.commas>>0+block.ranges>>0)||block.open!==!0||block.close!==!0?(block.invalid=!0,!0):!1;exports.isOpenOrClose=node=>node.type==="open"||node.type==="close"?!0:node.open===!0||node.close===!0;exports.reduce=nodes=>nodes.reduce((acc,node)=>(node.type==="text"&&acc.push(node.value),node.type==="range"&&(node.type="text"),acc),[]);exports.flatten=(...args)=>{let result=[],flat=arr=>{for(let i=0;i<arr.length;i++){let ele=arr[i];Array.isArray(ele)?flat(ele):ele!==void 0&&result.push(ele);}return result};return flat(args),result};}});var require_stringify=__commonJS({"../../node_modules/braces/lib/stringify.js"(exports,module){var utils=require_utils4();module.exports=(ast,options={})=>{let stringify=(node,parent={})=>{let invalidBlock=options.escapeInvalid&&utils.isInvalidBrace(parent),invalidNode=node.invalid===!0&&options.escapeInvalid===!0,output="";if(node.value)return (invalidBlock||invalidNode)&&utils.isOpenOrClose(node)?"\\"+node.value:node.value;if(node.value)return node.value;if(node.nodes)for(let child of node.nodes)output+=stringify(child);return output};return stringify(ast)};}});var require_is_number=__commonJS({"../../node_modules/to-regex-range/node_modules/is-number/index.js"(exports,module){module.exports=function(num){return typeof num=="number"?num-num===0:typeof num=="string"&&num.trim()!==""?Number.isFinite?Number.isFinite(+num):isFinite(+num):!1};}});var require_to_regex_range=__commonJS({"../../node_modules/to-regex-range/index.js"(exports,module){var isNumber=require_is_number(),toRegexRange=(min,max,options)=>{if(isNumber(min)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(max===void 0||min===max)return String(min);if(isNumber(max)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let opts={relaxZeros:!0,...options};typeof opts.strictZeros=="boolean"&&(opts.relaxZeros=opts.strictZeros===!1);let relax=String(opts.relaxZeros),shorthand=String(opts.shorthand),capture=String(opts.capture),wrap=String(opts.wrap),cacheKey=min+":"+max+"="+relax+shorthand+capture+wrap;if(toRegexRange.cache.hasOwnProperty(cacheKey))return toRegexRange.cache[cacheKey].result;let a=Math.min(min,max),b=Math.max(min,max);if(Math.abs(a-b)===1){let result=min+"|"+max;return opts.capture?`(${result})`:opts.wrap===!1?result:`(?:${result})`}let isPadded=hasPadding(min)||hasPadding(max),state={min,max,a,b},positives=[],negatives=[];if(isPadded&&(state.isPadded=isPadded,state.maxLen=String(state.max).length),a<0){let newMin=b<0?Math.abs(b):1;negatives=splitToPatterns(newMin,Math.abs(a),state,opts),a=state.a=0;}return b>=0&&(positives=splitToPatterns(a,b,state,opts)),state.negatives=negatives,state.positives=positives,state.result=collatePatterns(negatives,positives),opts.capture===!0?state.result=`(${state.result})`:opts.wrap!==!1&&positives.length+negatives.length>1&&(state.result=`(?:${state.result})`),toRegexRange.cache[cacheKey]=state,state.result};function collatePatterns(neg,pos,options){let onlyNegative=filterPatterns(neg,pos,"-",!1)||[],onlyPositive=filterPatterns(pos,neg,"",!1)||[],intersected=filterPatterns(neg,pos,"-?",!0)||[];return onlyNegative.concat(intersected).concat(onlyPositive).join("|")}function splitToRanges(min,max){let nines=1,zeros=1,stop=countNines(min,nines),stops=new Set([max]);for(;min<=stop&&stop<=max;)stops.add(stop),nines+=1,stop=countNines(min,nines);for(stop=countZeros(max+1,zeros)-1;min<stop&&stop<=max;)stops.add(stop),zeros+=1,stop=countZeros(max+1,zeros)-1;return stops=[...stops],stops.sort(compare),stops}function rangeToPattern(start,stop,options){if(start===stop)return {pattern:start,count:[],digits:0};let zipped=zip(start,stop),digits=zipped.length,pattern="",count=0;for(let i=0;i<digits;i++){let[startDigit,stopDigit]=zipped[i];startDigit===stopDigit?pattern+=startDigit:startDigit!=="0"||stopDigit!=="9"?pattern+=toCharacterClass(startDigit,stopDigit):count++;}return count&&(pattern+=options.shorthand===!0?"\\d":"[0-9]"),{pattern,count:[count],digits}}function splitToPatterns(min,max,tok,options){let ranges=splitToRanges(min,max),tokens=[],start=min,prev;for(let i=0;i<ranges.length;i++){let max2=ranges[i],obj=rangeToPattern(String(start),String(max2),options),zeros="";if(!tok.isPadded&&prev&&prev.pattern===obj.pattern){prev.count.length>1&&prev.count.pop(),prev.count.push(obj.count[0]),prev.string=prev.pattern+toQuantifier(prev.count),start=max2+1;continue}tok.isPadded&&(zeros=padZeros(max2,tok,options)),obj.string=zeros+obj.pattern+toQuantifier(obj.count),tokens.push(obj),start=max2+1,prev=obj;}return tokens}function filterPatterns(arr,comparison,prefix,intersection,options){let result=[];for(let ele of arr){let{string}=ele;!intersection&&!contains(comparison,"string",string)&&result.push(prefix+string),intersection&&contains(comparison,"string",string)&&result.push(prefix+string);}return result}function zip(a,b){let arr=[];for(let i=0;i<a.length;i++)arr.push([a[i],b[i]]);return arr}function compare(a,b){return a>b?1:b>a?-1:0}function contains(arr,key,val){return arr.some(ele=>ele[key]===val)}function countNines(min,len){return Number(String(min).slice(0,-len)+"9".repeat(len))}function countZeros(integer,zeros){return integer-integer%Math.pow(10,zeros)}function toQuantifier(digits){let[start=0,stop=""]=digits;return stop||start>1?`{${start+(stop?","+stop:"")}}`:""}function toCharacterClass(a,b,options){return `[${a}${b-a===1?"":"-"}${b}]`}function hasPadding(str){return /^-?(0+)\d/.test(str)}function padZeros(value,tok,options){if(!tok.isPadded)return value;let diff=Math.abs(tok.maxLen-String(value).length),relax=options.relaxZeros!==!1;switch(diff){case 0:return "";case 1:return relax?"0?":"0";case 2:return relax?"0{0,2}":"00";default:return relax?`0{0,${diff}}`:`0{${diff}}`}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};module.exports=toRegexRange;}});var require_fill_range=__commonJS({"../../node_modules/fill-range/index.js"(exports,module){var util=__require("util"),toRegexRange=require_to_regex_range(),isObject=val=>val!==null&&typeof val=="object"&&!Array.isArray(val),transform=toNumber=>value=>toNumber===!0?Number(value):String(value),isValidValue=value=>typeof value=="number"||typeof value=="string"&&value!=="",isNumber=num=>Number.isInteger(+num),zeros=input=>{let value=`${input}`,index=-1;if(value[0]==="-"&&(value=value.slice(1)),value==="0")return !1;for(;value[++index]==="0";);return index>0},stringify=(start,end,options)=>typeof start=="string"||typeof end=="string"?!0:options.stringify===!0,pad=(input,maxLength,toNumber)=>{if(maxLength>0){let dash=input[0]==="-"?"-":"";dash&&(input=input.slice(1)),input=dash+input.padStart(dash?maxLength-1:maxLength,"0");}return toNumber===!1?String(input):input},toMaxLen=(input,maxLength)=>{let negative=input[0]==="-"?"-":"";for(negative&&(input=input.slice(1),maxLength--);input.length<maxLength;)input="0"+input;return negative?"-"+input:input},toSequence=(parts,options)=>{parts.negatives.sort((a,b)=>a<b?-1:a>b?1:0),parts.positives.sort((a,b)=>a<b?-1:a>b?1:0);let prefix=options.capture?"":"?:",positives="",negatives="",result;return parts.positives.length&&(positives=parts.positives.join("|")),parts.negatives.length&&(negatives=`-(${prefix}${parts.negatives.join("|")})`),positives&&negatives?result=`${positives}|${negatives}`:result=positives||negatives,options.wrap?`(${prefix}${result})`:result},toRange=(a,b,isNumbers,options)=>{if(isNumbers)return toRegexRange(a,b,{wrap:!1,...options});let start=String.fromCharCode(a);if(a===b)return start;let stop=String.fromCharCode(b);return `[${start}-${stop}]`},toRegex=(start,end,options)=>{if(Array.isArray(start)){let wrap=options.wrap===!0,prefix=options.capture?"":"?:";return wrap?`(${prefix}${start.join("|")})`:start.join("|")}return toRegexRange(start,end,options)},rangeError=(...args)=>new RangeError("Invalid range arguments: "+util.inspect(...args)),invalidRange=(start,end,options)=>{if(options.strictRanges===!0)throw rangeError([start,end]);return []},invalidStep=(step,options)=>{if(options.strictRanges===!0)throw new TypeError(`Expected step "${step}" to be a number`);return []},fillNumbers=(start,end,step=1,options={})=>{let a=Number(start),b=Number(end);if(!Number.isInteger(a)||!Number.isInteger(b)){if(options.strictRanges===!0)throw rangeError([start,end]);return []}a===0&&(a=0),b===0&&(b=0);let descending=a>b,startString=String(start),endString=String(end),stepString=String(step);step=Math.max(Math.abs(step),1);let padded=zeros(startString)||zeros(endString)||zeros(stepString),maxLen=padded?Math.max(startString.length,endString.length,stepString.length):0,toNumber=padded===!1&&stringify(start,end,options)===!1,format=options.transform||transform(toNumber);if(options.toRegex&&step===1)return toRange(toMaxLen(start,maxLen),toMaxLen(end,maxLen),!0,options);let parts={negatives:[],positives:[]},push=num=>parts[num<0?"negatives":"positives"].push(Math.abs(num)),range=[],index=0;for(;descending?a>=b:a<=b;)options.toRegex===!0&&step>1?push(a):range.push(pad(format(a,index),maxLen,toNumber)),a=descending?a-step:a+step,index++;return options.toRegex===!0?step>1?toSequence(parts,options):toRegex(range,null,{wrap:!1,...options}):range},fillLetters=(start,end,step=1,options={})=>{if(!isNumber(start)&&start.length>1||!isNumber(end)&&end.length>1)return invalidRange(start,end,options);let format=options.transform||(val=>String.fromCharCode(val)),a=`${start}`.charCodeAt(0),b=`${end}`.charCodeAt(0),descending=a>b,min=Math.min(a,b),max=Math.max(a,b);if(options.toRegex&&step===1)return toRange(min,max,!1,options);let range=[],index=0;for(;descending?a>=b:a<=b;)range.push(format(a,index)),a=descending?a-step:a+step,index++;return options.toRegex===!0?toRegex(range,null,{wrap:!1,options}):range},fill=(start,end,step,options={})=>{if(end==null&&isValidValue(start))return [start];if(!isValidValue(start)||!isValidValue(end))return invalidRange(start,end,options);if(typeof step=="function")return fill(start,end,1,{transform:step});if(isObject(step))return fill(start,end,0,step);let opts={...options};return opts.capture===!0&&(opts.wrap=!0),step=step||opts.step||1,isNumber(step)?isNumber(start)&&isNumber(end)?fillNumbers(start,end,step,opts):fillLetters(start,end,Math.max(Math.abs(step),1),opts):step!=null&&!isObject(step)?invalidStep(step,opts):fill(start,end,1,step)};module.exports=fill;}});var require_compile=__commonJS({"../../node_modules/braces/lib/compile.js"(exports,module){var fill=require_fill_range(),utils=require_utils4(),compile=(ast,options={})=>{let walk=(node,parent={})=>{let invalidBlock=utils.isInvalidBrace(parent),invalidNode=node.invalid===!0&&options.escapeInvalid===!0,invalid=invalidBlock===!0||invalidNode===!0,prefix=options.escapeInvalid===!0?"\\":"",output="";if(node.isOpen===!0||node.isClose===!0)return prefix+node.value;if(node.type==="open")return invalid?prefix+node.value:"(";if(node.type==="close")return invalid?prefix+node.value:")";if(node.type==="comma")return node.prev.type==="comma"?"":invalid?node.value:"|";if(node.value)return node.value;if(node.nodes&&node.ranges>0){let args=utils.reduce(node.nodes),range=fill(...args,{...options,wrap:!1,toRegex:!0});if(range.length!==0)return args.length>1&&range.length>1?`(${range})`:range}if(node.nodes)for(let child of node.nodes)output+=walk(child,node);return output};return walk(ast)};module.exports=compile;}});var require_expand=__commonJS({"../../node_modules/braces/lib/expand.js"(exports,module){var fill=require_fill_range(),stringify=require_stringify(),utils=require_utils4(),append=(queue="",stash="",enclose=!1)=>{let result=[];if(queue=[].concat(queue),stash=[].concat(stash),!stash.length)return queue;if(!queue.length)return enclose?utils.flatten(stash).map(ele=>`{${ele}}`):stash;for(let item of queue)if(Array.isArray(item))for(let value of item)result.push(append(value,stash,enclose));else for(let ele of stash)enclose===!0&&typeof ele=="string"&&(ele=`{${ele}}`),result.push(Array.isArray(ele)?append(item,ele,enclose):item+ele);return utils.flatten(result)},expand=(ast,options={})=>{let rangeLimit=options.rangeLimit===void 0?1e3:options.rangeLimit,walk=(node,parent={})=>{node.queue=[];let p=parent,q=parent.queue;for(;p.type!=="brace"&&p.type!=="root"&&p.parent;)p=p.parent,q=p.queue;if(node.invalid||node.dollar){q.push(append(q.pop(),stringify(node,options)));return}if(node.type==="brace"&&node.invalid!==!0&&node.nodes.length===2){q.push(append(q.pop(),["{}"]));return}if(node.nodes&&node.ranges>0){let args=utils.reduce(node.nodes);if(utils.exceedsLimit(...args,options.step,rangeLimit))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let range=fill(...args,options);range.length===0&&(range=stringify(node,options)),q.push(append(q.pop(),range)),node.nodes=[];return}let enclose=utils.encloseBrace(node),queue=node.queue,block=node;for(;block.type!=="brace"&&block.type!=="root"&&block.parent;)block=block.parent,queue=block.queue;for(let i=0;i<node.nodes.length;i++){let child=node.nodes[i];if(child.type==="comma"&&node.type==="brace"){i===1&&queue.push(""),queue.push("");continue}if(child.type==="close"){q.push(append(q.pop(),queue,enclose));continue}if(child.value&&child.type!=="open"){queue.push(append(queue.pop(),child.value));continue}child.nodes&&walk(child,node);}return queue};return utils.flatten(walk(ast))};module.exports=expand;}});var require_constants=__commonJS({"../../node_modules/braces/lib/constants.js"(exports,module){module.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
270
+ see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat,destStat}=stat.checkPathsSync(src,dest,"copy",opts);if(stat.checkParentPathsSync(src,srcStat,dest,"copy"),opts.filter&&!opts.filter(src,dest))return;let destParent=path2.dirname(dest);return fs.existsSync(destParent)||mkdirsSync(destParent),getStats(destStat,src,dest,opts)}function getStats(destStat,src,dest,opts){let srcStat=(opts.dereference?fs.statSync:fs.lstatSync)(src);if(srcStat.isDirectory())return onDir(srcStat,destStat,src,dest,opts);if(srcStat.isFile()||srcStat.isCharacterDevice()||srcStat.isBlockDevice())return onFile(srcStat,destStat,src,dest,opts);if(srcStat.isSymbolicLink())return onLink(destStat,src,dest,opts);throw srcStat.isSocket()?new Error(`Cannot copy a socket file: ${src}`):srcStat.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${src}`):new Error(`Unknown file: ${src}`)}function onFile(srcStat,destStat,src,dest,opts){return destStat?mayCopyFile(srcStat,src,dest,opts):copyFile(srcStat,src,dest,opts)}function mayCopyFile(srcStat,src,dest,opts){if(opts.overwrite)return fs.unlinkSync(dest),copyFile(srcStat,src,dest,opts);if(opts.errorOnExist)throw new Error(`'${dest}' already exists`)}function copyFile(srcStat,src,dest,opts){return fs.copyFileSync(src,dest),opts.preserveTimestamps&&handleTimestamps(srcStat.mode,src,dest),setDestMode(dest,srcStat.mode)}function handleTimestamps(srcMode,src,dest){return fileIsNotWritable(srcMode)&&makeFileWritable(dest,srcMode),setDestTimestamps(src,dest)}function fileIsNotWritable(srcMode){return (srcMode&128)===0}function makeFileWritable(dest,srcMode){return setDestMode(dest,srcMode|128)}function setDestMode(dest,srcMode){return fs.chmodSync(dest,srcMode)}function setDestTimestamps(src,dest){let updatedSrcStat=fs.statSync(src);return utimesMillisSync(dest,updatedSrcStat.atime,updatedSrcStat.mtime)}function onDir(srcStat,destStat,src,dest,opts){return destStat?copyDir(src,dest,opts):mkDirAndCopy(srcStat.mode,src,dest,opts)}function mkDirAndCopy(srcMode,src,dest,opts){return fs.mkdirSync(dest),copyDir(src,dest,opts),setDestMode(dest,srcMode)}function copyDir(src,dest,opts){fs.readdirSync(src).forEach(item=>copyDirItem(item,src,dest,opts));}function copyDirItem(item,src,dest,opts){let srcItem=path2.join(src,item),destItem=path2.join(dest,item);if(opts.filter&&!opts.filter(srcItem,destItem))return;let{destStat}=stat.checkPathsSync(srcItem,destItem,"copy",opts);return getStats(destStat,srcItem,destItem,opts)}function onLink(destStat,src,dest,opts){let resolvedSrc=fs.readlinkSync(src);if(opts.dereference&&(resolvedSrc=path2.resolve(process.cwd(),resolvedSrc)),destStat){let resolvedDest;try{resolvedDest=fs.readlinkSync(dest);}catch(err){if(err.code==="EINVAL"||err.code==="UNKNOWN")return fs.symlinkSync(resolvedSrc,dest);throw err}if(opts.dereference&&(resolvedDest=path2.resolve(process.cwd(),resolvedDest)),stat.isSrcSubdir(resolvedSrc,resolvedDest))throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);if(stat.isSrcSubdir(resolvedDest,resolvedSrc))throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);return copyLink(resolvedSrc,dest)}else return fs.symlinkSync(resolvedSrc,dest)}function copyLink(resolvedSrc,dest){return fs.unlinkSync(dest),fs.symlinkSync(resolvedSrc,dest)}module.exports=copySync;}});var require_copy4=__commonJS({"../../node_modules/fs-extra/lib/copy/index.js"(exports,module){var u=require_universalify().fromPromise;module.exports={copy:u(require_copy3()),copySync:require_copy_sync2()};}});var require_remove3=__commonJS({"../../node_modules/fs-extra/lib/remove/index.js"(exports,module){var fs=require_graceful_fs(),u=require_universalify().fromCallback;function remove(path2,callback){fs.rm(path2,{recursive:!0,force:!0},callback);}function removeSync(path2){fs.rmSync(path2,{recursive:!0,force:!0});}module.exports={remove:u(remove),removeSync};}});var require_empty3=__commonJS({"../../node_modules/fs-extra/lib/empty/index.js"(exports,module){var u=require_universalify().fromPromise,fs=require_fs2(),path2=__require("path"),mkdir=require_mkdirs2(),remove=require_remove3(),emptyDir=u(async function(dir){let items;try{items=await fs.readdir(dir);}catch{return mkdir.mkdirs(dir)}return Promise.all(items.map(item=>remove.remove(path2.join(dir,item))))});function emptyDirSync(dir){let items;try{items=fs.readdirSync(dir);}catch{return mkdir.mkdirsSync(dir)}items.forEach(item=>{item=path2.join(dir,item),remove.removeSync(item);});}module.exports={emptyDirSync,emptydirSync:emptyDirSync,emptyDir,emptydir:emptyDir};}});var require_file2=__commonJS({"../../node_modules/fs-extra/lib/ensure/file.js"(exports,module){var u=require_universalify().fromPromise,path2=__require("path"),fs=require_fs2(),mkdir=require_mkdirs2();async function createFile(file){let stats;try{stats=await fs.stat(file);}catch{}if(stats&&stats.isFile())return;let dir=path2.dirname(file),dirStats=null;try{dirStats=await fs.stat(dir);}catch(err){if(err.code==="ENOENT"){await mkdir.mkdirs(dir),await fs.writeFile(file,"");return}else throw err}dirStats.isDirectory()?await fs.writeFile(file,""):await fs.readdir(dir);}function createFileSync(file){let stats;try{stats=fs.statSync(file);}catch{}if(stats&&stats.isFile())return;let dir=path2.dirname(file);try{fs.statSync(dir).isDirectory()||fs.readdirSync(dir);}catch(err){if(err&&err.code==="ENOENT")mkdir.mkdirsSync(dir);else throw err}fs.writeFileSync(file,"");}module.exports={createFile:u(createFile),createFileSync};}});var require_link2=__commonJS({"../../node_modules/fs-extra/lib/ensure/link.js"(exports,module){var u=require_universalify().fromPromise,path2=__require("path"),fs=require_fs2(),mkdir=require_mkdirs2(),{pathExists}=require_path_exists3(),{areIdentical}=require_stat2();async function createLink(srcpath,dstpath){let dstStat;try{dstStat=await fs.lstat(dstpath);}catch{}let srcStat;try{srcStat=await fs.lstat(srcpath);}catch(err){throw err.message=err.message.replace("lstat","ensureLink"),err}if(dstStat&&areIdentical(srcStat,dstStat))return;let dir=path2.dirname(dstpath);await pathExists(dir)||await mkdir.mkdirs(dir),await fs.link(srcpath,dstpath);}function createLinkSync(srcpath,dstpath){let dstStat;try{dstStat=fs.lstatSync(dstpath);}catch{}try{let srcStat=fs.lstatSync(srcpath);if(dstStat&&areIdentical(srcStat,dstStat))return}catch(err){throw err.message=err.message.replace("lstat","ensureLink"),err}let dir=path2.dirname(dstpath);return fs.existsSync(dir)||mkdir.mkdirsSync(dir),fs.linkSync(srcpath,dstpath)}module.exports={createLink:u(createLink),createLinkSync};}});var require_symlink_paths2=__commonJS({"../../node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports,module){var path2=__require("path"),fs=require_fs2(),{pathExists}=require_path_exists3(),u=require_universalify().fromPromise;async function symlinkPaths(srcpath,dstpath){if(path2.isAbsolute(srcpath)){try{await fs.lstat(srcpath);}catch(err){throw err.message=err.message.replace("lstat","ensureSymlink"),err}return {toCwd:srcpath,toDst:srcpath}}let dstdir=path2.dirname(dstpath),relativeToDst=path2.join(dstdir,srcpath);if(await pathExists(relativeToDst))return {toCwd:relativeToDst,toDst:srcpath};try{await fs.lstat(srcpath);}catch(err){throw err.message=err.message.replace("lstat","ensureSymlink"),err}return {toCwd:srcpath,toDst:path2.relative(dstdir,srcpath)}}function symlinkPathsSync(srcpath,dstpath){if(path2.isAbsolute(srcpath)){if(!fs.existsSync(srcpath))throw new Error("absolute srcpath does not exist");return {toCwd:srcpath,toDst:srcpath}}let dstdir=path2.dirname(dstpath),relativeToDst=path2.join(dstdir,srcpath);if(fs.existsSync(relativeToDst))return {toCwd:relativeToDst,toDst:srcpath};if(!fs.existsSync(srcpath))throw new Error("relative srcpath does not exist");return {toCwd:srcpath,toDst:path2.relative(dstdir,srcpath)}}module.exports={symlinkPaths:u(symlinkPaths),symlinkPathsSync};}});var require_symlink_type2=__commonJS({"../../node_modules/fs-extra/lib/ensure/symlink-type.js"(exports,module){var fs=require_fs2(),u=require_universalify().fromPromise;async function symlinkType(srcpath,type){if(type)return type;let stats;try{stats=await fs.lstat(srcpath);}catch{return "file"}return stats&&stats.isDirectory()?"dir":"file"}function symlinkTypeSync(srcpath,type){if(type)return type;let stats;try{stats=fs.lstatSync(srcpath);}catch{return "file"}return stats&&stats.isDirectory()?"dir":"file"}module.exports={symlinkType:u(symlinkType),symlinkTypeSync};}});var require_symlink2=__commonJS({"../../node_modules/fs-extra/lib/ensure/symlink.js"(exports,module){var u=require_universalify().fromPromise,path2=__require("path"),fs=require_fs2(),{mkdirs,mkdirsSync}=require_mkdirs2(),{symlinkPaths,symlinkPathsSync}=require_symlink_paths2(),{symlinkType,symlinkTypeSync}=require_symlink_type2(),{pathExists}=require_path_exists3(),{areIdentical}=require_stat2();async function createSymlink(srcpath,dstpath,type){let stats;try{stats=await fs.lstat(dstpath);}catch{}if(stats&&stats.isSymbolicLink()){let[srcStat,dstStat]=await Promise.all([fs.stat(srcpath),fs.stat(dstpath)]);if(areIdentical(srcStat,dstStat))return}let relative=await symlinkPaths(srcpath,dstpath);srcpath=relative.toDst;let toType=await symlinkType(relative.toCwd,type),dir=path2.dirname(dstpath);return await pathExists(dir)||await mkdirs(dir),fs.symlink(srcpath,dstpath,toType)}function createSymlinkSync(srcpath,dstpath,type){let stats;try{stats=fs.lstatSync(dstpath);}catch{}if(stats&&stats.isSymbolicLink()){let srcStat=fs.statSync(srcpath),dstStat=fs.statSync(dstpath);if(areIdentical(srcStat,dstStat))return}let relative=symlinkPathsSync(srcpath,dstpath);srcpath=relative.toDst,type=symlinkTypeSync(relative.toCwd,type);let dir=path2.dirname(dstpath);return fs.existsSync(dir)||mkdirsSync(dir),fs.symlinkSync(srcpath,dstpath,type)}module.exports={createSymlink:u(createSymlink),createSymlinkSync};}});var require_ensure2=__commonJS({"../../node_modules/fs-extra/lib/ensure/index.js"(exports,module){var{createFile,createFileSync}=require_file2(),{createLink,createLinkSync}=require_link2(),{createSymlink,createSymlinkSync}=require_symlink2();module.exports={createFile,createFileSync,ensureFile:createFile,ensureFileSync:createFileSync,createLink,createLinkSync,ensureLink:createLink,ensureLinkSync:createLinkSync,createSymlink,createSymlinkSync,ensureSymlink:createSymlink,ensureSymlinkSync:createSymlinkSync};}});var require_jsonfile3=__commonJS({"../../node_modules/fs-extra/lib/json/jsonfile.js"(exports,module){var jsonFile=require_jsonfile();module.exports={readJson:jsonFile.readFile,readJsonSync:jsonFile.readFileSync,writeJson:jsonFile.writeFile,writeJsonSync:jsonFile.writeFileSync};}});var require_output_file2=__commonJS({"../../node_modules/fs-extra/lib/output-file/index.js"(exports,module){var u=require_universalify().fromPromise,fs=require_fs2(),path2=__require("path"),mkdir=require_mkdirs2(),pathExists=require_path_exists3().pathExists;async function outputFile(file,data,encoding="utf-8"){let dir=path2.dirname(file);return await pathExists(dir)||await mkdir.mkdirs(dir),fs.writeFile(file,data,encoding)}function outputFileSync(file,...args){let dir=path2.dirname(file);fs.existsSync(dir)||mkdir.mkdirsSync(dir),fs.writeFileSync(file,...args);}module.exports={outputFile:u(outputFile),outputFileSync};}});var require_output_json2=__commonJS({"../../node_modules/fs-extra/lib/json/output-json.js"(exports,module){var{stringify}=require_utils2(),{outputFile}=require_output_file2();async function outputJson(file,data,options={}){let str=stringify(data,options);await outputFile(file,str,options);}module.exports=outputJson;}});var require_output_json_sync2=__commonJS({"../../node_modules/fs-extra/lib/json/output-json-sync.js"(exports,module){var{stringify}=require_utils2(),{outputFileSync}=require_output_file2();function outputJsonSync(file,data,options){let str=stringify(data,options);outputFileSync(file,str,options);}module.exports=outputJsonSync;}});var require_json2=__commonJS({"../../node_modules/fs-extra/lib/json/index.js"(exports,module){var u=require_universalify().fromPromise,jsonFile=require_jsonfile3();jsonFile.outputJson=u(require_output_json2());jsonFile.outputJsonSync=require_output_json_sync2();jsonFile.outputJSON=jsonFile.outputJson;jsonFile.outputJSONSync=jsonFile.outputJsonSync;jsonFile.writeJSON=jsonFile.writeJson;jsonFile.writeJSONSync=jsonFile.writeJsonSync;jsonFile.readJSON=jsonFile.readJson;jsonFile.readJSONSync=jsonFile.readJsonSync;module.exports=jsonFile;}});var require_move4=__commonJS({"../../node_modules/fs-extra/lib/move/move.js"(exports,module){var fs=require_fs2(),path2=__require("path"),{copy}=require_copy4(),{remove}=require_remove3(),{mkdirp}=require_mkdirs2(),{pathExists}=require_path_exists3(),stat=require_stat2();async function move(src,dest,opts={}){let overwrite=opts.overwrite||opts.clobber||!1,{srcStat,isChangingCase=!1}=await stat.checkPaths(src,dest,"move",opts);await stat.checkParentPaths(src,srcStat,dest,"move");let destParent=path2.dirname(dest);return path2.parse(destParent).root!==destParent&&await mkdirp(destParent),doRename(src,dest,overwrite,isChangingCase)}async function doRename(src,dest,overwrite,isChangingCase){if(!isChangingCase){if(overwrite)await remove(dest);else if(await pathExists(dest))throw new Error("dest already exists.")}try{await fs.rename(src,dest);}catch(err){if(err.code!=="EXDEV")throw err;await moveAcrossDevice(src,dest,overwrite);}}async function moveAcrossDevice(src,dest,overwrite){return await copy(src,dest,{overwrite,errorOnExist:!0,preserveTimestamps:!0}),remove(src)}module.exports=move;}});var require_move_sync2=__commonJS({"../../node_modules/fs-extra/lib/move/move-sync.js"(exports,module){var fs=require_graceful_fs(),path2=__require("path"),copySync=require_copy4().copySync,removeSync=require_remove3().removeSync,mkdirpSync=require_mkdirs2().mkdirpSync,stat=require_stat2();function moveSync(src,dest,opts){opts=opts||{};let overwrite=opts.overwrite||opts.clobber||!1,{srcStat,isChangingCase=!1}=stat.checkPathsSync(src,dest,"move",opts);return stat.checkParentPathsSync(src,srcStat,dest,"move"),isParentRoot(dest)||mkdirpSync(path2.dirname(dest)),doRename(src,dest,overwrite,isChangingCase)}function isParentRoot(dest){let parent=path2.dirname(dest);return path2.parse(parent).root===parent}function doRename(src,dest,overwrite,isChangingCase){if(isChangingCase)return rename(src,dest,overwrite);if(overwrite)return removeSync(dest),rename(src,dest,overwrite);if(fs.existsSync(dest))throw new Error("dest already exists.");return rename(src,dest,overwrite)}function rename(src,dest,overwrite){try{fs.renameSync(src,dest);}catch(err){if(err.code!=="EXDEV")throw err;return moveAcrossDevice(src,dest,overwrite)}}function moveAcrossDevice(src,dest,overwrite){return copySync(src,dest,{overwrite,errorOnExist:!0,preserveTimestamps:!0}),removeSync(src)}module.exports=moveSync;}});var require_move5=__commonJS({"../../node_modules/fs-extra/lib/move/index.js"(exports,module){var u=require_universalify().fromPromise;module.exports={move:u(require_move4()),moveSync:require_move_sync2()};}});var require_lib3=__commonJS({"../../node_modules/fs-extra/lib/index.js"(exports,module){module.exports={...require_fs2(),...require_copy4(),...require_empty3(),...require_ensure2(),...require_json2(),...require_mkdirs2(),...require_move5(),...require_output_file2(),...require_path_exists3(),...require_remove3()};}});var require_crypto_random_string=__commonJS({"../../node_modules/crypto-random-string/index.js"(exports,module){var crypto2=__require("crypto");module.exports=length=>{if(!Number.isFinite(length))throw new TypeError("Expected a finite number");return crypto2.randomBytes(Math.ceil(length/2)).toString("hex").slice(0,length)};}});var require_unique_string=__commonJS({"../../node_modules/unique-string/index.js"(exports,module){var cryptoRandomString=require_crypto_random_string();module.exports=()=>cryptoRandomString(32);}});var require_temp_dir=__commonJS({"../../node_modules/temp-dir/index.js"(exports,module){var fs=__require("fs"),os=__require("os"),tempDirectorySymbol=Symbol.for("__RESOLVED_TEMP_DIRECTORY__");global[tempDirectorySymbol]||Object.defineProperty(global,tempDirectorySymbol,{value:fs.realpathSync(os.tmpdir())});module.exports=global[tempDirectorySymbol];}});var require_is_stream=__commonJS({"../../node_modules/is-stream/index.js"(exports,module){var isStream=stream=>stream!==null&&typeof stream=="object"&&typeof stream.pipe=="function";isStream.writable=stream=>isStream(stream)&&stream.writable!==!1&&typeof stream._write=="function"&&typeof stream._writableState=="object";isStream.readable=stream=>isStream(stream)&&stream.readable!==!1&&typeof stream._read=="function"&&typeof stream._readableState=="object";isStream.duplex=stream=>isStream.writable(stream)&&isStream.readable(stream);isStream.transform=stream=>isStream.duplex(stream)&&typeof stream._transform=="function";module.exports=isStream;}});var require_array_union=__commonJS({"../../node_modules/array-union/index.js"(exports,module){module.exports=(...arguments_)=>[...new Set([].concat(...arguments_))];}});var require_merge2=__commonJS({"../../node_modules/merge2/index.js"(exports,module){var Stream2=__require("stream"),PassThrough2=Stream2.PassThrough,slice=Array.prototype.slice;module.exports=merge2;function merge2(){let streamsQueue=[],args=slice.call(arguments),merging=!1,options=args[args.length-1];options&&!Array.isArray(options)&&options.pipe==null?args.pop():options={};let doEnd=options.end!==!1,doPipeError=options.pipeError===!0;options.objectMode==null&&(options.objectMode=!0),options.highWaterMark==null&&(options.highWaterMark=64*1024);let mergedStream=PassThrough2(options);function addStream(){for(let i=0,len=arguments.length;i<len;i++)streamsQueue.push(pauseStreams(arguments[i],options));return mergeStream(),this}function mergeStream(){if(merging)return;merging=!0;let streams=streamsQueue.shift();if(!streams){process.nextTick(endStream);return}Array.isArray(streams)||(streams=[streams]);let pipesCount=streams.length+1;function next(){--pipesCount>0||(merging=!1,mergeStream());}function pipe(stream){function onend(){stream.removeListener("merge2UnpipeEnd",onend),stream.removeListener("end",onend),doPipeError&&stream.removeListener("error",onerror),next();}function onerror(err){mergedStream.emit("error",err);}if(stream._readableState.endEmitted)return next();stream.on("merge2UnpipeEnd",onend),stream.on("end",onend),doPipeError&&stream.on("error",onerror),stream.pipe(mergedStream,{end:!1}),stream.resume();}for(let i=0;i<streams.length;i++)pipe(streams[i]);next();}function endStream(){merging=!1,mergedStream.emit("queueDrain"),doEnd&&mergedStream.end();}return mergedStream.setMaxListeners(0),mergedStream.add=addStream,mergedStream.on("unpipe",function(stream){stream.emit("merge2UnpipeEnd");}),args.length&&addStream.apply(null,args),mergedStream}function pauseStreams(streams,options){if(Array.isArray(streams))for(let i=0,len=streams.length;i<len;i++)streams[i]=pauseStreams(streams[i],options);else {if(!streams._readableState&&streams.pipe&&(streams=streams.pipe(PassThrough2(options))),!streams._readableState||!streams.pause||!streams.pipe)throw new Error("Only readable stream can be merged.");streams.pause();}return streams}}});var require_array=__commonJS({"../../node_modules/fast-glob/out/utils/array.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.splitWhen=exports.flatten=void 0;function flatten(items){return items.reduce((collection,item)=>[].concat(collection,item),[])}exports.flatten=flatten;function splitWhen(items,predicate){let result=[[]],groupIndex=0;for(let item of items)predicate(item)?(groupIndex++,result[groupIndex]=[]):result[groupIndex].push(item);return result}exports.splitWhen=splitWhen;}});var require_errno=__commonJS({"../../node_modules/fast-glob/out/utils/errno.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.isEnoentCodeError=void 0;function isEnoentCodeError(error){return error.code==="ENOENT"}exports.isEnoentCodeError=isEnoentCodeError;}});var require_fs3=__commonJS({"../../node_modules/fast-glob/out/utils/fs.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createDirentFromStats=void 0;var DirentFromStats=class{constructor(name,stats){this.name=name,this.isBlockDevice=stats.isBlockDevice.bind(stats),this.isCharacterDevice=stats.isCharacterDevice.bind(stats),this.isDirectory=stats.isDirectory.bind(stats),this.isFIFO=stats.isFIFO.bind(stats),this.isFile=stats.isFile.bind(stats),this.isSocket=stats.isSocket.bind(stats),this.isSymbolicLink=stats.isSymbolicLink.bind(stats);}};function createDirentFromStats(name,stats){return new DirentFromStats(name,stats)}exports.createDirentFromStats=createDirentFromStats;}});var require_path2=__commonJS({"../../node_modules/fast-glob/out/utils/path.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.convertPosixPathToPattern=exports.convertWindowsPathToPattern=exports.convertPathToPattern=exports.escapePosixPath=exports.escapeWindowsPath=exports.escape=exports.removeLeadingDotSegment=exports.makeAbsolute=exports.unixify=void 0;var os=__require("os"),path2=__require("path"),IS_WINDOWS_PLATFORM=os.platform()==="win32",LEADING_DOT_SEGMENT_CHARACTERS_COUNT=2,POSIX_UNESCAPED_GLOB_SYMBOLS_RE=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,DOS_DEVICE_PATH_RE=/^\\\\([.?])/,WINDOWS_BACKSLASHES_RE=/\\(?![!()+@[\]{}])/g;function unixify(filepath){return filepath.replace(/\\/g,"/")}exports.unixify=unixify;function makeAbsolute(cwd,filepath){return path2.resolve(cwd,filepath)}exports.makeAbsolute=makeAbsolute;function removeLeadingDotSegment(entry){if(entry.charAt(0)==="."){let secondCharactery=entry.charAt(1);if(secondCharactery==="/"||secondCharactery==="\\")return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT)}return entry}exports.removeLeadingDotSegment=removeLeadingDotSegment;exports.escape=IS_WINDOWS_PLATFORM?escapeWindowsPath:escapePosixPath;function escapeWindowsPath(pattern){return pattern.replace(WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE,"\\$2")}exports.escapeWindowsPath=escapeWindowsPath;function escapePosixPath(pattern){return pattern.replace(POSIX_UNESCAPED_GLOB_SYMBOLS_RE,"\\$2")}exports.escapePosixPath=escapePosixPath;exports.convertPathToPattern=IS_WINDOWS_PLATFORM?convertWindowsPathToPattern:convertPosixPathToPattern;function convertWindowsPathToPattern(filepath){return escapeWindowsPath(filepath).replace(DOS_DEVICE_PATH_RE,"//$1").replace(WINDOWS_BACKSLASHES_RE,"/")}exports.convertWindowsPathToPattern=convertWindowsPathToPattern;function convertPosixPathToPattern(filepath){return escapePosixPath(filepath)}exports.convertPosixPathToPattern=convertPosixPathToPattern;}});var require_is_extglob=__commonJS({"../../node_modules/is-extglob/index.js"(exports,module){module.exports=function(str){if(typeof str!="string"||str==="")return !1;for(var match;match=/(\\).|([@?!+*]\(.*\))/g.exec(str);){if(match[2])return !0;str=str.slice(match.index+match[0].length);}return !1};}});var require_is_glob=__commonJS({"../../node_modules/is-glob/index.js"(exports,module){var isExtglob=require_is_extglob(),chars={"{":"}","(":")","[":"]"},strictCheck=function(str){if(str[0]==="!")return !0;for(var index=0,pipeIndex=-2,closeSquareIndex=-2,closeCurlyIndex=-2,closeParenIndex=-2,backSlashIndex=-2;index<str.length;){if(str[index]==="*"||str[index+1]==="?"&&/[\].+)]/.test(str[index])||closeSquareIndex!==-1&&str[index]==="["&&str[index+1]!=="]"&&(closeSquareIndex<index&&(closeSquareIndex=str.indexOf("]",index)),closeSquareIndex>index&&(backSlashIndex===-1||backSlashIndex>closeSquareIndex||(backSlashIndex=str.indexOf("\\",index),backSlashIndex===-1||backSlashIndex>closeSquareIndex)))||closeCurlyIndex!==-1&&str[index]==="{"&&str[index+1]!=="}"&&(closeCurlyIndex=str.indexOf("}",index),closeCurlyIndex>index&&(backSlashIndex=str.indexOf("\\",index),backSlashIndex===-1||backSlashIndex>closeCurlyIndex))||closeParenIndex!==-1&&str[index]==="("&&str[index+1]==="?"&&/[:!=]/.test(str[index+2])&&str[index+3]!==")"&&(closeParenIndex=str.indexOf(")",index),closeParenIndex>index&&(backSlashIndex=str.indexOf("\\",index),backSlashIndex===-1||backSlashIndex>closeParenIndex))||pipeIndex!==-1&&str[index]==="("&&str[index+1]!=="|"&&(pipeIndex<index&&(pipeIndex=str.indexOf("|",index)),pipeIndex!==-1&&str[pipeIndex+1]!==")"&&(closeParenIndex=str.indexOf(")",pipeIndex),closeParenIndex>pipeIndex&&(backSlashIndex=str.indexOf("\\",pipeIndex),backSlashIndex===-1||backSlashIndex>closeParenIndex))))return !0;if(str[index]==="\\"){var open=str[index+1];index+=2;var close=chars[open];if(close){var n=str.indexOf(close,index);n!==-1&&(index=n+1);}if(str[index]==="!")return !0}else index++;}return !1},relaxedCheck=function(str){if(str[0]==="!")return !0;for(var index=0;index<str.length;){if(/[*?{}()[\]]/.test(str[index]))return !0;if(str[index]==="\\"){var open=str[index+1];index+=2;var close=chars[open];if(close){var n=str.indexOf(close,index);n!==-1&&(index=n+1);}if(str[index]==="!")return !0}else index++;}return !1};module.exports=function(str,options){if(typeof str!="string"||str==="")return !1;if(isExtglob(str))return !0;var check=strictCheck;return options&&options.strict===!1&&(check=relaxedCheck),check(str)};}});var require_glob_parent=__commonJS({"../../node_modules/fast-glob/node_modules/glob-parent/index.js"(exports,module){var isGlob=require_is_glob(),pathPosixDirname=__require("path").posix.dirname,isWin32=__require("os").platform()==="win32",slash="/",backslash=/\\/g,enclosure=/[\{\[].*[\}\]]$/,globby=/(^|[^\\])([\{\[]|\([^\)]+$)/,escaped=/\\([\!\*\?\|\[\]\(\)\{\}])/g;module.exports=function(str,opts){var options=Object.assign({flipBackslashes:!0},opts);options.flipBackslashes&&isWin32&&str.indexOf(slash)<0&&(str=str.replace(backslash,slash)),enclosure.test(str)&&(str+=slash),str+="a";do str=pathPosixDirname(str);while(isGlob(str)||globby.test(str));return str.replace(escaped,"$1")};}});var require_utils4=__commonJS({"../../node_modules/braces/lib/utils.js"(exports){exports.isInteger=num=>typeof num=="number"?Number.isInteger(num):typeof num=="string"&&num.trim()!==""?Number.isInteger(Number(num)):!1;exports.find=(node,type)=>node.nodes.find(node2=>node2.type===type);exports.exceedsLimit=(min,max,step=1,limit)=>limit===!1||!exports.isInteger(min)||!exports.isInteger(max)?!1:(Number(max)-Number(min))/Number(step)>=limit;exports.escapeNode=(block,n=0,type)=>{let node=block.nodes[n];node&&(type&&node.type===type||node.type==="open"||node.type==="close")&&node.escaped!==!0&&(node.value="\\"+node.value,node.escaped=!0);};exports.encloseBrace=node=>node.type!=="brace"||node.commas>>0+node.ranges>>0?!1:(node.invalid=!0,!0);exports.isInvalidBrace=block=>block.type!=="brace"?!1:block.invalid===!0||block.dollar?!0:!(block.commas>>0+block.ranges>>0)||block.open!==!0||block.close!==!0?(block.invalid=!0,!0):!1;exports.isOpenOrClose=node=>node.type==="open"||node.type==="close"?!0:node.open===!0||node.close===!0;exports.reduce=nodes=>nodes.reduce((acc,node)=>(node.type==="text"&&acc.push(node.value),node.type==="range"&&(node.type="text"),acc),[]);exports.flatten=(...args)=>{let result=[],flat=arr=>{for(let i=0;i<arr.length;i++){let ele=arr[i];Array.isArray(ele)?flat(ele):ele!==void 0&&result.push(ele);}return result};return flat(args),result};}});var require_stringify=__commonJS({"../../node_modules/braces/lib/stringify.js"(exports,module){var utils=require_utils4();module.exports=(ast,options={})=>{let stringify=(node,parent={})=>{let invalidBlock=options.escapeInvalid&&utils.isInvalidBrace(parent),invalidNode=node.invalid===!0&&options.escapeInvalid===!0,output="";if(node.value)return (invalidBlock||invalidNode)&&utils.isOpenOrClose(node)?"\\"+node.value:node.value;if(node.value)return node.value;if(node.nodes)for(let child of node.nodes)output+=stringify(child);return output};return stringify(ast)};}});var require_is_number=__commonJS({"../../node_modules/to-regex-range/node_modules/is-number/index.js"(exports,module){module.exports=function(num){return typeof num=="number"?num-num===0:typeof num=="string"&&num.trim()!==""?Number.isFinite?Number.isFinite(+num):isFinite(+num):!1};}});var require_to_regex_range=__commonJS({"../../node_modules/to-regex-range/index.js"(exports,module){var isNumber=require_is_number(),toRegexRange=(min,max,options)=>{if(isNumber(min)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(max===void 0||min===max)return String(min);if(isNumber(max)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let opts={relaxZeros:!0,...options};typeof opts.strictZeros=="boolean"&&(opts.relaxZeros=opts.strictZeros===!1);let relax=String(opts.relaxZeros),shorthand=String(opts.shorthand),capture=String(opts.capture),wrap=String(opts.wrap),cacheKey=min+":"+max+"="+relax+shorthand+capture+wrap;if(toRegexRange.cache.hasOwnProperty(cacheKey))return toRegexRange.cache[cacheKey].result;let a=Math.min(min,max),b=Math.max(min,max);if(Math.abs(a-b)===1){let result=min+"|"+max;return opts.capture?`(${result})`:opts.wrap===!1?result:`(?:${result})`}let isPadded=hasPadding(min)||hasPadding(max),state={min,max,a,b},positives=[],negatives=[];if(isPadded&&(state.isPadded=isPadded,state.maxLen=String(state.max).length),a<0){let newMin=b<0?Math.abs(b):1;negatives=splitToPatterns(newMin,Math.abs(a),state,opts),a=state.a=0;}return b>=0&&(positives=splitToPatterns(a,b,state,opts)),state.negatives=negatives,state.positives=positives,state.result=collatePatterns(negatives,positives),opts.capture===!0?state.result=`(${state.result})`:opts.wrap!==!1&&positives.length+negatives.length>1&&(state.result=`(?:${state.result})`),toRegexRange.cache[cacheKey]=state,state.result};function collatePatterns(neg,pos,options){let onlyNegative=filterPatterns(neg,pos,"-",!1)||[],onlyPositive=filterPatterns(pos,neg,"",!1)||[],intersected=filterPatterns(neg,pos,"-?",!0)||[];return onlyNegative.concat(intersected).concat(onlyPositive).join("|")}function splitToRanges(min,max){let nines=1,zeros=1,stop=countNines(min,nines),stops=new Set([max]);for(;min<=stop&&stop<=max;)stops.add(stop),nines+=1,stop=countNines(min,nines);for(stop=countZeros(max+1,zeros)-1;min<stop&&stop<=max;)stops.add(stop),zeros+=1,stop=countZeros(max+1,zeros)-1;return stops=[...stops],stops.sort(compare),stops}function rangeToPattern(start,stop,options){if(start===stop)return {pattern:start,count:[],digits:0};let zipped=zip(start,stop),digits=zipped.length,pattern="",count=0;for(let i=0;i<digits;i++){let[startDigit,stopDigit]=zipped[i];startDigit===stopDigit?pattern+=startDigit:startDigit!=="0"||stopDigit!=="9"?pattern+=toCharacterClass(startDigit,stopDigit):count++;}return count&&(pattern+=options.shorthand===!0?"\\d":"[0-9]"),{pattern,count:[count],digits}}function splitToPatterns(min,max,tok,options){let ranges=splitToRanges(min,max),tokens=[],start=min,prev;for(let i=0;i<ranges.length;i++){let max2=ranges[i],obj=rangeToPattern(String(start),String(max2),options),zeros="";if(!tok.isPadded&&prev&&prev.pattern===obj.pattern){prev.count.length>1&&prev.count.pop(),prev.count.push(obj.count[0]),prev.string=prev.pattern+toQuantifier(prev.count),start=max2+1;continue}tok.isPadded&&(zeros=padZeros(max2,tok,options)),obj.string=zeros+obj.pattern+toQuantifier(obj.count),tokens.push(obj),start=max2+1,prev=obj;}return tokens}function filterPatterns(arr,comparison,prefix,intersection,options){let result=[];for(let ele of arr){let{string}=ele;!intersection&&!contains(comparison,"string",string)&&result.push(prefix+string),intersection&&contains(comparison,"string",string)&&result.push(prefix+string);}return result}function zip(a,b){let arr=[];for(let i=0;i<a.length;i++)arr.push([a[i],b[i]]);return arr}function compare(a,b){return a>b?1:b>a?-1:0}function contains(arr,key,val){return arr.some(ele=>ele[key]===val)}function countNines(min,len){return Number(String(min).slice(0,-len)+"9".repeat(len))}function countZeros(integer,zeros){return integer-integer%Math.pow(10,zeros)}function toQuantifier(digits){let[start=0,stop=""]=digits;return stop||start>1?`{${start+(stop?","+stop:"")}}`:""}function toCharacterClass(a,b,options){return `[${a}${b-a===1?"":"-"}${b}]`}function hasPadding(str){return /^-?(0+)\d/.test(str)}function padZeros(value,tok,options){if(!tok.isPadded)return value;let diff=Math.abs(tok.maxLen-String(value).length),relax=options.relaxZeros!==!1;switch(diff){case 0:return "";case 1:return relax?"0?":"0";case 2:return relax?"0{0,2}":"00";default:return relax?`0{0,${diff}}`:`0{${diff}}`}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};module.exports=toRegexRange;}});var require_fill_range=__commonJS({"../../node_modules/fill-range/index.js"(exports,module){var util=__require("util"),toRegexRange=require_to_regex_range(),isObject=val=>val!==null&&typeof val=="object"&&!Array.isArray(val),transform=toNumber=>value=>toNumber===!0?Number(value):String(value),isValidValue=value=>typeof value=="number"||typeof value=="string"&&value!=="",isNumber=num=>Number.isInteger(+num),zeros=input=>{let value=`${input}`,index=-1;if(value[0]==="-"&&(value=value.slice(1)),value==="0")return !1;for(;value[++index]==="0";);return index>0},stringify=(start,end,options)=>typeof start=="string"||typeof end=="string"?!0:options.stringify===!0,pad=(input,maxLength,toNumber)=>{if(maxLength>0){let dash=input[0]==="-"?"-":"";dash&&(input=input.slice(1)),input=dash+input.padStart(dash?maxLength-1:maxLength,"0");}return toNumber===!1?String(input):input},toMaxLen=(input,maxLength)=>{let negative=input[0]==="-"?"-":"";for(negative&&(input=input.slice(1),maxLength--);input.length<maxLength;)input="0"+input;return negative?"-"+input:input},toSequence=(parts,options)=>{parts.negatives.sort((a,b)=>a<b?-1:a>b?1:0),parts.positives.sort((a,b)=>a<b?-1:a>b?1:0);let prefix=options.capture?"":"?:",positives="",negatives="",result;return parts.positives.length&&(positives=parts.positives.join("|")),parts.negatives.length&&(negatives=`-(${prefix}${parts.negatives.join("|")})`),positives&&negatives?result=`${positives}|${negatives}`:result=positives||negatives,options.wrap?`(${prefix}${result})`:result},toRange=(a,b,isNumbers,options)=>{if(isNumbers)return toRegexRange(a,b,{wrap:!1,...options});let start=String.fromCharCode(a);if(a===b)return start;let stop=String.fromCharCode(b);return `[${start}-${stop}]`},toRegex=(start,end,options)=>{if(Array.isArray(start)){let wrap=options.wrap===!0,prefix=options.capture?"":"?:";return wrap?`(${prefix}${start.join("|")})`:start.join("|")}return toRegexRange(start,end,options)},rangeError=(...args)=>new RangeError("Invalid range arguments: "+util.inspect(...args)),invalidRange=(start,end,options)=>{if(options.strictRanges===!0)throw rangeError([start,end]);return []},invalidStep=(step,options)=>{if(options.strictRanges===!0)throw new TypeError(`Expected step "${step}" to be a number`);return []},fillNumbers=(start,end,step=1,options={})=>{let a=Number(start),b=Number(end);if(!Number.isInteger(a)||!Number.isInteger(b)){if(options.strictRanges===!0)throw rangeError([start,end]);return []}a===0&&(a=0),b===0&&(b=0);let descending=a>b,startString=String(start),endString=String(end),stepString=String(step);step=Math.max(Math.abs(step),1);let padded=zeros(startString)||zeros(endString)||zeros(stepString),maxLen=padded?Math.max(startString.length,endString.length,stepString.length):0,toNumber=padded===!1&&stringify(start,end,options)===!1,format=options.transform||transform(toNumber);if(options.toRegex&&step===1)return toRange(toMaxLen(start,maxLen),toMaxLen(end,maxLen),!0,options);let parts={negatives:[],positives:[]},push=num=>parts[num<0?"negatives":"positives"].push(Math.abs(num)),range=[],index=0;for(;descending?a>=b:a<=b;)options.toRegex===!0&&step>1?push(a):range.push(pad(format(a,index),maxLen,toNumber)),a=descending?a-step:a+step,index++;return options.toRegex===!0?step>1?toSequence(parts,options):toRegex(range,null,{wrap:!1,...options}):range},fillLetters=(start,end,step=1,options={})=>{if(!isNumber(start)&&start.length>1||!isNumber(end)&&end.length>1)return invalidRange(start,end,options);let format=options.transform||(val=>String.fromCharCode(val)),a=`${start}`.charCodeAt(0),b=`${end}`.charCodeAt(0),descending=a>b,min=Math.min(a,b),max=Math.max(a,b);if(options.toRegex&&step===1)return toRange(min,max,!1,options);let range=[],index=0;for(;descending?a>=b:a<=b;)range.push(format(a,index)),a=descending?a-step:a+step,index++;return options.toRegex===!0?toRegex(range,null,{wrap:!1,options}):range},fill=(start,end,step,options={})=>{if(end==null&&isValidValue(start))return [start];if(!isValidValue(start)||!isValidValue(end))return invalidRange(start,end,options);if(typeof step=="function")return fill(start,end,1,{transform:step});if(isObject(step))return fill(start,end,0,step);let opts={...options};return opts.capture===!0&&(opts.wrap=!0),step=step||opts.step||1,isNumber(step)?isNumber(start)&&isNumber(end)?fillNumbers(start,end,step,opts):fillLetters(start,end,Math.max(Math.abs(step),1),opts):step!=null&&!isObject(step)?invalidStep(step,opts):fill(start,end,1,step)};module.exports=fill;}});var require_compile=__commonJS({"../../node_modules/braces/lib/compile.js"(exports,module){var fill=require_fill_range(),utils=require_utils4(),compile=(ast,options={})=>{let walk=(node,parent={})=>{let invalidBlock=utils.isInvalidBrace(parent),invalidNode=node.invalid===!0&&options.escapeInvalid===!0,invalid=invalidBlock===!0||invalidNode===!0,prefix=options.escapeInvalid===!0?"\\":"",output="";if(node.isOpen===!0||node.isClose===!0)return prefix+node.value;if(node.type==="open")return invalid?prefix+node.value:"(";if(node.type==="close")return invalid?prefix+node.value:")";if(node.type==="comma")return node.prev.type==="comma"?"":invalid?node.value:"|";if(node.value)return node.value;if(node.nodes&&node.ranges>0){let args=utils.reduce(node.nodes),range=fill(...args,{...options,wrap:!1,toRegex:!0});if(range.length!==0)return args.length>1&&range.length>1?`(${range})`:range}if(node.nodes)for(let child of node.nodes)output+=walk(child,node);return output};return walk(ast)};module.exports=compile;}});var require_expand=__commonJS({"../../node_modules/braces/lib/expand.js"(exports,module){var fill=require_fill_range(),stringify=require_stringify(),utils=require_utils4(),append=(queue="",stash="",enclose=!1)=>{let result=[];if(queue=[].concat(queue),stash=[].concat(stash),!stash.length)return queue;if(!queue.length)return enclose?utils.flatten(stash).map(ele=>`{${ele}}`):stash;for(let item of queue)if(Array.isArray(item))for(let value of item)result.push(append(value,stash,enclose));else for(let ele of stash)enclose===!0&&typeof ele=="string"&&(ele=`{${ele}}`),result.push(Array.isArray(ele)?append(item,ele,enclose):item+ele);return utils.flatten(result)},expand=(ast,options={})=>{let rangeLimit=options.rangeLimit===void 0?1e3:options.rangeLimit,walk=(node,parent={})=>{node.queue=[];let p=parent,q=parent.queue;for(;p.type!=="brace"&&p.type!=="root"&&p.parent;)p=p.parent,q=p.queue;if(node.invalid||node.dollar){q.push(append(q.pop(),stringify(node,options)));return}if(node.type==="brace"&&node.invalid!==!0&&node.nodes.length===2){q.push(append(q.pop(),["{}"]));return}if(node.nodes&&node.ranges>0){let args=utils.reduce(node.nodes);if(utils.exceedsLimit(...args,options.step,rangeLimit))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let range=fill(...args,options);range.length===0&&(range=stringify(node,options)),q.push(append(q.pop(),range)),node.nodes=[];return}let enclose=utils.encloseBrace(node),queue=node.queue,block=node;for(;block.type!=="brace"&&block.type!=="root"&&block.parent;)block=block.parent,queue=block.queue;for(let i=0;i<node.nodes.length;i++){let child=node.nodes[i];if(child.type==="comma"&&node.type==="brace"){i===1&&queue.push(""),queue.push("");continue}if(child.type==="close"){q.push(append(q.pop(),queue,enclose));continue}if(child.value&&child.type!=="open"){queue.push(append(queue.pop(),child.value));continue}child.nodes&&walk(child,node);}return queue};return utils.flatten(walk(ast))};module.exports=expand;}});var require_constants=__commonJS({"../../node_modules/braces/lib/constants.js"(exports,module){module.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
267
271
  `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"};}});var require_parse=__commonJS({"../../node_modules/braces/lib/parse.js"(exports,module){var stringify=require_stringify(),{MAX_LENGTH,CHAR_BACKSLASH,CHAR_BACKTICK,CHAR_COMMA,CHAR_DOT,CHAR_LEFT_PARENTHESES,CHAR_RIGHT_PARENTHESES,CHAR_LEFT_CURLY_BRACE,CHAR_RIGHT_CURLY_BRACE,CHAR_LEFT_SQUARE_BRACKET,CHAR_RIGHT_SQUARE_BRACKET,CHAR_DOUBLE_QUOTE,CHAR_SINGLE_QUOTE,CHAR_NO_BREAK_SPACE,CHAR_ZERO_WIDTH_NOBREAK_SPACE}=require_constants(),parse=(input,options={})=>{if(typeof input!="string")throw new TypeError("Expected a string");let opts=options||{},max=typeof opts.maxLength=="number"?Math.min(MAX_LENGTH,opts.maxLength):MAX_LENGTH;if(input.length>max)throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);let ast={type:"root",input,nodes:[]},stack=[ast],block=ast,prev=ast,brackets=0,length=input.length,index=0,depth=0,value,advance=()=>input[index++],push=node=>{if(node.type==="text"&&prev.type==="dot"&&(prev.type="text"),prev&&prev.type==="text"&&node.type==="text"){prev.value+=node.value;return}return block.nodes.push(node),node.parent=block,node.prev=prev,prev=node,node};for(push({type:"bos"});index<length;)if(block=stack[stack.length-1],value=advance(),!(value===CHAR_ZERO_WIDTH_NOBREAK_SPACE||value===CHAR_NO_BREAK_SPACE)){if(value===CHAR_BACKSLASH){push({type:"text",value:(options.keepEscaping?value:"")+advance()});continue}if(value===CHAR_RIGHT_SQUARE_BRACKET){push({type:"text",value:"\\"+value});continue}if(value===CHAR_LEFT_SQUARE_BRACKET){brackets++;let next;for(;index<length&&(next=advance());){if(value+=next,next===CHAR_LEFT_SQUARE_BRACKET){brackets++;continue}if(next===CHAR_BACKSLASH){value+=advance();continue}if(next===CHAR_RIGHT_SQUARE_BRACKET&&(brackets--,brackets===0))break}push({type:"text",value});continue}if(value===CHAR_LEFT_PARENTHESES){block=push({type:"paren",nodes:[]}),stack.push(block),push({type:"text",value});continue}if(value===CHAR_RIGHT_PARENTHESES){if(block.type!=="paren"){push({type:"text",value});continue}block=stack.pop(),push({type:"text",value}),block=stack[stack.length-1];continue}if(value===CHAR_DOUBLE_QUOTE||value===CHAR_SINGLE_QUOTE||value===CHAR_BACKTICK){let open=value,next;for(options.keepQuotes!==!0&&(value="");index<length&&(next=advance());){if(next===CHAR_BACKSLASH){value+=next+advance();continue}if(next===open){options.keepQuotes===!0&&(value+=next);break}value+=next;}push({type:"text",value});continue}if(value===CHAR_LEFT_CURLY_BRACE){depth++;let brace={type:"brace",open:!0,close:!1,dollar:prev.value&&prev.value.slice(-1)==="$"||block.dollar===!0,depth,commas:0,ranges:0,nodes:[]};block=push(brace),stack.push(block),push({type:"open",value});continue}if(value===CHAR_RIGHT_CURLY_BRACE){if(block.type!=="brace"){push({type:"text",value});continue}let type="close";block=stack.pop(),block.close=!0,push({type,value}),depth--,block=stack[stack.length-1];continue}if(value===CHAR_COMMA&&depth>0){if(block.ranges>0){block.ranges=0;let open=block.nodes.shift();block.nodes=[open,{type:"text",value:stringify(block)}];}push({type:"comma",value}),block.commas++;continue}if(value===CHAR_DOT&&depth>0&&block.commas===0){let siblings=block.nodes;if(depth===0||siblings.length===0){push({type:"text",value});continue}if(prev.type==="dot"){if(block.range=[],prev.value+=value,prev.type="range",block.nodes.length!==3&&block.nodes.length!==5){block.invalid=!0,block.ranges=0,prev.type="text";continue}block.ranges++,block.args=[];continue}if(prev.type==="range"){siblings.pop();let before=siblings[siblings.length-1];before.value+=prev.value+value,prev=before,block.ranges--;continue}push({type:"dot",value});continue}push({type:"text",value});}do if(block=stack.pop(),block.type!=="root"){block.nodes.forEach(node=>{node.nodes||(node.type==="open"&&(node.isOpen=!0),node.type==="close"&&(node.isClose=!0),node.nodes||(node.type="text"),node.invalid=!0);});let parent=stack[stack.length-1],index2=parent.nodes.indexOf(block);parent.nodes.splice(index2,1,...block.nodes);}while(stack.length>0);return push({type:"eos"}),ast};module.exports=parse;}});var require_braces=__commonJS({"../../node_modules/braces/index.js"(exports,module){var stringify=require_stringify(),compile=require_compile(),expand=require_expand(),parse=require_parse(),braces=(input,options={})=>{let output=[];if(Array.isArray(input))for(let pattern of input){let result=braces.create(pattern,options);Array.isArray(result)?output.push(...result):output.push(result);}else output=[].concat(braces.create(input,options));return options&&options.expand===!0&&options.nodupes===!0&&(output=[...new Set(output)]),output};braces.parse=(input,options={})=>parse(input,options);braces.stringify=(input,options={})=>stringify(typeof input=="string"?braces.parse(input,options):input,options);braces.compile=(input,options={})=>(typeof input=="string"&&(input=braces.parse(input,options)),compile(input,options));braces.expand=(input,options={})=>{typeof input=="string"&&(input=braces.parse(input,options));let result=expand(input,options);return options.noempty===!0&&(result=result.filter(Boolean)),options.nodupes===!0&&(result=[...new Set(result)]),result};braces.create=(input,options={})=>input===""||input.length<3?[input]:options.expand!==!0?braces.compile(input,options):braces.expand(input,options);module.exports=braces;}});var require_constants2=__commonJS({"../../node_modules/picomatch/lib/constants.js"(exports,module){var path2=__require("path"),WIN_SLASH="\\\\/",WIN_NO_SLASH=`[^${WIN_SLASH}]`,DOT_LITERAL="\\.",PLUS_LITERAL="\\+",QMARK_LITERAL="\\?",SLASH_LITERAL="\\/",ONE_CHAR="(?=.)",QMARK="[^/]",END_ANCHOR=`(?:${SLASH_LITERAL}|$)`,START_ANCHOR=`(?:^|${SLASH_LITERAL})`,DOTS_SLASH=`${DOT_LITERAL}{1,2}${END_ANCHOR}`,NO_DOT=`(?!${DOT_LITERAL})`,NO_DOTS=`(?!${START_ANCHOR}${DOTS_SLASH})`,NO_DOT_SLASH=`(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,NO_DOTS_SLASH=`(?!${DOTS_SLASH})`,QMARK_NO_DOT=`[^.${SLASH_LITERAL}]`,STAR=`${QMARK}*?`,POSIX_CHARS={DOT_LITERAL,PLUS_LITERAL,QMARK_LITERAL,SLASH_LITERAL,ONE_CHAR,QMARK,END_ANCHOR,DOTS_SLASH,NO_DOT,NO_DOTS,NO_DOT_SLASH,NO_DOTS_SLASH,QMARK_NO_DOT,STAR,START_ANCHOR},WINDOWS_CHARS={...POSIX_CHARS,SLASH_LITERAL:`[${WIN_SLASH}]`,QMARK:WIN_NO_SLASH,STAR:`${WIN_NO_SLASH}*?`,DOTS_SLASH:`${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,NO_DOT:`(?!${DOT_LITERAL})`,NO_DOTS:`(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,NO_DOT_SLASH:`(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,NO_DOTS_SLASH:`(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,QMARK_NO_DOT:`[^.${WIN_SLASH}]`,START_ANCHOR:`(?:^|[${WIN_SLASH}])`,END_ANCHOR:`(?:[${WIN_SLASH}]|$)`},POSIX_REGEX_SOURCE={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};module.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:path2.sep,extglobChars(chars){return {"!":{type:"negate",open:"(?:(?!(?:",close:`))${chars.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(win32){return win32===!0?WINDOWS_CHARS:POSIX_CHARS}};}});var require_utils5=__commonJS({"../../node_modules/picomatch/lib/utils.js"(exports){var path2=__require("path"),win32=process.platform==="win32",{REGEX_BACKSLASH,REGEX_REMOVE_BACKSLASH,REGEX_SPECIAL_CHARS,REGEX_SPECIAL_CHARS_GLOBAL}=require_constants2();exports.isObject=val=>val!==null&&typeof val=="object"&&!Array.isArray(val);exports.hasRegexChars=str=>REGEX_SPECIAL_CHARS.test(str);exports.isRegexChar=str=>str.length===1&&exports.hasRegexChars(str);exports.escapeRegex=str=>str.replace(REGEX_SPECIAL_CHARS_GLOBAL,"\\$1");exports.toPosixSlashes=str=>str.replace(REGEX_BACKSLASH,"/");exports.removeBackslashes=str=>str.replace(REGEX_REMOVE_BACKSLASH,match=>match==="\\"?"":match);exports.supportsLookbehinds=()=>{let segs=process.version.slice(1).split(".").map(Number);return segs.length===3&&segs[0]>=9||segs[0]===8&&segs[1]>=10};exports.isWindows=options=>options&&typeof options.windows=="boolean"?options.windows:win32===!0||path2.sep==="\\";exports.escapeLast=(input,char,lastIdx)=>{let idx=input.lastIndexOf(char,lastIdx);return idx===-1?input:input[idx-1]==="\\"?exports.escapeLast(input,char,idx-1):`${input.slice(0,idx)}\\${input.slice(idx)}`};exports.removePrefix=(input,state={})=>{let output=input;return output.startsWith("./")&&(output=output.slice(2),state.prefix="./"),output};exports.wrapOutput=(input,state={},options={})=>{let prepend=options.contains?"":"^",append=options.contains?"":"$",output=`${prepend}(?:${input})${append}`;return state.negated===!0&&(output=`(?:^(?!${output}).*$)`),output};}});var require_scan2=__commonJS({"../../node_modules/picomatch/lib/scan.js"(exports,module){var utils=require_utils5(),{CHAR_ASTERISK,CHAR_AT,CHAR_BACKWARD_SLASH,CHAR_COMMA,CHAR_DOT,CHAR_EXCLAMATION_MARK,CHAR_FORWARD_SLASH,CHAR_LEFT_CURLY_BRACE,CHAR_LEFT_PARENTHESES,CHAR_LEFT_SQUARE_BRACKET,CHAR_PLUS,CHAR_QUESTION_MARK,CHAR_RIGHT_CURLY_BRACE,CHAR_RIGHT_PARENTHESES,CHAR_RIGHT_SQUARE_BRACKET}=require_constants2(),isPathSeparator=code=>code===CHAR_FORWARD_SLASH||code===CHAR_BACKWARD_SLASH,depth=token=>{token.isPrefix!==!0&&(token.depth=token.isGlobstar?1/0:1);},scan=(input,options)=>{let opts=options||{},length=input.length-1,scanToEnd=opts.parts===!0||opts.scanToEnd===!0,slashes=[],tokens=[],parts=[],str=input,index=-1,start=0,lastIndex=0,isBrace=!1,isBracket=!1,isGlob=!1,isExtglob=!1,isGlobstar=!1,braceEscaped=!1,backslashes=!1,negated=!1,negatedExtglob=!1,finished=!1,braces=0,prev,code,token={value:"",depth:0,isGlob:!1},eos=()=>index>=length,peek=()=>str.charCodeAt(index+1),advance=()=>(prev=code,str.charCodeAt(++index));for(;index<length;){code=advance();let next;if(code===CHAR_BACKWARD_SLASH){backslashes=token.backslashes=!0,code=advance(),code===CHAR_LEFT_CURLY_BRACE&&(braceEscaped=!0);continue}if(braceEscaped===!0||code===CHAR_LEFT_CURLY_BRACE){for(braces++;eos()!==!0&&(code=advance());){if(code===CHAR_BACKWARD_SLASH){backslashes=token.backslashes=!0,advance();continue}if(code===CHAR_LEFT_CURLY_BRACE){braces++;continue}if(braceEscaped!==!0&&code===CHAR_DOT&&(code=advance())===CHAR_DOT){if(isBrace=token.isBrace=!0,isGlob=token.isGlob=!0,finished=!0,scanToEnd===!0)continue;break}if(braceEscaped!==!0&&code===CHAR_COMMA){if(isBrace=token.isBrace=!0,isGlob=token.isGlob=!0,finished=!0,scanToEnd===!0)continue;break}if(code===CHAR_RIGHT_CURLY_BRACE&&(braces--,braces===0)){braceEscaped=!1,isBrace=token.isBrace=!0,finished=!0;break}}if(scanToEnd===!0)continue;break}if(code===CHAR_FORWARD_SLASH){if(slashes.push(index),tokens.push(token),token={value:"",depth:0,isGlob:!1},finished===!0)continue;if(prev===CHAR_DOT&&index===start+1){start+=2;continue}lastIndex=index+1;continue}if(opts.noext!==!0&&(code===CHAR_PLUS||code===CHAR_AT||code===CHAR_ASTERISK||code===CHAR_QUESTION_MARK||code===CHAR_EXCLAMATION_MARK)===!0&&peek()===CHAR_LEFT_PARENTHESES){if(isGlob=token.isGlob=!0,isExtglob=token.isExtglob=!0,finished=!0,code===CHAR_EXCLAMATION_MARK&&index===start&&(negatedExtglob=!0),scanToEnd===!0){for(;eos()!==!0&&(code=advance());){if(code===CHAR_BACKWARD_SLASH){backslashes=token.backslashes=!0,code=advance();continue}if(code===CHAR_RIGHT_PARENTHESES){isGlob=token.isGlob=!0,finished=!0;break}}continue}break}if(code===CHAR_ASTERISK){if(prev===CHAR_ASTERISK&&(isGlobstar=token.isGlobstar=!0),isGlob=token.isGlob=!0,finished=!0,scanToEnd===!0)continue;break}if(code===CHAR_QUESTION_MARK){if(isGlob=token.isGlob=!0,finished=!0,scanToEnd===!0)continue;break}if(code===CHAR_LEFT_SQUARE_BRACKET){for(;eos()!==!0&&(next=advance());){if(next===CHAR_BACKWARD_SLASH){backslashes=token.backslashes=!0,advance();continue}if(next===CHAR_RIGHT_SQUARE_BRACKET){isBracket=token.isBracket=!0,isGlob=token.isGlob=!0,finished=!0;break}}if(scanToEnd===!0)continue;break}if(opts.nonegate!==!0&&code===CHAR_EXCLAMATION_MARK&&index===start){negated=token.negated=!0,start++;continue}if(opts.noparen!==!0&&code===CHAR_LEFT_PARENTHESES){if(isGlob=token.isGlob=!0,scanToEnd===!0){for(;eos()!==!0&&(code=advance());){if(code===CHAR_LEFT_PARENTHESES){backslashes=token.backslashes=!0,code=advance();continue}if(code===CHAR_RIGHT_PARENTHESES){finished=!0;break}}continue}break}if(isGlob===!0){if(finished=!0,scanToEnd===!0)continue;break}}opts.noext===!0&&(isExtglob=!1,isGlob=!1);let base=str,prefix="",glob="";start>0&&(prefix=str.slice(0,start),str=str.slice(start),lastIndex-=start),base&&isGlob===!0&&lastIndex>0?(base=str.slice(0,lastIndex),glob=str.slice(lastIndex)):isGlob===!0?(base="",glob=str):base=str,base&&base!==""&&base!=="/"&&base!==str&&isPathSeparator(base.charCodeAt(base.length-1))&&(base=base.slice(0,-1)),opts.unescape===!0&&(glob&&(glob=utils.removeBackslashes(glob)),base&&backslashes===!0&&(base=utils.removeBackslashes(base)));let state={prefix,input,start,base,glob,isBrace,isBracket,isGlob,isExtglob,isGlobstar,negated,negatedExtglob};if(opts.tokens===!0&&(state.maxDepth=0,isPathSeparator(code)||tokens.push(token),state.tokens=tokens),opts.parts===!0||opts.tokens===!0){let prevIndex;for(let idx=0;idx<slashes.length;idx++){let n=prevIndex?prevIndex+1:start,i=slashes[idx],value=input.slice(n,i);opts.tokens&&(idx===0&&start!==0?(tokens[idx].isPrefix=!0,tokens[idx].value=prefix):tokens[idx].value=value,depth(tokens[idx]),state.maxDepth+=tokens[idx].depth),(idx!==0||value!=="")&&parts.push(value),prevIndex=i;}if(prevIndex&&prevIndex+1<input.length){let value=input.slice(prevIndex+1);parts.push(value),opts.tokens&&(tokens[tokens.length-1].value=value,depth(tokens[tokens.length-1]),state.maxDepth+=tokens[tokens.length-1].depth);}state.slashes=slashes,state.parts=parts;}return state};module.exports=scan;}});var require_parse2=__commonJS({"../../node_modules/picomatch/lib/parse.js"(exports,module){var constants=require_constants2(),utils=require_utils5(),{MAX_LENGTH,POSIX_REGEX_SOURCE,REGEX_NON_SPECIAL_CHARS,REGEX_SPECIAL_CHARS_BACKREF,REPLACEMENTS}=constants,expandRange=(args,options)=>{if(typeof options.expandRange=="function")return options.expandRange(...args,options);args.sort();let value=`[${args.join("-")}]`;try{new RegExp(value);}catch{return args.map(v=>utils.escapeRegex(v)).join("..")}return value},syntaxError=(type,char)=>`Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`,parse=(input,options)=>{if(typeof input!="string")throw new TypeError("Expected a string");input=REPLACEMENTS[input]||input;let opts={...options},max=typeof opts.maxLength=="number"?Math.min(MAX_LENGTH,opts.maxLength):MAX_LENGTH,len=input.length;if(len>max)throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);let bos={type:"bos",value:"",output:opts.prepend||""},tokens=[bos],capture=opts.capture?"":"?:",win32=utils.isWindows(options),PLATFORM_CHARS=constants.globChars(win32),EXTGLOB_CHARS=constants.extglobChars(PLATFORM_CHARS),{DOT_LITERAL,PLUS_LITERAL,SLASH_LITERAL,ONE_CHAR,DOTS_SLASH,NO_DOT,NO_DOT_SLASH,NO_DOTS_SLASH,QMARK,QMARK_NO_DOT,STAR,START_ANCHOR}=PLATFORM_CHARS,globstar=opts2=>`(${capture}(?:(?!${START_ANCHOR}${opts2.dot?DOTS_SLASH:DOT_LITERAL}).)*?)`,nodot=opts.dot?"":NO_DOT,qmarkNoDot=opts.dot?QMARK:QMARK_NO_DOT,star=opts.bash===!0?globstar(opts):STAR;opts.capture&&(star=`(${star})`),typeof opts.noext=="boolean"&&(opts.noextglob=opts.noext);let state={input,index:-1,start:0,dot:opts.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens};input=utils.removePrefix(input,state),len=input.length;let extglobs=[],braces=[],stack=[],prev=bos,value,eos=()=>state.index===len-1,peek=state.peek=(n=1)=>input[state.index+n],advance=state.advance=()=>input[++state.index]||"",remaining=()=>input.slice(state.index+1),consume=(value2="",num=0)=>{state.consumed+=value2,state.index+=num;},append=token=>{state.output+=token.output!=null?token.output:token.value,consume(token.value);},negate=()=>{let count=1;for(;peek()==="!"&&(peek(2)!=="("||peek(3)==="?");)advance(),state.start++,count++;return count%2===0?!1:(state.negated=!0,state.start++,!0)},increment=type=>{state[type]++,stack.push(type);},decrement=type=>{state[type]--,stack.pop();},push=tok=>{if(prev.type==="globstar"){let isBrace=state.braces>0&&(tok.type==="comma"||tok.type==="brace"),isExtglob=tok.extglob===!0||extglobs.length&&(tok.type==="pipe"||tok.type==="paren");tok.type!=="slash"&&tok.type!=="paren"&&!isBrace&&!isExtglob&&(state.output=state.output.slice(0,-prev.output.length),prev.type="star",prev.value="*",prev.output=star,state.output+=prev.output);}if(extglobs.length&&tok.type!=="paren"&&(extglobs[extglobs.length-1].inner+=tok.value),(tok.value||tok.output)&&append(tok),prev&&prev.type==="text"&&tok.type==="text"){prev.value+=tok.value,prev.output=(prev.output||"")+tok.value;return}tok.prev=prev,tokens.push(tok),prev=tok;},extglobOpen=(type,value2)=>{let token={...EXTGLOB_CHARS[value2],conditions:1,inner:""};token.prev=prev,token.parens=state.parens,token.output=state.output;let output=(opts.capture?"(":"")+token.open;increment("parens"),push({type,value:value2,output:state.output?"":ONE_CHAR}),push({type:"paren",extglob:!0,value:advance(),output}),extglobs.push(token);},extglobClose=token=>{let output=token.close+(opts.capture?")":""),rest;if(token.type==="negate"){let extglobStar=star;if(token.inner&&token.inner.length>1&&token.inner.includes("/")&&(extglobStar=globstar(opts)),(extglobStar!==star||eos()||/^\)+$/.test(remaining()))&&(output=token.close=`)$))${extglobStar}`),token.inner.includes("*")&&(rest=remaining())&&/^\.[^\\/.]+$/.test(rest)){let expression=parse(rest,{...options,fastpaths:!1}).output;output=token.close=`)${expression})${extglobStar})`;}token.prev.type==="bos"&&(state.negatedExtglob=!0);}push({type:"paren",extglob:!0,value,output}),decrement("parens");};if(opts.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(input)){let backslashes=!1,output=input.replace(REGEX_SPECIAL_CHARS_BACKREF,(m,esc,chars,first,rest,index)=>first==="\\"?(backslashes=!0,m):first==="?"?esc?esc+first+(rest?QMARK.repeat(rest.length):""):index===0?qmarkNoDot+(rest?QMARK.repeat(rest.length):""):QMARK.repeat(chars.length):first==="."?DOT_LITERAL.repeat(chars.length):first==="*"?esc?esc+first+(rest?star:""):star:esc?m:`\\${m}`);return backslashes===!0&&(opts.unescape===!0?output=output.replace(/\\/g,""):output=output.replace(/\\+/g,m=>m.length%2===0?"\\\\":m?"\\":"")),output===input&&opts.contains===!0?(state.output=input,state):(state.output=utils.wrapOutput(output,state,options),state)}for(;!eos();){if(value=advance(),value==="\0")continue;if(value==="\\"){let next=peek();if(next==="/"&&opts.bash!==!0||next==="."||next===";")continue;if(!next){value+="\\",push({type:"text",value});continue}let match=/^\\+/.exec(remaining()),slashes=0;if(match&&match[0].length>2&&(slashes=match[0].length,state.index+=slashes,slashes%2!==0&&(value+="\\")),opts.unescape===!0?value=advance():value+=advance(),state.brackets===0){push({type:"text",value});continue}}if(state.brackets>0&&(value!=="]"||prev.value==="["||prev.value==="[^")){if(opts.posix!==!1&&value===":"){let inner=prev.value.slice(1);if(inner.includes("[")&&(prev.posix=!0,inner.includes(":"))){let idx=prev.value.lastIndexOf("["),pre=prev.value.slice(0,idx),rest2=prev.value.slice(idx+2),posix=POSIX_REGEX_SOURCE[rest2];if(posix){prev.value=pre+posix,state.backtrack=!0,advance(),!bos.output&&tokens.indexOf(prev)===1&&(bos.output=ONE_CHAR);continue}}}(value==="["&&peek()!==":"||value==="-"&&peek()==="]")&&(value=`\\${value}`),value==="]"&&(prev.value==="["||prev.value==="[^")&&(value=`\\${value}`),opts.posix===!0&&value==="!"&&prev.value==="["&&(value="^"),prev.value+=value,append({value});continue}if(state.quotes===1&&value!=='"'){value=utils.escapeRegex(value),prev.value+=value,append({value});continue}if(value==='"'){state.quotes=state.quotes===1?0:1,opts.keepQuotes===!0&&push({type:"text",value});continue}if(value==="("){increment("parens"),push({type:"paren",value});continue}if(value===")"){if(state.parens===0&&opts.strictBrackets===!0)throw new SyntaxError(syntaxError("opening","("));let extglob=extglobs[extglobs.length-1];if(extglob&&state.parens===extglob.parens+1){extglobClose(extglobs.pop());continue}push({type:"paren",value,output:state.parens?")":"\\)"}),decrement("parens");continue}if(value==="["){if(opts.nobracket===!0||!remaining().includes("]")){if(opts.nobracket!==!0&&opts.strictBrackets===!0)throw new SyntaxError(syntaxError("closing","]"));value=`\\${value}`;}else increment("brackets");push({type:"bracket",value});continue}if(value==="]"){if(opts.nobracket===!0||prev&&prev.type==="bracket"&&prev.value.length===1){push({type:"text",value,output:`\\${value}`});continue}if(state.brackets===0){if(opts.strictBrackets===!0)throw new SyntaxError(syntaxError("opening","["));push({type:"text",value,output:`\\${value}`});continue}decrement("brackets");let prevValue=prev.value.slice(1);if(prev.posix!==!0&&prevValue[0]==="^"&&!prevValue.includes("/")&&(value=`/${value}`),prev.value+=value,append({value}),opts.literalBrackets===!1||utils.hasRegexChars(prevValue))continue;let escaped=utils.escapeRegex(prev.value);if(state.output=state.output.slice(0,-prev.value.length),opts.literalBrackets===!0){state.output+=escaped,prev.value=escaped;continue}prev.value=`(${capture}${escaped}|${prev.value})`,state.output+=prev.value;continue}if(value==="{"&&opts.nobrace!==!0){increment("braces");let open={type:"brace",value,output:"(",outputIndex:state.output.length,tokensIndex:state.tokens.length};braces.push(open),push(open);continue}if(value==="}"){let brace=braces[braces.length-1];if(opts.nobrace===!0||!brace){push({type:"text",value,output:value});continue}let output=")";if(brace.dots===!0){let arr=tokens.slice(),range=[];for(let i=arr.length-1;i>=0&&(tokens.pop(),arr[i].type!=="brace");i--)arr[i].type!=="dots"&&range.unshift(arr[i].value);output=expandRange(range,opts),state.backtrack=!0;}if(brace.comma!==!0&&brace.dots!==!0){let out=state.output.slice(0,brace.outputIndex),toks=state.tokens.slice(brace.tokensIndex);brace.value=brace.output="\\{",value=output="\\}",state.output=out;for(let t of toks)state.output+=t.output||t.value;}push({type:"brace",value,output}),decrement("braces"),braces.pop();continue}if(value==="|"){extglobs.length>0&&extglobs[extglobs.length-1].conditions++,push({type:"text",value});continue}if(value===","){let output=value,brace=braces[braces.length-1];brace&&stack[stack.length-1]==="braces"&&(brace.comma=!0,output="|"),push({type:"comma",value,output});continue}if(value==="/"){if(prev.type==="dot"&&state.index===state.start+1){state.start=state.index+1,state.consumed="",state.output="",tokens.pop(),prev=bos;continue}push({type:"slash",value,output:SLASH_LITERAL});continue}if(value==="."){if(state.braces>0&&prev.type==="dot"){prev.value==="."&&(prev.output=DOT_LITERAL);let brace=braces[braces.length-1];prev.type="dots",prev.output+=value,prev.value+=value,brace.dots=!0;continue}if(state.braces+state.parens===0&&prev.type!=="bos"&&prev.type!=="slash"){push({type:"text",value,output:DOT_LITERAL});continue}push({type:"dot",value,output:DOT_LITERAL});continue}if(value==="?"){if(!(prev&&prev.value==="(")&&opts.noextglob!==!0&&peek()==="("&&peek(2)!=="?"){extglobOpen("qmark",value);continue}if(prev&&prev.type==="paren"){let next=peek(),output=value;if(next==="<"&&!utils.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(prev.value==="("&&!/[!=<:]/.test(next)||next==="<"&&!/<([!=]|\w+>)/.test(remaining()))&&(output=`\\${value}`),push({type:"text",value,output});continue}if(opts.dot!==!0&&(prev.type==="slash"||prev.type==="bos")){push({type:"qmark",value,output:QMARK_NO_DOT});continue}push({type:"qmark",value,output:QMARK});continue}if(value==="!"){if(opts.noextglob!==!0&&peek()==="("&&(peek(2)!=="?"||!/[!=<:]/.test(peek(3)))){extglobOpen("negate",value);continue}if(opts.nonegate!==!0&&state.index===0){negate();continue}}if(value==="+"){if(opts.noextglob!==!0&&peek()==="("&&peek(2)!=="?"){extglobOpen("plus",value);continue}if(prev&&prev.value==="("||opts.regex===!1){push({type:"plus",value,output:PLUS_LITERAL});continue}if(prev&&(prev.type==="bracket"||prev.type==="paren"||prev.type==="brace")||state.parens>0){push({type:"plus",value});continue}push({type:"plus",value:PLUS_LITERAL});continue}if(value==="@"){if(opts.noextglob!==!0&&peek()==="("&&peek(2)!=="?"){push({type:"at",extglob:!0,value,output:""});continue}push({type:"text",value});continue}if(value!=="*"){(value==="$"||value==="^")&&(value=`\\${value}`);let match=REGEX_NON_SPECIAL_CHARS.exec(remaining());match&&(value+=match[0],state.index+=match[0].length),push({type:"text",value});continue}if(prev&&(prev.type==="globstar"||prev.star===!0)){prev.type="star",prev.star=!0,prev.value+=value,prev.output=star,state.backtrack=!0,state.globstar=!0,consume(value);continue}let rest=remaining();if(opts.noextglob!==!0&&/^\([^?]/.test(rest)){extglobOpen("star",value);continue}if(prev.type==="star"){if(opts.noglobstar===!0){consume(value);continue}let prior=prev.prev,before=prior.prev,isStart=prior.type==="slash"||prior.type==="bos",afterStar=before&&(before.type==="star"||before.type==="globstar");if(opts.bash===!0&&(!isStart||rest[0]&&rest[0]!=="/")){push({type:"star",value,output:""});continue}let isBrace=state.braces>0&&(prior.type==="comma"||prior.type==="brace"),isExtglob=extglobs.length&&(prior.type==="pipe"||prior.type==="paren");if(!isStart&&prior.type!=="paren"&&!isBrace&&!isExtglob){push({type:"star",value,output:""});continue}for(;rest.slice(0,3)==="/**";){let after=input[state.index+4];if(after&&after!=="/")break;rest=rest.slice(3),consume("/**",3);}if(prior.type==="bos"&&eos()){prev.type="globstar",prev.value+=value,prev.output=globstar(opts),state.output=prev.output,state.globstar=!0,consume(value);continue}if(prior.type==="slash"&&prior.prev.type!=="bos"&&!afterStar&&eos()){state.output=state.output.slice(0,-(prior.output+prev.output).length),prior.output=`(?:${prior.output}`,prev.type="globstar",prev.output=globstar(opts)+(opts.strictSlashes?")":"|$)"),prev.value+=value,state.globstar=!0,state.output+=prior.output+prev.output,consume(value);continue}if(prior.type==="slash"&&prior.prev.type!=="bos"&&rest[0]==="/"){let end=rest[1]!==void 0?"|$":"";state.output=state.output.slice(0,-(prior.output+prev.output).length),prior.output=`(?:${prior.output}`,prev.type="globstar",prev.output=`${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`,prev.value+=value,state.output+=prior.output+prev.output,state.globstar=!0,consume(value+advance()),push({type:"slash",value:"/",output:""});continue}if(prior.type==="bos"&&rest[0]==="/"){prev.type="globstar",prev.value+=value,prev.output=`(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`,state.output=prev.output,state.globstar=!0,consume(value+advance()),push({type:"slash",value:"/",output:""});continue}state.output=state.output.slice(0,-prev.output.length),prev.type="globstar",prev.output=globstar(opts),prev.value+=value,state.output+=prev.output,state.globstar=!0,consume(value);continue}let token={type:"star",value,output:star};if(opts.bash===!0){token.output=".*?",(prev.type==="bos"||prev.type==="slash")&&(token.output=nodot+token.output),push(token);continue}if(prev&&(prev.type==="bracket"||prev.type==="paren")&&opts.regex===!0){token.output=value,push(token);continue}(state.index===state.start||prev.type==="slash"||prev.type==="dot")&&(prev.type==="dot"?(state.output+=NO_DOT_SLASH,prev.output+=NO_DOT_SLASH):opts.dot===!0?(state.output+=NO_DOTS_SLASH,prev.output+=NO_DOTS_SLASH):(state.output+=nodot,prev.output+=nodot),peek()!=="*"&&(state.output+=ONE_CHAR,prev.output+=ONE_CHAR)),push(token);}for(;state.brackets>0;){if(opts.strictBrackets===!0)throw new SyntaxError(syntaxError("closing","]"));state.output=utils.escapeLast(state.output,"["),decrement("brackets");}for(;state.parens>0;){if(opts.strictBrackets===!0)throw new SyntaxError(syntaxError("closing",")"));state.output=utils.escapeLast(state.output,"("),decrement("parens");}for(;state.braces>0;){if(opts.strictBrackets===!0)throw new SyntaxError(syntaxError("closing","}"));state.output=utils.escapeLast(state.output,"{"),decrement("braces");}if(opts.strictSlashes!==!0&&(prev.type==="star"||prev.type==="bracket")&&push({type:"maybe_slash",value:"",output:`${SLASH_LITERAL}?`}),state.backtrack===!0){state.output="";for(let token of state.tokens)state.output+=token.output!=null?token.output:token.value,token.suffix&&(state.output+=token.suffix);}return state};parse.fastpaths=(input,options)=>{let opts={...options},max=typeof opts.maxLength=="number"?Math.min(MAX_LENGTH,opts.maxLength):MAX_LENGTH,len=input.length;if(len>max)throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);input=REPLACEMENTS[input]||input;let win32=utils.isWindows(options),{DOT_LITERAL,SLASH_LITERAL,ONE_CHAR,DOTS_SLASH,NO_DOT,NO_DOTS,NO_DOTS_SLASH,STAR,START_ANCHOR}=constants.globChars(win32),nodot=opts.dot?NO_DOTS:NO_DOT,slashDot=opts.dot?NO_DOTS_SLASH:NO_DOT,capture=opts.capture?"":"?:",state={negated:!1,prefix:""},star=opts.bash===!0?".*?":STAR;opts.capture&&(star=`(${star})`);let globstar=opts2=>opts2.noglobstar===!0?star:`(${capture}(?:(?!${START_ANCHOR}${opts2.dot?DOTS_SLASH:DOT_LITERAL}).)*?)`,create=str=>{switch(str){case"*":return `${nodot}${ONE_CHAR}${star}`;case".*":return `${DOT_LITERAL}${ONE_CHAR}${star}`;case"*.*":return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;case"*/*":return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;case"**":return nodot+globstar(opts);case"**/*":return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;case"**/*.*":return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;case"**/.*":return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;default:{let match=/^(.*?)\.(\w+)$/.exec(str);if(!match)return;let source2=create(match[1]);return source2?source2+DOT_LITERAL+match[2]:void 0}}},output=utils.removePrefix(input,state),source=create(output);return source&&opts.strictSlashes!==!0&&(source+=`${SLASH_LITERAL}?`),source};module.exports=parse;}});var require_picomatch=__commonJS({"../../node_modules/picomatch/lib/picomatch.js"(exports,module){var path2=__require("path"),scan=require_scan2(),parse=require_parse2(),utils=require_utils5(),constants=require_constants2(),isObject=val=>val&&typeof val=="object"&&!Array.isArray(val),picomatch=(glob,options,returnState=!1)=>{if(Array.isArray(glob)){let fns=glob.map(input=>picomatch(input,options,returnState));return str=>{for(let isMatch of fns){let state2=isMatch(str);if(state2)return state2}return !1}}let isState=isObject(glob)&&glob.tokens&&glob.input;if(glob===""||typeof glob!="string"&&!isState)throw new TypeError("Expected pattern to be a non-empty string");let opts=options||{},posix=utils.isWindows(options),regex=isState?picomatch.compileRe(glob,options):picomatch.makeRe(glob,options,!1,!0),state=regex.state;delete regex.state;let isIgnored=()=>!1;if(opts.ignore){let ignoreOpts={...options,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(opts.ignore,ignoreOpts,returnState);}let matcher=(input,returnObject=!1)=>{let{isMatch,match,output}=picomatch.test(input,regex,options,{glob,posix}),result={glob,state,regex,posix,input,output,match,isMatch};return typeof opts.onResult=="function"&&opts.onResult(result),isMatch===!1?(result.isMatch=!1,returnObject?result:!1):isIgnored(input)?(typeof opts.onIgnore=="function"&&opts.onIgnore(result),result.isMatch=!1,returnObject?result:!1):(typeof opts.onMatch=="function"&&opts.onMatch(result),returnObject?result:!0)};return returnState&&(matcher.state=state),matcher};picomatch.test=(input,regex,options,{glob,posix}={})=>{if(typeof input!="string")throw new TypeError("Expected input to be a string");if(input==="")return {isMatch:!1,output:""};let opts=options||{},format=opts.format||(posix?utils.toPosixSlashes:null),match=input===glob,output=match&&format?format(input):input;return match===!1&&(output=format?format(input):input,match=output===glob),(match===!1||opts.capture===!0)&&(opts.matchBase===!0||opts.basename===!0?match=picomatch.matchBase(input,regex,options,posix):match=regex.exec(output)),{isMatch:!!match,match,output}};picomatch.matchBase=(input,glob,options,posix=utils.isWindows(options))=>(glob instanceof RegExp?glob:picomatch.makeRe(glob,options)).test(path2.basename(input));picomatch.isMatch=(str,patterns,options)=>picomatch(patterns,options)(str);picomatch.parse=(pattern,options)=>Array.isArray(pattern)?pattern.map(p=>picomatch.parse(p,options)):parse(pattern,{...options,fastpaths:!1});picomatch.scan=(input,options)=>scan(input,options);picomatch.compileRe=(state,options,returnOutput=!1,returnState=!1)=>{if(returnOutput===!0)return state.output;let opts=options||{},prepend=opts.contains?"":"^",append=opts.contains?"":"$",source=`${prepend}(?:${state.output})${append}`;state&&state.negated===!0&&(source=`^(?!${source}).*$`);let regex=picomatch.toRegex(source,options);return returnState===!0&&(regex.state=state),regex};picomatch.makeRe=(input,options={},returnOutput=!1,returnState=!1)=>{if(!input||typeof input!="string")throw new TypeError("Expected a non-empty string");let parsed={negated:!1,fastpaths:!0};return options.fastpaths!==!1&&(input[0]==="."||input[0]==="*")&&(parsed.output=parse.fastpaths(input,options)),parsed.output||(parsed=parse(input,options)),picomatch.compileRe(parsed,options,returnOutput,returnState)};picomatch.toRegex=(source,options)=>{try{let opts=options||{};return new RegExp(source,opts.flags||(opts.nocase?"i":""))}catch(err){if(options&&options.debug===!0)throw err;return /$^/}};picomatch.constants=constants;module.exports=picomatch;}});var require_picomatch2=__commonJS({"../../node_modules/picomatch/index.js"(exports,module){module.exports=require_picomatch();}});var require_micromatch=__commonJS({"../../node_modules/micromatch/index.js"(exports,module){var util=__require("util"),braces=require_braces(),picomatch=require_picomatch2(),utils=require_utils5(),isEmptyString=val=>val===""||val==="./",micromatch=(list,patterns,options)=>{patterns=[].concat(patterns),list=[].concat(list);let omit=new Set,keep=new Set,items=new Set,negatives=0,onResult=state=>{items.add(state.output),options&&options.onResult&&options.onResult(state);};for(let i=0;i<patterns.length;i++){let isMatch=picomatch(String(patterns[i]),{...options,onResult},!0),negated=isMatch.state.negated||isMatch.state.negatedExtglob;negated&&negatives++;for(let item of list){let matched=isMatch(item,!0);(negated?!matched.isMatch:matched.isMatch)&&(negated?omit.add(matched.output):(omit.delete(matched.output),keep.add(matched.output)));}}let matches=(negatives===patterns.length?[...items]:[...keep]).filter(item=>!omit.has(item));if(options&&matches.length===0){if(options.failglob===!0)throw new Error(`No matches found for "${patterns.join(", ")}"`);if(options.nonull===!0||options.nullglob===!0)return options.unescape?patterns.map(p=>p.replace(/\\/g,"")):patterns}return matches};micromatch.match=micromatch;micromatch.matcher=(pattern,options)=>picomatch(pattern,options);micromatch.isMatch=(str,patterns,options)=>picomatch(patterns,options)(str);micromatch.any=micromatch.isMatch;micromatch.not=(list,patterns,options={})=>{patterns=[].concat(patterns).map(String);let result=new Set,items=[],onResult=state=>{options.onResult&&options.onResult(state),items.push(state.output);},matches=new Set(micromatch(list,patterns,{...options,onResult}));for(let item of items)matches.has(item)||result.add(item);return [...result]};micromatch.contains=(str,pattern,options)=>{if(typeof str!="string")throw new TypeError(`Expected a string: "${util.inspect(str)}"`);if(Array.isArray(pattern))return pattern.some(p=>micromatch.contains(str,p,options));if(typeof pattern=="string"){if(isEmptyString(str)||isEmptyString(pattern))return !1;if(str.includes(pattern)||str.startsWith("./")&&str.slice(2).includes(pattern))return !0}return micromatch.isMatch(str,pattern,{...options,contains:!0})};micromatch.matchKeys=(obj,patterns,options)=>{if(!utils.isObject(obj))throw new TypeError("Expected the first argument to be an object");let keys=micromatch(Object.keys(obj),patterns,options),res={};for(let key of keys)res[key]=obj[key];return res};micromatch.some=(list,patterns,options)=>{let items=[].concat(list);for(let pattern of [].concat(patterns)){let isMatch=picomatch(String(pattern),options);if(items.some(item=>isMatch(item)))return !0}return !1};micromatch.every=(list,patterns,options)=>{let items=[].concat(list);for(let pattern of [].concat(patterns)){let isMatch=picomatch(String(pattern),options);if(!items.every(item=>isMatch(item)))return !1}return !0};micromatch.all=(str,patterns,options)=>{if(typeof str!="string")throw new TypeError(`Expected a string: "${util.inspect(str)}"`);return [].concat(patterns).every(p=>picomatch(p,options)(str))};micromatch.capture=(glob,input,options)=>{let posix=utils.isWindows(options),match=picomatch.makeRe(String(glob),{...options,capture:!0}).exec(posix?utils.toPosixSlashes(input):input);if(match)return match.slice(1).map(v=>v===void 0?"":v)};micromatch.makeRe=(...args)=>picomatch.makeRe(...args);micromatch.scan=(...args)=>picomatch.scan(...args);micromatch.parse=(patterns,options)=>{let res=[];for(let pattern of [].concat(patterns||[]))for(let str of braces(String(pattern),options))res.push(picomatch.parse(str,options));return res};micromatch.braces=(pattern,options)=>{if(typeof pattern!="string")throw new TypeError("Expected a string");return options&&options.nobrace===!0||!/\{.*\}/.test(pattern)?[pattern]:braces(pattern,options)};micromatch.braceExpand=(pattern,options)=>{if(typeof pattern!="string")throw new TypeError("Expected a string");return micromatch.braces(pattern,{...options,expand:!0})};module.exports=micromatch;}});var require_pattern2=__commonJS({"../../node_modules/fast-glob/out/utils/pattern.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.removeDuplicateSlashes=exports.matchAny=exports.convertPatternsToRe=exports.makeRe=exports.getPatternParts=exports.expandBraceExpansion=exports.expandPatternsWithBraceExpansion=exports.isAffectDepthOfReadingPattern=exports.endsWithSlashGlobStar=exports.hasGlobStar=exports.getBaseDirectory=exports.isPatternRelatedToParentDirectory=exports.getPatternsOutsideCurrentDirectory=exports.getPatternsInsideCurrentDirectory=exports.getPositivePatterns=exports.getNegativePatterns=exports.isPositivePattern=exports.isNegativePattern=exports.convertToNegativePattern=exports.convertToPositivePattern=exports.isDynamicPattern=exports.isStaticPattern=void 0;var path2=__require("path"),globParent=require_glob_parent(),micromatch=require_micromatch(),GLOBSTAR="**",ESCAPE_SYMBOL="\\",COMMON_GLOB_SYMBOLS_RE=/[*?]|^!/,REGEX_CHARACTER_CLASS_SYMBOLS_RE=/\[[^[]*]/,REGEX_GROUP_SYMBOLS_RE=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,GLOB_EXTENSION_SYMBOLS_RE=/[!*+?@]\([^(]*\)/,BRACE_EXPANSION_SEPARATORS_RE=/,|\.\./,DOUBLE_SLASH_RE=/(?!^)\/{2,}/g;function isStaticPattern(pattern,options={}){return !isDynamicPattern(pattern,options)}exports.isStaticPattern=isStaticPattern;function isDynamicPattern(pattern,options={}){return pattern===""?!1:!!(options.caseSensitiveMatch===!1||pattern.includes(ESCAPE_SYMBOL)||COMMON_GLOB_SYMBOLS_RE.test(pattern)||REGEX_CHARACTER_CLASS_SYMBOLS_RE.test(pattern)||REGEX_GROUP_SYMBOLS_RE.test(pattern)||options.extglob!==!1&&GLOB_EXTENSION_SYMBOLS_RE.test(pattern)||options.braceExpansion!==!1&&hasBraceExpansion(pattern))}exports.isDynamicPattern=isDynamicPattern;function hasBraceExpansion(pattern){let openingBraceIndex=pattern.indexOf("{");if(openingBraceIndex===-1)return !1;let closingBraceIndex=pattern.indexOf("}",openingBraceIndex+1);if(closingBraceIndex===-1)return !1;let braceContent=pattern.slice(openingBraceIndex,closingBraceIndex);return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent)}function convertToPositivePattern(pattern){return isNegativePattern(pattern)?pattern.slice(1):pattern}exports.convertToPositivePattern=convertToPositivePattern;function convertToNegativePattern(pattern){return "!"+pattern}exports.convertToNegativePattern=convertToNegativePattern;function isNegativePattern(pattern){return pattern.startsWith("!")&&pattern[1]!=="("}exports.isNegativePattern=isNegativePattern;function isPositivePattern(pattern){return !isNegativePattern(pattern)}exports.isPositivePattern=isPositivePattern;function getNegativePatterns(patterns){return patterns.filter(isNegativePattern)}exports.getNegativePatterns=getNegativePatterns;function getPositivePatterns(patterns){return patterns.filter(isPositivePattern)}exports.getPositivePatterns=getPositivePatterns;function getPatternsInsideCurrentDirectory(patterns){return patterns.filter(pattern=>!isPatternRelatedToParentDirectory(pattern))}exports.getPatternsInsideCurrentDirectory=getPatternsInsideCurrentDirectory;function getPatternsOutsideCurrentDirectory(patterns){return patterns.filter(isPatternRelatedToParentDirectory)}exports.getPatternsOutsideCurrentDirectory=getPatternsOutsideCurrentDirectory;function isPatternRelatedToParentDirectory(pattern){return pattern.startsWith("..")||pattern.startsWith("./..")}exports.isPatternRelatedToParentDirectory=isPatternRelatedToParentDirectory;function getBaseDirectory(pattern){return globParent(pattern,{flipBackslashes:!1})}exports.getBaseDirectory=getBaseDirectory;function hasGlobStar(pattern){return pattern.includes(GLOBSTAR)}exports.hasGlobStar=hasGlobStar;function endsWithSlashGlobStar(pattern){return pattern.endsWith("/"+GLOBSTAR)}exports.endsWithSlashGlobStar=endsWithSlashGlobStar;function isAffectDepthOfReadingPattern(pattern){let basename=path2.basename(pattern);return endsWithSlashGlobStar(pattern)||isStaticPattern(basename)}exports.isAffectDepthOfReadingPattern=isAffectDepthOfReadingPattern;function expandPatternsWithBraceExpansion(patterns){return patterns.reduce((collection,pattern)=>collection.concat(expandBraceExpansion(pattern)),[])}exports.expandPatternsWithBraceExpansion=expandPatternsWithBraceExpansion;function expandBraceExpansion(pattern){let patterns=micromatch.braces(pattern,{expand:!0,nodupes:!0,keepEscaping:!0});return patterns.sort((a,b)=>a.length-b.length),patterns.filter(pattern2=>pattern2!=="")}exports.expandBraceExpansion=expandBraceExpansion;function getPatternParts(pattern,options){let{parts}=micromatch.scan(pattern,Object.assign(Object.assign({},options),{parts:!0}));return parts.length===0&&(parts=[pattern]),parts[0].startsWith("/")&&(parts[0]=parts[0].slice(1),parts.unshift("")),parts}exports.getPatternParts=getPatternParts;function makeRe(pattern,options){return micromatch.makeRe(pattern,options)}exports.makeRe=makeRe;function convertPatternsToRe(patterns,options){return patterns.map(pattern=>makeRe(pattern,options))}exports.convertPatternsToRe=convertPatternsToRe;function matchAny(entry,patternsRe){return patternsRe.some(patternRe=>patternRe.test(entry))}exports.matchAny=matchAny;function removeDuplicateSlashes(pattern){return pattern.replace(DOUBLE_SLASH_RE,"/")}exports.removeDuplicateSlashes=removeDuplicateSlashes;}});var require_stream=__commonJS({"../../node_modules/fast-glob/out/utils/stream.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.merge=void 0;var merge2=require_merge2();function merge(streams){let mergedStream=merge2(streams);return streams.forEach(stream=>{stream.once("error",error=>mergedStream.emit("error",error));}),mergedStream.once("close",()=>propagateCloseEventToSources(streams)),mergedStream.once("end",()=>propagateCloseEventToSources(streams)),mergedStream}exports.merge=merge;function propagateCloseEventToSources(streams){streams.forEach(stream=>stream.emit("close"));}}});var require_string=__commonJS({"../../node_modules/fast-glob/out/utils/string.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.isEmpty=exports.isString=void 0;function isString(input){return typeof input=="string"}exports.isString=isString;function isEmpty(input){return input===""}exports.isEmpty=isEmpty;}});var require_utils6=__commonJS({"../../node_modules/fast-glob/out/utils/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.string=exports.stream=exports.pattern=exports.path=exports.fs=exports.errno=exports.array=void 0;var array=require_array();exports.array=array;var errno=require_errno();exports.errno=errno;var fs=require_fs3();exports.fs=fs;var path2=require_path2();exports.path=path2;var pattern=require_pattern2();exports.pattern=pattern;var stream=require_stream();exports.stream=stream;var string=require_string();exports.string=string;}});var require_tasks=__commonJS({"../../node_modules/fast-glob/out/managers/tasks.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.convertPatternGroupToTask=exports.convertPatternGroupsToTasks=exports.groupPatternsByBaseDirectory=exports.getNegativePatternsAsPositive=exports.getPositivePatterns=exports.convertPatternsToTasks=exports.generate=void 0;var utils=require_utils6();function generate(input,settings){let patterns=processPatterns(input,settings),ignore=processPatterns(settings.ignore,settings),positivePatterns=getPositivePatterns(patterns),negativePatterns=getNegativePatternsAsPositive(patterns,ignore),staticPatterns=positivePatterns.filter(pattern=>utils.pattern.isStaticPattern(pattern,settings)),dynamicPatterns=positivePatterns.filter(pattern=>utils.pattern.isDynamicPattern(pattern,settings)),staticTasks=convertPatternsToTasks(staticPatterns,negativePatterns,!1),dynamicTasks=convertPatternsToTasks(dynamicPatterns,negativePatterns,!0);return staticTasks.concat(dynamicTasks)}exports.generate=generate;function processPatterns(input,settings){let patterns=input;return settings.braceExpansion&&(patterns=utils.pattern.expandPatternsWithBraceExpansion(patterns)),settings.baseNameMatch&&(patterns=patterns.map(pattern=>pattern.includes("/")?pattern:`**/${pattern}`)),patterns.map(pattern=>utils.pattern.removeDuplicateSlashes(pattern))}function convertPatternsToTasks(positive,negative,dynamic){let tasks=[],patternsOutsideCurrentDirectory=utils.pattern.getPatternsOutsideCurrentDirectory(positive),patternsInsideCurrentDirectory=utils.pattern.getPatternsInsideCurrentDirectory(positive),outsideCurrentDirectoryGroup=groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory),insideCurrentDirectoryGroup=groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);return tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup,negative,dynamic)),"."in insideCurrentDirectoryGroup?tasks.push(convertPatternGroupToTask(".",patternsInsideCurrentDirectory,negative,dynamic)):tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup,negative,dynamic)),tasks}exports.convertPatternsToTasks=convertPatternsToTasks;function getPositivePatterns(patterns){return utils.pattern.getPositivePatterns(patterns)}exports.getPositivePatterns=getPositivePatterns;function getNegativePatternsAsPositive(patterns,ignore){return utils.pattern.getNegativePatterns(patterns).concat(ignore).map(utils.pattern.convertToPositivePattern)}exports.getNegativePatternsAsPositive=getNegativePatternsAsPositive;function groupPatternsByBaseDirectory(patterns){let group={};return patterns.reduce((collection,pattern)=>{let base=utils.pattern.getBaseDirectory(pattern);return base in collection?collection[base].push(pattern):collection[base]=[pattern],collection},group)}exports.groupPatternsByBaseDirectory=groupPatternsByBaseDirectory;function convertPatternGroupsToTasks(positive,negative,dynamic){return Object.keys(positive).map(base=>convertPatternGroupToTask(base,positive[base],negative,dynamic))}exports.convertPatternGroupsToTasks=convertPatternGroupsToTasks;function convertPatternGroupToTask(base,positive,negative,dynamic){return {dynamic,positive,negative,base,patterns:[].concat(positive,negative.map(utils.pattern.convertToNegativePattern))}}exports.convertPatternGroupToTask=convertPatternGroupToTask;}});var require_async=__commonJS({"../../node_modules/@nodelib/fs.stat/out/providers/async.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.read=void 0;function read(path2,settings,callback){settings.fs.lstat(path2,(lstatError,lstat)=>{if(lstatError!==null){callFailureCallback(callback,lstatError);return}if(!lstat.isSymbolicLink()||!settings.followSymbolicLink){callSuccessCallback(callback,lstat);return}settings.fs.stat(path2,(statError,stat)=>{if(statError!==null){if(settings.throwErrorOnBrokenSymbolicLink){callFailureCallback(callback,statError);return}callSuccessCallback(callback,lstat);return}settings.markSymbolicLink&&(stat.isSymbolicLink=()=>!0),callSuccessCallback(callback,stat);});});}exports.read=read;function callFailureCallback(callback,error){callback(error);}function callSuccessCallback(callback,result){callback(null,result);}}});var require_sync=__commonJS({"../../node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.read=void 0;function read(path2,settings){let lstat=settings.fs.lstatSync(path2);if(!lstat.isSymbolicLink()||!settings.followSymbolicLink)return lstat;try{let stat=settings.fs.statSync(path2);return settings.markSymbolicLink&&(stat.isSymbolicLink=()=>!0),stat}catch(error){if(!settings.throwErrorOnBrokenSymbolicLink)return lstat;throw error}}exports.read=read;}});var require_fs4=__commonJS({"../../node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createFileSystemAdapter=exports.FILE_SYSTEM_ADAPTER=void 0;var fs=__require("fs");exports.FILE_SYSTEM_ADAPTER={lstat:fs.lstat,stat:fs.stat,lstatSync:fs.lstatSync,statSync:fs.statSync};function createFileSystemAdapter(fsMethods){return fsMethods===void 0?exports.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},exports.FILE_SYSTEM_ADAPTER),fsMethods)}exports.createFileSystemAdapter=createFileSystemAdapter;}});var require_settings=__commonJS({"../../node_modules/@nodelib/fs.stat/out/settings.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var fs=require_fs4(),Settings=class{constructor(_options={}){this._options=_options,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=fs.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0);}_getValue(option,value){return option??value}};exports.default=Settings;}});var require_out=__commonJS({"../../node_modules/@nodelib/fs.stat/out/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.statSync=exports.stat=exports.Settings=void 0;var async=require_async(),sync=require_sync(),settings_1=require_settings();exports.Settings=settings_1.default;function stat(path2,optionsOrSettingsOrCallback,callback){if(typeof optionsOrSettingsOrCallback=="function"){async.read(path2,getSettings(),optionsOrSettingsOrCallback);return}async.read(path2,getSettings(optionsOrSettingsOrCallback),callback);}exports.stat=stat;function statSync(path2,optionsOrSettings){let settings=getSettings(optionsOrSettings);return sync.read(path2,settings)}exports.statSync=statSync;function getSettings(settingsOrOptions={}){return settingsOrOptions instanceof settings_1.default?settingsOrOptions:new settings_1.default(settingsOrOptions)}}});var require_queue_microtask=__commonJS({"../../node_modules/queue-microtask/index.js"(exports,module){var promise;module.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):cb=>(promise||(promise=Promise.resolve())).then(cb).catch(err=>setTimeout(()=>{throw err},0));}});var require_run_parallel=__commonJS({"../../node_modules/run-parallel/index.js"(exports,module){module.exports=runParallel;var queueMicrotask2=require_queue_microtask();function runParallel(tasks,cb){let results,pending,keys,isSync=!0;Array.isArray(tasks)?(results=[],pending=tasks.length):(keys=Object.keys(tasks),results={},pending=keys.length);function done(err){function end(){cb&&cb(err,results),cb=null;}isSync?queueMicrotask2(end):end();}function each(i,err,result){results[i]=result,(--pending===0||err)&&done(err);}pending?keys?keys.forEach(function(key){tasks[key](function(err,result){each(key,err,result);});}):tasks.forEach(function(task,i){task(function(err,result){each(i,err,result);});}):done(null),isSync=!1;}}});var require_constants3=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/constants.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var NODE_PROCESS_VERSION_PARTS=process.versions.node.split(".");if(NODE_PROCESS_VERSION_PARTS[0]===void 0||NODE_PROCESS_VERSION_PARTS[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var MAJOR_VERSION=Number.parseInt(NODE_PROCESS_VERSION_PARTS[0],10),MINOR_VERSION=Number.parseInt(NODE_PROCESS_VERSION_PARTS[1],10),SUPPORTED_MAJOR_VERSION=10,SUPPORTED_MINOR_VERSION=10,IS_MATCHED_BY_MAJOR=MAJOR_VERSION>SUPPORTED_MAJOR_VERSION,IS_MATCHED_BY_MAJOR_AND_MINOR=MAJOR_VERSION===SUPPORTED_MAJOR_VERSION&&MINOR_VERSION>=SUPPORTED_MINOR_VERSION;exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES=IS_MATCHED_BY_MAJOR||IS_MATCHED_BY_MAJOR_AND_MINOR;}});var require_fs5=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createDirentFromStats=void 0;var DirentFromStats=class{constructor(name,stats){this.name=name,this.isBlockDevice=stats.isBlockDevice.bind(stats),this.isCharacterDevice=stats.isCharacterDevice.bind(stats),this.isDirectory=stats.isDirectory.bind(stats),this.isFIFO=stats.isFIFO.bind(stats),this.isFile=stats.isFile.bind(stats),this.isSocket=stats.isSocket.bind(stats),this.isSymbolicLink=stats.isSymbolicLink.bind(stats);}};function createDirentFromStats(name,stats){return new DirentFromStats(name,stats)}exports.createDirentFromStats=createDirentFromStats;}});var require_utils7=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.fs=void 0;var fs=require_fs5();exports.fs=fs;}});var require_common3=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.joinPathSegments=void 0;function joinPathSegments(a,b,separator){return a.endsWith(separator)?a+b:a+separator+b}exports.joinPathSegments=joinPathSegments;}});var require_async2=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.readdir=exports.readdirWithFileTypes=exports.read=void 0;var fsStat=require_out(),rpl=require_run_parallel(),constants_1=require_constants3(),utils=require_utils7(),common=require_common3();function read(directory,settings,callback){if(!settings.stats&&constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES){readdirWithFileTypes(directory,settings,callback);return}readdir(directory,settings,callback);}exports.read=read;function readdirWithFileTypes(directory,settings,callback){settings.fs.readdir(directory,{withFileTypes:!0},(readdirError,dirents)=>{if(readdirError!==null){callFailureCallback(callback,readdirError);return}let entries=dirents.map(dirent=>({dirent,name:dirent.name,path:common.joinPathSegments(directory,dirent.name,settings.pathSegmentSeparator)}));if(!settings.followSymbolicLinks){callSuccessCallback(callback,entries);return}let tasks=entries.map(entry=>makeRplTaskEntry(entry,settings));rpl(tasks,(rplError,rplEntries)=>{if(rplError!==null){callFailureCallback(callback,rplError);return}callSuccessCallback(callback,rplEntries);});});}exports.readdirWithFileTypes=readdirWithFileTypes;function makeRplTaskEntry(entry,settings){return done=>{if(!entry.dirent.isSymbolicLink()){done(null,entry);return}settings.fs.stat(entry.path,(statError,stats)=>{if(statError!==null){if(settings.throwErrorOnBrokenSymbolicLink){done(statError);return}done(null,entry);return}entry.dirent=utils.fs.createDirentFromStats(entry.name,stats),done(null,entry);});}}function readdir(directory,settings,callback){settings.fs.readdir(directory,(readdirError,names)=>{if(readdirError!==null){callFailureCallback(callback,readdirError);return}let tasks=names.map(name=>{let path2=common.joinPathSegments(directory,name,settings.pathSegmentSeparator);return done=>{fsStat.stat(path2,settings.fsStatSettings,(error,stats)=>{if(error!==null){done(error);return}let entry={name,path:path2,dirent:utils.fs.createDirentFromStats(name,stats)};settings.stats&&(entry.stats=stats),done(null,entry);});}});rpl(tasks,(rplError,entries)=>{if(rplError!==null){callFailureCallback(callback,rplError);return}callSuccessCallback(callback,entries);});});}exports.readdir=readdir;function callFailureCallback(callback,error){callback(error);}function callSuccessCallback(callback,result){callback(null,result);}}});var require_sync2=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.readdir=exports.readdirWithFileTypes=exports.read=void 0;var fsStat=require_out(),constants_1=require_constants3(),utils=require_utils7(),common=require_common3();function read(directory,settings){return !settings.stats&&constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES?readdirWithFileTypes(directory,settings):readdir(directory,settings)}exports.read=read;function readdirWithFileTypes(directory,settings){return settings.fs.readdirSync(directory,{withFileTypes:!0}).map(dirent=>{let entry={dirent,name:dirent.name,path:common.joinPathSegments(directory,dirent.name,settings.pathSegmentSeparator)};if(entry.dirent.isSymbolicLink()&&settings.followSymbolicLinks)try{let stats=settings.fs.statSync(entry.path);entry.dirent=utils.fs.createDirentFromStats(entry.name,stats);}catch(error){if(settings.throwErrorOnBrokenSymbolicLink)throw error}return entry})}exports.readdirWithFileTypes=readdirWithFileTypes;function readdir(directory,settings){return settings.fs.readdirSync(directory).map(name=>{let entryPath=common.joinPathSegments(directory,name,settings.pathSegmentSeparator),stats=fsStat.statSync(entryPath,settings.fsStatSettings),entry={name,path:entryPath,dirent:utils.fs.createDirentFromStats(name,stats)};return settings.stats&&(entry.stats=stats),entry})}exports.readdir=readdir;}});var require_fs6=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createFileSystemAdapter=exports.FILE_SYSTEM_ADAPTER=void 0;var fs=__require("fs");exports.FILE_SYSTEM_ADAPTER={lstat:fs.lstat,stat:fs.stat,lstatSync:fs.lstatSync,statSync:fs.statSync,readdir:fs.readdir,readdirSync:fs.readdirSync};function createFileSystemAdapter(fsMethods){return fsMethods===void 0?exports.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},exports.FILE_SYSTEM_ADAPTER),fsMethods)}exports.createFileSystemAdapter=createFileSystemAdapter;}});var require_settings2=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/settings.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var path2=__require("path"),fsStat=require_out(),fs=require_fs6(),Settings=class{constructor(_options={}){this._options=_options,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=fs.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,path2.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new fsStat.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink});}_getValue(option,value){return option??value}};exports.default=Settings;}});var require_out2=__commonJS({"../../node_modules/@nodelib/fs.scandir/out/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.Settings=exports.scandirSync=exports.scandir=void 0;var async=require_async2(),sync=require_sync2(),settings_1=require_settings2();exports.Settings=settings_1.default;function scandir(path2,optionsOrSettingsOrCallback,callback){if(typeof optionsOrSettingsOrCallback=="function"){async.read(path2,getSettings(),optionsOrSettingsOrCallback);return}async.read(path2,getSettings(optionsOrSettingsOrCallback),callback);}exports.scandir=scandir;function scandirSync(path2,optionsOrSettings){let settings=getSettings(optionsOrSettings);return sync.read(path2,settings)}exports.scandirSync=scandirSync;function getSettings(settingsOrOptions={}){return settingsOrOptions instanceof settings_1.default?settingsOrOptions:new settings_1.default(settingsOrOptions)}}});var require_reusify=__commonJS({"../../node_modules/reusify/reusify.js"(exports,module){function reusify(Constructor){var head=new Constructor,tail=head;function get(){var current=head;return current.next?head=current.next:(head=new Constructor,tail=head),current.next=null,current}function release(obj){tail.next=obj,tail=obj;}return {get,release}}module.exports=reusify;}});var require_queue=__commonJS({"../../node_modules/fastq/queue.js"(exports,module){var reusify=require_reusify();function fastqueue(context,worker,concurrency){if(typeof context=="function"&&(concurrency=worker,worker=context,context=null),concurrency<1)throw new Error("fastqueue concurrency must be greater than 1");var cache=reusify(Task),queueHead=null,queueTail=null,_running=0,errorHandler=null,self2={push,drain:noop,saturated:noop,pause,paused:!1,concurrency,running,resume,idle,length,getQueue,unshift,empty:noop,kill,killAndDrain,error};return self2;function running(){return _running}function pause(){self2.paused=!0;}function length(){for(var current=queueHead,counter=0;current;)current=current.next,counter++;return counter}function getQueue(){for(var current=queueHead,tasks=[];current;)tasks.push(current.value),current=current.next;return tasks}function resume(){if(self2.paused){self2.paused=!1;for(var i=0;i<self2.concurrency;i++)_running++,release();}}function idle(){return _running===0&&self2.length()===0}function push(value,done){var current=cache.get();current.context=context,current.release=release,current.value=value,current.callback=done||noop,current.errorHandler=errorHandler,_running===self2.concurrency||self2.paused?queueTail?(queueTail.next=current,queueTail=current):(queueHead=current,queueTail=current,self2.saturated()):(_running++,worker.call(context,current.value,current.worked));}function unshift(value,done){var current=cache.get();current.context=context,current.release=release,current.value=value,current.callback=done||noop,_running===self2.concurrency||self2.paused?queueHead?(current.next=queueHead,queueHead=current):(queueHead=current,queueTail=current,self2.saturated()):(_running++,worker.call(context,current.value,current.worked));}function release(holder){holder&&cache.release(holder);var next=queueHead;next?self2.paused?_running--:(queueTail===queueHead&&(queueTail=null),queueHead=next.next,next.next=null,worker.call(context,next.value,next.worked),queueTail===null&&self2.empty()):--_running===0&&self2.drain();}function kill(){queueHead=null,queueTail=null,self2.drain=noop;}function killAndDrain(){queueHead=null,queueTail=null,self2.drain(),self2.drain=noop;}function error(handler){errorHandler=handler;}}function noop(){}function Task(){this.value=null,this.callback=noop,this.next=null,this.release=noop,this.context=null,this.errorHandler=null;var self2=this;this.worked=function(err,result){var callback=self2.callback,errorHandler=self2.errorHandler,val=self2.value;self2.value=null,self2.callback=noop,self2.errorHandler&&errorHandler(err,val),callback.call(self2.context,err,result),self2.release(self2);};}function queueAsPromised(context,worker,concurrency){typeof context=="function"&&(concurrency=worker,worker=context,context=null);function asyncWrapper(arg,cb){worker.call(this,arg).then(function(res){cb(null,res);},cb);}var queue=fastqueue(context,asyncWrapper,concurrency),pushCb=queue.push,unshiftCb=queue.unshift;return queue.push=push,queue.unshift=unshift,queue.drained=drained,queue;function push(value){var p=new Promise(function(resolve,reject){pushCb(value,function(err,result){if(err){reject(err);return}resolve(result);});});return p.catch(noop),p}function unshift(value){var p=new Promise(function(resolve,reject){unshiftCb(value,function(err,result){if(err){reject(err);return}resolve(result);});});return p.catch(noop),p}function drained(){if(queue.idle())return new Promise(function(resolve){resolve();});var previousDrain=queue.drain,p=new Promise(function(resolve){queue.drain=function(){previousDrain(),resolve();};});return p}}module.exports=fastqueue;module.exports.promise=queueAsPromised;}});var require_common4=__commonJS({"../../node_modules/@nodelib/fs.walk/out/readers/common.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.joinPathSegments=exports.replacePathSegmentSeparator=exports.isAppliedFilter=exports.isFatalError=void 0;function isFatalError(settings,error){return settings.errorFilter===null?!0:!settings.errorFilter(error)}exports.isFatalError=isFatalError;function isAppliedFilter(filter,value){return filter===null||filter(value)}exports.isAppliedFilter=isAppliedFilter;function replacePathSegmentSeparator(filepath,separator){return filepath.split(/[/\\]/).join(separator)}exports.replacePathSegmentSeparator=replacePathSegmentSeparator;function joinPathSegments(a,b,separator){return a===""?b:a.endsWith(separator)?a+b:a+separator+b}exports.joinPathSegments=joinPathSegments;}});var require_reader=__commonJS({"../../node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var common=require_common4(),Reader=class{constructor(_root,_settings){this._root=_root,this._settings=_settings,this._root=common.replacePathSegmentSeparator(_root,_settings.pathSegmentSeparator);}};exports.default=Reader;}});var require_async3=__commonJS({"../../node_modules/@nodelib/fs.walk/out/readers/async.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var events_1=__require("events"),fsScandir=require_out2(),fastq=require_queue(),common=require_common4(),reader_1=require_reader(),AsyncReader=class extends reader_1.default{constructor(_root,_settings){super(_root,_settings),this._settings=_settings,this._scandir=fsScandir.scandir,this._emitter=new events_1.EventEmitter,this._queue=fastq(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end");};}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath);}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain();}onEntry(callback){this._emitter.on("entry",callback);}onError(callback){this._emitter.once("error",callback);}onEnd(callback){this._emitter.once("end",callback);}_pushToQueue(directory,base){let queueItem={directory,base};this._queue.push(queueItem,error=>{error!==null&&this._handleError(error);});}_worker(item,done){this._scandir(item.directory,this._settings.fsScandirSettings,(error,entries)=>{if(error!==null){done(error,void 0);return}for(let entry of entries)this._handleEntry(entry,item.base);done(null,void 0);});}_handleError(error){this._isDestroyed||!common.isFatalError(this._settings,error)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",error));}_handleEntry(entry,base){if(this._isDestroyed||this._isFatalError)return;let fullpath=entry.path;base!==void 0&&(entry.path=common.joinPathSegments(base,entry.name,this._settings.pathSegmentSeparator)),common.isAppliedFilter(this._settings.entryFilter,entry)&&this._emitEntry(entry),entry.dirent.isDirectory()&&common.isAppliedFilter(this._settings.deepFilter,entry)&&this._pushToQueue(fullpath,base===void 0?void 0:entry.path);}_emitEntry(entry){this._emitter.emit("entry",entry);}};exports.default=AsyncReader;}});var require_async4=__commonJS({"../../node_modules/@nodelib/fs.walk/out/providers/async.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var async_1=require_async3(),AsyncProvider=class{constructor(_root,_settings){this._root=_root,this._settings=_settings,this._reader=new async_1.default(this._root,this._settings),this._storage=[];}read(callback){this._reader.onError(error=>{callFailureCallback(callback,error);}),this._reader.onEntry(entry=>{this._storage.push(entry);}),this._reader.onEnd(()=>{callSuccessCallback(callback,this._storage);}),this._reader.read();}};exports.default=AsyncProvider;function callFailureCallback(callback,error){callback(error);}function callSuccessCallback(callback,entries){callback(null,entries);}}});var require_stream2=__commonJS({"../../node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var stream_1=__require("stream"),async_1=require_async3(),StreamProvider=class{constructor(_root,_settings){this._root=_root,this._settings=_settings,this._reader=new async_1.default(this._root,this._settings),this._stream=new stream_1.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy();}});}read(){return this._reader.onError(error=>{this._stream.emit("error",error);}),this._reader.onEntry(entry=>{this._stream.push(entry);}),this._reader.onEnd(()=>{this._stream.push(null);}),this._reader.read(),this._stream}};exports.default=StreamProvider;}});var require_sync3=__commonJS({"../../node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var fsScandir=require_out2(),common=require_common4(),reader_1=require_reader(),SyncReader=class extends reader_1.default{constructor(){super(...arguments),this._scandir=fsScandir.scandirSync,this._storage=[],this._queue=new Set;}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(directory,base){this._queue.add({directory,base});}_handleQueue(){for(let item of this._queue.values())this._handleDirectory(item.directory,item.base);}_handleDirectory(directory,base){try{let entries=this._scandir(directory,this._settings.fsScandirSettings);for(let entry of entries)this._handleEntry(entry,base);}catch(error){this._handleError(error);}}_handleError(error){if(common.isFatalError(this._settings,error))throw error}_handleEntry(entry,base){let fullpath=entry.path;base!==void 0&&(entry.path=common.joinPathSegments(base,entry.name,this._settings.pathSegmentSeparator)),common.isAppliedFilter(this._settings.entryFilter,entry)&&this._pushToStorage(entry),entry.dirent.isDirectory()&&common.isAppliedFilter(this._settings.deepFilter,entry)&&this._pushToQueue(fullpath,base===void 0?void 0:entry.path);}_pushToStorage(entry){this._storage.push(entry);}};exports.default=SyncReader;}});var require_sync4=__commonJS({"../../node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var sync_1=require_sync3(),SyncProvider=class{constructor(_root,_settings){this._root=_root,this._settings=_settings,this._reader=new sync_1.default(this._root,this._settings);}read(){return this._reader.read()}};exports.default=SyncProvider;}});var require_settings3=__commonJS({"../../node_modules/@nodelib/fs.walk/out/settings.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var path2=__require("path"),fsScandir=require_out2(),Settings=class{constructor(_options={}){this._options=_options,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,path2.sep),this.fsScandirSettings=new fsScandir.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink});}_getValue(option,value){return option??value}};exports.default=Settings;}});var require_out3=__commonJS({"../../node_modules/@nodelib/fs.walk/out/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.Settings=exports.walkStream=exports.walkSync=exports.walk=void 0;var async_1=require_async4(),stream_1=require_stream2(),sync_1=require_sync4(),settings_1=require_settings3();exports.Settings=settings_1.default;function walk(directory,optionsOrSettingsOrCallback,callback){if(typeof optionsOrSettingsOrCallback=="function"){new async_1.default(directory,getSettings()).read(optionsOrSettingsOrCallback);return}new async_1.default(directory,getSettings(optionsOrSettingsOrCallback)).read(callback);}exports.walk=walk;function walkSync(directory,optionsOrSettings){let settings=getSettings(optionsOrSettings);return new sync_1.default(directory,settings).read()}exports.walkSync=walkSync;function walkStream(directory,optionsOrSettings){let settings=getSettings(optionsOrSettings);return new stream_1.default(directory,settings).read()}exports.walkStream=walkStream;function getSettings(settingsOrOptions={}){return settingsOrOptions instanceof settings_1.default?settingsOrOptions:new settings_1.default(settingsOrOptions)}}});var require_reader2=__commonJS({"../../node_modules/fast-glob/out/readers/reader.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var path2=__require("path"),fsStat=require_out(),utils=require_utils6(),Reader=class{constructor(_settings){this._settings=_settings,this._fsStatSettings=new fsStat.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks});}_getFullEntryPath(filepath){return path2.resolve(this._settings.cwd,filepath)}_makeEntry(stats,pattern){let entry={name:pattern,path:pattern,dirent:utils.fs.createDirentFromStats(pattern,stats)};return this._settings.stats&&(entry.stats=stats),entry}_isFatalError(error){return !utils.errno.isEnoentCodeError(error)&&!this._settings.suppressErrors}};exports.default=Reader;}});var require_stream3=__commonJS({"../../node_modules/fast-glob/out/readers/stream.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var stream_1=__require("stream"),fsStat=require_out(),fsWalk=require_out3(),reader_1=require_reader2(),ReaderStream=class extends reader_1.default{constructor(){super(...arguments),this._walkStream=fsWalk.walkStream,this._stat=fsStat.stat;}dynamic(root,options){return this._walkStream(root,options)}static(patterns,options){let filepaths=patterns.map(this._getFullEntryPath,this),stream=new stream_1.PassThrough({objectMode:!0});stream._write=(index,_enc,done)=>this._getEntry(filepaths[index],patterns[index],options).then(entry=>{entry!==null&&options.entryFilter(entry)&&stream.push(entry),index===filepaths.length-1&&stream.end(),done();}).catch(done);for(let i=0;i<filepaths.length;i++)stream.write(i);return stream}_getEntry(filepath,pattern,options){return this._getStat(filepath).then(stats=>this._makeEntry(stats,pattern)).catch(error=>{if(options.errorFilter(error))return null;throw error})}_getStat(filepath){return new Promise((resolve,reject)=>{this._stat(filepath,this._fsStatSettings,(error,stats)=>error===null?resolve(stats):reject(error));})}};exports.default=ReaderStream;}});var require_async5=__commonJS({"../../node_modules/fast-glob/out/readers/async.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var fsWalk=require_out3(),reader_1=require_reader2(),stream_1=require_stream3(),ReaderAsync=class extends reader_1.default{constructor(){super(...arguments),this._walkAsync=fsWalk.walk,this._readerStream=new stream_1.default(this._settings);}dynamic(root,options){return new Promise((resolve,reject)=>{this._walkAsync(root,options,(error,entries)=>{error===null?resolve(entries):reject(error);});})}async static(patterns,options){let entries=[],stream=this._readerStream.static(patterns,options);return new Promise((resolve,reject)=>{stream.once("error",reject),stream.on("data",entry=>entries.push(entry)),stream.once("end",()=>resolve(entries));})}};exports.default=ReaderAsync;}});var require_matcher=__commonJS({"../../node_modules/fast-glob/out/providers/matchers/matcher.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils=require_utils6(),Matcher=class{constructor(_patterns,_settings,_micromatchOptions){this._patterns=_patterns,this._settings=_settings,this._micromatchOptions=_micromatchOptions,this._storage=[],this._fillStorage();}_fillStorage(){for(let pattern of this._patterns){let segments=this._getPatternSegments(pattern),sections=this._splitSegmentsIntoSections(segments);this._storage.push({complete:sections.length<=1,pattern,segments,sections});}}_getPatternSegments(pattern){return utils.pattern.getPatternParts(pattern,this._micromatchOptions).map(part=>utils.pattern.isDynamicPattern(part,this._settings)?{dynamic:!0,pattern:part,patternRe:utils.pattern.makeRe(part,this._micromatchOptions)}:{dynamic:!1,pattern:part})}_splitSegmentsIntoSections(segments){return utils.array.splitWhen(segments,segment=>segment.dynamic&&utils.pattern.hasGlobStar(segment.pattern))}};exports.default=Matcher;}});var require_partial2=__commonJS({"../../node_modules/fast-glob/out/providers/matchers/partial.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var matcher_1=require_matcher(),PartialMatcher=class extends matcher_1.default{match(filepath){let parts=filepath.split("/"),levels=parts.length,patterns=this._storage.filter(info=>!info.complete||info.segments.length>levels);for(let pattern of patterns){let section=pattern.sections[0];if(!pattern.complete&&levels>section.length||parts.every((part,index)=>{let segment=pattern.segments[index];return !!(segment.dynamic&&segment.patternRe.test(part)||!segment.dynamic&&segment.pattern===part)}))return !0}return !1}};exports.default=PartialMatcher;}});var require_deep=__commonJS({"../../node_modules/fast-glob/out/providers/filters/deep.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils=require_utils6(),partial_1=require_partial2(),DeepFilter=class{constructor(_settings,_micromatchOptions){this._settings=_settings,this._micromatchOptions=_micromatchOptions;}getFilter(basePath,positive,negative){let matcher=this._getMatcher(positive),negativeRe=this._getNegativePatternsRe(negative);return entry=>this._filter(basePath,entry,matcher,negativeRe)}_getMatcher(patterns){return new partial_1.default(patterns,this._settings,this._micromatchOptions)}_getNegativePatternsRe(patterns){let affectDepthOfReadingPatterns=patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns,this._micromatchOptions)}_filter(basePath,entry,matcher,negativeRe){if(this._isSkippedByDeep(basePath,entry.path)||this._isSkippedSymbolicLink(entry))return !1;let filepath=utils.path.removeLeadingDotSegment(entry.path);return this._isSkippedByPositivePatterns(filepath,matcher)?!1:this._isSkippedByNegativePatterns(filepath,negativeRe)}_isSkippedByDeep(basePath,entryPath){return this._settings.deep===1/0?!1:this._getEntryLevel(basePath,entryPath)>=this._settings.deep}_getEntryLevel(basePath,entryPath){let entryPathDepth=entryPath.split("/").length;if(basePath==="")return entryPathDepth;let basePathDepth=basePath.split("/").length;return entryPathDepth-basePathDepth}_isSkippedSymbolicLink(entry){return !this._settings.followSymbolicLinks&&entry.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(entryPath,matcher){return !this._settings.baseNameMatch&&!matcher.match(entryPath)}_isSkippedByNegativePatterns(entryPath,patternsRe){return !utils.pattern.matchAny(entryPath,patternsRe)}};exports.default=DeepFilter;}});var require_entry=__commonJS({"../../node_modules/fast-glob/out/providers/filters/entry.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils=require_utils6(),EntryFilter=class{constructor(_settings,_micromatchOptions){this._settings=_settings,this._micromatchOptions=_micromatchOptions,this.index=new Map;}getFilter(positive,negative){let positiveRe=utils.pattern.convertPatternsToRe(positive,this._micromatchOptions),negativeRe=utils.pattern.convertPatternsToRe(negative,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return entry=>this._filter(entry,positiveRe,negativeRe)}_filter(entry,positiveRe,negativeRe){let filepath=utils.path.removeLeadingDotSegment(entry.path);if(this._settings.unique&&this._isDuplicateEntry(filepath)||this._onlyFileFilter(entry)||this._onlyDirectoryFilter(entry)||this._isSkippedByAbsoluteNegativePatterns(filepath,negativeRe))return !1;let isDirectory=entry.dirent.isDirectory(),isMatched=this._isMatchToPatterns(filepath,positiveRe,isDirectory)&&!this._isMatchToPatterns(filepath,negativeRe,isDirectory);return this._settings.unique&&isMatched&&this._createIndexRecord(filepath),isMatched}_isDuplicateEntry(filepath){return this.index.has(filepath)}_createIndexRecord(filepath){this.index.set(filepath,void 0);}_onlyFileFilter(entry){return this._settings.onlyFiles&&!entry.dirent.isFile()}_onlyDirectoryFilter(entry){return this._settings.onlyDirectories&&!entry.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(entryPath,patternsRe){if(!this._settings.absolute)return !1;let fullpath=utils.path.makeAbsolute(this._settings.cwd,entryPath);return utils.pattern.matchAny(fullpath,patternsRe)}_isMatchToPatterns(filepath,patternsRe,isDirectory){let isMatched=utils.pattern.matchAny(filepath,patternsRe);return !isMatched&&isDirectory?utils.pattern.matchAny(filepath+"/",patternsRe):isMatched}};exports.default=EntryFilter;}});var require_error=__commonJS({"../../node_modules/fast-glob/out/providers/filters/error.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils=require_utils6(),ErrorFilter=class{constructor(_settings){this._settings=_settings;}getFilter(){return error=>this._isNonFatalError(error)}_isNonFatalError(error){return utils.errno.isEnoentCodeError(error)||this._settings.suppressErrors}};exports.default=ErrorFilter;}});var require_entry2=__commonJS({"../../node_modules/fast-glob/out/providers/transformers/entry.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils=require_utils6(),EntryTransformer=class{constructor(_settings){this._settings=_settings;}getTransformer(){return entry=>this._transform(entry)}_transform(entry){let filepath=entry.path;return this._settings.absolute&&(filepath=utils.path.makeAbsolute(this._settings.cwd,filepath),filepath=utils.path.unixify(filepath)),this._settings.markDirectories&&entry.dirent.isDirectory()&&(filepath+="/"),this._settings.objectMode?Object.assign(Object.assign({},entry),{path:filepath}):filepath}};exports.default=EntryTransformer;}});var require_provider=__commonJS({"../../node_modules/fast-glob/out/providers/provider.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var path2=__require("path"),deep_1=require_deep(),entry_1=require_entry(),error_1=require_error(),entry_2=require_entry2(),Provider=class{constructor(_settings){this._settings=_settings,this.errorFilter=new error_1.default(this._settings),this.entryFilter=new entry_1.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new deep_1.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new entry_2.default(this._settings);}_getRootDirectory(task){return path2.resolve(this._settings.cwd,task.base)}_getReaderOptions(task){let basePath=task.base==="."?"":task.base;return {basePath,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(basePath,task.positive,task.negative),entryFilter:this.entryFilter.getFilter(task.positive,task.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return {dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};exports.default=Provider;}});var require_async6=__commonJS({"../../node_modules/fast-glob/out/providers/async.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var async_1=require_async5(),provider_1=require_provider(),ProviderAsync=class extends provider_1.default{constructor(){super(...arguments),this._reader=new async_1.default(this._settings);}async read(task){let root=this._getRootDirectory(task),options=this._getReaderOptions(task);return (await this.api(root,task,options)).map(entry=>options.transform(entry))}api(root,task,options){return task.dynamic?this._reader.dynamic(root,options):this._reader.static(task.patterns,options)}};exports.default=ProviderAsync;}});var require_stream4=__commonJS({"../../node_modules/fast-glob/out/providers/stream.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var stream_1=__require("stream"),stream_2=require_stream3(),provider_1=require_provider(),ProviderStream=class extends provider_1.default{constructor(){super(...arguments),this._reader=new stream_2.default(this._settings);}read(task){let root=this._getRootDirectory(task),options=this._getReaderOptions(task),source=this.api(root,task,options),destination=new stream_1.Readable({objectMode:!0,read:()=>{}});return source.once("error",error=>destination.emit("error",error)).on("data",entry=>destination.emit("data",options.transform(entry))).once("end",()=>destination.emit("end")),destination.once("close",()=>source.destroy()),destination}api(root,task,options){return task.dynamic?this._reader.dynamic(root,options):this._reader.static(task.patterns,options)}};exports.default=ProviderStream;}});var require_sync5=__commonJS({"../../node_modules/fast-glob/out/readers/sync.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var fsStat=require_out(),fsWalk=require_out3(),reader_1=require_reader2(),ReaderSync=class extends reader_1.default{constructor(){super(...arguments),this._walkSync=fsWalk.walkSync,this._statSync=fsStat.statSync;}dynamic(root,options){return this._walkSync(root,options)}static(patterns,options){let entries=[];for(let pattern of patterns){let filepath=this._getFullEntryPath(pattern),entry=this._getEntry(filepath,pattern,options);entry===null||!options.entryFilter(entry)||entries.push(entry);}return entries}_getEntry(filepath,pattern,options){try{let stats=this._getStat(filepath);return this._makeEntry(stats,pattern)}catch(error){if(options.errorFilter(error))return null;throw error}}_getStat(filepath){return this._statSync(filepath,this._fsStatSettings)}};exports.default=ReaderSync;}});var require_sync6=__commonJS({"../../node_modules/fast-glob/out/providers/sync.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});var sync_1=require_sync5(),provider_1=require_provider(),ProviderSync=class extends provider_1.default{constructor(){super(...arguments),this._reader=new sync_1.default(this._settings);}read(task){let root=this._getRootDirectory(task),options=this._getReaderOptions(task);return this.api(root,task,options).map(options.transform)}api(root,task,options){return task.dynamic?this._reader.dynamic(root,options):this._reader.static(task.patterns,options)}};exports.default=ProviderSync;}});var require_settings4=__commonJS({"../../node_modules/fast-glob/out/settings.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var fs=__require("fs"),os=__require("os"),CPU_COUNT=Math.max(os.cpus().length,1);exports.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:fs.lstat,lstatSync:fs.lstatSync,stat:fs.stat,statSync:fs.statSync,readdir:fs.readdir,readdirSync:fs.readdirSync};var Settings=class{constructor(_options={}){this._options=_options,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,CPU_COUNT),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore);}_getValue(option,value){return option===void 0?value:option}_getFileSystemMethods(methods={}){return Object.assign(Object.assign({},exports.DEFAULT_FILE_SYSTEM_ADAPTER),methods)}};exports.default=Settings;}});var require_out4=__commonJS({"../../node_modules/fast-glob/out/index.js"(exports,module){var taskManager=require_tasks(),async_1=require_async6(),stream_1=require_stream4(),sync_1=require_sync6(),settings_1=require_settings4(),utils=require_utils6();async function FastGlob(source,options){assertPatternsInput(source);let works=getWorks(source,async_1.default,options),result=await Promise.all(works);return utils.array.flatten(result)}(function(FastGlob2){FastGlob2.glob=FastGlob2,FastGlob2.globSync=sync,FastGlob2.globStream=stream,FastGlob2.async=FastGlob2;function sync(source,options){assertPatternsInput(source);let works=getWorks(source,sync_1.default,options);return utils.array.flatten(works)}FastGlob2.sync=sync;function stream(source,options){assertPatternsInput(source);let works=getWorks(source,stream_1.default,options);return utils.stream.merge(works)}FastGlob2.stream=stream;function generateTasks(source,options){assertPatternsInput(source);let patterns=[].concat(source),settings=new settings_1.default(options);return taskManager.generate(patterns,settings)}FastGlob2.generateTasks=generateTasks;function isDynamicPattern(source,options){assertPatternsInput(source);let settings=new settings_1.default(options);return utils.pattern.isDynamicPattern(source,settings)}FastGlob2.isDynamicPattern=isDynamicPattern;function escapePath(source){return assertPatternsInput(source),utils.path.escape(source)}FastGlob2.escapePath=escapePath;function convertPathToPattern(source){return assertPatternsInput(source),utils.path.convertPathToPattern(source)}FastGlob2.convertPathToPattern=convertPathToPattern;(function(posix2){function escapePath2(source){return assertPatternsInput(source),utils.path.escapePosixPath(source)}posix2.escapePath=escapePath2;function convertPathToPattern2(source){return assertPatternsInput(source),utils.path.convertPosixPathToPattern(source)}posix2.convertPathToPattern=convertPathToPattern2;})(FastGlob2.posix||(FastGlob2.posix={}));(function(win322){function escapePath2(source){return assertPatternsInput(source),utils.path.escapeWindowsPath(source)}win322.escapePath=escapePath2;function convertPathToPattern2(source){return assertPatternsInput(source),utils.path.convertWindowsPathToPattern(source)}win322.convertPathToPattern=convertPathToPattern2;})(FastGlob2.win32||(FastGlob2.win32={}));})(FastGlob||(FastGlob={}));function getWorks(source,_Provider,options){let patterns=[].concat(source),settings=new settings_1.default(options),tasks=taskManager.generate(patterns,settings),provider=new _Provider(settings);return tasks.map(provider.read,provider)}function assertPatternsInput(input){if(![].concat(input).every(item=>utils.string.isString(item)&&!utils.string.isEmpty(item)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}module.exports=FastGlob;}});var require_path_type=__commonJS({"../../node_modules/path-type/index.js"(exports){var{promisify}=__require("util"),fs=__require("fs");async function isType(fsStatType,statsMethodName,filePath){if(typeof filePath!="string")throw new TypeError(`Expected a string, got ${typeof filePath}`);try{return (await promisify(fs[fsStatType])(filePath))[statsMethodName]()}catch(error){if(error.code==="ENOENT")return !1;throw error}}function isTypeSync(fsStatType,statsMethodName,filePath){if(typeof filePath!="string")throw new TypeError(`Expected a string, got ${typeof filePath}`);try{return fs[fsStatType](filePath)[statsMethodName]()}catch(error){if(error.code==="ENOENT")return !1;throw error}}exports.isFile=isType.bind(null,"stat","isFile");exports.isDirectory=isType.bind(null,"stat","isDirectory");exports.isSymlink=isType.bind(null,"lstat","isSymbolicLink");exports.isFileSync=isTypeSync.bind(null,"statSync","isFile");exports.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");exports.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink");}});var require_dir_glob=__commonJS({"../../node_modules/dir-glob/index.js"(exports,module){var path2=__require("path"),pathType=require_path_type(),getExtensions=extensions=>extensions.length>1?`{${extensions.join(",")}}`:extensions[0],getPath=(filepath,cwd)=>{let pth=filepath[0]==="!"?filepath.slice(1):filepath;return path2.isAbsolute(pth)?pth:path2.join(cwd,pth)},addExtensions=(file,extensions)=>path2.extname(file)?`**/${file}`:`**/${file}.${getExtensions(extensions)}`,getGlob=(directory,options)=>{if(options.files&&!Array.isArray(options.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof options.files}\``);if(options.extensions&&!Array.isArray(options.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``);return options.files&&options.extensions?options.files.map(x=>path2.posix.join(directory,addExtensions(x,options.extensions))):options.files?options.files.map(x=>path2.posix.join(directory,`**/${x}`)):options.extensions?[path2.posix.join(directory,`**/*.${getExtensions(options.extensions)}`)]:[path2.posix.join(directory,"**")]};module.exports=async(input,options)=>{if(options={cwd:process.cwd(),...options},typeof options.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);let globs=await Promise.all([].concat(input).map(async x=>await pathType.isDirectory(getPath(x,options.cwd))?getGlob(x,options):x));return [].concat.apply([],globs)};module.exports.sync=(input,options)=>{if(options={cwd:process.cwd(),...options},typeof options.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``);let globs=[].concat(input).map(x=>pathType.isDirectorySync(getPath(x,options.cwd))?getGlob(x,options):x);return [].concat.apply([],globs)};}});var require_ignore2=__commonJS({"../../node_modules/ignore/index.js"(exports,module){function makeArray(subject){return Array.isArray(subject)?subject:[subject]}var EMPTY="",SPACE=" ",ESCAPE="\\",REGEX_TEST_BLANK_LINE=/^\s+$/,REGEX_INVALID_TRAILING_BACKSLASH=/(?:[^\\]|^)\\$/,REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION=/^\\!/,REGEX_REPLACE_LEADING_EXCAPED_HASH=/^\\#/,REGEX_SPLITALL_CRLF=/\r?\n/g,REGEX_TEST_INVALID_PATH=/^\.*\/|^\.+$/,SLASH="/",TMP_KEY_IGNORE="node-ignore";typeof Symbol<"u"&&(TMP_KEY_IGNORE=Symbol.for("node-ignore"));var KEY_IGNORE=TMP_KEY_IGNORE,define2=(object,key,value)=>Object.defineProperty(object,key,{value}),REGEX_REGEXP_RANGE=/([0-z])-([0-z])/g,RETURN_FALSE=()=>!1,sanitizeRange=range=>range.replace(REGEX_REGEXP_RANGE,(match,from,to)=>from.charCodeAt(0)<=to.charCodeAt(0)?match:EMPTY),cleanRangeBackSlash=slashes=>{let{length}=slashes;return slashes.slice(0,length-length%2)},REPLACERS=[[/^\uFEFF/,()=>EMPTY],[/\\?\s+$/,match=>match.indexOf("\\")===0?SPACE:EMPTY],[/\\\s/g,()=>SPACE],[/[\\$.|*+(){^]/g,match=>`\\${match}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return /\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(_,index,str)=>index+6<str.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(_,p1,p2)=>{let unescaped=p2.replace(/\\\*/g,"[^\\/]*");return p1+unescaped}],[/\\\\\\(?=[$.|*+(){^])/g,()=>ESCAPE],[/\\\\/g,()=>ESCAPE],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(match,leadEscape,range,endEscape,close)=>leadEscape===ESCAPE?`\\[${range}${cleanRangeBackSlash(endEscape)}${close}`:close==="]"&&endEscape.length%2===0?`[${sanitizeRange(range)}${endEscape}]`:"[]"],[/(?:[^*])$/,match=>/\/$/.test(match)?`${match}$`:`${match}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(_,p1)=>`${p1?`${p1}[^/]+`:"[^/]*"}(?=$|\\/$)`]],regexCache=Object.create(null),makeRegex=(pattern,ignoreCase)=>{let source=regexCache[pattern];return source||(source=REPLACERS.reduce((prev,current)=>prev.replace(current[0],current[1].bind(pattern)),pattern),regexCache[pattern]=source),ignoreCase?new RegExp(source,"i"):new RegExp(source)},isString=subject=>typeof subject=="string",checkPattern=pattern=>pattern&&isString(pattern)&&!REGEX_TEST_BLANK_LINE.test(pattern)&&!REGEX_INVALID_TRAILING_BACKSLASH.test(pattern)&&pattern.indexOf("#")!==0,splitPattern=pattern=>pattern.split(REGEX_SPLITALL_CRLF),IgnoreRule=class{constructor(origin,pattern,negative,regex){this.origin=origin,this.pattern=pattern,this.negative=negative,this.regex=regex;}},createRule=(pattern,ignoreCase)=>{let origin=pattern,negative=!1;pattern.indexOf("!")===0&&(negative=!0,pattern=pattern.substr(1)),pattern=pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION,"!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH,"#");let regex=makeRegex(pattern,ignoreCase);return new IgnoreRule(origin,pattern,negative,regex)},throwError=(message,Ctor)=>{throw new Ctor(message)},checkPath=(path2,originalPath,doThrow)=>isString(path2)?path2?checkPath.isNotRelative(path2)?doThrow(`path should be a \`path.relative()\`d string, but got "${originalPath}"`,RangeError):!0:doThrow("path must not be empty",TypeError):doThrow(`path must be a string, but got \`${originalPath}\``,TypeError),isNotRelative=path2=>REGEX_TEST_INVALID_PATH.test(path2);checkPath.isNotRelative=isNotRelative;checkPath.convert=p=>p;var Ignore=class{constructor({ignorecase=!0,ignoreCase=ignorecase,allowRelativePaths=!1}={}){define2(this,KEY_IGNORE,!0),this._rules=[],this._ignoreCase=ignoreCase,this._allowRelativePaths=allowRelativePaths,this._initCache();}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null);}_addPattern(pattern){if(pattern&&pattern[KEY_IGNORE]){this._rules=this._rules.concat(pattern._rules),this._added=!0;return}if(checkPattern(pattern)){let rule=createRule(pattern,this._ignoreCase);this._added=!0,this._rules.push(rule);}}add(pattern){return this._added=!1,makeArray(isString(pattern)?splitPattern(pattern):pattern).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(pattern){return this.add(pattern)}_testOne(path2,checkUnignored){let ignored=!1,unignored=!1;return this._rules.forEach(rule=>{let{negative}=rule;if(unignored===negative&&ignored!==unignored||negative&&!ignored&&!unignored&&!checkUnignored)return;rule.regex.test(path2)&&(ignored=!negative,unignored=negative);}),{ignored,unignored}}_test(originalPath,cache,checkUnignored,slices){let path2=originalPath&&checkPath.convert(originalPath);return checkPath(path2,originalPath,this._allowRelativePaths?RETURN_FALSE:throwError),this._t(path2,cache,checkUnignored,slices)}_t(path2,cache,checkUnignored,slices){if(path2 in cache)return cache[path2];if(slices||(slices=path2.split(SLASH)),slices.pop(),!slices.length)return cache[path2]=this._testOne(path2,checkUnignored);let parent=this._t(slices.join(SLASH)+SLASH,cache,checkUnignored,slices);return cache[path2]=parent.ignored?parent:this._testOne(path2,checkUnignored)}ignores(path2){return this._test(path2,this._ignoreCache,!1).ignored}createFilter(){return path2=>!this.ignores(path2)}filter(paths){return makeArray(paths).filter(this.createFilter())}test(path2){return this._test(path2,this._testCache,!0)}},factory=options=>new Ignore(options),isPathValid=path2=>checkPath(path2&&checkPath.convert(path2),path2,RETURN_FALSE);factory.isPathValid=isPathValid;factory.default=factory;module.exports=factory;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let makePosix=str=>/^\\\\\?\\/.test(str)||/["<>|\u0000-\u001F]+/u.test(str)?str:str.replace(/\\/g,"/");checkPath.convert=makePosix;let REGIX_IS_WINDOWS_PATH_ABSOLUTE=/^[a-z]:\//i;checkPath.isNotRelative=path2=>REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path2)||isNotRelative(path2);}}});var require_slash=__commonJS({"../../node_modules/globby/node_modules/slash/index.js"(exports,module){module.exports=path2=>{let isExtendedLengthPath=/^\\\\\?\\/.test(path2),hasNonAscii=/[^\u0000-\u0080]+/.test(path2);return isExtendedLengthPath||hasNonAscii?path2:path2.replace(/\\/g,"/")};}});var require_gitignore=__commonJS({"../../node_modules/globby/gitignore.js"(exports,module){var{promisify}=__require("util"),fs=__require("fs"),path2=__require("path"),fastGlob=require_out4(),gitIgnore=require_ignore2(),slash=require_slash(),DEFAULT_IGNORE=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],readFileP=promisify(fs.readFile),mapGitIgnorePatternTo=base=>ignore=>ignore.startsWith("!")?"!"+path2.posix.join(base,ignore.slice(1)):path2.posix.join(base,ignore),parseGitIgnore=(content,options)=>{let base=slash(path2.relative(options.cwd,path2.dirname(options.fileName)));return content.split(/\r?\n/).filter(Boolean).filter(line=>!line.startsWith("#")).map(mapGitIgnorePatternTo(base))},reduceIgnore=files=>{let ignores=gitIgnore();for(let file of files)ignores.add(parseGitIgnore(file.content,{cwd:file.cwd,fileName:file.filePath}));return ignores},ensureAbsolutePathForCwd=(cwd,p)=>{if(cwd=slash(cwd),path2.isAbsolute(p)){if(slash(p).startsWith(cwd))return p;throw new Error(`Path ${p} is not in cwd ${cwd}`)}return path2.join(cwd,p)},getIsIgnoredPredecate=(ignores,cwd)=>p=>ignores.ignores(slash(path2.relative(cwd,ensureAbsolutePathForCwd(cwd,p.path||p)))),getFile=async(file,cwd)=>{let filePath=path2.join(cwd,file),content=await readFileP(filePath,"utf8");return {cwd,filePath,content}},getFileSync=(file,cwd)=>{let filePath=path2.join(cwd,file),content=fs.readFileSync(filePath,"utf8");return {cwd,filePath,content}},normalizeOptions=({ignore=[],cwd=slash(process.cwd())}={})=>({ignore,cwd});module.exports=async options=>{options=normalizeOptions(options);let paths=await fastGlob("**/.gitignore",{ignore:DEFAULT_IGNORE.concat(options.ignore),cwd:options.cwd}),files=await Promise.all(paths.map(file=>getFile(file,options.cwd))),ignores=reduceIgnore(files);return getIsIgnoredPredecate(ignores,options.cwd)};module.exports.sync=options=>{options=normalizeOptions(options);let files=fastGlob.sync("**/.gitignore",{ignore:DEFAULT_IGNORE.concat(options.ignore),cwd:options.cwd}).map(file=>getFileSync(file,options.cwd)),ignores=reduceIgnore(files);return getIsIgnoredPredecate(ignores,options.cwd)};}});var require_stream_utils=__commonJS({"../../node_modules/globby/stream-utils.js"(exports,module){var{Transform}=__require("stream"),ObjectTransform=class extends Transform{constructor(){super({objectMode:!0});}},FilterStream=class extends ObjectTransform{constructor(filter){super(),this._filter=filter;}_transform(data,encoding,callback){this._filter(data)&&this.push(data),callback();}},UniqueStream=class extends ObjectTransform{constructor(){super(),this._pushed=new Set;}_transform(data,encoding,callback){this._pushed.has(data)||(this.push(data),this._pushed.add(data)),callback();}};module.exports={FilterStream,UniqueStream};}});var require_globby=__commonJS({"../../node_modules/globby/index.js"(exports,module){var fs=__require("fs"),arrayUnion=require_array_union(),merge2=require_merge2(),fastGlob=require_out4(),dirGlob=require_dir_glob(),gitignore=require_gitignore(),{FilterStream,UniqueStream}=require_stream_utils(),DEFAULT_FILTER=()=>!1,isNegative=pattern=>pattern[0]==="!",assertPatternsInput=patterns=>{if(!patterns.every(pattern=>typeof pattern=="string"))throw new TypeError("Patterns must be a string or an array of strings")},checkCwdOption=(options={})=>{if(!options.cwd)return;let stat;try{stat=fs.statSync(options.cwd);}catch{return}if(!stat.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},getPathString=p=>p.stats instanceof fs.Stats?p.path:p,generateGlobTasks=(patterns,taskOptions)=>{patterns=arrayUnion([].concat(patterns)),assertPatternsInput(patterns),checkCwdOption(taskOptions);let globTasks=[];taskOptions={ignore:[],expandDirectories:!0,...taskOptions};for(let[index,pattern]of patterns.entries()){if(isNegative(pattern))continue;let ignore=patterns.slice(index).filter(pattern2=>isNegative(pattern2)).map(pattern2=>pattern2.slice(1)),options={...taskOptions,ignore:taskOptions.ignore.concat(ignore)};globTasks.push({pattern,options});}return globTasks},globDirs=(task,fn)=>{let options={};return task.options.cwd&&(options.cwd=task.options.cwd),Array.isArray(task.options.expandDirectories)?options={...options,files:task.options.expandDirectories}:typeof task.options.expandDirectories=="object"&&(options={...options,...task.options.expandDirectories}),fn(task.pattern,options)},getPattern=(task,fn)=>task.options.expandDirectories?globDirs(task,fn):[task.pattern],getFilterSync=options=>options&&options.gitignore?gitignore.sync({cwd:options.cwd,ignore:options.ignore}):DEFAULT_FILTER,globToTask=task=>glob=>{let{options}=task;return options.ignore&&Array.isArray(options.ignore)&&options.expandDirectories&&(options.ignore=dirGlob.sync(options.ignore)),{pattern:glob,options}};module.exports=async(patterns,options)=>{let globTasks=generateGlobTasks(patterns,options),getFilter=async()=>options&&options.gitignore?gitignore({cwd:options.cwd,ignore:options.ignore}):DEFAULT_FILTER,getTasks=async()=>{let tasks2=await Promise.all(globTasks.map(async task=>{let globs=await getPattern(task,dirGlob);return Promise.all(globs.map(globToTask(task)))}));return arrayUnion(...tasks2)},[filter,tasks]=await Promise.all([getFilter(),getTasks()]),paths=await Promise.all(tasks.map(task=>fastGlob(task.pattern,task.options)));return arrayUnion(...paths).filter(path_=>!filter(getPathString(path_)))};module.exports.sync=(patterns,options)=>{let globTasks=generateGlobTasks(patterns,options),tasks=[];for(let task of globTasks){let newTask=getPattern(task,dirGlob.sync).map(globToTask(task));tasks.push(...newTask);}let filter=getFilterSync(options),matches=[];for(let task of tasks)matches=arrayUnion(matches,fastGlob.sync(task.pattern,task.options));return matches.filter(path_=>!filter(path_))};module.exports.stream=(patterns,options)=>{let globTasks=generateGlobTasks(patterns,options),tasks=[];for(let task of globTasks){let newTask=getPattern(task,dirGlob.sync).map(globToTask(task));tasks.push(...newTask);}let filter=getFilterSync(options),filterStream=new FilterStream(p=>!filter(p)),uniqueStream=new UniqueStream;return merge2(tasks.map(task=>fastGlob.stream(task.pattern,task.options))).pipe(filterStream).pipe(uniqueStream)};module.exports.generateGlobTasks=generateGlobTasks;module.exports.hasMagic=(patterns,options)=>[].concat(patterns).some(pattern=>fastGlob.isDynamicPattern(pattern,options));module.exports.gitignore=gitignore;}});var require_slash2=__commonJS({"../../node_modules/del/node_modules/slash/index.js"(exports,module){module.exports=path2=>{let isExtendedLengthPath=/^\\\\\?\\/.test(path2),hasNonAscii=/[^\u0000-\u0080]+/.test(path2);return isExtendedLengthPath||hasNonAscii?path2:path2.replace(/\\/g,"/")};}});var require_is_path_cwd=__commonJS({"../../node_modules/is-path-cwd/index.js"(exports,module){var path2=__require("path");module.exports=path_=>{let cwd=process.cwd();return path_=path2.resolve(path_),process.platform==="win32"&&(cwd=cwd.toLowerCase(),path_=path_.toLowerCase()),path_===cwd};}});var require_is_path_inside=__commonJS({"../../node_modules/is-path-inside/index.js"(exports,module){var path2=__require("path");module.exports=(childPath,parentPath)=>{let relation=path2.relative(parentPath,childPath);return !!(relation&&relation!==".."&&!relation.startsWith(`..${path2.sep}`)&&relation!==path2.resolve(childPath))};}});var require_old=__commonJS({"../../node_modules/fs.realpath/old.js"(exports){var pathModule=__require("path"),isWindows=process.platform==="win32",fs=__require("fs"),DEBUG=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var callback;if(DEBUG){var backtrace=new Error;callback=debugCallback;}else callback=missingCallback;return callback;function debugCallback(err){err&&(backtrace.message=err.message,err=backtrace,missingCallback(err));}function missingCallback(err){if(err){if(process.throwDeprecation)throw err;if(!process.noDeprecation){var msg="fs: missing callback "+(err.stack||err.message);process.traceDeprecation?console.trace(msg):console.error(msg);}}}}function maybeCallback(cb){return typeof cb=="function"?cb:rethrow()}pathModule.normalize;isWindows?nextPartRe=/(.*?)(?:[\/\\]+|$)/g:nextPartRe=/(.*?)(?:[\/]+|$)/g;var nextPartRe;isWindows?splitRootRe=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:splitRootRe=/^[\/]*/;var splitRootRe;exports.realpathSync=function(p,cache){if(p=pathModule.resolve(p),cache&&Object.prototype.hasOwnProperty.call(cache,p))return cache[p];var original=p,seenLinks={},knownHard={},pos,current,base,previous;start();function start(){var m=splitRootRe.exec(p);pos=m[0].length,current=m[0],base=m[0],previous="",isWindows&&!knownHard[base]&&(fs.lstatSync(base),knownHard[base]=!0);}for(;pos<p.length;){nextPartRe.lastIndex=pos;var result=nextPartRe.exec(p);if(previous=current,current+=result[0],base=previous+result[1],pos=nextPartRe.lastIndex,!(knownHard[base]||cache&&cache[base]===base)){var resolvedLink;if(cache&&Object.prototype.hasOwnProperty.call(cache,base))resolvedLink=cache[base];else {var stat=fs.lstatSync(base);if(!stat.isSymbolicLink()){knownHard[base]=!0,cache&&(cache[base]=base);continue}var linkTarget=null;if(!isWindows){var id=stat.dev.toString(32)+":"+stat.ino.toString(32);seenLinks.hasOwnProperty(id)&&(linkTarget=seenLinks[id]);}linkTarget===null&&(fs.statSync(base),linkTarget=fs.readlinkSync(base)),resolvedLink=pathModule.resolve(previous,linkTarget),cache&&(cache[base]=resolvedLink),isWindows||(seenLinks[id]=linkTarget);}p=pathModule.resolve(resolvedLink,p.slice(pos)),start();}}return cache&&(cache[original]=p),p};exports.realpath=function(p,cache,cb){if(typeof cb!="function"&&(cb=maybeCallback(cache),cache=null),p=pathModule.resolve(p),cache&&Object.prototype.hasOwnProperty.call(cache,p))return process.nextTick(cb.bind(null,null,cache[p]));var original=p,seenLinks={},knownHard={},pos,current,base,previous;start();function start(){var m=splitRootRe.exec(p);pos=m[0].length,current=m[0],base=m[0],previous="",isWindows&&!knownHard[base]?fs.lstat(base,function(err){if(err)return cb(err);knownHard[base]=!0,LOOP();}):process.nextTick(LOOP);}function LOOP(){if(pos>=p.length)return cache&&(cache[original]=p),cb(null,p);nextPartRe.lastIndex=pos;var result=nextPartRe.exec(p);return previous=current,current+=result[0],base=previous+result[1],pos=nextPartRe.lastIndex,knownHard[base]||cache&&cache[base]===base?process.nextTick(LOOP):cache&&Object.prototype.hasOwnProperty.call(cache,base)?gotResolvedLink(cache[base]):fs.lstat(base,gotStat)}function gotStat(err,stat){if(err)return cb(err);if(!stat.isSymbolicLink())return knownHard[base]=!0,cache&&(cache[base]=base),process.nextTick(LOOP);if(!isWindows){var id=stat.dev.toString(32)+":"+stat.ino.toString(32);if(seenLinks.hasOwnProperty(id))return gotTarget(null,seenLinks[id],base)}fs.stat(base,function(err2){if(err2)return cb(err2);fs.readlink(base,function(err3,target){isWindows||(seenLinks[id]=target),gotTarget(err3,target);});});}function gotTarget(err,target,base2){if(err)return cb(err);var resolvedLink=pathModule.resolve(previous,target);cache&&(cache[base2]=resolvedLink),gotResolvedLink(resolvedLink);}function gotResolvedLink(resolvedLink){p=pathModule.resolve(resolvedLink,p.slice(pos)),start();}};}});var require_fs7=__commonJS({"../../node_modules/fs.realpath/index.js"(exports,module){module.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var fs=__require("fs"),origRealpath=fs.realpath,origRealpathSync=fs.realpathSync,version=process.version,ok=/^v[0-5]\./.test(version),old=require_old();function newError(er){return er&&er.syscall==="realpath"&&(er.code==="ELOOP"||er.code==="ENOMEM"||er.code==="ENAMETOOLONG")}function realpath(p,cache,cb){if(ok)return origRealpath(p,cache,cb);typeof cache=="function"&&(cb=cache,cache=null),origRealpath(p,cache,function(er,result){newError(er)?old.realpath(p,cache,cb):cb(er,result);});}function realpathSync(p,cache){if(ok)return origRealpathSync(p,cache);try{return origRealpathSync(p,cache)}catch(er){if(newError(er))return old.realpathSync(p,cache);throw er}}function monkeypatch(){fs.realpath=realpath,fs.realpathSync=realpathSync;}function unmonkeypatch(){fs.realpath=origRealpath,fs.realpathSync=origRealpathSync;}}});var require_concat_map=__commonJS({"../../node_modules/concat-map/index.js"(exports,module){module.exports=function(xs,fn){for(var res=[],i=0;i<xs.length;i++){var x=fn(xs[i],i);isArray(x)?res.push.apply(res,x):res.push(x);}return res};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"};}});var require_brace_expansion2=__commonJS({"../../node_modules/minimatch/node_modules/brace-expansion/index.js"(exports,module){var concatMap=require_concat_map(),balanced=require_balanced_match();module.exports=expandTop;var escSlash="\0SLASH"+Math.random()+"\0",escOpen="\0OPEN"+Math.random()+"\0",escClose="\0CLOSE"+Math.random()+"\0",escComma="\0COMMA"+Math.random()+"\0",escPeriod="\0PERIOD"+Math.random()+"\0";function numeric(str){return parseInt(str,10)==str?parseInt(str,10):str.charCodeAt(0)}function escapeBraces(str){return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod)}function unescapeBraces(str){return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".")}function parseCommaParts(str){if(!str)return [""];var parts=[],m=balanced("{","}",str);if(!m)return str.split(",");var pre=m.pre,body=m.body,post=m.post,p=pre.split(",");p[p.length-1]+="{"+body+"}";var postParts=parseCommaParts(post);return post.length&&(p[p.length-1]+=postParts.shift(),p.push.apply(p,postParts)),parts.push.apply(parts,p),parts}function expandTop(str){return str?(str.substr(0,2)==="{}"&&(str="\\{\\}"+str.substr(2)),expand(escapeBraces(str),!0).map(unescapeBraces)):[]}function embrace(str){return "{"+str+"}"}function isPadded(el){return /^-?0\d/.test(el)}function lte(i,y){return i<=y}function gte(i,y){return i>=y}function expand(str,isTop){var expansions=[],m=balanced("{","}",str);if(!m||/\$$/.test(m.pre))return [str];var isNumericSequence=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),isAlphaSequence=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),isSequence=isNumericSequence||isAlphaSequence,isOptions=m.body.indexOf(",")>=0;if(!isSequence&&!isOptions)return m.post.match(/,.*\}/)?(str=m.pre+"{"+m.body+escClose+m.post,expand(str)):[str];var n;if(isSequence)n=m.body.split(/\.\./);else if(n=parseCommaParts(m.body),n.length===1&&(n=expand(n[0],!1).map(embrace),n.length===1)){var post=m.post.length?expand(m.post,!1):[""];return post.map(function(p){return m.pre+n[0]+p})}var pre=m.pre,post=m.post.length?expand(m.post,!1):[""],N;if(isSequence){var x=numeric(n[0]),y=numeric(n[1]),width=Math.max(n[0].length,n[1].length),incr=n.length==3?Math.abs(numeric(n[2])):1,test=lte,reverse=y<x;reverse&&(incr*=-1,test=gte);var pad=n.some(isPadded);N=[];for(var i=x;test(i,y);i+=incr){var c;if(isAlphaSequence)c=String.fromCharCode(i),c==="\\"&&(c="");else if(c=String(i),pad){var need=width-c.length;if(need>0){var z=new Array(need+1).join("0");i<0?c="-"+z+c.slice(1):c=z+c;}}N.push(c);}}else N=concatMap(n,function(el){return expand(el,!1)});for(var j=0;j<N.length;j++)for(var k=0;k<post.length;k++){var expansion=pre+N[j]+post[k];(!isTop||isSequence||expansion)&&expansions.push(expansion);}return expansions}}});var require_minimatch=__commonJS({"../../node_modules/minimatch/minimatch.js"(exports,module){module.exports=minimatch;minimatch.Minimatch=Minimatch;var path2=function(){try{return __require("path")}catch{}}()||{sep:"/"};minimatch.sep=path2.sep;var GLOBSTAR=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={},expand=require_brace_expansion2(),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",reSpecials=charSet("().*{}+?[]^$\\!");function charSet(s){return s.split("").reduce(function(set,c){return set[c]=!0,set},{})}var slashSplit=/\/+/;minimatch.filter=filter;function filter(pattern,options){return options=options||{},function(p,i,list){return minimatch(p,pattern,options)}}function ext(a,b){b=b||{};var t={};return Object.keys(a).forEach(function(k){t[k]=a[k];}),Object.keys(b).forEach(function(k){t[k]=b[k];}),t}minimatch.defaults=function(def){if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch;var orig=minimatch,m=function(p,pattern,options){return orig(p,pattern,ext(def,options))};return m.Minimatch=function(pattern,options){return new orig.Minimatch(pattern,ext(def,options))},m.Minimatch.defaults=function(options){return orig.defaults(ext(def,options)).Minimatch},m.filter=function(pattern,options){return orig.filter(pattern,ext(def,options))},m.defaults=function(options){return orig.defaults(ext(def,options))},m.makeRe=function(pattern,options){return orig.makeRe(pattern,ext(def,options))},m.braceExpand=function(pattern,options){return orig.braceExpand(pattern,ext(def,options))},m.match=function(list,pattern,options){return orig.match(list,pattern,ext(def,options))},m};Minimatch.defaults=function(def){return minimatch.defaults(def).Minimatch};function minimatch(p,pattern,options){return assertValidPattern(pattern),options||(options={}),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p)}function Minimatch(pattern,options){if(!(this instanceof Minimatch))return new Minimatch(pattern,options);assertValidPattern(pattern),options||(options={}),pattern=pattern.trim(),!options.allowWindowsEscape&&path2.sep!=="/"&&(pattern=pattern.split(path2.sep).join("/")),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.make();}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();var set=this.globSet=this.braceExpand();options.debug&&(this.debug=function(){console.error.apply(console,arguments);}),this.debug(this.pattern,set),set=this.globParts=set.map(function(s){return s.split(slashSplit)}),this.debug(this.pattern,set),set=set.map(function(s,si,set2){return s.map(this.parse,this)},this),this.debug(this.pattern,set),set=set.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,set),this.set=set;}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var pattern=this.pattern,negate=!1,options=this.options,negateOffset=0;if(!options.nonegate){for(var i=0,l=pattern.length;i<l&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate;}}minimatch.braceExpand=function(pattern,options){return braceExpand(pattern,options)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(pattern,options){return options||(this instanceof Minimatch?options=this.options:options={}),pattern=typeof pattern>"u"?this.pattern:pattern,assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)}var MAX_PATTERN_LENGTH=1024*64,assertValidPattern=function(pattern){if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")};Minimatch.prototype.parse=parse;var SUBPARSE={};function parse(pattern,isSub){assertValidPattern(pattern);var options=this.options;if(pattern==="**")if(options.noglobstar)pattern="*";else return GLOBSTAR;if(pattern==="")return "";var re="",hasMagic=!!options.nocase,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",self2=this;function clearStateChar(){if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}self2.debug("clearStateChar %j %j",stateChar,re),stateChar=!1;}}for(var i=0,len=pattern.length,c;i<len&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping&&reSpecials[c]){re+="\\"+c,escaping=!1;continue}switch(c){case"/":return !1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}self2.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0;var pl=patternListStack.pop();re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length||escaping){re+="\\|",escaping=!1;continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c,escaping=!1;continue}var cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]");}catch{var sp=this.parse(cs,SUBPARSE);re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),escaping?escaping=!1:reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c;}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){var tail=re.slice(pl.reStart+pl.open.length);this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(_,$1,$2){return $2||($2="\\"),$1+$1+$2+"|"}),this.debug(`tail=%j
268
272
  %s`,tail,tail,pl,re);var t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail;}clearStateChar(),escaping&&(re+="\\\\");var addPatternStart=!1;switch(re.charAt(0)){case"[":case".":case"(":addPatternStart=!0;}for(var n=negativeLists.length-1;n>-1;n--){var nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlLast=re.slice(nl.reEnd-8,nl.reEnd),nlAfter=re.slice(nl.reEnd);nlLast+=nlAfter;var openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;var dollar="";nlAfter===""&&isSub!==SUBPARSE&&(dollar="$");var newRe=nlBefore+nlFirst+nlAfter+dollar+nlLast;re=newRe;}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return [re,hasMagic];if(!hasMagic)return globUnescape(pattern);var flags=options.nocase?"i":"";try{var regExp=new RegExp("^"+re+"$",flags);}catch{return new RegExp("$.")}return regExp._glob=pattern,regExp._src=re,regExp}minimatch.makeRe=function(pattern,options){return new Minimatch(pattern,options||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;var set=this.set;if(!set.length)return this.regexp=!1,this.regexp;var options=this.options,twoStar=options.noglobstar?star:options.dot?twoStarDot:twoStarNoDot,flags=options.nocase?"i":"",re=set.map(function(pattern){return pattern.map(function(p){return p===GLOBSTAR?twoStar:typeof p=="string"?regExpEscape(p):p._src}).join("\\/")}).join("|");re="^(?:"+re+")$",this.negate&&(re="^(?!"+re+").*$");try{this.regexp=new RegExp(re,flags);}catch{this.regexp=!1;}return this.regexp}minimatch.match=function(list,pattern,options){options=options||{};var mm=new Minimatch(pattern,options);return list=list.filter(function(f){return mm.match(f)}),mm.options.nonull&&!list.length&&list.push(pattern),list};Minimatch.prototype.match=function(f,partial){if(typeof partial>"u"&&(partial=this.partial),this.debug("match",f,this.pattern),this.comment)return !1;if(this.empty)return f==="";if(f==="/"&&partial)return !0;var options=this.options;path2.sep!=="/"&&(f=f.split(path2.sep).join("/")),f=f.split(slashSplit),this.debug(this.pattern,"split",f);var set=this.set;this.debug(this.pattern,"set",set);var filename,i;for(i=f.length-1;i>=0&&(filename=f[i],!filename);i--);for(i=0;i<set.length;i++){var pattern=set[i],file=f;options.matchBase&&pattern.length===1&&(file=[filename]);var hit=this.matchOne(file,pattern,partial);if(hit)return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate};Minimatch.prototype.matchOne=function(file,pattern,partial){var options=this.options;this.debug("matchOne",{this:this,file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi=0,pi=0,fl=file.length,pl=pattern.length;fi<fl&&pi<pl;fi++,pi++){this.debug("matchOne loop");var p=pattern[pi],f=file[fi];if(this.debug(pattern,p,f),p===!1)return !1;if(p===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p,f]);var fr=fi,pr=pi+1;if(pr===pl){for(this.debug("** at the end");fi<fl;fi++)if(file[fi]==="."||file[fi]===".."||!options.dot&&file[fi].charAt(0)===".")return !1;return !0}for(;fr<fl;){var swallowee=file[fr];if(this.debug(`
269
273
  globstar while`,file,fr,pattern,pr,swallowee),this.matchOne(file.slice(fr),pattern.slice(pr),partial))return this.debug("globstar found match!",fr,fl,swallowee),!0;if(swallowee==="."||swallowee===".."||!options.dot&&swallowee.charAt(0)==="."){this.debug("dot detected!",file,fr,pattern,pr);break}this.debug("globstar swallow a segment, and continue"),fr++;}return !!(partial&&(this.debug(`
@@ -418,10 +422,10 @@ while`),parts.push(" (",path2.call(print,"test"),");"),(0, lines_1.concat)(parts
418
422
  `,lines_2,`
419
423
  }`):options.objectCurlySpacing?parts.push("{ ",lines_2," }"):parts.push("{",lines_2,"}");}}else parts.push(shouldPrintSpaces?"{ ":"{",(0, lines_1.fromString)(", ").join(path2.map(print,"specifiers")),shouldPrintSpaces?" }":"}");decl.source&&parts.push(" from ",path2.call(print,"source"),maybePrintImportAssertions(path2,options,print));}var lines=(0, lines_1.concat)(parts);return lastNonSpaceCharacter(lines)!==";"&&!(decl.declaration&&(decl.declaration.type==="FunctionDeclaration"||decl.declaration.type==="ClassDeclaration"||decl.declaration.type==="TSModuleDeclaration"||decl.declaration.type==="TSInterfaceDeclaration"||decl.declaration.type==="TSEnumDeclaration"))&&(lines=(0, lines_1.concat)([lines,";"])),lines}function printFlowDeclaration(path2,parts){var parentExportDecl=util.getParentExportDeclaration(path2);return parentExportDecl?(0, tiny_invariant_1.default)(parentExportDecl.type==="DeclareExportDeclaration"):parts.unshift("declare "),(0, lines_1.concat)(parts)}function printVariance(path2,print){return path2.call(function(variancePath){var value=variancePath.getValue();return value?value==="plus"?(0, lines_1.fromString)("+"):value==="minus"?(0, lines_1.fromString)("-"):print(variancePath):(0, lines_1.fromString)("")},"variance")}function adjustClause(clause,options){return clause.length>1?(0, lines_1.concat)([" ",clause]):(0, lines_1.concat)([`
420
424
  `,maybeAddSemicolon(clause).indent(options.tabWidth)])}function lastNonSpaceCharacter(lines){var pos=lines.lastPos();do{var ch=lines.charAt(pos);if(/\S/.test(ch))return ch}while(lines.prevPos(pos))}function endsWithBrace(lines){return lastNonSpaceCharacter(lines)==="}"}function swapQuotes(str){return str.replace(/['"]/g,function(m){return m==='"'?"'":'"'})}function getPossibleRaw(node){var value=types.getFieldValue(node,"value"),extra=types.getFieldValue(node,"extra");if(extra&&typeof extra.raw=="string"&&value==extra.rawValue)return extra.raw;if(node.type==="Literal"){var raw=node.raw;if(typeof raw=="string"&&value==raw)return raw}}function jsSafeStringify(str){return JSON.stringify(str).replace(/[\u2028\u2029]/g,function(m){return "\\u"+m.charCodeAt(0).toString(16)})}function nodeStr(str,options){switch(isString.assert(str),options.quote){case"auto":{var double=jsSafeStringify(str),single=swapQuotes(jsSafeStringify(swapQuotes(str)));return double.length>single.length?single:double}case"single":return swapQuotes(jsSafeStringify(swapQuotes(str)));case"double":default:return jsSafeStringify(str)}}function maybeAddSemicolon(lines){var eoc=lastNonSpaceCharacter(lines);return !eoc||`
421
- };`.indexOf(eoc)<0?(0, lines_1.concat)([lines,";"]):lines}}});var require_main5=__commonJS({"../../node_modules/recast/main.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.run=exports.prettyPrint=exports.print=exports.visit=exports.types=exports.parse=void 0;var tslib_1=(init_tslib_es6(),__toCommonJS(tslib_es6_exports)),fs_1=tslib_1.__importDefault(__require("fs")),types=tslib_1.__importStar(require_main4());exports.types=types;var parser_1=require_parser2();Object.defineProperty(exports,"parse",{enumerable:!0,get:function(){return parser_1.parse}});var printer_1=require_printer3(),ast_types_1=require_main4();Object.defineProperty(exports,"visit",{enumerable:!0,get:function(){return ast_types_1.visit}});function print(node,options){return new printer_1.Printer(options).print(node)}exports.print=print;function prettyPrint(node,options){return new printer_1.Printer(options).printGenerically(node)}exports.prettyPrint=prettyPrint;function run(transformer,options){return runFile(process.argv[2],transformer,options)}exports.run=run;function runFile(path2,transformer,options){fs_1.default.readFile(path2,"utf-8",function(err,code){if(err){console.error(err);return}runString(code,transformer,options);});}function defaultWriteback(output){process.stdout.write(output);}function runString(code,transformer,options){var writeback=options&&options.writeback||defaultWriteback;transformer((0, parser_1.parse)(code,options),function(node){writeback(print(node,options).code);});}}});var require_virtual_types=__commonJS({"../../node_modules/@babel/traverse/lib/path/lib/virtual-types.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.Var=exports.User=exports.Statement=exports.SpreadProperty=exports.Scope=exports.RestProperty=exports.ReferencedMemberExpression=exports.ReferencedIdentifier=exports.Referenced=exports.Pure=exports.NumericLiteralTypeAnnotation=exports.Generated=exports.ForAwaitStatement=exports.Flow=exports.Expression=exports.ExistentialTypeParam=exports.BlockScoped=exports.BindingIdentifier=void 0;exports.ReferencedIdentifier=["Identifier","JSXIdentifier"];exports.ReferencedMemberExpression=["MemberExpression"];exports.BindingIdentifier=["Identifier"];exports.Statement=["Statement"];exports.Expression=["Expression"];exports.Scope=["Scopable","Pattern"];exports.Referenced=null;exports.BlockScoped=null;exports.Var=["VariableDeclaration"];exports.User=null;exports.Generated=null;exports.Pure=null;exports.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];exports.RestProperty=["RestElement"];exports.SpreadProperty=["RestElement"];exports.ExistentialTypeParam=["ExistsTypeAnnotation"];exports.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"];exports.ForAwaitStatement=["ForOfStatement"];}});var require_virtual_types_validator=__commonJS({"../../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.isBindingIdentifier=isBindingIdentifier;exports.isBlockScoped=isBlockScoped;exports.isExpression=isExpression;exports.isFlow=isFlow;exports.isForAwaitStatement=isForAwaitStatement;exports.isGenerated=isGenerated;exports.isPure=isPure;exports.isReferenced=isReferenced;exports.isReferencedIdentifier=isReferencedIdentifier;exports.isReferencedMemberExpression=isReferencedMemberExpression;exports.isRestProperty=isRestProperty;exports.isScope=isScope;exports.isSpreadProperty=isSpreadProperty;exports.isStatement=isStatement;exports.isUser=isUser;exports.isVar=isVar;var _t=require_lib11(),{isBinding,isBlockScoped:nodeIsBlockScoped,isExportDeclaration,isExpression:nodeIsExpression,isFlow:nodeIsFlow,isForStatement,isForXStatement,isIdentifier,isImportDeclaration,isImportSpecifier,isJSXIdentifier,isJSXMemberExpression,isMemberExpression,isRestElement:nodeIsRestElement,isReferenced:nodeIsReferenced,isScope:nodeIsScope,isStatement:nodeIsStatement,isVar:nodeIsVar,isVariableDeclaration,react,isForOfStatement}=_t,{isCompatTag}=react;function isReferencedIdentifier(opts){let{node,parent}=this;if(!isIdentifier(node,opts)&&!isJSXMemberExpression(parent,opts))if(isJSXIdentifier(node,opts)){if(isCompatTag(node.name))return !1}else return !1;return nodeIsReferenced(node,parent,this.parentPath.parent)}function isReferencedMemberExpression(){let{node,parent}=this;return isMemberExpression(node)&&nodeIsReferenced(node,parent)}function isBindingIdentifier(){let{node,parent}=this,grandparent=this.parentPath.parent;return isIdentifier(node)&&isBinding(node,parent,grandparent)}function isStatement(){let{node,parent}=this;return nodeIsStatement(node)?!(isVariableDeclaration(node)&&(isForXStatement(parent,{left:node})||isForStatement(parent,{init:node}))):!1}function isExpression(){return this.isIdentifier()?this.isReferencedIdentifier():nodeIsExpression(this.node)}function isScope(){return nodeIsScope(this.node,this.parent)}function isReferenced(){return nodeIsReferenced(this.node,this.parent)}function isBlockScoped(){return nodeIsBlockScoped(this.node)}function isVar(){return nodeIsVar(this.node)}function isUser(){return this.node&&!!this.node.loc}function isGenerated(){return !this.isUser()}function isPure(constantsOnly){return this.scope.isPure(this.node,constantsOnly)}function isFlow(){let{node}=this;return nodeIsFlow(node)?!0:isImportDeclaration(node)?node.importKind==="type"||node.importKind==="typeof":isExportDeclaration(node)?node.exportKind==="type":isImportSpecifier(node)?node.importKind==="type"||node.importKind==="typeof":!1}function isRestProperty(){return nodeIsRestElement(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function isSpreadProperty(){return nodeIsRestElement(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function isForAwaitStatement(){return isForOfStatement(this.node,{await:!0})}exports.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},exports.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")};}});var require_visitors=__commonJS({"../../node_modules/@babel/traverse/lib/visitors.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.explode=explode;exports.isExplodedVisitor=isExplodedVisitor;exports.merge=merge;exports.verify=verify;var virtualTypes=require_virtual_types(),virtualTypesValidators=require_virtual_types_validator(),_t=require_lib11(),{DEPRECATED_KEYS,DEPRECATED_ALIASES,FLIPPED_ALIAS_KEYS,TYPES,__internal__deprecationWarning:deprecationWarning}=_t;function isVirtualType(type){return type in virtualTypes}function isExplodedVisitor(visitor){return visitor?._exploded}function explode(visitor){if(isExplodedVisitor(visitor))return visitor;visitor._exploded=!0;for(let nodeType of Object.keys(visitor)){if(shouldIgnoreKey(nodeType))continue;let parts=nodeType.split("|");if(parts.length===1)continue;let fns=visitor[nodeType];delete visitor[nodeType];for(let part of parts)visitor[part]=fns;}verify(visitor),delete visitor.__esModule,ensureEntranceObjects(visitor),ensureCallbackArrays(visitor);for(let nodeType of Object.keys(visitor)){if(shouldIgnoreKey(nodeType)||!isVirtualType(nodeType))continue;let fns=visitor[nodeType];for(let type of Object.keys(fns))fns[type]=wrapCheck(nodeType,fns[type]);delete visitor[nodeType];let types=virtualTypes[nodeType];if(types!==null)for(let type of types)visitor[type]?mergePair(visitor[type],fns):visitor[type]=fns;else mergePair(visitor,fns);}for(let nodeType of Object.keys(visitor)){if(shouldIgnoreKey(nodeType))continue;let aliases=FLIPPED_ALIAS_KEYS[nodeType];if(nodeType in DEPRECATED_KEYS){let deprecatedKey=DEPRECATED_KEYS[nodeType];deprecationWarning(nodeType,deprecatedKey,"Visitor "),aliases=[deprecatedKey];}else if(nodeType in DEPRECATED_ALIASES){let deprecatedAlias=DEPRECATED_ALIASES[nodeType];deprecationWarning(nodeType,deprecatedAlias,"Visitor "),aliases=FLIPPED_ALIAS_KEYS[deprecatedAlias];}if(!aliases)continue;let fns=visitor[nodeType];delete visitor[nodeType];for(let alias of aliases){let existing=visitor[alias];existing?mergePair(existing,fns):visitor[alias]=Object.assign({},fns);}}for(let nodeType of Object.keys(visitor))shouldIgnoreKey(nodeType)||ensureCallbackArrays(visitor[nodeType]);return visitor}function verify(visitor){if(!visitor._verified){if(typeof visitor=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let nodeType of Object.keys(visitor)){if((nodeType==="enter"||nodeType==="exit")&&validateVisitorMethods(nodeType,visitor[nodeType]),shouldIgnoreKey(nodeType))continue;if(TYPES.indexOf(nodeType)<0)throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type`);let visitors=visitor[nodeType];if(typeof visitors=="object")for(let visitorKey of Object.keys(visitors))if(visitorKey==="enter"||visitorKey==="exit")validateVisitorMethods(`${nodeType}.${visitorKey}`,visitors[visitorKey]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${nodeType} that has the invalid property ${visitorKey}`)}visitor._verified=!0;}}function validateVisitorMethods(path2,val){let fns=[].concat(val);for(let fn of fns)if(typeof fn!="function")throw new TypeError(`Non-function found defined in ${path2} with type ${typeof fn}`)}function merge(visitors,states=[],wrapper){let mergedVisitor={};for(let i=0;i<visitors.length;i++){let visitor=explode(visitors[i]),state=states[i],topVisitor=visitor;(state||wrapper)&&(topVisitor=wrapWithStateOrWrapper(topVisitor,state,wrapper)),mergePair(mergedVisitor,topVisitor);for(let key of Object.keys(visitor)){if(shouldIgnoreKey(key))continue;let typeVisitor=visitor[key];(state||wrapper)&&(typeVisitor=wrapWithStateOrWrapper(typeVisitor,state,wrapper));let nodeVisitor=mergedVisitor[key]||(mergedVisitor[key]={});mergePair(nodeVisitor,typeVisitor);}}return mergedVisitor}function wrapWithStateOrWrapper(oldVisitor,state,wrapper){let newVisitor={};for(let phase of ["enter","exit"]){let fns=oldVisitor[phase];Array.isArray(fns)&&(fns=fns.map(function(fn){let newFn=fn;return state&&(newFn=function(path2){fn.call(state,path2,state);}),wrapper&&(newFn=wrapper(state?.key,phase,newFn)),newFn!==fn&&(newFn.toString=()=>fn.toString()),newFn}),newVisitor[phase]=fns);}return newVisitor}function ensureEntranceObjects(obj){for(let key of Object.keys(obj)){if(shouldIgnoreKey(key))continue;let fns=obj[key];typeof fns=="function"&&(obj[key]={enter:fns});}}function ensureCallbackArrays(obj){obj.enter&&!Array.isArray(obj.enter)&&(obj.enter=[obj.enter]),obj.exit&&!Array.isArray(obj.exit)&&(obj.exit=[obj.exit]);}function wrapCheck(nodeType,fn){let fnKey=`is${nodeType}`,validator=virtualTypesValidators[fnKey],newFn=function(path2){if(validator.call(path2))return fn.apply(this,arguments)};return newFn.toString=()=>fn.toString(),newFn}function shouldIgnoreKey(key){return key[0]==="_"||key==="enter"||key==="exit"||key==="shouldSkip"||key==="denylist"||key==="noScope"||key==="skipKeys"||key==="blacklist"}function mergePair(dest,src){for(let phase of ["enter","exit"])src[phase]&&(dest[phase]=[].concat(dest[phase]||[],src[phase]));}}});var require_cache=__commonJS({"../../node_modules/@babel/traverse/lib/cache.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.clear=clear;exports.clearPath=clearPath;exports.clearScope=clearScope;exports.getCachedPaths=getCachedPaths;exports.getOrCreateCachedPaths=getOrCreateCachedPaths;exports.scope=exports.path=void 0;var pathsCache=exports.path=new WeakMap;exports.scope=new WeakMap;function clear(){clearPath(),clearScope();}function clearPath(){exports.path=pathsCache=new WeakMap;}function clearScope(){exports.scope=new WeakMap;}var nullHub=Object.freeze({});function getCachedPaths(hub,parent){var _pathsCache$get,_hub;return hub=null,(_pathsCache$get=pathsCache.get((_hub=hub)!=null?_hub:nullHub))==null?void 0:_pathsCache$get.get(parent)}function getOrCreateCachedPaths(hub,parent){var _hub2,_hub3;hub=null;let parents=pathsCache.get((_hub2=hub)!=null?_hub2:nullHub);parents||pathsCache.set((_hub3=hub)!=null?_hub3:nullHub,parents=new WeakMap);let paths=parents.get(parent);return paths||parents.set(parent,paths=new Map),paths}}});var require_lib13=__commonJS({"../../node_modules/@babel/helper-split-export-declaration/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=splitExportDeclaration;var _t=require_lib11(),{cloneNode,exportNamedDeclaration,exportSpecifier,identifier,variableDeclaration,variableDeclarator}=_t;function splitExportDeclaration(exportDeclaration){if(!exportDeclaration.isExportDeclaration()||exportDeclaration.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(exportDeclaration.isExportDefaultDeclaration()){let declaration2=exportDeclaration.get("declaration"),standaloneDeclaration=declaration2.isFunctionDeclaration()||declaration2.isClassDeclaration(),exportExpr=declaration2.isFunctionExpression()||declaration2.isClassExpression(),scope=declaration2.isScope()?declaration2.scope.parent:declaration2.scope,id=declaration2.node.id,needBindingRegistration=!1;id?exportExpr&&scope.hasBinding(id.name)&&(needBindingRegistration=!0,id=scope.generateUidIdentifier(id.name)):(needBindingRegistration=!0,id=scope.generateUidIdentifier("default"),(standaloneDeclaration||exportExpr)&&(declaration2.node.id=cloneNode(id)));let updatedDeclaration=standaloneDeclaration?declaration2.node:variableDeclaration("var",[variableDeclarator(cloneNode(id),declaration2.node)]),updatedExportDeclaration=exportNamedDeclaration(null,[exportSpecifier(cloneNode(id),identifier("default"))]);return exportDeclaration.insertAfter(updatedExportDeclaration),exportDeclaration.replaceWith(updatedDeclaration),needBindingRegistration&&scope.registerDeclaration(exportDeclaration),exportDeclaration}else if(exportDeclaration.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let declaration=exportDeclaration.get("declaration"),bindingIdentifiers=declaration.getOuterBindingIdentifiers(),specifiers=Object.keys(bindingIdentifiers).map(name=>exportSpecifier(identifier(name),identifier(name))),aliasDeclar=exportNamedDeclaration(null,specifiers);return exportDeclaration.insertAfter(aliasDeclar),exportDeclaration.replaceWith(declaration.node),exportDeclaration}}});var require_lib14=__commonJS({"../../node_modules/@babel/helper-environment-visitor/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;exports.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;exports.skipAllButComputedKey=function(path2){path2.skip(),path2.node.computed&&path2.context.maybeQueue(path2.get("key"));};function requeueComputedKeyAndDecorators(path2){let{context,node}=path2;if(node.computed&&context.maybeQueue(path2.get("key")),node.decorators)for(let decorator of path2.get("decorators"))context.maybeQueue(decorator);}var visitor={FunctionParent(path2){path2.isArrowFunctionExpression()||(path2.skip(),path2.isMethod()&&requeueComputedKeyAndDecorators(path2));},Property(path2){path2.isObjectProperty()||(path2.skip(),requeueComputedKeyAndDecorators(path2));}},_default=visitor;exports.default=_default;}});var require_renamer=__commonJS({"../../node_modules/@babel/traverse/lib/scope/lib/renamer.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var _helperSplitExportDeclaration=require_lib13(),t=require_lib11(),_helperEnvironmentVisitor=require_lib14(),_traverseNode=require_traverse_node(),_visitors=require_visitors(),renameVisitor={ReferencedIdentifier({node},state){node.name===state.oldName&&(node.name=state.newName);},Scope(path2,state){path2.scope.bindingIdentifierEquals(state.oldName,state.binding.identifier)||(path2.skip(),path2.isMethod()&&(0, _helperEnvironmentVisitor.requeueComputedKeyAndDecorators)(path2));},ObjectProperty({node,scope},state){let{name}=node.key;if(node.shorthand&&(name===state.oldName||name===state.newName)&&scope.getBindingIdentifier(name)===state.binding.identifier){var _node$extra;node.shorthand=!1,(_node$extra=node.extra)!=null&&_node$extra.shorthand&&(node.extra.shorthand=!1);}},"AssignmentExpression|Declaration|VariableDeclarator"(path2,state){if(path2.isVariableDeclaration())return;let ids=path2.getOuterBindingIdentifiers();for(let name in ids)name===state.oldName&&(ids[name].name=state.newName);}},Renamer=class{constructor(binding,oldName,newName){this.newName=newName,this.oldName=oldName,this.binding=binding;}maybeConvertFromExportDeclaration(parentDeclar){let maybeExportDeclar=parentDeclar.parentPath;if(maybeExportDeclar.isExportDeclaration()){if(maybeExportDeclar.isExportDefaultDeclaration()){let{declaration}=maybeExportDeclar.node;if(t.isDeclaration(declaration)&&!declaration.id)return}maybeExportDeclar.isExportAllDeclaration()||(0, _helperSplitExportDeclaration.default)(maybeExportDeclar);}}maybeConvertFromClassFunctionDeclaration(path2){return path2}maybeConvertFromClassFunctionExpression(path2){return path2}rename(){let{binding,oldName,newName}=this,{scope,path:path2}=binding,parentDeclar=path2.find(path3=>path3.isDeclaration()||path3.isFunctionExpression()||path3.isClassExpression());parentDeclar&&parentDeclar.getOuterBindingIdentifiers()[oldName]===binding.identifier&&this.maybeConvertFromExportDeclaration(parentDeclar);let blockToTraverse=arguments[0]||scope.block;(0, _traverseNode.traverseNode)(blockToTraverse,(0, _visitors.explode)(renameVisitor),scope,this,scope.path,{discriminant:!0}),arguments[0]||(scope.removeOwnBinding(oldName),scope.bindings[newName]=binding,this.binding.identifier.name=newName),parentDeclar&&(this.maybeConvertFromClassFunctionDeclaration(path2),this.maybeConvertFromClassFunctionExpression(path2));}};exports.default=Renamer;}});var require_binding=__commonJS({"../../node_modules/@babel/traverse/lib/scope/binding.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var Binding=class{constructor({identifier,scope,path:path2,kind}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=identifier,this.scope=scope,this.path=path2,this.kind=kind,(kind==="var"||kind==="hoisted")&&isDeclaredInLoop(path2)&&this.reassign(path2),this.clearValue();}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0;}setValue(value){this.hasDeoptedValue||(this.hasValue=!0,this.value=value);}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null;}reassign(path2){this.constant=!1,this.constantViolations.indexOf(path2)===-1&&this.constantViolations.push(path2);}reference(path2){this.referencePaths.indexOf(path2)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(path2));}dereference(){this.references--,this.referenced=!!this.references;}};exports.default=Binding;function isDeclaredInLoop(path2){for(let{parentPath,key}=path2;parentPath;{parentPath,key}=parentPath){if(parentPath.isFunctionParent())return !1;if(parentPath.isWhile()||parentPath.isForXStatement()||parentPath.isForStatement()&&key==="body")return !0}return !1}}});var require_globals=__commonJS({"../../node_modules/@babel/traverse/node_modules/globals/globals.json"(exports,module){module.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};}});var require_globals2=__commonJS({"../../node_modules/@babel/traverse/node_modules/globals/index.js"(exports,module){module.exports=require_globals();}});var require_scope2=__commonJS({"../../node_modules/@babel/traverse/lib/scope/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var _renamer=require_renamer(),_index=require_lib21(),_binding=require_binding(),_globals=require_globals2(),_t=require_lib11(),t=_t,_cache=require_cache(),_visitors=require_visitors(),{NOT_LOCAL_BINDING,callExpression,cloneNode,getBindingIdentifiers,identifier,isArrayExpression,isBinary,isClass,isClassBody,isClassDeclaration,isExportAllDeclaration,isExportDefaultDeclaration,isExportNamedDeclaration,isFunctionDeclaration,isIdentifier,isImportDeclaration,isLiteral,isMethod,isModuleSpecifier,isNullLiteral,isObjectExpression,isProperty,isPureish,isRegExpLiteral,isSuper,isTaggedTemplateExpression,isTemplateLiteral,isThisExpression,isUnaryExpression,isVariableDeclaration,matchesPattern,memberExpression,numericLiteral,toIdentifier,variableDeclaration,variableDeclarator,isRecordExpression,isTupleExpression,isObjectProperty,isTopicReference,isMetaProperty,isPrivateName,isExportDeclaration,buildUndefinedNode}=_t;function gatherNodeParts(node,parts){switch(node?.type){default:if(isImportDeclaration(node)||isExportDeclaration(node)){var _node$specifiers;if((isExportAllDeclaration(node)||isExportNamedDeclaration(node)||isImportDeclaration(node))&&node.source)gatherNodeParts(node.source,parts);else if((isExportNamedDeclaration(node)||isImportDeclaration(node))&&(_node$specifiers=node.specifiers)!=null&&_node$specifiers.length)for(let e of node.specifiers)gatherNodeParts(e,parts);else (isExportDefaultDeclaration(node)||isExportNamedDeclaration(node))&&node.declaration&&gatherNodeParts(node.declaration,parts);}else isModuleSpecifier(node)?gatherNodeParts(node.local,parts):isLiteral(node)&&!isNullLiteral(node)&&!isRegExpLiteral(node)&&!isTemplateLiteral(node)&&parts.push(node.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(node.object,parts),gatherNodeParts(node.property,parts);break;case"Identifier":case"JSXIdentifier":parts.push(node.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(node.callee,parts);break;case"ObjectExpression":case"ObjectPattern":for(let e of node.properties)gatherNodeParts(e,parts);break;case"SpreadElement":case"RestElement":gatherNodeParts(node.argument,parts);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(node.key,parts);break;case"ThisExpression":parts.push("this");break;case"Super":parts.push("super");break;case"Import":parts.push("import");break;case"DoExpression":parts.push("do");break;case"YieldExpression":parts.push("yield"),gatherNodeParts(node.argument,parts);break;case"AwaitExpression":parts.push("await"),gatherNodeParts(node.argument,parts);break;case"AssignmentExpression":gatherNodeParts(node.left,parts);break;case"VariableDeclarator":gatherNodeParts(node.id,parts);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(node.id,parts);break;case"PrivateName":gatherNodeParts(node.id,parts);break;case"ParenthesizedExpression":gatherNodeParts(node.expression,parts);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(node.argument,parts);break;case"MetaProperty":gatherNodeParts(node.meta,parts),gatherNodeParts(node.property,parts);break;case"JSXElement":gatherNodeParts(node.openingElement,parts);break;case"JSXOpeningElement":gatherNodeParts(node.name,parts);break;case"JSXFragment":gatherNodeParts(node.openingFragment,parts);break;case"JSXOpeningFragment":parts.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(node.namespace,parts),gatherNodeParts(node.name,parts);break}}var collectorVisitor={ForStatement(path2){let declar=path2.get("init");if(declar.isVar()){let{scope}=path2;(scope.getFunctionParent()||scope.getProgramParent()).registerBinding("var",declar);}},Declaration(path2){if(path2.isBlockScoped()||path2.isImportDeclaration()||path2.isExportDeclaration())return;(path2.scope.getFunctionParent()||path2.scope.getProgramParent()).registerDeclaration(path2);},ImportDeclaration(path2){path2.scope.getBlockParent().registerDeclaration(path2);},ReferencedIdentifier(path2,state){state.references.push(path2);},ForXStatement(path2,state){let left=path2.get("left");if(left.isPattern()||left.isIdentifier())state.constantViolations.push(path2);else if(left.isVar()){let{scope}=path2;(scope.getFunctionParent()||scope.getProgramParent()).registerBinding("var",left);}},ExportDeclaration:{exit(path2){let{node,scope}=path2;if(isExportAllDeclaration(node))return;let declar=node.declaration;if(isClassDeclaration(declar)||isFunctionDeclaration(declar)){let id=declar.id;if(!id)return;let binding=scope.getBinding(id.name);binding?.reference(path2);}else if(isVariableDeclaration(declar))for(let decl of declar.declarations)for(let name of Object.keys(getBindingIdentifiers(decl))){let binding=scope.getBinding(name);binding?.reference(path2);}}},LabeledStatement(path2){path2.scope.getBlockParent().registerDeclaration(path2);},AssignmentExpression(path2,state){state.assignments.push(path2);},UpdateExpression(path2,state){state.constantViolations.push(path2);},UnaryExpression(path2,state){path2.node.operator==="delete"&&state.constantViolations.push(path2);},BlockScoped(path2){let scope=path2.scope;if(scope.path===path2&&(scope=scope.parent),scope.getBlockParent().registerDeclaration(path2),path2.isClassDeclaration()&&path2.node.id){let name=path2.node.id.name;path2.scope.bindings[name]=path2.scope.parent.getBinding(name);}},CatchClause(path2){path2.scope.registerBinding("let",path2);},Function(path2){let params=path2.get("params");for(let param of params)path2.scope.registerBinding("param",param);path2.isFunctionExpression()&&path2.has("id")&&!path2.get("id").node[NOT_LOCAL_BINDING]&&path2.scope.registerBinding("local",path2.get("id"),path2);},ClassExpression(path2){path2.has("id")&&!path2.get("id").node[NOT_LOCAL_BINDING]&&path2.scope.registerBinding("local",path2);}},uid=0,Scope=class _Scope{constructor(path2){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node}=path2,cached=_cache.scope.get(node);if(cached?.path===path2)return cached;_cache.scope.set(node,this),this.uid=uid++,this.block=node,this.path=path2,this.labels=new Map,this.inited=!1;}get parent(){var _parent;let parent,path2=this.path;do{let shouldSkip=path2.key==="key"||path2.listKey==="decorators";path2=path2.parentPath,shouldSkip&&path2.isMethod()&&(path2=path2.parentPath),path2&&path2.isScope()&&(parent=path2);}while(path2&&!parent);return (_parent=parent)==null?void 0:_parent.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(node,opts,state){(0, _index.default)(node,opts,this,state,this.path);}generateDeclaredUidIdentifier(name){let id=this.generateUidIdentifier(name);return this.push({id}),cloneNode(id)}generateUidIdentifier(name){return identifier(this.generateUid(name))}generateUid(name="temp"){name=toIdentifier(name).replace(/^_+/,"").replace(/[0-9]+$/g,"");let uid2,i=1;do uid2=this._generateUid(name,i),i++;while(this.hasLabel(uid2)||this.hasBinding(uid2)||this.hasGlobal(uid2)||this.hasReference(uid2));let program=this.getProgramParent();return program.references[uid2]=!0,program.uids[uid2]=!0,uid2}_generateUid(name,i){let id=name;return i>1&&(id+=i),`_${id}`}generateUidBasedOnNode(node,defaultName){let parts=[];gatherNodeParts(node,parts);let id=parts.join("$");return id=id.replace(/^_/,"")||defaultName||"ref",this.generateUid(id.slice(0,20))}generateUidIdentifierBasedOnNode(node,defaultName){return identifier(this.generateUidBasedOnNode(node,defaultName))}isStatic(node){if(isThisExpression(node)||isSuper(node)||isTopicReference(node))return !0;if(isIdentifier(node)){let binding=this.getBinding(node.name);return binding?binding.constant:this.hasBinding(node.name)}return !1}maybeGenerateMemoised(node,dontPush){if(this.isStatic(node))return null;{let id=this.generateUidIdentifierBasedOnNode(node);return dontPush?id:(this.push({id}),cloneNode(id))}}checkBlockScopedCollisions(local,kind,name,id){if(kind==="param"||local.kind==="local")return;if(kind==="let"||local.kind==="let"||local.kind==="const"||local.kind==="module"||local.kind==="param"&&kind==="const")throw this.hub.buildError(id,`Duplicate declaration "${name}"`,TypeError)}rename(oldName,newName){let binding=this.getBinding(oldName);binding&&(newName||(newName=this.generateUidIdentifier(oldName).name),new _renamer.default(binding,oldName,newName).rename(arguments[2]));}_renameFromMap(map,oldName,newName,value){map[oldName]&&(map[newName]=value,map[oldName]=null);}dump(){let sep="-".repeat(60);console.log(sep);let scope=this;do{console.log("#",scope.block.type);for(let name of Object.keys(scope.bindings)){let binding=scope.bindings[name];console.log(" -",name,{constant:binding.constant,references:binding.references,violations:binding.constantViolations.length,kind:binding.kind});}}while(scope=scope.parent);console.log(sep);}toArray(node,i,arrayLikeIsIterable){if(isIdentifier(node)){let binding=this.getBinding(node.name);if(binding!=null&&binding.constant&&binding.path.isGenericType("Array"))return node}if(isArrayExpression(node))return node;if(isIdentifier(node,{name:"arguments"}))return callExpression(memberExpression(memberExpression(memberExpression(identifier("Array"),identifier("prototype")),identifier("slice")),identifier("call")),[node]);let helperName,args=[node];return i===!0?helperName="toConsumableArray":typeof i=="number"?(args.push(numericLiteral(i)),helperName="slicedToArray"):helperName="toArray",arrayLikeIsIterable&&(args.unshift(this.hub.addHelper(helperName)),helperName="maybeArrayLike"),callExpression(this.hub.addHelper(helperName),args)}hasLabel(name){return !!this.getLabel(name)}getLabel(name){return this.labels.get(name)}registerLabel(path2){this.labels.set(path2.node.label.name,path2);}registerDeclaration(path2){if(path2.isLabeledStatement())this.registerLabel(path2);else if(path2.isFunctionDeclaration())this.registerBinding("hoisted",path2.get("id"),path2);else if(path2.isVariableDeclaration()){let declarations=path2.get("declarations"),{kind}=path2.node;for(let declar of declarations)this.registerBinding(kind==="using"||kind==="await using"?"const":kind,declar);}else if(path2.isClassDeclaration()){if(path2.node.declare)return;this.registerBinding("let",path2);}else if(path2.isImportDeclaration()){let isTypeDeclaration=path2.node.importKind==="type"||path2.node.importKind==="typeof",specifiers=path2.get("specifiers");for(let specifier of specifiers){let isTypeSpecifier=isTypeDeclaration||specifier.isImportSpecifier()&&(specifier.node.importKind==="type"||specifier.node.importKind==="typeof");this.registerBinding(isTypeSpecifier?"unknown":"module",specifier);}}else if(path2.isExportDeclaration()){let declar=path2.get("declaration");(declar.isClassDeclaration()||declar.isFunctionDeclaration()||declar.isVariableDeclaration())&&this.registerDeclaration(declar);}else this.registerBinding("unknown",path2);}buildUndefinedNode(){return buildUndefinedNode()}registerConstantViolation(path2){let ids=path2.getBindingIdentifiers();for(let name of Object.keys(ids)){var _this$getBinding;(_this$getBinding=this.getBinding(name))==null||_this$getBinding.reassign(path2);}}registerBinding(kind,path2,bindingPath=path2){if(!kind)throw new ReferenceError("no `kind`");if(path2.isVariableDeclaration()){let declarators=path2.get("declarations");for(let declar of declarators)this.registerBinding(kind,declar);return}let parent=this.getProgramParent(),ids=path2.getOuterBindingIdentifiers(!0);for(let name of Object.keys(ids)){parent.references[name]=!0;for(let id of ids[name]){let local=this.getOwnBinding(name);if(local){if(local.identifier===id)continue;this.checkBlockScopedCollisions(local,kind,name,id);}local?this.registerConstantViolation(bindingPath):this.bindings[name]=new _binding.default({identifier:id,scope:this,path:bindingPath,kind});}}}addGlobal(node){this.globals[node.name]=node;}hasUid(name){let scope=this;do if(scope.uids[name])return !0;while(scope=scope.parent);return !1}hasGlobal(name){let scope=this;do if(scope.globals[name])return !0;while(scope=scope.parent);return !1}hasReference(name){return !!this.getProgramParent().references[name]}isPure(node,constantsOnly){if(isIdentifier(node)){let binding=this.getBinding(node.name);return binding?constantsOnly?binding.constant:!0:!1}else {if(isThisExpression(node)||isMetaProperty(node)||isTopicReference(node)||isPrivateName(node))return !0;if(isClass(node)){var _node$decorators;return node.superClass&&!this.isPure(node.superClass,constantsOnly)||((_node$decorators=node.decorators)==null?void 0:_node$decorators.length)>0?!1:this.isPure(node.body,constantsOnly)}else if(isClassBody(node)){for(let method of node.body)if(!this.isPure(method,constantsOnly))return !1;return !0}else {if(isBinary(node))return this.isPure(node.left,constantsOnly)&&this.isPure(node.right,constantsOnly);if(isArrayExpression(node)||isTupleExpression(node)){for(let elem of node.elements)if(elem!==null&&!this.isPure(elem,constantsOnly))return !1;return !0}else if(isObjectExpression(node)||isRecordExpression(node)){for(let prop of node.properties)if(!this.isPure(prop,constantsOnly))return !1;return !0}else if(isMethod(node)){var _node$decorators2;return !(node.computed&&!this.isPure(node.key,constantsOnly)||((_node$decorators2=node.decorators)==null?void 0:_node$decorators2.length)>0)}else if(isProperty(node)){var _node$decorators3;return !(node.computed&&!this.isPure(node.key,constantsOnly)||((_node$decorators3=node.decorators)==null?void 0:_node$decorators3.length)>0||(isObjectProperty(node)||node.static)&&node.value!==null&&!this.isPure(node.value,constantsOnly))}else {if(isUnaryExpression(node))return this.isPure(node.argument,constantsOnly);if(isTaggedTemplateExpression(node))return matchesPattern(node.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(node.quasi,constantsOnly);if(isTemplateLiteral(node)){for(let expression of node.expressions)if(!this.isPure(expression,constantsOnly))return !1;return !0}else return isPureish(node)}}}}setData(key,val){return this.data[key]=val}getData(key){let scope=this;do{let data=scope.data[key];if(data!=null)return data}while(scope=scope.parent)}removeData(key){let scope=this;do scope.data[key]!=null&&(scope.data[key]=null);while(scope=scope.parent)}init(){this.inited||(this.inited=!0,this.crawl());}crawl(){let path2=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let programParent=this.getProgramParent();if(programParent.crawling)return;let state={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,path2.type!=="Program"&&(0, _visitors.isExplodedVisitor)(collectorVisitor)){for(let visit of collectorVisitor.enter)visit.call(state,path2,state);let typeVisitors=collectorVisitor[path2.type];if(typeVisitors)for(let visit of typeVisitors.enter)visit.call(state,path2,state);}path2.traverse(collectorVisitor,state),this.crawling=!1;for(let path3 of state.assignments){let ids=path3.getBindingIdentifiers();for(let name of Object.keys(ids))path3.scope.getBinding(name)||programParent.addGlobal(ids[name]);path3.scope.registerConstantViolation(path3);}for(let ref of state.references){let binding=ref.scope.getBinding(ref.node.name);binding?binding.reference(ref):programParent.addGlobal(ref.node);}for(let path3 of state.constantViolations)path3.scope.registerConstantViolation(path3);}push(opts){let path2=this.path;path2.isPattern()?path2=this.getPatternParent().path:!path2.isBlockStatement()&&!path2.isProgram()&&(path2=this.getBlockParent().path),path2.isSwitchStatement()&&(path2=(this.getFunctionParent()||this.getProgramParent()).path);let{init,unique,kind="var",id}=opts;if(!init&&!unique&&(kind==="var"||kind==="let")&&path2.isFunction()&&!path2.node.name&&t.isCallExpression(path2.parent,{callee:path2.node})&&path2.parent.arguments.length<=path2.node.params.length&&t.isIdentifier(id)){path2.pushContainer("params",id),path2.scope.registerBinding("param",path2.get("params")[path2.node.params.length-1]);return}(path2.isLoop()||path2.isCatchClause()||path2.isFunction())&&(path2.ensureBlock(),path2=path2.get("body"));let blockHoist=opts._blockHoist==null?2:opts._blockHoist,dataKey=`declaration:${kind}:${blockHoist}`,declarPath=!unique&&path2.getData(dataKey);if(!declarPath){let declar=variableDeclaration(kind,[]);declar._blockHoist=blockHoist,[declarPath]=path2.unshiftContainer("body",[declar]),unique||path2.setData(dataKey,declarPath);}let declarator=variableDeclarator(id,init),len=declarPath.node.declarations.push(declarator);path2.scope.registerBinding(kind,declarPath.get("declarations")[len-1]);}getProgramParent(){let scope=this;do if(scope.path.isProgram())return scope;while(scope=scope.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let scope=this;do if(scope.path.isFunctionParent())return scope;while(scope=scope.parent);return null}getBlockParent(){let scope=this;do if(scope.path.isBlockParent())return scope;while(scope=scope.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let scope=this;do if(!scope.path.isPattern())return scope.getBlockParent();while(scope=scope.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let ids=Object.create(null),scope=this;do{for(let key of Object.keys(scope.bindings))key in ids||(ids[key]=scope.bindings[key]);scope=scope.parent;}while(scope);return ids}getAllBindingsOfKind(...kinds){let ids=Object.create(null);for(let kind of kinds){let scope=this;do{for(let name of Object.keys(scope.bindings)){let binding=scope.bindings[name];binding.kind===kind&&(ids[name]=binding);}scope=scope.parent;}while(scope)}return ids}bindingIdentifierEquals(name,node){return this.getBindingIdentifier(name)===node}getBinding(name){let scope=this,previousPath;do{let binding=scope.getOwnBinding(name);if(binding){var _previousPath;if(!((_previousPath=previousPath)!=null&&_previousPath.isPattern()&&binding.kind!=="param"&&binding.kind!=="local"))return binding}else if(!binding&&name==="arguments"&&scope.path.isFunction()&&!scope.path.isArrowFunctionExpression())break;previousPath=scope.path;}while(scope=scope.parent)}getOwnBinding(name){return this.bindings[name]}getBindingIdentifier(name){var _this$getBinding2;return (_this$getBinding2=this.getBinding(name))==null?void 0:_this$getBinding2.identifier}getOwnBindingIdentifier(name){let binding=this.bindings[name];return binding?.identifier}hasOwnBinding(name){return !!this.getOwnBinding(name)}hasBinding(name,opts){var _opts,_opts2,_opts3;return name?!!(this.hasOwnBinding(name)||(typeof opts=="boolean"&&(opts={noGlobals:opts}),this.parentHasBinding(name,opts))||!((_opts=opts)!=null&&_opts.noUids)&&this.hasUid(name)||!((_opts2=opts)!=null&&_opts2.noGlobals)&&_Scope.globals.includes(name)||!((_opts3=opts)!=null&&_opts3.noGlobals)&&_Scope.contextVariables.includes(name)):!1}parentHasBinding(name,opts){var _this$parent;return (_this$parent=this.parent)==null?void 0:_this$parent.hasBinding(name,opts)}moveBindingTo(name,scope){let info=this.getBinding(name);info&&(info.scope.removeOwnBinding(name),info.scope=scope,scope.bindings[name]=info);}removeOwnBinding(name){delete this.bindings[name];}removeBinding(name){var _this$getBinding3;(_this$getBinding3=this.getBinding(name))==null||_this$getBinding3.scope.removeOwnBinding(name);let scope=this;do scope.uids[name]&&(scope.uids[name]=!1);while(scope=scope.parent)}};exports.default=Scope;Scope.globals=Object.keys(_globals.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"];}});var require_ancestry=__commonJS({"../../node_modules/@babel/traverse/lib/path/ancestry.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.find=find2;exports.findParent=findParent;exports.getAncestry=getAncestry;exports.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;exports.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;exports.getFunctionParent=getFunctionParent;exports.getStatementParent=getStatementParent;exports.inType=inType;exports.isAncestor=isAncestor;exports.isDescendant=isDescendant;var _t=require_lib11(),{VISITOR_KEYS}=_t;function findParent(callback){let path2=this;for(;path2=path2.parentPath;)if(callback(path2))return path2;return null}function find2(callback){let path2=this;do if(callback(path2))return path2;while(path2=path2.parentPath);return null}function getFunctionParent(){return this.findParent(p=>p.isFunction())}function getStatementParent(){let path2=this;do{if(!path2.parentPath||Array.isArray(path2.container)&&path2.isStatement())break;path2=path2.parentPath;}while(path2);if(path2&&(path2.isProgram()||path2.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return path2}function getEarliestCommonAncestorFrom(paths){return this.getDeepestCommonAncestorFrom(paths,function(deepest,i,ancestries){let earliest,keys=VISITOR_KEYS[deepest.type];for(let ancestry of ancestries){let path2=ancestry[i+1];if(!earliest){earliest=path2;continue}if(path2.listKey&&earliest.listKey===path2.listKey&&path2.key<earliest.key){earliest=path2;continue}let earliestKeyIndex=keys.indexOf(earliest.parentKey),currentKeyIndex=keys.indexOf(path2.parentKey);earliestKeyIndex>currentKeyIndex&&(earliest=path2);}return earliest})}function getDeepestCommonAncestorFrom(paths,filter){if(!paths.length)return this;if(paths.length===1)return paths[0];let minDepth=1/0,lastCommonIndex,lastCommon,ancestries=paths.map(path2=>{let ancestry=[];do ancestry.unshift(path2);while((path2=path2.parentPath)&&path2!==this);return ancestry.length<minDepth&&(minDepth=ancestry.length),ancestry}),first=ancestries[0];depthLoop:for(let i=0;i<minDepth;i++){let shouldMatch=first[i];for(let ancestry of ancestries)if(ancestry[i]!==shouldMatch)break depthLoop;lastCommonIndex=i,lastCommon=shouldMatch;}if(lastCommon)return filter?filter(lastCommon,lastCommonIndex,ancestries):lastCommon;throw new Error("Couldn't find intersection")}function getAncestry(){let path2=this,paths=[];do paths.push(path2);while(path2=path2.parentPath);return paths}function isAncestor(maybeDescendant){return maybeDescendant.isDescendant(this)}function isDescendant(maybeAncestor){return !!this.findParent(parent=>parent===maybeAncestor)}function inType(...candidateTypes){let path2=this;for(;path2;){for(let type of candidateTypes)if(path2.node.type===type)return !0;path2=path2.parentPath;}return !1}}});var require_util4=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/util.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createUnionType=createUnionType;var _t=require_lib11(),{createFlowUnionType,createTSUnionType,createUnionTypeAnnotation,isFlowType,isTSType}=_t;function createUnionType(types){{if(types.every(v=>isFlowType(v)))return createFlowUnionType?createFlowUnionType(types):createUnionTypeAnnotation(types);if(types.every(v=>isTSType(v))&&createTSUnionType)return createTSUnionType(types)}}}});var require_inferer_reference=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=_default;var _t=require_lib11(),_util=require_util4(),{BOOLEAN_NUMBER_BINARY_OPERATORS,createTypeAnnotationBasedOnTypeof,numberTypeAnnotation,voidTypeAnnotation}=_t;function _default(node){if(!this.isReferenced())return;let binding=this.scope.getBinding(node.name);if(binding)return binding.identifier.typeAnnotation?binding.identifier.typeAnnotation:getTypeAnnotationBindingConstantViolations(binding,this,node.name);if(node.name==="undefined")return voidTypeAnnotation();if(node.name==="NaN"||node.name==="Infinity")return numberTypeAnnotation();node.name;}function getTypeAnnotationBindingConstantViolations(binding,path2,name){let types=[],functionConstantViolations=[],constantViolations=getConstantViolationsBefore(binding,path2,functionConstantViolations),testType=getConditionalAnnotation(binding,path2,name);if(testType){let testConstantViolations=getConstantViolationsBefore(binding,testType.ifStatement);constantViolations=constantViolations.filter(path3=>testConstantViolations.indexOf(path3)<0),types.push(testType.typeAnnotation);}if(constantViolations.length){constantViolations.push(...functionConstantViolations);for(let violation of constantViolations)types.push(violation.getTypeAnnotation());}if(types.length)return (0, _util.createUnionType)(types)}function getConstantViolationsBefore(binding,path2,functions){let violations=binding.constantViolations.slice();return violations.unshift(binding.path),violations.filter(violation=>{violation=violation.resolve();let status=violation._guessExecutionStatusRelativeTo(path2);return functions&&status==="unknown"&&functions.push(violation),status==="before"})}function inferAnnotationFromBinaryExpression(name,path2){let operator=path2.node.operator,right=path2.get("right").resolve(),left=path2.get("left").resolve(),target;if(left.isIdentifier({name})?target=right:right.isIdentifier({name})&&(target=left),target)return operator==="==="?target.getTypeAnnotation():BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(operator)>=0?numberTypeAnnotation():void 0;if(operator!=="==="&&operator!=="==")return;let typeofPath,typePath;if(left.isUnaryExpression({operator:"typeof"})?(typeofPath=left,typePath=right):right.isUnaryExpression({operator:"typeof"})&&(typeofPath=right,typePath=left),!typeofPath||!typeofPath.get("argument").isIdentifier({name})||(typePath=typePath.resolve(),!typePath.isLiteral()))return;let typeValue=typePath.node.value;if(typeof typeValue=="string")return createTypeAnnotationBasedOnTypeof(typeValue)}function getParentConditionalPath(binding,path2,name){let parentPath;for(;parentPath=path2.parentPath;){if(parentPath.isIfStatement()||parentPath.isConditionalExpression())return path2.key==="test"?void 0:parentPath;if(parentPath.isFunction()&&parentPath.parentPath.scope.getBinding(name)!==binding)return;path2=parentPath;}}function getConditionalAnnotation(binding,path2,name){let ifStatement=getParentConditionalPath(binding,path2,name);if(!ifStatement)return;let paths=[ifStatement.get("test")],types=[];for(let i=0;i<paths.length;i++){let path3=paths[i];if(path3.isLogicalExpression())path3.node.operator==="&&"&&(paths.push(path3.get("left")),paths.push(path3.get("right")));else if(path3.isBinaryExpression()){let type=inferAnnotationFromBinaryExpression(name,path3);type&&types.push(type);}}return types.length?{typeAnnotation:(0, _util.createUnionType)(types),ifStatement}:getConditionalAnnotation(binding,ifStatement,name)}}});var require_inferers=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/inferers.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.ArrayExpression=ArrayExpression;exports.AssignmentExpression=AssignmentExpression;exports.BinaryExpression=BinaryExpression;exports.BooleanLiteral=BooleanLiteral;exports.CallExpression=CallExpression;exports.ConditionalExpression=ConditionalExpression;exports.ClassDeclaration=exports.ClassExpression=exports.FunctionDeclaration=exports.ArrowFunctionExpression=exports.FunctionExpression=Func;Object.defineProperty(exports,"Identifier",{enumerable:!0,get:function(){return _infererReference.default}});exports.LogicalExpression=LogicalExpression;exports.NewExpression=NewExpression;exports.NullLiteral=NullLiteral;exports.NumericLiteral=NumericLiteral;exports.ObjectExpression=ObjectExpression;exports.ParenthesizedExpression=ParenthesizedExpression;exports.RegExpLiteral=RegExpLiteral;exports.RestElement=RestElement;exports.SequenceExpression=SequenceExpression;exports.StringLiteral=StringLiteral;exports.TSAsExpression=TSAsExpression;exports.TSNonNullExpression=TSNonNullExpression;exports.TaggedTemplateExpression=TaggedTemplateExpression;exports.TemplateLiteral=TemplateLiteral;exports.TypeCastExpression=TypeCastExpression;exports.UnaryExpression=UnaryExpression;exports.UpdateExpression=UpdateExpression;exports.VariableDeclarator=VariableDeclarator;var _t=require_lib11(),_infererReference=require_inferer_reference(),_util=require_util4(),{BOOLEAN_BINARY_OPERATORS,BOOLEAN_UNARY_OPERATORS,NUMBER_BINARY_OPERATORS,NUMBER_UNARY_OPERATORS,STRING_UNARY_OPERATORS,anyTypeAnnotation,arrayTypeAnnotation,booleanTypeAnnotation,buildMatchMemberExpression,genericTypeAnnotation,identifier,nullLiteralTypeAnnotation,numberTypeAnnotation,stringTypeAnnotation,tupleTypeAnnotation,unionTypeAnnotation,voidTypeAnnotation,isIdentifier}=_t;function VariableDeclarator(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function TypeCastExpression(node){return node.typeAnnotation}TypeCastExpression.validParent=!0;function TSAsExpression(node){return node.typeAnnotation}TSAsExpression.validParent=!0;function TSNonNullExpression(){return this.get("expression").getTypeAnnotation()}function NewExpression(node){if(node.callee.type==="Identifier")return genericTypeAnnotation(node.callee)}function TemplateLiteral(){return stringTypeAnnotation()}function UnaryExpression(node){let operator=node.operator;if(operator==="void")return voidTypeAnnotation();if(NUMBER_UNARY_OPERATORS.indexOf(operator)>=0)return numberTypeAnnotation();if(STRING_UNARY_OPERATORS.indexOf(operator)>=0)return stringTypeAnnotation();if(BOOLEAN_UNARY_OPERATORS.indexOf(operator)>=0)return booleanTypeAnnotation()}function BinaryExpression(node){let operator=node.operator;if(NUMBER_BINARY_OPERATORS.indexOf(operator)>=0)return numberTypeAnnotation();if(BOOLEAN_BINARY_OPERATORS.indexOf(operator)>=0)return booleanTypeAnnotation();if(operator==="+"){let right=this.get("right"),left=this.get("left");return left.isBaseType("number")&&right.isBaseType("number")?numberTypeAnnotation():left.isBaseType("string")||right.isBaseType("string")?stringTypeAnnotation():unionTypeAnnotation([stringTypeAnnotation(),numberTypeAnnotation()])}}function LogicalExpression(){let argumentTypes=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return (0, _util.createUnionType)(argumentTypes)}function ConditionalExpression(){let argumentTypes=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return (0, _util.createUnionType)(argumentTypes)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(node){let operator=node.operator;if(operator==="++"||operator==="--")return numberTypeAnnotation()}function StringLiteral(){return stringTypeAnnotation()}function NumericLiteral(){return numberTypeAnnotation()}function BooleanLiteral(){return booleanTypeAnnotation()}function NullLiteral(){return nullLiteralTypeAnnotation()}function RegExpLiteral(){return genericTypeAnnotation(identifier("RegExp"))}function ObjectExpression(){return genericTypeAnnotation(identifier("Object"))}function ArrayExpression(){return genericTypeAnnotation(identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=!0;function Func(){return genericTypeAnnotation(identifier("Function"))}var isArrayFrom=buildMatchMemberExpression("Array.from"),isObjectKeys=buildMatchMemberExpression("Object.keys"),isObjectValues=buildMatchMemberExpression("Object.values"),isObjectEntries=buildMatchMemberExpression("Object.entries");function CallExpression(){let{callee}=this.node;return isObjectKeys(callee)?arrayTypeAnnotation(stringTypeAnnotation()):isArrayFrom(callee)||isObjectValues(callee)||isIdentifier(callee,{name:"Array"})?arrayTypeAnnotation(anyTypeAnnotation()):isObjectEntries(callee)?arrayTypeAnnotation(tupleTypeAnnotation([stringTypeAnnotation(),anyTypeAnnotation()])):resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(callee){if(callee=callee.resolve(),callee.isFunction()){let{node}=callee;if(node.async)return node.generator?genericTypeAnnotation(identifier("AsyncIterator")):genericTypeAnnotation(identifier("Promise"));if(node.generator)return genericTypeAnnotation(identifier("Iterator"));if(callee.node.returnType)return callee.node.returnType}}}});var require_inference=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports._getTypeAnnotation=_getTypeAnnotation;exports.baseTypeStrictlyMatches=baseTypeStrictlyMatches;exports.couldBeBaseType=couldBeBaseType;exports.getTypeAnnotation=getTypeAnnotation;exports.isBaseType=isBaseType;exports.isGenericType=isGenericType;var inferers=require_inferers(),_t=require_lib11(),{anyTypeAnnotation,isAnyTypeAnnotation,isArrayTypeAnnotation,isBooleanTypeAnnotation,isEmptyTypeAnnotation,isFlowBaseAnnotation,isGenericTypeAnnotation,isIdentifier,isMixedTypeAnnotation,isNumberTypeAnnotation,isStringTypeAnnotation,isTSArrayType,isTSTypeAnnotation,isTSTypeReference,isTupleTypeAnnotation,isTypeAnnotation,isUnionTypeAnnotation,isVoidTypeAnnotation,stringTypeAnnotation,voidTypeAnnotation}=_t;function getTypeAnnotation(){let type=this.getData("typeAnnotation");return type!=null||(type=this._getTypeAnnotation()||anyTypeAnnotation(),(isTypeAnnotation(type)||isTSTypeAnnotation(type))&&(type=type.typeAnnotation),this.setData("typeAnnotation",type)),type}var typeAnnotationInferringNodes=new WeakSet;function _getTypeAnnotation(){let node=this.node;if(!node)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let declar=this.parentPath.parentPath,declarParent=declar.parentPath;return declar.key==="left"&&declarParent.isForInStatement()?stringTypeAnnotation():declar.key==="left"&&declarParent.isForOfStatement()?anyTypeAnnotation():voidTypeAnnotation()}else return;if(node.typeAnnotation)return node.typeAnnotation;if(!typeAnnotationInferringNodes.has(node)){typeAnnotationInferringNodes.add(node);try{var _inferer;let inferer=inferers[node.type];if(inferer)return inferer.call(this,node);if(inferer=inferers[this.parentPath.type],(_inferer=inferer)!=null&&_inferer.validParent)return this.parentPath.getTypeAnnotation()}finally{typeAnnotationInferringNodes.delete(node);}}}function isBaseType(baseName,soft){return _isBaseType(baseName,this.getTypeAnnotation(),soft)}function _isBaseType(baseName,type,soft){if(baseName==="string")return isStringTypeAnnotation(type);if(baseName==="number")return isNumberTypeAnnotation(type);if(baseName==="boolean")return isBooleanTypeAnnotation(type);if(baseName==="any")return isAnyTypeAnnotation(type);if(baseName==="mixed")return isMixedTypeAnnotation(type);if(baseName==="empty")return isEmptyTypeAnnotation(type);if(baseName==="void")return isVoidTypeAnnotation(type);if(soft)return !1;throw new Error(`Unknown base type ${baseName}`)}function couldBeBaseType(name){let type=this.getTypeAnnotation();if(isAnyTypeAnnotation(type))return !0;if(isUnionTypeAnnotation(type)){for(let type2 of type.types)if(isAnyTypeAnnotation(type2)||_isBaseType(name,type2,!0))return !0;return !1}else return _isBaseType(name,type,!0)}function baseTypeStrictlyMatches(rightArg){let left=this.getTypeAnnotation(),right=rightArg.getTypeAnnotation();return !isAnyTypeAnnotation(left)&&isFlowBaseAnnotation(left)?right.type===left.type:!1}function isGenericType(genericName){let type=this.getTypeAnnotation();return genericName==="Array"&&(isTSArrayType(type)||isArrayTypeAnnotation(type)||isTupleTypeAnnotation(type))?!0:isGenericTypeAnnotation(type)&&isIdentifier(type.id,{name:genericName})||isTSTypeReference(type)&&isIdentifier(type.typeName,{name:genericName})}}});var require_js_tokens=__commonJS({"../../node_modules/js-tokens/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;exports.matchToToken=function(match){var token={type:"invalid",value:match[0],closed:void 0};return match[1]?(token.type="string",token.closed=!!(match[3]||match[4])):match[5]?token.type="comment":match[6]?(token.type="comment",token.closed=!!match[7]):match[8]?token.type="regex":match[9]?token.type="number":match[10]?token.type="name":match[11]?token.type="punctuator":match[12]&&(token.type="whitespace"),token};}});var require_escape_string_regexp=__commonJS({"../../node_modules/escape-string-regexp/index.js"(exports,module){var matchOperatorsRe=/[|\\{}()[\]^$+*?.]/g;module.exports=function(str){if(typeof str!="string")throw new TypeError("Expected a string");return str.replace(matchOperatorsRe,"\\$&")};}});var require_color_name2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-name/index.js"(exports,module){module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-convert/conversions.js"(exports,module){var cssKeywords=require_color_name2(),reverseKeywords={};for(key in cssKeywords)cssKeywords.hasOwnProperty(key)&&(reverseKeywords[cssKeywords[key]]=key);var key,convert2=module.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(model in convert2)if(convert2.hasOwnProperty(model)){if(!("channels"in convert2[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert2[model]))throw new Error("missing channel labels property: "+model);if(convert2[model].labels.length!==convert2[model].channels)throw new Error("channel and label counts mismatch: "+model);channels=convert2[model].channels,labels=convert2[model].labels,delete convert2[model].channels,delete convert2[model].labels,Object.defineProperty(convert2[model],"channels",{value:channels}),Object.defineProperty(convert2[model],"labels",{value:labels});}var channels,labels,model;convert2.rgb.hsl=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min,h,s,l;return max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(h*60,360),h<0&&(h+=360),l=(min+max)/2,max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert2.rgb.hsv=function(rgb){var rdif,gdif,bdif,h,s,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return (v-c)/6/diff+1/2};return diff===0?h=s=0:(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v*100]};convert2.rgb.hwb=function(rgb){var r=rgb[0],g=rgb[1],b=rgb[2],h=convert2.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,w*100,b*100]};convert2.rgb.cmyk=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,c,m,y,k;return k=Math.min(1-r,1-g,1-b),c=(1-r-k)/(1-k)||0,m=(1-g-k)/(1-k)||0,y=(1-b-k)/(1-k)||0,[c*100,m*100,y*100,k*100]};function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert2.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;var currentClosestDistance=1/0,currentClosestKeyword;for(var keyword in cssKeywords)if(cssKeywords.hasOwnProperty(keyword)){var value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance<currentClosestDistance&&(currentClosestDistance=distance,currentClosestKeyword=keyword);}return currentClosestKeyword};convert2.keyword.rgb=function(keyword){return cssKeywords[keyword]};convert2.rgb.xyz=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92,b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92;var x=r*.4124+g*.3576+b*.1805,y=r*.2126+g*.7152+b*.0722,z=r*.0193+g*.1192+b*.9505;return [x*100,y*100,z*100]};convert2.rgb.lab=function(rgb){var xyz=convert2.rgb.xyz(rgb),x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.hsl.rgb=function(hsl){var h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t1,t2,t3,rgb,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s,t1=2*l-t2,rgb=[0,0,0];for(var i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert2.hsl.hsv=function(hsl){var h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01),sv,v;return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,v=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s),[h,sv*100,v*100]};convert2.hsv.rgb=function(hsv){var h=hsv[0]/60,s=hsv[1]/100,v=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return [v,t,p];case 1:return [q,v,p];case 2:return [p,v,t];case 3:return [p,q,v];case 4:return [t,p,v];case 5:return [v,p,q]}};convert2.hsv.hsl=function(hsv){var h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01),lmin,sl,l;return l=(2-s)*v,lmin=(2-s)*vmin,sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert2.hwb.rgb=function(hwb){var h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,i,v,f,n;ratio>1&&(wh/=ratio,bl/=ratio),i=Math.floor(6*h),v=1-bl,f=6*h-i,i&1&&(f=1-f),n=wh+f*(v-wh);var r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n;break}return [r*255,g*255,b*255]};convert2.cmyk.rgb=function(cmyk){var c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100,r,g,b;return r=1-Math.min(1,c*(1-k)+k),g=1-Math.min(1,m*(1-k)+k),b=1-Math.min(1,y*(1-k)+k),[r*255,g*255,b*255]};convert2.xyz.rgb=function(xyz){var x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100,r,g,b;return r=x*3.2406+y*-1.5372+z*-.4986,g=x*-.9689+y*1.8758+z*.0415,b=x*.0557+y*-.204+z*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:g*12.92,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:b*12.92,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[r*255,g*255,b*255]};convert2.xyz.lab=function(xyz){var x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.lab.xyz=function(lab){var l=lab[0],a=lab[1],b=lab[2],x,y,z;y=(l+16)/116,x=a/500+y,z=y-b/200;var y2=Math.pow(y,3),x2=Math.pow(x,3),z2=Math.pow(z,3);return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]};convert2.lab.lch=function(lab){var l=lab[0],a=lab[1],b=lab[2],hr,h,c;return hr=Math.atan2(b,a),h=hr*360/2/Math.PI,h<0&&(h+=360),c=Math.sqrt(a*a+b*b),[l,c,h]};convert2.lch.lab=function(lch){var l=lch[0],c=lch[1],h=lch[2],a,b,hr;return hr=h/360*2*Math.PI,a=c*Math.cos(hr),b=c*Math.sin(hr),[l,a,b]};convert2.rgb.ansi16=function(args){var r=args[0],g=args[1],b=args[2],value=1 in arguments?arguments[1]:convert2.rgb.hsv(args)[2];if(value=Math.round(value/50),value===0)return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert2.hsv.ansi16=function(args){return convert2.rgb.ansi16(convert2.hsv.rgb(args),args[2])};convert2.rgb.ansi256=function(args){var r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;var ansi=16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5);return ansi};convert2.ansi16.rgb=function(args){var color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];var mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g=(color>>1&1)*mult*255,b=(color>>2&1)*mult*255;return [r,g,b]};convert2.ansi256.rgb=function(args){if(args>=232){var c=(args-232)*10+8;return [c,c,c]}args-=16;var rem,r=Math.floor(args/36)/5*255,g=Math.floor((rem=args%36)/6)/5*255,b=rem%6/5*255;return [r,g,b]};convert2.rgb.hex=function(args){var integer=((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255),string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];var colorString=match[0];match[0].length===3&&(colorString=colorString.split("").map(function(char){return char+char}).join(""));var integer=parseInt(colorString,16),r=integer>>16&255,g=integer>>8&255,b=integer&255;return [r,g,b]};convert2.rgb.hcg=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g-b)/chroma%6:max===g?hue=2+(b-r)/chroma:hue=4+(r-g)/chroma+4,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert2.hsl.hcg=function(hsl){var s=hsl[1]/100,l=hsl[2]/100,c=1,f=0;return l<.5?c=2*s*l:c=2*s*(1-l),c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert2.hsv.hcg=function(hsv){var s=hsv[1]/100,v=hsv[2]/100,c=s*v,f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],c*100,f*100]};convert2.hcg.rgb=function(hcg){var h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(c===0)return [g*255,g*255,g*255];var pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert2.hcg.hsv=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c),f=0;return v>0&&(f=c/v),[hcg[0],f*100,v*100]};convert2.hcg.hsl=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,l=g*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert2.hcg.hwb=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c);return [hcg[0],(v-c)*100,(1-v)*100]};convert2.hwb.hcg=function(hwb){var w=hwb[1]/100,b=hwb[2]/100,v=1-b,c=v-w,g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],c*100,g*100]};convert2.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert2.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert2.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert2.gray.hsl=convert2.gray.hsv=function(args){return [0,0,args[0]]};convert2.gray.hwb=function(gray){return [0,100,gray[0]]};convert2.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert2.gray.lab=function(gray){return [gray[0],0,0]};convert2.gray.hex=function(gray){var val=Math.round(gray[0]/100*255)&255,integer=(val<<16)+(val<<8)+val,string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.rgb.gray=function(rgb){var val=(rgb[0]+rgb[1]+rgb[2])/3;return [val/255*100]};}});var require_route2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-convert/route.js"(exports,module){var conversions=require_conversions2();function buildGraph(){for(var graph={},models=Object.keys(conversions),len=models.length,i=0;i<len;i++)graph[models[i]]={distance:-1,parent:null};return graph}function deriveBFS(fromModel){var graph=buildGraph(),queue=[fromModel];for(graph[fromModel].distance=0;queue.length;)for(var current=queue.pop(),adjacents=Object.keys(conversions[current]),len=adjacents.length,i=0;i<len;i++){var adjacent=adjacents[i],node=graph[adjacent];node.distance===-1&&(node.distance=graph[current].distance+1,node.parent=current,queue.unshift(adjacent));}return graph}function link(from,to){return function(args){return to(from(args))}}function wrapConversion(toModel,graph){for(var path2=[graph[toModel].parent,toModel],fn=conversions[graph[toModel].parent][toModel],cur=graph[toModel].parent;graph[cur].parent;)path2.unshift(graph[cur].parent),fn=link(conversions[graph[cur].parent][cur],fn),cur=graph[cur].parent;return fn.conversion=path2,fn}module.exports=function(fromModel){for(var graph=deriveBFS(fromModel),conversion={},models=Object.keys(graph),len=models.length,i=0;i<len;i++){var toModel=models[i],node=graph[toModel];node.parent!==null&&(conversion[toModel]=wrapConversion(toModel,graph));}return conversion};}});var require_color_convert2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-convert/index.js"(exports,module){var conversions=require_conversions2(),route=require_route2(),convert2={},models=Object.keys(conversions);function wrapRaw(fn){var wrappedFn=function(args){return args==null?args:(arguments.length>1&&(args=Array.prototype.slice.call(arguments)),fn(args))};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}function wrapRounded(fn){var wrappedFn=function(args){if(args==null)return args;arguments.length>1&&(args=Array.prototype.slice.call(arguments));var result=fn(args);if(typeof result=="object")for(var len=result.length,i=0;i<len;i++)result[i]=Math.round(result[i]);return result};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}models.forEach(function(fromModel){convert2[fromModel]={},Object.defineProperty(convert2[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert2[fromModel],"labels",{value:conversions[fromModel].labels});var routes=route(fromModel),routeModels=Object.keys(routes);routeModels.forEach(function(toModel){var fn=routes[toModel];convert2[fromModel][toModel]=wrapRounded(fn),convert2[fromModel][toModel].raw=wrapRaw(fn);});});module.exports=convert2;}});var require_ansi_styles2=__commonJS({"../../node_modules/@babel/highlight/node_modules/ansi-styles/index.js"(exports,module){var colorConvert=require_color_convert2(),wrapAnsi16=(fn,offset)=>function(){return `\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){let code=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){let rgb=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],gray:[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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.grey=styles.color.gray;for(let groupName of Object.keys(styles)){let group=styles[groupName];for(let styleName of Object.keys(group)){let style=group[styleName];styles[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);}Object.defineProperty(styles,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles,"codes",{value:codes,enumerable:!1});}let ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles.color.close="\x1B[39m",styles.bgColor.close="\x1B[49m",styles.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;let suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10));}return styles}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles});}});var require_has_flag2=__commonJS({"../../node_modules/@babel/highlight/node_modules/has-flag/index.js"(exports,module){module.exports=(flag,argv)=>{argv=argv||process.argv;let prefix=flag.startsWith("-")?"":flag.length===1?"-":"--",pos=argv.indexOf(prefix+flag),terminatorPos=argv.indexOf("--");return pos!==-1&&(terminatorPos===-1?!0:pos<terminatorPos)};}});var require_supports_color2=__commonJS({"../../node_modules/@babel/highlight/node_modules/supports-color/index.js"(exports,module){var os=__require("os"),hasFlag=require_has_flag2(),env=process.env,forceColor;hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")?forceColor=!1:(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always"))&&(forceColor=!0);"FORCE_COLOR"in env&&(forceColor=env.FORCE_COLOR.length===0||parseInt(env.FORCE_COLOR,10)!==0);function translateLevel(level){return level===0?!1:{level,hasBasic:!0,has256:level>=2,has16m:level>=3}}function supportsColor(stream){if(forceColor===!1)return 0;if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor"))return 3;if(hasFlag("color=256"))return 2;if(stream&&!stream.isTTY&&forceColor!==!0)return 0;let min=forceColor?1:0;if(process.platform==="win32"){let osRelease=os.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(osRelease[0])>=10&&Number(osRelease[2])>=10586?Number(osRelease[2])>=14931?3:2:1}if("CI"in env)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(sign=>sign in env)||env.CI_NAME==="codeship"?1:min;if("TEAMCITY_VERSION"in env)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION)?1:0;if(env.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in env){let version=parseInt((env.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(env.TERM_PROGRAM){case"iTerm.app":return version>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(env.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)||"COLORTERM"in env?1:(env.TERM==="dumb",min)}function getSupportLevel(stream){let level=supportsColor(stream);return translateLevel(level)}module.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)};}});var require_templates2=__commonJS({"../../node_modules/@babel/highlight/node_modules/chalk/templates.js"(exports,module){var TEMPLATE_REGEX=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n",`
425
+ };`.indexOf(eoc)<0?(0, lines_1.concat)([lines,";"]):lines}}});var require_main5=__commonJS({"../../node_modules/recast/main.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.run=exports.prettyPrint=exports.print=exports.visit=exports.types=exports.parse=void 0;var tslib_1=(init_tslib_es6(),__toCommonJS(tslib_es6_exports)),fs_1=tslib_1.__importDefault(__require("fs")),types=tslib_1.__importStar(require_main4());exports.types=types;var parser_1=require_parser2();Object.defineProperty(exports,"parse",{enumerable:!0,get:function(){return parser_1.parse}});var printer_1=require_printer3(),ast_types_1=require_main4();Object.defineProperty(exports,"visit",{enumerable:!0,get:function(){return ast_types_1.visit}});function print(node,options){return new printer_1.Printer(options).print(node)}exports.print=print;function prettyPrint(node,options){return new printer_1.Printer(options).printGenerically(node)}exports.prettyPrint=prettyPrint;function run(transformer,options){return runFile(process.argv[2],transformer,options)}exports.run=run;function runFile(path2,transformer,options){fs_1.default.readFile(path2,"utf-8",function(err,code){if(err){console.error(err);return}runString(code,transformer,options);});}function defaultWriteback(output){process.stdout.write(output);}function runString(code,transformer,options){var writeback=options&&options.writeback||defaultWriteback;transformer((0, parser_1.parse)(code,options),function(node){writeback(print(node,options).code);});}}});var require_virtual_types=__commonJS({"../../node_modules/@babel/traverse/lib/path/lib/virtual-types.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.Var=exports.User=exports.Statement=exports.SpreadProperty=exports.Scope=exports.RestProperty=exports.ReferencedMemberExpression=exports.ReferencedIdentifier=exports.Referenced=exports.Pure=exports.NumericLiteralTypeAnnotation=exports.Generated=exports.ForAwaitStatement=exports.Flow=exports.Expression=exports.ExistentialTypeParam=exports.BlockScoped=exports.BindingIdentifier=void 0;exports.ReferencedIdentifier=["Identifier","JSXIdentifier"];exports.ReferencedMemberExpression=["MemberExpression"];exports.BindingIdentifier=["Identifier"];exports.Statement=["Statement"];exports.Expression=["Expression"];exports.Scope=["Scopable","Pattern"];exports.Referenced=null;exports.BlockScoped=null;exports.Var=["VariableDeclaration"];exports.User=null;exports.Generated=null;exports.Pure=null;exports.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];exports.RestProperty=["RestElement"];exports.SpreadProperty=["RestElement"];exports.ExistentialTypeParam=["ExistsTypeAnnotation"];exports.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"];exports.ForAwaitStatement=["ForOfStatement"];}});var require_virtual_types_validator=__commonJS({"../../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.isBindingIdentifier=isBindingIdentifier;exports.isBlockScoped=isBlockScoped;exports.isExpression=isExpression;exports.isFlow=isFlow;exports.isForAwaitStatement=isForAwaitStatement;exports.isGenerated=isGenerated;exports.isPure=isPure;exports.isReferenced=isReferenced;exports.isReferencedIdentifier=isReferencedIdentifier;exports.isReferencedMemberExpression=isReferencedMemberExpression;exports.isRestProperty=isRestProperty;exports.isScope=isScope;exports.isSpreadProperty=isSpreadProperty;exports.isStatement=isStatement;exports.isUser=isUser;exports.isVar=isVar;var _t=require_lib11(),{isBinding,isBlockScoped:nodeIsBlockScoped,isExportDeclaration,isExpression:nodeIsExpression,isFlow:nodeIsFlow,isForStatement,isForXStatement,isIdentifier,isImportDeclaration,isImportSpecifier,isJSXIdentifier,isJSXMemberExpression,isMemberExpression,isRestElement:nodeIsRestElement,isReferenced:nodeIsReferenced,isScope:nodeIsScope,isStatement:nodeIsStatement,isVar:nodeIsVar,isVariableDeclaration,react,isForOfStatement}=_t,{isCompatTag}=react;function isReferencedIdentifier(opts){let{node,parent}=this;if(!isIdentifier(node,opts)&&!isJSXMemberExpression(parent,opts))if(isJSXIdentifier(node,opts)){if(isCompatTag(node.name))return !1}else return !1;return nodeIsReferenced(node,parent,this.parentPath.parent)}function isReferencedMemberExpression(){let{node,parent}=this;return isMemberExpression(node)&&nodeIsReferenced(node,parent)}function isBindingIdentifier(){let{node,parent}=this,grandparent=this.parentPath.parent;return isIdentifier(node)&&isBinding(node,parent,grandparent)}function isStatement(){let{node,parent}=this;return nodeIsStatement(node)?!(isVariableDeclaration(node)&&(isForXStatement(parent,{left:node})||isForStatement(parent,{init:node}))):!1}function isExpression(){return this.isIdentifier()?this.isReferencedIdentifier():nodeIsExpression(this.node)}function isScope(){return nodeIsScope(this.node,this.parent)}function isReferenced(){return nodeIsReferenced(this.node,this.parent)}function isBlockScoped(){return nodeIsBlockScoped(this.node)}function isVar(){return nodeIsVar(this.node)}function isUser(){return this.node&&!!this.node.loc}function isGenerated(){return !this.isUser()}function isPure(constantsOnly){return this.scope.isPure(this.node,constantsOnly)}function isFlow(){let{node}=this;return nodeIsFlow(node)?!0:isImportDeclaration(node)?node.importKind==="type"||node.importKind==="typeof":isExportDeclaration(node)?node.exportKind==="type":isImportSpecifier(node)?node.importKind==="type"||node.importKind==="typeof":!1}function isRestProperty(){return nodeIsRestElement(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function isSpreadProperty(){return nodeIsRestElement(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function isForAwaitStatement(){return isForOfStatement(this.node,{await:!0})}exports.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},exports.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")};}});var require_visitors=__commonJS({"../../node_modules/@babel/traverse/lib/visitors.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.explode=explode;exports.isExplodedVisitor=isExplodedVisitor;exports.merge=merge;exports.verify=verify;var virtualTypes=require_virtual_types(),virtualTypesValidators=require_virtual_types_validator(),_t=require_lib11(),{DEPRECATED_KEYS,DEPRECATED_ALIASES,FLIPPED_ALIAS_KEYS,TYPES,__internal__deprecationWarning:deprecationWarning}=_t;function isVirtualType(type){return type in virtualTypes}function isExplodedVisitor(visitor){return visitor?._exploded}function explode(visitor){if(isExplodedVisitor(visitor))return visitor;visitor._exploded=!0;for(let nodeType of Object.keys(visitor)){if(shouldIgnoreKey(nodeType))continue;let parts=nodeType.split("|");if(parts.length===1)continue;let fns=visitor[nodeType];delete visitor[nodeType];for(let part of parts)visitor[part]=fns;}verify(visitor),delete visitor.__esModule,ensureEntranceObjects(visitor),ensureCallbackArrays(visitor);for(let nodeType of Object.keys(visitor)){if(shouldIgnoreKey(nodeType)||!isVirtualType(nodeType))continue;let fns=visitor[nodeType];for(let type of Object.keys(fns))fns[type]=wrapCheck(nodeType,fns[type]);delete visitor[nodeType];let types=virtualTypes[nodeType];if(types!==null)for(let type of types)visitor[type]?mergePair(visitor[type],fns):visitor[type]=fns;else mergePair(visitor,fns);}for(let nodeType of Object.keys(visitor)){if(shouldIgnoreKey(nodeType))continue;let aliases=FLIPPED_ALIAS_KEYS[nodeType];if(nodeType in DEPRECATED_KEYS){let deprecatedKey=DEPRECATED_KEYS[nodeType];deprecationWarning(nodeType,deprecatedKey,"Visitor "),aliases=[deprecatedKey];}else if(nodeType in DEPRECATED_ALIASES){let deprecatedAlias=DEPRECATED_ALIASES[nodeType];deprecationWarning(nodeType,deprecatedAlias,"Visitor "),aliases=FLIPPED_ALIAS_KEYS[deprecatedAlias];}if(!aliases)continue;let fns=visitor[nodeType];delete visitor[nodeType];for(let alias of aliases){let existing=visitor[alias];existing?mergePair(existing,fns):visitor[alias]=Object.assign({},fns);}}for(let nodeType of Object.keys(visitor))shouldIgnoreKey(nodeType)||ensureCallbackArrays(visitor[nodeType]);return visitor}function verify(visitor){if(!visitor._verified){if(typeof visitor=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let nodeType of Object.keys(visitor)){if((nodeType==="enter"||nodeType==="exit")&&validateVisitorMethods(nodeType,visitor[nodeType]),shouldIgnoreKey(nodeType))continue;if(TYPES.indexOf(nodeType)<0)throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type`);let visitors=visitor[nodeType];if(typeof visitors=="object")for(let visitorKey of Object.keys(visitors))if(visitorKey==="enter"||visitorKey==="exit")validateVisitorMethods(`${nodeType}.${visitorKey}`,visitors[visitorKey]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${nodeType} that has the invalid property ${visitorKey}`)}visitor._verified=!0;}}function validateVisitorMethods(path2,val){let fns=[].concat(val);for(let fn of fns)if(typeof fn!="function")throw new TypeError(`Non-function found defined in ${path2} with type ${typeof fn}`)}function merge(visitors,states=[],wrapper){let mergedVisitor={};for(let i=0;i<visitors.length;i++){let visitor=explode(visitors[i]),state=states[i],topVisitor=visitor;(state||wrapper)&&(topVisitor=wrapWithStateOrWrapper(topVisitor,state,wrapper)),mergePair(mergedVisitor,topVisitor);for(let key of Object.keys(visitor)){if(shouldIgnoreKey(key))continue;let typeVisitor=visitor[key];(state||wrapper)&&(typeVisitor=wrapWithStateOrWrapper(typeVisitor,state,wrapper));let nodeVisitor=mergedVisitor[key]||(mergedVisitor[key]={});mergePair(nodeVisitor,typeVisitor);}}return mergedVisitor}function wrapWithStateOrWrapper(oldVisitor,state,wrapper){let newVisitor={};for(let phase of ["enter","exit"]){let fns=oldVisitor[phase];Array.isArray(fns)&&(fns=fns.map(function(fn){let newFn=fn;return state&&(newFn=function(path2){fn.call(state,path2,state);}),wrapper&&(newFn=wrapper(state?.key,phase,newFn)),newFn!==fn&&(newFn.toString=()=>fn.toString()),newFn}),newVisitor[phase]=fns);}return newVisitor}function ensureEntranceObjects(obj){for(let key of Object.keys(obj)){if(shouldIgnoreKey(key))continue;let fns=obj[key];typeof fns=="function"&&(obj[key]={enter:fns});}}function ensureCallbackArrays(obj){obj.enter&&!Array.isArray(obj.enter)&&(obj.enter=[obj.enter]),obj.exit&&!Array.isArray(obj.exit)&&(obj.exit=[obj.exit]);}function wrapCheck(nodeType,fn){let fnKey=`is${nodeType}`,validator=virtualTypesValidators[fnKey],newFn=function(path2){if(validator.call(path2))return fn.apply(this,arguments)};return newFn.toString=()=>fn.toString(),newFn}function shouldIgnoreKey(key){return key[0]==="_"||key==="enter"||key==="exit"||key==="shouldSkip"||key==="denylist"||key==="noScope"||key==="skipKeys"||key==="blacklist"}function mergePair(dest,src){for(let phase of ["enter","exit"])src[phase]&&(dest[phase]=[].concat(dest[phase]||[],src[phase]));}}});var require_cache=__commonJS({"../../node_modules/@babel/traverse/lib/cache.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.clear=clear;exports.clearPath=clearPath;exports.clearScope=clearScope;exports.getCachedPaths=getCachedPaths;exports.getOrCreateCachedPaths=getOrCreateCachedPaths;exports.scope=exports.path=void 0;var pathsCache=exports.path=new WeakMap;exports.scope=new WeakMap;function clear(){clearPath(),clearScope();}function clearPath(){exports.path=pathsCache=new WeakMap;}function clearScope(){exports.scope=new WeakMap;}var nullHub=Object.freeze({});function getCachedPaths(hub,parent){var _pathsCache$get,_hub;return hub=null,(_pathsCache$get=pathsCache.get((_hub=hub)!=null?_hub:nullHub))==null?void 0:_pathsCache$get.get(parent)}function getOrCreateCachedPaths(hub,parent){var _hub2,_hub3;hub=null;let parents=pathsCache.get((_hub2=hub)!=null?_hub2:nullHub);parents||pathsCache.set((_hub3=hub)!=null?_hub3:nullHub,parents=new WeakMap);let paths=parents.get(parent);return paths||parents.set(parent,paths=new Map),paths}}});var require_lib13=__commonJS({"../../node_modules/@babel/helper-split-export-declaration/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=splitExportDeclaration;var _t=require_lib11(),{cloneNode,exportNamedDeclaration,exportSpecifier,identifier,variableDeclaration,variableDeclarator}=_t;function splitExportDeclaration(exportDeclaration){if(!exportDeclaration.isExportDeclaration()||exportDeclaration.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(exportDeclaration.isExportDefaultDeclaration()){let declaration2=exportDeclaration.get("declaration"),standaloneDeclaration=declaration2.isFunctionDeclaration()||declaration2.isClassDeclaration(),exportExpr=declaration2.isFunctionExpression()||declaration2.isClassExpression(),scope=declaration2.isScope()?declaration2.scope.parent:declaration2.scope,id=declaration2.node.id,needBindingRegistration=!1;id?exportExpr&&scope.hasBinding(id.name)&&(needBindingRegistration=!0,id=scope.generateUidIdentifier(id.name)):(needBindingRegistration=!0,id=scope.generateUidIdentifier("default"),(standaloneDeclaration||exportExpr)&&(declaration2.node.id=cloneNode(id)));let updatedDeclaration=standaloneDeclaration?declaration2.node:variableDeclaration("var",[variableDeclarator(cloneNode(id),declaration2.node)]),updatedExportDeclaration=exportNamedDeclaration(null,[exportSpecifier(cloneNode(id),identifier("default"))]);return exportDeclaration.insertAfter(updatedExportDeclaration),exportDeclaration.replaceWith(updatedDeclaration),needBindingRegistration&&scope.registerDeclaration(exportDeclaration),exportDeclaration}else if(exportDeclaration.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let declaration=exportDeclaration.get("declaration"),bindingIdentifiers=declaration.getOuterBindingIdentifiers(),specifiers=Object.keys(bindingIdentifiers).map(name=>exportSpecifier(identifier(name),identifier(name))),aliasDeclar=exportNamedDeclaration(null,specifiers);return exportDeclaration.insertAfter(aliasDeclar),exportDeclaration.replaceWith(declaration.node),exportDeclaration}}});var require_lib14=__commonJS({"../../node_modules/@babel/helper-environment-visitor/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;exports.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;exports.skipAllButComputedKey=function(path2){path2.skip(),path2.node.computed&&path2.context.maybeQueue(path2.get("key"));};function requeueComputedKeyAndDecorators(path2){let{context,node}=path2;if(node.computed&&context.maybeQueue(path2.get("key")),node.decorators)for(let decorator of path2.get("decorators"))context.maybeQueue(decorator);}var visitor={FunctionParent(path2){path2.isArrowFunctionExpression()||(path2.skip(),path2.isMethod()&&requeueComputedKeyAndDecorators(path2));},Property(path2){path2.isObjectProperty()||(path2.skip(),requeueComputedKeyAndDecorators(path2));}},_default=visitor;exports.default=_default;}});var require_renamer=__commonJS({"../../node_modules/@babel/traverse/lib/scope/lib/renamer.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var _helperSplitExportDeclaration=require_lib13(),t=require_lib11(),_helperEnvironmentVisitor=require_lib14(),_traverseNode=require_traverse_node(),_visitors=require_visitors(),renameVisitor={ReferencedIdentifier({node},state){node.name===state.oldName&&(node.name=state.newName);},Scope(path2,state){path2.scope.bindingIdentifierEquals(state.oldName,state.binding.identifier)||(path2.skip(),path2.isMethod()&&(0, _helperEnvironmentVisitor.requeueComputedKeyAndDecorators)(path2));},ObjectProperty({node,scope},state){let{name}=node.key;if(node.shorthand&&(name===state.oldName||name===state.newName)&&scope.getBindingIdentifier(name)===state.binding.identifier){var _node$extra;node.shorthand=!1,(_node$extra=node.extra)!=null&&_node$extra.shorthand&&(node.extra.shorthand=!1);}},"AssignmentExpression|Declaration|VariableDeclarator"(path2,state){if(path2.isVariableDeclaration())return;let ids=path2.getOuterBindingIdentifiers();for(let name in ids)name===state.oldName&&(ids[name].name=state.newName);}},Renamer=class{constructor(binding,oldName,newName){this.newName=newName,this.oldName=oldName,this.binding=binding;}maybeConvertFromExportDeclaration(parentDeclar){let maybeExportDeclar=parentDeclar.parentPath;if(maybeExportDeclar.isExportDeclaration()){if(maybeExportDeclar.isExportDefaultDeclaration()){let{declaration}=maybeExportDeclar.node;if(t.isDeclaration(declaration)&&!declaration.id)return}maybeExportDeclar.isExportAllDeclaration()||(0, _helperSplitExportDeclaration.default)(maybeExportDeclar);}}maybeConvertFromClassFunctionDeclaration(path2){return path2}maybeConvertFromClassFunctionExpression(path2){return path2}rename(){let{binding,oldName,newName}=this,{scope,path:path2}=binding,parentDeclar=path2.find(path3=>path3.isDeclaration()||path3.isFunctionExpression()||path3.isClassExpression());parentDeclar&&parentDeclar.getOuterBindingIdentifiers()[oldName]===binding.identifier&&this.maybeConvertFromExportDeclaration(parentDeclar);let blockToTraverse=arguments[0]||scope.block;(0, _traverseNode.traverseNode)(blockToTraverse,(0, _visitors.explode)(renameVisitor),scope,this,scope.path,{discriminant:!0}),arguments[0]||(scope.removeOwnBinding(oldName),scope.bindings[newName]=binding,this.binding.identifier.name=newName),parentDeclar&&(this.maybeConvertFromClassFunctionDeclaration(path2),this.maybeConvertFromClassFunctionExpression(path2));}};exports.default=Renamer;}});var require_binding=__commonJS({"../../node_modules/@babel/traverse/lib/scope/binding.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var Binding=class{constructor({identifier,scope,path:path2,kind}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=identifier,this.scope=scope,this.path=path2,this.kind=kind,(kind==="var"||kind==="hoisted")&&isDeclaredInLoop(path2)&&this.reassign(path2),this.clearValue();}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0;}setValue(value){this.hasDeoptedValue||(this.hasValue=!0,this.value=value);}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null;}reassign(path2){this.constant=!1,this.constantViolations.indexOf(path2)===-1&&this.constantViolations.push(path2);}reference(path2){this.referencePaths.indexOf(path2)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(path2));}dereference(){this.references--,this.referenced=!!this.references;}};exports.default=Binding;function isDeclaredInLoop(path2){for(let{parentPath,key}=path2;parentPath;{parentPath,key}=parentPath){if(parentPath.isFunctionParent())return !1;if(parentPath.isWhile()||parentPath.isForXStatement()||parentPath.isForStatement()&&key==="body")return !0}return !1}}});var require_globals=__commonJS({"../../node_modules/@babel/traverse/node_modules/globals/globals.json"(exports,module){module.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};}});var require_globals2=__commonJS({"../../node_modules/@babel/traverse/node_modules/globals/index.js"(exports,module){module.exports=require_globals();}});var require_scope2=__commonJS({"../../node_modules/@babel/traverse/lib/scope/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var _renamer=require_renamer(),_index=require_lib21(),_binding=require_binding(),_globals=require_globals2(),_t=require_lib11(),t=_t,_cache=require_cache(),_visitors=require_visitors(),{NOT_LOCAL_BINDING,callExpression,cloneNode,getBindingIdentifiers,identifier,isArrayExpression,isBinary,isClass,isClassBody,isClassDeclaration,isExportAllDeclaration,isExportDefaultDeclaration,isExportNamedDeclaration,isFunctionDeclaration,isIdentifier,isImportDeclaration,isLiteral,isMethod,isModuleSpecifier,isNullLiteral,isObjectExpression,isProperty,isPureish,isRegExpLiteral,isSuper,isTaggedTemplateExpression,isTemplateLiteral,isThisExpression,isUnaryExpression,isVariableDeclaration,matchesPattern,memberExpression,numericLiteral,toIdentifier,variableDeclaration,variableDeclarator,isRecordExpression,isTupleExpression,isObjectProperty,isTopicReference,isMetaProperty,isPrivateName,isExportDeclaration,buildUndefinedNode}=_t;function gatherNodeParts(node,parts){switch(node?.type){default:if(isImportDeclaration(node)||isExportDeclaration(node)){var _node$specifiers;if((isExportAllDeclaration(node)||isExportNamedDeclaration(node)||isImportDeclaration(node))&&node.source)gatherNodeParts(node.source,parts);else if((isExportNamedDeclaration(node)||isImportDeclaration(node))&&(_node$specifiers=node.specifiers)!=null&&_node$specifiers.length)for(let e of node.specifiers)gatherNodeParts(e,parts);else (isExportDefaultDeclaration(node)||isExportNamedDeclaration(node))&&node.declaration&&gatherNodeParts(node.declaration,parts);}else isModuleSpecifier(node)?gatherNodeParts(node.local,parts):isLiteral(node)&&!isNullLiteral(node)&&!isRegExpLiteral(node)&&!isTemplateLiteral(node)&&parts.push(node.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(node.object,parts),gatherNodeParts(node.property,parts);break;case"Identifier":case"JSXIdentifier":parts.push(node.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(node.callee,parts);break;case"ObjectExpression":case"ObjectPattern":for(let e of node.properties)gatherNodeParts(e,parts);break;case"SpreadElement":case"RestElement":gatherNodeParts(node.argument,parts);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(node.key,parts);break;case"ThisExpression":parts.push("this");break;case"Super":parts.push("super");break;case"Import":parts.push("import");break;case"DoExpression":parts.push("do");break;case"YieldExpression":parts.push("yield"),gatherNodeParts(node.argument,parts);break;case"AwaitExpression":parts.push("await"),gatherNodeParts(node.argument,parts);break;case"AssignmentExpression":gatherNodeParts(node.left,parts);break;case"VariableDeclarator":gatherNodeParts(node.id,parts);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(node.id,parts);break;case"PrivateName":gatherNodeParts(node.id,parts);break;case"ParenthesizedExpression":gatherNodeParts(node.expression,parts);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(node.argument,parts);break;case"MetaProperty":gatherNodeParts(node.meta,parts),gatherNodeParts(node.property,parts);break;case"JSXElement":gatherNodeParts(node.openingElement,parts);break;case"JSXOpeningElement":gatherNodeParts(node.name,parts);break;case"JSXFragment":gatherNodeParts(node.openingFragment,parts);break;case"JSXOpeningFragment":parts.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(node.namespace,parts),gatherNodeParts(node.name,parts);break}}var collectorVisitor={ForStatement(path2){let declar=path2.get("init");if(declar.isVar()){let{scope}=path2;(scope.getFunctionParent()||scope.getProgramParent()).registerBinding("var",declar);}},Declaration(path2){if(path2.isBlockScoped()||path2.isImportDeclaration()||path2.isExportDeclaration())return;(path2.scope.getFunctionParent()||path2.scope.getProgramParent()).registerDeclaration(path2);},ImportDeclaration(path2){path2.scope.getBlockParent().registerDeclaration(path2);},ReferencedIdentifier(path2,state){state.references.push(path2);},ForXStatement(path2,state){let left=path2.get("left");if(left.isPattern()||left.isIdentifier())state.constantViolations.push(path2);else if(left.isVar()){let{scope}=path2;(scope.getFunctionParent()||scope.getProgramParent()).registerBinding("var",left);}},ExportDeclaration:{exit(path2){let{node,scope}=path2;if(isExportAllDeclaration(node))return;let declar=node.declaration;if(isClassDeclaration(declar)||isFunctionDeclaration(declar)){let id=declar.id;if(!id)return;let binding=scope.getBinding(id.name);binding?.reference(path2);}else if(isVariableDeclaration(declar))for(let decl of declar.declarations)for(let name of Object.keys(getBindingIdentifiers(decl))){let binding=scope.getBinding(name);binding?.reference(path2);}}},LabeledStatement(path2){path2.scope.getBlockParent().registerDeclaration(path2);},AssignmentExpression(path2,state){state.assignments.push(path2);},UpdateExpression(path2,state){state.constantViolations.push(path2);},UnaryExpression(path2,state){path2.node.operator==="delete"&&state.constantViolations.push(path2);},BlockScoped(path2){let scope=path2.scope;if(scope.path===path2&&(scope=scope.parent),scope.getBlockParent().registerDeclaration(path2),path2.isClassDeclaration()&&path2.node.id){let name=path2.node.id.name;path2.scope.bindings[name]=path2.scope.parent.getBinding(name);}},CatchClause(path2){path2.scope.registerBinding("let",path2);},Function(path2){let params=path2.get("params");for(let param of params)path2.scope.registerBinding("param",param);path2.isFunctionExpression()&&path2.has("id")&&!path2.get("id").node[NOT_LOCAL_BINDING]&&path2.scope.registerBinding("local",path2.get("id"),path2);},ClassExpression(path2){path2.has("id")&&!path2.get("id").node[NOT_LOCAL_BINDING]&&path2.scope.registerBinding("local",path2);}},uid=0,Scope=class _Scope{constructor(path2){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node}=path2,cached=_cache.scope.get(node);if(cached?.path===path2)return cached;_cache.scope.set(node,this),this.uid=uid++,this.block=node,this.path=path2,this.labels=new Map,this.inited=!1;}get parent(){var _parent;let parent,path2=this.path;do{let shouldSkip=path2.key==="key"||path2.listKey==="decorators";path2=path2.parentPath,shouldSkip&&path2.isMethod()&&(path2=path2.parentPath),path2&&path2.isScope()&&(parent=path2);}while(path2&&!parent);return (_parent=parent)==null?void 0:_parent.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(node,opts,state){(0, _index.default)(node,opts,this,state,this.path);}generateDeclaredUidIdentifier(name){let id=this.generateUidIdentifier(name);return this.push({id}),cloneNode(id)}generateUidIdentifier(name){return identifier(this.generateUid(name))}generateUid(name="temp"){name=toIdentifier(name).replace(/^_+/,"").replace(/[0-9]+$/g,"");let uid2,i=1;do uid2=this._generateUid(name,i),i++;while(this.hasLabel(uid2)||this.hasBinding(uid2)||this.hasGlobal(uid2)||this.hasReference(uid2));let program=this.getProgramParent();return program.references[uid2]=!0,program.uids[uid2]=!0,uid2}_generateUid(name,i){let id=name;return i>1&&(id+=i),`_${id}`}generateUidBasedOnNode(node,defaultName){let parts=[];gatherNodeParts(node,parts);let id=parts.join("$");return id=id.replace(/^_/,"")||defaultName||"ref",this.generateUid(id.slice(0,20))}generateUidIdentifierBasedOnNode(node,defaultName){return identifier(this.generateUidBasedOnNode(node,defaultName))}isStatic(node){if(isThisExpression(node)||isSuper(node)||isTopicReference(node))return !0;if(isIdentifier(node)){let binding=this.getBinding(node.name);return binding?binding.constant:this.hasBinding(node.name)}return !1}maybeGenerateMemoised(node,dontPush){if(this.isStatic(node))return null;{let id=this.generateUidIdentifierBasedOnNode(node);return dontPush?id:(this.push({id}),cloneNode(id))}}checkBlockScopedCollisions(local,kind,name,id){if(kind==="param"||local.kind==="local")return;if(kind==="let"||local.kind==="let"||local.kind==="const"||local.kind==="module"||local.kind==="param"&&kind==="const")throw this.hub.buildError(id,`Duplicate declaration "${name}"`,TypeError)}rename(oldName,newName){let binding=this.getBinding(oldName);binding&&(newName||(newName=this.generateUidIdentifier(oldName).name),new _renamer.default(binding,oldName,newName).rename(arguments[2]));}_renameFromMap(map,oldName,newName,value){map[oldName]&&(map[newName]=value,map[oldName]=null);}dump(){let sep="-".repeat(60);console.log(sep);let scope=this;do{console.log("#",scope.block.type);for(let name of Object.keys(scope.bindings)){let binding=scope.bindings[name];console.log(" -",name,{constant:binding.constant,references:binding.references,violations:binding.constantViolations.length,kind:binding.kind});}}while(scope=scope.parent);console.log(sep);}toArray(node,i,arrayLikeIsIterable){if(isIdentifier(node)){let binding=this.getBinding(node.name);if(binding!=null&&binding.constant&&binding.path.isGenericType("Array"))return node}if(isArrayExpression(node))return node;if(isIdentifier(node,{name:"arguments"}))return callExpression(memberExpression(memberExpression(memberExpression(identifier("Array"),identifier("prototype")),identifier("slice")),identifier("call")),[node]);let helperName,args=[node];return i===!0?helperName="toConsumableArray":typeof i=="number"?(args.push(numericLiteral(i)),helperName="slicedToArray"):helperName="toArray",arrayLikeIsIterable&&(args.unshift(this.hub.addHelper(helperName)),helperName="maybeArrayLike"),callExpression(this.hub.addHelper(helperName),args)}hasLabel(name){return !!this.getLabel(name)}getLabel(name){return this.labels.get(name)}registerLabel(path2){this.labels.set(path2.node.label.name,path2);}registerDeclaration(path2){if(path2.isLabeledStatement())this.registerLabel(path2);else if(path2.isFunctionDeclaration())this.registerBinding("hoisted",path2.get("id"),path2);else if(path2.isVariableDeclaration()){let declarations=path2.get("declarations"),{kind}=path2.node;for(let declar of declarations)this.registerBinding(kind==="using"||kind==="await using"?"const":kind,declar);}else if(path2.isClassDeclaration()){if(path2.node.declare)return;this.registerBinding("let",path2);}else if(path2.isImportDeclaration()){let isTypeDeclaration=path2.node.importKind==="type"||path2.node.importKind==="typeof",specifiers=path2.get("specifiers");for(let specifier of specifiers){let isTypeSpecifier=isTypeDeclaration||specifier.isImportSpecifier()&&(specifier.node.importKind==="type"||specifier.node.importKind==="typeof");this.registerBinding(isTypeSpecifier?"unknown":"module",specifier);}}else if(path2.isExportDeclaration()){let declar=path2.get("declaration");(declar.isClassDeclaration()||declar.isFunctionDeclaration()||declar.isVariableDeclaration())&&this.registerDeclaration(declar);}else this.registerBinding("unknown",path2);}buildUndefinedNode(){return buildUndefinedNode()}registerConstantViolation(path2){let ids=path2.getBindingIdentifiers();for(let name of Object.keys(ids)){var _this$getBinding;(_this$getBinding=this.getBinding(name))==null||_this$getBinding.reassign(path2);}}registerBinding(kind,path2,bindingPath=path2){if(!kind)throw new ReferenceError("no `kind`");if(path2.isVariableDeclaration()){let declarators=path2.get("declarations");for(let declar of declarators)this.registerBinding(kind,declar);return}let parent=this.getProgramParent(),ids=path2.getOuterBindingIdentifiers(!0);for(let name of Object.keys(ids)){parent.references[name]=!0;for(let id of ids[name]){let local=this.getOwnBinding(name);if(local){if(local.identifier===id)continue;this.checkBlockScopedCollisions(local,kind,name,id);}local?this.registerConstantViolation(bindingPath):this.bindings[name]=new _binding.default({identifier:id,scope:this,path:bindingPath,kind});}}}addGlobal(node){this.globals[node.name]=node;}hasUid(name){let scope=this;do if(scope.uids[name])return !0;while(scope=scope.parent);return !1}hasGlobal(name){let scope=this;do if(scope.globals[name])return !0;while(scope=scope.parent);return !1}hasReference(name){return !!this.getProgramParent().references[name]}isPure(node,constantsOnly){if(isIdentifier(node)){let binding=this.getBinding(node.name);return binding?constantsOnly?binding.constant:!0:!1}else {if(isThisExpression(node)||isMetaProperty(node)||isTopicReference(node)||isPrivateName(node))return !0;if(isClass(node)){var _node$decorators;return node.superClass&&!this.isPure(node.superClass,constantsOnly)||((_node$decorators=node.decorators)==null?void 0:_node$decorators.length)>0?!1:this.isPure(node.body,constantsOnly)}else if(isClassBody(node)){for(let method of node.body)if(!this.isPure(method,constantsOnly))return !1;return !0}else {if(isBinary(node))return this.isPure(node.left,constantsOnly)&&this.isPure(node.right,constantsOnly);if(isArrayExpression(node)||isTupleExpression(node)){for(let elem of node.elements)if(elem!==null&&!this.isPure(elem,constantsOnly))return !1;return !0}else if(isObjectExpression(node)||isRecordExpression(node)){for(let prop of node.properties)if(!this.isPure(prop,constantsOnly))return !1;return !0}else if(isMethod(node)){var _node$decorators2;return !(node.computed&&!this.isPure(node.key,constantsOnly)||((_node$decorators2=node.decorators)==null?void 0:_node$decorators2.length)>0)}else if(isProperty(node)){var _node$decorators3;return !(node.computed&&!this.isPure(node.key,constantsOnly)||((_node$decorators3=node.decorators)==null?void 0:_node$decorators3.length)>0||(isObjectProperty(node)||node.static)&&node.value!==null&&!this.isPure(node.value,constantsOnly))}else {if(isUnaryExpression(node))return this.isPure(node.argument,constantsOnly);if(isTaggedTemplateExpression(node))return matchesPattern(node.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(node.quasi,constantsOnly);if(isTemplateLiteral(node)){for(let expression of node.expressions)if(!this.isPure(expression,constantsOnly))return !1;return !0}else return isPureish(node)}}}}setData(key,val){return this.data[key]=val}getData(key){let scope=this;do{let data=scope.data[key];if(data!=null)return data}while(scope=scope.parent)}removeData(key){let scope=this;do scope.data[key]!=null&&(scope.data[key]=null);while(scope=scope.parent)}init(){this.inited||(this.inited=!0,this.crawl());}crawl(){let path2=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let programParent=this.getProgramParent();if(programParent.crawling)return;let state={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,path2.type!=="Program"&&(0, _visitors.isExplodedVisitor)(collectorVisitor)){for(let visit of collectorVisitor.enter)visit.call(state,path2,state);let typeVisitors=collectorVisitor[path2.type];if(typeVisitors)for(let visit of typeVisitors.enter)visit.call(state,path2,state);}path2.traverse(collectorVisitor,state),this.crawling=!1;for(let path3 of state.assignments){let ids=path3.getBindingIdentifiers();for(let name of Object.keys(ids))path3.scope.getBinding(name)||programParent.addGlobal(ids[name]);path3.scope.registerConstantViolation(path3);}for(let ref of state.references){let binding=ref.scope.getBinding(ref.node.name);binding?binding.reference(ref):programParent.addGlobal(ref.node);}for(let path3 of state.constantViolations)path3.scope.registerConstantViolation(path3);}push(opts){let path2=this.path;path2.isPattern()?path2=this.getPatternParent().path:!path2.isBlockStatement()&&!path2.isProgram()&&(path2=this.getBlockParent().path),path2.isSwitchStatement()&&(path2=(this.getFunctionParent()||this.getProgramParent()).path);let{init,unique,kind="var",id}=opts;if(!init&&!unique&&(kind==="var"||kind==="let")&&path2.isFunction()&&!path2.node.name&&t.isCallExpression(path2.parent,{callee:path2.node})&&path2.parent.arguments.length<=path2.node.params.length&&t.isIdentifier(id)){path2.pushContainer("params",id),path2.scope.registerBinding("param",path2.get("params")[path2.node.params.length-1]);return}(path2.isLoop()||path2.isCatchClause()||path2.isFunction())&&(path2.ensureBlock(),path2=path2.get("body"));let blockHoist=opts._blockHoist==null?2:opts._blockHoist,dataKey=`declaration:${kind}:${blockHoist}`,declarPath=!unique&&path2.getData(dataKey);if(!declarPath){let declar=variableDeclaration(kind,[]);declar._blockHoist=blockHoist,[declarPath]=path2.unshiftContainer("body",[declar]),unique||path2.setData(dataKey,declarPath);}let declarator=variableDeclarator(id,init),len=declarPath.node.declarations.push(declarator);path2.scope.registerBinding(kind,declarPath.get("declarations")[len-1]);}getProgramParent(){let scope=this;do if(scope.path.isProgram())return scope;while(scope=scope.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let scope=this;do if(scope.path.isFunctionParent())return scope;while(scope=scope.parent);return null}getBlockParent(){let scope=this;do if(scope.path.isBlockParent())return scope;while(scope=scope.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let scope=this;do if(!scope.path.isPattern())return scope.getBlockParent();while(scope=scope.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let ids=Object.create(null),scope=this;do{for(let key of Object.keys(scope.bindings))key in ids||(ids[key]=scope.bindings[key]);scope=scope.parent;}while(scope);return ids}getAllBindingsOfKind(...kinds){let ids=Object.create(null);for(let kind of kinds){let scope=this;do{for(let name of Object.keys(scope.bindings)){let binding=scope.bindings[name];binding.kind===kind&&(ids[name]=binding);}scope=scope.parent;}while(scope)}return ids}bindingIdentifierEquals(name,node){return this.getBindingIdentifier(name)===node}getBinding(name){let scope=this,previousPath;do{let binding=scope.getOwnBinding(name);if(binding){var _previousPath;if(!((_previousPath=previousPath)!=null&&_previousPath.isPattern()&&binding.kind!=="param"&&binding.kind!=="local"))return binding}else if(!binding&&name==="arguments"&&scope.path.isFunction()&&!scope.path.isArrowFunctionExpression())break;previousPath=scope.path;}while(scope=scope.parent)}getOwnBinding(name){return this.bindings[name]}getBindingIdentifier(name){var _this$getBinding2;return (_this$getBinding2=this.getBinding(name))==null?void 0:_this$getBinding2.identifier}getOwnBindingIdentifier(name){let binding=this.bindings[name];return binding?.identifier}hasOwnBinding(name){return !!this.getOwnBinding(name)}hasBinding(name,opts){var _opts,_opts2,_opts3;return name?!!(this.hasOwnBinding(name)||(typeof opts=="boolean"&&(opts={noGlobals:opts}),this.parentHasBinding(name,opts))||!((_opts=opts)!=null&&_opts.noUids)&&this.hasUid(name)||!((_opts2=opts)!=null&&_opts2.noGlobals)&&_Scope.globals.includes(name)||!((_opts3=opts)!=null&&_opts3.noGlobals)&&_Scope.contextVariables.includes(name)):!1}parentHasBinding(name,opts){var _this$parent;return (_this$parent=this.parent)==null?void 0:_this$parent.hasBinding(name,opts)}moveBindingTo(name,scope){let info=this.getBinding(name);info&&(info.scope.removeOwnBinding(name),info.scope=scope,scope.bindings[name]=info);}removeOwnBinding(name){delete this.bindings[name];}removeBinding(name){var _this$getBinding3;(_this$getBinding3=this.getBinding(name))==null||_this$getBinding3.scope.removeOwnBinding(name);let scope=this;do scope.uids[name]&&(scope.uids[name]=!1);while(scope=scope.parent)}};exports.default=Scope;Scope.globals=Object.keys(_globals.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"];}});var require_ancestry=__commonJS({"../../node_modules/@babel/traverse/lib/path/ancestry.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.find=find2;exports.findParent=findParent;exports.getAncestry=getAncestry;exports.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;exports.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;exports.getFunctionParent=getFunctionParent;exports.getStatementParent=getStatementParent;exports.inType=inType;exports.isAncestor=isAncestor;exports.isDescendant=isDescendant;var _t=require_lib11(),{VISITOR_KEYS}=_t;function findParent(callback){let path2=this;for(;path2=path2.parentPath;)if(callback(path2))return path2;return null}function find2(callback){let path2=this;do if(callback(path2))return path2;while(path2=path2.parentPath);return null}function getFunctionParent(){return this.findParent(p=>p.isFunction())}function getStatementParent(){let path2=this;do{if(!path2.parentPath||Array.isArray(path2.container)&&path2.isStatement())break;path2=path2.parentPath;}while(path2);if(path2&&(path2.isProgram()||path2.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return path2}function getEarliestCommonAncestorFrom(paths){return this.getDeepestCommonAncestorFrom(paths,function(deepest,i,ancestries){let earliest,keys=VISITOR_KEYS[deepest.type];for(let ancestry of ancestries){let path2=ancestry[i+1];if(!earliest){earliest=path2;continue}if(path2.listKey&&earliest.listKey===path2.listKey&&path2.key<earliest.key){earliest=path2;continue}let earliestKeyIndex=keys.indexOf(earliest.parentKey),currentKeyIndex=keys.indexOf(path2.parentKey);earliestKeyIndex>currentKeyIndex&&(earliest=path2);}return earliest})}function getDeepestCommonAncestorFrom(paths,filter){if(!paths.length)return this;if(paths.length===1)return paths[0];let minDepth=1/0,lastCommonIndex,lastCommon,ancestries=paths.map(path2=>{let ancestry=[];do ancestry.unshift(path2);while((path2=path2.parentPath)&&path2!==this);return ancestry.length<minDepth&&(minDepth=ancestry.length),ancestry}),first=ancestries[0];depthLoop:for(let i=0;i<minDepth;i++){let shouldMatch=first[i];for(let ancestry of ancestries)if(ancestry[i]!==shouldMatch)break depthLoop;lastCommonIndex=i,lastCommon=shouldMatch;}if(lastCommon)return filter?filter(lastCommon,lastCommonIndex,ancestries):lastCommon;throw new Error("Couldn't find intersection")}function getAncestry(){let path2=this,paths=[];do paths.push(path2);while(path2=path2.parentPath);return paths}function isAncestor(maybeDescendant){return maybeDescendant.isDescendant(this)}function isDescendant(maybeAncestor){return !!this.findParent(parent=>parent===maybeAncestor)}function inType(...candidateTypes){let path2=this;for(;path2;){for(let type of candidateTypes)if(path2.node.type===type)return !0;path2=path2.parentPath;}return !1}}});var require_util4=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/util.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.createUnionType=createUnionType;var _t=require_lib11(),{createFlowUnionType,createTSUnionType,createUnionTypeAnnotation,isFlowType,isTSType}=_t;function createUnionType(types){{if(types.every(v=>isFlowType(v)))return createFlowUnionType?createFlowUnionType(types):createUnionTypeAnnotation(types);if(types.every(v=>isTSType(v))&&createTSUnionType)return createTSUnionType(types)}}}});var require_inferer_reference=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=_default;var _t=require_lib11(),_util=require_util4(),{BOOLEAN_NUMBER_BINARY_OPERATORS,createTypeAnnotationBasedOnTypeof,numberTypeAnnotation,voidTypeAnnotation}=_t;function _default(node){if(!this.isReferenced())return;let binding=this.scope.getBinding(node.name);if(binding)return binding.identifier.typeAnnotation?binding.identifier.typeAnnotation:getTypeAnnotationBindingConstantViolations(binding,this,node.name);if(node.name==="undefined")return voidTypeAnnotation();if(node.name==="NaN"||node.name==="Infinity")return numberTypeAnnotation();node.name;}function getTypeAnnotationBindingConstantViolations(binding,path2,name){let types=[],functionConstantViolations=[],constantViolations=getConstantViolationsBefore(binding,path2,functionConstantViolations),testType=getConditionalAnnotation(binding,path2,name);if(testType){let testConstantViolations=getConstantViolationsBefore(binding,testType.ifStatement);constantViolations=constantViolations.filter(path3=>testConstantViolations.indexOf(path3)<0),types.push(testType.typeAnnotation);}if(constantViolations.length){constantViolations.push(...functionConstantViolations);for(let violation of constantViolations)types.push(violation.getTypeAnnotation());}if(types.length)return (0, _util.createUnionType)(types)}function getConstantViolationsBefore(binding,path2,functions){let violations=binding.constantViolations.slice();return violations.unshift(binding.path),violations.filter(violation=>{violation=violation.resolve();let status=violation._guessExecutionStatusRelativeTo(path2);return functions&&status==="unknown"&&functions.push(violation),status==="before"})}function inferAnnotationFromBinaryExpression(name,path2){let operator=path2.node.operator,right=path2.get("right").resolve(),left=path2.get("left").resolve(),target;if(left.isIdentifier({name})?target=right:right.isIdentifier({name})&&(target=left),target)return operator==="==="?target.getTypeAnnotation():BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(operator)>=0?numberTypeAnnotation():void 0;if(operator!=="==="&&operator!=="==")return;let typeofPath,typePath;if(left.isUnaryExpression({operator:"typeof"})?(typeofPath=left,typePath=right):right.isUnaryExpression({operator:"typeof"})&&(typeofPath=right,typePath=left),!typeofPath||!typeofPath.get("argument").isIdentifier({name})||(typePath=typePath.resolve(),!typePath.isLiteral()))return;let typeValue=typePath.node.value;if(typeof typeValue=="string")return createTypeAnnotationBasedOnTypeof(typeValue)}function getParentConditionalPath(binding,path2,name){let parentPath;for(;parentPath=path2.parentPath;){if(parentPath.isIfStatement()||parentPath.isConditionalExpression())return path2.key==="test"?void 0:parentPath;if(parentPath.isFunction()&&parentPath.parentPath.scope.getBinding(name)!==binding)return;path2=parentPath;}}function getConditionalAnnotation(binding,path2,name){let ifStatement=getParentConditionalPath(binding,path2,name);if(!ifStatement)return;let paths=[ifStatement.get("test")],types=[];for(let i=0;i<paths.length;i++){let path3=paths[i];if(path3.isLogicalExpression())path3.node.operator==="&&"&&(paths.push(path3.get("left")),paths.push(path3.get("right")));else if(path3.isBinaryExpression()){let type=inferAnnotationFromBinaryExpression(name,path3);type&&types.push(type);}}return types.length?{typeAnnotation:(0, _util.createUnionType)(types),ifStatement}:getConditionalAnnotation(binding,ifStatement,name)}}});var require_inferers=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/inferers.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.ArrayExpression=ArrayExpression;exports.AssignmentExpression=AssignmentExpression;exports.BinaryExpression=BinaryExpression;exports.BooleanLiteral=BooleanLiteral;exports.CallExpression=CallExpression;exports.ConditionalExpression=ConditionalExpression;exports.ClassDeclaration=exports.ClassExpression=exports.FunctionDeclaration=exports.ArrowFunctionExpression=exports.FunctionExpression=Func;Object.defineProperty(exports,"Identifier",{enumerable:!0,get:function(){return _infererReference.default}});exports.LogicalExpression=LogicalExpression;exports.NewExpression=NewExpression;exports.NullLiteral=NullLiteral;exports.NumericLiteral=NumericLiteral;exports.ObjectExpression=ObjectExpression;exports.ParenthesizedExpression=ParenthesizedExpression;exports.RegExpLiteral=RegExpLiteral;exports.RestElement=RestElement;exports.SequenceExpression=SequenceExpression;exports.StringLiteral=StringLiteral;exports.TSAsExpression=TSAsExpression;exports.TSNonNullExpression=TSNonNullExpression;exports.TaggedTemplateExpression=TaggedTemplateExpression;exports.TemplateLiteral=TemplateLiteral;exports.TypeCastExpression=TypeCastExpression;exports.UnaryExpression=UnaryExpression;exports.UpdateExpression=UpdateExpression;exports.VariableDeclarator=VariableDeclarator;var _t=require_lib11(),_infererReference=require_inferer_reference(),_util=require_util4(),{BOOLEAN_BINARY_OPERATORS,BOOLEAN_UNARY_OPERATORS,NUMBER_BINARY_OPERATORS,NUMBER_UNARY_OPERATORS,STRING_UNARY_OPERATORS,anyTypeAnnotation,arrayTypeAnnotation,booleanTypeAnnotation,buildMatchMemberExpression,genericTypeAnnotation,identifier,nullLiteralTypeAnnotation,numberTypeAnnotation,stringTypeAnnotation,tupleTypeAnnotation,unionTypeAnnotation,voidTypeAnnotation,isIdentifier}=_t;function VariableDeclarator(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function TypeCastExpression(node){return node.typeAnnotation}TypeCastExpression.validParent=!0;function TSAsExpression(node){return node.typeAnnotation}TSAsExpression.validParent=!0;function TSNonNullExpression(){return this.get("expression").getTypeAnnotation()}function NewExpression(node){if(node.callee.type==="Identifier")return genericTypeAnnotation(node.callee)}function TemplateLiteral(){return stringTypeAnnotation()}function UnaryExpression(node){let operator=node.operator;if(operator==="void")return voidTypeAnnotation();if(NUMBER_UNARY_OPERATORS.indexOf(operator)>=0)return numberTypeAnnotation();if(STRING_UNARY_OPERATORS.indexOf(operator)>=0)return stringTypeAnnotation();if(BOOLEAN_UNARY_OPERATORS.indexOf(operator)>=0)return booleanTypeAnnotation()}function BinaryExpression(node){let operator=node.operator;if(NUMBER_BINARY_OPERATORS.indexOf(operator)>=0)return numberTypeAnnotation();if(BOOLEAN_BINARY_OPERATORS.indexOf(operator)>=0)return booleanTypeAnnotation();if(operator==="+"){let right=this.get("right"),left=this.get("left");return left.isBaseType("number")&&right.isBaseType("number")?numberTypeAnnotation():left.isBaseType("string")||right.isBaseType("string")?stringTypeAnnotation():unionTypeAnnotation([stringTypeAnnotation(),numberTypeAnnotation()])}}function LogicalExpression(){let argumentTypes=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return (0, _util.createUnionType)(argumentTypes)}function ConditionalExpression(){let argumentTypes=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return (0, _util.createUnionType)(argumentTypes)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(node){let operator=node.operator;if(operator==="++"||operator==="--")return numberTypeAnnotation()}function StringLiteral(){return stringTypeAnnotation()}function NumericLiteral(){return numberTypeAnnotation()}function BooleanLiteral(){return booleanTypeAnnotation()}function NullLiteral(){return nullLiteralTypeAnnotation()}function RegExpLiteral(){return genericTypeAnnotation(identifier("RegExp"))}function ObjectExpression(){return genericTypeAnnotation(identifier("Object"))}function ArrayExpression(){return genericTypeAnnotation(identifier("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=!0;function Func(){return genericTypeAnnotation(identifier("Function"))}var isArrayFrom=buildMatchMemberExpression("Array.from"),isObjectKeys=buildMatchMemberExpression("Object.keys"),isObjectValues=buildMatchMemberExpression("Object.values"),isObjectEntries=buildMatchMemberExpression("Object.entries");function CallExpression(){let{callee}=this.node;return isObjectKeys(callee)?arrayTypeAnnotation(stringTypeAnnotation()):isArrayFrom(callee)||isObjectValues(callee)||isIdentifier(callee,{name:"Array"})?arrayTypeAnnotation(anyTypeAnnotation()):isObjectEntries(callee)?arrayTypeAnnotation(tupleTypeAnnotation([stringTypeAnnotation(),anyTypeAnnotation()])):resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(callee){if(callee=callee.resolve(),callee.isFunction()){let{node}=callee;if(node.async)return node.generator?genericTypeAnnotation(identifier("AsyncIterator")):genericTypeAnnotation(identifier("Promise"));if(node.generator)return genericTypeAnnotation(identifier("Iterator"));if(callee.node.returnType)return callee.node.returnType}}}});var require_inference=__commonJS({"../../node_modules/@babel/traverse/lib/path/inference/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports._getTypeAnnotation=_getTypeAnnotation;exports.baseTypeStrictlyMatches=baseTypeStrictlyMatches;exports.couldBeBaseType=couldBeBaseType;exports.getTypeAnnotation=getTypeAnnotation;exports.isBaseType=isBaseType;exports.isGenericType=isGenericType;var inferers=require_inferers(),_t=require_lib11(),{anyTypeAnnotation,isAnyTypeAnnotation,isArrayTypeAnnotation,isBooleanTypeAnnotation,isEmptyTypeAnnotation,isFlowBaseAnnotation,isGenericTypeAnnotation,isIdentifier,isMixedTypeAnnotation,isNumberTypeAnnotation,isStringTypeAnnotation,isTSArrayType,isTSTypeAnnotation,isTSTypeReference,isTupleTypeAnnotation,isTypeAnnotation,isUnionTypeAnnotation,isVoidTypeAnnotation,stringTypeAnnotation,voidTypeAnnotation}=_t;function getTypeAnnotation(){let type=this.getData("typeAnnotation");return type!=null||(type=this._getTypeAnnotation()||anyTypeAnnotation(),(isTypeAnnotation(type)||isTSTypeAnnotation(type))&&(type=type.typeAnnotation),this.setData("typeAnnotation",type)),type}var typeAnnotationInferringNodes=new WeakSet;function _getTypeAnnotation(){let node=this.node;if(!node)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let declar=this.parentPath.parentPath,declarParent=declar.parentPath;return declar.key==="left"&&declarParent.isForInStatement()?stringTypeAnnotation():declar.key==="left"&&declarParent.isForOfStatement()?anyTypeAnnotation():voidTypeAnnotation()}else return;if(node.typeAnnotation)return node.typeAnnotation;if(!typeAnnotationInferringNodes.has(node)){typeAnnotationInferringNodes.add(node);try{var _inferer;let inferer=inferers[node.type];if(inferer)return inferer.call(this,node);if(inferer=inferers[this.parentPath.type],(_inferer=inferer)!=null&&_inferer.validParent)return this.parentPath.getTypeAnnotation()}finally{typeAnnotationInferringNodes.delete(node);}}}function isBaseType(baseName,soft){return _isBaseType(baseName,this.getTypeAnnotation(),soft)}function _isBaseType(baseName,type,soft){if(baseName==="string")return isStringTypeAnnotation(type);if(baseName==="number")return isNumberTypeAnnotation(type);if(baseName==="boolean")return isBooleanTypeAnnotation(type);if(baseName==="any")return isAnyTypeAnnotation(type);if(baseName==="mixed")return isMixedTypeAnnotation(type);if(baseName==="empty")return isEmptyTypeAnnotation(type);if(baseName==="void")return isVoidTypeAnnotation(type);if(soft)return !1;throw new Error(`Unknown base type ${baseName}`)}function couldBeBaseType(name){let type=this.getTypeAnnotation();if(isAnyTypeAnnotation(type))return !0;if(isUnionTypeAnnotation(type)){for(let type2 of type.types)if(isAnyTypeAnnotation(type2)||_isBaseType(name,type2,!0))return !0;return !1}else return _isBaseType(name,type,!0)}function baseTypeStrictlyMatches(rightArg){let left=this.getTypeAnnotation(),right=rightArg.getTypeAnnotation();return !isAnyTypeAnnotation(left)&&isFlowBaseAnnotation(left)?right.type===left.type:!1}function isGenericType(genericName){let type=this.getTypeAnnotation();return genericName==="Array"&&(isTSArrayType(type)||isArrayTypeAnnotation(type)||isTupleTypeAnnotation(type))?!0:isGenericTypeAnnotation(type)&&isIdentifier(type.id,{name:genericName})||isTSTypeReference(type)&&isIdentifier(type.typeName,{name:genericName})}}});var require_js_tokens=__commonJS({"../../node_modules/js-tokens/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;exports.matchToToken=function(match){var token={type:"invalid",value:match[0],closed:void 0};return match[1]?(token.type="string",token.closed=!!(match[3]||match[4])):match[5]?token.type="comment":match[6]?(token.type="comment",token.closed=!!match[7]):match[8]?token.type="regex":match[9]?token.type="number":match[10]?token.type="name":match[11]?token.type="punctuator":match[12]&&(token.type="whitespace"),token};}});var require_escape_string_regexp=__commonJS({"../../node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports,module){var matchOperatorsRe=/[|\\{}()[\]^$+*?.]/g;module.exports=function(str){if(typeof str!="string")throw new TypeError("Expected a string");return str.replace(matchOperatorsRe,"\\$&")};}});var require_color_name2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-name/index.js"(exports,module){module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-convert/conversions.js"(exports,module){var cssKeywords=require_color_name2(),reverseKeywords={};for(key in cssKeywords)cssKeywords.hasOwnProperty(key)&&(reverseKeywords[cssKeywords[key]]=key);var key,convert2=module.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(model in convert2)if(convert2.hasOwnProperty(model)){if(!("channels"in convert2[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert2[model]))throw new Error("missing channel labels property: "+model);if(convert2[model].labels.length!==convert2[model].channels)throw new Error("channel and label counts mismatch: "+model);channels=convert2[model].channels,labels=convert2[model].labels,delete convert2[model].channels,delete convert2[model].labels,Object.defineProperty(convert2[model],"channels",{value:channels}),Object.defineProperty(convert2[model],"labels",{value:labels});}var channels,labels,model;convert2.rgb.hsl=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min,h,s,l;return max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(h*60,360),h<0&&(h+=360),l=(min+max)/2,max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert2.rgb.hsv=function(rgb){var rdif,gdif,bdif,h,s,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return (v-c)/6/diff+1/2};return diff===0?h=s=0:(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v*100]};convert2.rgb.hwb=function(rgb){var r=rgb[0],g=rgb[1],b=rgb[2],h=convert2.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,w*100,b*100]};convert2.rgb.cmyk=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,c,m,y,k;return k=Math.min(1-r,1-g,1-b),c=(1-r-k)/(1-k)||0,m=(1-g-k)/(1-k)||0,y=(1-b-k)/(1-k)||0,[c*100,m*100,y*100,k*100]};function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert2.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;var currentClosestDistance=1/0,currentClosestKeyword;for(var keyword in cssKeywords)if(cssKeywords.hasOwnProperty(keyword)){var value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance<currentClosestDistance&&(currentClosestDistance=distance,currentClosestKeyword=keyword);}return currentClosestKeyword};convert2.keyword.rgb=function(keyword){return cssKeywords[keyword]};convert2.rgb.xyz=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92,b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92;var x=r*.4124+g*.3576+b*.1805,y=r*.2126+g*.7152+b*.0722,z=r*.0193+g*.1192+b*.9505;return [x*100,y*100,z*100]};convert2.rgb.lab=function(rgb){var xyz=convert2.rgb.xyz(rgb),x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.hsl.rgb=function(hsl){var h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t1,t2,t3,rgb,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s,t1=2*l-t2,rgb=[0,0,0];for(var i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert2.hsl.hsv=function(hsl){var h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01),sv,v;return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,v=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s),[h,sv*100,v*100]};convert2.hsv.rgb=function(hsv){var h=hsv[0]/60,s=hsv[1]/100,v=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return [v,t,p];case 1:return [q,v,p];case 2:return [p,v,t];case 3:return [p,q,v];case 4:return [t,p,v];case 5:return [v,p,q]}};convert2.hsv.hsl=function(hsv){var h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01),lmin,sl,l;return l=(2-s)*v,lmin=(2-s)*vmin,sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert2.hwb.rgb=function(hwb){var h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,i,v,f,n;ratio>1&&(wh/=ratio,bl/=ratio),i=Math.floor(6*h),v=1-bl,f=6*h-i,i&1&&(f=1-f),n=wh+f*(v-wh);var r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n;break}return [r*255,g*255,b*255]};convert2.cmyk.rgb=function(cmyk){var c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100,r,g,b;return r=1-Math.min(1,c*(1-k)+k),g=1-Math.min(1,m*(1-k)+k),b=1-Math.min(1,y*(1-k)+k),[r*255,g*255,b*255]};convert2.xyz.rgb=function(xyz){var x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100,r,g,b;return r=x*3.2406+y*-1.5372+z*-.4986,g=x*-.9689+y*1.8758+z*.0415,b=x*.0557+y*-.204+z*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:g*12.92,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:b*12.92,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[r*255,g*255,b*255]};convert2.xyz.lab=function(xyz){var x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.lab.xyz=function(lab){var l=lab[0],a=lab[1],b=lab[2],x,y,z;y=(l+16)/116,x=a/500+y,z=y-b/200;var y2=Math.pow(y,3),x2=Math.pow(x,3),z2=Math.pow(z,3);return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]};convert2.lab.lch=function(lab){var l=lab[0],a=lab[1],b=lab[2],hr,h,c;return hr=Math.atan2(b,a),h=hr*360/2/Math.PI,h<0&&(h+=360),c=Math.sqrt(a*a+b*b),[l,c,h]};convert2.lch.lab=function(lch){var l=lch[0],c=lch[1],h=lch[2],a,b,hr;return hr=h/360*2*Math.PI,a=c*Math.cos(hr),b=c*Math.sin(hr),[l,a,b]};convert2.rgb.ansi16=function(args){var r=args[0],g=args[1],b=args[2],value=1 in arguments?arguments[1]:convert2.rgb.hsv(args)[2];if(value=Math.round(value/50),value===0)return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert2.hsv.ansi16=function(args){return convert2.rgb.ansi16(convert2.hsv.rgb(args),args[2])};convert2.rgb.ansi256=function(args){var r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;var ansi=16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5);return ansi};convert2.ansi16.rgb=function(args){var color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];var mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g=(color>>1&1)*mult*255,b=(color>>2&1)*mult*255;return [r,g,b]};convert2.ansi256.rgb=function(args){if(args>=232){var c=(args-232)*10+8;return [c,c,c]}args-=16;var rem,r=Math.floor(args/36)/5*255,g=Math.floor((rem=args%36)/6)/5*255,b=rem%6/5*255;return [r,g,b]};convert2.rgb.hex=function(args){var integer=((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255),string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];var colorString=match[0];match[0].length===3&&(colorString=colorString.split("").map(function(char){return char+char}).join(""));var integer=parseInt(colorString,16),r=integer>>16&255,g=integer>>8&255,b=integer&255;return [r,g,b]};convert2.rgb.hcg=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g-b)/chroma%6:max===g?hue=2+(b-r)/chroma:hue=4+(r-g)/chroma+4,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert2.hsl.hcg=function(hsl){var s=hsl[1]/100,l=hsl[2]/100,c=1,f=0;return l<.5?c=2*s*l:c=2*s*(1-l),c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert2.hsv.hcg=function(hsv){var s=hsv[1]/100,v=hsv[2]/100,c=s*v,f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],c*100,f*100]};convert2.hcg.rgb=function(hcg){var h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(c===0)return [g*255,g*255,g*255];var pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert2.hcg.hsv=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c),f=0;return v>0&&(f=c/v),[hcg[0],f*100,v*100]};convert2.hcg.hsl=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,l=g*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert2.hcg.hwb=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c);return [hcg[0],(v-c)*100,(1-v)*100]};convert2.hwb.hcg=function(hwb){var w=hwb[1]/100,b=hwb[2]/100,v=1-b,c=v-w,g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],c*100,g*100]};convert2.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert2.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert2.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert2.gray.hsl=convert2.gray.hsv=function(args){return [0,0,args[0]]};convert2.gray.hwb=function(gray){return [0,100,gray[0]]};convert2.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert2.gray.lab=function(gray){return [gray[0],0,0]};convert2.gray.hex=function(gray){var val=Math.round(gray[0]/100*255)&255,integer=(val<<16)+(val<<8)+val,string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.rgb.gray=function(rgb){var val=(rgb[0]+rgb[1]+rgb[2])/3;return [val/255*100]};}});var require_route2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-convert/route.js"(exports,module){var conversions=require_conversions2();function buildGraph(){for(var graph={},models=Object.keys(conversions),len=models.length,i=0;i<len;i++)graph[models[i]]={distance:-1,parent:null};return graph}function deriveBFS(fromModel){var graph=buildGraph(),queue=[fromModel];for(graph[fromModel].distance=0;queue.length;)for(var current=queue.pop(),adjacents=Object.keys(conversions[current]),len=adjacents.length,i=0;i<len;i++){var adjacent=adjacents[i],node=graph[adjacent];node.distance===-1&&(node.distance=graph[current].distance+1,node.parent=current,queue.unshift(adjacent));}return graph}function link(from,to){return function(args){return to(from(args))}}function wrapConversion(toModel,graph){for(var path2=[graph[toModel].parent,toModel],fn=conversions[graph[toModel].parent][toModel],cur=graph[toModel].parent;graph[cur].parent;)path2.unshift(graph[cur].parent),fn=link(conversions[graph[cur].parent][cur],fn),cur=graph[cur].parent;return fn.conversion=path2,fn}module.exports=function(fromModel){for(var graph=deriveBFS(fromModel),conversion={},models=Object.keys(graph),len=models.length,i=0;i<len;i++){var toModel=models[i],node=graph[toModel];node.parent!==null&&(conversion[toModel]=wrapConversion(toModel,graph));}return conversion};}});var require_color_convert2=__commonJS({"../../node_modules/@babel/highlight/node_modules/color-convert/index.js"(exports,module){var conversions=require_conversions2(),route=require_route2(),convert2={},models=Object.keys(conversions);function wrapRaw(fn){var wrappedFn=function(args){return args==null?args:(arguments.length>1&&(args=Array.prototype.slice.call(arguments)),fn(args))};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}function wrapRounded(fn){var wrappedFn=function(args){if(args==null)return args;arguments.length>1&&(args=Array.prototype.slice.call(arguments));var result=fn(args);if(typeof result=="object")for(var len=result.length,i=0;i<len;i++)result[i]=Math.round(result[i]);return result};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}models.forEach(function(fromModel){convert2[fromModel]={},Object.defineProperty(convert2[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert2[fromModel],"labels",{value:conversions[fromModel].labels});var routes=route(fromModel),routeModels=Object.keys(routes);routeModels.forEach(function(toModel){var fn=routes[toModel];convert2[fromModel][toModel]=wrapRounded(fn),convert2[fromModel][toModel].raw=wrapRaw(fn);});});module.exports=convert2;}});var require_ansi_styles2=__commonJS({"../../node_modules/@babel/highlight/node_modules/ansi-styles/index.js"(exports,module){var colorConvert=require_color_convert2(),wrapAnsi16=(fn,offset)=>function(){return `\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){let code=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){let rgb=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],gray:[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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.grey=styles.color.gray;for(let groupName of Object.keys(styles)){let group=styles[groupName];for(let styleName of Object.keys(group)){let style=group[styleName];styles[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);}Object.defineProperty(styles,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles,"codes",{value:codes,enumerable:!1});}let ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles.color.close="\x1B[39m",styles.bgColor.close="\x1B[49m",styles.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;let suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10));}return styles}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles});}});var require_has_flag2=__commonJS({"../../node_modules/@babel/highlight/node_modules/has-flag/index.js"(exports,module){module.exports=(flag,argv)=>{argv=argv||process.argv;let prefix=flag.startsWith("-")?"":flag.length===1?"-":"--",pos=argv.indexOf(prefix+flag),terminatorPos=argv.indexOf("--");return pos!==-1&&(terminatorPos===-1?!0:pos<terminatorPos)};}});var require_supports_color2=__commonJS({"../../node_modules/@babel/highlight/node_modules/supports-color/index.js"(exports,module){var os=__require("os"),hasFlag=require_has_flag2(),env=process.env,forceColor;hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")?forceColor=!1:(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always"))&&(forceColor=!0);"FORCE_COLOR"in env&&(forceColor=env.FORCE_COLOR.length===0||parseInt(env.FORCE_COLOR,10)!==0);function translateLevel(level){return level===0?!1:{level,hasBasic:!0,has256:level>=2,has16m:level>=3}}function supportsColor(stream){if(forceColor===!1)return 0;if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor"))return 3;if(hasFlag("color=256"))return 2;if(stream&&!stream.isTTY&&forceColor!==!0)return 0;let min=forceColor?1:0;if(process.platform==="win32"){let osRelease=os.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(osRelease[0])>=10&&Number(osRelease[2])>=10586?Number(osRelease[2])>=14931?3:2:1}if("CI"in env)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(sign=>sign in env)||env.CI_NAME==="codeship"?1:min;if("TEAMCITY_VERSION"in env)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION)?1:0;if(env.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in env){let version=parseInt((env.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(env.TERM_PROGRAM){case"iTerm.app":return version>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(env.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)||"COLORTERM"in env?1:(env.TERM==="dumb",min)}function getSupportLevel(stream){let level=supportsColor(stream);return translateLevel(level)}module.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)};}});var require_templates2=__commonJS({"../../node_modules/@babel/highlight/node_modules/chalk/templates.js"(exports,module){var TEMPLATE_REGEX=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n",`
422
426
  `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function unescape(c){return c[0]==="u"&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):ESCAPES.get(c)||c}function parseArguments(name,args){let results=[],chunks=args.trim().split(/\s*,\s*/g),matches;for(let chunk of chunks)if(!isNaN(chunk))results.push(Number(chunk));else if(matches=chunk.match(STRING_REGEX))results.push(matches[2].replace(ESCAPE_REGEX,(m,escape,chr)=>escape?unescape(escape):chr));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches;for(;(matches=STYLE_REGEX.exec(style))!==null;){let name=matches[1];if(matches[2]){let args=parseArguments(name,matches[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk;for(let styleName of Object.keys(enabled))if(Array.isArray(enabled[styleName])){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);enabled[styleName].length>0?current=current[styleName].apply(current,enabled[styleName]):current=current[styleName];}return current}module.exports=(chalk,tmp)=>{let styles=[],chunks=[],chunk=[];if(tmp.replace(TEMPLATE_REGEX,(m,escapeChar,inverse,style,close,chr)=>{if(escapeChar)chunk.push(unescape(escapeChar));else if(style){let str=chunk.join("");chunk=[],chunks.push(styles.length===0?str:buildStyle(chalk,styles)(str)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk,styles)(chunk.join(""))),chunk=[],styles.pop();}else chunk.push(chr);}),chunks.push(chunk.join("")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?"":"s"} (\`}\`)`;throw new Error(errMsg)}return chunks.join("")};}});var require_chalk=__commonJS({"../../node_modules/@babel/highlight/node_modules/chalk/index.js"(exports,module){var escapeStringRegexp=require_escape_string_regexp(),ansiStyles=require_ansi_styles2(),stdoutColor=require_supports_color2().stdout,template=require_templates2(),isSimpleWindowsTerm=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),levelMapping=["ansi","ansi","ansi256","ansi16m"],skipModels=new Set(["gray"]),styles=Object.create(null);function applyOptions(obj,options){options=options||{};let scLevel=stdoutColor?stdoutColor.level:0;obj.level=options.level===void 0?scLevel:options.level,obj.enabled="enabled"in options?options.enabled:obj.level>0;}function Chalk(options){if(!this||!(this instanceof Chalk)||this.template){let chalk={};return applyOptions(chalk,options),chalk.template=function(){let args=[].slice.call(arguments);return chalkTag.apply(null,[chalk.template].concat(args))},Object.setPrototypeOf(chalk,Chalk.prototype),Object.setPrototypeOf(chalk.template,chalk),chalk.template.constructor=Chalk,chalk.template}applyOptions(this,options);}isSimpleWindowsTerm&&(ansiStyles.blue.open="\x1B[94m");for(let key of Object.keys(ansiStyles))ansiStyles[key].closeRe=new RegExp(escapeStringRegexp(ansiStyles[key].close),"g"),styles[key]={get(){let codes=ansiStyles[key];return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,key)}};styles.visible={get(){return build.call(this,this._styles||[],!0,"visible")}};ansiStyles.color.closeRe=new RegExp(escapeStringRegexp(ansiStyles.color.close),"g");for(let model of Object.keys(ansiStyles.color.ansi))skipModels.has(model)||(styles[model]={get(){let level=this.level;return function(){let codes={open:ansiStyles.color[levelMapping[level]][model].apply(null,arguments),close:ansiStyles.color.close,closeRe:ansiStyles.color.closeRe};return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,model)}}});ansiStyles.bgColor.closeRe=new RegExp(escapeStringRegexp(ansiStyles.bgColor.close),"g");for(let model of Object.keys(ansiStyles.bgColor.ansi)){if(skipModels.has(model))continue;let bgModel="bg"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let level=this.level;return function(){let codes={open:ansiStyles.bgColor[levelMapping[level]][model].apply(null,arguments),close:ansiStyles.bgColor.close,closeRe:ansiStyles.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,model)}}};}var proto=Object.defineProperties(()=>{},styles);function build(_styles,_empty,key){let builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=_styles,builder._empty=_empty;let self2=this;return Object.defineProperty(builder,"level",{enumerable:!0,get(){return self2.level},set(level){self2.level=level;}}),Object.defineProperty(builder,"enabled",{enumerable:!0,get(){return self2.enabled},set(enabled){self2.enabled=enabled;}}),builder.hasGrey=this.hasGrey||key==="gray"||key==="grey",builder.__proto__=proto,builder}function applyStyle(){let args=arguments,argsLen=args.length,str=String(arguments[0]);if(argsLen===0)return "";if(argsLen>1)for(let a=1;a<argsLen;a++)str+=" "+args[a];if(!this.enabled||this.level<=0||!str)return this._empty?"":str;let originalDim=ansiStyles.dim.open;isSimpleWindowsTerm&&this.hasGrey&&(ansiStyles.dim.open="");for(let code of this._styles.slice().reverse())str=code.open+str.replace(code.closeRe,code.open)+code.close,str=str.replace(/\r?\n/g,`${code.close}$&${code.open}`);return ansiStyles.dim.open=originalDim,str}function chalkTag(chalk,strings){if(!Array.isArray(strings))return [].slice.call(arguments,1).join(" ");let args=[].slice.call(arguments,2),parts=[strings.raw[0]];for(let i=1;i<strings.length;i++)parts.push(String(args[i-1]).replace(/[{}\\]/g,"\\$&")),parts.push(String(strings.raw[i]));return template(chalk,parts.join(""))}Object.defineProperties(Chalk.prototype,styles);module.exports=Chalk();module.exports.supportsColor=stdoutColor;module.exports.default=module.exports;}});var require_lib15=__commonJS({"../../node_modules/@babel/highlight/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.default=highlight;exports.shouldHighlight=shouldHighlight;var _jsTokens=require_js_tokens(),_helperValidatorIdentifier=require_lib9(),_chalk=_interopRequireWildcard(require_chalk(),!0);function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return (_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return {default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n}var sometimesKeywords=new Set(["as","async","from","get","of","set"]);function getDefs(chalk){return {keyword:chalk.cyan,capitalized:chalk.yellow,jsxIdentifier:chalk.yellow,punctuator:chalk.yellow,number:chalk.magenta,string:chalk.green,regex:chalk.magenta,comment:chalk.grey,invalid:chalk.white.bgRed.bold}}var NEWLINE=/\r\n|[\n\r\u2028\u2029]/,BRACKET=/^[()[\]{}]$/,tokenize;{let JSX_TAG=/^[a-z][\w-]*$/i,getTokenType=function(token,offset,text){if(token.type==="name"){if((0, _helperValidatorIdentifier.isKeyword)(token.value)||(0, _helperValidatorIdentifier.isStrictReservedWord)(token.value,!0)||sometimesKeywords.has(token.value))return "keyword";if(JSX_TAG.test(token.value)&&(text[offset-1]==="<"||text.slice(offset-2,offset)=="</"))return "jsxIdentifier";if(token.value[0]!==token.value[0].toLowerCase())return "capitalized"}return token.type==="punctuator"&&BRACKET.test(token.value)?"bracket":token.type==="invalid"&&(token.value==="@"||token.value==="#")?"punctuator":token.type};tokenize=function*(text){let match;for(;match=_jsTokens.default.exec(text);){let token=_jsTokens.matchToToken(match);yield {type:getTokenType(token,match.index,text),value:token.value};}};}function highlightTokens(defs,text){let highlighted="";for(let{type,value}of tokenize(text)){let colorize=defs[type];colorize?highlighted+=value.split(NEWLINE).map(str=>colorize(str)).join(`
423
- `):highlighted+=value;}return highlighted}function shouldHighlight(options){return _chalk.default.level>0||options.forceColor}var chalkWithForcedColor;function getChalk(forceColor){if(forceColor){return (chalkWithForcedColor)!=null||(chalkWithForcedColor=new _chalk.default.constructor({enabled:!0,level:1})),chalkWithForcedColor}return _chalk.default}exports.getChalk=options=>getChalk(options.forceColor);function highlight(code,options={}){if(code!==""&&shouldHighlight(options)){let defs=getDefs(getChalk(options.forceColor));return highlightTokens(defs,code)}else return code}}});var require_color_name3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-name/index.js"(exports,module){module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-convert/conversions.js"(exports,module){var cssKeywords=require_color_name3(),reverseKeywords={};for(key in cssKeywords)cssKeywords.hasOwnProperty(key)&&(reverseKeywords[cssKeywords[key]]=key);var key,convert2=module.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(model in convert2)if(convert2.hasOwnProperty(model)){if(!("channels"in convert2[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert2[model]))throw new Error("missing channel labels property: "+model);if(convert2[model].labels.length!==convert2[model].channels)throw new Error("channel and label counts mismatch: "+model);channels=convert2[model].channels,labels=convert2[model].labels,delete convert2[model].channels,delete convert2[model].labels,Object.defineProperty(convert2[model],"channels",{value:channels}),Object.defineProperty(convert2[model],"labels",{value:labels});}var channels,labels,model;convert2.rgb.hsl=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min,h,s,l;return max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(h*60,360),h<0&&(h+=360),l=(min+max)/2,max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert2.rgb.hsv=function(rgb){var rdif,gdif,bdif,h,s,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return (v-c)/6/diff+1/2};return diff===0?h=s=0:(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v*100]};convert2.rgb.hwb=function(rgb){var r=rgb[0],g=rgb[1],b=rgb[2],h=convert2.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,w*100,b*100]};convert2.rgb.cmyk=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,c,m,y,k;return k=Math.min(1-r,1-g,1-b),c=(1-r-k)/(1-k)||0,m=(1-g-k)/(1-k)||0,y=(1-b-k)/(1-k)||0,[c*100,m*100,y*100,k*100]};function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert2.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;var currentClosestDistance=1/0,currentClosestKeyword;for(var keyword in cssKeywords)if(cssKeywords.hasOwnProperty(keyword)){var value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance<currentClosestDistance&&(currentClosestDistance=distance,currentClosestKeyword=keyword);}return currentClosestKeyword};convert2.keyword.rgb=function(keyword){return cssKeywords[keyword]};convert2.rgb.xyz=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92,b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92;var x=r*.4124+g*.3576+b*.1805,y=r*.2126+g*.7152+b*.0722,z=r*.0193+g*.1192+b*.9505;return [x*100,y*100,z*100]};convert2.rgb.lab=function(rgb){var xyz=convert2.rgb.xyz(rgb),x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.hsl.rgb=function(hsl){var h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t1,t2,t3,rgb,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s,t1=2*l-t2,rgb=[0,0,0];for(var i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert2.hsl.hsv=function(hsl){var h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01),sv,v;return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,v=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s),[h,sv*100,v*100]};convert2.hsv.rgb=function(hsv){var h=hsv[0]/60,s=hsv[1]/100,v=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return [v,t,p];case 1:return [q,v,p];case 2:return [p,v,t];case 3:return [p,q,v];case 4:return [t,p,v];case 5:return [v,p,q]}};convert2.hsv.hsl=function(hsv){var h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01),lmin,sl,l;return l=(2-s)*v,lmin=(2-s)*vmin,sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert2.hwb.rgb=function(hwb){var h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,i,v,f,n;ratio>1&&(wh/=ratio,bl/=ratio),i=Math.floor(6*h),v=1-bl,f=6*h-i,i&1&&(f=1-f),n=wh+f*(v-wh);var r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n;break}return [r*255,g*255,b*255]};convert2.cmyk.rgb=function(cmyk){var c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100,r,g,b;return r=1-Math.min(1,c*(1-k)+k),g=1-Math.min(1,m*(1-k)+k),b=1-Math.min(1,y*(1-k)+k),[r*255,g*255,b*255]};convert2.xyz.rgb=function(xyz){var x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100,r,g,b;return r=x*3.2406+y*-1.5372+z*-.4986,g=x*-.9689+y*1.8758+z*.0415,b=x*.0557+y*-.204+z*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:g*12.92,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:b*12.92,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[r*255,g*255,b*255]};convert2.xyz.lab=function(xyz){var x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.lab.xyz=function(lab){var l=lab[0],a=lab[1],b=lab[2],x,y,z;y=(l+16)/116,x=a/500+y,z=y-b/200;var y2=Math.pow(y,3),x2=Math.pow(x,3),z2=Math.pow(z,3);return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]};convert2.lab.lch=function(lab){var l=lab[0],a=lab[1],b=lab[2],hr,h,c;return hr=Math.atan2(b,a),h=hr*360/2/Math.PI,h<0&&(h+=360),c=Math.sqrt(a*a+b*b),[l,c,h]};convert2.lch.lab=function(lch){var l=lch[0],c=lch[1],h=lch[2],a,b,hr;return hr=h/360*2*Math.PI,a=c*Math.cos(hr),b=c*Math.sin(hr),[l,a,b]};convert2.rgb.ansi16=function(args){var r=args[0],g=args[1],b=args[2],value=1 in arguments?arguments[1]:convert2.rgb.hsv(args)[2];if(value=Math.round(value/50),value===0)return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert2.hsv.ansi16=function(args){return convert2.rgb.ansi16(convert2.hsv.rgb(args),args[2])};convert2.rgb.ansi256=function(args){var r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;var ansi=16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5);return ansi};convert2.ansi16.rgb=function(args){var color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];var mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g=(color>>1&1)*mult*255,b=(color>>2&1)*mult*255;return [r,g,b]};convert2.ansi256.rgb=function(args){if(args>=232){var c=(args-232)*10+8;return [c,c,c]}args-=16;var rem,r=Math.floor(args/36)/5*255,g=Math.floor((rem=args%36)/6)/5*255,b=rem%6/5*255;return [r,g,b]};convert2.rgb.hex=function(args){var integer=((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255),string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];var colorString=match[0];match[0].length===3&&(colorString=colorString.split("").map(function(char){return char+char}).join(""));var integer=parseInt(colorString,16),r=integer>>16&255,g=integer>>8&255,b=integer&255;return [r,g,b]};convert2.rgb.hcg=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g-b)/chroma%6:max===g?hue=2+(b-r)/chroma:hue=4+(r-g)/chroma+4,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert2.hsl.hcg=function(hsl){var s=hsl[1]/100,l=hsl[2]/100,c=1,f=0;return l<.5?c=2*s*l:c=2*s*(1-l),c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert2.hsv.hcg=function(hsv){var s=hsv[1]/100,v=hsv[2]/100,c=s*v,f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],c*100,f*100]};convert2.hcg.rgb=function(hcg){var h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(c===0)return [g*255,g*255,g*255];var pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert2.hcg.hsv=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c),f=0;return v>0&&(f=c/v),[hcg[0],f*100,v*100]};convert2.hcg.hsl=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,l=g*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert2.hcg.hwb=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c);return [hcg[0],(v-c)*100,(1-v)*100]};convert2.hwb.hcg=function(hwb){var w=hwb[1]/100,b=hwb[2]/100,v=1-b,c=v-w,g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],c*100,g*100]};convert2.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert2.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert2.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert2.gray.hsl=convert2.gray.hsv=function(args){return [0,0,args[0]]};convert2.gray.hwb=function(gray){return [0,100,gray[0]]};convert2.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert2.gray.lab=function(gray){return [gray[0],0,0]};convert2.gray.hex=function(gray){var val=Math.round(gray[0]/100*255)&255,integer=(val<<16)+(val<<8)+val,string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.rgb.gray=function(rgb){var val=(rgb[0]+rgb[1]+rgb[2])/3;return [val/255*100]};}});var require_route3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-convert/route.js"(exports,module){var conversions=require_conversions3();function buildGraph(){for(var graph={},models=Object.keys(conversions),len=models.length,i=0;i<len;i++)graph[models[i]]={distance:-1,parent:null};return graph}function deriveBFS(fromModel){var graph=buildGraph(),queue=[fromModel];for(graph[fromModel].distance=0;queue.length;)for(var current=queue.pop(),adjacents=Object.keys(conversions[current]),len=adjacents.length,i=0;i<len;i++){var adjacent=adjacents[i],node=graph[adjacent];node.distance===-1&&(node.distance=graph[current].distance+1,node.parent=current,queue.unshift(adjacent));}return graph}function link(from,to){return function(args){return to(from(args))}}function wrapConversion(toModel,graph){for(var path2=[graph[toModel].parent,toModel],fn=conversions[graph[toModel].parent][toModel],cur=graph[toModel].parent;graph[cur].parent;)path2.unshift(graph[cur].parent),fn=link(conversions[graph[cur].parent][cur],fn),cur=graph[cur].parent;return fn.conversion=path2,fn}module.exports=function(fromModel){for(var graph=deriveBFS(fromModel),conversion={},models=Object.keys(graph),len=models.length,i=0;i<len;i++){var toModel=models[i],node=graph[toModel];node.parent!==null&&(conversion[toModel]=wrapConversion(toModel,graph));}return conversion};}});var require_color_convert3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-convert/index.js"(exports,module){var conversions=require_conversions3(),route=require_route3(),convert2={},models=Object.keys(conversions);function wrapRaw(fn){var wrappedFn=function(args){return args==null?args:(arguments.length>1&&(args=Array.prototype.slice.call(arguments)),fn(args))};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}function wrapRounded(fn){var wrappedFn=function(args){if(args==null)return args;arguments.length>1&&(args=Array.prototype.slice.call(arguments));var result=fn(args);if(typeof result=="object")for(var len=result.length,i=0;i<len;i++)result[i]=Math.round(result[i]);return result};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}models.forEach(function(fromModel){convert2[fromModel]={},Object.defineProperty(convert2[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert2[fromModel],"labels",{value:conversions[fromModel].labels});var routes=route(fromModel),routeModels=Object.keys(routes);routeModels.forEach(function(toModel){var fn=routes[toModel];convert2[fromModel][toModel]=wrapRounded(fn),convert2[fromModel][toModel].raw=wrapRaw(fn);});});module.exports=convert2;}});var require_ansi_styles3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/ansi-styles/index.js"(exports,module){var colorConvert=require_color_convert3(),wrapAnsi16=(fn,offset)=>function(){return `\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){let code=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){let rgb=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],gray:[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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.grey=styles.color.gray;for(let groupName of Object.keys(styles)){let group=styles[groupName];for(let styleName of Object.keys(group)){let style=group[styleName];styles[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);}Object.defineProperty(styles,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles,"codes",{value:codes,enumerable:!1});}let ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles.color.close="\x1B[39m",styles.bgColor.close="\x1B[49m",styles.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;let suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10));}return styles}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles});}});var require_has_flag3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/has-flag/index.js"(exports,module){module.exports=(flag,argv)=>{argv=argv||process.argv;let prefix=flag.startsWith("-")?"":flag.length===1?"-":"--",pos=argv.indexOf(prefix+flag),terminatorPos=argv.indexOf("--");return pos!==-1&&(terminatorPos===-1?!0:pos<terminatorPos)};}});var require_supports_color3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/supports-color/index.js"(exports,module){var os=__require("os"),hasFlag=require_has_flag3(),env=process.env,forceColor;hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")?forceColor=!1:(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always"))&&(forceColor=!0);"FORCE_COLOR"in env&&(forceColor=env.FORCE_COLOR.length===0||parseInt(env.FORCE_COLOR,10)!==0);function translateLevel(level){return level===0?!1:{level,hasBasic:!0,has256:level>=2,has16m:level>=3}}function supportsColor(stream){if(forceColor===!1)return 0;if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor"))return 3;if(hasFlag("color=256"))return 2;if(stream&&!stream.isTTY&&forceColor!==!0)return 0;let min=forceColor?1:0;if(process.platform==="win32"){let osRelease=os.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(osRelease[0])>=10&&Number(osRelease[2])>=10586?Number(osRelease[2])>=14931?3:2:1}if("CI"in env)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(sign=>sign in env)||env.CI_NAME==="codeship"?1:min;if("TEAMCITY_VERSION"in env)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION)?1:0;if(env.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in env){let version=parseInt((env.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(env.TERM_PROGRAM){case"iTerm.app":return version>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(env.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)||"COLORTERM"in env?1:(env.TERM==="dumb",min)}function getSupportLevel(stream){let level=supportsColor(stream);return translateLevel(level)}module.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)};}});var require_templates3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/chalk/templates.js"(exports,module){var TEMPLATE_REGEX=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n",`
424
- `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function unescape(c){return c[0]==="u"&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):ESCAPES.get(c)||c}function parseArguments(name,args){let results=[],chunks=args.trim().split(/\s*,\s*/g),matches;for(let chunk of chunks)if(!isNaN(chunk))results.push(Number(chunk));else if(matches=chunk.match(STRING_REGEX))results.push(matches[2].replace(ESCAPE_REGEX,(m,escape,chr)=>escape?unescape(escape):chr));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches;for(;(matches=STYLE_REGEX.exec(style))!==null;){let name=matches[1];if(matches[2]){let args=parseArguments(name,matches[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk;for(let styleName of Object.keys(enabled))if(Array.isArray(enabled[styleName])){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);enabled[styleName].length>0?current=current[styleName].apply(current,enabled[styleName]):current=current[styleName];}return current}module.exports=(chalk,tmp)=>{let styles=[],chunks=[],chunk=[];if(tmp.replace(TEMPLATE_REGEX,(m,escapeChar,inverse,style,close,chr)=>{if(escapeChar)chunk.push(unescape(escapeChar));else if(style){let str=chunk.join("");chunk=[],chunks.push(styles.length===0?str:buildStyle(chalk,styles)(str)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk,styles)(chunk.join(""))),chunk=[],styles.pop();}else chunk.push(chr);}),chunks.push(chunk.join("")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?"":"s"} (\`}\`)`;throw new Error(errMsg)}return chunks.join("")};}});var require_chalk2=__commonJS({"../../node_modules/@babel/code-frame/node_modules/chalk/index.js"(exports,module){var escapeStringRegexp=require_escape_string_regexp(),ansiStyles=require_ansi_styles3(),stdoutColor=require_supports_color3().stdout,template=require_templates3(),isSimpleWindowsTerm=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),levelMapping=["ansi","ansi","ansi256","ansi16m"],skipModels=new Set(["gray"]),styles=Object.create(null);function applyOptions(obj,options){options=options||{};let scLevel=stdoutColor?stdoutColor.level:0;obj.level=options.level===void 0?scLevel:options.level,obj.enabled="enabled"in options?options.enabled:obj.level>0;}function Chalk(options){if(!this||!(this instanceof Chalk)||this.template){let chalk={};return applyOptions(chalk,options),chalk.template=function(){let args=[].slice.call(arguments);return chalkTag.apply(null,[chalk.template].concat(args))},Object.setPrototypeOf(chalk,Chalk.prototype),Object.setPrototypeOf(chalk.template,chalk),chalk.template.constructor=Chalk,chalk.template}applyOptions(this,options);}isSimpleWindowsTerm&&(ansiStyles.blue.open="\x1B[94m");for(let key of Object.keys(ansiStyles))ansiStyles[key].closeRe=new RegExp(escapeStringRegexp(ansiStyles[key].close),"g"),styles[key]={get(){let codes=ansiStyles[key];return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,key)}};styles.visible={get(){return build.call(this,this._styles||[],!0,"visible")}};ansiStyles.color.closeRe=new RegExp(escapeStringRegexp(ansiStyles.color.close),"g");for(let model of Object.keys(ansiStyles.color.ansi))skipModels.has(model)||(styles[model]={get(){let level=this.level;return function(){let codes={open:ansiStyles.color[levelMapping[level]][model].apply(null,arguments),close:ansiStyles.color.close,closeRe:ansiStyles.color.closeRe};return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,model)}}});ansiStyles.bgColor.closeRe=new RegExp(escapeStringRegexp(ansiStyles.bgColor.close),"g");for(let model of Object.keys(ansiStyles.bgColor.ansi)){if(skipModels.has(model))continue;let bgModel="bg"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let level=this.level;return function(){let codes={open:ansiStyles.bgColor[levelMapping[level]][model].apply(null,arguments),close:ansiStyles.bgColor.close,closeRe:ansiStyles.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,model)}}};}var proto=Object.defineProperties(()=>{},styles);function build(_styles,_empty,key){let builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=_styles,builder._empty=_empty;let self2=this;return Object.defineProperty(builder,"level",{enumerable:!0,get(){return self2.level},set(level){self2.level=level;}}),Object.defineProperty(builder,"enabled",{enumerable:!0,get(){return self2.enabled},set(enabled){self2.enabled=enabled;}}),builder.hasGrey=this.hasGrey||key==="gray"||key==="grey",builder.__proto__=proto,builder}function applyStyle(){let args=arguments,argsLen=args.length,str=String(arguments[0]);if(argsLen===0)return "";if(argsLen>1)for(let a=1;a<argsLen;a++)str+=" "+args[a];if(!this.enabled||this.level<=0||!str)return this._empty?"":str;let originalDim=ansiStyles.dim.open;isSimpleWindowsTerm&&this.hasGrey&&(ansiStyles.dim.open="");for(let code of this._styles.slice().reverse())str=code.open+str.replace(code.closeRe,code.open)+code.close,str=str.replace(/\r?\n/g,`${code.close}$&${code.open}`);return ansiStyles.dim.open=originalDim,str}function chalkTag(chalk,strings){if(!Array.isArray(strings))return [].slice.call(arguments,1).join(" ");let args=[].slice.call(arguments,2),parts=[strings.raw[0]];for(let i=1;i<strings.length;i++)parts.push(String(args[i-1]).replace(/[{}\\]/g,"\\$&")),parts.push(String(strings.raw[i]));return template(chalk,parts.join(""))}Object.defineProperties(Chalk.prototype,styles);module.exports=Chalk();module.exports.supportsColor=stdoutColor;module.exports.default=module.exports;}});var require_lib16=__commonJS({"../../node_modules/@babel/code-frame/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.codeFrameColumns=codeFrameColumns;exports.default=_default;var _highlight=require_lib15(),_chalk=_interopRequireWildcard(require_chalk2(),!0);function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return (_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return {default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n}var chalkWithForcedColor;function getChalk(forceColor){if(forceColor){return (chalkWithForcedColor)!=null||(chalkWithForcedColor=new _chalk.default.constructor({enabled:!0,level:1})),chalkWithForcedColor}return _chalk.default}var deprecationWarningShown=!1;function getDefs(chalk){return {gutter:chalk.grey,marker:chalk.red.bold,message:chalk.red.bold}}var NEWLINE=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(loc,source,opts){let startLoc=Object.assign({column:0,line:-1},loc.start),endLoc=Object.assign({},startLoc,loc.end),{linesAbove=2,linesBelow=3}=opts||{},startLine=startLoc.line,startColumn=startLoc.column,endLine=endLoc.line,endColumn=endLoc.column,start=Math.max(startLine-(linesAbove+1),0),end=Math.min(source.length,endLine+linesBelow);startLine===-1&&(start=0),endLine===-1&&(end=source.length);let lineDiff=endLine-startLine,markerLines={};if(lineDiff)for(let i=0;i<=lineDiff;i++){let lineNumber=i+startLine;if(!startColumn)markerLines[lineNumber]=!0;else if(i===0){let sourceLength=source[lineNumber-1].length;markerLines[lineNumber]=[startColumn,sourceLength-startColumn+1];}else if(i===lineDiff)markerLines[lineNumber]=[0,endColumn];else {let sourceLength=source[lineNumber-i].length;markerLines[lineNumber]=[0,sourceLength];}}else startColumn===endColumn?startColumn?markerLines[startLine]=[startColumn,0]:markerLines[startLine]=!0:markerLines[startLine]=[startColumn,endColumn-startColumn];return {start,end,markerLines}}function codeFrameColumns(rawLines,loc,opts={}){let highlighted=(opts.highlightCode||opts.forceColor)&&(0, _highlight.shouldHighlight)(opts),chalk=getChalk(opts.forceColor),defs=getDefs(chalk),maybeHighlight=(chalkFn,string)=>highlighted?chalkFn(string):string,lines=rawLines.split(NEWLINE),{start,end,markerLines}=getMarkerLines(loc,lines,opts),hasColumns=loc.start&&typeof loc.start.column=="number",numberMaxWidth=String(end).length,frame=(highlighted?(0, _highlight.default)(rawLines,opts):rawLines).split(NEWLINE,end).slice(start,end).map((line,index)=>{let number=start+1+index,gutter=` ${` ${number}`.slice(-numberMaxWidth)} |`,hasMarker=markerLines[number],lastMarkerLine=!markerLines[number+1];if(hasMarker){let markerLine="";if(Array.isArray(hasMarker)){let markerSpacing=line.slice(0,Math.max(hasMarker[0]-1,0)).replace(/[^\t]/g," "),numberOfMarkers=hasMarker[1]||1;markerLine=[`
427
+ `):highlighted+=value;}return highlighted}function shouldHighlight(options){return _chalk.default.level>0||options.forceColor}var chalkWithForcedColor;function getChalk(forceColor){if(forceColor){return (chalkWithForcedColor)!=null||(chalkWithForcedColor=new _chalk.default.constructor({enabled:!0,level:1})),chalkWithForcedColor}return _chalk.default}exports.getChalk=options=>getChalk(options.forceColor);function highlight(code,options={}){if(code!==""&&shouldHighlight(options)){let defs=getDefs(getChalk(options.forceColor));return highlightTokens(defs,code)}else return code}}});var require_escape_string_regexp2=__commonJS({"../../node_modules/@babel/code-frame/node_modules/escape-string-regexp/index.js"(exports,module){var matchOperatorsRe=/[|\\{}()[\]^$+*?.]/g;module.exports=function(str){if(typeof str!="string")throw new TypeError("Expected a string");return str.replace(matchOperatorsRe,"\\$&")};}});var require_color_name3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-name/index.js"(exports,module){module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-convert/conversions.js"(exports,module){var cssKeywords=require_color_name3(),reverseKeywords={};for(key in cssKeywords)cssKeywords.hasOwnProperty(key)&&(reverseKeywords[cssKeywords[key]]=key);var key,convert2=module.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(model in convert2)if(convert2.hasOwnProperty(model)){if(!("channels"in convert2[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert2[model]))throw new Error("missing channel labels property: "+model);if(convert2[model].labels.length!==convert2[model].channels)throw new Error("channel and label counts mismatch: "+model);channels=convert2[model].channels,labels=convert2[model].labels,delete convert2[model].channels,delete convert2[model].labels,Object.defineProperty(convert2[model],"channels",{value:channels}),Object.defineProperty(convert2[model],"labels",{value:labels});}var channels,labels,model;convert2.rgb.hsl=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min,h,s,l;return max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(h*60,360),h<0&&(h+=360),l=(min+max)/2,max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert2.rgb.hsv=function(rgb){var rdif,gdif,bdif,h,s,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return (v-c)/6/diff+1/2};return diff===0?h=s=0:(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v*100]};convert2.rgb.hwb=function(rgb){var r=rgb[0],g=rgb[1],b=rgb[2],h=convert2.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,w*100,b*100]};convert2.rgb.cmyk=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,c,m,y,k;return k=Math.min(1-r,1-g,1-b),c=(1-r-k)/(1-k)||0,m=(1-g-k)/(1-k)||0,y=(1-b-k)/(1-k)||0,[c*100,m*100,y*100,k*100]};function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert2.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;var currentClosestDistance=1/0,currentClosestKeyword;for(var keyword in cssKeywords)if(cssKeywords.hasOwnProperty(keyword)){var value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance<currentClosestDistance&&(currentClosestDistance=distance,currentClosestKeyword=keyword);}return currentClosestKeyword};convert2.keyword.rgb=function(keyword){return cssKeywords[keyword]};convert2.rgb.xyz=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92,b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92;var x=r*.4124+g*.3576+b*.1805,y=r*.2126+g*.7152+b*.0722,z=r*.0193+g*.1192+b*.9505;return [x*100,y*100,z*100]};convert2.rgb.lab=function(rgb){var xyz=convert2.rgb.xyz(rgb),x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.hsl.rgb=function(hsl){var h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t1,t2,t3,rgb,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s,t1=2*l-t2,rgb=[0,0,0];for(var i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert2.hsl.hsv=function(hsl){var h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01),sv,v;return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,v=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s),[h,sv*100,v*100]};convert2.hsv.rgb=function(hsv){var h=hsv[0]/60,s=hsv[1]/100,v=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return [v,t,p];case 1:return [q,v,p];case 2:return [p,v,t];case 3:return [p,q,v];case 4:return [t,p,v];case 5:return [v,p,q]}};convert2.hsv.hsl=function(hsv){var h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01),lmin,sl,l;return l=(2-s)*v,lmin=(2-s)*vmin,sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert2.hwb.rgb=function(hwb){var h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,i,v,f,n;ratio>1&&(wh/=ratio,bl/=ratio),i=Math.floor(6*h),v=1-bl,f=6*h-i,i&1&&(f=1-f),n=wh+f*(v-wh);var r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n;break}return [r*255,g*255,b*255]};convert2.cmyk.rgb=function(cmyk){var c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100,r,g,b;return r=1-Math.min(1,c*(1-k)+k),g=1-Math.min(1,m*(1-k)+k),b=1-Math.min(1,y*(1-k)+k),[r*255,g*255,b*255]};convert2.xyz.rgb=function(xyz){var x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100,r,g,b;return r=x*3.2406+y*-1.5372+z*-.4986,g=x*-.9689+y*1.8758+z*.0415,b=x*.0557+y*-.204+z*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:g*12.92,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:b*12.92,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[r*255,g*255,b*255]};convert2.xyz.lab=function(xyz){var x=xyz[0],y=xyz[1],z=xyz[2],l,a,b;return x/=95.047,y/=100,z/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,y=y>.008856?Math.pow(y,1/3):7.787*y+16/116,z=z>.008856?Math.pow(z,1/3):7.787*z+16/116,l=116*y-16,a=500*(x-y),b=200*(y-z),[l,a,b]};convert2.lab.xyz=function(lab){var l=lab[0],a=lab[1],b=lab[2],x,y,z;y=(l+16)/116,x=a/500+y,z=y-b/200;var y2=Math.pow(y,3),x2=Math.pow(x,3),z2=Math.pow(z,3);return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]};convert2.lab.lch=function(lab){var l=lab[0],a=lab[1],b=lab[2],hr,h,c;return hr=Math.atan2(b,a),h=hr*360/2/Math.PI,h<0&&(h+=360),c=Math.sqrt(a*a+b*b),[l,c,h]};convert2.lch.lab=function(lch){var l=lch[0],c=lch[1],h=lch[2],a,b,hr;return hr=h/360*2*Math.PI,a=c*Math.cos(hr),b=c*Math.sin(hr),[l,a,b]};convert2.rgb.ansi16=function(args){var r=args[0],g=args[1],b=args[2],value=1 in arguments?arguments[1]:convert2.rgb.hsv(args)[2];if(value=Math.round(value/50),value===0)return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert2.hsv.ansi16=function(args){return convert2.rgb.ansi16(convert2.hsv.rgb(args),args[2])};convert2.rgb.ansi256=function(args){var r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;var ansi=16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5);return ansi};convert2.ansi16.rgb=function(args){var color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];var mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g=(color>>1&1)*mult*255,b=(color>>2&1)*mult*255;return [r,g,b]};convert2.ansi256.rgb=function(args){if(args>=232){var c=(args-232)*10+8;return [c,c,c]}args-=16;var rem,r=Math.floor(args/36)/5*255,g=Math.floor((rem=args%36)/6)/5*255,b=rem%6/5*255;return [r,g,b]};convert2.rgb.hex=function(args){var integer=((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255),string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];var colorString=match[0];match[0].length===3&&(colorString=colorString.split("").map(function(char){return char+char}).join(""));var integer=parseInt(colorString,16),r=integer>>16&255,g=integer>>8&255,b=integer&255;return [r,g,b]};convert2.rgb.hcg=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g-b)/chroma%6:max===g?hue=2+(b-r)/chroma:hue=4+(r-g)/chroma+4,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert2.hsl.hcg=function(hsl){var s=hsl[1]/100,l=hsl[2]/100,c=1,f=0;return l<.5?c=2*s*l:c=2*s*(1-l),c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert2.hsv.hcg=function(hsv){var s=hsv[1]/100,v=hsv[2]/100,c=s*v,f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],c*100,f*100]};convert2.hcg.rgb=function(hcg){var h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(c===0)return [g*255,g*255,g*255];var pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert2.hcg.hsv=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c),f=0;return v>0&&(f=c/v),[hcg[0],f*100,v*100]};convert2.hcg.hsl=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,l=g*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert2.hcg.hwb=function(hcg){var c=hcg[1]/100,g=hcg[2]/100,v=c+g*(1-c);return [hcg[0],(v-c)*100,(1-v)*100]};convert2.hwb.hcg=function(hwb){var w=hwb[1]/100,b=hwb[2]/100,v=1-b,c=v-w,g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],c*100,g*100]};convert2.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert2.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert2.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert2.gray.hsl=convert2.gray.hsv=function(args){return [0,0,args[0]]};convert2.gray.hwb=function(gray){return [0,100,gray[0]]};convert2.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert2.gray.lab=function(gray){return [gray[0],0,0]};convert2.gray.hex=function(gray){var val=Math.round(gray[0]/100*255)&255,integer=(val<<16)+(val<<8)+val,string=integer.toString(16).toUpperCase();return "000000".substring(string.length)+string};convert2.rgb.gray=function(rgb){var val=(rgb[0]+rgb[1]+rgb[2])/3;return [val/255*100]};}});var require_route3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-convert/route.js"(exports,module){var conversions=require_conversions3();function buildGraph(){for(var graph={},models=Object.keys(conversions),len=models.length,i=0;i<len;i++)graph[models[i]]={distance:-1,parent:null};return graph}function deriveBFS(fromModel){var graph=buildGraph(),queue=[fromModel];for(graph[fromModel].distance=0;queue.length;)for(var current=queue.pop(),adjacents=Object.keys(conversions[current]),len=adjacents.length,i=0;i<len;i++){var adjacent=adjacents[i],node=graph[adjacent];node.distance===-1&&(node.distance=graph[current].distance+1,node.parent=current,queue.unshift(adjacent));}return graph}function link(from,to){return function(args){return to(from(args))}}function wrapConversion(toModel,graph){for(var path2=[graph[toModel].parent,toModel],fn=conversions[graph[toModel].parent][toModel],cur=graph[toModel].parent;graph[cur].parent;)path2.unshift(graph[cur].parent),fn=link(conversions[graph[cur].parent][cur],fn),cur=graph[cur].parent;return fn.conversion=path2,fn}module.exports=function(fromModel){for(var graph=deriveBFS(fromModel),conversion={},models=Object.keys(graph),len=models.length,i=0;i<len;i++){var toModel=models[i],node=graph[toModel];node.parent!==null&&(conversion[toModel]=wrapConversion(toModel,graph));}return conversion};}});var require_color_convert3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/color-convert/index.js"(exports,module){var conversions=require_conversions3(),route=require_route3(),convert2={},models=Object.keys(conversions);function wrapRaw(fn){var wrappedFn=function(args){return args==null?args:(arguments.length>1&&(args=Array.prototype.slice.call(arguments)),fn(args))};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}function wrapRounded(fn){var wrappedFn=function(args){if(args==null)return args;arguments.length>1&&(args=Array.prototype.slice.call(arguments));var result=fn(args);if(typeof result=="object")for(var len=result.length,i=0;i<len;i++)result[i]=Math.round(result[i]);return result};return "conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}models.forEach(function(fromModel){convert2[fromModel]={},Object.defineProperty(convert2[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert2[fromModel],"labels",{value:conversions[fromModel].labels});var routes=route(fromModel),routeModels=Object.keys(routes);routeModels.forEach(function(toModel){var fn=routes[toModel];convert2[fromModel][toModel]=wrapRounded(fn),convert2[fromModel][toModel].raw=wrapRaw(fn);});});module.exports=convert2;}});var require_ansi_styles3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/ansi-styles/index.js"(exports,module){var colorConvert=require_color_convert3(),wrapAnsi16=(fn,offset)=>function(){return `\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){let code=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){let rgb=fn.apply(colorConvert,arguments);return `\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],gray:[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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.grey=styles.color.gray;for(let groupName of Object.keys(styles)){let group=styles[groupName];for(let styleName of Object.keys(group)){let style=group[styleName];styles[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);}Object.defineProperty(styles,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles,"codes",{value:codes,enumerable:!1});}let ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles.color.close="\x1B[39m",styles.bgColor.close="\x1B[49m",styles.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;let suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10));}return styles}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles});}});var require_has_flag3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/has-flag/index.js"(exports,module){module.exports=(flag,argv)=>{argv=argv||process.argv;let prefix=flag.startsWith("-")?"":flag.length===1?"-":"--",pos=argv.indexOf(prefix+flag),terminatorPos=argv.indexOf("--");return pos!==-1&&(terminatorPos===-1?!0:pos<terminatorPos)};}});var require_supports_color3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/supports-color/index.js"(exports,module){var os=__require("os"),hasFlag=require_has_flag3(),env=process.env,forceColor;hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")?forceColor=!1:(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always"))&&(forceColor=!0);"FORCE_COLOR"in env&&(forceColor=env.FORCE_COLOR.length===0||parseInt(env.FORCE_COLOR,10)!==0);function translateLevel(level){return level===0?!1:{level,hasBasic:!0,has256:level>=2,has16m:level>=3}}function supportsColor(stream){if(forceColor===!1)return 0;if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor"))return 3;if(hasFlag("color=256"))return 2;if(stream&&!stream.isTTY&&forceColor!==!0)return 0;let min=forceColor?1:0;if(process.platform==="win32"){let osRelease=os.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(osRelease[0])>=10&&Number(osRelease[2])>=10586?Number(osRelease[2])>=14931?3:2:1}if("CI"in env)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(sign=>sign in env)||env.CI_NAME==="codeship"?1:min;if("TEAMCITY_VERSION"in env)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION)?1:0;if(env.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in env){let version=parseInt((env.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(env.TERM_PROGRAM){case"iTerm.app":return version>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(env.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)||"COLORTERM"in env?1:(env.TERM==="dumb",min)}function getSupportLevel(stream){let level=supportsColor(stream);return translateLevel(level)}module.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)};}});var require_templates3=__commonJS({"../../node_modules/@babel/code-frame/node_modules/chalk/templates.js"(exports,module){var TEMPLATE_REGEX=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n",`
428
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function unescape(c){return c[0]==="u"&&c.length===5||c[0]==="x"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):ESCAPES.get(c)||c}function parseArguments(name,args){let results=[],chunks=args.trim().split(/\s*,\s*/g),matches;for(let chunk of chunks)if(!isNaN(chunk))results.push(Number(chunk));else if(matches=chunk.match(STRING_REGEX))results.push(matches[2].replace(ESCAPE_REGEX,(m,escape,chr)=>escape?unescape(escape):chr));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches;for(;(matches=STYLE_REGEX.exec(style))!==null;){let name=matches[1];if(matches[2]){let args=parseArguments(name,matches[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk;for(let styleName of Object.keys(enabled))if(Array.isArray(enabled[styleName])){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);enabled[styleName].length>0?current=current[styleName].apply(current,enabled[styleName]):current=current[styleName];}return current}module.exports=(chalk,tmp)=>{let styles=[],chunks=[],chunk=[];if(tmp.replace(TEMPLATE_REGEX,(m,escapeChar,inverse,style,close,chr)=>{if(escapeChar)chunk.push(unescape(escapeChar));else if(style){let str=chunk.join("");chunk=[],chunks.push(styles.length===0?str:buildStyle(chalk,styles)(str)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk,styles)(chunk.join(""))),chunk=[],styles.pop();}else chunk.push(chr);}),chunks.push(chunk.join("")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?"":"s"} (\`}\`)`;throw new Error(errMsg)}return chunks.join("")};}});var require_chalk2=__commonJS({"../../node_modules/@babel/code-frame/node_modules/chalk/index.js"(exports,module){var escapeStringRegexp=require_escape_string_regexp2(),ansiStyles=require_ansi_styles3(),stdoutColor=require_supports_color3().stdout,template=require_templates3(),isSimpleWindowsTerm=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),levelMapping=["ansi","ansi","ansi256","ansi16m"],skipModels=new Set(["gray"]),styles=Object.create(null);function applyOptions(obj,options){options=options||{};let scLevel=stdoutColor?stdoutColor.level:0;obj.level=options.level===void 0?scLevel:options.level,obj.enabled="enabled"in options?options.enabled:obj.level>0;}function Chalk(options){if(!this||!(this instanceof Chalk)||this.template){let chalk={};return applyOptions(chalk,options),chalk.template=function(){let args=[].slice.call(arguments);return chalkTag.apply(null,[chalk.template].concat(args))},Object.setPrototypeOf(chalk,Chalk.prototype),Object.setPrototypeOf(chalk.template,chalk),chalk.template.constructor=Chalk,chalk.template}applyOptions(this,options);}isSimpleWindowsTerm&&(ansiStyles.blue.open="\x1B[94m");for(let key of Object.keys(ansiStyles))ansiStyles[key].closeRe=new RegExp(escapeStringRegexp(ansiStyles[key].close),"g"),styles[key]={get(){let codes=ansiStyles[key];return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,key)}};styles.visible={get(){return build.call(this,this._styles||[],!0,"visible")}};ansiStyles.color.closeRe=new RegExp(escapeStringRegexp(ansiStyles.color.close),"g");for(let model of Object.keys(ansiStyles.color.ansi))skipModels.has(model)||(styles[model]={get(){let level=this.level;return function(){let codes={open:ansiStyles.color[levelMapping[level]][model].apply(null,arguments),close:ansiStyles.color.close,closeRe:ansiStyles.color.closeRe};return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,model)}}});ansiStyles.bgColor.closeRe=new RegExp(escapeStringRegexp(ansiStyles.bgColor.close),"g");for(let model of Object.keys(ansiStyles.bgColor.ansi)){if(skipModels.has(model))continue;let bgModel="bg"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let level=this.level;return function(){let codes={open:ansiStyles.bgColor[levelMapping[level]][model].apply(null,arguments),close:ansiStyles.bgColor.close,closeRe:ansiStyles.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(codes):[codes],this._empty,model)}}};}var proto=Object.defineProperties(()=>{},styles);function build(_styles,_empty,key){let builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=_styles,builder._empty=_empty;let self2=this;return Object.defineProperty(builder,"level",{enumerable:!0,get(){return self2.level},set(level){self2.level=level;}}),Object.defineProperty(builder,"enabled",{enumerable:!0,get(){return self2.enabled},set(enabled){self2.enabled=enabled;}}),builder.hasGrey=this.hasGrey||key==="gray"||key==="grey",builder.__proto__=proto,builder}function applyStyle(){let args=arguments,argsLen=args.length,str=String(arguments[0]);if(argsLen===0)return "";if(argsLen>1)for(let a=1;a<argsLen;a++)str+=" "+args[a];if(!this.enabled||this.level<=0||!str)return this._empty?"":str;let originalDim=ansiStyles.dim.open;isSimpleWindowsTerm&&this.hasGrey&&(ansiStyles.dim.open="");for(let code of this._styles.slice().reverse())str=code.open+str.replace(code.closeRe,code.open)+code.close,str=str.replace(/\r?\n/g,`${code.close}$&${code.open}`);return ansiStyles.dim.open=originalDim,str}function chalkTag(chalk,strings){if(!Array.isArray(strings))return [].slice.call(arguments,1).join(" ");let args=[].slice.call(arguments,2),parts=[strings.raw[0]];for(let i=1;i<strings.length;i++)parts.push(String(args[i-1]).replace(/[{}\\]/g,"\\$&")),parts.push(String(strings.raw[i]));return template(chalk,parts.join(""))}Object.defineProperties(Chalk.prototype,styles);module.exports=Chalk();module.exports.supportsColor=stdoutColor;module.exports.default=module.exports;}});var require_lib16=__commonJS({"../../node_modules/@babel/code-frame/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.codeFrameColumns=codeFrameColumns;exports.default=_default;var _highlight=require_lib15(),_chalk=_interopRequireWildcard(require_chalk2(),!0);function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return (_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return {default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n}var chalkWithForcedColor;function getChalk(forceColor){if(forceColor){return (chalkWithForcedColor)!=null||(chalkWithForcedColor=new _chalk.default.constructor({enabled:!0,level:1})),chalkWithForcedColor}return _chalk.default}var deprecationWarningShown=!1;function getDefs(chalk){return {gutter:chalk.grey,marker:chalk.red.bold,message:chalk.red.bold}}var NEWLINE=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(loc,source,opts){let startLoc=Object.assign({column:0,line:-1},loc.start),endLoc=Object.assign({},startLoc,loc.end),{linesAbove=2,linesBelow=3}=opts||{},startLine=startLoc.line,startColumn=startLoc.column,endLine=endLoc.line,endColumn=endLoc.column,start=Math.max(startLine-(linesAbove+1),0),end=Math.min(source.length,endLine+linesBelow);startLine===-1&&(start=0),endLine===-1&&(end=source.length);let lineDiff=endLine-startLine,markerLines={};if(lineDiff)for(let i=0;i<=lineDiff;i++){let lineNumber=i+startLine;if(!startColumn)markerLines[lineNumber]=!0;else if(i===0){let sourceLength=source[lineNumber-1].length;markerLines[lineNumber]=[startColumn,sourceLength-startColumn+1];}else if(i===lineDiff)markerLines[lineNumber]=[0,endColumn];else {let sourceLength=source[lineNumber-i].length;markerLines[lineNumber]=[0,sourceLength];}}else startColumn===endColumn?startColumn?markerLines[startLine]=[startColumn,0]:markerLines[startLine]=!0:markerLines[startLine]=[startColumn,endColumn-startColumn];return {start,end,markerLines}}function codeFrameColumns(rawLines,loc,opts={}){let highlighted=(opts.highlightCode||opts.forceColor)&&(0, _highlight.shouldHighlight)(opts),chalk=getChalk(opts.forceColor),defs=getDefs(chalk),maybeHighlight=(chalkFn,string)=>highlighted?chalkFn(string):string,lines=rawLines.split(NEWLINE),{start,end,markerLines}=getMarkerLines(loc,lines,opts),hasColumns=loc.start&&typeof loc.start.column=="number",numberMaxWidth=String(end).length,frame=(highlighted?(0, _highlight.default)(rawLines,opts):rawLines).split(NEWLINE,end).slice(start,end).map((line,index)=>{let number=start+1+index,gutter=` ${` ${number}`.slice(-numberMaxWidth)} |`,hasMarker=markerLines[number],lastMarkerLine=!markerLines[number+1];if(hasMarker){let markerLine="";if(Array.isArray(hasMarker)){let markerSpacing=line.slice(0,Math.max(hasMarker[0]-1,0)).replace(/[^\t]/g," "),numberOfMarkers=hasMarker[1]||1;markerLine=[`
425
429
  `,maybeHighlight(defs.gutter,gutter.replace(/\d/g," "))," ",markerSpacing,maybeHighlight(defs.marker,"^").repeat(numberOfMarkers)].join(""),lastMarkerLine&&opts.message&&(markerLine+=" "+maybeHighlight(defs.message,opts.message));}return [maybeHighlight(defs.marker,">"),maybeHighlight(defs.gutter,gutter),line.length>0?` ${line}`:"",markerLine].join("")}else return ` ${maybeHighlight(defs.gutter,gutter)}${line.length>0?` ${line}`:""}`}).join(`
426
430
  `);return opts.message&&!hasColumns&&(frame=`${" ".repeat(numberMaxWidth+1)}${opts.message}
427
431
  ${frame}`),highlighted?chalk.reset(frame):frame}function _default(rawLines,lineNumber,colNumber,opts={}){if(!deprecationWarningShown){deprecationWarningShown=!0;let message="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(message,"DeprecationWarning");else {let deprecationError=new Error(message);deprecationError.name="DeprecationWarning",console.warn(new Error(message));}}return colNumber=Math.max(colNumber,0),codeFrameColumns(rawLines,{start:{column:colNumber,line:lineNumber}},opts)}}});var require_lib17=__commonJS({"../../node_modules/@babel/parser/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return {};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var Position=class{constructor(line,col,index){this.line=void 0,this.column=void 0,this.index=void 0,this.line=line,this.column=col,this.index=index;}},SourceLocation=class{constructor(start,end){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=start,this.end=end;}};function createPositionWithColumnOffset(position,columnOffset){let{line,column,index}=position;return new Position(line,column+columnOffset,index+columnOffset)}var code="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",ModuleErrors={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code}},NodeDescriptions={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},toNodeDescription=({type,prefix:prefix2})=>type==="UpdateExpression"?NodeDescriptions.UpdateExpression[String(prefix2)]:NodeDescriptions[type],StandardErrors={AccessorIsGenerator:({kind})=>`A ${kind}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind})=>`Missing initializer in ${kind} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName})=>`\`${exportName}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase})=>`'import.${phase}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName,exportName})=>`A string literal cannot be used as an exported binding without \`from\`.
@@ -479,11 +483,7 @@ ${rootStack}`,err}}}}});var require_lib19=__commonJS({"../../node_modules/@babel
479
483
  Unexpected \`storiesOf\` usage: ${formatLocation(node,self2._fileName)}.
480
484
 
481
485
  SB8 does not support \`storiesOf\`.
482
- `)}},ImportDeclaration:{enter({node}){let{source}=node;if(t2.isStringLiteral(source))self2.imports.push(source.value);else throw new Error("CSF: unexpected import source")}}}),!self2._meta)throw new NoMetaError("missing default export",self2._ast,self2._fileName);if(!self2._meta.title&&!self2._meta.component)throw new Error(import_ts_dedent.dedent`
483
- CSF: missing title/component ${formatLocation(self2._ast,self2._fileName)}
484
-
485
- More info: https://storybook.js.org/docs/react/writing-stories#default-export
486
- `);let entries=Object.entries(self2._stories);if(self2._meta.title=this._makeTitle(self2._meta?.title),self2._metaAnnotations.play&&(self2._meta.tags=[...self2._meta.tags||[],"play-fn"]),self2._stories=entries.reduce((acc,[key,story])=>{if(!(0, import_csf.isExportStory)(key,self2._meta))return acc;let id=story.parameters?.__id??(0, import_csf.toId)(self2._meta?.id||self2._meta?.title,(0, import_csf.storyNameFromExport)(key)),parameters={...story.parameters,__id:id},{includeStories}=self2._meta||{};key==="__page"&&(entries.length===1||Array.isArray(includeStories)&&includeStories.length===1)&&(parameters.docsOnly=!0),acc[key]={...story,id,parameters};let{tags,play}=self2._storyAnnotations[key];if(tags){let node=t2.isIdentifier(tags)?findVarInitialization(tags.name,this._ast.program):tags;acc[key].tags=parseTags(node);}return play&&(acc[key].tags=[...acc[key].tags||[],"play-fn"]),acc},{}),Object.keys(self2._storyExports).forEach(key=>{(0, import_csf.isExportStory)(key,self2._meta)||(delete self2._storyExports[key],delete self2._storyAnnotations[key]);}),self2._namedExportsOrder){let unsortedExports=Object.keys(self2._storyExports);self2._storyExports=sortExports(self2._storyExports,self2._namedExportsOrder),self2._stories=sortExports(self2._stories,self2._namedExportsOrder);let sortedExports=Object.keys(self2._storyExports);if(unsortedExports.length!==sortedExports.length)throw new Error(`Missing exports after sort: ${unsortedExports.filter(key=>!sortedExports.includes(key))}`)}return self2}get meta(){return this._meta}get stories(){return Object.values(this._stories)}get indexInputs(){if(!this._fileName)throw new Error(import_ts_dedent.dedent`Cannot automatically create index inputs with CsfFile.indexInputs because the CsfFile instance was created without a the fileName option.
486
+ `)}},ImportDeclaration:{enter({node}){let{source}=node;if(t2.isStringLiteral(source))self2.imports.push(source.value);else throw new Error("CSF: unexpected import source")}}}),!self2._meta)throw new NoMetaError("missing default export",self2._ast,self2._fileName);let entries=Object.entries(self2._stories);if(self2._meta.title=this._makeTitle(self2._meta?.title),self2._metaAnnotations.play&&(self2._meta.tags=[...self2._meta.tags||[],"play-fn"]),self2._stories=entries.reduce((acc,[key,story])=>{if(!(0, import_csf.isExportStory)(key,self2._meta))return acc;let id=story.parameters?.__id??(0, import_csf.toId)(self2._meta?.id||self2._meta?.title,(0, import_csf.storyNameFromExport)(key)),parameters={...story.parameters,__id:id},{includeStories}=self2._meta||{};key==="__page"&&(entries.length===1||Array.isArray(includeStories)&&includeStories.length===1)&&(parameters.docsOnly=!0),acc[key]={...story,id,parameters};let{tags,play}=self2._storyAnnotations[key];if(tags){let node=t2.isIdentifier(tags)?findVarInitialization(tags.name,this._ast.program):tags;acc[key].tags=parseTags(node);}return play&&(acc[key].tags=[...acc[key].tags||[],"play-fn"]),acc},{}),Object.keys(self2._storyExports).forEach(key=>{(0, import_csf.isExportStory)(key,self2._meta)||(delete self2._storyExports[key],delete self2._storyAnnotations[key]);}),self2._namedExportsOrder){let unsortedExports=Object.keys(self2._storyExports);self2._storyExports=sortExports(self2._storyExports,self2._namedExportsOrder),self2._stories=sortExports(self2._stories,self2._namedExportsOrder);let sortedExports=Object.keys(self2._storyExports);if(unsortedExports.length!==sortedExports.length)throw new Error(`Missing exports after sort: ${unsortedExports.filter(key=>!sortedExports.includes(key))}`)}return self2}get meta(){return this._meta}get stories(){return Object.values(this._stories)}get indexInputs(){if(!this._fileName)throw new Error(import_ts_dedent.dedent`Cannot automatically create index inputs with CsfFile.indexInputs because the CsfFile instance was created without a the fileName option.
487
487
  Either add the fileName option when creating the CsfFile instance, or create the index inputs manually.`);return Object.entries(this._stories).map(([exportName,story])=>{let tags=Array.from(new Set([...this._meta?.tags??[],...story.tags??[]]));return {type:"story",importPath:this._fileName,exportName,name:story.name,title:this.meta?.title,metaId:this.meta?.id,tags,metaTags:this.meta?.tags,__id:story.id}})}},loadCsf=(code,options)=>{let ast=babelParse(code);return new CsfFile(ast,options)},formatCsf=(csf,options={sourceMaps:!1})=>{let result=generate.default(csf._ast,options);if(options.sourceMaps)return result;let{code}=result;return code},printCsf=(csf,options={})=>recast2.print(csf._ast,options),readCsf=async(fileName,options)=>{let code=(await import_fs_extra.default.readFile(fileName,"utf-8")).toString();return loadCsf(code,{...options,fileName})},writeCsf=async(csf,fileName)=>{if(!(fileName||csf._fileName))throw new Error("Please specify a fileName for writeCsf");await import_fs_extra.default.writeFile(fileName,printCsf(csf).code);},import_fs_extra2=__toESM2(require_lib3()),import_ts_dedent2=__toESM2(__require("ts-dedent")),t3=__toESM2(require_lib11()),generate2=__toESM2(require_lib12()),traverse2=__toESM2(require_lib21()),recast3=__toESM2(require_main5()),logger2=console,getCsfParsingErrorMessage=({expectedType,foundType,node})=>{let nodeInfo="";if(node)try{nodeInfo=JSON.stringify(node);}catch{}return import_ts_dedent2.default`
488
488
  CSF Parsing error: Expected '${expectedType}' but found '${foundType}' instead in '${node?.type}'.
489
489
  ${nodeInfo}
@@ -522,7 +522,7 @@ ${error.message}`:execaMessage,message=[shortMessage,stderr,stdout].filter(Boole
522
522
  `),!mainConfigPath)throw new import_server_errors.MainFileMissingError({location:configDir})}function loadCustomPresets({configDir}){validateConfigurationFiles(configDir);let presets=serverRequire2(import_path2.default.resolve(configDir,"presets"));if(serverRequire2(import_path2.default.resolve(configDir,"main"))){let resolved=serverResolve(import_path2.default.resolve(configDir,"main"));if(resolved)return [resolved]}return presets||[]}var import_resolve_from=__toESM2(require_resolve_from()),safeResolveFrom=(path18,file)=>{try{return (0,import_resolve_from.default)(path18,file)}catch{return}},safeResolve=file=>{try{return __require.resolve(file)}catch{return}},import_path32=__toESM2(__require("path"));function normalizePath(id){return import_path32.default.posix.normalize(slash(id))}function stripAbsNodeModulesPath(absPath){let splits=absPath.split(`node_modules${import_path32.default.sep}`);return normalizePath(splits[splits.length-1])}var isObject=val=>val!=null&&typeof val=="object"&&Array.isArray(val)===!1,isFunction=val=>typeof val=="function";function filterPresetsConfig(presetsConfig){return presetsConfig.filter(preset=>{let presetName=typeof preset=="string"?preset:preset.name;return !/@storybook[\\\\/]preset-typescript/.test(presetName)})}function resolvePathToMjs(filePath){let{dir,name}=(0, import_path4.parse)(filePath),mjsPath=(0, import_path4.join)(dir,`${name}.mjs`);return safeResolve(mjsPath)?mjsPath:filePath}function resolvePresetFunction(input,presetOptions,storybookOptions){return isFunction(input)?[...input({...storybookOptions,...presetOptions})]:Array.isArray(input)?[...input]:[]}var resolveAddonName=(configDir,name,options)=>{let resolve=name.startsWith("/")?safeResolve:safeResolveFrom.bind(null,configDir),resolved=resolve(name);if(resolved){let{dir:fdir,name:fname}=(0, import_path4.parse)(resolved);if(name.match(/\/(manager|register(-panel)?)(\.(js|mjs|ts|tsx|jsx))?$/))return {type:"virtual",name,managerEntries:[resolvePathToMjs((0, import_path4.join)(fdir,fname))]};if(name.match(/\/(preset)(\.(js|mjs|ts|tsx|jsx))?$/))return {type:"presets",name:resolved}}let checkExists=exportName=>{if(resolve(`${name}${exportName}`))return `${name}${exportName}`},absolutizeExport=(exportName,preferMJS)=>{let found=resolve(`${name}${exportName}`);if(found)return preferMJS?resolvePathToMjs(found):found},managerFile=absolutizeExport("/manager",!0),registerFile=absolutizeExport("/register",!0)||absolutizeExport("/register-panel",!0),previewFile=checkExists("/preview"),previewFileAbsolute=absolutizeExport("/preview",!0),presetFile=absolutizeExport("/preset",!1);if(!(managerFile||previewFile)&&presetFile)return {type:"presets",name:presetFile};if(managerFile||registerFile||previewFile||presetFile){let managerEntries=[];return managerFile&&managerEntries.push(managerFile),!managerFile&&registerFile&&!presetFile&&managerEntries.push(registerFile),{type:"virtual",name,...managerEntries.length?{managerEntries}:{},...previewFile?{previewAnnotations:[previewFileAbsolute?{bare:previewFile.includes("node_modules")?stripAbsNodeModulesPath(previewFile):previewFile,absolute:previewFileAbsolute}:previewFile]}:{},...presetFile?{presets:[{name:presetFile,options}]}:{}}}if(resolved)return {type:"presets",name:resolved}},map=({configDir})=>item=>{let options=isObject(item)&&item.options||void 0,name=isObject(item)?item.name:item,resolved;try{resolved=resolveAddonName(configDir,name,options);}catch{import_node_logger2.logger.error(`Addon value should end in /manager or /preview or /register OR it should be a valid preset https://storybook.js.org/docs/react/addons/writing-presets/
523
523
  ${item}`);return}if(!resolved){import_node_logger2.logger.warn(`Could not resolve addon "${name}", skipping. Is it installed?`);return}return {...options?{options}:{},...resolved}};async function getContent(input){if(input.type==="virtual"){let{type,name:name2,...rest}=input;return rest}let name=input.name?input.name:input;return interopRequireDefault(name)}async function loadPreset(input,level,storybookOptions){let presetName=input.name?input.name:input;try{let presetOptions=input.options?input.options:{},contents=await getContent(input);if(typeof contents=="function"&&(contents=contents(storybookOptions,presetOptions)),Array.isArray(contents))return await loadPresets(contents,level+1,storybookOptions);if(isObject(contents)){let{addons:addonsInput=[],presets:presetsInput=[],...rest}=contents,filter=i=>!0;storybookOptions.isCritical!==!0&&(storybookOptions.build?.test?.disabledAddons?.length||0)>0&&(filter=i=>{let name=i.name?i.name:i;return !storybookOptions.build?.test?.disabledAddons?.find(n=>name.includes(n))});let subPresets=resolvePresetFunction(presetsInput,presetOptions,storybookOptions).filter(filter),subAddons=resolvePresetFunction(addonsInput,presetOptions,storybookOptions).filter(filter);return [...await loadPresets([...subPresets],level+1,storybookOptions),...await loadPresets([...subAddons.map(map(storybookOptions))].filter(Boolean),level+1,storybookOptions),{name:presetName,preset:rest,options:presetOptions}]}throw new Error(import_ts_dedent2.dedent`
524
524
  ${input} is not a valid preset
525
- `)}catch(error){if(storybookOptions?.isCritical)throw new import_server_errors2.CriticalPresetLoadError({error,presetName});let warning=level>0?` Failed to load preset: ${JSON.stringify(input)} on level ${level}`:` Failed to load preset: ${JSON.stringify(input)}`;return import_node_logger2.logger.warn(warning),import_node_logger2.logger.error(error),[]}}async function loadPresets(presets,level,storybookOptions){return !presets||!Array.isArray(presets)||!presets.length?[]:(await Promise.all(presets.map(async preset=>loadPreset(preset,level,storybookOptions)))).reduce((acc,loaded)=>acc.concat(loaded),[])}function applyPresets(presets,extension,config,args,storybookOptions){let presetResult=new Promise(res=>res(config));return presets.length?presets.reduce((accumulationPromise,{preset,options})=>{let change=preset[extension];if(!change)return accumulationPromise;if(typeof change=="function"){let extensionFn=change,context={preset,combinedOptions:{...storybookOptions,...args,...options,presetsList:presets,presets:{apply:async(ext,c,a={})=>applyPresets(presets,ext,c,a,storybookOptions)}}};return accumulationPromise.then(newConfig=>extensionFn.call(context.preset,newConfig,context.combinedOptions))}return accumulationPromise.then(newConfig=>Array.isArray(newConfig)&&Array.isArray(change)?[...newConfig,...change]:isObject(newConfig)&&isObject(change)?{...newConfig,...change}:change)},presetResult):presetResult}async function getPresets(presets,storybookOptions){let loadedPresets=await loadPresets(presets,0,storybookOptions);return {apply:async(extension,config,args={})=>applyPresets(loadedPresets,extension,config,args,storybookOptions)}}async function loadAllPresets(options){let{corePresets=[],overridePresets=[],...restOptions}=options,presetsConfig=[...corePresets,...loadCustomPresets(options),...overridePresets],filteredPresetConfig=filterPresetsConfig(presetsConfig);return filteredPresetConfig.length<presetsConfig.length&&import_node_logger2.logger.warn("Storybook now supports TypeScript natively. You can safely remove `@storybook/preset-typescript`."),getPresets(filteredPresetConfig,restOptions)}var import_file_system_cache=__toESM2(require_lib2());function createFileSystemCache(options){return (0, import_file_system_cache.default)(options)}var import_path5=__toESM2(__require("path")),import_find_cache_dir=__toESM2(require_find_cache_dir());function resolvePathInStorybookCache(fileOrDirectoryName,sub="default"){let cacheDirectory=(0, import_find_cache_dir.default)({name:"storybook"});return cacheDirectory||=import_path5.default.join(process.cwd(),".cache","storybook"),import_path5.default.join(cacheDirectory,sub,fileOrDirectoryName)}var cache=createFileSystemCache({basePath:resolvePathInStorybookCache("dev-server"),ns:"storybook"}),import_fs_extra2=require_lib3(),import_path7=__require("path"),import_tempy=__toESM2(require_tempy()),import_path6=__toESM2(__require("path")),import_fs_extra=__toESM2(require_lib3());function getStorybookConfiguration(storybookScript,shortName,longName){if(!storybookScript)return null;let parts=storybookScript.split(/[\s='"]+/),index=parts.indexOf(longName);return index===-1&&(index=parts.indexOf(shortName)),index===-1?null:parts[index+1]}var rendererPackages={"@storybook/react":"react","@storybook/vue3":"vue3","@storybook/angular":"angular","@storybook/html":"html","@storybook/web-components":"web-components","@storybook/polymer":"polymer","@storybook/ember":"ember","@storybook/svelte":"svelte","@storybook/preact":"preact","@storybook/server":"server","storybook-framework-qwik":"qwik","storybook-solidjs":"solid","@storybook/vue":"vue"},frameworkPackages={"@storybook/angular":"angular","@storybook/ember":"ember","@storybook/html-vite":"html-vite","@storybook/html-webpack5":"html-webpack5","@storybook/nextjs":"nextjs","@storybook/preact-vite":"preact-vite","@storybook/preact-webpack5":"preact-webpack5","@storybook/react-vite":"react-vite","@storybook/react-webpack5":"react-webpack5","@storybook/server-webpack5":"server-webpack5","@storybook/svelte-vite":"svelte-vite","@storybook/svelte-webpack5":"svelte-webpack5","@storybook/sveltekit":"sveltekit","@storybook/vue3-vite":"vue3-vite","@storybook/vue3-webpack5":"vue3-webpack5","@storybook/web-components-vite":"web-components-vite","@storybook/web-components-webpack5":"web-components-webpack5","storybook-framework-qwik":"qwik","storybook-solidjs-vite":"solid"},builderPackages=["@storybook/builder-webpack5","@storybook/builder-vite"],logger2=console,findDependency=({dependencies,devDependencies,peerDependencies},predicate)=>[Object.entries(dependencies||{}).find(predicate),Object.entries(devDependencies||{}).find(predicate),Object.entries(peerDependencies||{}).find(predicate)],getRendererInfo=packageJson=>{let[dep,devDep,peerDep]=findDependency(packageJson,([key])=>rendererPackages[key]),[pkg,version]=dep||devDep||peerDep||[];return dep&&devDep&&dep[0]===devDep[0]&&logger2.warn(`Found "${dep[0]}" in both "dependencies" and "devDependencies". This is probably a mistake.`),dep&&peerDep&&dep[0]===peerDep[0]&&logger2.warn(`Found "${dep[0]}" in both "dependencies" and "peerDependencies". This is probably a mistake.`),{version,frameworkPackage:pkg}},validConfigExtensions=["ts","js","tsx","jsx","mjs","cjs"],findConfigFile=(prefix,configDir)=>{let filePrefix=import_path6.default.join(configDir,prefix),extension=validConfigExtensions.find(ext=>import_fs_extra.default.existsSync(`${filePrefix}.${ext}`));return extension?`${filePrefix}.${extension}`:null},getConfigInfo=(packageJson,configDir)=>{let storybookConfigDir=configDir??".storybook",storybookScript=packageJson.scripts?.storybook;if(storybookScript&&!configDir){let configParam=getStorybookConfiguration(storybookScript,"-c","--config-dir");configParam&&(storybookConfigDir=configParam);}return {configDir:storybookConfigDir,mainConfig:findConfigFile("main",storybookConfigDir),previewConfig:findConfigFile("preview",storybookConfigDir),managerConfig:findConfigFile("manager",storybookConfigDir)}},getStorybookInfo=(packageJson,configDir)=>{let rendererInfo=getRendererInfo(packageJson),configInfo=getConfigInfo(packageJson,configDir);return {...rendererInfo,...configInfo}},versions_default={"@storybook/addon-a11y":"8.1.0-alpha.2","@storybook/addon-actions":"8.1.0-alpha.2","@storybook/addon-backgrounds":"8.1.0-alpha.2","@storybook/addon-controls":"8.1.0-alpha.2","@storybook/addon-docs":"8.1.0-alpha.2","@storybook/addon-essentials":"8.1.0-alpha.2","@storybook/addon-highlight":"8.1.0-alpha.2","@storybook/addon-interactions":"8.1.0-alpha.2","@storybook/addon-jest":"8.1.0-alpha.2","@storybook/addon-links":"8.1.0-alpha.2","@storybook/addon-mdx-gfm":"8.1.0-alpha.2","@storybook/addon-measure":"8.1.0-alpha.2","@storybook/addon-onboarding":"8.1.0-alpha.2","@storybook/addon-outline":"8.1.0-alpha.2","@storybook/addon-storysource":"8.1.0-alpha.2","@storybook/addon-themes":"8.1.0-alpha.2","@storybook/addon-toolbars":"8.1.0-alpha.2","@storybook/addon-viewport":"8.1.0-alpha.2","@storybook/angular":"8.1.0-alpha.2","@storybook/blocks":"8.1.0-alpha.2","@storybook/builder-manager":"8.1.0-alpha.2","@storybook/builder-vite":"8.1.0-alpha.2","@storybook/builder-webpack5":"8.1.0-alpha.2","@storybook/channels":"8.1.0-alpha.2","@storybook/cli":"8.1.0-alpha.2","@storybook/client-logger":"8.1.0-alpha.2","@storybook/codemod":"8.1.0-alpha.2","@storybook/components":"8.1.0-alpha.2","@storybook/core-common":"8.1.0-alpha.2","@storybook/core-events":"8.1.0-alpha.2","@storybook/core-server":"8.1.0-alpha.2","@storybook/core-webpack":"8.1.0-alpha.2","@storybook/csf-plugin":"8.1.0-alpha.2","@storybook/csf-tools":"8.1.0-alpha.2","@storybook/docs-tools":"8.1.0-alpha.2","@storybook/ember":"8.1.0-alpha.2","@storybook/html":"8.1.0-alpha.2","@storybook/html-vite":"8.1.0-alpha.2","@storybook/html-webpack5":"8.1.0-alpha.2","@storybook/instrumenter":"8.1.0-alpha.2","@storybook/manager":"8.1.0-alpha.2","@storybook/manager-api":"8.1.0-alpha.2","@storybook/nextjs":"8.1.0-alpha.2","@storybook/node-logger":"8.1.0-alpha.2","@storybook/preact":"8.1.0-alpha.2","@storybook/preact-vite":"8.1.0-alpha.2","@storybook/preact-webpack5":"8.1.0-alpha.2","@storybook/preset-create-react-app":"8.1.0-alpha.2","@storybook/preset-html-webpack":"8.1.0-alpha.2","@storybook/preset-preact-webpack":"8.1.0-alpha.2","@storybook/preset-react-webpack":"8.1.0-alpha.2","@storybook/preset-server-webpack":"8.1.0-alpha.2","@storybook/preset-svelte-webpack":"8.1.0-alpha.2","@storybook/preset-vue3-webpack":"8.1.0-alpha.2","@storybook/preview":"8.1.0-alpha.2","@storybook/preview-api":"8.1.0-alpha.2","@storybook/react":"8.1.0-alpha.2","@storybook/react-dom-shim":"8.1.0-alpha.2","@storybook/react-vite":"8.1.0-alpha.2","@storybook/react-webpack5":"8.1.0-alpha.2","@storybook/router":"8.1.0-alpha.2","@storybook/server":"8.1.0-alpha.2","@storybook/server-webpack5":"8.1.0-alpha.2","@storybook/source-loader":"8.1.0-alpha.2","@storybook/svelte":"8.1.0-alpha.2","@storybook/svelte-vite":"8.1.0-alpha.2","@storybook/svelte-webpack5":"8.1.0-alpha.2","@storybook/sveltekit":"8.1.0-alpha.2","@storybook/telemetry":"8.1.0-alpha.2","@storybook/test":"8.1.0-alpha.2","@storybook/theming":"8.1.0-alpha.2","@storybook/types":"8.1.0-alpha.2","@storybook/vue3":"8.1.0-alpha.2","@storybook/vue3-vite":"8.1.0-alpha.2","@storybook/vue3-webpack5":"8.1.0-alpha.2","@storybook/web-components":"8.1.0-alpha.2","@storybook/web-components-vite":"8.1.0-alpha.2","@storybook/web-components-webpack5":"8.1.0-alpha.2",sb:"8.1.0-alpha.2",storybook:"8.1.0-alpha.2"};function parseList(str){return str.split(",").map(item=>item.trim()).filter(item=>item.length>0)}async function getCoercedStorybookVersion(packageManager){return (await Promise.all(Object.keys(rendererPackages).map(async pkg=>({name:pkg,version:await packageManager.getPackageVersion(pkg)})))).filter(({version})=>!!version)[0]?.version}function getEnvConfig(program,configEnv){Object.keys(configEnv).forEach(fieldName=>{let envVarName=configEnv[fieldName],envVarValue=process.env[envVarName];envVarValue&&(program[fieldName]=envVarValue);});}var createLogStream=async(logFileName="storybook.log")=>{let finalLogPath=(0, import_path7.join)(process.cwd(),logFileName),temporaryLogPath=import_tempy.default.file({name:logFileName}),logStream=(0, import_fs_extra2.createWriteStream)(temporaryLogPath,{encoding:"utf8"});return new Promise((resolve,reject)=>{logStream.once("open",()=>{resolve({logStream,moveLogFile:async()=>(0, import_fs_extra2.move)(temporaryLogPath,finalLogPath,{overwrite:!0}),clearLogFile:async()=>(0, import_fs_extra2.writeFile)(temporaryLogPath,""),removeLogFile:async()=>(0, import_fs_extra2.remove)(temporaryLogPath),readLogFile:async()=>(0, import_fs_extra2.readFile)(temporaryLogPath,"utf8")});}),logStream.once("error",reject);})},isCorePackage=pkg=>Object.keys(versions_default).includes(pkg),import_node_logger3=require_dist(),predicateFor=addon=>entry=>{let name=entry.name||entry;return name&&name.replaceAll(/(\\){1,2}/g,"/").includes(addon)},isCorrectOrder=(addons,before,after)=>{let essentialsIndex=addons.findIndex(predicateFor("@storybook/addon-essentials")),beforeIndex=addons.findIndex(predicateFor(before.name)),afterIndex=addons.findIndex(predicateFor(after.name));return beforeIndex===-1&&before.inEssentials&&(beforeIndex=essentialsIndex),afterIndex===-1&&after.inEssentials&&(afterIndex=essentialsIndex),beforeIndex!==-1&&afterIndex!==-1&&beforeIndex<=afterIndex},checkAddonOrder2=async({before,after,configFile,getConfig})=>{try{let config=await getConfig(configFile);if(!config?.addons){import_node_logger3.logger.warn("Unable to find 'addons' config in main Storybook config");return}if(!isCorrectOrder(config.addons,before,after)){let orEssentials=" (or '@storybook/addon-essentials')",beforeText=`'${before.name}'${before.inEssentials?orEssentials:""}`,afterText=`'${after.name}'${after.inEssentials?orEssentials:""}`;import_node_logger3.logger.warn(`Expected ${beforeText} to be listed before ${afterText} in main Storybook config.`);}}catch{import_node_logger3.logger.warn(`Unable to load config file: ${configFile}`);}},import_lazy_universal_dotenv=require_lib5(),import_path8=__toESM2(__require("path")),import_find_up=__toESM2(require_find_up2()),getProjectRoot=()=>{let result;if(process.env.STORYBOOK_PROJECT_ROOT)return process.env.STORYBOOK_PROJECT_ROOT;try{let found=import_find_up.default.sync(".git",{type:"directory"});found&&(result=import_path8.default.join(found,".."));}catch{}try{let found=import_find_up.default.sync(".svn",{type:"directory"});found&&(result=result||import_path8.default.join(found,".."));}catch{}try{let found=import_find_up.default.sync(".hg",{type:"directory"});found&&(result=result||import_path8.default.join(found,".."));}catch{}try{let found=import_find_up.default.sync(".yarn",{type:"directory"});found&&(result=result||import_path8.default.join(found,".."));}catch{}try{result=result||__dirname.split("node_modules")[0];}catch{}return result||process.cwd()},nodePathsToArray=nodePath=>nodePath.split(process.platform==="win32"?";":":").filter(Boolean).map(p=>import_path8.default.resolve("./",p)),relativePattern=/^\.{1,2}([/\\]|$)/;function normalizeStoryPath(filename){return relativePattern.test(filename)?filename:`.${import_path8.default.sep}${filename}`}function loadEnvs(options={}){let defaultNodeEnv=options.production?"production":"development",env={NODE_ENV:process.env.NODE_ENV||defaultNodeEnv,NODE_PATH:process.env.NODE_PATH||"",STORYBOOK:process.env.STORYBOOK||"true",PUBLIC_URL:options.production?".":""};Object.keys(process.env).filter(name=>/^STORYBOOK_/.test(name)).forEach(name=>{env[name]=process.env[name];});let base=Object.entries(env).reduce((acc,[k,v])=>Object.assign(acc,{[k]:JSON.stringify(v)}),{}),{stringified,raw}=(0, import_lazy_universal_dotenv.getEnvironment)({nodeEnv:env.NODE_ENV}),fullRaw={...env,...raw};return fullRaw.NODE_PATH=nodePathsToArray(fullRaw.NODE_PATH||""),{stringified:{...base,...stringified},raw:fullRaw}}var stringifyEnvs=raw=>Object.entries(raw).reduce((acc,[key,value])=>(acc[key]=JSON.stringify(value),acc),{}),stringifyProcessEnvs=raw=>Object.entries(raw).reduce((acc,[key,value])=>(acc[`process.env.${key}`]=JSON.stringify(value),acc),{}),NODE_MODULES_RE=/node_modules/,commonGlobOptions=glob2=>NODE_MODULES_RE.test(glob2)?{}:{ignore:["**/node_modules/**"]};async function getBuilderOptions(options){let framework=await options.presets.apply("framework",{},options);if(typeof framework!="string"&&framework?.options?.builder)return framework.options.builder;let{builder}=await options.presets.apply("core",{},options);return typeof builder!="string"&&builder?.options?builder.options:{}}var import_ts_dedent3=__require("ts-dedent");async function getFrameworkName(options){let framework=await options.presets.apply("framework","",options);if(!framework)throw new Error(import_ts_dedent3.dedent`
525
+ `)}catch(error){if(storybookOptions?.isCritical)throw new import_server_errors2.CriticalPresetLoadError({error,presetName});let warning=level>0?` Failed to load preset: ${JSON.stringify(input)} on level ${level}`:` Failed to load preset: ${JSON.stringify(input)}`;return import_node_logger2.logger.warn(warning),import_node_logger2.logger.error(error),[]}}async function loadPresets(presets,level,storybookOptions){return !presets||!Array.isArray(presets)||!presets.length?[]:(await Promise.all(presets.map(async preset=>loadPreset(preset,level,storybookOptions)))).reduce((acc,loaded)=>acc.concat(loaded),[])}function applyPresets(presets,extension,config,args,storybookOptions){let presetResult=new Promise(res=>res(config));return presets.length?presets.reduce((accumulationPromise,{preset,options})=>{let change=preset[extension];if(!change)return accumulationPromise;if(typeof change=="function"){let extensionFn=change,context={preset,combinedOptions:{...storybookOptions,...args,...options,presetsList:presets,presets:{apply:async(ext,c,a={})=>applyPresets(presets,ext,c,a,storybookOptions)}}};return accumulationPromise.then(newConfig=>extensionFn.call(context.preset,newConfig,context.combinedOptions))}return accumulationPromise.then(newConfig=>Array.isArray(newConfig)&&Array.isArray(change)?[...newConfig,...change]:isObject(newConfig)&&isObject(change)?{...newConfig,...change}:change)},presetResult):presetResult}async function getPresets(presets,storybookOptions){let loadedPresets=await loadPresets(presets,0,storybookOptions);return {apply:async(extension,config,args={})=>applyPresets(loadedPresets,extension,config,args,storybookOptions)}}async function loadAllPresets(options){let{corePresets=[],overridePresets=[],...restOptions}=options,presetsConfig=[...corePresets,...loadCustomPresets(options),...overridePresets],filteredPresetConfig=filterPresetsConfig(presetsConfig);return filteredPresetConfig.length<presetsConfig.length&&import_node_logger2.logger.warn("Storybook now supports TypeScript natively. You can safely remove `@storybook/preset-typescript`."),getPresets(filteredPresetConfig,restOptions)}var import_file_system_cache=__toESM2(require_lib2());function createFileSystemCache(options){return (0, import_file_system_cache.default)(options)}var import_path5=__toESM2(__require("path")),import_find_cache_dir=__toESM2(require_find_cache_dir());function resolvePathInStorybookCache(fileOrDirectoryName,sub="default"){let cacheDirectory=(0, import_find_cache_dir.default)({name:"storybook"});return cacheDirectory||=import_path5.default.join(process.cwd(),".cache","storybook"),import_path5.default.join(cacheDirectory,sub,fileOrDirectoryName)}var cache=createFileSystemCache({basePath:resolvePathInStorybookCache("dev-server"),ns:"storybook"}),import_fs_extra2=require_lib3(),import_path7=__require("path"),import_tempy=__toESM2(require_tempy()),import_path6=__toESM2(__require("path")),import_fs_extra=__toESM2(require_lib3());function getStorybookConfiguration(storybookScript,shortName,longName){if(!storybookScript)return null;let parts=storybookScript.split(/[\s='"]+/),index=parts.indexOf(longName);return index===-1&&(index=parts.indexOf(shortName)),index===-1?null:parts[index+1]}var rendererPackages={"@storybook/react":"react","@storybook/vue3":"vue3","@storybook/angular":"angular","@storybook/html":"html","@storybook/web-components":"web-components","@storybook/polymer":"polymer","@storybook/ember":"ember","@storybook/svelte":"svelte","@storybook/preact":"preact","@storybook/server":"server","storybook-framework-qwik":"qwik","storybook-solidjs":"solid","@storybook/vue":"vue"},frameworkPackages={"@storybook/angular":"angular","@storybook/ember":"ember","@storybook/html-vite":"html-vite","@storybook/html-webpack5":"html-webpack5","@storybook/nextjs":"nextjs","@storybook/preact-vite":"preact-vite","@storybook/preact-webpack5":"preact-webpack5","@storybook/react-vite":"react-vite","@storybook/react-webpack5":"react-webpack5","@storybook/server-webpack5":"server-webpack5","@storybook/svelte-vite":"svelte-vite","@storybook/svelte-webpack5":"svelte-webpack5","@storybook/sveltekit":"sveltekit","@storybook/vue3-vite":"vue3-vite","@storybook/vue3-webpack5":"vue3-webpack5","@storybook/web-components-vite":"web-components-vite","@storybook/web-components-webpack5":"web-components-webpack5","storybook-framework-qwik":"qwik","storybook-solidjs-vite":"solid"},builderPackages=["@storybook/builder-webpack5","@storybook/builder-vite"],logger2=console,findDependency=({dependencies,devDependencies,peerDependencies},predicate)=>[Object.entries(dependencies||{}).find(predicate),Object.entries(devDependencies||{}).find(predicate),Object.entries(peerDependencies||{}).find(predicate)],getRendererInfo=packageJson=>{let[dep,devDep,peerDep]=findDependency(packageJson,([key])=>rendererPackages[key]),[pkg,version]=dep||devDep||peerDep||[];return dep&&devDep&&dep[0]===devDep[0]&&logger2.warn(`Found "${dep[0]}" in both "dependencies" and "devDependencies". This is probably a mistake.`),dep&&peerDep&&dep[0]===peerDep[0]&&logger2.warn(`Found "${dep[0]}" in both "dependencies" and "peerDependencies". This is probably a mistake.`),{version,frameworkPackage:pkg}},validConfigExtensions=["ts","js","tsx","jsx","mjs","cjs"],findConfigFile=(prefix,configDir)=>{let filePrefix=import_path6.default.join(configDir,prefix),extension=validConfigExtensions.find(ext=>import_fs_extra.default.existsSync(`${filePrefix}.${ext}`));return extension?`${filePrefix}.${extension}`:null},getConfigInfo=(packageJson,configDir)=>{let storybookConfigDir=configDir??".storybook",storybookScript=packageJson.scripts?.storybook;if(storybookScript&&!configDir){let configParam=getStorybookConfiguration(storybookScript,"-c","--config-dir");configParam&&(storybookConfigDir=configParam);}return {configDir:storybookConfigDir,mainConfig:findConfigFile("main",storybookConfigDir),previewConfig:findConfigFile("preview",storybookConfigDir),managerConfig:findConfigFile("manager",storybookConfigDir)}},getStorybookInfo=(packageJson,configDir)=>{let rendererInfo=getRendererInfo(packageJson),configInfo=getConfigInfo(packageJson,configDir);return {...rendererInfo,...configInfo}},versions_default={"@storybook/addon-a11y":"8.1.0-alpha.4","@storybook/addon-actions":"8.1.0-alpha.4","@storybook/addon-backgrounds":"8.1.0-alpha.4","@storybook/addon-controls":"8.1.0-alpha.4","@storybook/addon-docs":"8.1.0-alpha.4","@storybook/addon-essentials":"8.1.0-alpha.4","@storybook/addon-highlight":"8.1.0-alpha.4","@storybook/addon-interactions":"8.1.0-alpha.4","@storybook/addon-jest":"8.1.0-alpha.4","@storybook/addon-links":"8.1.0-alpha.4","@storybook/addon-mdx-gfm":"8.1.0-alpha.4","@storybook/addon-measure":"8.1.0-alpha.4","@storybook/addon-onboarding":"8.1.0-alpha.4","@storybook/addon-outline":"8.1.0-alpha.4","@storybook/addon-storysource":"8.1.0-alpha.4","@storybook/addon-themes":"8.1.0-alpha.4","@storybook/addon-toolbars":"8.1.0-alpha.4","@storybook/addon-viewport":"8.1.0-alpha.4","@storybook/angular":"8.1.0-alpha.4","@storybook/blocks":"8.1.0-alpha.4","@storybook/builder-manager":"8.1.0-alpha.4","@storybook/builder-vite":"8.1.0-alpha.4","@storybook/builder-webpack5":"8.1.0-alpha.4","@storybook/channels":"8.1.0-alpha.4","@storybook/cli":"8.1.0-alpha.4","@storybook/client-logger":"8.1.0-alpha.4","@storybook/codemod":"8.1.0-alpha.4","@storybook/components":"8.1.0-alpha.4","@storybook/core-common":"8.1.0-alpha.4","@storybook/core-events":"8.1.0-alpha.4","@storybook/core-server":"8.1.0-alpha.4","@storybook/core-webpack":"8.1.0-alpha.4","@storybook/csf-plugin":"8.1.0-alpha.4","@storybook/csf-tools":"8.1.0-alpha.4","@storybook/docs-tools":"8.1.0-alpha.4","@storybook/ember":"8.1.0-alpha.4","@storybook/html":"8.1.0-alpha.4","@storybook/html-vite":"8.1.0-alpha.4","@storybook/html-webpack5":"8.1.0-alpha.4","@storybook/instrumenter":"8.1.0-alpha.4","@storybook/manager":"8.1.0-alpha.4","@storybook/manager-api":"8.1.0-alpha.4","@storybook/nextjs":"8.1.0-alpha.4","@storybook/node-logger":"8.1.0-alpha.4","@storybook/preact":"8.1.0-alpha.4","@storybook/preact-vite":"8.1.0-alpha.4","@storybook/preact-webpack5":"8.1.0-alpha.4","@storybook/preset-create-react-app":"8.1.0-alpha.4","@storybook/preset-html-webpack":"8.1.0-alpha.4","@storybook/preset-preact-webpack":"8.1.0-alpha.4","@storybook/preset-react-webpack":"8.1.0-alpha.4","@storybook/preset-server-webpack":"8.1.0-alpha.4","@storybook/preset-svelte-webpack":"8.1.0-alpha.4","@storybook/preset-vue3-webpack":"8.1.0-alpha.4","@storybook/preview":"8.1.0-alpha.4","@storybook/preview-api":"8.1.0-alpha.4","@storybook/react":"8.1.0-alpha.4","@storybook/react-dom-shim":"8.1.0-alpha.4","@storybook/react-vite":"8.1.0-alpha.4","@storybook/react-webpack5":"8.1.0-alpha.4","@storybook/router":"8.1.0-alpha.4","@storybook/server":"8.1.0-alpha.4","@storybook/server-webpack5":"8.1.0-alpha.4","@storybook/source-loader":"8.1.0-alpha.4","@storybook/svelte":"8.1.0-alpha.4","@storybook/svelte-vite":"8.1.0-alpha.4","@storybook/svelte-webpack5":"8.1.0-alpha.4","@storybook/sveltekit":"8.1.0-alpha.4","@storybook/telemetry":"8.1.0-alpha.4","@storybook/test":"8.1.0-alpha.4","@storybook/theming":"8.1.0-alpha.4","@storybook/types":"8.1.0-alpha.4","@storybook/vue3":"8.1.0-alpha.4","@storybook/vue3-vite":"8.1.0-alpha.4","@storybook/vue3-webpack5":"8.1.0-alpha.4","@storybook/web-components":"8.1.0-alpha.4","@storybook/web-components-vite":"8.1.0-alpha.4","@storybook/web-components-webpack5":"8.1.0-alpha.4",sb:"8.1.0-alpha.4",storybook:"8.1.0-alpha.4"};function parseList(str){return str.split(",").map(item=>item.trim()).filter(item=>item.length>0)}async function getCoercedStorybookVersion(packageManager){return (await Promise.all(Object.keys(rendererPackages).map(async pkg=>({name:pkg,version:await packageManager.getPackageVersion(pkg)})))).filter(({version})=>!!version)[0]?.version}function getEnvConfig(program,configEnv){Object.keys(configEnv).forEach(fieldName=>{let envVarName=configEnv[fieldName],envVarValue=process.env[envVarName];envVarValue&&(program[fieldName]=envVarValue);});}var createLogStream=async(logFileName="storybook.log")=>{let finalLogPath=(0, import_path7.join)(process.cwd(),logFileName),temporaryLogPath=import_tempy.default.file({name:logFileName}),logStream=(0, import_fs_extra2.createWriteStream)(temporaryLogPath,{encoding:"utf8"});return new Promise((resolve,reject)=>{logStream.once("open",()=>{resolve({logStream,moveLogFile:async()=>(0, import_fs_extra2.move)(temporaryLogPath,finalLogPath,{overwrite:!0}),clearLogFile:async()=>(0, import_fs_extra2.writeFile)(temporaryLogPath,""),removeLogFile:async()=>(0, import_fs_extra2.remove)(temporaryLogPath),readLogFile:async()=>(0, import_fs_extra2.readFile)(temporaryLogPath,"utf8")});}),logStream.once("error",reject);})},isCorePackage=pkg=>Object.keys(versions_default).includes(pkg),import_node_logger3=require_dist(),predicateFor=addon=>entry=>{let name=entry.name||entry;return name&&name.replaceAll(/(\\){1,2}/g,"/").includes(addon)},isCorrectOrder=(addons,before,after)=>{let essentialsIndex=addons.findIndex(predicateFor("@storybook/addon-essentials")),beforeIndex=addons.findIndex(predicateFor(before.name)),afterIndex=addons.findIndex(predicateFor(after.name));return beforeIndex===-1&&before.inEssentials&&(beforeIndex=essentialsIndex),afterIndex===-1&&after.inEssentials&&(afterIndex=essentialsIndex),beforeIndex!==-1&&afterIndex!==-1&&beforeIndex<=afterIndex},checkAddonOrder2=async({before,after,configFile,getConfig})=>{try{let config=await getConfig(configFile);if(!config?.addons){import_node_logger3.logger.warn("Unable to find 'addons' config in main Storybook config");return}if(!isCorrectOrder(config.addons,before,after)){let orEssentials=" (or '@storybook/addon-essentials')",beforeText=`'${before.name}'${before.inEssentials?orEssentials:""}`,afterText=`'${after.name}'${after.inEssentials?orEssentials:""}`;import_node_logger3.logger.warn(`Expected ${beforeText} to be listed before ${afterText} in main Storybook config.`);}}catch{import_node_logger3.logger.warn(`Unable to load config file: ${configFile}`);}},import_lazy_universal_dotenv=require_lib5(),import_path8=__toESM2(__require("path")),import_find_up=__toESM2(require_find_up2()),getProjectRoot=()=>{let result;if(process.env.STORYBOOK_PROJECT_ROOT)return process.env.STORYBOOK_PROJECT_ROOT;try{let found=import_find_up.default.sync(".git",{type:"directory"});found&&(result=import_path8.default.join(found,".."));}catch{}try{let found=import_find_up.default.sync(".svn",{type:"directory"});found&&(result=result||import_path8.default.join(found,".."));}catch{}try{let found=import_find_up.default.sync(".hg",{type:"directory"});found&&(result=result||import_path8.default.join(found,".."));}catch{}try{let found=import_find_up.default.sync(".yarn",{type:"directory"});found&&(result=result||import_path8.default.join(found,".."));}catch{}try{result=result||__dirname.split("node_modules")[0];}catch{}return result||process.cwd()},nodePathsToArray=nodePath=>nodePath.split(process.platform==="win32"?";":":").filter(Boolean).map(p=>import_path8.default.resolve("./",p)),relativePattern=/^\.{1,2}([/\\]|$)/;function normalizeStoryPath(filename){return relativePattern.test(filename)?filename:`.${import_path8.default.sep}${filename}`}function loadEnvs(options={}){let defaultNodeEnv=options.production?"production":"development",env={NODE_ENV:process.env.NODE_ENV||defaultNodeEnv,NODE_PATH:process.env.NODE_PATH||"",STORYBOOK:process.env.STORYBOOK||"true",PUBLIC_URL:options.production?".":""};Object.keys(process.env).filter(name=>/^STORYBOOK_/.test(name)).forEach(name=>{env[name]=process.env[name];});let base=Object.entries(env).reduce((acc,[k,v])=>Object.assign(acc,{[k]:JSON.stringify(v)}),{}),{stringified,raw}=(0, import_lazy_universal_dotenv.getEnvironment)({nodeEnv:env.NODE_ENV}),fullRaw={...env,...raw};return fullRaw.NODE_PATH=nodePathsToArray(fullRaw.NODE_PATH||""),{stringified:{...base,...stringified},raw:fullRaw}}var stringifyEnvs=raw=>Object.entries(raw).reduce((acc,[key,value])=>(acc[key]=JSON.stringify(value),acc),{}),stringifyProcessEnvs=raw=>Object.entries(raw).reduce((acc,[key,value])=>(acc[`process.env.${key}`]=JSON.stringify(value),acc),{}),NODE_MODULES_RE=/node_modules/,commonGlobOptions=glob2=>NODE_MODULES_RE.test(glob2)?{}:{ignore:["**/node_modules/**"]};async function getBuilderOptions(options){let framework=await options.presets.apply("framework",{},options);if(typeof framework!="string"&&framework?.options?.builder)return framework.options.builder;let{builder}=await options.presets.apply("core",{},options);return typeof builder!="string"&&builder?.options?builder.options:{}}var import_ts_dedent3=__require("ts-dedent");async function getFrameworkName(options){let framework=await options.presets.apply("framework","",options);if(!framework)throw new Error(import_ts_dedent3.dedent`
526
526
  You must specify a framework in '.storybook/main.js' config.
527
527
 
528
528
  https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#framework-field-mandatory